/* ==========================================================================
   Xtreme Impact Windows & Doors — main.css
   Brand: navy #010024 + gold #B9A665. Ported from the Next reference build.
   Vanilla CSS, zero dependencies (ATEMPORAL).
   ========================================================================== */

:root {
  --navy: #010024;
  --night: #030225;
  --card: #07052E;
  --muted-bg: #0B0935;
  --border: #1E1B45;
  --ivory: #EFEBDD;
  --muted: #A7A08C;
  --gold: #B9A665;
  --gold-bright: #CBB877;
  --gold-dark: #978759;

  --maxw: 1280px;
  --pad: 1.5rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-xtreme: cubic-bezier(.22, 1, .36, 1);
  --ease-panel: cubic-bezier(.76, 0, .24, 1);
  --glow: rgba(185, 166, 101, .16);
}

@media (min-width: 768px) { :root { --pad: 3rem; } }
@media (min-width: 1024px) { :root { --pad: 5rem; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }

/* Layout helpers ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.muted { color: var(--muted); }
.gold { color: var(--gold-bright); }
.eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 1rem; }
.center { text-align: center; }
.maxw-3 { max-width: 48rem; }
.maxw-4 { max-width: 56rem; }
.italic-light { font-style: italic; font-weight: 300; color: var(--gold-bright); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; border: none;
  transition: transform .3s ease, background .3s ease, opacity .3s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ivory); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Shine effect on gold buttons */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.shine:hover::after { left: 130%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 50; width: 92%; max-width: 52rem;
  background: rgba(1, 0, 36, .8); backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: rgba(14,63,126,.06) 0 0 0 1px, rgba(42,51,70,.05) 0 6px 6px -3px, rgba(14,63,126,.05) 0 12px 12px -6px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: .42rem .42rem .42rem 1.1rem; }
.header-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; }
.header-logo img { height: 2rem; width: auto; }
.header-nav { display: none; align-items: center; gap: 1.15rem; }
.header-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-family: var(--font-data); font-size: .7rem;
  line-height: 1; text-transform: uppercase; letter-spacing: .075em;
  transition: color .25s ease;
}
.header-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .22rem; height: 1px; background: var(--gold); transition: right .35s var(--ease-xtreme); }
.header-nav a:hover, .header-nav a.active { color: var(--ivory); }
.header-nav a:hover::after, .header-nav a.active::after { right: 0; }
.header-right { display: flex; align-items: center; gap: .55rem; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; font-size: 11px; font-weight: 500; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; min-height: 2rem; padding: .25rem .6rem; border-radius: 999px; color: var(--muted); transition: all .2s; }
.lang-switch a.active { background: var(--ivory); color: var(--navy); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; padding: 0;
  border: 1px solid rgba(239,235,221,.12); border-radius: 999px;
  background: rgba(239,235,221,.035); color: var(--ivory); cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .35s var(--ease-xtreme);
}
.menu-toggle:hover, .menu-toggle.is-open { background: rgba(185,166,101,.12); border-color: rgba(185,166,101,.48); }
.menu-toggle-lines { position: relative; display: block; width: .95rem; height: .5rem; }
.menu-toggle-lines i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: top .3s var(--ease-xtreme), transform .35s var(--ease-xtreme); }
.menu-toggle-lines i:first-child { top: 0; }
.menu-toggle-lines i:last-child { top: .42rem; }
.menu-toggle.is-open .menu-toggle-lines i:first-child { top: .2rem; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle-lines i:last-child { top: .2rem; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; padding: .5rem 1rem; }
}
@media (min-width: 768px) { .header-cta { display: inline-flex; padding: .5rem 1rem; } }

/* Compact navigation panel */
.mobile-menu {
  position: absolute; top: calc(100% + .6rem); left: 0; right: 0;
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-10px) scale(.985); transform-origin: top center;
  transition: opacity .25s ease, transform .4s var(--ease-xtreme), visibility .25s;
}
.mobile-menu.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.menu-panel {
  padding: 1.15rem; border: 1px solid rgba(239,235,221,.1); border-radius: 1.35rem;
  background: rgba(3,2,37,.97); backdrop-filter: blur(24px); box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.menu-panel-label {
  margin: 0 0 .65rem .25rem; color: var(--gold-bright); font-family: var(--font-data);
  font-size: .6rem; text-transform: uppercase; letter-spacing: .18em;
}
.menu-panel-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; }
.menu-panel-nav a {
  display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: .78rem .85rem;
  border: 1px solid transparent; border-radius: .8rem; background: rgba(239,235,221,.025);
  color: rgba(239,235,221,.82); font-size: .88rem; transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.menu-panel-nav a span { color: rgba(185,166,101,.6); font-size: .72rem; transition: transform .3s var(--ease-xtreme); }
.menu-panel-nav a:hover, .menu-panel-nav a.active { color: var(--ivory); background: rgba(185,166,101,.09); border-color: rgba(185,166,101,.2); }
.menu-panel-nav a:hover span { transform: translate(.15rem,-.15rem); }
.menu-panel-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .8rem; padding: .85rem .25rem 0; border-top: 1px solid var(--border);
  color: var(--muted); font-family: var(--font-data); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em;
}
.menu-panel-foot a { color: var(--gold-bright); white-space: nowrap; }

@media (max-width: 420px) {
  .menu-panel { padding: .85rem; }
  .menu-panel-nav a { padding: .72rem .68rem; font-size: .82rem; }
  .menu-panel-foot span { max-width: 9rem; }
}

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,0,36,.55) 0%, rgba(1,0,36,.35) 40%, rgba(1,0,36,.85) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 7rem var(--pad) 4rem; max-width: 64rem; }
.hero-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .25em; color: var(--gold-bright); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); font-weight: 500; letter-spacing: -0.03em; }
.hero-sub { margin: 1.75rem auto 0; max-width: 40rem; font-size: 1.125rem; color: rgba(239,235,221,.85); }
.hero-actions { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Wordmark decorative */
.hero-wordmark { position: absolute; bottom: -2vw; left: 50%; transform: translateX(-50%); font-size: 22vw; font-weight: 700; letter-spacing: -0.04em; color: rgba(185,166,101,.08); z-index: 1; pointer-events: none; white-space: nowrap; }

/* Generic section band ---------------------------------------------------- */
.band { position: relative; }
.band-dark { background: var(--night); }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
.h2 { font-size: clamp(1.9rem, 5vw, 3.75rem); font-weight: 500; }

/* Cards / grid ------------------------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.card .card-body { padding: 1.75rem; }
.card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.home-services { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--navy), #030229 58%, var(--navy)); }
.home-services::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, transparent, rgba(185,166,101,.38), transparent); }
.home-service-grid { margin-top: 2.5rem; }
.home-service-grid .card { position: relative; display: flex; min-width: 0; flex-direction: column; transition: transform .55s var(--ease-xtreme), border-color .35s ease, box-shadow .55s ease; }
.home-service-grid .card::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .55s var(--ease-xtreme); }
.home-service-grid .card-body { flex: 1; }
.home-service-media { aspect-ratio: 1; overflow: hidden; background: #f4f3ef; }
.home-service-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease-xtreme), filter .45s ease; }
.home-service-link { display: flex; align-items: center; gap: .4rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.home-service-link span { transition: transform .35s var(--ease-xtreme); }
.home-service-grid .card:hover, .home-service-grid .card:focus-visible { transform: translateY(-6px); border-color: rgba(185,166,101,.52); box-shadow: 0 22px 65px rgba(0,0,0,.24); }
.home-service-grid .card:hover::after, .home-service-grid .card:focus-visible::after { right: 0; }
.home-service-grid .card:hover .home-service-media img, .home-service-grid .card:focus-visible .home-service-media img { transform: scale(1.035); filter: saturate(1.04); }
.home-service-grid .card:hover .home-service-link span, .home-service-grid .card:focus-visible .home-service-link span { transform: translateX(.35rem); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2rem; text-align: center; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.stat .num { font-size: 2.5rem; font-weight: 500; color: var(--ivory); }
.stat .lbl { margin-top: .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* Blockquote (About authority) */
.pullquote { border-left: 2px solid var(--gold); padding-left: 1.5rem; margin: 2.5rem 0; }
.pullquote p { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 500; color: var(--ivory); line-height: 1.3; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; padding: 4rem var(--pad); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); padding: 5rem var(--pad); } }
.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 1; } }
.footer-brand img { height: 2.5rem; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 20rem; font-size: .875rem; color: var(--muted); }
.footer-col h2 { font-size: .875rem; color: var(--ivory); margin-bottom: 1rem; }
.footer-col li { margin-bottom: .75rem; }
.footer-col a, .footer-col li { font-size: .875rem; color: var(--muted); transition: color .2s; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2rem; }
.footer-col a:hover { color: var(--ivory); }
.footer-contact .phone { font-size: 1rem; font-weight: 500; color: var(--ivory); }
.footer-bottom { position: relative; border-top: 0; padding: 2rem var(--pad) 1.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, transparent, rgba(203,184,119,.62) 18%, rgba(203,184,119,.62) 82%, transparent); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: .75rem; color: var(--muted); }
.footer-bottom a { color: var(--ivory); }

/* WhatsApp widget --------------------------------------------------------- */
.wa-widget { position: fixed; bottom: max(1.5rem, env(safe-area-inset-bottom)); right: 1.5rem; z-index: 60; width: 3.5rem; height: 3.5rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .35s var(--ease-xtreme), opacity .25s ease, visibility .25s ease; }
.wa-widget:hover { transform: scale(1.08); }
.wa-widget svg { width: 1.75rem; height: 1.75rem; }
.wa-widget::before { content: ""; position: absolute; inset: -3px; border: 2px solid #25D366; border-radius: inherit; box-shadow: 0 0 18px 5px rgba(37,211,102,.6); pointer-events: none; animation: waGreenGlow 2.6s ease-in-out infinite; }
@keyframes waGreenGlow { 0%, 100% { opacity: .15; transform: scale(1); } 50% { opacity: .9; transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .wa-widget::before { animation: none; opacity: .4; } }
@media (max-width: 767px) {
  .wa-widget { right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); width: 3rem; height: 3rem; }
  .wa-widget svg { width: 1.45rem; height: 1.45rem; }
  .wa-widget.is-clear { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(calc(100% + 1.5rem)); }
}

/* Skip link / a11y */
.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .7rem 1rem;
  border-radius: 4px; background: var(--gold-bright); color: var(--navy); font-weight: 700;
  transform: translateY(calc(-100% - 1rem)); transition: transform .2s ease;
}
.skip:focus { transform: translateY(0); }
.prose ul { padding-left: 1.35rem; list-style: disc; }
.prose ol { padding-left: 1.35rem; list-style: decimal; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   SIGNATURE SCROLL EFFECTS (ported faithfully from the approved Next build)
   ========================================================================== */

/* ---- HERO scroll-expand ---- */
.hx-hero { position: relative; background: var(--navy); }
.hx-hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hx-scrollspace--hero { height: 140svh; }
.hx-hero-row { display: flex; height: 100%; width: 100%; align-items: stretch; justify-content: center; }
.hx-col { display: flex; flex-direction: row; height: 100%; will-change: transform, width, opacity; overflow: hidden; }
.hx-col-left { width: 0%; opacity: 0; transform: translateX(-100%); }
.hx-col-right { width: 0%; opacity: 0; transform: translateX(100%); }
.hx-col .hx-img { position: relative; height: 100%; flex: 1 1 0; overflow: hidden; }
.hx-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-img--window img { object-position: 50% 50%; }
.hx-img--install-portrait img { object-position: 50% 42%; }
.hx-img--install-wide img { object-position: 48% 50%; }
.hx-img--install-square img { object-position: 50% 56%; }
.hx-center { position: relative; width: 100%; height: 100%; flex: 0 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center; will-change: width; }
.hx-center-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 10; }
.hx-word { position: absolute; z-index: 0; white-space: nowrap; font-size: 35vw; font-weight: 700; line-height: .8; letter-spacing: -0.05em; color: #000; transform: translateY(-12vh); }
.hx-scrim { position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.30), transparent 45%, rgba(0,0,0,.75)); }
.hx-hero-tagline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 var(--pad) 3rem; text-align: center; pointer-events: none; }
.hx-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.96); padding: .35rem .75rem; margin-bottom: 1.25rem; border: 1px solid rgba(185,166,101,.34); box-shadow: 0 10px 35px rgba(0,0,0,.18); }
.hx-badge img { height: 1.5rem; width: auto; }
.hx-badge span { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; color: #000; }
.hx-hero-kicker { max-width: 40rem; margin: 0 auto 1rem; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.75); }
.hx-hero-statement { max-width: 46rem; margin: 0 auto; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.hx-hero-estimate {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 1.4rem; min-height: 3rem; max-width: 100%; gap: .75rem; pointer-events: auto;
  background: linear-gradient(135deg, #e2d194, var(--gold) 55%, #c8af5e);
  border: 1px solid rgba(255,239,182,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 24px rgba(0,0,0,.22);
  animation: heroEstimateGlow 4.8s ease-in-out infinite;
  transition: transform .3s var(--ease-xtreme), box-shadow .3s ease;
}
.hx-hero-estimate::after {
  content: ""; position: absolute; inset: -50% auto -50% -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: heroEstimateShine 4.8s ease-in-out infinite;
}
.hx-hero-estimate span { transition: transform .3s var(--ease-xtreme); }
.hx-hero-estimate:hover, .hx-hero-estimate:focus-visible { transform: translateY(-3px); }
.hx-hero-estimate:hover span, .hx-hero-estimate:focus-visible span { transform: translateX(4px); }
.hx-hero-estimate:focus-visible { outline: 2px solid var(--ivory); outline-offset: 5px; }
.hx-hero-estimate:active { transform: translateY(0) scale(.98); }
@keyframes heroEstimateGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 24px rgba(0,0,0,.22), 0 0 0 rgba(203,184,119,0); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 28px rgba(0,0,0,.26), 0 0 24px rgba(203,184,119,.38); }
}
@keyframes heroEstimateShine {
  0%, 48% { left: -70%; opacity: 0; }
  52% { opacity: 1; }
  77%, 100% { left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero-estimate, .hx-hero-estimate::after { animation: none; }
  .hx-hero-estimate::after { display: none; }
  .hx-hero-estimate:hover, .hx-hero-estimate:focus-visible, .hx-hero-estimate:active,
  .hx-hero-estimate:hover span, .hx-hero-estimate:focus-visible span { transform: none; }
}
.contact-form[id] { scroll-margin-top: 7rem; }
.hx-scroll-cue { display: flex; width: max-content; margin: 1.25rem auto 0; align-items: center; gap: .75rem; color: rgba(255,255,255,.7); font-family: var(--font-data); font-size: .58rem; text-transform: uppercase; letter-spacing: .18em; }
.hx-scroll-cue i { display: block; width: 2.5rem; height: 1px; overflow: hidden; background: rgba(255,255,255,.25); }
.hx-scroll-cue i::after { content: ""; display: block; width: 45%; height: 100%; background: var(--gold-bright); animation: homeCue 2.2s var(--ease-xtreme) infinite; }
.hx-hero-context { position: absolute; left: var(--pad); bottom: 1.5rem; z-index: 30; max-width: calc(100% - var(--pad) * 2); color: rgba(255,255,255,.72); opacity: 0; font-family: var(--font-data); font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; pointer-events: none; }
@keyframes homeCue { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(260%); } }

/* ---- PHILOSOPHY editorial sequence ---- */
.hx-phil { position: relative; height: 175svh; background: #000; }
.hx-phil-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; }
.hx-phil-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .2s linear; }
.hx-phil-bg[data-phil-bg="0"] { opacity: 1; }
.hx-phil-bg img { width: 100%; height: 100%; object-fit: cover; }
.hx-phil-dark { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 22%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.76) 100%); }
.hx-phil-copy { position: absolute; z-index: 10; left: 0; right: 0; bottom: clamp(3.5rem, 8vh, 6.5rem); padding: 0 var(--pad); }
.hx-phil-kicker { margin-bottom: .8rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .65rem; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .17em; }
.hx-phil-titles { position: relative; width: 100%; max-width: 58rem; min-height: clamp(4rem, 9vw, 7rem); }
.hx-phil-titles h2 { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; text-align: left; font-size: clamp(2rem, 4.5vw, 4.25rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; color: #fff; opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(8px); text-shadow: 0 3px 28px rgba(0,0,0,.52); will-change: transform, opacity, filter; }
.hx-phil-meta { display: flex; align-items: center; gap: .8rem; margin-top: .75rem; color: rgba(255,255,255,.66); font-family: var(--font-data); font-size: .6rem; letter-spacing: .12em; }
.hx-phil-meta i { display: block; width: min(14rem, 42vw); height: 1px; overflow: hidden; background: rgba(255,255,255,.25); }
.hx-phil-meta b { display: block; width: 100%; height: 100%; background: var(--gold-bright); transform-origin: left center; }
.hx-phil-desc { padding: 3rem var(--pad) 7rem; text-align: center; background: var(--navy); }
.hx-wordblur { max-width: 56rem; margin: 0 auto; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.4; color: var(--muted); }
.hx-wordblur span { display: inline; }

/* ---- TECHNOLOGY bento ---- */
.hx-tech { position: relative; background: var(--ivory); }
.hx-tech-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hx-scrollspace--tech { height: 220svh; }
.hx-tech-row { display: flex; height: 100%; width: 100%; align-items: stretch; justify-content: center; }
.hx-tech-side { width: 0%; opacity: 0; overflow: hidden; }
.hx-tech-side.hx-tech-left { transform: translateX(-100%); }
.hx-tech-side.hx-tech-right { transform: translateX(100%); }
.hx-tech-center { position: relative; width: 100%; height: 100%; flex: 0 0 auto; overflow: hidden; align-self: center; }
.hx-tech-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-tech-img[data-tech-img] { opacity: 0; transition: opacity .3s ease; }
.hx-tech-dark { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hx-tech-titles { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 1.5rem; text-align: center; }
.hx-tech-titles h2 { position: absolute; max-width: 48rem; font-size: clamp(2rem, 7vw, 5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.hx-tech-desc { position: relative; background: radial-gradient(circle at 78% 38%, rgba(185,166,101,.08), transparent 24rem), var(--navy); padding: 6rem var(--pad); }
.hx-tech-desc::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, transparent, rgba(203,184,119,.52), transparent); }
.hx-tech-desc .hx-wordblur { color: var(--ivory); font-weight: 500; text-align: left; }

/* ---- VIDEO ---- */
.hx-video { background: #000; line-height: 0; }
.hx-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.hx-video-frame::after { content: ""; position: absolute; inset: 45% 0 0; z-index: 1; background: linear-gradient(to bottom, transparent, rgba(1,0,36,.68)); pointer-events: none; }
.hx-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-video-caption { position: absolute; left: var(--pad); bottom: clamp(1rem, 3vw, 2.5rem); z-index: 2; max-width: min(34rem, calc(100% - var(--pad) * 2 - 8rem)); line-height: 1.2; }
.hx-video-caption span { display: block; margin-bottom: .65rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .62rem; text-transform: uppercase; letter-spacing: .15em; }
.hx-video-caption strong { display: block; color: #fff; font-size: clamp(1.4rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.hx-video-toggle { position: absolute; z-index: 3; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(1,0,36,.68); color: #fff; backdrop-filter: blur(12px); font-family: var(--font-data); font-size: .62rem; line-height: 1; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-xtreme); }
.hx-video-toggle:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(1,0,36,.9); }
.hx-video-icon { position: relative; display: inline-flex; width: .7rem; height: .8rem; align-items: stretch; justify-content: space-between; }
.hx-video-icon i { width: 2px; height: 100%; background: var(--gold-bright); transition: transform .3s var(--ease-xtreme), clip-path .3s ease; }
.hx-video-toggle.is-paused .hx-video-icon { justify-content: center; }
.hx-video-toggle.is-paused .hx-video-icon i:first-child { width: .75rem; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hx-video-toggle.is-paused .hx-video-icon i:last-child { display: none; }

/* ---- GALLERY stacking ---- */
.hx-gallery { position: relative; min-height: 240svh; background: var(--navy); }
.hx-gallery-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 1rem; }
.hx-gallery-bg { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; will-change: filter; }
.hx-gallery-bg::after { content: ""; position: absolute; inset: 0; background: rgba(1,0,36,.2); }
.hx-gallery-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hx-gallery-intro { position: absolute; z-index: 12; left: var(--pad); top: 50%; max-width: min(40rem, calc(100% - var(--pad) * 2)); transform: translateY(-50%); color: #fff; text-shadow: 0 3px 28px rgba(0,0,0,.48); pointer-events: none; will-change: opacity, transform; }
.hx-gallery-intro p { margin-bottom: .9rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.hx-gallery-intro h2 { font-size: clamp(2.25rem, 6vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.hx-gallery-stack { position: relative; z-index: 10; width: min(100%, 64rem, calc(78svh * 4 / 3)); aspect-ratio: 4/3; }
.hx-gallery-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; will-change: transform, opacity; }
.hx-gallery-card img { width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(239,235,221,.18); border-radius: .15rem; box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.hx-gallery-card--01 img { object-position: 50% 56%; }
.hx-gallery-card--02 img { object-position: 50% 50%; }
.hx-gallery-card--03 img { object-position: 50% 52%; }
.hx-gallery-link { position: absolute; z-index: 20; right: max(var(--pad), calc((100vw - var(--maxw))/2 + var(--pad))); bottom: clamp(1rem, 3vw, 2.5rem); display: inline-flex; visibility: hidden; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid rgba(239,235,221,.24); background: rgba(1,0,36,.72); color: var(--ivory); opacity: 0; pointer-events: none; transform: translateY(10px); backdrop-filter: blur(12px); font-family: var(--font-data); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; transition: opacity .4s ease, visibility .4s ease, border-color .3s ease, background .3s ease, transform .45s var(--ease-xtreme); }
.hx-gallery-link.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.hx-gallery-link:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(1,0,36,.92); }
.hx-gallery-link span { color: var(--gold-bright); }

/* ---- PRODUCT APPROVALS evidence panel ---- */
.hx-parallax { position: relative; width: 100%; height: clamp(34rem, 72svh, 48rem); overflow: hidden; background: #000; }
.hx-parallax::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1,0,36,.82) 0%, rgba(1,0,36,.58) 34%, rgba(1,0,36,.08) 68%), linear-gradient(180deg, transparent 48%, rgba(1,0,36,.52) 100%); pointer-events: none; }
.hx-parallax img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hx-parallax-content { position: absolute; z-index: 2; left: var(--pad); bottom: clamp(2.5rem, 6vh, 4.5rem); width: min(34rem, calc(100% - var(--pad) * 2)); color: #fff; }
.hx-parallax-kicker { margin-bottom: .85rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .65rem; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; }
.hx-parallax-content h3 { max-width: 33rem; font-size: clamp(2.15rem, 4.2vw, 3.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 3px 28px rgba(0,0,0,.38); }
.hx-parallax-answer { max-width: 31rem; margin-top: 1.15rem; color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.65; }
.hx-parallax-factors { margin-top: 1.1rem; color: rgba(255,255,255,.58); font-family: var(--font-data); font-size: .61rem; line-height: 1.6; text-transform: uppercase; letter-spacing: .12em; }
.hx-parallax-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(185,166,101,.62); color: #fff; font-family: var(--font-data); font-size: .67rem; font-weight: 500; text-transform: uppercase; letter-spacing: .11em; transition: color .3s ease, border-color .3s ease, gap .35s var(--ease-xtreme); }
.hx-parallax-link span { color: var(--gold-bright); }
.hx-parallax-link:hover { gap: .85rem; border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---- HOME EDITORIAL PROOF ---- */
.home-section-lead { margin-top: 1.5rem; }
.home-section-action { margin-top: 2rem; }
.home-about { position: relative; overflow: hidden; }
.home-about-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.home-about-media { position: relative; width: min(100%, 30rem); aspect-ratio: 4/5; overflow: hidden; border: 1px solid rgba(239,235,221,.14); background: var(--night); }
.home-about-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(185,166,101,.12); pointer-events: none; }
.home-about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; filter: saturate(.9) contrast(1.03); }
.home-about-mark { position: absolute; right: 0; bottom: 0; padding: .55rem .8rem; background: var(--gold); color: var(--navy); font-family: var(--font-data); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.home-about-copy { max-width: 41rem; }
.home-about-copy .pullquote { margin: 2rem 0; }
.home-reviews { position: relative; background: radial-gradient(circle at 18% 50%, rgba(185,166,101,.08), transparent 28rem), var(--navy); }
.home-review-shell { display: grid; border: 1px solid rgba(239,235,221,.12); background: rgba(7,5,46,.7); }
.home-review-score { display: flex; min-height: 21rem; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid rgba(239,235,221,.12); }
.home-review-score strong { display: block; color: var(--ivory); font-size: clamp(5rem, 13vw, 8.5rem); font-weight: 500; line-height: .82; letter-spacing: -.07em; }
.home-review-stars { margin-top: 1.5rem; color: var(--gold-bright); font-size: 1rem; letter-spacing: .25em; }
.home-review-score > span { margin-top: .65rem; color: var(--muted); font-family: var(--font-data); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.home-review-quote { display: flex; min-height: 21rem; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); }
.home-review-quote p { max-width: 36rem; color: var(--ivory); font-size: clamp(1.65rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.home-review-quote cite { margin-top: 1.5rem; color: var(--muted); font-family: var(--font-data); font-size: .68rem; font-style: normal; text-transform: uppercase; letter-spacing: .12em; }
.home-review-link { display: flex; width: max-content; align-items: center; gap: .45rem; margin-top: 2rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.home-review-link span { transition: transform .35s var(--ease-xtreme); }
.home-review-link:hover span { transform: translateX(.35rem); }

/* ---- FINAL CTA ---- */
.hx-cta { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.hx-cta-bg { position: absolute; inset: 0; z-index: 0; }
.hx-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.hx-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,0,36,.55), rgba(1,0,36,.85)); }
.hx-cta-inner { position: relative; z-index: 2; padding: 4rem var(--pad); max-width: 48rem; }

@media (min-width: 768px) {
  .home-about-grid { grid-template-columns: minmax(16rem, .82fr) minmax(0, 1.18fr); }
  .home-review-shell { grid-template-columns: .7fr 1.3fr; }
  .home-review-score { border-right: 1px solid rgba(239,235,221,.12); border-bottom: 0; }
}

@media (max-width: 767px) {
  .hx-hero-statement { font-size: clamp(1.9rem, 9vw, 2.75rem); }
  .hx-hero-tagline { padding-bottom: 1.75rem; }
  .hx-hero-estimate { margin-top: 1rem; padding: .85rem 1.1rem; font-size: .72rem; letter-spacing: .07em; }
  .hx-hero-context { left: var(--pad); right: var(--pad); bottom: .85rem; text-align: center; font-size: .54rem; }
  .hx-badge { margin-bottom: .85rem; }
  .hx-badge span { max-width: 12rem; line-height: 1.25; text-align: left; }
  .hx-scroll-cue { margin-top: .85rem; }
  .hx-scrollspace--hero { height: 108svh; }
  .hx-col-left .hx-img:first-child, .hx-col-right .hx-img:first-child { display: none; }
  .hx-phil { height: 160svh; }
  .hx-phil-copy { bottom: 3rem; }
  .hx-phil-titles { min-height: 7.5rem; }
  .hx-phil-titles h2 { font-size: clamp(2rem, 10vw, 3.15rem); }
  .hx-scrollspace--tech { height: 165svh; }
  .hx-tech-titles h2 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hx-tech-desc { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .hx-video-frame { aspect-ratio: 4/3; }
  .hx-video-caption { left: var(--pad); right: var(--pad); bottom: 4.4rem; max-width: none; }
  .hx-video-caption strong { font-size: clamp(1.25rem, 6vw, 1.8rem); }
  .hx-video-toggle { right: .8rem; bottom: .8rem; }
  .hx-gallery { min-height: 190svh; }
  .hx-gallery-sticky { padding-inline: var(--pad); }
  .hx-gallery-stack { width: 100%; aspect-ratio: 4/3; }
  .hx-gallery-intro { max-width: calc(100% - var(--pad) * 2); }
  .hx-gallery-intro h2 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hx-gallery-link { right: var(--pad); bottom: 1rem; }
  .hx-parallax { height: clamp(38rem, 76svh, 44rem); }
  .hx-parallax::after { background: linear-gradient(180deg, rgba(1,0,36,.04) 22%, rgba(1,0,36,.82) 72%, rgba(1,0,36,.94) 100%); }
  .hx-parallax img { object-position: 53% center; }
  .hx-parallax-content { bottom: 2rem; }
  .hx-parallax-content h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .hx-parallax-answer { font-size: .94rem; line-height: 1.55; }
  .home-about-media { width: 100%; aspect-ratio: 4/5; }
  .home-review-score, .home-review-quote { min-height: auto; }
  .home-review-score { padding-block: 3rem; }
  .home-review-quote { padding-block: 3.5rem; }
  .hx-cta { min-height: 78svh; }
  .hx-cta-bg img { object-position: 58% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-hero-sticky, .hx-phil-sticky, .hx-tech-sticky, .hx-gallery-sticky { position: relative; height: 75svh; min-height: 28rem; }
  .hx-scrollspace { display: none; }
  .hx-phil, .hx-tech, .hx-gallery { height: auto !important; min-height: 0 !important; }
  .hx-col-left, .hx-col-right, .hx-tech-side { display: none; }
  .hx-center, .hx-tech-center { width: 100% !important; }
  .hx-phil-titles h2:not([data-phil-title="2"]), .hx-tech-titles h2:not([data-tech-cycle="2"]),
  .hx-tech-img:not([data-tech-img="2"]), .hx-phil-meta, .hx-gallery-stack { display: none; }
  .hx-phil-titles h2[data-phil-title="2"], .hx-tech-titles h2[data-tech-cycle="2"],
  .hx-tech-img[data-tech-img="2"] { opacity: 1; transform: none; filter: none; }
  .hx-phil-meta b { width: 100% !important; }
  .hx-gallery-card[data-gallery-card="2"] { opacity: 1; }
  .hx-gallery-link { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .hx-hero-context { opacity: 1 !important; transform: none !important; }
  .hx-gallery-intro { opacity: 1 !important; transform: translateY(-50%) !important; }
  .hx-scroll-cue i::after { animation: none; transform: none; width: 100%; }
  .hx-wordblur span { opacity: 1 !important; filter: none !important; }
}

/* ==========================================================================
   BLOG / ARTICLE
   ========================================================================== */
.post-hero { position: relative; padding: 9rem 0 3rem; overflow: hidden; }
.post-hero-bg { position: absolute; inset: 0; z-index: 0; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,0,36,.82), rgba(1,0,36,.92)); }
.post-hero-inner { position: relative; z-index: 2; }
.post-crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-crumbs a { color: var(--muted); } .post-crumbs a:hover { color: var(--gold-bright); }
.post-crumbs span { margin: 0 .5rem; }
.post-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold-bright); margin-bottom: 1rem; }
.post-hero h1 { font-size: clamp(1.9rem, 5vw, 3.25rem); font-weight: 600; letter-spacing: -0.02em; max-width: 52rem; }
.post-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .85rem; color: var(--muted); }

.post-body { max-width: 46rem; padding-top: 3rem; padding-bottom: 5rem; }

.post-answer { border: 1px solid var(--border); border-left: 3px solid var(--gold); background: var(--card); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.post-answer-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-bright); margin-bottom: .6rem; }
.post-answer p:last-child { font-size: 1.05rem; color: var(--ivory); line-height: 1.6; }
.post-resource {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center;
  margin-bottom: 3rem; padding: 1.5rem 1.75rem; border: 1px solid rgba(185,166,101,.34);
  background: linear-gradient(120deg, rgba(185,166,101,.1), rgba(7,5,46,.74) 58%);
}
.post-resource-label {
  margin-bottom: .45rem; color: var(--gold-bright); font-family: var(--font-data);
  font-size: .66rem; text-transform: uppercase; letter-spacing: .16em;
}
.post-resource h2 { color: var(--ivory); font-size: 1.28rem; font-weight: 600; line-height: 1.2; }
.post-resource-copy > p:last-child { max-width: 35rem; margin-top: .55rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.post-resource-action {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 3.25rem; padding: .75rem 1rem;
  border: 1px solid rgba(239,235,221,.24); color: var(--ivory); font-family: var(--font-data);
  font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, transform .35s var(--ease-xtreme);
}
.post-resource-action span { color: var(--gold-bright); font-size: .58rem; letter-spacing: .13em; }
.post-resource-action i { color: var(--gold-bright); font-size: .9rem; font-style: normal; transition: transform .25s ease; }
.post-resource-action:hover, .post-resource-action:focus-visible { background: rgba(185,166,101,.11); border-color: var(--gold); transform: translateY(-2px); }
.post-resource-action:hover i { transform: translateY(3px); }
.post-resource-action:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
/* Prose */
.prose { font-size: 1.06rem; line-height: 1.75; color: #D9D4C4; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; color: var(--ivory); margin-top: 3rem; letter-spacing: -0.01em; }
.prose h2[id] { scroll-margin-top: 7rem; }
.prose h3 { font-size: 1.2rem; font-weight: 600; color: var(--ivory); margin-top: 2rem; }
.prose a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-top: .5rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote { border-left: 2px solid var(--gold); padding-left: 1.25rem; font-style: italic; color: var(--ivory); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--gold-bright); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.prose td { color: #D9D4C4; }
.prose tr td:first-child { color: var(--ivory); font-weight: 500; }

/* Topic-cluster handoff: each guide returns authority to the buying hub and
   offers the next useful decisions without turning the article into a link list. */
.post-related { margin-top: 3.5rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid rgba(185,166,101,.28); background: linear-gradient(135deg, rgba(185,166,101,.08), rgba(7,5,46,.62)); }
.post-related-head { max-width: 36rem; }
.post-related-label { margin-bottom: .45rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .62rem; text-transform: uppercase; letter-spacing: .16em; }
.post-related h2 { color: var(--ivory); font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 500; }
.post-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.post-related-grid a { position: relative; display: flex; min-width: 0; min-height: 10rem; flex-direction: column; padding: 1.25rem; border-right: 1px solid var(--border); transition: background .25s ease; }
.post-related-grid a:last-child { border-right: 0; }
.post-related-grid a:hover, .post-related-grid a:focus-visible { background: rgba(185,166,101,.08); }
.post-related-grid span { color: var(--muted); font-family: var(--font-data); font-size: .56rem; text-transform: uppercase; letter-spacing: .11em; }
.post-related-grid strong { margin-top: .65rem; color: var(--ivory); font-size: .9rem; font-weight: 500; line-height: 1.4; }
.post-related-grid i { margin-top: auto; color: var(--gold-bright); font-style: normal; }
.post-related-service { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.post-related-service:hover, .post-related-service:focus-visible { color: var(--ivory); }

@media (max-width: 680px) {
  .prose table { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .prose th, .prose td { min-width: 9.5rem; }
  .prose th:first-child, .prose td:first-child { min-width: 8rem; }
}

/* FAQ */
.post-faq { margin-top: 3.5rem; }
.post-faq > h2 { font-size: 1.6rem; font-weight: 600; color: var(--ivory); margin-bottom: 1.25rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-item summary { cursor: pointer; font-weight: 500; color: var(--ivory); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { margin-top: .8rem; color: var(--muted); line-height: 1.7; }
.faq-a a { color: var(--gold-bright); }

/* Post CTA */
.post-cta { margin-top: 3.5rem; padding: 2.5rem; background: var(--night); border: 1px solid var(--border); text-align: center; }
.post-cta h2 { font-size: 1.5rem; font-weight: 600; color: var(--ivory); }
.post-cta p { margin: 1rem auto 1.75rem; max-width: 34rem; color: var(--muted); }
.post-cta .hero-actions { margin-top: 0; }

/* Service CTAs keep a single, disciplined row on narrow screens. */
.service-cta-label-compact { display: none; }
.service-model-jump {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.15rem;
  color: rgba(239,235,221,.7); font-family: var(--font-data); font-size: .66rem;
  line-height: 1; text-transform: uppercase; letter-spacing: .13em;
  transition: color .22s ease, transform .22s ease;
}
.service-model-jump::before { content: ""; width: 1.8rem; height: 1px; background: rgba(210,191,111,.72); }
.service-model-jump i { color: var(--gold-bright); font-style: normal; font-size: .85rem; transition: transform .22s ease; }
.service-model-jump:hover, .service-model-jump:focus-visible { color: var(--ivory); transform: translateX(2px); }
.service-model-jump:hover i, .service-model-jump:focus-visible i { transform: translateY(3px); }
.service-model-jump:focus-visible { outline: 2px solid var(--ivory); outline-offset: 5px; }

@media (max-width: 540px) {
  .service-cta-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 21rem;
    gap: .65rem;
  }
  .post-cta .service-cta-actions { margin-left: auto; margin-right: auto; }
  .service-cta-actions .btn { min-width: 0; padding: .78rem .85rem; font-size: .72rem; white-space: nowrap; }
  .service-cta-label-full { display: none; }
  .service-cta-label-compact { display: inline; }
}

/* ========================================================================== 
   SERVICE PAGES
   ========================================================================== */
.svc-features { margin-top: 3.5rem; }
.svc-features > h2 { font-size: 1.6rem; font-weight: 600; color: var(--ivory); margin-bottom: 1.5rem; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-card { background: var(--card); border: 1px solid var(--border); border-top: 2px solid var(--gold); padding: 1.5rem; }
.svc-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--ivory); margin-bottom: .5rem; }
.svc-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

.svc-proof { margin-top: 3.5rem; padding: 2rem; border: 1px solid var(--border); background: var(--night); }
.svc-proof-head { display: grid; gap: 2rem; }
.svc-proof-copy > h2 { font-size: 1.5rem; font-weight: 600; color: var(--ivory); margin: .3rem 0 .8rem; }
.svc-proof-copy > .muted { max-width: 38rem; }
.svc-proof-check {
  position: relative; overflow: hidden; padding: 1.25rem 1.35rem; border: 1px solid rgba(239,235,221,.11); border-left: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(189,169,91,.085), rgba(239,235,221,.018));
}
.svc-proof-check > span { display: block; margin-bottom: .55rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; }
.svc-proof-check p { max-width: 34rem; color: rgba(239,235,221,.72); font-size: .82rem; line-height: 1.55; }
.svc-proof-check a { display: inline-flex; align-items: center; gap: .42rem; margin-top: .8rem; color: var(--ivory); font-family: var(--font-data); font-size: .61rem; text-transform: uppercase; letter-spacing: .1em; }
.svc-proof-check a i { color: var(--gold-bright); font-style: normal; font-size: .82rem; transition: transform .22s ease; }
.svc-proof-check a:hover, .svc-proof-check a:focus-visible { color: var(--gold-bright); }
.svc-proof-check a:hover i, .svc-proof-check a:focus-visible i { transform: translateX(3px); }
.svc-proof-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.svc-proof-product { min-width: 0; border: 1px solid rgba(239,235,221,.1); background: linear-gradient(145deg, rgba(239,235,221,.07), rgba(239,235,221,.025)); }
.svc-proof-product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #010024; isolation: isolate; }
.svc-proof-product-media picture { display: block; width: 100%; height: 100%; }
.svc-proof-product-media img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.24));
}
.svc-proof-product-media.is-motion-light-sweep::after {
  content: ""; position: absolute; z-index: 2; width: 26%; height: 148%; left: -48%; top: -24%;
  pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent 0%, rgba(194,213,255,.05) 20%, rgba(242,247,255,.38) 48%, rgba(181,202,255,.08) 74%, transparent 100%);
  transform: translate3d(0,0,0) skewX(-16deg); will-change: transform, opacity;
  animation: svcRenderLightSweep 6.8s cubic-bezier(.4,0,.2,1) infinite;
}
.svc-proof-product:nth-child(2) .svc-proof-product-media::after { animation-delay: -2.25s; }
.svc-proof-product:nth-child(3) .svc-proof-product-media::after { animation-delay: -4.5s; }
@keyframes svcRenderLightSweep {
  0%, 18% { transform: translate3d(0,0,0) skewX(-16deg); opacity: 0; }
  25% { opacity: .48; }
  57% { transform: translate3d(610%,0,0) skewX(-16deg); opacity: .34; }
  66%, 100% { transform: translate3d(610%,0,0) skewX(-16deg); opacity: 0; }
}
.svc-proof-product figcaption { display: flex; flex-direction: column; min-height: 3.6rem; padding: .65rem .7rem; border-top: 1px solid rgba(239,235,221,.08); }
.svc-proof-product figcaption strong { color: var(--gold-bright); font-family: var(--font-data); font-size: .68rem; letter-spacing: .08em; }
.svc-proof-product figcaption span { margin-top: .18rem; color: rgba(239,235,221,.68); font-size: .72rem; line-height: 1.35; }
.svc-proof-source { display: inline-flex; align-items: center; min-height: 2rem; gap: .35rem; margin-top: .85rem; color: rgba(239,235,221,.58); font-family: var(--font-data); font-size: .6rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; transition: color .25s ease; }
.svc-proof-source:hover { color: var(--gold-bright); }

.svc-model-browser { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(239,235,221,.1); scroll-margin-top: 7rem; }
.svc-model-browser-head { margin-bottom: 1.15rem; }
.svc-model-browser-head h3 { margin: .25rem 0 .35rem; color: var(--ivory); font-size: 1.22rem; font-weight: 600; }
.svc-model-browser-head > div:first-child > p:last-child { max-width: 38rem; color: rgba(239,235,221,.6); font-size: .82rem; line-height: 1.5; }
.svc-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.svc-model-browser.is-compact .svc-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-model-card {
  display: flex; flex-direction: column; min-width: 0; padding: .65rem .65rem .75rem; border: 1px solid rgba(239,235,221,.1);
  background: linear-gradient(150deg, rgba(239,235,221,.065), rgba(239,235,221,.018));
  transition: transform .28s ease, border-color .28s ease, background-color .28s ease;
}
.svc-model-card:hover { transform: translateY(-2px); border-color: rgba(189,169,91,.46); background-color: rgba(239,235,221,.035); }
.svc-model-mark {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin-bottom: .85rem; overflow: hidden;
  padding: .2rem; background: linear-gradient(145deg, #060331, #010024 78%); border-bottom: 1px solid rgba(239,235,221,.08);
}
.svc-model-mark img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  filter: drop-shadow(0 9px 12px rgba(0,0,0,.34));
}
.svc-model-mark::after {
  content: ""; position: absolute; z-index: 2; top: -24%; left: -48%; width: var(--model-sweep-width, 21%); height: 148%;
  pointer-events: none; opacity: 0; mix-blend-mode: screen; will-change: transform, opacity;
  background: linear-gradient(102deg,
    transparent 0%,
    rgba(194,213,255,.025) 26%,
    rgba(224,236,255,.2) 43%,
    rgba(250,252,255,.72) 50%,
    rgba(193,215,255,.14) 61%,
    transparent 100%);
  transform: translate3d(0,0,0) skewX(var(--model-sweep-angle, -16deg));
}
.svc-model-mark.is-light-swept::after {
  animation: svcModelLightSweep var(--model-sweep-duration, 11.5s) cubic-bezier(.42,0,.26,1) infinite;
  animation-delay: var(--model-sweep-delay, 0s);
}
@keyframes svcModelLightSweep {
  0%, 8% {
    transform: translate3d(0,0,0) skewX(var(--model-sweep-angle, -16deg));
    opacity: 0;
  }
  10% { opacity: var(--model-sweep-opacity, .24); }
  23% {
    transform: translate3d(700%,0,0) skewX(var(--model-sweep-angle, -16deg));
    opacity: var(--model-sweep-opacity, .24);
  }
  27%, 100% {
    transform: translate3d(700%,0,0) skewX(var(--model-sweep-angle, -16deg));
    opacity: 0;
  }
}
.svc-model-series { color: var(--gold-bright); font-family: var(--font-data); font-size: .66rem; letter-spacing: .1em; }
.svc-model-card h4 { margin: .28rem 0 .42rem; color: var(--ivory); font-size: .92rem; font-weight: 600; line-height: 1.25; }
.svc-model-note { color: rgba(239,235,221,.56); font-size: .72rem; line-height: 1.42; }
.svc-model-actions {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: .65rem;
  margin-top: auto; padding-top: .72rem; border-top: 1px solid rgba(239,235,221,.1);
}
.svc-model-docs { display: grid; align-content: center; min-width: 0; gap: .42rem; }
.svc-model-pdf {
  display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 2rem; gap: .36rem;
  color: rgba(239,235,221,.7); font-family: var(--font-data);
  font-size: .58rem; line-height: 1; text-transform: uppercase; letter-spacing: .07em;
  transition: color .22s ease, border-color .22s ease;
}
.svc-model-pdf-action { display: inline-flex; align-items: center; gap: .42rem; white-space: nowrap; }
.svc-model-pdf-action span { font-size: .54rem; }
.svc-model-pdf-action b {
  display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.35rem; padding: 0 .28rem; border-radius: 2px;
  color: var(--navy); background: var(--gold); font-size: .52rem; letter-spacing: .04em;
}
.svc-model-pdf-ref { overflow: hidden; color: rgba(239,235,221,.62); font-size: .62rem; white-space: nowrap; text-overflow: ellipsis; transition: color .22s ease; }
.svc-model-pdf-ref i { margin-left: .18rem; color: var(--gold-bright); font-style: normal; font-size: .72rem; }
.svc-model-pdf:hover, .svc-model-pdf:focus-visible { color: var(--ivory); border-color: rgba(189,169,91,.58); }
.svc-model-pdf:hover .svc-model-pdf-ref, .svc-model-pdf:focus-visible .svc-model-pdf-ref { color: var(--gold-bright); }
.svc-model-source {
  display: inline-flex; align-items: center; min-height: 2rem; width: max-content; max-width: 100%; color: rgba(239,235,221,.62); font-family: var(--font-data);
  font-size: .62rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .075em;
  transition: color .22s ease;
}
.svc-model-source i { color: var(--gold-bright); font-style: normal; }
.svc-model-source:hover, .svc-model-source:focus-visible { color: var(--ivory); }
.svc-model-quote {
  display: inline-flex; align-self: end; align-items: center; justify-content: center; gap: .42rem;
  min-width: 4.7rem; min-height: 2.25rem; padding: .52rem .68rem; white-space: nowrap;
  border: 1px solid rgba(210,191,111,.78); background: linear-gradient(135deg, #d6c275, #bda95b); color: var(--navy);
  font-family: var(--font-data); font-size: .56rem; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .09em;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.svc-model-quote i { font-style: normal; font-size: .78rem; transition: transform .24s ease; }
.svc-model-quote:hover, .svc-model-quote:focus-visible { transform: translateY(-1px); border-color: var(--gold-bright); background: var(--gold-bright); box-shadow: 0 8px 24px rgba(189,169,91,.16); }
.svc-model-quote:hover i, .svc-model-quote:focus-visible i { transform: translateX(2px); }
.svc-model-quote:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
@media (min-width: 840px) {
  .svc-proof-head.has-visual { grid-template-columns: minmax(0,.85fr) minmax(27rem,1.35fr); align-items: center; }
  .svc-proof-head.has-check { grid-template-columns: minmax(0,1fr) minmax(20rem,.82fr); align-items: center; }
  .svc-model-card:last-child:nth-child(3n + 1) { grid-column: 2; }
  .svc-model-browser.is-compact .svc-model-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .svc-model-browser.is-compact .svc-model-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .375rem); justify-self: center; }
}
@media (max-width: 839px) {
  .svc-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 579px) {
  .svc-model-grid,
  .svc-model-browser.is-compact .svc-model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .svc-proof { padding: 1.35rem; }
  .svc-proof-product-grid { gap: .4rem; }
  .svc-proof-product figcaption { min-height: 3.35rem; padding: .55rem .48rem; }
  .svc-proof-product figcaption strong { font-size: .6rem; }
  .svc-proof-product figcaption span { font-size: .64rem; }
  .svc-model-browser { margin-top: 1.55rem; padding-top: 1.35rem; }
  .svc-model-browser-head h3 { font-size: 1.02rem; }
  .svc-model-browser-head > div:first-child > p:last-child { font-size: .76rem; }
}
.doc-list { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 640px) { .doc-list { grid-template-columns: repeat(2, 1fr); } }
.doc-list a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 1px solid var(--border); background: var(--card); font-size: .88rem; color: #D9D4C4; transition: border-color .2s, color .2s; }
.doc-list a:hover { border-color: var(--gold); color: var(--ivory); }
.doc-ico { font-size: .62rem; font-weight: 700; letter-spacing: .05em; color: var(--navy); background: var(--gold); padding: .2rem .35rem; border-radius: 3px; flex-shrink: 0; }

.svc-project-note {
  position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center; margin-top: 2rem; padding: clamp(1.5rem,3vw,2.2rem);
  border: 1px solid rgba(239,235,221,.13); border-left: 3px solid var(--gold);
  background: radial-gradient(circle at 88% 18%, rgba(189,169,91,.13), transparent 30%), linear-gradient(145deg, rgba(239,235,221,.055), rgba(239,235,221,.018));
}
.svc-project-note::after { content: ""; position: absolute; right: -5rem; bottom: -7rem; width: 16rem; aspect-ratio: 1; border: 1px solid rgba(189,169,91,.1); transform: rotate(45deg); pointer-events: none; }
.svc-project-note-copy { position: relative; z-index: 1; max-width: 46rem; }
.svc-project-note h2 { margin: .3rem 0 .65rem; color: var(--ivory); font-size: clamp(1.3rem,2.5vw,1.8rem); font-weight: 600; line-height: 1.15; }
.svc-project-note-copy > p:last-of-type { color: rgba(239,235,221,.68); font-size: .9rem; line-height: 1.62; }
.svc-project-note ul { display: grid; gap: .45rem; margin-top: 1rem; }
.svc-project-note li { position: relative; padding-left: 1.05rem; color: rgba(239,235,221,.64); font-size: .78rem; line-height: 1.45; }
.svc-project-note li::before { content: ""; position: absolute; left: 0; top: .52em; width: .35rem; height: .35rem; border: 1px solid var(--gold-bright); transform: rotate(45deg); }
.svc-project-note .btn { position: relative; z-index: 1; justify-self: start; white-space: nowrap; }
@media (min-width: 760px) {
  .svc-project-note { grid-template-columns: minmax(0,1fr) auto; }
  .svc-project-note .btn { justify-self: end; }
}

.svc-cross { margin-top: 2.5rem; padding: 1.75rem 2rem; border: 1px solid var(--border); border-left: 3px solid var(--gold); display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
@media (min-width: 700px) { .svc-cross { flex-direction: row; align-items: center; justify-content: space-between; } }
.svc-cross h3 { font-size: 1.15rem; font-weight: 600; color: var(--ivory); margin-bottom: .4rem; }
.svc-cross .btn { flex-shrink: 0; }

/* ==========================================================================
   GALLERY + LIGHTBOX
   ========================================================================== */
.gallery-grid { column-count: 1; column-gap: 1rem; }
@media (min-width: 560px) { .gallery-grid { column-count: 2; } }
@media (min-width: 900px) { .gallery-grid { column-count: 3; } }
.gallery-item { display: block; margin-bottom: 1rem; break-inside: avoid; position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--border); cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.04); opacity: .92; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(1,0,20,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--border); color: var(--ivory); cursor: pointer; width: 3rem; height: 3rem; border-radius: 999px; font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(185,166,101,.2); border-color: var(--gold); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 560px) { .lightbox-nav { top: auto; bottom: 1.25rem; transform: none; } .lightbox-prev { left: 30%; } .lightbox-next { right: 30%; } }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.review-stage { background: linear-gradient(180deg, var(--navy), var(--night)); }
.review-source { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem clamp(2rem,5vw,5rem); align-items: center; padding: clamp(1.75rem,4vw,3rem); border: 1px solid var(--border); border-left: 2px solid var(--gold); background: linear-gradient(135deg, rgba(185,166,101,.08), rgba(7,5,46,.6)); box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.review-source-copy { max-width: 42rem; }
.review-source-label { margin-bottom: .6rem; color: var(--gold-bright); font-family: var(--font-data); font-size: .63rem; text-transform: uppercase; letter-spacing: .16em; }
.review-source-copy h2 { color: var(--ivory); font-size: clamp(1.75rem,3vw,2.65rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.review-source-copy > p:last-child { max-width: 39rem; margin-top: .8rem; color: var(--muted); line-height: 1.7; }
.review-source-score { display: grid; min-width: 10rem; justify-items: center; padding-left: clamp(1.5rem,4vw,3.5rem); border-left: 1px solid var(--border); }
.review-source-score strong { color: var(--ivory); font-size: clamp(3.5rem,6vw,5.5rem); font-weight: 500; line-height: .92; letter-spacing: -.06em; }
.review-source-score span { margin-top: .55rem; color: var(--gold-bright); letter-spacing: .12em; }
.review-source-score small { margin-top: .55rem; color: var(--muted); font-family: var(--font-data); font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; }
.review-source-link { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--ivory); font-family: var(--font-data); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; transition: color .25s ease, padding .35s var(--ease-xtreme); }
.review-source-link:hover, .review-source-link:focus-visible { padding-left: .55rem; color: var(--gold-bright); }
.review-source-link:focus-visible, .review-card-footer a:focus-visible, .review-phone:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: clamp(2.5rem,5vw,4.5rem); }
.review-card { position: relative; display: flex; min-height: 23rem; flex-direction: column; overflow: hidden; padding: clamp(1.4rem,2.5vw,2rem); border: 1px solid var(--border); background: rgba(7,5,46,.62); transition: transform .45s var(--ease-xtreme), border-color .3s ease, background .3s ease; }
.review-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4.5rem; height: 2px; background: var(--gold); transition: width .5s var(--ease-xtreme); }
.review-card:hover { transform: translateY(-5px); border-color: rgba(185,166,101,.46); background: rgba(11,8,59,.8); }
.review-card:hover::before { width: 100%; }
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-family: var(--font-data); font-size: .59rem; text-transform: uppercase; letter-spacing: .13em; }
.review-card-stars { margin-top: 2rem; color: var(--gold-bright); letter-spacing: .13em; }
.review-card blockquote { margin: 1.1rem 0 2rem; }
.review-card blockquote p { color: var(--ivory); font-size: clamp(1.2rem,2vw,1.55rem); line-height: 1.45; letter-spacing: -.015em; text-wrap: balance; }
.review-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.review-card-footer cite { color: var(--ivory); font-style: normal; font-weight: 600; }
.review-card-footer a { color: var(--gold-bright); font-family: var(--font-data); font-size: .59rem; text-transform: uppercase; letter-spacing: .1em; }
.review-translation-note, .review-freshness { color: rgba(239,235,221,.62); font-family: var(--font-data); font-size: .64rem; line-height: 1.55; letter-spacing: .04em; }
.review-translation-note { margin-top: .8rem; }
.review-freshness { margin-top: 1.25rem; text-align: right; }
.review-proof-bridge > .container { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(2rem,7vw,7rem); align-items: end; }
.review-proof-copy { max-width: 45rem; }
.review-proof-copy h2 { margin-top: .7rem; color: var(--ivory); font-size: clamp(2.1rem,4vw,3.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.review-proof-copy > p:last-child { max-width: 38rem; margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.review-proof-actions { display: flex; min-width: min(100%,18rem); flex-direction: column; gap: .75rem; }
.review-proof-actions .btn { width: 100%; }
.review-phone { align-self: center; padding: .45rem; color: var(--ivory); font-family: var(--font-data); font-size: .68rem; letter-spacing: .11em; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } .review-card { min-height: 0; } .review-proof-bridge > .container { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 640px) { .review-source { grid-template-columns: 1fr; gap: 1.5rem; } .review-source-score { min-width: 0; justify-items: start; padding: 1.25rem 0 0; border-top: 1px solid var(--border); border-left: 0; } .review-source-link { margin-top: .25rem; } .review-card-footer { align-items: flex-start; flex-direction: column; } .review-freshness { text-align: left; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.contact-wrap > * { min-width: 0; }
@media (min-width: 860px) { .contact-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.contact-methods { display: flex; flex-direction: column; gap: .75rem; }
.contact-method { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); background: var(--card); transition: border-color .2s; }
a.contact-method:hover { border-color: var(--gold); }
.cm-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold-bright); }
.cm-value { font-size: 1.05rem; color: var(--ivory); }
.contact-hours .cm-value { font-size: .95rem; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border: 1px solid var(--border); background: var(--night); }
.contact-form-title { margin: 0; color: var(--gold-bright); font-family: var(--font-data); font-size: .72rem; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .17em; }
.contact-form-instructions { margin-top: -.45rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .76rem; line-height: 1.5; }
.contact-quote-context {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: .22rem .8rem;
  padding: 1rem 1.05rem; border: 1px solid rgba(189,169,91,.34); border-left: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(189,169,91,.1), rgba(239,235,221,.025));
}
.contact-quote-context[hidden] { display: none; }
.contact-quote-kicker { grid-column: 1 / -1; color: var(--gold-bright); font-family: var(--font-data); font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; }
.contact-quote-context strong { color: var(--ivory); font-size: 1rem; font-weight: 600; }
.contact-quote-context > span:not(.contact-quote-kicker) { color: rgba(239,235,221,.68); font-size: .76rem; line-height: 1.4; }
.contact-quote-context small { grid-column: 1 / -1; color: rgba(239,235,221,.55); font-size: .68rem; line-height: 1.45; }
@media (max-width: 519px) {
  .contact-quote-context { grid-template-columns: minmax(0, 1fr); }
  .contact-quote-context strong, .contact-quote-context > span { overflow-wrap: anywhere; }
}
.cf-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 520px) { .cf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form label { display: flex; min-width: 0; flex-direction: column; gap: .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; max-width: 100%; background: var(--navy); border: 1px solid var(--border); color: var(--ivory); padding: .7rem .8rem; font-family: inherit; font-size: 1rem; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.cf-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; text-transform: none !important; letter-spacing: 0 !important; font-size: .78rem !important; line-height: 1.5; color: var(--muted); }
.cf-consent input { width: auto; flex-shrink: 0; margin-top: .15rem; }
.cf-note { font-size: .85rem; color: var(--muted); text-align: center; }
.cf-note a { color: var(--gold-bright); }

.cf-photos { min-width: 0; margin: .3rem 0; padding: 1.15rem; border: 1px solid var(--border); background: rgba(189,169,91,.035); }
.cf-photos legend { padding: 0 .4rem; color: var(--ivory); font-size: .8rem; letter-spacing: .04em; }
.cf-photos legend span { color: var(--muted); }
.cf-photo-help { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: .9rem; }
.cf-photo-picker { position: relative; border: 1px dashed var(--gold); background: rgba(189,169,91,.055); transition: background .2s, border-color .2s; }
.cf-photo-picker:hover { background: rgba(189,169,91,.11); border-color: var(--gold-bright); }
.cf-photo-picker:focus-within { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.contact-form .cf-photo-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cf-photo-picker-content { display: grid; justify-items: center; gap: .45rem; padding: 1.3rem .7rem; color: var(--gold-bright); pointer-events: none; }
.cf-photo-picker-content strong { font-size: .9rem; font-weight: 500; }
.cf-photo-picker-content > span { color: var(--muted); font-size: .76rem; }
.cf-photo-limits { margin-top: .7rem; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.cf-photo-error { margin-top: .75rem; padding: .65rem .75rem; background: rgba(255,130,130,.075); border-left: 2px solid #f5a6a6; color: #ffc3c3; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.cf-photo-list { display: grid; gap: .6rem; list-style: none; padding: 0; margin: .85rem 0 0; }
.cf-photo-item { display: grid; grid-template-columns: 3.6rem minmax(0,1fr) auto; gap: .7rem; align-items: center; padding: .55rem; border: 1px solid var(--border); background: var(--navy); }
.cf-photo-thumb { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; overflow: hidden; color: var(--gold-bright); background: rgba(239,235,221,.07); font-size: .64rem; }
.cf-photo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cf-photo-details { min-width: 0; display: grid; gap: .2rem; }
.cf-photo-details span { color: var(--ivory); font-size: .78rem; overflow-wrap: anywhere; line-height: 1.35; }
.cf-photo-details small { color: var(--muted); font-size: .7rem; }
.cf-photo-remove { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--muted); background: transparent; border: 1px solid transparent; font-size: 1.5rem; cursor: pointer; }
.cf-photo-remove:hover, .cf-photo-remove:focus-visible { color: var(--gold-bright); border-color: var(--gold); }
.cf-photo-remove:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.cf-photo-count { margin-top: .7rem; font-size: .75rem; line-height: 1.5; color: var(--gold-bright); }
.cf-photo-count:empty { display: none; }
.cf-photo-preview-note { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .73rem; line-height: 1.5; }
.cf-submit-status { padding: .9rem; border-left: 2px solid var(--gold); background: rgba(189,169,91,.08); color: var(--ivory); font-size: .85rem; line-height: 1.5; }
.cf-photo-list[hidden], .cf-photo-error[hidden], .cf-submit-status[hidden] { display: none; }
.contact-form button[type=submit]:disabled { opacity: .65; cursor: wait; }
@media (max-width: 519px) { .cf-photos { padding: .9rem; } }

.contact-map { line-height: 0; }
.contact-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* Accessibility statement ------------------------------------------------ */
.accessibility-shell { max-width: 72rem; padding-top: clamp(4rem,8vw,7rem); padding-bottom: clamp(4rem,8vw,7rem); }
.accessibility-prose { max-width: 50rem; margin-inline: auto; }
.accessibility-prose > :first-child { margin-top: 0; }
.accessibility-prose li { margin-block: .45rem; color: var(--muted); line-height: 1.75; }
.accessibility-contact {
  max-width: 50rem; margin: clamp(3rem,7vw,5rem) auto 0; padding: clamp(1.5rem,4vw,2.5rem);
  border: 1px solid var(--border); border-left: 2px solid var(--gold);
  background: linear-gradient(145deg, rgba(8,6,51,.94), rgba(3,2,37,.98));
}
.accessibility-contact h2 { max-width: 36rem; margin-top: .65rem; color: var(--ivory); font-size: clamp(1.55rem,3vw,2.25rem); line-height: 1.15; }
.accessibility-contact > p:not(.eyebrow) { max-width: 42rem; margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.accessibility-contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.accessibility-contact-actions .btn { min-height: 2.75rem; overflow-wrap: anywhere; }
.accessibility-reviewed { max-width: 50rem; margin: 1.25rem auto 0; color: rgba(239,235,221,.68); font-family: var(--font-data); font-size: .7rem; line-height: 1.6; letter-spacing: .04em; }
@media (max-width: 520px) {
  .accessibility-contact-actions { display: grid; }
  .accessibility-contact-actions .btn { width: 100%; padding-inline: .8rem; }
}

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--muted); } .footer-legal a:hover { color: var(--ivory); }
.footer-legal span { color: var(--muted); }

/* ==========================================================================
   INNER-PAGE VISUAL SYSTEM — "STRUCTURAL APERTURE"
   Carries the homepage's cinematic identity into every supporting template.
   ========================================================================== */

::selection { background: var(--gold); color: var(--navy); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

body.is-inner #main {
  position: relative;
  background:
    radial-gradient(circle at 88% 22%, rgba(185,166,101,.07), transparent 25rem),
    linear-gradient(180deg, var(--navy) 0%, #020128 62%, var(--navy) 100%);
}

.site-header {
  border: 1px solid rgba(239,235,221,.06);
  transition: width .45s var(--ease-xtreme), background .45s ease, border-color .45s ease;
}
.site-header.is-scrolled { background: rgba(1,0,36,.94); border-color: rgba(185,166,101,.18); }

/* Shared hero: the side planes open like a window system on page entry. */
.inner-hero {
  /* Keep the decorative rail in its own transition zone below all hero CTAs. */
  --hero-rail-bottom: 2.85rem;
  --hero-cue-bottom: .75rem;
  position: relative;
  min-height: min(76svh, 760px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}
.post-hero.inner-hero { padding: 10rem 0 5rem; }
.section-hero { padding: 10rem 0 5.5rem; }
@media (min-width: 768px) {
  .post-hero.inner-hero.service-hero { padding-bottom: 6.5rem; }
}
.inner-hero .post-hero-bg { position: absolute; inset: -5%; z-index: -5; overflow: hidden; }
.inner-hero .post-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); filter: saturate(.78) contrast(1.08);
  transition: transform 1.8s var(--ease-xtreme), filter 1.2s ease;
  will-change: transform;
}
.inner-hero .post-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1,0,36,.97) 0%, rgba(1,0,36,.87) 38%, rgba(1,0,36,.34) 76%, rgba(1,0,36,.7) 100%),
    linear-gradient(180deg, rgba(1,0,36,.25), rgba(1,0,36,.92));
}
.inner-hero-panel {
  position: absolute; top: 0; bottom: 0; z-index: -1; width: 50.2%;
  background: rgba(1,0,36,.86);
  transition: transform 1.25s var(--ease-panel);
  will-change: transform;
}
.inner-hero-panel-left { left: 0; border-right: 1px solid rgba(185,166,101,.48); }
.inner-hero-panel-right { right: 0; border-left: 1px solid rgba(185,166,101,.48); }
.inner-hero.is-ready .inner-hero-panel-left { transform: translateX(-78%); }
.inner-hero.is-ready .inner-hero-panel-right { transform: translateX(78%); }
.inner-hero.is-ready .post-hero-bg img { transform: scale(1); filter: saturate(.94) contrast(1.04); }

.inner-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .28;
  background-image:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(239,235,221,.14) 50%, transparent calc(50% + .5px)),
    linear-gradient(180deg, transparent calc(100% - var(--hero-rail-bottom) - .05rem), rgba(239,235,221,.12) calc(100% - var(--hero-rail-bottom)), transparent calc(100% - var(--hero-rail-bottom) + .05rem));
}
.inner-hero-mark {
  position: absolute; right: -1.2vw; bottom: -.18em; z-index: 0;
  max-width: 92vw; overflow: hidden; white-space: nowrap;
  font-size: clamp(4rem, 13vw, 11rem); font-weight: 600; line-height: .82;
  letter-spacing: -.055em; color: rgba(239,235,221,.065);
  opacity: 0; transform: translate3d(0,32px,0);
  transition: opacity 1s .5s ease, transform 1.2s .45s var(--ease-xtreme);
  pointer-events: none;
}
.inner-hero.is-ready .inner-hero-mark { opacity: 1; transform: none; }
.inner-hero-rule {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--hero-rail-bottom); z-index: 2;
  height: 1px; background: linear-gradient(90deg, var(--gold), rgba(185,166,101,.1));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s .65s var(--ease-xtreme);
}
.inner-hero.is-ready .inner-hero-rule { transform: scaleX(1); }

.post-hero-inner, .section-hero-inner { position: relative; z-index: 3; }
[data-inner-hero-content] {
  opacity: 0; transform: translate3d(0,34px,0);
  transition: opacity .85s .38s ease, transform 1s .34s var(--ease-xtreme);
}
.inner-hero.is-ready [data-inner-hero-content] { opacity: 1; transform: none; }
.section-hero-inner { width: 100%; }
.section-hero-eyebrow, .post-cat { color: var(--gold-bright); }
.section-hero-title {
  max-width: 58rem; font-size: clamp(2.55rem, 7vw, 5.8rem);
  font-weight: 500; line-height: .98; letter-spacing: -.045em;
  text-wrap: balance;
}
.section-hero-lead {
  max-width: 42rem; margin-top: 1.5rem;
  color: rgba(239,235,221,.78); font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.7;
}
.section-hero-metric {
  display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.25rem;
  font-family: var(--font-data); text-transform: uppercase; letter-spacing: .11em;
}
.section-hero-metric strong { color: var(--gold-bright); font-size: clamp(2.5rem, 7vw, 5rem); line-height: .8; letter-spacing: -.05em; }
.section-hero-metric span { color: rgba(239,235,221,.62); font-size: .68rem; }
.inner-hero-cue {
  position: absolute; left: var(--pad); bottom: var(--hero-cue-bottom); z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  color: rgba(239,235,221,.6); font-family: var(--font-data); font-size: .62rem;
  text-transform: uppercase; letter-spacing: .16em;
  opacity: 0; transition: opacity .6s 1s ease;
}
.inner-hero.is-ready .inner-hero-cue { opacity: 1; }
.inner-hero-cue span { width: 2.5rem; height: 1px; background: var(--gold); transform-origin: left; animation: cuePulse 2.2s ease-in-out infinite; }
@keyframes cuePulse { 0%,100% { transform: scaleX(.42); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

.post-hero.inner-hero h1 {
  max-width: 58rem; font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500; line-height: 1; letter-spacing: -.045em; text-wrap: balance;
}
.post-hero.inner-hero .post-meta { max-width: 44rem; color: rgba(239,235,221,.7); }
.post-hero.inner-hero .post-crumbs { font-family: var(--font-data); text-transform: uppercase; letter-spacing: .08em; }

/* Collections */
.collection-section { position: relative; overflow: hidden; }
.collection-section::before {
  content: ""; position: absolute; top: 0; right: 0; width: min(42vw, 34rem); aspect-ratio: 1;
  border: 1px solid rgba(185,166,101,.08); transform: translate(42%,-42%) rotate(45deg); pointer-events: none;
}
.collection-intro { max-width: 52rem; }
.collection-intro .h2 { font-size: clamp(2rem, 4.5vw, 4rem); text-wrap: balance; }
.collection-grid { margin-top: 3.5rem; }
@media (min-width: 900px) {
  .collection-grid-balanced { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .collection-grid-balanced > .collection-card { grid-column: span 2; }
  .collection-grid-balanced > .collection-card:nth-last-child(4):nth-child(3n+1),
  .collection-grid-balanced > .collection-card:nth-last-child(4):nth-child(3n+1) ~ .collection-card,
  .collection-grid-balanced > .collection-card:nth-last-child(2):nth-child(3n+1),
  .collection-grid-balanced > .collection-card:nth-last-child(2):nth-child(3n+1) ~ .collection-card { grid-column: span 3; }
}
.collection-card {
  position: relative; min-width: 0; background: rgba(7,5,46,.78);
  transition: transform .6s var(--ease-xtreme), border-color .35s ease, box-shadow .6s ease;
}
.collection-card-featured { border-color: rgba(185,166,101,.38); box-shadow: inset 0 0 0 1px rgba(185,166,101,.06); }
.collection-featured-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .48rem .72rem; border: 1px solid rgba(239,235,221,.26); border-radius: 999px;
  background: rgba(1,0,36,.86); color: var(--gold-bright); backdrop-filter: blur(10px);
  font-family: var(--font-data); font-size: .61rem; text-transform: uppercase; letter-spacing: .14em;
}
.collection-card::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .55s var(--ease-xtreme);
}
.collection-card:hover { transform: translateY(-8px); border-color: rgba(185,166,101,.5); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.collection-card:hover::after { right: 0; }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--night); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(1,0,36,.55)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-xtreme), filter .6s ease; }
.service-collection-grid .card-media { aspect-ratio: 1; background: #f4f3ef; }
.service-collection-grid .card-media::after { content: none; }
.service-collection-grid .card-media img { object-position: center; }
.collection-card:hover .card-media img { transform: scale(1.055); filter: saturate(1.08); }
.collection-card .card-body { display: flex; flex-direction: column; min-height: 15rem; }
.collection-card .card-body h3 { font-size: 1.35rem; line-height: 1.22; margin-top: .85rem; }
.collection-card .card-body .muted { margin-top: .75rem; font-size: .92rem; }
.card-index {
  min-height: 1em; color: var(--gold-bright); font-family: var(--font-data);
  font-size: .66rem; text-transform: uppercase; letter-spacing: .16em;
}
.card-link {
  display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1.5rem;
  color: var(--ivory); font-family: var(--font-data); font-size: .68rem; text-transform: uppercase; letter-spacing: .13em;
}
.card-link span { color: var(--gold); font-size: 1.1rem; transition: transform .35s var(--ease-xtreme); }
.collection-card:hover .card-link span { transform: translateX(.35rem); }

/* Service areas: a compact territory system, not a decorative city list. */
.section-hero-actions { justify-content: flex-start; margin-top: 2rem; }
.area-hub { scroll-margin-top: 5rem; }
.area-intro {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(18rem,.75fr);
  gap: clamp(2rem,6vw,6rem); align-items: end;
}
.area-intro-copy { max-width: 46rem; }
.area-intro-answer {
  max-width: 32rem; padding-left: 1.5rem; border-left: 1px solid var(--gold);
  color: var(--muted); font-size: .98rem; line-height: 1.75;
}
.area-coverage-rail {
  position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: clamp(2.75rem,5vw,4.5rem); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.area-coverage-node {
  position: relative; display: flex; align-items: center; gap: 1rem; min-width: 0;
  padding: 1.25rem 1.5rem; border-right: 1px solid var(--border);
  transition: background .3s ease, color .3s ease;
}
.area-coverage-node:last-child { border-right: 0; }
.area-coverage-node::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px;
  background: var(--gold); transition: right .45s var(--ease-xtreme);
}
.area-coverage-node:hover, .area-coverage-node:focus-visible { background: rgba(185,166,101,.065); }
.area-coverage-node:hover::after, .area-coverage-node:focus-visible::after { right: 0; }
.area-coverage-node:focus-visible, .area-card:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.area-coverage-number { color: var(--gold-bright); font-family: var(--font-data); font-size: .66rem; letter-spacing: .12em; }
.area-coverage-node strong { display: block; color: var(--ivory); font-size: .96rem; font-weight: 500; }
.area-coverage-node small { display: block; margin-top: .1rem; color: var(--muted); font-family: var(--font-data); font-size: .59rem; text-transform: uppercase; letter-spacing: .1em; }
.area-collection-grid { margin-top: 2.5rem; }
.area-card .card-media { aspect-ratio: 8/5; }
.area-card .card-media img { object-position: center; }
.area-card .card-body { min-height: 16rem; }
.area-card .card-body h3 { max-width: 18rem; }
.area-card .card-index { line-height: 1.5; }
.area-decision {
  position: relative; padding-top: clamp(5rem,8vw,7rem); padding-bottom: clamp(5rem,8vw,7rem);
  border-top: 1px solid rgba(185,166,101,.18); border-bottom: 1px solid rgba(185,166,101,.18);
  background: radial-gradient(circle at 82% 50%, rgba(185,166,101,.12), transparent 23rem), var(--night);
}
.area-decision-grid {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(20rem,1.1fr);
  gap: clamp(2rem,8vw,8rem); align-items: center;
}
.area-decision-grid .h2 { max-width: 34rem; font-size: clamp(2rem,4.5vw,3.7rem); text-wrap: balance; }
.area-decision-copy { max-width: 38rem; }
.area-decision-copy > p { color: rgba(239,235,221,.75); font-size: 1.05rem; line-height: 1.75; }
.area-decision-actions { justify-content: flex-start; margin-top: 2rem; }
.area-faq { background: linear-gradient(180deg, rgba(7,5,46,.34), transparent); }
.area-faq-grid { display: grid; grid-template-columns: minmax(16rem,.72fr) minmax(0,1.28fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.area-faq-intro { position: sticky; top: 7rem; }
.area-faq-intro .h2 { max-width: 28rem; font-size: clamp(2rem,4vw,3.4rem); text-wrap: balance; }
.area-faq-intro > p:last-child { max-width: 25rem; margin-top: 1.25rem; color: var(--muted); line-height: 1.7; }
.area-faq-list { margin-top: 0; border-top: 1px solid var(--border); }
.area-faq-list .faq-item { padding: 1.35rem .15rem; }
.area-faq-list .faq-a { max-width: 42rem; padding-top: .85rem; color: var(--muted); line-height: 1.75; }

/* Editorial rhythm and proof components */
.post-body { max-width: 68rem; padding-top: clamp(3.5rem, 7vw, 6rem); }
.post-body > .prose, .post-body > .post-answer, .post-body > .post-resource, .post-body > .post-faq { max-width: 48rem; margin-left: auto; margin-right: auto; }
.post-answer { position: relative; background: linear-gradient(135deg, rgba(11,9,53,.98), rgba(7,5,46,.8)); box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.post-answer::after { content: ""; position: absolute; width: 2.4rem; height: 2.4rem; right: -1px; top: -1px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.post-answer-label, .post-meta, .doc-ico { font-family: var(--font-data); }
.prose h2 { position: relative; padding-top: .35rem; }
.prose h2::before { content: ""; display: block; width: 2.8rem; height: 1px; margin-bottom: 1rem; background: var(--gold); }
.svc-card, .svc-proof, .svc-cross, .post-cta { transition: transform .55s var(--ease-xtreme), border-color .35s ease, box-shadow .55s ease; }
.svc-card:hover, .svc-cross:hover { transform: translateY(-4px); border-color: rgba(185,166,101,.5); box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.post-cta {
  position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--night), var(--muted-bg));
}
.post-cta > * { position: relative; z-index: 1; }
.faq-a { animation: faqOpen .45s var(--ease-xtreme); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Supporting page stages */
.gallery-shell, .contact-shell { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.work-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(18rem,.75fr); gap: clamp(2rem,6vw,6rem); align-items: end; margin-bottom: clamp(2.5rem,5vw,4.5rem); padding-bottom: clamp(2rem,4vw,3.5rem); border-bottom: 1px solid var(--border); }
.work-intro-copy { max-width: 44rem; }
.work-intro-copy h2 { max-width: 42rem; margin-top: .7rem; color: var(--ivory); font-size: clamp(1.75rem,3.5vw,3.15rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.work-intro-copy > p:last-child { max-width: 40rem; margin-top: 1.2rem; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.work-scope { display: grid; border-top: 1px solid var(--border); }
.work-scope a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--border); color: rgba(239,235,221,.8); font-family: var(--font-data); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; transition: color .2s ease, padding .35s var(--ease-xtreme); }
.work-scope a:hover, .work-scope a:focus-visible { padding-left: .6rem; color: var(--ivory); }
.work-scope a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.work-scope i { color: var(--gold-bright); font-style: normal; }
.gallery-item { border-color: rgba(239,235,221,.12); }
.gallery-item::after { content: "+"; position: absolute; right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid rgba(239,235,221,.4); border-radius: 50%; color: var(--ivory); background: rgba(1,0,36,.52); backdrop-filter: blur(8px); transition: transform .4s var(--ease-xtreme), background .3s ease; }
.gallery-item:hover::after { transform: rotate(90deg); background: var(--gold); color: var(--navy); }
.contact-method { position: relative; overflow: hidden; transition: transform .4s var(--ease-xtreme), border-color .25s ease, background .25s ease; }
.contact-method::after { content: "→"; position: absolute; right: 1.25rem; top: 50%; transform: translate(-8px,-50%); opacity: 0; color: var(--gold); transition: opacity .3s ease, transform .4s var(--ease-xtreme); }
a.contact-method:hover { transform: translateX(6px); background: var(--muted-bg); }
a.contact-method:hover::after { opacity: 1; transform: translate(0,-50%); }
.contact-form { position: relative; background: linear-gradient(145deg, var(--night), rgba(7,5,46,.96)); box-shadow: 0 30px 90px rgba(0,0,0,.2); }
.brand-cta { position: relative; overflow: hidden; text-align: center; }
.brand-cta .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .work-intro { grid-template-columns: 1fr; gap: 2rem; }
  .work-intro-copy h2 { font-size: clamp(1.85rem,9vw,2.65rem); }
}
.error-hero { min-height: 82svh; }
.error-hero-content { text-align: left; }
.error-hero .hero-sub { margin-left: 0; }
.error-hero .hero-actions { justify-content: flex-start; }

/* Reveal language shared by every template. */
.reveal {
  transition: opacity .85s var(--ease-xtreme), transform .95s var(--ease-xtreme), clip-path 1s var(--ease-xtreme);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal[data-reveal="scale"] { transform: translateY(20px) scale(.965); }
.reveal[data-reveal="clip"] { transform: none; clip-path: none; }
.reveal[data-reveal="clip"] > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-xtreme), transform .5s ease, opacity .3s ease;
}
.reveal.in[data-reveal="scale"] { transform: none; }
.reveal.in[data-reveal="clip"] > img { clip-path: inset(0); }

/* The authentic logo remains the only brand signature; the legal row closes quietly. */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: none; }
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-col a { display: inline-block; transition: color .2s ease, transform .3s var(--ease-xtreme); }
.footer-col a:hover { transform: translateX(3px); }

@media (max-width: 767px) {
  .inner-hero { --hero-rail-bottom: 2.5rem; --hero-cue-bottom: .6rem; min-height: min(66svh, 35rem); }
  @supports (height: 100dvh) { .inner-hero { min-height: min(66dvh, 35rem); } }
  .post-hero.inner-hero, .section-hero { padding: 7.25rem 0 4.25rem; }
  .inner-hero .post-hero-bg::after { background: linear-gradient(180deg, rgba(1,0,36,.5), rgba(1,0,36,.94) 76%); }
  .inner-hero.is-ready .inner-hero-panel-left { transform: translateX(-88%); }
  .inner-hero.is-ready .inner-hero-panel-right { transform: translateX(88%); }
  .section-hero-title, .post-hero.inner-hero h1 { font-size: clamp(2.05rem, 10.2vw, 3.25rem); }
  .section-hero-lead { margin-top: 1.15rem; line-height: 1.6; }
  .section-hero-metric { align-items: flex-end; flex-wrap: wrap; gap: .7rem; }
  .inner-hero-mark { font-size: clamp(4.5rem, 20vw, 7rem); }
  .collection-card .card-body { min-height: 13.5rem; }
  .section-hero-actions { gap: .7rem; margin-top: 1.5rem; }
  .section-hero-actions .btn { padding: .78rem 1.15rem; font-size: .7rem; }
  .area-intro, .area-decision-grid, .area-faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .area-intro-answer { padding-left: 1rem; }
  .area-coverage-rail { grid-template-columns: 1fr; }
  .area-coverage-node { border-right: 0; border-bottom: 1px solid var(--border); padding: 1rem .25rem; }
  .area-coverage-node:last-child { border-bottom: 0; }
  .area-collection-grid { margin-top: 2rem; }
  .area-card .card-body { min-height: 13.75rem; }
  .area-decision-actions { gap: .75rem; }
  .area-decision-actions .btn { padding-left: 1.2rem; padding-right: 1.2rem; }
  .area-faq-intro { position: static; }
  .post-body { padding-left: var(--pad); padding-right: var(--pad); }
  .post-resource { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.35rem; }
  .post-resource-action { justify-content: center; width: 100%; white-space: normal; text-align: center; }
  .post-cta { margin-left: calc(var(--pad) * -.35); margin-right: calc(var(--pad) * -.35); }
  .contact-form { padding: 1.35rem; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-related-grid a { min-height: 0; padding: 1rem .25rem; border-right: 0; border-bottom: 1px solid var(--border); }
  .post-related-grid a:last-child { border-bottom: 0; }
  .post-related-grid i { margin-top: .7rem; }
  .post-related-service { align-items: flex-start; }
}

@media (max-width: 767px) and (max-height: 700px) {
  .inner-hero { min-height: auto; }
  .post-hero.inner-hero, .section-hero { padding-top: 6.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .inner-hero-panel { display: none; }
  .reveal, .reveal[data-reveal="clip"] > img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .inner-hero .post-hero-bg img, [data-inner-hero-content], .inner-hero-mark,
  .inner-hero-rule, .inner-hero-cue, .collection-card, .contact-method {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .inner-hero-rule { transform: scaleX(1) !important; }
  .inner-hero-cue span { animation: none; }
  .svc-proof-product-media.is-motion-light-sweep::after { display: none; animation: none !important; }
  .svc-model-mark::after { display: none; animation: none !important; }
  .reveal[data-reveal="clip"], .reveal[data-reveal="clip"] > img { clip-path: none; }
}

/* Five offerings: three above two on desktop, paired on tablet. */
.home-offer-title { margin-top: 1rem; font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--ivory); }
.home-offer-scope { margin-top: .8rem; max-width: 48rem; color: var(--gold-bright); font-size: clamp(.85rem, 1.5vw, 1rem); line-height: 1.9; text-wrap: balance; }
.home-offer-scope span { padding-inline: .35rem; }
@media (min-width: 768px) {
  .home-service-grid, .service-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-grid > :last-child, .service-collection-grid > :last-child { grid-column: 1 / -1; width: calc(50% - .75rem); justify-self: center; }
}
@media (min-width: 1100px) {
  .home-service-grid, .service-collection-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-service-grid > *, .service-collection-grid > * { grid-column: span 2; }
  .home-service-grid > :nth-child(4), .service-collection-grid > :nth-child(4) { grid-column: 2 / span 2; }
  .home-service-grid > :last-child, .service-collection-grid > :last-child { grid-column: 4 / span 2; width: auto; justify-self: stretch; }
}
.why-xtreme { margin-block: 3.5rem; scroll-margin-top: 7rem; }
.home-about .why-xtreme { margin-top: clamp(3.5rem, 7vw, 6rem); margin-bottom: 0; }
.why-xtreme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; margin-top: 2rem; padding: 0; list-style: none; }
.why-xtreme-item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.why-xtreme-number { color: var(--gold-bright); font: .8rem/1.8 var(--font-data); }
.why-xtreme-item h3 { margin-bottom: .65rem; color: var(--ivory); font-size: 1.08rem; line-height: 1.4; }
.why-xtreme-item p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
@media (max-width: 1000px) { .why-xtreme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-xtreme-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* AA garage series: finishes and documentation stay in the service flow. */
.garage-catalog { margin-block: 3rem; }
.garage-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.5rem 0 1rem; }
.garage-options label { display:grid; gap:.6rem; min-width:0; }
.garage-options label>span { font-size:.8rem; color:var(--gold,#c2b164); }
.garage-options select { width:100%; min-height:48px; padding:.75rem; border:1px solid #77718c; border-radius:0; background:#121029; color:#f1edde; font:inherit; font-size:.85rem; }
.garage-options select:focus-visible { outline:2px solid #c2b164; outline-offset:3px; }
.garage-options-note { font-size:.83rem; line-height:1.65; color:#aaa6b5; }
.garage-series-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-block:2rem 1rem; }
.garage-series-number { font-size:clamp(2.5rem,6vw,4rem); font-weight:400; line-height:1.15; margin:.2rem 0 1.5rem; letter-spacing:-.04em; }
.garage-specs { margin:0; }
.garage-specs>div { padding:.9rem 0; border-top:1px solid #39344f; }
.garage-specs dt { font-size:.72rem; color:#aaa6b5; margin-bottom:.45rem; }
.garage-specs dd { margin:0; font-size:.92rem; line-height:1.5; }
.garage-card-actions { display:grid; gap:1rem; margin-top:auto; padding-top:1.25rem; }
.garage-card-actions .svc-model-quote { justify-content:space-between; width:100%; box-sizing:border-box; }
.garage-downloads { border-top:1px solid #39344f; margin-top:2rem; padding-top:2rem; }
@media(max-width:850px) { .garage-series-grid { grid-template-columns:1fr; } .garage-options { grid-template-columns:1fr; } }

.garage-catalog.svc-model-browser .garage-series-grid .svc-model-card:last-child { grid-column:auto; width:auto; justify-self:stretch; }
.garage-render { display:block; margin-bottom:1.25rem; overflow:hidden; border:1px solid #29263c; }
.garage-render img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; transition:transform .3s ease; }
.garage-render:hover img { transform:scale(1.025); }
.garage-render:focus-visible { outline:2px solid #c2b164; outline-offset:4px; }
@media(min-width:851px) {
  .garage-series-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .garage-catalog.svc-model-browser .garage-series-grid .svc-model-card:last-child { grid-column:1/-1; width:calc(50% - .5rem); justify-self:center; box-sizing:border-box; }
}
@media(prefers-reduced-motion:reduce) { .garage-render img { transition:none; } .garage-render:hover img { transform:none; } }
.garage-render { padding:0; width:100%; background:#090c1b; cursor:zoom-in; color:inherit; }
.garage-render svg, .garage-preview-dialog svg { display:block; width:100%; height:auto; }
.garage-preview-status:empty { display:none; }
.garage-preview-dialog { padding:1rem; width:min(1100px,94vw); max-height:94vh; border:1px solid #77718c; background:#090c1b; color:#f1edde; }
.garage-preview-dialog::backdrop { background:rgba(0,0,12,.85); }
.garage-preview-dialog [data-garage-close] { display:block; margin:0 0 .75rem auto; padding:.6rem 1rem; border:1px solid #c2b164; background:#121029; color:#f1edde; cursor:pointer; font:inherit; }
.garage-preview-dialog svg { max-height:80vh; }
