/* AMG Coaching — dark & bold, one accent */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: #2a2a2e;
  --text: #f4f4f2;
  --muted: #a3a3a8;
  --accent: #1f8fff;      /* electric blue */
  --accent-rgb: 31,143,255;
  --accent-ink: #0a0a0b;
  --radius: 14px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.hl { color: var(--accent); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px rgba(var(--accent-rgb),.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(var(--accent-rgb),.75); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(10,10,11,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; font-weight: 900; letter-spacing: -0.02em; }
.logo-mark { font-size: 1.5rem; }
.logo-mark span { color: var(--accent); }
.logo-sub { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .logo-sub { display: none; }
  .site-nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 40px;
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a { font-size: 1.7rem; font-weight: 900; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; text-transform: uppercase; }
}

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.alt { background: var(--bg-2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.cta-note { font-size: .9rem; color: var(--muted); }

/* Placeholder styling — so nothing fake ever looks real */
.ph {
  position: relative; border: 2px dashed #2c4f7c; background:
    repeating-linear-gradient(45deg, rgba(var(--accent-rgb),.04) 0 14px, transparent 14px 28px), var(--bg-3);
  border-radius: var(--radius); color: #b8d8ff; display: grid; place-items: center; text-align: center;
  padding: 24px; font-size: .9rem; font-weight: 600;
}
.ph::before {
  content: "PLACEHOLDER"; position: absolute; top: 10px; left: 10px; font-size: .66rem; letter-spacing: .14em;
  background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 5px; font-weight: 900;
}
.ph-inline { border: 1px dashed #2c4f7c; background: rgba(var(--accent-rgb),.06); color: #b8d8ff; padding: 1px 6px; border-radius: 5px; font-weight: 600; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.16), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 .line { display: block; }
.hero .lede { margin-bottom: 0; }
.hero-photo { aspect-ratio: 4 / 5; min-height: 320px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { font-size: .82rem; font-weight: 700; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 5 / 4; min-height: 0; }
}

/* Credentials strip */
.creds { padding: 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.creds li { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.creds li:first-child { border-left: 0; }
.creds strong { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.01em; }
.creds span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pain .x { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,90,90,.12); color: #ff7a7a; font-weight: 900; margin-bottom: 16px; }
.pain h3 { font-size: 1.12rem; margin-bottom: .4em; }
.pain p { color: var(--muted); margin: 0; font-size: .97rem; }
.pain-close { margin-top: 40px; font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 800; max-width: 34ch; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

/* Method pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: p; }
.pillar { position: relative; padding: 32px 28px 30px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.pillar::before {
  counter-increment: p; content: "0" counter(p); position: absolute; right: 18px; top: 6px;
  font-size: 5.5rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px #333338; line-height: 1;
}
.pillar h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .6em; }
.pillar h3 span { color: var(--accent); }
.pillar ul { margin: 0; padding: 0; list-style: none; }
.pillar li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); border-top: 1px solid var(--line); font-size: .97rem; }
.pillar li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 2px; background: var(--accent); }
.pillar > p { color: var(--text); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; }
.about-copy p { color: #d6d6d3; }
.about-copy .sig { font-weight: 900; font-size: 1.1rem; color: var(--text); margin-top: 18px; }
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; font-size: 1.25rem; font-weight: 800; color: var(--text) !important; margin: 26px 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 5 / 4; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pkg { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.pkg.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -30px rgba(var(--accent-rgb),.45); position: relative; }
.pkg .tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.pkg h3 { font-size: 1.45rem; margin-bottom: .2em; }
.pkg .for { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pkg .price { font-weight: 900; font-size: 1.05rem; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 18px; }
.pkg .price small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.pkg li { padding: 7px 0 7px 28px; position: relative; font-size: .97rem; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.pkg .btn { width: 100%; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { display: flex; flex-direction: column; gap: 14px; }
.testi .ph.photo { aspect-ratio: 1 / 1; }
.testi .ph.text { min-height: 150px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Lead magnet */
.magnet { background: var(--accent); color: var(--accent-ink); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.magnet .eyebrow { color: var(--accent-ink); opacity: .7; }
.magnet h2 { color: var(--accent-ink); }
.magnet p { color: #06213f; }
.magnet ul { margin: 0 0 4px; padding-left: 20px; font-weight: 600; }
.signup { display: grid; gap: 10px; }
.signup input { min-height: 54px; border-radius: 12px; border: 2px solid var(--accent-ink); background: #fff; color: #111; padding: 0 16px; font-size: 1rem; font-family: inherit; }
.signup .btn { background: var(--accent-ink); color: var(--accent); min-height: 54px; }
.signup .btn:hover { transform: translateY(-2px); }
.signup .fine { font-size: .82rem; color: #0d2f57; margin: 2px 0 0; }
.form-status { font-weight: 700; min-height: 1.2em; margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 800; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* Final CTA */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(var(--accent-rgb),.18), transparent 60%); pointer-events: none; }
.final h2 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
.final .lede { margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* Small screens: keep header CTA compact */
@media (max-width: 420px) {
  .header-actions .btn-sm { padding: 0 14px; font-size: .85rem; }
}

/* Pricing — blocked out until launch */
.pkg .price.soon { position: relative; border-radius: 10px; border: 0; padding: 0; margin-bottom: 18px; overflow: hidden; }
.pkg .price.soon .blur { display: block; padding: 14px 16px; filter: blur(7px); opacity: .5; user-select: none; }
.pkg .price.soon .badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 10px, transparent 10px 20px), rgba(26,26,29,.75);
  border: 1px dashed var(--line); border-radius: 10px;
  font-size: .82rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.pkg .via { font-size: .85rem; color: var(--muted); margin: -6px 0 16px; }
.pkg .via strong { color: var(--text); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.14), transparent 65%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); max-width: 16ch; }
.page-hero .lede { max-width: 52ch; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc.flip .svc-media { order: 2; }
.svc-media { aspect-ratio: 4 / 3; }
.svc h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.svc .pkg-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.svc ul.check { list-style: none; padding: 0; margin: 0 0 24px; }
.svc ul.check li { padding: 7px 0 7px 28px; position: relative; }
.svc ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.svc .price.soon { max-width: 320px; }
.svc .pkg { background: none; border: 0; padding: 0; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc.flip .svc-media { order: 0; } }

.compare { width: 100%; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--accent); font-weight: 900; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.value h3 { margin-bottom: .35em; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.story { max-width: 720px; }
.story p { color: #d6d6d3; font-size: 1.08rem; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.photo-row .ph { aspect-ratio: 1 / 1; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form { display: grid; gap: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  padding: 12px 14px; font-size: 1rem; font-family: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-side { display: grid; gap: 18px; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.side-card h3 { font-size: 1.1rem; }
.side-card p { color: var(--muted); }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.side-card a { text-decoration: none; }
.side-card a:hover { color: var(--accent); }
.side-card.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.side-card.accent p { color: #06213f; }
.side-card.accent .btn { background: var(--accent-ink); color: var(--accent); width: 100%; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Narrow-screen fixes */
.btn { white-space: nowrap; }
.contact-grid > *, .field-row > *, .field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 360px) {
  .header-actions .btn-sm { padding: 0 12px; font-size: .8rem; min-height: 40px; }
  .logo-mark { font-size: 1.3rem; }
  .btn { white-space: normal; text-align: center; }
  .header-actions .btn-sm { white-space: nowrap; }
}

/* Brand assets */
.logo { align-items: center; gap: 10px; }
.logo-img, .logo-full { width: auto; mix-blend-mode: screen; filter: contrast(1.35); }
.logo-img { height: 36px; }
.footer-logo { display: inline-block; margin-left: -4px; }
.logo-full { height: auto; width: 170px; }
.hero-img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb),.35);
}
@media (max-width: 860px) {
  .hero-img { aspect-ratio: 1 / 1; object-position: 50% 0; }
}
@media (max-width: 360px) { .logo-img { height: 30px; } }

/* Keep the logo from being squeezed by the header button */
.logo, .logo-img { flex-shrink: 0; }
.header-inner { gap: 10px; }
@media (max-width: 400px) {
  .logo-img { height: 28px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 0 12px; font-size: .78rem; min-height: 40px; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 330px) {
  .header-actions .btn-sm { padding: 0 10px; font-size: .72rem; }
}
.logo-img { max-width: none; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; text-transform: none; letter-spacing: -0.01em; margin: 2em 0 .5em; }
.legal p, .legal li { color: #d6d6d3; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* Hero headline: keep each phrase on one line on desktop */
@media (min-width: 861px) {
  .hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.1rem); }
  .hero h1 .line { white-space: nowrap; }
}

/* Mobile menu fix: keep the blur on a pseudo-element so the fixed menu
   panel is positioned against the screen, not trapped inside the header */
.site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,10,11,.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
html.menu-open { overflow: hidden; }
body.menu-open { overflow: visible; }
@media (max-width: 860px) {
  .site-nav {
    position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--head-h));
    background: var(--bg); z-index: 49; overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--line);
  }
  html.menu-open .site-header::before { background: var(--bg); }
}
