/* Extends the established StarX Bullion navy/gold identity. Working data stays still. */
html {scroll-padding-top:110px}
html[data-theme] .starxbullion-header.navbar {background:#101c29f5;backdrop-filter:blur(16px)}
html[data-theme] .starxbullion-header .topbar-actions {gap:6px}
.rd-motion-toggle {width:40px;height:44px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:7px;background:transparent;color:#e0c18f;cursor:pointer}
.rd-motion-toggle .starxbullion-link-icon {margin:0}
.rd-motion-toggle:disabled {opacity:.55;cursor:default}
.rd-hero {position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 85% 30%,#344c5a 0,transparent 60%),#101c29}
.rd-hero::before {content:"";position:absolute;width:620px;height:620px;right:-160px;top:-180px;border:1px solid #c6a2682b;border-radius:50%;pointer-events:none;z-index:-1}
.rd-hero::after {content:"";position:absolute;width:760px;height:760px;right:-230px;top:-250px;border:1px solid #c6a2681c;border-radius:50%;pointer-events:none;z-index:-1}
.rd-hero-grid {min-height:650px;padding-block:72px;gap:64px}
html[data-theme] .rd-hero h1 {font-size:clamp(42px,5.1vw,72px);line-height:1.14;letter-spacing:-.04em;text-wrap:balance}
.rd-hero h1>span {color:#e2bd81}
.rd-hero h1>.px-w {color:#fff}
.rd-hero h1 .px-wi {color:inherit}
.rd-hero-copy>p {font-size:17px;line-height:1.8}
.rd-hero-image {border-radius:12px 12px 0 0;transform-origin:center;animation:none!important}
.rd-hero-copy {animation:none!important}
.rd-hero-image img {transition:scale .8s cubic-bezier(.16,1,.3,1)}
.rd-hero-image figcaption {padding:22px 24px;border-bottom:2px solid #c6a268;background:#162633}
.rd-hero-notes {padding-top:24px;border-top:1px solid #ffffff24;gap:42px}
.rd-feature-grid {padding-block:32px}
.rd-feature-grid>a {transition:transform .25s ease}
.rd-section {padding-block:90px}
.rd-section-head h2 {text-wrap:balance}
.rd-collection {overflow:hidden;background:var(--bg-soft)}
.rd-collection .rd-section-head p {max-width:650px}
.rd-gallery {overflow:hidden;position:relative}
.rd-gallery:not(.swiper-initialized) .swiper-wrapper {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.rd-metal {margin:0;min-width:0;overflow:hidden;background:var(--panel);border-radius:12px}
.rd-metal-image {aspect-ratio:1/1;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,#dfcc9f,#f1eadb 70%);display:grid;place-items:center}
.rd-metal-silver .rd-metal-image {background:radial-gradient(ellipse at 50% 60%,#bbc8d2,#e6edf1 70%)}
.rd-metal img {width:100%;height:100%;object-fit:contain;transition:transform .65s cubic-bezier(.16,1,.3,1)}
.rd-metal figcaption {padding:24px}
.rd-metal h3 {font-size:22px;margin:0 0 10px}
.rd-metal a {color:var(--accent);font-size:15px;font-weight:700;text-underline-offset:5px}
.rd-gallery-controls {display:flex;gap:8px;flex:none}
.rd-gallery-controls button {border:1px solid var(--border-strong);background:var(--panel);color:var(--text);border-radius:7px;padding:11px 16px;min-height:44px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}
.rd-gallery-controls button:disabled {opacity:.45;cursor:default}
.rd-gallery-pagination {display:flex;justify-content:center;gap:7px;margin-top:26px;min-height:24px;align-items:center}
.rd-gallery-pagination .swiper-pagination-bullet {width:24px;height:4px;border-radius:1px;background:var(--muted);opacity:.3;margin:0!important}
.rd-gallery-pagination .swiper-pagination-bullet-active {background:var(--accent);opacity:1}
.rd-gallery-note {font-size:14px;color:var(--muted);margin:12px 0 0}
.rd-tool-grid {gap:0;border-top:1px solid var(--border)}
.rd-tool-grid article {border:0;border-radius:0;border-bottom:1px solid var(--border);padding:32px 28px;transition:background .25s}
.rd-tool-grid article:not(:nth-child(3n)) {border-right:1px solid var(--border)}
.rd-steps li {transition:background .25s}
.rd-back-top {position:fixed;right:24px;bottom:100px;z-index:45;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #526371;border-radius:7px;background:#101c29;color:#eed9b6;font:600 14px 'DM Sans',sans-serif;cursor:pointer}
.rd-back-top[hidden] {display:none}
html[data-theme] .starxbullion-scroll-progress {display:block;position:fixed;top:0;left:0;right:0;height:3px;background:#c6a268;transform:scaleX(0);transform-origin:left;z-index:100;pointer-events:none}
html[data-theme] .btn {transition:background .2s,color .2s,border-color .2s,translate .25s}
@media(hover:hover) and (pointer:fine) {
  body:not(.starxbullion-motion-off) .rd-hero-image:hover img {scale:1.04}
  body:not(.starxbullion-motion-off) .rd-metal:hover img {transform:scale(1.065)}
  body:not(.starxbullion-motion-off) .rd-feature-grid>a:hover {transform:translateY(-3px)}
  body:not(.starxbullion-motion-off) .rd-home .btn:hover {translate:0 -2px}
  .rd-tool-grid article:hover {background:var(--bg-soft)}
}
@media(min-width:901px) {.rd-journey>.rd-about-panel {position:sticky;top:116px;align-self:start}}
@media(max-width:1100px) {.rd-hero-grid {gap:32px;min-height:580px}.rd-hero-notes {gap:22px}}
@media(max-width:900px) {.rd-section {padding-block:64px}.rd-hero-grid {padding-block:48px}.rd-gallery:not(.swiper-initialized) .swiper-wrapper {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px) {
  .rd-hero-grid {gap:32px;padding-block:42px 32px;min-height:0}
  html[data-theme] .rd-hero h1 {font-size:clamp(38px,9.5vw,58px)}
  .rd-hero-copy>p {font-size:16px}
  .rd-hero-image figcaption {padding:16px}
  .rd-section {padding-block:52px}
  .rd-tool-grid article {padding:26px 4px;border-right:0!important}
  .rd-tool-grid {grid-template-columns:1fr}
  .rd-hero-notes {margin-top:28px;padding-top:20px}
  .rd-gallery:not(.swiper-initialized) .swiper-wrapper {display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
  .rd-gallery:not(.swiper-initialized) .rd-metal {flex:0 0 85%;scroll-snap-align:start}
  .rd-metal figcaption {padding:22px}
  .rd-back-top {right:16px;bottom:100px}
}
@media(max-width:380px) {html[data-theme] .starxbullion-header .topbar-actions {gap:3px}.rd-motion-toggle {width:34px}.rd-hero-notes {flex-direction:column;gap:14px}}
@media(prefers-reduced-motion:reduce) {.rd-home *, .rd-home *::before,.rd-home *::after {animation:none!important;transition:none!important}}
.starxbullion-motion-off .rd-home * {animation:none!important;transition:none!important}
