/* All American Trophy — style.css
   Tokens → base → layout → components → sections → pages → motion → responsive */

:root {
  /* color — logo black/white + refined original theme */
  --ink: #0B0B0B;
  --paper: #FFFFFF;
  --navy-950: #0A1628;
  --navy-900: #0F2038;
  --navy-800: #13294B;
  --red-600: #C8102E;
  --red-500: #E3263A;
  --red-glow: #FF5A3C;
  --blue-500: #1F78C1;
  --gold-400: #D9A93E;
  --gold-300: #E9C76F;
  --gold-600: #9C7224;
  --silver-300: #C9CFD8;
  --ivory-50: #F8F4EC;
  --ivory-100: #EFE8DA;
  --walnut: #4A2E1C;
  --ink-700: #2A2F38;
  --ink-500: #4F5866;
  --text-on-dark: #EEF1F6;
  --text-on-dark-2: #A9B4C6;
  --line-dark: rgb(255 255 255 / .12);
  --line-light: rgb(11 11 11 / .12);
  --whatsapp: #128C4A;

  --gold-grad: linear-gradient(135deg, #F7DD8B 0%, #D9A93E 38%, #9C7224 62%, #F2D27A 100%);
  --brass: repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 3px), linear-gradient(180deg, #EBCB7A 0%, #C9993A 48%, #A97B27 100%);
  --silver: repeating-linear-gradient(90deg, rgb(255 255 255 / .18) 0 1px, transparent 1px 3px), linear-gradient(180deg, #E8ECF1 0%, #BFC6D0 50%, #9AA3AF 100%);

  /* type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-utility: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-h1: clamp(2.5rem, 5.6vw, 5.25rem);
  --fs-h2: clamp(2rem, 3.8vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);

  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: var(--s-10);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  /* corners */
  --r-plate: 4px;
  --r-card: 10px;

  /* depth */
  --shadow-plate: 0 1px 1px rgb(8 14 26 / .12), 0 4px 8px rgb(8 14 26 / .12), 0 16px 32px rgb(8 14 26 / .16), 0 40px 80px rgb(8 14 26 / .22);
  --shadow-lift: 0 2px 2px rgb(8 14 26 / .10), 0 8px 16px rgb(8 14 26 / .14), 0 28px 56px rgb(8 14 26 / .22), 0 60px 120px rgb(8 14 26 / .26);
  --shadow-soft: 0 1px 2px rgb(8 14 26 / .08), 0 6px 18px rgb(8 14 26 / .08);
  --engraved: 0 1px 0 rgb(255 255 255 / .45), 0 -1px 0 rgb(0 0 0 / .35);

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* z-index scale */
  --z-header: 50;
  --z-mobilebar: 40;
  --z-drawer: 60;
  --z-popup: 80;
  --z-lightbox: 90;

  --header-h: 92px;
  --topbar-h: 40px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-variation-settings: "opsz" 144; }
h2 { font-size: var(--fs-h2); font-variation-settings: "opsz" 120; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 var(--s-4); }
.lede { font-size: 1.1875rem; max-width: 60ch; }
.measure { max-width: 68ch; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }
svg.i.g { stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-400); color: var(--ink); padding: 10px 16px; border-radius: var(--r-plate); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-300); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--navy-950); color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-2); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: var(--s-9); }

/* ---------- brass nameplate (signature) ---------- */
.plate {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-utility); font-weight: 800; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase;
  color: #3A2708; text-shadow: var(--engraved);
  background: var(--brass);
  padding: 6px 14px 5px; border-radius: var(--r-plate);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -1px 0 rgb(0 0 0 / .25), 0 2px 6px rgb(8 14 26 / .25);
  position: relative; white-space: nowrap;
}
.plate::before, .plate::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6d6, #8a6420 70%); box-shadow: 0 0 0 1px rgb(0 0 0 / .15); }
.section--dark .plate, .hero .plate, .page-hero .plate, .story .plate { color: #3A2708; }
.plate--silver, .section--dark .plate--silver { background: var(--silver); color: #232a33; }
[hidden] { display: none !important; }
.plate--sm { font-size: .75rem; padding: 4px 10px 3px; }

.eyebrow { margin-bottom: var(--s-5); }

/* ---------- laser-engrave reveal (signature) ---------- */
.engrave { position: relative; }
.engrave .engrave-text { display: block; }
.js .engrave .engrave-text { clip-path: inset(0 100% 0 0); }
.js .engrave.is-in .engrave-text { clip-path: inset(0 0 0 0); transition: clip-path 1.25s cubic-bezier(.55, .1, .3, 1); }
.engrave::after {
  content: ""; position: absolute; top: -6%; bottom: -6%; left: 0; width: 2px;
  background: linear-gradient(180deg, transparent, #fff 20%, var(--red-glow) 50%, #fff 80%, transparent);
  box-shadow: 0 0 10px 2px rgb(255 90 60 / .85), 0 0 28px 6px rgb(200 16 46 / .55);
  opacity: 0; pointer-events: none;
}
.js .engrave.is-in::after { animation: laser 1.25s cubic-bezier(.55, .1, .3, 1) forwards; }
@keyframes laser {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-utility); font-weight: 800; font-size: 1.0625rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--bg); border: 0; border-radius: var(--r-plate);
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 2px 4px rgb(8 14 26 / .2), 0 10px 24px rgb(200 16 46 / .28);
  transition: background-color .2s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn::after { /* gold-foil sweep */
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(255 230 160 / .55), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out);
}
.btn:hover { background: var(--red-500); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 4px 8px rgb(8 14 26 / .2), 0 16px 36px rgb(200 16 46 / .38); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--glass {
  background: rgb(255 255 255 / .08); color: var(--text-on-dark);
  border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 8px 24px rgb(0 0 0 / .2);
}
.btn--glass:hover { background: rgb(255 255 255 / .16); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 12px 32px rgb(0 0 0 / .28); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn .i { width: 18px; height: 18px; }
.magnetic { will-change: transform; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .2s var(--ease-out), color .2s; }
.text-link:hover { gap: 14px; color: var(--red-600); }
.section--dark .text-link:hover { color: var(--gold-300); }

/* ---------- glass ---------- */
.glass {
  background: rgb(19 41 75 / .55);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgb(255 255 255 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), var(--shadow-plate);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .btn--glass { background: var(--navy-800); }
}

/* ---------- top bar + header ---------- */
.site-top { position: sticky; top: 0; z-index: var(--z-header); }
.topbar {
  background: var(--navy-950); color: var(--text-on-dark-2);
  font-size: .875rem; border-bottom: 1px solid var(--line-dark);
  transition: height .3s var(--ease-out);
  height: var(--topbar-h);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--s-5); }
.topbar ul { list-style: none; display: flex; align-items: center; gap: var(--s-5); margin: 0; padding: 0; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--gold-300); }
.topbar .i { width: 15px; height: 15px; color: var(--gold-400); }
.topbar .social a { width: 32px; height: 32px; justify-content: center; border-radius: 50%; }
.topbar .social .i { width: 16px; height: 16px; color: currentColor; }
.topbar .social a:hover { background: rgb(255 255 255 / .08); }

.header {
  height: var(--header-h);
  background: linear-gradient(180deg, rgb(10 22 40 / .92), rgb(10 22 40 / .55));
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease-out), background-color .35s, box-shadow .35s, border-color .35s;
}
.header .wrap { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.brand { display: block; flex: none; height: 76px; transition: height .35s var(--ease-out); }
.brand img { height: 100%; width: auto; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .35)); }
.is-scrolled .topbar { --topbar-h: 32px; }
.is-scrolled .header {
  --header-h: 66px;
  background: rgb(10 22 40 / .9);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: rgb(255 255 255 / .1);
  box-shadow: var(--shadow-plate);
}
.is-scrolled .brand { height: 54px; }

.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  font-family: var(--f-utility); font-weight: 700; font-size: 1.0625rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-on-dark); text-decoration: none; background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .25s var(--ease-out); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 270px;
  padding: 10px; border-radius: var(--r-card);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s;
  list-style: none; margin: 0;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 6px; color: var(--text-on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .18s, color .18s, padding .2s var(--ease-out); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: rgb(255 255 255 / .08); color: var(--gold-300); padding-left: 18px; }
.dropdown .i { width: 14px; height: 14px; opacity: .6; }
.header-cta { margin-left: var(--s-3); }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r-plate); border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .06); color: #fff; align-items: center; justify-content: center; }
.menu-toggle .i { width: 24px; height: 24px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: rgb(10 22 40 / .88); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: var(--text-on-dark); padding: 20px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.drawer-head img { height: 60px; width: auto; }
.drawer-close { width: 48px; height: 48px; border-radius: var(--r-plate); border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.drawer details { border-bottom: 1px solid var(--line-dark); }
.drawer summary, .drawer .drawer-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--f-utility); font-weight: 800; font-size: 1.375rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none; text-decoration: none; color: inherit; }
.drawer .drawer-link { border-bottom: 1px solid var(--line-dark); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .i { transition: transform .25s var(--ease-out); }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer details ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.drawer details a { display: block; padding: 10px 0 10px 12px; color: var(--text-on-dark-2); text-decoration: none; border-left: 2px solid var(--gold-600); }
.drawer details a:hover { color: var(--gold-300); }
.drawer-actions { display: grid; gap: 12px; margin-top: var(--s-6); }
.drawer-social { display: flex; gap: 12px; margin-top: var(--s-5); }
.drawer-social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background:
    radial-gradient(60% 70% at 72% 30%, rgb(233 199 111 / .22), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgb(200 16 46 / .16), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, #0C1B33 60%, var(--navy-950) 100%);
  margin-top: calc(-1 * (var(--header-h) + var(--topbar-h)));
  padding-top: calc(var(--header-h) + var(--topbar-h) + var(--s-9));
  padding-bottom: var(--s-10);
  isolation: isolate;
}
.hero::before { /* spotlight beam */
  content: ""; position: absolute; top: -10%; right: 8%; width: 46%; height: 120%; z-index: -1;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgb(255 226 150 / .10) 18deg, transparent 40deg);
  filter: blur(8px);
}
.hero::after { /* engraved guilloche hairlines */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-radial-gradient(circle at 78% 40%, transparent 0 22px, rgb(217 169 62 / .06) 22px 23px);
  mask-image: radial-gradient(60% 60% at 75% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 75% 40%, #000, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--text-on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-6); font-size: .9375rem; color: var(--text-on-dark-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .i { color: var(--gold-400); width: 18px; height: 18px; }

.case { position: relative; aspect-ratio: 4 / 5; perspective: 1200px; }
.case-frame {
  position: absolute; border-radius: var(--r-card); overflow: hidden; background: var(--navy-800);
  box-shadow: var(--shadow-lift); border: 1px solid rgb(255 255 255 / .14);
}
.case-frame img { width: 100%; height: 100%; object-fit: cover; }
.case-frame figcaption { position: absolute; left: 12px; bottom: 12px; }
.case-frame--a { width: 62%; height: 70%; right: 2%; top: 0; z-index: 2; }
.case-frame--b { width: 48%; height: 46%; left: 0; top: 30%; z-index: 3; }
.case-frame--c { width: 44%; height: 38%; right: 10%; bottom: -4%; z-index: 4; }
.case-glass { position: absolute; left: -6%; bottom: 4%; z-index: 5; padding: 14px 18px; border-radius: var(--r-card); display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: .95rem; }
.case-glass strong { font-family: var(--f-utility); font-size: 1.75rem; letter-spacing: .04em; color: var(--gold-300); line-height: 1; }
.seal-ring { position: absolute; top: -6%; left: 6%; z-index: 1; width: 150px; height: 150px; color: var(--gold-400); }
.seal-ring svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal-ring text { font-family: var(--f-utility); font-weight: 800; font-size: 13px; letter-spacing: 4.2px; fill: currentColor; }
.seal-ring .star { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: var(--gold-400); }
@keyframes spin { to { transform: rotate(360deg); } }

.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.stars span { position: absolute; width: var(--sz, 10px); height: var(--sz, 10px); color: var(--gold-400); opacity: var(--o, .35); animation: drift var(--d, 18s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.stars svg { width: 100%; height: 100%; display: block; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(var(--dx, 20px), var(--dy, -30px), 0) rotate(40deg); }
}

/* ---------- trust rail ---------- */
.trust { background: var(--navy-900); color: var(--text-on-dark); border-block: 1px solid var(--line-dark); position: relative; z-index: 2; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--line-dark); display: grid; gap: 6px; align-content: start; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-num { font-family: var(--f-utility); font-weight: 800; font-size: clamp(2.25rem, 3.2vw, 3rem); line-height: 1; letter-spacing: .02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item p { margin: 0; color: var(--text-on-dark-2); font-size: .9375rem; line-height: 1.5; }

/* ---------- section headers ---------- */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-6); margin-bottom: var(--s-8); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { margin: 0; max-width: 46ch; }
.sec-head--stack { grid-template-columns: 1fr; }

/* ---------- bento categories ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: var(--s-4); }
.tile {
  position: relative; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff;
  background: var(--navy-800); box-shadow: var(--shadow-soft);
  transform-style: preserve-3d; transition: box-shadow .35s var(--ease-out);
}
.tile:hover { box-shadow: var(--shadow-lift); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(10 22 40 / .9) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-5); z-index: 2; transform: translateZ(40px); }
.tile-body h3 { margin: var(--s-3) 0 4px; font-size: 1.5rem; color: #fff; }
.tile-body p { margin: 0; font-size: .9375rem; color: rgb(238 241 246 / .82); line-height: 1.5; }
.tile .arrow { position: absolute; top: var(--s-4); right: var(--s-4); z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .2); transition: background-color .25s, transform .3s var(--ease-out); }
.tile:hover .arrow { background: var(--red-600); transform: rotate(-45deg); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile .glare, .card .glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .22), transparent 45%); }
.tilt:hover .glare { opacity: 1; }

/* ---------- podium rail ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s-7) var(--gutter) var(--s-6); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--gold-600) transparent; align-items: end; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 3px; }
.rail .card { scroll-snap-align: start; }
.rail .card:nth-child(3n+1) { margin-bottom: 48px; }
.rail .card:nth-child(3n+2) { margin-bottom: 0; }
.rail .card:nth-child(3n) { margin-bottom: 24px; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgb(255 255 255 / .06); color: var(--text-on-dark); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.rail-btn:hover { background: var(--gold-400); color: var(--ink); border-color: var(--gold-400); }

/* ---------- product card ---------- */
.card {
  position: relative; border-radius: var(--r-card); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-soft); transform-style: preserve-3d; text-decoration: none;
  transition: box-shadow .35s var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-lift); }
.section--dark .card { background: var(--navy-800); color: var(--text-on-dark); border: 1px solid var(--line-dark); }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--ivory-100); transform: translateZ(20px); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: var(--s-5); transform: translateZ(36px); }
.card-body h3 { font-size: 1.1875rem; margin: 0 0 6px; }
.card-body p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-500); }
.section--dark .card-body p { color: var(--text-on-dark-2); }
.card-plate { position: absolute; top: 14px; left: 14px; z-index: 2; transform: translateZ(50px); }
button.card { border: 0; padding: 0; text-align: left; width: 100%; font: inherit; cursor: zoom-in; }

.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--products .card-media { aspect-ratio: 4 / 5; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--paper); font-size: .875rem; font-weight: 600; }
.section--dark .chips li, .page-hero .chips li { background: rgb(255 255 255 / .06); border-color: var(--line-dark); color: var(--text-on-dark); }
.chips-label { font-family: var(--f-utility); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; margin: var(--s-6) 0 0; color: var(--gold-600); }
.page-hero .chips-label { color: var(--gold-300); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 10px, transparent 10px 16px); }
.steps li { position: relative; counter-increment: step; }
.step-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: #3A2708; font-family: var(--f-utility); font-weight: 800; font-size: 1.5rem; text-shadow: var(--engraved); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -2px 0 rgb(0 0 0 / .2), var(--shadow-soft); position: relative; margin-bottom: var(--s-5); }
.step-mark::before { content: counter(step); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-500); font-size: .9875rem; }

/* ---------- story ---------- */
.story { overflow: hidden; }
.story .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-9); align-items: center; }
.story-photo { position: relative; }
.story-photo .frame { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 10px solid #1a2b47; outline: 1px solid var(--gold-600); }
.story-photo .frame img { filter: sepia(.25) contrast(1.05); }
.story-photo .plate { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); }
.timeline { list-style: none; margin: var(--s-7) 0 var(--s-6); padding: 0; display: grid; gap: var(--s-5); border-left: 2px solid var(--gold-600); }
.timeline li { padding-left: var(--s-6); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px var(--navy-950), 0 0 18px rgb(217 169 62 / .6); }
.timeline strong { display: block; font-family: var(--f-utility); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); font-size: 1.125rem; }
.timeline span { color: var(--text-on-dark-2); }

/* ---------- montana collage ---------- */
.collage-wrap { display: grid; grid-template-columns: 6fr 5fr; gap: var(--s-9); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1; }
.collage figure { position: absolute; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-plate); border: 6px solid var(--paper); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage figure:nth-child(1) { width: 64%; height: 58%; top: 0; left: 0; transform: rotate(-2deg); }
.collage figure:nth-child(2) { width: 52%; height: 50%; right: 0; top: 22%; transform: rotate(2.5deg); z-index: 2; }
.collage figure:nth-child(3) { width: 48%; height: 40%; left: 12%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.makers { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: 10px; }
.makers li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-plate); background: var(--paper); border: 1px solid var(--line-light); font-weight: 600; }
.makers .i { color: var(--gold-600); }

/* ---------- reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--text-on-dark-2); font-weight: 600; font-size: .9375rem; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { color: #fff; border-color: rgb(255 255 255 / .3); }
.tab[aria-selected="true"] { background: var(--gold-400); border-color: var(--gold-400); color: var(--ink); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); cursor: grab; scrollbar-width: thin; scrollbar-color: var(--gold-600) transparent; }
.review-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.review { scroll-snap-align: start; padding: var(--s-6); border-radius: var(--r-card); display: flex; flex-direction: column; gap: var(--s-4); }
.review-stars { display: flex; gap: 3px; color: var(--gold-400); }
.review-stars .i { width: 18px; height: 18px; }
.review p { color: var(--text-on-dark); margin: 0; font-size: 1rem; }
.review footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--text-on-dark-2); }
.review footer strong { color: #fff; }
.g-badge { width: 22px; height: 22px; }
.reviews-empty { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); padding: var(--s-7); border-radius: var(--r-card); }
.reviews-empty .g { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.reviews-empty .g svg { width: 34px; height: 34px; }
.reviews-empty h3 { color: #fff; margin-bottom: 6px; }
.reviews-empty p { margin: 0; }
.reviews-empty .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--r-card); }
.rating-badge strong { font-family: var(--f-utility); font-size: 2rem; line-height: 1; color: #fff; }

/* ---------- masonry gallery ---------- */
.masonry { columns: 3 260px; column-gap: var(--s-4); }
.masonry .shot { break-inside: avoid; margin-bottom: var(--s-4); display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--r-card); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-soft); transition: box-shadow .3s; }
.masonry .shot:hover { box-shadow: var(--shadow-lift); }
.masonry .shot img { width: 100%; transition: transform .8s var(--ease-out); }
.masonry .shot:hover img { transform: scale(1.04); }
.masonry .shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; color: #fff; font-size: .875rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgb(10 22 40 / .85)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease-out); }
.masonry .shot:hover span, .masonry .shot:focus-visible span { opacity: 1; transform: none; }

/* ---------- form ---------- */
.quote { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: start; }
.quote-info h2 { max-width: 14ch; }
.contact-list { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: var(--s-4); }
.contact-list a, .contact-list span { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); color: var(--gold-400); flex: none; }
.contact-list small { display: block; font-family: var(--f-utility); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-size: .8125rem; }
.contact-list b { font-weight: 600; }
.map { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16 / 10; background: var(--ivory-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: var(--paper); border-radius: var(--r-card); padding: var(--s-7); box-shadow: var(--shadow-plate); border-top: 4px solid var(--red-600); position: relative; }
.form h3 { margin-bottom: 4px; }
.form .sub { color: var(--ink-500); margin-bottom: var(--s-6); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label .opt { font-weight: 400; color: var(--ink-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-plate);
  border: 1.5px solid #CFC8BA; background: #FFFDF9; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 10px; min-height: 0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A99F8D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(31 120 193 / .18); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field .err { color: var(--red-600); font-size: .875rem; font-weight: 600; min-height: 0; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-500); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--red-600); flex: none; }
.form-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form-actions small { color: var(--ink-500); }
.form-success { display: none; text-align: center; padding: var(--s-6) 0; }
.form.is-sent .form-body { display: none; }
.form.is-sent .form-success { display: block; }
.check-anim { width: 76px; height: 76px; margin: 0 auto var(--s-5); }
.check-anim circle { stroke: var(--gold-400); stroke-width: 3; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; }
.check-anim path { stroke: var(--red-600); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.form.is-sent .check-anim circle { animation: draw .6s var(--ease-out) forwards; }
.form.is-sent .check-anim path { animation: draw .4s .45s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding-block: var(--s-9); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 85% 50%, rgb(200 16 46 / .32), transparent 70%), radial-gradient(40% 100% at 10% 0%, rgb(217 169 62 / .18), transparent 70%); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); }
.cta-band h2 { margin: 0; color: #fff; max-width: 16ch; }
.cta-band p { color: var(--text-on-dark-2); margin: 8px 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- footer ---------- */
.footer { background: #07101E; color: var(--text-on-dark-2); padding-top: var(--s-9); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-bottom: var(--s-8); }
.footer img.flogo { width: 120px; height: 120px; margin-bottom: var(--s-5); }
.footer h3 { font-family: var(--f-utility); font-weight: 800; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .nap li { display: flex; gap: 10px; align-items: flex-start; }
.footer .nap .i { color: var(--gold-400); margin-top: 4px; width: 16px; height: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: var(--s-5); }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background-color .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold-400); color: var(--ink); border-color: var(--gold-400); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; font-size: .875rem; }
.footer-bottom a { color: var(--gold-300); font-weight: 600; }

/* ---------- mobile sticky bar ---------- */
.mobile-bar { display: none; }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--text-on-dark); isolation: isolate;
  background: radial-gradient(50% 80% at 80% 20%, rgb(233 199 111 / .16), transparent 60%), var(--navy-950);
  margin-top: calc(-1 * (var(--header-h) + var(--topbar-h)));
  padding-top: calc(var(--header-h) + var(--topbar-h) + var(--s-8));
  padding-bottom: var(--s-9);
}
.page-hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.page-hero .lede { color: var(--text-on-dark-2); }
.page-hero-media { position: relative; aspect-ratio: 5 / 6; }
.page-hero-media .frame { position: absolute; inset: 0 0 0 8%; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid rgb(255 255 255 / .14); }
.page-hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media .frame-b { position: absolute; width: 46%; aspect-ratio: 1; left: -4%; bottom: -6%; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 6px solid var(--navy-900); z-index: 2; }
.page-hero-media .frame-b img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .875rem; margin-bottom: var(--s-5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--text-on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold-600); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs [aria-current] { color: #fff; }

/* why strip */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-card); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); }
.why div { padding: var(--s-6); border-left: 1px solid var(--line-light); }
.why div:first-child { border-left: 0; }
.why h3 { font-size: 1.25rem; margin: var(--s-3) 0 6px; }
.why p { margin: 0; color: var(--ink-500); font-size: .9375rem; }

/* FAQ */
.faq { display: grid; gap: var(--s-3); max-width: 860px; }
.faq details { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line-light); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-5) var(--s-6); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); font-family: var(--f-display); font-weight: 600; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s var(--ease-out); color: var(--red-600); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s-6) var(--s-5); margin: 0; color: var(--ink-700); }

/* related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.related .tile { height: 300px; }

/* sub-nav cards (drinkware hub) */
.subnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.subnav a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3); border-radius: var(--r-card); background: var(--paper); text-decoration: none; box-shadow: var(--shadow-soft); transition: box-shadow .3s, transform .3s var(--ease-out); }
.subnav a:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.subnav img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; }
.subnav b { font-family: var(--f-display); font-size: 1.125rem; }
.subnav span { display: block; color: var(--ink-500); font-size: .875rem; }

.prose { max-width: 68ch; }
.prose p { font-size: 1.125rem; }
.font-sheet { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-plate); background: #fff; padding: var(--s-5); max-width: 760px; }
.callout { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--navy-950); color: var(--text-on-dark); margin-top: var(--s-6); }
.callout .i { color: var(--gold-400); width: 28px; height: 28px; }
.callout p { margin: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgb(6 12 22 / .94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; animation: fade .25s var(--ease-out); }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 180px); width: auto; border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
.lightbox figcaption { color: var(--text-on-dark); text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.lb-btn:hover { background: rgb(255 255 255 / .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- demo popup ---------- */
.popup { position: fixed; inset: 0; z-index: var(--z-popup); display: none; align-items: center; justify-content: center; padding: 20px; }
.popup.is-open { display: flex; }
.popup-backdrop { position: absolute; inset: 0; background: rgb(6 12 22 / .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s var(--ease-out); }
.popup-card {
  position: relative; width: min(100%, 520px); padding: var(--s-7) var(--s-6) var(--s-6); border-radius: 16px; color: var(--text-on-dark); text-align: center;
  background: linear-gradient(160deg, rgb(19 41 75 / .92), rgb(10 22 40 / .95));
  border: 1px solid transparent; background-clip: padding-box;
  box-shadow: var(--shadow-lift); animation: pop .45s var(--ease-spring);
}
.popup-card::before { content: ""; position: absolute; inset: -1px; border-radius: 17px; padding: 1.5px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.popup-card h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); color: #fff; margin: var(--s-5) 0 var(--s-4); }
.popup-card p { color: var(--text-on-dark-2); }
.popup-card .btn { width: 100%; margin-top: var(--s-4); }
.popup-later { margin-top: var(--s-3); background: none; border: 0; color: var(--text-on-dark-2); text-decoration: underline; min-height: 44px; }
.popup-later:hover { color: #fff; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #fff; display: grid; place-items: center; }
.popup-close:hover { background: rgb(255 255 255 / .1); }
.popup-logo { width: 84px; height: 84px; margin: 0 auto; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.tilt { will-change: transform; transition: transform .5s var(--ease-out), box-shadow .35s var(--ease-out); }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .35s var(--ease-out); }
[data-depth] { will-change: transform; }

/* medal swing */
.swing:hover .card-media img { animation: swing 1.4s var(--ease-out); transform-origin: 50% 0; }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(3deg); } 45% { transform: rotate(-2.2deg); } 70% { transform: rotate(1.2deg); } 100% { transform: rotate(0); } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--f-utility); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --section: 88px; }
  .hero .wrap, .page-hero .wrap, .story .wrap, .collage-wrap, .quote { grid-template-columns: 1fr; gap: var(--s-8); }
  .case { max-width: 520px; width: 100%; margin-inline: auto; }
  .page-hero-media { max-width: 460px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .related, .subnav { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .why div { border-left: 0; border-top: 1px solid var(--line-light); }
  .why div:first-child { border-top: 0; }
  .reviews-empty { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 767px) {
  :root { --section: 72px; --header-h: 72px; --topbar-h: 36px; }
  body { font-size: 1.0625rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .topbar .hide-sm { display: none; }
  .topbar ul { gap: var(--s-3); }
  .brand { height: 58px; }
  .is-scrolled .brand { height: 48px; }
  .is-scrolled .header { --header-h: 62px; }
  .is-scrolled .topbar { --topbar-h: 32px; }
  .hero { padding-bottom: var(--s-9); }
  .hero-meta { gap: var(--s-3); flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
  .seal-ring { width: 104px; height: 104px; }
  .case-glass { left: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile--tall { grid-row: span 1; }
  .tile--wide { grid-column: span 1; }
  .fields { grid-template-columns: 1fr; }
  .form { padding: var(--s-6) var(--s-5); }
  .steps { grid-template-columns: 1fr; }
  .related, .subnav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgb(10 22 40 / .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark); box-shadow: 0 -10px 30px rgb(0 0 0 / .25);
  }
  .mobile-bar a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--r-plate); color: #fff; text-decoration: none; font-family: var(--f-utility); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 1.0625rem; }
  .mobile-bar .call { background: var(--red-600); }
  .mobile-bar .wa { background: var(--whatsapp); }
  .mobile-bar .i { width: 20px; height: 20px; }
}
@media (max-width: 420px) {
  .topbar .phone-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .engrave .engrave-text { clip-path: none; }
  .engrave::after, .stars { display: none; }
  .seal-ring svg { animation: none; }
  [data-depth], .tilt { transform: none !important; }
}
