/* ==========================================================================
   Altura Marketing Group — design system
   Tokens first, then base, layout, components, sections, utilities.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

:root {
  /* Brand */
  --gold: #f0a500;          /* brand gold: accents on navy, button fill */
  --gold-bright: #ffbb33;   /* hover */
  --gold-deep: #8a5c00;     /* gold text on light backgrounds (AA contrast) */
  --gold-wash: #fdf1d6;     /* tinted fills on light */

  /* Neutrals */
  --ink: #0d1b2a;           /* brand navy: primary dark surface */
  --ink-2: #132538;         /* raised navy surface */
  --ink-3: #1b3149;
  --line-dark: #2a4361;
  --paper: #f7f6f2;         /* page background */
  --paper-2: #eef1f5;
  --white: #ffffff;
  --line: #dfe3ea;

  /* Text */
  --text: #0f1c2b;
  --text-muted: #4d5a6a;
  --text-on-dark: #f5f7fa;
  --text-on-dark-muted: #c3cfdc;

  /* Feedback */
  --error: #b42318;
  --success: #1f7a4a;

  /* Type */
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 3.9rem);
  --lh-tight: 1.12;
  --lh-body: 1.68;

  /* Space (4px base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  /* Layout */
  --w-prose: 44rem;
  --w-content: 72rem;
  --w-wide: 80rem;
  --gutter: clamp(1rem, .5rem + 2vw, 2rem);

  /* Shape */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13,27,42,.06), 0 1px 1px rgba(13,27,42,.04);
  --shadow-md: 0 10px 30px -12px rgba(13,27,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(13,27,42,.35);

  /* Interaction */
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink);
  --focus-dark: 0 0 0 3px var(--ink), 0 0 0 5px var(--gold-bright);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t: .18s;

  /* Breakpoints (reference only — used in media queries below)
     sm 640px · md 860px · lg 1100px */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { box-shadow: var(--focus-dark); }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); line-height: var(--lh-tight); color: inherit; text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: var(--s-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.container--prose { max-width: calc(var(--w-prose) + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--paper-2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.on-dark { background: var(--ink); color: var(--text-on-dark); }
.on-dark a:not(.btn) { color: var(--gold-bright); }
.on-dark a:not(.btn):hover { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--fs-lg); }
.on-dark .section-head p { color: var(--text-on-dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 1.6em; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--gold); --btn-fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 3rem; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--btn-bg); color: var(--btn-fg); font: 700 var(--fs-sm)/1.1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.btn:hover { --btn-bg: var(--gold-bright); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--text-on-dark); }
.btn--dark:hover { --btn-bg: var(--ink-3); color: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line); }
.btn--ghost:hover { --btn-bg: var(--white); border-color: var(--text); color: var(--text); }
.on-dark .btn--ghost, .site-header .btn--ghost { --btn-fg: var(--text-on-dark); border-color: var(--line-dark); }
.on-dark .btn--ghost:hover { --btn-bg: var(--ink-3); border-color: var(--gold); color: var(--white); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.05rem; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link::after { content: "→"; transition: transform var(--t) var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,27,42,.96); backdrop-filter: saturate(140%) blur(10px); color: var(--text-on-dark); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 3.6rem; width: auto; }
@media (min-width: 1100px) { .brand img { height: 4rem; } }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: var(--s-1); align-items: center; }
.nav li + li { margin-top: 0; }
.nav a, .nav-toggle-btn { display: inline-flex; align-items: center; gap: .35em; padding: .55rem .8rem; color: var(--text-on-dark); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav a:hover, .nav-toggle-btn:hover, .nav a[aria-current="page"] { color: var(--gold-bright); }
.has-menu { position: relative; }
.nav-toggle-btn svg { width: .8em; transition: transform var(--t); }
.submenu { position: absolute; top: calc(100% + .4rem); left: -.5rem; min-width: 17rem; padding: var(--s-2); background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.submenu a { display: block; padding: .6rem .8rem; }
.submenu a small { display: block; color: var(--text-on-dark-muted); font-weight: 500; font-size: var(--fs-xs); margin-top: .1rem; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 26rem; }
.header-actions { display: none; align-items: center; gap: var(--s-4); }
.header-phone { color: var(--text-on-dark); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.header-phone:hover { color: var(--gold-bright); }

/* Mobile menu: works without JavaScript via <details> */
.mobile-nav { position: static; }
.mobile-nav summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-dark); border-radius: var(--r-sm); cursor: pointer; color: var(--text-on-dark); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 1.3rem; }
.mobile-nav .icon-close { display: none; }
.mobile-nav[open] .icon-open { display: none; }
.mobile-nav[open] .icon-close { display: block; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 5rem); overflow-y: auto; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: var(--s-4) var(--gutter) var(--s-6); }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel li + li { margin-top: 0; }
.mobile-panel a { display: block; padding: .7rem 0; color: var(--text-on-dark); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-dark); }
.mobile-panel .group-label { margin: var(--s-5) 0 var(--s-1); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.mobile-panel .btn { margin-top: var(--s-5); width: 100%; }
@media (min-width: 1100px) {
  .nav, .header-actions { display: flex; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 3rem + 6vw, 8.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark) 20%, var(--line-dark) 80%, transparent); }
.hero .container { position: relative; }
.hero h1 { max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { max-width: 38rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--text-on-dark-muted); margin-bottom: var(--s-6); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-7) 0 0; padding: 0; list-style: none; color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.hero-proof li { margin: 0; display: flex; gap: .55em; align-items: center; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
.hero--page { padding-block: clamp(3rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero--page h1 { max-width: 22ch; font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); }
.hero-split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: 1.15fr .85fr; } }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-xs); margin-bottom: var(--s-5); color: var(--text-on-dark-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; gap: .4em; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--text-on-dark-muted) !important; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-bright) !important; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.card h3 { font-size: 1.2rem; margin-bottom: var(--s-3); letter-spacing: -.015em; }
.card p { color: var(--text-muted); margin-bottom: var(--s-4); }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card:has(.card-link:hover) { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--r-md); background: var(--gold-wash); color: var(--gold-deep); margin-bottom: var(--s-5); }
.card-icon svg { width: 1.35rem; height: 1.35rem; }
.card-num { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--gold-deep); margin-bottom: var(--s-4); }
.on-dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.on-dark .card p { color: var(--text-on-dark-muted); }
.on-dark .card-icon { background: rgba(240,165,0,.12); color: var(--gold); }
.on-dark .card-num { color: var(--gold); }

/* ---------- Prose ---------- */
.prose { max-width: var(--w-prose); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #2b2e35; }
.prose ul li::marker { color: var(--gold-deep); }
.prose blockquote { margin: var(--s-6) 0; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 3px solid var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--paper-2); }
.table-wrap { overflow-x: auto; }
.callout { margin: var(--s-6) 0; padding: var(--s-5) var(--s-6); border-radius: var(--r-md); background: var(--gold-wash); border: 1px solid #f3d999; }
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: .3rem; }

/* Two-column content split */
.split { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9); } .split--narrow-aside { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.sticky-aside { position: sticky; top: 6.5rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checklist li { margin: 0; display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.checklist li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .22em; border-radius: 50%; background: var(--gold-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2 8.6 13l6-6.2' fill='none' stroke='%238a5c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.checklist--cols { gap: var(--s-3) var(--s-6); }
@media (min-width: 760px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }
.on-dark .checklist li::before { background-color: rgba(240,165,0,.15); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; counter-increment: step; position: relative; padding-top: var(--s-6); border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: -.85rem; left: 0; padding-right: .7rem; background: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--gold-deep); line-height: 1.4; }
.section--white .steps li::before { background: var(--white); }
.section--paper-2 .steps li::before { background: var(--paper-2); }
.on-dark .steps li { border-color: var(--line-dark); }
.on-dark .steps li::before { background: var(--ink); color: var(--gold); }
.steps h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.steps p { color: var(--text-muted); margin: 0; }
.on-dark .steps p { color: var(--text-on-dark-muted); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-5); align-items: center; padding: var(--s-5) 0; font-weight: 700; font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--gold-deep); transition: transform var(--t) var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding-bottom: var(--s-5); color: var(--text-muted); max-width: 46rem; }
.faq .faq-answer p:last-child { margin: 0; }

/* Stats (verified figures only) */
.stats { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--text); }
.stat-label { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }
.on-dark .stat { border-color: var(--line-dark); }
.on-dark .stat-value { color: var(--gold); }
.on-dark .stat-label { color: var(--text-on-dark-muted); }

/* Founder block */
.founder { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 22rem 1fr; gap: var(--s-8); } }
.founder-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--ink-2); max-width: 22rem; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(240,165,0,.45); border-radius: inherit; pointer-events: none; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--gold-deep); margin-top: var(--s-4); }
.on-dark .signature { color: var(--gold); }

/* Link lists (industries, related) */
.link-grid { display: grid; gap: 0 var(--s-6); list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .link-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.link-grid li { margin: 0; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.link-grid a::after { content: "→"; color: var(--gold-deep); transition: transform var(--t); }
.link-grid a:hover { color: var(--gold-deep); }
.link-grid a:hover::after { transform: translateX(3px); }
.on-dark .link-grid a { color: var(--text-on-dark); border-color: var(--line-dark); }
.on-dark .link-grid a::after { color: var(--gold); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--ink); color: var(--text-on-dark); }
.cta-band::before { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 22rem; height: 22rem; border: 1px solid rgba(240,165,0,.3); transform: rotate(45deg); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 36rem; color: var(--text-on-dark-muted); font-size: var(--fs-lg); }
.cta-band > * { position: relative; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { font-size: 1.45rem; margin-bottom: var(--s-2); }
.form-card > p { color: var(--text-muted); font-size: var(--fs-sm); }
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.field .optional { font-weight: 500; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid #cfc7b6; border-radius: var(--r-sm); background: var(--white); color: var(--text); font: inherit; font-size: 1rem; transition: border-color var(--t), box-shadow var(--t); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a99f8a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(240,165,0,.3); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--fs-xs); font-weight: 600; min-height: 0; }
.form-status { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--error { background: #fdecea; color: var(--error); border: 1px solid #f5c2bd; }
.form-note { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card .meta { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: .04em; margin-bottom: var(--s-3); display: flex; gap: .6em; flex-wrap: wrap; }
.post-card .meta .tag { color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.post-layout { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .post-layout { grid-template-columns: minmax(0, 1fr) 20rem; } }
.post-aside .card { padding: var(--s-5); }
.post-aside h3 { font-size: 1.2rem; }
.author-box { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); margin-top: var(--s-7); }
.author-box img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.author-box strong { color: var(--text); }
.pagination { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-7); }
.empty-state { text-align: center; padding: var(--s-8) var(--s-5); border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); font-size: var(--fs-sm); padding-top: var(--s-9); }
.footer-grid { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand img { width: 9rem; margin-bottom: var(--s-5); }
.footer-brand p { max-width: 22rem; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-4); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; padding-block: var(--s-5); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }

/* ---------- Utilities ---------- */
.muted { color: var(--text-muted); }
.lead { font-size: var(--fs-lg); color: var(--text-muted); }
.on-dark .lead, .on-dark .muted { color: var(--text-on-dark-muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.badge { display: inline-block; padding: .2rem .65rem; border-radius: var(--r-pill); background: var(--gold-wash); color: var(--gold-deep); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; }
.placeholder-note { border: 1px dashed var(--gold-deep); background: var(--gold-wash); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-size: var(--fs-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .cta-band, form { display: none !important; } body { background: #fff; } }

/* Home hero service list */
.hero-services { display: grid; gap: var(--s-3); }
.hero-service { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(19,37,56,.85); color: var(--text-on-dark) !important; text-decoration: none; transition: border-color var(--t), background var(--t), transform var(--t); }
.hero-service:hover { border-color: var(--gold); background: var(--ink-2); transform: translateX(3px); }
.hero-service .card-icon { margin: 0; flex-shrink: 0; background: rgba(240,165,0,.12); color: var(--gold); }
.hero-service strong { display: block; font-size: var(--fs-base); }
.hero-service small { display: block; color: var(--text-on-dark-muted); font-size: var(--fs-sm); line-height: 1.45; }
.field label { line-height: 1.4; }
.field-error:empty { display: none; }
.hero--page .hero-split { align-items: start; }
.hero--page .hero-split > div:first-child { padding-top: var(--s-6); }

/* ---------- Home hero (v2) ---------- */
.btn--lg { min-height: 3.4rem; padding: .95rem 1.6rem; font-size: var(--fs-base); }
.hero--home { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); background:
  radial-gradient(1100px 520px at 85% 10%, rgba(240,165,0,.10), transparent 60%),
  radial-gradient(900px 600px at -10% 110%, rgba(42,67,97,.55), transparent 60%), var(--ink); }
.hero--home h1 { max-width: 16ch; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); letter-spacing: -.035em; }
.hero--home h1 em { color: var(--gold); box-shadow: inset 0 -.12em 0 rgba(240,165,0,.25); }
.hero--home .hero-lede { color: #dbe3ec; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); max-width: 35rem; }
.hero-split--home { align-items: center; }
@media (min-width: 1000px) { .hero-split--home { grid-template-columns: 1.25fr .75fr; gap: var(--s-8); } }

.proof-card { position: relative; background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: 0 30px 70px -25px rgba(0,0,0,.55); border-top: 4px solid var(--gold); max-width: 27rem; }
.proof-card__head { display: flex; gap: var(--s-3); align-items: center; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.proof-card__head img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.proof-card__head strong { display: block; font-size: var(--fs-sm); }
.proof-card__head span { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.proof-card__label { margin: var(--s-4) 0 var(--s-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.proof-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.proof-card__stats > div { background: var(--paper-2); border-radius: var(--r-md); padding: var(--s-3); }
.proof-card__value { display: block; font-weight: 800; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.proof-card__unit { display: block; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; margin-top: .25rem; }
.proof-card__note { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--s-4) 0 var(--s-3); }
.proof-card .text-link { color: var(--ink); font-size: var(--fs-sm); }
.on-dark .proof-card a.text-link { color: var(--ink); }

.service-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.service-strip ul { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 700px) { .service-strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-strip ul { grid-template-columns: repeat(4, 1fr); } }
.service-strip li { margin: 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .service-strip li { border-bottom: 0; border-right: 1px solid var(--line); } .service-strip li:last-child { border-right: 0; } }
.service-strip a { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) var(--s-4); color: var(--text); text-decoration: none; transition: background var(--t); height: 100%; }
.service-strip a:hover { background: var(--paper); }
.service-strip .card-icon { margin: 0; flex-shrink: 0; }
.service-strip strong { display: block; font-size: var(--fs-base); }
.service-strip small { display: block; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.45; margin-top: .15rem; }
.section-head .eyebrow { color: var(--gold-deep); }
.on-dark .section-head .eyebrow { color: var(--gold); }
.section-head .eyebrow { font-size: var(--fs-xs); margin-bottom: var(--s-4); }
.prose .eyebrow { color: var(--gold-deep); }
.prose .eyebrow + h2, .prose .eyebrow + h3 { margin-top: 0; }
.on-dark .prose .eyebrow { color: var(--gold); }
.card .eyebrow { color: var(--gold-deep); }
.on-dark .card .eyebrow { color: var(--gold); }

/* Images (added when real photos are supplied) */
.hero-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 70px -25px rgba(0,0,0,.55); }
.media-figure { margin: 0; }
.media-figure img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.media-figure figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-muted); }
.gallery { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }

/* ---------- Home hero v3: mountain photo + live result ---------- */
.hero.hero--home { padding: 0 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--ink); overflow: hidden; }
.hero--home::after { display: none; }
.hero-bg { display: block; position: relative; }
.hero-bg img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, rgba(13,27,42,0), var(--ink)); pointer-events: none; }
.hero-home__inner { position: relative; z-index: 1; margin-top: -2.5rem; }
.hero-home__copy { max-width: 40rem; }
.hero--home h1 { max-width: 15ch; }
.hero--home .hero-lede { color: #e3e9f0; }
@media (min-width: 900px) {
  .hero.hero--home { padding: clamp(5rem, 4rem + 5vw, 8.5rem) 0 clamp(3rem, 2rem + 3vw, 5rem); min-height: min(52rem, 92vh); display: flex; align-items: center; }
  .hero-bg { position: absolute; inset: 0; }
  .hero-bg img { height: 100%; aspect-ratio: auto; object-position: 70% 22%; }
  .hero-bg::after { inset: 0; height: auto; background:
      linear-gradient(90deg, rgba(13,27,42,.97) 0%, rgba(13,27,42,.88) 34%, rgba(13,27,42,.35) 62%, rgba(13,27,42,.1) 100%),
      linear-gradient(to bottom, rgba(13,27,42,0) 60%, rgba(13,27,42,.85) 100%); }
  .hero-home__inner { margin-top: 0; width: 100%; }
}

/* Result band under the headline */
.result-band { display: grid; gap: var(--s-4); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding: var(--s-5); border: 1px solid rgba(240,165,0,.35); border-radius: var(--r-lg); background: rgba(13,27,42,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-on-dark) !important; text-decoration: none; max-width: 56rem; transition: border-color var(--t), transform var(--t); }
.result-band:hover { border-color: var(--gold); transform: translateY(-2px); }
.result-band__label { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: var(--text-on-dark-muted); }
.badge-live { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem; border-radius: var(--r-pill); background: var(--gold); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.result-band__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); }
@media (min-width: 640px) { .result-band__stats { grid-template-columns: repeat(4, 1fr); } }
.result-stat__value { display: block; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; color: var(--gold); line-height: 1.05; font-variant-numeric: tabular-nums; }
.result-stat__label { display: block; font-size: var(--fs-sm); color: var(--text-on-dark-muted); }
.result-band__link { font-weight: 700; font-size: var(--fs-sm); color: var(--white); }

/* Trade picker */
.trade-tabs { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-2); margin-bottom: var(--s-5); scrollbar-width: thin; }
.trade-tabs button { flex: 0 0 auto; padding: .6rem 1.05rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); color: var(--text); font: 700 var(--fs-sm)/1 var(--font-body); cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.trade-tabs button:hover { border-color: var(--ink); }
.trade-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.no-js .trade-tabs { display: none; }
.trade-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--paper); }
.trade-panel + .trade-panel { margin-top: var(--s-5); }
.js .trade-panel + .trade-panel { margin-top: 0; }
.trade-panel[hidden] { display: none; }
.trade-panel__title { font-size: 1.35rem; margin-bottom: var(--s-5); }
.trade-panel__grid { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .trade-panel__grid { grid-template-columns: repeat(3, 1fr); } }
.trade-lead { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); }
.trade-lead__n { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: var(--fs-sm); margin-bottom: var(--s-3); }
.trade-lead strong { display: block; margin-bottom: .3rem; }
.trade-lead p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.trade-panel__foot { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
.trade-panel__foot p { margin: 0; }
.js .trade-panel { animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Lead calculator */
.calc-section { background: radial-gradient(900px 500px at 90% 0%, rgba(240,165,0,.08), transparent 60%), var(--ink); }
.calc { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .calc { grid-template-columns: .9fr 1.1fr; gap: var(--s-9); } }
.calc__intro p { color: var(--text-on-dark-muted); font-size: var(--fs-lg); }
.calc__note { font-size: var(--fs-sm) !important; border-left: 3px solid var(--gold); padding-left: var(--s-4); }
.calc__panel { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: var(--s-5); }
.calc-field label { display: flex; justify-content: space-between; gap: var(--s-3); font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--s-2); }
.calc-field output { color: var(--gold); font-variant-numeric: tabular-nums; }
.calc-field input[type=range] { width: 100%; accent-color: var(--gold); height: 1.6rem; cursor: pointer; }
.calc__results { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 560px) { .calc__results { grid-template-columns: repeat(4, 1fr); } }
.calc__results > div { background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: var(--s-4) var(--s-3); text-align: center; }
.calc__results span { display: block; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__results small { display: block; color: var(--text-on-dark-muted); font-size: var(--fs-xs); margin-top: .2rem; }

/* Scroll reveal (only when JS is running; content is always visible otherwise) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
.calc__intro .eyebrow { font-size: var(--fs-xs); color: var(--gold); }
@media (min-width: 900px) { .hero.hero--home { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); } }

/* ---------- Portfolio device cards ---------- */
.portfolio-grid { display: grid; gap: var(--s-6); }
@media (min-width: 700px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.device-card { margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--t), transform var(--t); }
.device-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.device-card__stage { position: relative; padding: var(--s-5) var(--s-5) 0; background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); aspect-ratio: 16 / 10.5; overflow: hidden; }
.device-desktop { border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); width: 86%; }
.device-desktop::before { content: ""; display: block; height: 14px; background: #e9edf2 radial-gradient(circle at 10px 7px, #ff5f57 3px, transparent 3.5px), radial-gradient(circle at 22px 7px, #febc2e 3px, transparent 3.5px), #e9edf2; background-repeat: no-repeat; }
.device-desktop img { width: 100%; height: auto; display: block; }
.device-phone { position: absolute; right: 5%; bottom: -8%; width: 24%; border: 4px solid #0b141f; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); background: #0b141f; aspect-ratio: 9 / 17; }
.device-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.device-card figcaption { padding: var(--s-5); display: grid; gap: .3rem; }
.device-card__type { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.device-card strong { font-size: 1.15rem; }
.device-card__note { color: var(--text-muted); font-size: var(--fs-sm); }
.device-card .text-link { margin-top: .4rem; font-size: var(--fs-sm); }

/* ---------- Proof wall ---------- */
.proof-wall { display: grid; gap: var(--s-4); }
@media (min-width: 680px) { .proof-wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .proof-wall { grid-template-columns: repeat(3, 1fr); } }
.proof { display: flex; flex-direction: column; gap: var(--s-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.on-dark .proof { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.proof__label { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.on-dark .proof__label { color: var(--gold); }
.proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.proof__stats div { background: var(--paper-2); border-radius: var(--r-md); padding: var(--s-3) var(--s-2); text-align: center; }
.on-dark .proof__stats div { background: var(--ink); }
.proof__stats span { display: block; font-weight: 800; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.on-dark .proof__stats span { color: var(--gold); }
.proof__stats small { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.proof__quote { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.4; color: var(--text); border-left: 3px solid var(--gold); padding-left: var(--s-4); }
.on-dark .proof__quote { color: var(--white); }
.proof__detail { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.proof__shot { margin-top: auto; }
.proof__shot summary { cursor: pointer; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); list-style: none; }
.on-dark .proof__shot summary { color: var(--gold-bright); }
.proof__shot summary::-webkit-details-marker { display: none; }
.proof__shot summary::after { content: " +"; color: var(--gold-deep); }
.proof__shot[open] summary::after { content: " –"; }
.proof__shot img { margin-top: var(--s-3); width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .shots:not(.shots--wide) { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.shots .media-figure img { box-shadow: var(--shadow-sm); }

/* ---------- Video ---------- */
.video-split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .video-split { grid-template-columns: minmax(0, 22rem) 1fr; gap: var(--s-9); } }
.video-frame { width: min(100%, 22rem); margin-inline: auto; border-radius: 22px; overflow: hidden; border: 1px solid rgba(240,165,0,.35); box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); background: #000; aspect-ratio: 9 / 16; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.on-dark .prose p, .on-dark .prose li { color: var(--text-on-dark-muted); }
.on-dark .prose h2 { color: var(--white); }
.stats--card { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: var(--s-3); margin: var(--s-4) 0 var(--s-5); }
.stats--card .stat-value { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); }
.stats--card .stat-label { font-size: var(--fs-xs); }
.grid > * { min-width: 0; }
@media (max-width: 679px) {
  .proof-wall { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .proof { scroll-snap-align: start; }
  .proof-wall::after { content: ""; width: 1px; }
  .portfolio-grid { gap: var(--s-5); }
}

/* ---------- Reels ---------- */
.reels { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 62rem; }
.reel { margin: 0; }
.reel__frame { border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.on-dark .reel__frame { border-color: var(--line-dark); }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { margin-top: var(--s-3); display: grid; gap: .15rem; font-size: var(--fs-sm); color: var(--text-muted); }
.reel figcaption strong { color: var(--text); font-size: var(--fs-base); }
.on-dark .reel figcaption strong { color: var(--white); }
.reel__client { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.on-dark .reel__client { color: var(--gold); }
@media (max-width: 759px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-3); scroll-padding-inline: var(--gutter); }
  .reel { scroll-snap-align: start; }
}
/* Page hero photos */
.hero--page .hero-media img { aspect-ratio: 4 / 3; object-fit: cover; }
/* Trade picker photo */
.trade-panel__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
@media (min-width: 860px) { .trade-panel__head { grid-template-columns: 1fr 15rem; align-items: center; } }
.trade-panel__head .trade-panel__title { margin: 0; }
.trade-panel__photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); display: block; }
@media (max-width: 859px) { .trade-panel__photo { order: -1; } }
@media (max-width: 999px) {
  .hero--page .hero-media { order: -1; }
  .hero--page .hero-media img { aspect-ratio: 16 / 9; }
  .hero--page .hero-split > div:first-child { padding-top: 0; }
}
.on-dark .reel figcaption { color: var(--text-on-dark-muted); }
