:root {
  --black: #050505;
  --black-2: #0a0908;
  --black-3: #11100f;
  --matte: #10100f;
  --gray: #181817;
  --gray-2: #242320;
  --gold: #d4af37;
  --gold-2: #f2d27b;
  --gold-3: #8a671d;
  --gold-rgb: 212, 175, 55;
  --gold-2-rgb: 242, 210, 123;
  --line: rgba(var(--gold-rgb), 0.18);
  --line-gray: rgba(255, 255, 255, 0.09);
  --text: #f4f0e8;
  --muted: #a9a39a;
  --soft: #747067;
  --mx: 50vw;
  --my: 50vh;
  --radius: 28px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(var(--gold-rgb), .16), transparent 15rem),
    radial-gradient(circle at 8% 12%, rgba(var(--gold-2-rgb), .14), transparent 26rem),
    linear-gradient(135deg, var(--black) 0%, var(--black-3) 48%, var(--black) 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(var(--gold-rgb), .35); color: #fff; }

.scroll-meter {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.04);
}
.scroll-meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  box-shadow: 0 0 18px rgba(var(--gold-rgb),.75);
}

.noise,
.grid-glow,
.cursor-orb,
#goldDust {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.noise {
  z-index: -1;
  opacity: .42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.grid-glow {
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at var(--mx) var(--my), black 0%, transparent 58%);
  animation: gridDrift 18s linear infinite;
}
.cursor-orb {
  z-index: 2;
  width: 240px;
  height: 240px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--gold-2-rgb),.18), rgba(var(--gold-rgb),.08) 36%, transparent 70%);
  filter: blur(3px);
  mix-blend-mode: screen;
}
#goldDust { z-index: -1; opacity: .85; }

.section-pad {
  width: min(1180px, calc(100% - 42px));
  margin-inline: auto;
  padding: 105px 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: .35s var(--ease);
}
.site-header.scrolled { top: 10px; }
.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--gold-rgb),.18);
  border-radius: 999px;
  background: rgba(7, 7, 6, .76);
  box-shadow: 0 18px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: visible;
}
.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(var(--gold-rgb),.17), transparent 14rem);
  opacity: .85;
  pointer-events: none;
}
.brand,
.nav-links,
.lang-menu,
.menu-toggle { position: relative; z-index: 1; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-2-rgb),.45);
  box-shadow: 0 0 26px rgba(var(--gold-rgb),.25);
}
.brand-name {
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: lowercase;
}
.brand-name span,
.footer-brand span span { color: var(--gold-2); }
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: .88rem;
  transition: .28s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.lang-menu {
  justify-self: end;
  min-width: 82px;
}
.lang-trigger {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(var(--gold-2-rgb), .18);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.22);
  cursor: pointer;
  transition: border-color .28s var(--ease), background .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.lang-trigger:hover,
.lang-menu.open .lang-trigger {
  border-color: rgba(var(--gold-2-rgb), .42);
  background: rgba(var(--gold-rgb), .10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 32px rgba(0,0,0,.30), 0 0 24px rgba(var(--gold-rgb),.10);
}
.lang-trigger:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid rgba(var(--gold-2-rgb), .78);
  outline-offset: 3px;
}
.lang-trigger-mark {
  color: var(--gold-2);
  font-size: .95rem;
  line-height: 1;
  text-shadow: 0 0 16px rgba(var(--gold-rgb), .45);
}
.lang-current {
  min-width: 22px;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.lang-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold-2);
  border-bottom: 1.5px solid var(--gold-2);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.lang-menu.open .lang-chevron {
  transform: translateY(2px) rotate(225deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 190px;
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(var(--gold-2-rgb), .20);
  border-radius: 20px;
  background: rgba(8,8,7,.97);
  box-shadow: 0 28px 74px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(.96);
  transform-origin: top right;
  transition: opacity .24s var(--ease), visibility .24s var(--ease), transform .3s var(--ease);
}
.lang-menu.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.lang-option {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-5px);
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), transform .28s var(--ease), opacity .25s var(--ease);
}
.lang-menu.open .lang-option {
  opacity: 1;
  transform: translateY(0);
}
.lang-menu.open .lang-option:nth-child(2) { transition-delay: .035s; }
.lang-menu.open .lang-option:nth-child(3) { transition-delay: .07s; }
.lang-option span {
  font-size: .86rem;
  font-weight: 750;
}
.lang-option small {
  color: var(--soft);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.lang-option:hover,
.lang-option.active {
  color: var(--text);
  border-color: rgba(var(--gold-2-rgb), .18);
  background: linear-gradient(135deg, rgba(var(--gold-rgb),.15), rgba(255,255,255,.04));
}
.lang-option.active small { color: var(--gold-2); }
.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--gold-2);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 150px;
}
.hero-bg-word {
  position: absolute;
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(4.8rem, 16vw, 15rem);
  font-weight: 900;
  letter-spacing: .08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb),.07);
  opacity: .7;
  white-space: nowrap;
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 70px;
  width: 100%;
}
.status-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--gold-rgb),.22);
  background: rgba(var(--gold-rgb),.065);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.pulse,
.section-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(var(--gold-2-rgb),.8);
  animation: pulse 1.8s ease-out infinite;
}
.hero h1 {
  margin: 24px 0 22px;
  max-width: 760px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: .91;
  letter-spacing: -.038em;
  font-weight: 600;
  text-wrap: balance;
}
.hero h1 em {
  display: block;
  font-family: inherit;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-2);
  text-shadow: 0 0 38px rgba(var(--gold-rgb),.22);
  letter-spacing: -.025em;
}
.hero-sub {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  transition: .3s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-80%) rotate(14deg);
  transition: .7s var(--ease);
}
.btn:hover::after { transform: translateX(90%) rotate(14deg); }
.btn-primary {
  color: #080706;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 48%, var(--gold-3));
  box-shadow: 0 18px 48px rgba(var(--gold-rgb),.22);
}
.btn-outline {
  border: 1px solid rgba(var(--gold-2-rgb),.28);
  color: var(--text);
  background: rgba(255,255,255,.045);
}
.btn:hover { transform: translateY(-4px); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 760px;
}
.hero-proof div {
  min-height: 100px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-proof strong { display:block; color: var(--text); margin-bottom: 7px; }
.hero-proof span { color: var(--muted); font-size: .9rem; line-height: 1.4; }

.hero-visual {
  min-height: 620px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1200px;
}
.logo-vault {
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 18px;
  position: relative;
  background:
    linear-gradient(145deg, rgba(var(--gold-2-rgb),.24), rgba(var(--gold-rgb),.05)),
    radial-gradient(circle at 50% 38%, rgba(var(--gold-rgb),.18), transparent 45%);
  border: 1px solid rgba(var(--gold-2-rgb),.3);
  box-shadow: var(--shadow), 0 0 90px rgba(var(--gold-rgb),.14), inset 0 0 60px rgba(0,0,0,.6);
  overflow: hidden;
  animation: float 5.2s ease-in-out infinite;
}
.logo-vault::before,
.logo-vault::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(var(--gold-2-rgb),.24);
  border-radius: 50%;
  pointer-events: none;
}
.logo-vault::after {
  inset: 18%;
  border-style: dashed;
  animation: spin 22s linear infinite;
}
.logo-vault img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.08) saturate(1.05);
}
.vault-shine {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 90deg, transparent 0 62%, rgba(var(--gold-2-rgb),.22), transparent 74% 100%);
  animation: spin 7s linear infinite;
  mix-blend-mode: screen;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-2-rgb),.18);
  filter: drop-shadow(0 0 18px rgba(var(--gold-rgb),.12));
}
.ring-one {
  width: 560px;
  height: 560px;
  animation: spin 28s linear infinite;
}
.ring-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  transform: rotateX(68deg) rotateZ(15deg);
  animation: spinReverse 18s linear infinite;
}
.floating-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 116px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--gold-2-rgb),.24);
  border-radius: 18px;
  background: rgba(12,12,11,.78);
  box-shadow: 0 22px 50px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(15px);
}
.floating-chip span {
  font-family: Orbitron, Inter, sans-serif;
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: .14em;
}
.floating-chip small { color: var(--muted); text-transform: uppercase; font-size: .68rem; }
.chip-a { left: 0; top: 18%; animation: float 4.5s ease-in-out infinite; }
.chip-b { right: 3%; top: 25%; animation: float 5s ease-in-out infinite reverse; }
.chip-c { left: 10%; bottom: 17%; animation: float 5.8s ease-in-out infinite; }

.ribbon {
  border-block: 1px solid rgba(var(--gold-rgb),.18);
  background: rgba(255,255,255,.035);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 22px 65px rgba(0,0,0,.26);
}
.ribbon-track {
  display: flex;
  width: max-content;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  animation: marquee 24s linear infinite;
}
.ribbon span {
  font-family: Orbitron, Inter, sans-serif;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .85rem;
}
.ribbon i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(var(--gold-rgb),.75);
}

.split-heading,
.section-title {
  max-width: 850px;
  margin-bottom: 46px;
}
.split-heading h2,
.section-title h2,
.system-copy h2,
.contact-copy h2 {
  margin: 18px 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 3.9vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 600;
  text-wrap: balance;
}
.split-heading p:not(.section-kicker),
.section-title p:not(.section-kicker),
.system-copy > p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.duel-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(var(--gold-rgb),.16);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.duel-panel::before,
.bento-card::before,
.system-shell::before,
.contact-panel::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(var(--gold-2-rgb),.18), transparent 14rem);
  opacity: .0;
  transition: .35s var(--ease);
  pointer-events: none;
}
.duel-panel:hover::before,
.bento-card:hover::before,
.system-shell:hover::before,
.contact-panel:hover::before,
.result-card:hover::before { opacity: 1; }
.duel-side {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 26px;
  min-height: 310px;
  position: relative;
  overflow: hidden;
}
.duel-side span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem;
}
.duel-side h3 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.duel-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.duel-side li {
  color: var(--muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.duel-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .63em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(var(--gold-rgb),.65);
}
.muted-side {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.08);
}
.muted-side span { color: var(--soft); }
.muted-side li::before { background: #60605d; box-shadow: none; }
.gold-side {
  background:
    radial-gradient(circle at 75% 20%, rgba(var(--gold-rgb),.22), transparent 18rem),
    linear-gradient(145deg, rgba(var(--gold-rgb),.14), rgba(255,255,255,.035));
  border: 1px solid rgba(var(--gold-2-rgb),.25);
}
.duel-divider {
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.duel-divider span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #080705;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 950;
  box-shadow: 0 0 34px rgba(var(--gold-rgb),.36);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(235px, auto);
  gap: 16px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
    radial-gradient(circle at 100% 0%, rgba(var(--gold-rgb),.08), transparent 13rem);
  box-shadow: 0 22px 62px rgba(0,0,0,.34);
  transform-style: preserve-3d;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.bento-card:hover {
  border-color: rgba(var(--gold-2-rgb),.26);
  box-shadow: 0 34px 86px rgba(0,0,0,.46), 0 0 34px rgba(var(--gold-rgb),.08);
}
.bento-card.tall { grid-row: span 2; grid-column: span 1; }
.bento-card.wide { grid-column: span 2; }
.card-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(var(--gold-rgb),.11);
  border: 1px solid rgba(var(--gold-rgb),.18);
  color: var(--gold-2);
  font-family: Orbitron, Inter, sans-serif;
  font-size: .8rem;
  font-weight: 900;
  margin-bottom: 54px;
}
.bento-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.bento-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.bento-card.tall .card-number { margin-bottom: 160px; }
.bento-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(var(--gold-rgb),.18);
  border-radius: 50%;
}

.system-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(var(--gold-rgb),.16);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    radial-gradient(circle at 70% 20%, rgba(var(--gold-rgb),.13), transparent 28rem);
  box-shadow: var(--shadow);
}
.system-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}
.tab-btn {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 15px;
  cursor: pointer;
  font-weight: 900;
  transition: .25s var(--ease);
}
.tab-btn.active {
  color: #080705;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
  box-shadow: 0 0 24px rgba(var(--gold-rgb),.25);
}
.tab-content {
  display: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 22px;
  background: rgba(0,0,0,.2);
}
.tab-content.active { display: block; animation: tabIn .45s var(--ease); }
.tab-content h3 { margin: 0 0 8px; font-size: 1.35rem; }
.tab-content p { margin: 0; color: var(--muted); line-height: 1.72; }

.device-stage {
  min-height: 470px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1000px;
}
.device-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb),.18), transparent 62%);
  filter: blur(20px);
}
.device-frame {
  position: relative;
  width: min(520px, 100%);
  min-height: 360px;
  border-radius: 30px;
  border: 1px solid rgba(var(--gold-2-rgb),.24);
  background: #0b0b0a;
  box-shadow: 0 36px 85px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(5deg);
}
.device-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 70%) var(--card-y, 20%), rgba(var(--gold-2-rgb),.2), transparent 15rem);
  pointer-events: none;
}
.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--gold-2-rgb),.55);
}
.browser-bar b { margin-left: 10px; color: var(--soft); font-size: .8rem; }
.preview-hero { padding: 34px; }
.preview-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-2), var(--gold-3));
  box-shadow: 0 0 28px rgba(var(--gold-rgb),.35);
  margin-bottom: 24px;
}
.preview-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  margin-bottom: 12px;
}
.preview-line.big {
  width: 82%;
  height: 30px;
  background: linear-gradient(90deg, var(--gold-2), rgba(var(--gold-rgb),.28));
}
.preview-line.small { width: 62%; }
.preview-actions { display: flex; gap: 12px; margin-top: 24px; }
.preview-actions i {
  width: 110px;
  height: 42px;
  border-radius: 14px;
  background: rgba(var(--gold-rgb),.16);
  border: 1px solid rgba(var(--gold-rgb),.18);
}
.preview-actions i:first-child { background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 34px 34px; }
.preview-cards i {
  min-height: 84px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.preview-footer { height: 8px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }

.results-section .section-title {
  max-width: 760px;
  margin-bottom: 38px;
}
.results-section .section-title h2 {
  font-size: clamp(2.35rem, 3.75vw, 3.85rem);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.35vw, 20px);
  align-items: stretch;
}
.result-card {
  min-height: 190px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.result-card strong {
  font-family: Orbitron, Inter, sans-serif;
  color: var(--gold-2);
  font-size: .82rem;
  line-height: 1;
  letter-spacing: .17em;
}
.result-card p {
  position: static;
  margin: auto 0 0;
  max-width: 15ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.38;
  font-weight: 750;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  border-radius: 40px;
  border: 1px solid rgba(var(--gold-2-rgb),.2);
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--gold-rgb),.18), transparent 24rem),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.contact-actions {
  flex-direction: column;
}
.contact-link {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
  transition: .28s var(--ease);
}
.contact-link::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-2);
  font-size: 1.4rem;
}
.contact-link:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--gold-2-rgb),.3);
  background: rgba(var(--gold-rgb),.08);
}
.contact-link span { color: var(--muted); font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-link strong { color: var(--text); font-size: 1.1rem; padding-right: 34px; }

.site-footer {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto 26px;
  padding: 24px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-2-rgb),.3);
}
.site-footer p { margin: 0; text-align: center; }
.back-top { color: var(--gold-2); font-weight: 900; }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--gold-2-rgb),.65); }
  70% { box-shadow: 0 0 0 11px rgba(var(--gold-2-rgb),0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--gold-2-rgb),0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gridDrift { to { background-position: 72px 72px; } }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .section-pad { padding: 78px 0; }
  .nav-shell { grid-template-columns: auto auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .nav-links {
    position: fixed;
    top: 92px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(7,7,6,.96);
    border: 1px solid rgba(var(--gold-rgb),.18);
    box-shadow: 0 30px 80px rgba(0,0,0,.65);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: .28s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 16px; background: rgba(255,255,255,.04); }
  .hero-layout,
  .system-shell,
  .contact-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-visual { min-height: 500px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.tall,
  .bento-card.wide { grid-column: span 1; grid-row: span 1; }
  .bento-card.tall .card-number,
  .card-number { margin-bottom: 42px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .duel-panel { grid-template-columns: 1fr; }
  .duel-divider { padding: 2px 0; }
}

@media (max-width: 650px) {
  .section-pad { width: min(100% - 28px, 1180px); padding: 62px 0; }
  .site-header { top: 10px; }
  .nav-shell { width: calc(100% - 20px); padding: 8px; gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { display: none; }
  .lang-box { gap: 3px; }
  .lang-btn { padding: 7px 8px; font-size: .68rem; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-actions, .contact-actions { display: grid; }
  .btn { width: 100%; }
  .ring-one { width: 420px; height: 420px; }
  .ring-two { width: 310px; height: 310px; }
  .floating-chip { min-width: 96px; padding: 12px; }
  .chip-a { left: -2%; }
  .chip-b { right: -1%; }
  .chip-c { left: 6%; bottom: 13%; }
  .bento-grid,
  .results-grid { grid-template-columns: 1fr; }
  .duel-side { min-height: auto; }
  .system-shell,
  .contact-panel,
  .duel-panel { border-radius: 28px; }
  .device-frame { transform: none; }
  .preview-cards { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
}


/* Mobile & tablet optimization layer: desktop rules above 980px stay unchanged. */
@media (hover: none), (pointer: coarse) {
  .cursor-orb { display: none; }
  #goldDust { opacity: .42; }
  .tilt:not(.logo-vault),
  .btn,
  .contact-link,
  .bento-card { transform: none !important; }
  .btn:hover,
  .contact-link:hover { transform: none; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 112px; }
  body {
    background:
      radial-gradient(circle at 50% 8%, rgba(var(--gold-rgb), .13), transparent 20rem),
      radial-gradient(circle at 88% 22%, rgba(var(--gold-2-rgb), .08), transparent 18rem),
      linear-gradient(135deg, var(--black) 0%, var(--black-3) 48%, var(--black) 100%);
  }
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .menu-toggle {
    justify-self: end;
    touch-action: manipulation;
  }
  .lang-box { justify-self: end; }
  .nav-links {
    top: 88px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    min-height: 54px;
    display: flex;
    align-items: center;
  }
  .hero {
    min-height: auto;
    padding-top: 138px;
  }
  .hero-layout {
    gap: 44px;
  }
  .hero-copy {
    max-width: 820px;
    margin-inline: auto;
  }
  .hero-visual {
    min-height: 440px;
    width: min(100%, 720px);
    margin-inline: auto;
  }
  .logo-vault { width: min(390px, 66vw); }
  .ring-one { width: min(520px, 88vw); height: min(520px, 88vw); }
  .ring-two { width: min(400px, 68vw); height: min(400px, 68vw); }
  .floating-chip { transform: translateZ(0); }
  .chip-a { left: 5%; top: 15%; }
  .chip-b { right: 6%; top: 21%; }
  .chip-c { left: 12%; bottom: 12%; }
  .split-heading,
  .section-title { margin-bottom: 34px; }
  .bento-grid { grid-auto-rows: auto; }
  .bento-card { min-height: 235px; }
  .device-frame { width: min(100%, 560px); }
  .contact-panel { align-items: stretch; }
  .site-footer { width: min(100% - 32px, 1180px); }
}

@media (min-width: 651px) and (max-width: 980px) {
  .section-pad { width: min(100% - 48px, 820px); }
  .hero h1 { max-width: 760px; }
  .hero-sub { max-width: 760px; }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .system-copy,
  .contact-copy { max-width: 720px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 92px; }
  body { min-width: 320px; }
  .scroll-meter { height: 2px; }
  .section-pad {
    width: min(100% - 24px, 1180px);
    padding: 54px 0;
  }
  .site-header { top: 8px; }
  .site-header.scrolled { top: 6px; }
  .nav-shell {
    width: calc(100% - 18px);
    padding: 7px;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .brand { gap: 8px; }
  .brand-logo { width: 38px; height: 38px; }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .menu-toggle span { width: 17px; }
  .lang-box {
    padding: 3px;
    gap: 2px;
  }
  .lang-btn {
    min-width: 30px;
    padding: 7px 6px;
    font-size: .64rem;
  }
  .nav-links {
    top: 70px;
    left: 9px;
    right: 9px;
    padding: 12px;
    border-radius: 22px;
    max-height: calc(100dvh - 86px);
  }
  .nav-links a {
    min-height: 52px;
    border-radius: 17px;
    font-size: .95rem;
  }
  .hero {
    padding-top: 112px;
    align-items: flex-start;
  }
  .hero-bg-word {
    top: 8%;
    font-size: clamp(4rem, 25vw, 8rem);
    opacity: .42;
  }
  .hero-layout { gap: 26px; }
  .status-pill,
  .section-kicker {
    max-width: 100%;
    border-radius: 18px;
    padding: 9px 11px;
    font-size: .64rem;
    line-height: 1.35;
    letter-spacing: .08em;
  }
  .hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.55rem, 14.5vw, 4.35rem);
    line-height: .92;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }
  .hero-sub {
    margin-bottom: 22px;
    font-size: .97rem;
    line-height: 1.62;
  }
  .hero-actions,
  .contact-actions {
    gap: 10px;
  }
  .btn {
    min-height: 52px;
    border-radius: 16px;
    padding: 0 18px;
    font-size: .95rem;
  }
  .hero-proof {
    gap: 10px;
    margin-top: 22px;
  }
  .hero-proof div {
    min-height: auto;
    padding: 15px;
    border-radius: 18px;
  }
  .hero-proof strong { margin-bottom: 4px; }
  .hero-visual { min-height: 350px; }
  .logo-vault {
    width: min(288px, 76vw);
    padding: 11px;
  }
  .ring-one { width: min(344px, 92vw); height: min(344px, 92vw); }
  .ring-two { width: min(262px, 70vw); height: min(262px, 70vw); }
  .floating-chip {
    min-width: 88px;
    padding: 10px 11px;
    border-radius: 15px;
  }
  .floating-chip span { font-size: .78rem; }
  .floating-chip small { font-size: .58rem; }
  .chip-a { left: 0; top: 13%; }
  .chip-b { right: 0; top: 19%; }
  .chip-c { left: 7%; bottom: 8%; }
  .ribbon { transform: rotate(-.8deg) scale(1.03); }
  .ribbon-track {
    gap: 18px;
    padding: 12px 0;
    animation-duration: 18s;
  }
  .ribbon span { font-size: .7rem; }
  .split-heading h2,
  .section-title h2,
  .system-copy h2,
  .contact-copy h2 {
    margin: 14px 0 11px;
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.045em;
  }
  .split-heading p:not(.section-kicker),
  .section-title p:not(.section-kicker),
  .system-copy > p,
  .contact-copy p {
    font-size: .97rem;
    line-height: 1.65;
  }
  .duel-panel {
    padding: 8px;
    border-radius: 24px;
    gap: 10px;
  }
  .duel-side {
    padding: 21px;
    border-radius: 20px;
  }
  .duel-side span {
    margin-bottom: 13px;
    font-size: .68rem;
  }
  .duel-side h3 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.08;
  }
  .duel-side ul { gap: 9px; }
  .duel-divider span {
    width: 44px;
    height: 44px;
    font-size: .85rem;
  }
  .bento-grid { gap: 12px; }
  .bento-card {
    min-height: auto;
    padding: 21px;
    border-radius: 23px;
  }
  .bento-card::after {
    width: 120px;
    height: 120px;
  }
  .card-number,
  .bento-card.tall .card-number {
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    border-radius: 14px;
  }
  .bento-card h3 {
    font-size: clamp(1.28rem, 7vw, 1.75rem);
    line-height: 1.1;
  }
  .bento-card p { line-height: 1.62; }
  .system-shell,
  .contact-panel {
    padding: 20px;
    border-radius: 24px;
    gap: 24px;
  }
  .system-tabs {
    gap: 8px;
    margin: 22px 0 14px;
  }
  .tab-btn {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: .86rem;
  }
  .tab-content {
    padding: 18px;
    border-radius: 19px;
  }
  .device-stage { min-height: 300px; }
  .device-frame {
    min-height: 275px;
    border-radius: 22px;
  }
  .browser-bar {
    height: 38px;
    padding: 0 12px;
  }
  .browser-bar span { width: 8px; height: 8px; }
  .browser-bar b { font-size: .68rem; }
  .preview-hero { padding: 23px; }
  .preview-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }
  .preview-line.big { height: 22px; width: 86%; }
  .preview-line.small { width: 70%; }
  .preview-actions { margin-top: 18px; gap: 9px; }
  .preview-actions i {
    width: 92px;
    height: 36px;
    border-radius: 12px;
  }
  .preview-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 23px 23px;
  }
  .preview-cards i {
    min-height: 58px;
    border-radius: 14px;
  }
  .results-grid { gap: 12px; }
  .result-card {
    min-height: 150px;
    padding: 21px;
    border-radius: 22px;
  }
  .result-card p {
    left: 21px;
    right: 21px;
    bottom: 20px;
    font-size: 1.05rem;
  }
  .contact-link {
    padding: 18px;
    border-radius: 19px;
  }
  .contact-link strong {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .site-footer {
    width: min(100% - 24px, 1180px);
    padding: 21px 0 34px;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .section-pad { width: min(100% - 20px, 1180px); }
  .lang-btn { min-width: 28px; padding-inline: 5px; }
  .hero h1 { font-size: clamp(2.3rem, 14vw, 3.6rem); }
  .hero-visual { min-height: 320px; }
  .logo-vault { width: min(258px, 78vw); }
  .ring-one { width: min(312px, 94vw); height: min(312px, 94vw); }
  .ring-two { width: min(232px, 70vw); height: min(232px, 70vw); }
  .floating-chip { min-width: 78px; padding: 9px; }
  .chip-a { top: 11%; }
  .chip-b { top: 17%; }
  .chip-c { bottom: 6%; }
  .preview-actions i { width: 76px; }
  .preview-cards i { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cursor-orb, #goldDust { display: none; }
}

/* Extra phone/tablet performance + fixed mobile menu layer.
   Desktop layouts above 980px remain unchanged. */
@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand lang menu";
  }
  .brand { grid-area: brand; }
  .lang-box { grid-area: lang; justify-self: end; }
  .menu-toggle { grid-area: menu; justify-self: end; }
  .nav-links {
    grid-area: nav;
    z-index: 220;
    visibility: hidden;
    will-change: transform, opacity;
    contain: layout paint;
  }
  .nav-links.open {
    visibility: visible;
  }
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .menu-toggle span {
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
}

@media (max-width: 980px), (hover: none), (pointer: coarse) {
  #goldDust,
  .cursor-orb {
    display: none !important;
  }
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), .10), transparent 18rem),
      linear-gradient(135deg, var(--black) 0%, var(--black-3) 48%, var(--black) 100%);
  }
  .noise {
    opacity: .16;
  }
  .grid-glow {
    animation: none !important;
    opacity: .34;
    mask-image: none;
  }
  .nav-shell,
  .floating-chip {
    backdrop-filter: none;
  }
  .logo-vault,
  .floating-chip,
  .orbit-ring,
  .logo-vault::after,
  .vault-shine,
  .ribbon-track,
  .pulse,
  .section-kicker span {
    animation: none !important;
  }
  .logo-vault {
    transform: translateZ(0);
  }
  .vault-shine {
    opacity: .24;
  }
  .orbit-ring {
    opacity: .42;
  }
  .btn::after {
    display: none;
  }
  .duel-panel::before,
  .bento-card::before,
  .system-shell::before,
  .contact-panel::before,
  .result-card::before {
    display: none;
  }
  .reveal {
    transform: translateY(18px);
    transition: opacity .36s ease, transform .36s ease;
  }
  .delay-1,
  .delay-2,
  .delay-3 {
    transition-delay: 0s;
  }
}

@media (max-width: 650px) {
  .site-header {
    transform: translateZ(0);
  }
  .nav-links {
    background: rgba(7,7,6,.985);
    box-shadow: 0 22px 56px rgba(0,0,0,.72);
  }
  .nav-links a {
    touch-action: manipulation;
  }
  .hero-bg-word {
    display: none;
  }
  .hero-visual {
    contain: layout paint;
  }
  .floating-chip {
    box-shadow: 0 14px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .logo-vault {
    box-shadow: 0 22px 58px rgba(0,0,0,.54), 0 0 42px rgba(var(--gold-rgb),.10), inset 0 0 38px rgba(0,0,0,.55);
  }
  .bento-card,
  .result-card,
  .contact-link,
  .duel-panel,
  .system-shell,
  .contact-panel {
    box-shadow: 0 16px 40px rgba(0,0,0,.34);
  }
}


/* Elegant typography, animated language menu, and aligned results — v3 */
@media (max-width: 980px) {
  .lang-menu { grid-area: lang; justify-self: end; }
  .lang-dropdown { width: 184px; }
  .results-grid { gap: 14px; }
  .result-card { min-height: 174px; }
}

@media (max-width: 650px) {
  .lang-menu { min-width: 72px; }
  .lang-trigger {
    min-height: 40px;
    gap: 7px;
    padding-inline: 10px;
  }
  .lang-trigger-mark { font-size: .86rem; }
  .lang-current { min-width: 20px; font-size: .68rem; }
  .lang-dropdown {
    position: fixed;
    top: 68px;
    right: 10px;
    width: min(190px, calc(100vw - 20px));
    transform-origin: top right;
  }
  .hero h1 {
    max-width: 15ch;
    margin: 18px 0 17px;
    font-size: clamp(2.55rem, 11.5vw, 3.75rem);
    line-height: .94;
    letter-spacing: -.03em;
  }
  .split-heading h2,
  .section-title h2,
  .system-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 9.4vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -.028em;
  }
  .results-section .section-title {
    margin-bottom: 28px;
  }
  .results-section .section-title h2 {
    font-size: clamp(2.15rem, 9.8vw, 2.9rem);
  }
  .results-grid { gap: 12px; }
  .result-card {
    min-height: 142px;
    padding: 20px;
    gap: 22px;
    border-radius: 21px;
  }
  .result-card p {
    max-width: 22ch;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .lang-trigger-mark { display: none; }
  .lang-menu { min-width: 62px; }
  .lang-trigger { gap: 6px; padding-inline: 9px; }
  .hero h1 { font-size: clamp(2.35rem, 11.2vw, 3.2rem); }
}

/* Center the result-card copy — v4 */
.result-card strong {
  position: relative;
  z-index: 2;
}

.result-card p {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: calc(100% - 48px);
  max-width: 18ch;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

@media (max-width: 650px) {
  .result-card p {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: calc(100% - 40px);
    transform: translate(-50%, -50%);
    text-align: center;
  }
}


/* Mobile motion polish — v7
   Uses only transform and opacity animations so touch devices stay smooth. */
@keyframes mobileVaultFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-.35deg); }
  50% { transform: translate3d(0, -9px, 0) rotateZ(.35deg); }
}
@keyframes mobileRingSpin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}
@keyframes mobileRingTiltSpin {
  from { transform: rotateX(68deg) rotateZ(15deg); }
  to { transform: rotateX(68deg) rotateZ(-345deg); }
}
@keyframes mobileShineSpin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}
@keyframes mobileChipA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(1deg); }
}
@keyframes mobileChipB {
  0%, 100% { transform: translate3d(0, -2px, 0) rotate(1deg); }
  50% { transform: translate3d(0, 6px, 0) rotate(-1deg); }
}
@keyframes mobileChipC {
  0%, 100% { transform: translate3d(0, 2px, 0); }
  50% { transform: translate3d(5px, -4px, 0); }
}
@keyframes mobileHeroGlow {
  0%, 100% { opacity: .42; transform: translate3d(-50%, -50%, 0) scale(.92); }
  50% { opacity: .72; transform: translate3d(-50%, -50%, 0) scale(1.07); }
}
@keyframes mobileMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 9px), 0, 0); }
}
@keyframes mobileGridDrift {
  to { background-position: 48px 48px; }
}
@keyframes mobileGoldBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-2-rgb), .42); }
  70% { box-shadow: 0 0 0 9px rgba(var(--gold-2-rgb), 0); }
}
@keyframes mobileBrandGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(var(--gold-rgb), .20); }
  50% { box-shadow: 0 0 30px rgba(var(--gold-rgb), .38); }
}
@keyframes mobileLogoBreath {
  0%, 100% { transform: scale(1.002) rotateZ(-.2deg); opacity: .98; }
  50% { transform: scale(1.018) rotateZ(.2deg); opacity: 1; }
}
@keyframes mobileButtonSheen {
  0%, 72% { transform: translateX(-105%) rotate(14deg); opacity: 0; }
  78% { opacity: .45; }
  94%, 100% { transform: translateX(105%) rotate(14deg); opacity: 0; }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

  /* Keep the costly canvas off on phones, while restoring lightweight motion. */
  .grid-glow {
    animation: mobileGridDrift 26s linear infinite !important;
    opacity: .30;
  }

  .hero-visual {
    isolation: isolate;
    overflow: visible;
    contain: layout;
    transform: translateZ(0);
  }
  .hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: min(390px, 88vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--gold-rgb), .22), rgba(var(--gold-rgb), .07) 38%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
    animation: mobileHeroGlow 5.6s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .logo-vault {
    animation: mobileVaultFloat 5.4s ease-in-out infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .logo-vault img {
    animation: mobileLogoBreath 6.8s ease-in-out infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .logo-vault::after {
    animation: mobileRingSpin 22s linear infinite !important;
    will-change: transform;
  }
  .vault-shine {
    animation: mobileShineSpin 9s linear infinite !important;
    opacity: .36;
    will-change: transform;
  }
  .ring-one {
    animation: mobileRingSpin 30s linear infinite !important;
    opacity: .60;
    will-change: transform;
  }
  .ring-two {
    animation: mobileRingTiltSpin 21s linear infinite !important;
    opacity: .54;
    will-change: transform;
  }
  .chip-a { animation: mobileChipA 4.8s ease-in-out infinite !important; }
  .chip-b { animation: mobileChipB 5.5s ease-in-out infinite !important; }
  .chip-c { animation: mobileChipC 6.1s ease-in-out infinite !important; }
  .floating-chip { will-change: transform; }

  .pulse,
  .section-kicker span {
    animation: mobileGoldBreath 2.2s ease-out infinite !important;
  }
  .brand-logo {
    animation: mobileBrandGlow 3.8s ease-in-out infinite !important;
  }
  .btn-primary::after {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    animation: mobileButtonSheen 5.8s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .ribbon {
    position: relative;
    transform: rotate(-.55deg) scale(1.015);
    background:
      linear-gradient(90deg, rgba(0,0,0,.92), transparent 8%, transparent 92%, rgba(0,0,0,.92)),
      linear-gradient(180deg, rgba(var(--gold-rgb), .055), rgba(255,255,255,.025));
    box-shadow: 0 18px 50px rgba(0,0,0,.34), inset 0 1px 0 rgba(var(--gold-2-rgb), .05);
  }
  .ribbon::before,
  .ribbon::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 44px;
    pointer-events: none;
  }
  .ribbon::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
  .ribbon::after { right: 0; background: linear-gradient(-90deg, var(--black), transparent); }
  .ribbon-track {
    animation: mobileMarquee 17s linear infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .ribbon span { text-shadow: 0 0 18px rgba(var(--gold-rgb), .18); }

  /* More refined mobile entrances without making scrolling feel heavy. */
  .reveal {
    transform: translate3d(0, 22px, 0) scale(.99);
    transition: opacity .58s cubic-bezier(.2,.8,.2,1), transform .58s cubic-bezier(.2,.8,.2,1);
  }
  .delay-1 { transition-delay: .06s; }
  .delay-2 { transition-delay: .12s; }
  .delay-3 { transition-delay: .18s; }

  .btn,
  .tab-btn,
  .lang-trigger,
  .lang-option,
  .contact-link,
  .bento-card,
  .result-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .btn:active,
  .contact-link:active,
  .bento-card:active,
  .result-card:active {
    transform: scale(.985) !important;
    transition-duration: .12s;
  }
  .tab-btn:active,
  .lang-trigger:active,
  .lang-option:active {
    transform: scale(.97);
  }

  .hero-proof div,
  .bento-card,
  .result-card,
  .tab-content,
  .contact-link {
    background-image:
      radial-gradient(circle at 18% 0%, rgba(var(--gold-2-rgb), .055), transparent 42%),
      linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  }

  /* Pause continuous effects when their section is outside the viewport. */
  .hero-visual.motion-paused .logo-vault,
  .hero-visual.motion-paused .logo-vault img,
  .hero-visual.motion-paused .logo-vault::after,
  .hero-visual.motion-paused .vault-shine,
  .hero-visual.motion-paused .orbit-ring,
  .hero-visual.motion-paused .floating-chip,
  .hero-visual.motion-paused::before,
  .ribbon.motion-paused .ribbon-track {
    animation-play-state: paused !important;
  }
}

@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
  .hero-visual::before { width: min(330px, 92vw); filter: blur(10px); }
  .ribbon-track { animation-duration: 15s !important; }
  .ribbon span { letter-spacing: .15em; }
  .site-header.scrolled .brand-logo { animation-duration: 4.8s !important; }

  .nav-links.open a {
    animation: tabIn .38s cubic-bezier(.2,.8,.2,1) both;
  }
  .nav-links.open a:nth-child(2) { animation-delay: .04s; }
  .nav-links.open a:nth-child(3) { animation-delay: .08s; }
  .nav-links.open a:nth-child(4) { animation-delay: .12s; }
}

@media (max-width: 420px) and (prefers-reduced-motion: no-preference) {
  .hero-visual::before { width: min(290px, 94vw); }
  .ribbon-track { animation-duration: 14s !important; }
  .chip-a { animation-duration: 5.4s !important; }
  .chip-b { animation-duration: 6.1s !important; }
  .chip-c { animation-duration: 6.8s !important; }
}

/* Accessibility always wins over decorative motion. */
@media (prefers-reduced-motion: reduce) {
  .logo-vault,
  .logo-vault img,
  .logo-vault::after,
  .vault-shine,
  .orbit-ring,
  .floating-chip,
  .ribbon-track,
  .grid-glow,
  .brand-logo,
  .btn-primary::after,
  .pulse,
  .section-kicker span,
  .hero-visual::before {
    animation: none !important;
  }
}

/* ================================================================
   Tablet + cross-platform refinement — v8
   Extends the lightweight phone motion system to tablets while
   preserving the full desktop presentation above 1180px.
   ================================================================ */

/* Tablet navigation: prevent the desktop header from becoming cramped. */
@media (min-width: 981px) and (max-width: 1180px) {
  html { scroll-padding-top: 112px; }

  .site-header { top: 12px; }
  .site-header.scrolled { top: 8px; }

  .nav-shell {
    width: min(100% - 34px, 1080px);
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand lang menu";
    gap: 14px;
    padding: 9px 11px;
  }
  .brand { grid-area: brand; }
  .lang-menu { grid-area: lang; justify-self: end; }
  .menu-toggle {
    grid-area: menu;
    display: block;
    justify-self: end;
    touch-action: manipulation;
  }
  .nav-links {
    position: fixed;
    z-index: 220;
    top: 84px;
    left: 24px;
    right: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: calc(100dvh - 108px);
    padding: 16px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -14px, 0) scale(.985);
    border: 1px solid rgba(var(--gold-rgb), .20);
    border-radius: 26px;
    background: rgba(7, 7, 6, .97);
    box-shadow: 0 28px 78px rgba(0, 0, 0, .68), inset 0 1px 0 rgba(255,255,255,.07);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    -webkit-overflow-scrolling: touch;
    contain: layout paint;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }
  .nav-links a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
    border: 1px solid rgba(255,255,255,.06);
    font-size: .96rem;
  }

  .section-pad {
    width: min(100% - 52px, 1080px);
    padding: 88px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }
  .hero-layout { gap: clamp(28px, 4vw, 52px); }
  .hero h1 {
    font-size: clamp(3.3rem, 6.2vw, 5.75rem);
    line-height: .89;
  }
  .hero-sub { font-size: 1.04rem; line-height: 1.72; }
  .hero-visual { min-height: 500px; }
  .logo-vault { width: min(350px, 34vw); }
  .ring-one { width: min(455px, 44vw); height: min(455px, 44vw); }
  .ring-two { width: min(350px, 34vw); height: min(350px, 34vw); }
  .chip-a { left: 1%; }
  .chip-b { right: 1%; }

  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.tall,
  .bento-card.wide { grid-column: span 1; grid-row: span 1; }
  .bento-card { min-height: 260px; }

  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .result-card { min-height: 180px; }

  .device-frame { width: min(100%, 520px); }
  .system-shell { gap: 34px; }
  .contact-panel { gap: 36px; }
  .site-footer { width: min(100% - 52px, 1080px); }

  .lang-dropdown { width: 190px; }
}

/* Portrait tablets benefit from the same clear, stacked reading order as phones. */
@media (min-width: 651px) and (max-width: 1180px) and (orientation: portrait) {
  .hero-layout,
  .system-shell,
  .contact-panel { grid-template-columns: 1fr; }

  .hero-copy,
  .system-copy,
  .contact-copy {
    width: min(100%, 820px);
    margin-inline: auto;
  }
  .hero-visual {
    width: min(100%, 720px);
    min-height: 500px;
    margin-inline: auto;
  }
  .logo-vault { width: min(390px, 54vw); }
  .ring-one { width: min(520px, 72vw); height: min(520px, 72vw); }
  .ring-two { width: min(400px, 56vw); height: min(400px, 56vw); }
  .duel-panel { grid-template-columns: 1fr; }
  .duel-divider { padding: 2px 0; }
  .device-stage { min-height: 520px; }
  .device-frame { width: min(100%, 620px); }
}

/* Landscape tablets retain two columns but get safer spacing and type scaling. */
@media (min-width: 981px) and (max-width: 1180px) and (orientation: landscape) {
  .hero-layout { grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr); }
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .system-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); }
  .contact-panel { grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); }
}

/* Restore and tune lightweight motion on every tablet/touch browser. */
@media (max-width: 1180px) and (prefers-reduced-motion: no-preference),
       (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .grid-glow {
    animation: mobileGridDrift 28s linear infinite !important;
    opacity: .31;
  }

  .hero-visual {
    isolation: isolate;
    overflow: visible;
    contain: layout;
    transform: translateZ(0);
  }
  .hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: min(430px, 72vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--gold-rgb), .20), rgba(var(--gold-rgb), .065) 40%, transparent 70%);
    filter: blur(13px);
    pointer-events: none;
    animation: mobileHeroGlow 6.2s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .logo-vault {
    animation: mobileVaultFloat 6s ease-in-out infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .logo-vault img {
    animation: mobileLogoBreath 7.4s ease-in-out infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .logo-vault::after {
    animation: mobileRingSpin 24s linear infinite !important;
    will-change: transform;
  }
  .vault-shine {
    animation: mobileShineSpin 10s linear infinite !important;
    opacity: .35;
    will-change: transform;
  }
  .ring-one {
    animation: mobileRingSpin 34s linear infinite !important;
    opacity: .58;
    will-change: transform;
  }
  .ring-two {
    animation: mobileRingTiltSpin 24s linear infinite !important;
    opacity: .52;
    will-change: transform;
  }
  .chip-a { animation: mobileChipA 5.4s ease-in-out infinite !important; }
  .chip-b { animation: mobileChipB 6.1s ease-in-out infinite !important; }
  .chip-c { animation: mobileChipC 6.8s ease-in-out infinite !important; }
  .floating-chip { will-change: transform; }

  .pulse,
  .section-kicker span {
    animation: mobileGoldBreath 2.4s ease-out infinite !important;
  }
  .brand-logo {
    animation: mobileBrandGlow 4.2s ease-in-out infinite !important;
  }

  .btn-primary::after {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    animation: mobileButtonSheen 6.4s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .ribbon-track {
    animation: mobileMarquee 19s linear infinite !important;
    will-change: transform;
    backface-visibility: hidden;
  }
  .ribbon span { text-shadow: 0 0 18px rgba(var(--gold-rgb), .18); }

  .hero-visual.motion-paused .logo-vault,
  .hero-visual.motion-paused .logo-vault img,
  .hero-visual.motion-paused .logo-vault::after,
  .hero-visual.motion-paused .vault-shine,
  .hero-visual.motion-paused .orbit-ring,
  .hero-visual.motion-paused .floating-chip,
  .hero-visual.motion-paused::before,
  .ribbon.motion-paused .ribbon-track {
    animation-play-state: paused !important;
  }

  .nav-links.open a {
    animation: tabIn .4s cubic-bezier(.2,.8,.2,1) both;
  }
  .nav-links.open a:nth-child(2) { animation-delay: .045s; }
  .nav-links.open a:nth-child(3) { animation-delay: .09s; }
  .nav-links.open a:nth-child(4) { animation-delay: .135s; }

  .btn,
  .tab-btn,
  .lang-trigger,
  .lang-option,
  .contact-link,
  .bento-card,
  .result-card,
  .menu-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Touch-only press feedback avoids sticky desktop hover states. */
@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .contact-link:hover,
  .bento-card:hover,
  .result-card:hover { transform: none; }

  .btn:active,
  .contact-link:active,
  .bento-card:active,
  .result-card:active {
    transform: scale(.986) !important;
    transition-duration: .12s;
  }
}

/* Very large tablets (for example 12.9-inch landscape) keep desktop layout,
   but still receive the animated logo and moving ribbon through coarse-pointer
   media queries above. */

/* Final compact-device overflow guard — v8.1 */
@media (max-width: 1180px), (hover: none), (pointer: coarse) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .ribbon {
    width: 100%;
    transform: rotate(-.35deg);
  }
}

/* Global horizontal-scroll safety across desktop, tablet, and phone. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
