/* HGM Full-Site Design System — shared override layer */
:root {
  color-scheme: light;
  --ink: #171b1a;
  --night: #0b0f10;
  --overlay: #070a0b;
  --paper: #f5f3ee;
  --paper-warm: #fcfbf7;
  --gold: #c8a66a;
  --gold-deep: #876533;
  --gold-hover: #dfc28d;
  --gold-ink: #78572b;
  --gold-soft: #eee5d4;
  --gold-soft-line: #ddd0b7;
  --link-gold: #795a2d;
  --muted: #59625f;
  --kicker-gray: #707973;
  --nav-link: #e2e5df;
  --card-meta: #68736e;
  --line: #deded6;
  --line-dark: rgba(255,255,255,.16);
  --paper-dim: rgba(245,243,238,.76);
  --paper-faint: rgba(245,243,238,.59);
  --paper-ghost: rgba(245,243,238,.4);
  --focus: #795a2d;
  --focus-on-dark: #e0c18b;
  --sans: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(22px, 6vw, 88px);
  --section-pad: clamp(76px, 9vw, 144px) var(--gutter);
  --section-pad-mobile: 82px 7vw;
  --h-display-lg: clamp(48px, 7.2vw, 100px);
  --h-display-md: clamp(38px, 5.3vw, 72px);
  --h-display-sm: clamp(30px, 3.6vw, 50px);
  --tracking-display: -.055em;
  --label-size: 10px;
  --label-tracking: .15em;
  --shadow-card: 0 18px 48px rgba(18,23,21,.06);
  --shadow-elevated: 0 26px 64px rgba(18,23,21,.12);
  --shadow-dark: 0 24px 70px rgba(0,0,0,.35);
  --shadow-cookie: 0 20px 60px rgba(0,0,0,.24);
  --shadow-panel: 0 24px 72px rgba(0,0,0,.32);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: .18s;
  --t-med: .28s;
  --t-slow: .48s;
  --radius-pill: 999px;
  --radius-card: 8px;
  --hgm-hero-image: url("/images/og-card.jpg");
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf0ea;
  --paper: #101513;
  --paper-warm: #171d1a;
  --gold-deep: #d9bc84;
  --gold-ink: #ddc28f;
  --gold-soft: #1c211d;
  --gold-soft-line: #363a30;
  --link-gold: #e3c98f;
  --muted: #b2bbb4;
  --kicker-gray: #a5afa8;
  --card-meta: #a5afa8;
  --line: #303833;
  --focus: #e0c18b;
  --shadow-card: 0 18px 48px rgba(0,0,0,.2);
  --shadow-elevated: 0 26px 64px rgba(0,0,0,.34);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body * { box-sizing: border-box; }
body img { max-width: 100%; }
html.a11y-text-large body { font-size: 110%; }
html.a11y-text-larger body { font-size: 122%; }
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: .2em; }
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
body ::selection { background: var(--gold); color: var(--night); }
body :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
body.home :focus-visible { outline-color: var(--focus-on-dark); }
body .site-shell { overflow: clip; }
body .site-shell main { isolation: isolate; }
body .skip-link { position: fixed; z-index: 120; left: 16px; top: -80px; padding: 12px 18px; color: var(--paper); background: var(--night); border: 1px solid var(--gold); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: top .2s ease; }
body .skip-link:focus { top: 16px; }

/* Shared floating navigation */
body .topbar {
  position: fixed; z-index: 90; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1340px, calc(100% - 36px)); height: 66px; padding: 0 clamp(18px, 2.6vw, 38px);
  border: 1px solid rgba(217,194,151,.2); border-radius: 5px;
  background: rgba(9,13,14,.88); color: var(--paper);
  box-shadow: 0 14px 38px rgba(0,0,0,.15); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
body .wordmark { gap: 10px; font: 600 13px var(--mono); letter-spacing: .22em; color: var(--paper); }
body .wordmark__img { display: block; width: 28px; height: 28px; object-fit: contain; border-radius: 2px; }
body .wordmark span { color: var(--paper); }
body .desktop-nav { gap: clamp(14px, 2vw, 30px); }
body .desktop-nav a, body .desktop-nav button { color: rgba(245,243,238,.74); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; white-space: nowrap; }
body .desktop-nav a:hover, body .desktop-nav a[aria-current="page"] { color: var(--gold-hover); text-shadow: none; }
body .desktop-nav small { color: var(--gold); }
body .nav-actions { gap: 12px; }
body .booking-button, body.home .booking-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 19px;
  border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #121513;
  font: 600 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; box-shadow: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
body .booking-button:hover { background: var(--gold-hover); border-color: var(--gold-hover); transform: translateY(-1px); }
body .menu-button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(245,243,238,.2); border-radius: 3px; background: transparent; color: var(--paper); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease, background .2s ease; }
body .menu-button:hover { border-color: var(--gold); background: rgba(200,166,106,.08); color: var(--gold-hover); }
body .menu-bars { font: 16px/1 var(--sans); }

/* Site-wide page title system */
body:not(.home) .page-hero {
  position: relative; isolation: isolate; min-height: 430px; padding: clamp(190px, 18vw, 250px) var(--gutter) clamp(82px, 9vw, 132px);
  overflow: hidden; color: var(--paper); background-color: var(--night);
  background-image: linear-gradient(90deg, rgba(8,12,13,.97) 0%, rgba(8,12,13,.86) 43%, rgba(8,12,13,.42) 100%), var(--hgm-hero-image), url("/images/og-card.jpg");
  background-position: center right; background-size: cover; border-bottom: 1px solid rgba(200,166,106,.28);
}
body:not(.home) .page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(7,10,11,.36)); }
body:not(.home) .page-hero > * { position: relative; z-index: 1; }
body:not(.home) .page-hero .eyebrow, body:not(.home) .page-hero .section-kicker { color: var(--gold-hover); font: 500 10px var(--mono); letter-spacing: .17em; text-transform: uppercase; }
body:not(.home) .page-hero h1 { max-width: 950px; margin: 0; color: var(--paper); font-size: clamp(46px, 7vw, 92px); font-weight: 500; line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
body:not(.home) .page-hero h1 em, body:not(.home) .page-hero h1 strong { color: var(--gold-hover); font-style: normal; font-weight: inherit; }
body:not(.home) .page-hero .lede { max-width: 690px; margin: 25px 0 0; color: rgba(245,243,238,.76); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; }
body:not(.home) .page-hero .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 34px; }
body:not(.home) .page-hero .text-link { color: rgba(245,243,238,.76); }
body:not(.home) .page-hero .text-link:hover { color: var(--gold-hover); }
body.home .hero { min-height: min(920px, 100svh); height: auto; position: relative; isolation: isolate; display: flex; align-items: center; padding: 165px var(--gutter) 112px; background: var(--night); }
body.home .hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: .72; transform: none; }
body.home .hero-vignette { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,12,13,.96) 0%, rgba(8,12,13,.78) 48%, rgba(8,12,13,.18) 100%), linear-gradient(0deg, rgba(8,12,13,.76), transparent 50%); }
body.home .hero-grain { display: none; }
body.home .hero-copy { width: min(780px, 100%); margin: 0; }
body.home .hero-badge { color: var(--gold-hover); border-color: rgba(200,166,106,.42); background: rgba(11,15,16,.48); font: 500 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
body.home .hero-badge i { background: #9eae9f; box-shadow: 0 0 0 4px rgba(158,174,159,.14); }
body.home .hero-copy h1 { max-width: 800px; margin: 27px 0 22px; color: var(--paper); font-size: clamp(52px, 8.1vw, 112px); font-weight: 500; line-height: .94; letter-spacing: -.075em; text-wrap: balance; }
body.home .hero-copy h1 em { color: var(--gold-hover); font-weight: 500; }
body.home .hero-copy h1 em::after { display: none; }
body.home .hero-tagline { max-width: 645px; color: rgba(245,243,238,.8); font-size: clamp(17px, 1.65vw, 20px); line-height: 1.65; }
body.home .hero-proof { gap: 9px; margin-top: 25px; }
body.home .hero-proof span { color: rgba(245,243,238,.76); border-color: rgba(245,243,238,.2); background: rgba(11,15,16,.36); font: 500 9px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
body.home .hero-proof span::before { background: var(--gold); }
body.home .hero-actions { gap: 14px; margin-top: 34px; }
body.home .hero-cta, body.home .light-cta, body.home .product-cta, body:not(.home) .light-cta, body:not(.home) .dark-cta {
  min-height: 50px; padding: 0 22px; border: 1px solid var(--gold); border-radius: 3px;
  background: var(--gold); color: #131614; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: none; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
body.home .hero-cta:hover, body.home .light-cta:hover, body.home .product-cta:hover, body:not(.home) .light-cta:hover, body:not(.home) .dark-cta:hover { transform: translateY(-2px); background: var(--gold-hover); border-color: var(--gold-hover); color: #111513; }
body.home .hero-cta--secondary { min-height: 50px; padding: 0 18px; border: 1px solid rgba(245,243,238,.3); border-radius: 3px; background: rgba(8,12,13,.24); color: var(--paper); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
body.home .hero-cta--secondary:hover { border-color: var(--gold); color: var(--gold-hover); }
body.home .hero-note { max-width: 620px; color: rgba(245,243,238,.63); font-size: 13px; }
body.home .hero-note a { color: var(--gold-hover); }

/* Editorial sections, service/product grids, tools, articles and case studies */
body:not(.home) .page-section,
body:not(.home) .services-section,
body:not(.home) .assessment-section,
body:not(.home) .metrics-section,
body:not(.home) .article-section,
body:not(.home) .proof-section,
body:not(.home) .case-section,
body:not(.home) .faq-section { padding: var(--section-pad); background: var(--paper); color: var(--ink); border-top: 1px solid rgba(23,27,26,.055); }
body:not(.home) .page-section--dark,
body:not(.home) .schema-section,
body:not(.home) .intel-section { background: var(--night); color: var(--paper); }
body:not(.home) .section-kicker, body:not(.home) .section-index, body:not(.home) .eyebrow { font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
body:not(.home) .section-kicker { color: var(--gold-ink); }
body:not(.home) .section-index { color: var(--kicker-gray); }
body:not(.home) .page-section--dark .section-kicker, body:not(.home) .schema-section .section-kicker, body:not(.home) .intel-section .section-kicker { color: var(--gold-hover); }
body:not(.home) main h2, body:not(.home) main h3 { text-wrap: balance; }
body:not(.home) main h2 { color: var(--ink); font-size: clamp(34px, 4.9vw, 67px); line-height: 1; letter-spacing: -.06em; font-weight: 500; }
body:not(.home) .page-section--dark h2, body:not(.home) .schema-section h2, body:not(.home) .intel-section h2 { color: var(--paper); }
body:not(.home) main h2 em, body:not(.home) main h3 em { color: var(--gold-ink); font-style: normal; }
body:not(.home) .page-section--dark h2 em, body:not(.home) .schema-section h2 em, body:not(.home) .intel-section h2 em { color: var(--gold-hover); }
body:not(.home) .lede, body:not(.home) .article-body, body:not(.home) .article-body p { color: var(--muted); line-height: 1.78; }
body:not(.home) .page-section--dark .lede, body:not(.home) .page-section--dark .article-body, body:not(.home) .schema-section .lede, body:not(.home) .schema-section p, body:not(.home) .intel-section p { color: var(--paper-dim); }
body:not(.home) .article-body { max-width: 760px; font-size: 16px; }
body:not(.home) .article-body p + p { margin-top: 1.15em; }
body:not(.home) .article-body h2, body:not(.home) .article-body h3 { margin-top: 2.1em; }
body:not(.home) a:not(.booking-button):not(.light-cta):not(.dark-cta):not(.graph-menu__card) { text-decoration-thickness: .08em; text-underline-offset: .2em; }
body:not(.home) .article-body a, body:not(.home) main p a:not(.light-cta):not(.dark-cta) { color: var(--link-gold); text-decoration: underline; }
body:not(.home) .article-body a:hover, body:not(.home) main p a:not(.light-cta):not(.dark-cta):hover { color: var(--ink); }
body:not(.home) .page-section--dark .article-body a, body:not(.home) .schema-section a, body:not(.home) .intel-section a { color: var(--gold-hover); }
body:not(.home) .section-intro { gap: 20px; margin-bottom: clamp(34px, 5vw, 68px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
body:not(.home) .page-section--dark .section-intro, body:not(.home) .schema-section .section-intro { border-color: var(--line-dark); }
body:not(.home) .services-head { margin-bottom: clamp(38px, 5vw, 70px); }
body:not(.home) .services-grid { border-top-color: var(--line); }
body:not(.home) .service-card { min-height: 250px; padding-top: 26px; transition: background .22s ease, transform .22s ease, border-color .22s ease; }
body:not(.home) .service-card:hover { background: rgba(200,166,106,.07); box-shadow: none; transform: translateY(-3px); }
body:not(.home) .service-card h3 { max-width: 340px; margin-top: 32px; color: var(--ink); font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 500; }
body:not(.home) .service-card:hover h3 { color: var(--gold-ink); }
body:not(.home) .service-card p { max-width: 360px; color: var(--muted); line-height: 1.7; }
body:not(.home) .service-card > span, body:not(.home) .card-label, body:not(.home) .intel-label { color: var(--gold-ink); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
body:not(.home) .assessment-card, body:not(.home) .stat-card, body:not(.home) .gas-card, body:not(.home) .case-card, body:not(.home) .product-card, body:not(.home) .result-card {
  border: 1px solid var(--line); border-radius: 5px; background: var(--paper-warm); box-shadow: var(--shadow-card);
}
body:not(.home) .assessment-card { border-color: var(--gold-soft-line); background: var(--gold-soft); }
body:not(.home) .assessment-card h3 { color: var(--ink); }
body:not(.home) .assessment-card p:not(.card-label) { color: var(--muted); line-height: 1.7; }
body:not(.home) .assessment-card a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
body:not(.home) .step, body:not(.home) .step__num { transition: color .2s ease, border-color .2s ease, background .2s ease; }
body:not(.home) .step__num { color: var(--gold-ink); }
body:not(.home) .feature-list p { font-size: 13px; line-height: 1.6; }
body:not(.home) .metrics-band { border-color: var(--line); }
body:not(.home) .metric { border-color: var(--line); }
body:not(.home) .metric strong { color: var(--ink); font-weight: 500; }
body:not(.home) .metric strong em { color: var(--gold-ink); }
body:not(.home) .spec-table, body:not(.home) table { border-color: var(--line); }
body:not(.home) .spec-row, body:not(.home) th, body:not(.home) td { border-color: var(--line); }
body:not(.home) .spec-row dt { color: var(--muted); }
body:not(.home) pre, body:not(.home) .code-block, body:not(.home) .code-sample { max-width: 100%; overflow-x: auto; border: 1px solid rgba(200,166,106,.26); border-radius: 4px; background: #101615; color: #ecede7; }
body:not(.home) :not(pre) > code { padding: .12em .38em; border: 1px solid rgba(120,87,43,.16); border-radius: 3px; background: rgba(200,166,106,.12); font-size: .9em; }

/* Conversion close, common buttons and inputs */
body:not(.home) .contact-strip { position: relative; gap: 34px; padding: clamp(54px, 7vw, 90px) var(--gutter); background: var(--night); color: var(--paper); border-top: 1px solid rgba(200,166,106,.25); }
body:not(.home) .contact-strip h2 { max-width: 780px; margin: 10px 0 0; color: var(--paper); font-size: clamp(36px, 5.5vw, 70px); line-height: .98; font-weight: 500; letter-spacing: -.06em; }
body:not(.home) .contact-strip h2 em { color: var(--gold-hover); font-style: normal; }
body:not(.home) .contact-strip .section-kicker { color: var(--gold-hover); }
body:not(.home) .contact-strip > a, body:not(.home) .contact-strip a:not(.text-link) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #111513; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, background .2s ease; }
body:not(.home) .contact-strip a:hover { transform: translateY(-2px); background: var(--gold-hover); }
body:not(.home) .dark-cta, body:not(.home) .light-cta { margin-top: 0; text-decoration: none; }
body:not(.home) .text-link { color: var(--gold-ink); }
body:not(.home) .contact-form input, body:not(.home) .contact-form textarea, body:not(.home) .contact-form select, body:not(.home) input, body:not(.home) textarea, body:not(.home) select {
  border-radius: 3px; border-color: #d2d3cc; background: var(--paper-warm); color: var(--ink); font: 400 15px var(--sans); transition: border-color .18s ease, box-shadow .18s ease;
}
body:not(.home) .contact-form input:focus, body:not(.home) .contact-form textarea:focus, body:not(.home) .contact-form select:focus, body:not(.home) input:focus, body:not(.home) textarea:focus, body:not(.home) select:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(200,166,106,.18); outline: none; }
body:not(.home) button[type="submit"], body:not(.home) input[type="submit"] { border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #111513; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
body:not(.home) button[type="submit"]:hover, body:not(.home) input[type="submit"]:hover { background: var(--gold-hover); }

/* Shared menu overlay and footer */
body .graph-menu { z-index: 100; background: rgba(7,10,11,.97); color: var(--paper); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
body .graph-menu__inner { max-width: 1320px; }
body .graph-menu__brand { color: var(--paper); font: 500 32px var(--sans); letter-spacing: .18em; }
body .graph-menu__brand span { color: var(--gold); }
body .graph-menu__card { border-color: rgba(245,243,238,.16); background: rgba(255,255,255,.025); border-radius: 3px; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
body .graph-menu__card:hover { border-color: rgba(200,166,106,.7); background: rgba(200,166,106,.08); transform: translateY(-2px); }
body .graph-menu__num, body .graph-menu__footer .section-kicker, body .graph-menu__contact .section-kicker { color: var(--gold-hover); }
body .graph-menu__label { font-weight: 500; }
body .site-footer { padding: clamp(60px, 7vw, 100px) var(--gutter) 28px; background: #080c0d; color: var(--paper); border-top: 1px solid rgba(200,166,106,.2); }
body .footer-top { max-width: 1380px; gap: clamp(44px, 7vw, 108px); border-bottom-color: rgba(245,243,238,.12); }
body .footer-logo { margin-bottom: 18px; color: var(--gold-hover); font: 500 24px var(--mono); letter-spacing: .22em; }
body .footer-brand > p { max-width: 360px; color: rgba(245,243,238,.67); font-size: 14px; line-height: 1.75; }
body .footer-col h3 { color: var(--gold-hover); font-size: 10px; letter-spacing: .16em; }
body .footer-col a { color: rgba(245,243,238,.65); font-size: 13px; line-height: 1.55; }
body .footer-col a:hover { padding-left: 3px; color: var(--gold-hover); }
body .footer-socials a { border-radius: 3px; border-color: rgba(245,243,238,.19); color: rgba(245,243,238,.74); }
body .footer-socials a:hover { border-color: var(--gold); color: var(--gold-hover); }
body .footer-bottom { max-width: 1380px; }
body .footer-copy, body .footer-legal a, body .tel-link { color: rgba(245,243,238,.53); }
body .footer-legal a:hover, body .tel-link:hover { color: var(--gold-hover); }
body .cookie-bar { z-index: 110; border: 1px solid rgba(200,166,106,.45); border-radius: 4px; background: rgba(9,13,14,.97); color: var(--paper); box-shadow: var(--shadow-cookie); }
body .cookie-bar button { border-radius: 3px; }
body .cookie-bar [data-choice="accepted"] { background: var(--gold); color: #111513; }
body .cookie-bar [data-choice="declined"] { border-color: rgba(245,243,238,.32); background: transparent; color: var(--paper); }

/* Homepage continuation */
body.home .graph-series-section, body.home .beta-section, body.home .schema-section, body.home .process-section { padding: var(--section-pad); }
body.home .graph-series-section, body.home .beta-section { background: var(--paper); color: var(--ink); }
body.home .graph-series-section h2, body.home .beta-section h2, body.home .process-section h2 { font-weight: 500; letter-spacing: -.06em; }
body.home .graph-series-section h2 em, body.home .beta-section h2 em { color: var(--gold-ink); }
body.home .graph-chip, body.home .beta-card { border-color: var(--line); border-radius: 5px; box-shadow: var(--shadow-card); }
body.home .graph-chip { background: var(--paper-warm); }
body.home .graph-chip:hover { border-color: var(--gold); box-shadow: var(--shadow-elevated); transform: translateY(-3px); }
body.home .graph-chip__num, body.home .beta-card__date { color: var(--gold-ink); }
body.home .beta-card__visual { overflow: hidden; border-radius: 4px; background: #e8e6df; }
body.home .beta-card__visual img { transition: transform .45s var(--ease); }
body.home .beta-card:hover .beta-card__visual img { transform: scale(1.025); }
body.home .product-art { position: relative; display: grid; min-height: 248px; overflow: hidden; padding: 24px; color: #f3f0e8; background: radial-gradient(ellipse at 70% 10%, rgba(200,166,106,.2), transparent 48%), linear-gradient(145deg, #18201e, #0b0f10 74%); font-family: var(--mono); }
body.home .product-art::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(245,243,238,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,238,.1) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000); }
body.home .product-art__eyebrow { position: relative; color: var(--gold-hover); font-size: 9px; letter-spacing: .16em; }
body.home .product-art__node { position: absolute; z-index: 1; padding: 9px 12px; border: 1px solid rgba(200,166,106,.45); border-radius: 3px; background: rgba(10,15,15,.8); color: rgba(245,243,238,.9); font-size: 9px; letter-spacing: .04em; }
body.home .product-art__node--core { top: 46%; left: 50%; transform: translate(-50%,-50%); border-color: var(--gold); color: var(--gold-hover); }
body.home .product-art__node--one { top: 28%; left: 14%; }
body.home .product-art__node--two { top: 28%; right: 12%; }
body.home .product-art__node--three { right: 14%; bottom: 16%; }
body.home .product-art__connector { position: absolute; left: 21%; top: 48%; width: 58%; height: 1px; background: linear-gradient(90deg,transparent,rgba(200,166,106,.58),transparent); transform: rotate(-18deg); }
body.home .product-art--copy .product-art__node--core { top: 52%; left: 42%; }
body.home .product-art--copy .product-art__node--one { top: 29%; left: 9%; }
body.home .product-art--copy .product-art__node--two { top: 25%; right: 9%; }
body.home .product-art--copy .product-art__node--three { right: 11%; bottom: 12%; }
body.home .product-art__status { position: absolute; right: 22px; bottom: 20px; color: rgba(245,243,238,.66); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
body.home .schema-section { background: #101514; }
body.home .schema-node { border-radius: 3px; }
body.home .process-section { background: var(--paper); color: var(--ink); }
body.home .process-title { font-weight: 500; }
body.home .process-title em { color: var(--gold-ink); }
body.home .process-step { border-color: var(--line); }
body.home .process-step__num { color: var(--gold-ink); }
body.home .founder-lede { max-width: 800px; color: var(--muted); font-size: 18px; line-height: 1.75; }
body.home .founder-line { max-width: 850px; border-left-color: var(--gold); color: var(--ink); }
body.home .contact-strip { padding: clamp(70px, 8vw, 116px) var(--gutter); background: #0a0e0f; }
body.home .contact-inner { max-width: 1380px; }
body.home .contact-copy h2 { font-weight: 500; letter-spacing: -.06em; }
body.home .contact-copy h2 em { color: var(--gold-hover); }
body.home .contact-copy p { color: rgba(245,243,238,.72); }
body.home .contact-copy .section-kicker { color: var(--gold-hover); }
body.home .site-footer { padding-top: 72px; }
body.home .reveal { opacity: 1; transform: none; }
body:not(.home) .reveal.is-visible, body:not(.home) .reveal.visible { opacity: 1; transform: none; }

/* Existing HGM tools and forms remain recognizable, with shared surfaces */
body .hb-c-dim, body .hb-app, body .gas-body, body .tool-shell, body .app-shell { --surface: var(--paper-warm); }
body .hb-c-dim { color: var(--muted); }
body .hb-c-gold { color: var(--gold-ink); }
body .hb-c-green { color: #4f7463; }
body .tool-card, body .tool-panel, body .gas-card, body .hb-panel { border-radius: 5px; }
body details > summary { cursor: pointer; }
body details[open] > summary { color: var(--gold-ink); }

@media (max-width: 1100px) {
  body .desktop-nav { gap: 14px; }
  body .desktop-nav a, body .desktop-nav button { font-size: 9px; letter-spacing: .07em; }
  body .nav-actions { gap: 8px; }
  body .booking-button { padding: 0 13px; }
}
@media (max-width: 900px) {
  body .topbar { top: 10px; width: calc(100% - 22px); height: 60px; padding: 0 15px; }
  body .desktop-nav { display: none; }
  body .footer-top { grid-template-columns: 1fr; }
  body .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body:not(.home) .page-hero { min-height: 390px; padding-top: 180px; }
  body:not(.home) .page-section, body:not(.home) .services-section, body:not(.home) .assessment-section, body:not(.home) .metrics-section, body:not(.home) .article-section, body:not(.home) .proof-section, body:not(.home) .faq-section { padding: 74px 7vw; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 80px; }
  body .topbar { top: 8px; height: 56px; padding: 0 12px; }
  body .wordmark { gap: 7px; font-size: 12px; }
  body .wordmark__img { width: 25px; height: 25px; }
  body .booking-button { min-height: 36px; padding: 0 10px; font-size: 9px; letter-spacing: .035em; }
  body .menu-button { padding: 9px 10px; font-size: 9px; }
  body .menu-button > span:last-child { display: none; }
  body:not(.home) .page-hero { min-height: 0; padding: 150px 7vw 66px; background-position: 62% center; }
  body:not(.home) .page-hero h1 { font-size: clamp(42px, 13vw, 66px); }
  body:not(.home) .page-hero .lede { font-size: 16px; }
  body:not(.home) .page-hero .hero-actions { align-items: stretch; flex-direction: column; }
  body:not(.home) .page-hero .hero-actions > * { justify-content: center; }
  body.home .hero { min-height: 760px; padding: 138px 7vw 78px; align-items: center; }
  body.home .hero-copy h1 { font-size: clamp(48px, 14vw, 70px); }
  body.home .hero-tagline { font-size: 16px; }
  body.home .hero-proof { gap: 7px; }
  body.home .hero-proof span { font-size: 8px; }
  body.home .hero-actions { align-items: stretch; flex-direction: column; }
  body.home .hero-actions > * { justify-content: center; }
  body.home .graph-series-section, body.home .beta-section, body.home .schema-section, body.home .process-section { padding: var(--section-pad-mobile); }
  body.home .process-steps, body.home .graph-series-strip { grid-template-columns: 1fr; }
  body.home .contact-inner { align-items: stretch; }
  body.home .contact-actions { align-items: stretch; flex-direction: column; width: 100%; }
  body .graph-menu__inner { padding: 90px 7vw 56px; }
  body .graph-menu__nav { grid-template-columns: 1fr; }
  body .graph-menu__top { align-items: flex-start; flex-direction: column; }
  body .graph-menu__contact { text-align: left; }
  body .footer-links { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  body .footer-bottom { align-items: flex-start; flex-direction: column; }
  body:not(.home) .contact-grid { gap: 38px; }
  body:not(.home) .services-grid { grid-template-columns: 1fr; }
  body:not(.home) .service-card, body:not(.home) .service-card:nth-child(n) { min-height: 0; padding: 24px 0; border-right: 0; }
  body:not(.home) .assessment-grid { grid-template-columns: 1fr; gap: 34px; }
  body:not(.home) .metrics-band { grid-template-columns: 1fr 1fr; }
  body:not(.home) .feature-list { grid-template-columns: 1fr; }
  body .cookie-bar { right: 12px; bottom: 12px; left: 12px; flex-direction: column; align-items: stretch; gap: 12px; text-align: left; }
  body .cookie-bar__actions { justify-content: stretch; }
  body .cookie-bar__actions button { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Refined motion system: editorial hero, conversion CTA, and step/funnel progression. */
@keyframes hgm-hero-rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes hgm-hero-drift {
  from { opacity: .54; transform: scale(1.055); }
  to { opacity: .72; transform: scale(1); }
}
@keyframes hgm-cta-sheen {
  to { background-position: -125% 0; }
}

/* 01 — A quiet, editorial entrance for the home hero and each internal page title. */
body.home .hero-image { animation: hgm-hero-drift 1.7s var(--ease) both; }
body.home .hero-copy .hero-badge { animation: hgm-hero-rise .72s var(--ease) .04s both; }
body.home .hero-copy h1 { animation: hgm-hero-rise .82s var(--ease) .12s both; }
body.home .hero-copy .hero-tagline { animation: hgm-hero-rise .76s var(--ease) .23s both; }
body.home .hero-copy .hero-proof { animation: hgm-hero-rise .7s var(--ease) .31s both; }
body.home .hero-copy .hero-actions { animation: hgm-hero-rise .72s var(--ease) .39s both; }
body.home .hero-copy .hero-note { animation: hgm-hero-rise .68s var(--ease) .47s both; }
body:not(.home) .page-hero > .eyebrow,
body:not(.home) .page-hero > .section-kicker { animation: hgm-hero-rise .72s var(--ease) .04s both; }
body:not(.home) .page-hero > h1 { animation: hgm-hero-rise .82s var(--ease) .13s both; }
body:not(.home) .page-hero > .lede { animation: hgm-hero-rise .76s var(--ease) .24s both; }
body:not(.home) .page-hero > .hero-actions { animation: hgm-hero-rise .72s var(--ease) .35s both; }
body:not(.home) .page-hero .hero-actions > :nth-child(2) { animation: hgm-hero-rise .7s var(--ease) .44s both; }
body .hgm-hero-title-fallback { animation: hgm-hero-rise .78s var(--ease) .1s both; }

/* 02 — Conversion panels and contact fields assemble gently on scroll. */
body .hgm-motion-cta { position: relative; }
body .hgm-motion-cta .hgm-cta-item {
  opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(3px);
  transition: opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease);
  transition-delay: calc(var(--hgm-motion-index, 0) * 90ms);
}
body .hgm-motion-cta.hgm-motion-visible .hgm-cta-item { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
body .hgm-motion-cta::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease);
}
body .hgm-motion-cta.hgm-motion-visible::after { transform: scaleX(1); }
body .contact-strip > a:not(.text-link),
body .contact-inner .contact-actions > a:first-child,
body .contact-form button[type="submit"] {
  background-image: linear-gradient(110deg, transparent 0%, transparent 38%, rgba(255,255,255,.34) 50%, transparent 63%);
  background-repeat: no-repeat; background-size: 240% 100%; background-position: 125% 0;
}
body .contact-strip > a:not(.text-link):hover,
body .contact-inner .contact-actions > a:first-child:hover,
body .contact-form button[type="submit"]:hover,
body .contact-strip > a:not(.text-link):focus-visible,
body .contact-inner .contact-actions > a:first-child:focus-visible,
body .contact-form button[type="submit"]:focus-visible { animation: hgm-cta-sheen .95s ease-out 1; }
body .contact-form input:focus,
body .contact-form select:focus,
body .contact-form textarea:focus { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(200,166,106,.2); }

/* 03 — The MVP/process journey reads like a sequence, with a restrained stagger per step. */
body .hgm-motion-funnel .hgm-funnel-step {
  opacity: 0; transform: translate3d(0, 22px, 0) scale(.988); filter: blur(3px);
  transition: opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease);
  transition-delay: calc(var(--hgm-step-index, 0) * 105ms);
}
body .hgm-motion-funnel.hgm-motion-visible .hgm-funnel-step { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
body .hgm-motion-funnel .hgm-funnel-step .step__num,
body .hgm-motion-funnel .hgm-funnel-step .process-step__num { transition: color .45s ease, transform .55s var(--ease); }
body .hgm-motion-funnel .hgm-funnel-step .step__num,
body .hgm-motion-funnel .hgm-funnel-step .process-step__num { transform: scale(.88); }
body .hgm-motion-funnel.hgm-motion-visible .hgm-funnel-step .step__num,
body .hgm-motion-funnel.hgm-motion-visible .hgm-funnel-step .process-step__num { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  body.home .hero-image,
  body.home .hero-copy .hero-badge,
  body.home .hero-copy h1,
  body.home .hero-copy .hero-tagline,
  body.home .hero-copy .hero-proof,
  body.home .hero-copy .hero-actions,
  body.home .hero-copy .hero-note,
  body:not(.home) .page-hero > .eyebrow,
  body:not(.home) .page-hero > .section-kicker,
  body:not(.home) .page-hero > h1,
  body:not(.home) .page-hero > .lede,
  body:not(.home) .page-hero > .hero-actions,
  body:not(.home) .page-hero .hero-actions > :nth-child(2),
  body .hgm-hero-title-fallback { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  body .hgm-motion-cta .hgm-cta-item,
  body .hgm-motion-funnel .hgm-funnel-step { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  body .hgm-motion-cta::after { transform: none !important; transition: none !important; }
}
html.a11y-reduce-motion body.home .hero-image,
html.a11y-reduce-motion body.home .hero-copy > *,
html.a11y-reduce-motion body:not(.home) .page-hero > *,
html.a11y-reduce-motion body .hgm-hero-title-fallback { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
html.a11y-reduce-motion body .hgm-motion-cta .hgm-cta-item,
html.a11y-reduce-motion body .hgm-motion-funnel .hgm-funnel-step { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.a11y-reduce-motion body .hgm-motion-cta::after { transform: none !important; transition: none !important; }

/* Preserve the native hidden state of the full-screen navigation drawer. */
body .graph-menu[hidden] { display: none !important; }
