/* Succession Partners
   Layout: Wealthsimple-style. Wide, calm, lots of air. Big tight headlines, warm paper,
   ink-navy from the arch mark. Photography does the talking; motion is slow and few. */

:root {
  --ink: #121B28;
  --ink-2: #1D2938;
  --paper: #F7F6F2;
  --sand: #ECE8DF;
  --white: #FFFFFF;

  --bg: var(--paper);
  --bg-alt: var(--sand);
  --surface: var(--white);
  --surface-2: #F1EEE7;
  --fg: var(--ink);
  --fg-soft: #5A6370;
  --fg-mute: #8A919B;
  --line: #E2DFD7;
  --line-strong: #C9C5BB;
  --primary: var(--ink);
  --primary-fg: #FFFFFF;
  --accent: #2F5BEA;
  --accent-soft: #E6ECFD;
  --band: var(--ink);
  --band-fg: #F7F6F2;
  --band-soft: rgba(247,246,242,0.72);
  --band-line: rgba(247,246,242,0.16);
  --focus: #2F5BEA;
  --shadow: 0 24px 60px rgba(18,27,40,0.12), 0 2px 8px rgba(18,27,40,0.06);
  --shadow-sm: 0 6px 18px rgba(18,27,40,0.08);

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --measure: 60ch;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E141C; --bg-alt: #141C26; --surface: #182230; --surface-2: #1E2938;
    --fg: #F2F1EC; --fg-soft: #AEB5BE; --fg-mute: #7E8792;
    --line: #273241; --line-strong: #3A4656;
    --primary: #F2F1EC; --primary-fg: #121B28;
    --accent: #7D9BFF; --accent-soft: #1C2A4A;
    --band: #0A0F15; --band-fg: #F2F1EC; --band-soft: rgba(242,241,236,0.72); --band-line: rgba(242,241,236,0.14);
    --focus: #7D9BFF;
    --shadow: 0 24px 60px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.35); --shadow-sm: 0 6px 18px rgba(0,0,0,0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E141C; --bg-alt: #141C26; --surface: #182230; --surface-2: #1E2938;
  --fg: #F2F1EC; --fg-soft: #AEB5BE; --fg-mute: #7E8792;
  --line: #273241; --line-strong: #3A4656;
  --primary: #F2F1EC; --primary-fg: #121B28;
  --accent: #7D9BFF; --accent-soft: #1C2A4A;
  --band: #0A0F15; --band-fg: #F2F1EC; --band-soft: rgba(242,241,236,0.72); --band-line: rgba(242,241,236,0.14);
  --focus: #7D9BFF;
  --shadow: 0 24px 60px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.35); --shadow-sm: 0 6px 18px rgba(0,0,0,0.4);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 18px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 2rem + 4vw, 5.6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.8rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.5; color: var(--fg-soft); max-width: var(--measure); }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(5rem, 4rem + 5vw, 9.5rem); }
.section-head { max-width: 820px; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section-head .lead { margin-top: 1.3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 58px; padding: .95rem 1.8rem; border-radius: 999px; font: 700 1.05rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { box-shadow: var(--shadow-sm); }
.btn-light { background: #FFFFFF; color: #121B28; }
.btn-light:hover { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--fg); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; color: var(--fg); border-bottom: 2px solid var(--line-strong); padding-bottom: .1rem; transition: border-color .25s; }
.link:hover { border-color: var(--fg); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: #fff; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--fg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.025em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark path { fill: currentColor; }
.nav-menu { display: flex; align-items: center; gap: 2.4rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 1rem; opacity: .85; position: relative; padding: .4rem 0; transition: opacity .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 48px; padding: .6rem 1.3rem; font-size: .98rem; }
.nav:not(.is-scrolled) .nav-cta { background: #fff; color: #121B28; }
.nav.is-scrolled .nav-cta { background: var(--primary); color: var(--primary-fg); }
.nav-toggle { display: none; background: none; border: 2px solid currentColor; border-radius: 12px; width: 48px; height: 48px; cursor: pointer; color: inherit; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); padding: 1rem var(--gutter-r) 1.5rem var(--gutter-l); border-radius: 0 0 var(--radius) var(--radius); }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 1.2rem; }
  .nav-links a { display: block; padding: 1rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-links a::after { display: none; }
  .nav-cta { width: 100%; background: var(--primary) !important; color: var(--primary-fg) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(620px, 92vh, 980px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1.03) translateX(-1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,27,40,.28) 0%, rgba(18,27,40,.05) 35%, rgba(18,27,40,.55) 70%, rgba(18,27,40,.88) 100%), linear-gradient(90deg, rgba(18,27,40,.45) 0%, rgba(18,27,40,0) 60%); }
.hero-inner { position: relative; width: 100%; padding-block: 9rem clamp(6rem, 5rem + 5vw, 9rem); }
.hero-copy { max-width: 820px; }
.hero .eyebrow { color: rgba(255,255,255,.75); opacity: 0; animation: fade .9s .2s var(--ease) forwards; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em); animation: rise 1s var(--ease-out) forwards; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 1.6rem; max-width: 56ch; opacity: 0; animation: fade 1s .7s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; opacity: 0; animation: fade 1s .9s var(--ease) forwards; }
.hero-place { position: absolute; right: var(--gutter-r); bottom: 1.6rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: .5rem; opacity: 0; animation: fade 1s 1.3s forwards; }
.hero-place i { width: 28px; height: 1px; background: rgba(255,255,255,.5); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 700px) { .hero-bg img { object-position: 68% 50%; } .hero-place { display: none; } .hero-inner { padding-top: 7rem; } }

/* ---------- Stats card overlapping the hero ---------- */
.stats { position: relative; z-index: 2; margin-top: -4.5rem; }
.stats-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.stat { padding: 2.2rem 2.2rem 2.4rem; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(2.8rem, 2.2rem + 2vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; font-weight: 700; letter-spacing: -0.02em; }
.stat p { margin-top: .9rem; color: var(--fg-soft); font-size: 1rem; max-width: 30ch; }
.stats-src { margin-top: 1.3rem; font-size: .88rem; color: var(--fg-mute); text-align: right; }
.stats-src a { color: inherit; }
@media (max-width: 800px) { .stats-card { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--line); padding: 1.6rem 1.6rem 1.8rem; } .stat:first-child { border-top: 0; } .stats-src { text-align: left; } }

/* ---------- Thesis (big statement) ---------- */
.thesis { padding-block: clamp(6rem, 5rem + 5vw, 10rem) clamp(4rem, 3rem + 3vw, 6rem); }
.thesis h2 { font-size: clamp(2rem, 1.3rem + 3vw, 4.2rem); max-width: 22ch; }
.thesis h2 em { font-style: normal; color: var(--fg-mute); }
.thesis .prose { margin-top: 2rem; }
.prose { max-width: var(--measure); color: var(--fg-soft); font-size: 1.15rem; line-height: 1.6; }
.prose p + p { margin-top: 1.1rem; }
.prose strong { color: var(--fg); font-weight: 700; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 3.5rem; }
.compare-col { border-radius: var(--radius); padding: 2.2rem; min-width: 0; }
.compare-col.them { background: var(--surface-2); color: var(--fg-soft); }
.compare-col.us { background: var(--band); color: var(--band-fg); }
.compare-col h3 { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.4rem; opacity: .8; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.compare-col li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; align-items: start; padding: .9rem 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.compare-col.us li { border-top-color: var(--band-line); font-weight: 600; }
.compare-col li svg { width: 24px; height: 24px; margin-top: .15em; }
.compare-col.them li svg { color: var(--fg-mute); }
.compare-col.us li svg { color: #8FD3A8; }
.compare-col li small { display: block; font-size: .92rem; font-weight: 400; opacity: .75; margin-top: .15rem; }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } .compare-col { padding: 1.6rem; } }

/* ---------- Promise (photo + list) ---------- */
.promise { background: var(--bg-alt); }
.promise-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 2rem + 3vw, 6rem); align-items: center; }
.promise-grid > * { min-width: 0; }
.promise-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; position: relative; max-width: 100%; }
.promise-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.promise-photo:hover img { transform: scale(1); }
.promise-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.promise-list li { display: grid; grid-template-columns: 60px 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line-strong); }
.promise-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.p-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.p-icon svg { width: 28px; height: 28px; }
.promise-list h3 { font-size: 1.35rem; }
.promise-list p { margin-top: .5rem; color: var(--fg-soft); }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; } .promise-photo { aspect-ratio: 4 / 3; } }

/* ---------- Process (scroll-driven) ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 7rem); align-items: start; }
.process-grid > * { min-width: 0; }
.process-sticky { position: sticky; top: 120px; }
.process-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); max-width: 100%; }
.process-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.process-frame img.is-active { opacity: 1; transform: scale(1); }
.process-counter { position: absolute; left: 1.4rem; top: 1.4rem; z-index: 2; background: rgba(18,27,40,.72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .95rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.process-bar { display: flex; gap: .4rem; margin-top: 1.2rem; }
.process-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.process-bar i::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.process-bar i.is-done::after, .process-bar i.is-active::after { transform: scaleX(1); }
.pstep { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; border-top: 1px solid var(--line); opacity: .55; transition: opacity .5s; }
.pstep:first-child { border-top: 0; padding-top: 0; }
.pstep.is-active { opacity: 1; }
.pstep-num { font-size: .9rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: .8rem; }
.pstep h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.pstep p { margin-top: 1rem; color: var(--fg-soft); font-size: 1.12rem; max-width: 50ch; }
.pstep .note { margin-top: 1.3rem; padding: 1rem 1.2rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 1rem; color: var(--fg); border-left: 3px solid var(--accent); }
.pstep-img { display: none; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { display: none; }
  .pstep { opacity: 1; }
  .pstep-img { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.4rem; max-width: 100%; }
  .pstep-img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- People ---------- */
.people { background: var(--bg-alt); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.5rem + 2vw, 4rem); }
.person { display: grid; grid-template-columns: 1fr; gap: 1.5rem; min-width: 0; }
.portrait { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); position: relative; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.03); transition: transform 1.2s var(--ease-out); }
.person:hover .portrait img { transform: scale(1); }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; font-weight: 800; color: var(--fg-mute); }
.portrait:not(.is-empty) .initials { display: none; }
.person h3 { font-size: 1.9rem; }
.person .role { color: var(--fg-mute); font-weight: 700; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; }
.person p { color: var(--fg-soft); margin-top: 1rem; font-size: 1.08rem; }
.person p + .role { margin-top: 0; }
.person .link { margin-top: 1.2rem; }
.people-quote { margin: clamp(3.5rem, 3rem + 3vw, 6rem) 0 0; max-width: 980px; font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.people-quote span { display: block; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); margin-top: 1.2rem; }
@media (max-width: 760px) { .people-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Mosaic ---------- */
.photo { position: relative; overflow: hidden; background: var(--surface-2); max-width: 100%; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.photo:hover img { transform: scale(1.05); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(18,27,40,.55) 100%); pointer-events: none; }
.photo figcaption { position: absolute; left: 1.3rem; bottom: 1.2rem; right: 1.3rem; z-index: 2; color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.photo .ph { display: none; position: absolute; inset: 0; align-items: flex-end; padding: 1.2rem; color: var(--fg-mute); font-size: .85rem; }
.photo.is-empty .ph { display: flex; }
.photo.is-empty img, .photo.is-empty figcaption { display: none; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.band-head .lead { max-width: 46ch; }
.photo-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 320px 320px; gap: 1.2rem; }
.photo-grid .photo { border-radius: var(--radius); }
.photo-grid .photo:first-child { grid-row: span 2; }
@media (max-width: 860px) { .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 230px 230px; } .photo-grid .photo:first-child { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 520px) { .photo-grid { grid-template-columns: 1fr; grid-template-rows: 280px 230px 230px 230px 230px; } .photo-grid .photo:first-child { grid-column: span 1; } }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.value { min-width: 0; padding-top: 1.5rem; border-top: 2px solid var(--line-strong); position: relative; }
.value::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--fg); transition: width 1s var(--ease-out); }
.value.is-in::before { width: 100%; }
.value h3 { font-size: 1.5rem; }
.value p { margin-top: .7rem; color: var(--fg-soft); }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 1.5rem + 3vw, 6rem); align-items: start; }
.faq-grid > * { min-width: 0; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font: 700 1.25rem/1.3 var(--font); letter-spacing: -0.015em; color: var(--fg); border-radius: 8px; }
.faq-q .plus { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; position: relative; transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; width: 14px; height: 2px; border-radius: 1px; }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.is-open .plus { background: var(--primary); color: var(--primary-fg); transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.6rem; color: var(--fg-soft); font-size: 1.1rem; max-width: var(--measure); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Closing band + form ---------- */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,27,40,.92) 0%, rgba(18,27,40,.78) 50%, rgba(18,27,40,.55) 100%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 3vw, 6rem); align-items: center; padding-block: clamp(5rem, 4rem + 5vw, 9rem); }
.cta-grid > * { min-width: 0; }
.cta .eyebrow { color: rgba(255,255,255,.7); }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.8); margin-top: 1.3rem; }
.direct { margin-top: 2.2rem; display: grid; gap: .5rem; font-size: 1.08rem; }
.direct a { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 5px; }
.form { background: var(--surface); color: var(--fg); border-radius: var(--radius); padding: clamp(1.6rem, 1.4rem + 1vw, 2.6rem); box-shadow: var(--shadow); display: grid; gap: 1.2rem; }
.form h3 { font-size: 1.5rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 700; font-size: 1rem; }
.field input, .field select { width: 100%; min-height: 58px; padding: .85rem 1.1rem; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg); font: 1.05rem var(--font); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .hint { font-size: .9rem; color: var(--fg-mute); }
.field.is-error input { border-color: #C0392B; }
.field .err { display: none; font-size: .92rem; color: #C0392B; font-weight: 600; }
.field.is-error .err { display: block; }
.form-foot { font-size: .92rem; color: var(--fg-mute); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success svg { width: 64px; height: 64px; color: var(--accent); margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin-top: .6rem; color: var(--fg-soft); }
.form.is-sent > *:not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--band); color: var(--band-soft); padding-block: 3.5rem 2.5rem; font-size: .95rem; }
.footer .brand { color: var(--band-fg); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2rem; align-items: center; }
.footer a { color: var(--band-soft); text-decoration-color: var(--band-line); text-underline-offset: 4px; }
.footer a:hover { color: var(--band-fg); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .88rem; }

/* ---------- Reveal ---------- */
.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero .eyebrow, .hero h1 .w, .hero .lead, .hero-actions, .hero-place { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}
