/* 4 Cornerstone Wealth. Palette from the existing logo: teal #009f9c, charcoal #33302b.
   Shape rule: controls (buttons, inputs) 10px, panels 16px, photo frames 20px outer / 14px inner.
   Type floor: nothing a visitor must read is smaller than 16px. */

@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f6f8f8;
  --surface: #fcfdfd;
  --text: #1c2423;
  --muted: #4a5756;        /* 7.4:1 on --surface */
  --line: #d9e2e1;         /* decorative dividers only */
  --field-line: #6f8381;   /* input borders, 3.9:1 on --surface */
  --accent: #00716e;       /* text-safe teal, 5.5:1 on --bg */
  --accent-hover: #005b58;
  --brand: #009f9c;        /* logo teal, decorative only */
  --focus: #00716e;
  --tint: #e5f2f1;
  --on-accent: #f6fbfb;
  --deep: #0a3230;         /* hero and darkest cornerstone */
  --shadow: 0 18px 40px -24px rgb(0 70 68 / 0.35);
  --shadow-soft: 0 1px 2px rgb(0 70 68 / 0.06), 0 24px 48px -28px rgb(0 70 68 / 0.28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-control: 10px;
  --r-panel: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1514;
    --surface: #142020;
    --text: #e4eceb;
    --muted: #a6b6b4;
    --line: #243331;
    --field-line: #6b8785; /* 4.3:1 on --surface */
    --accent: #45c9c3;
    --accent-hover: #6fd8d3;
    --brand: #2fb3ae;
    --focus: #6fd8d3;
    --tint: #11302e;
    --on-accent: #062220;
    --shadow: 0 18px 40px -24px rgb(0 0 0 / 0.6);
    --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.3), 0 24px 48px -28px rgb(0 0 0 / 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.65 "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 24ch; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.lede { color: var(--muted); max-width: 60ch; font-size: 1.1875rem; line-height: 1.6; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
section { padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(5rem, 10vw, 8rem); }
.eyebrow { font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .6rem 1rem; z-index: 20; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: var(--r-control);
  font: 600 1.0625rem/1 "Figtree", sans-serif; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 8px 18px -10px rgb(0 70 68 / .55); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--field-line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--surface) 70%, transparent); }

/* Header (z-index scale: creds panel 1, header 10, skip link 20) */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding-block: .6rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--accent); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 1.2rem; font-size: 1rem; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } .logo img { height: auto; width: min(48vw, 210px); } .site-header .wrap { gap: .75rem; height: 68px; } }

/* Hero: asymmetric split */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(5.5rem, 10vw, 8rem);
  background: var(--deep);
  color: #eef6f5;
}
/* Slow background: three local photos cross-fade with a gentle drift under a teal overlay. */
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--deep); }
.hero-bg .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; }
.hero-bg .s1 { background-image: url("assets/photos/hero-pinnacle-panorama.jpg"); opacity: 1; }
.hero-bg .s2 { background-image: url("assets/photos/hero-little-rock.jpg"); }
.hero-bg .s3 { background-image: url("assets/photos/hero-pinnacle-summit.jpg"); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(8 40 38 / 0) 55%, rgb(8 40 38 / 0.55) 100%),
    linear-gradient(100deg, rgb(8 44 42 / 0.94) 0%, rgb(10 50 48 / 0.86) 45%, rgb(12 64 61 / 0.6) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bg .slide { animation: kb-fade 30s linear infinite, kb-zoom 30s cubic-bezier(.33, 0, .2, 1) infinite; }
  .hero-bg .s1 { animation-delay: 0s; }
  .hero-bg .s2 { animation-delay: 10s; }
  .hero-bg .s3 { animation-delay: 20s; }
  @keyframes kb-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
  @keyframes kb-zoom { 0% { transform: scale(1.01); } 40% { transform: scale(1.06) translate3d(-.8%, -.5%, 0); } 100% { transform: scale(1.06) translate3d(-.8%, -.5%, 0); } }
}
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgb(0 159 156 / 0.3), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.032em; margin-bottom: 1.5rem; color: #f6fbfb; max-width: 17ch; }
.hero h1 em { font-style: italic; color: #8ee5e0; padding-bottom: .08em; }
.hero .lede { font-size: clamp(1.1875rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgb(238 246 245 / 0.86); margin-bottom: 2.4rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-light { background: #f6fbfb; color: var(--deep); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .5); }
.btn-light:hover { background: #ffffff; color: var(--deep); }
.btn-outline-light { border-color: rgb(238 246 245 / 0.5); color: #f6fbfb; background: rgb(255 255 255 / 0.02); }
.btn-outline-light:hover { border-color: #f6fbfb; color: #f6fbfb; background: rgb(255 255 255 / 0.08); }
.hero :focus-visible { outline-color: #8ee5e0; }
.hero-portrait { margin: 0; justify-self: end; width: min(100%, 320px); }
/* Nested frame: a translucent shell around the photo, concentric radii. */
.hero-portrait .frame {
  position: relative; padding: 7px; border-radius: 22px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04));
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
}
.hero-portrait img { width: 100%; height: auto; aspect-ratio: 363 / 512; object-fit: cover; border-radius: 15px; }
.hero-portrait figcaption { margin-top: 1.1rem; display: grid; gap: .2rem; text-align: center; }
.hero-portrait figcaption strong { font-size: 1.15rem; font-weight: 600; color: #f6fbfb; }
.hero-portrait figcaption span { font-size: 1rem; color: rgb(238 246 245 / 0.78); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-portrait { animation: rise .9s var(--ease) both; }
  .hero-portrait { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-portrait { width: min(62%, 240px); justify-self: center; }
}

/* Credentials: a raised panel that overlaps the bottom of the hero */
.creds { padding-block: 0; position: relative; z-index: 1; }
.creds .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(-3.25rem, -5vw, -2.25rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  box-shadow: var(--shadow-soft);
}
.creds .wrap > div { padding: 1.6rem 1.75rem; display: grid; gap: .25rem; align-content: start; }
.creds .wrap > div + div { border-left: 1px solid var(--line); }
.creds strong { font-size: 1.125rem; font-weight: 600; color: var(--accent); }
.creds span { color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 760px) {
  .creds .wrap { grid-template-columns: 1fr; }
  .creds .wrap > div { padding: 1.25rem 1.35rem; }
  .creds .wrap > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Federal: statement + definitions */
.federal .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.federal h2 { margin-bottom: 1.1rem; }
.benefit-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.benefit-list > div { padding-block: 1.4rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; }
.benefit-list dt { font-weight: 600; font-size: 1.15rem; color: var(--accent); }
.benefit-list dd { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .federal .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .benefit-list > div { grid-template-columns: 1fr; gap: .3rem; } }

/* Income diagram: centered column on the lighter surface band */
.income { background: var(--surface); border-block: 1px solid var(--line); }
.income .wrap { max-width: 760px; display: grid; gap: 2.5rem; }
.income-copy { text-align: center; }
.income-copy h2 { margin-inline: auto; }
.income-copy .lede { margin-inline: auto; }
.income h2 { margin-bottom: 1rem; }
.fineprint { margin-top: 1.25rem; font-size: 1rem; color: var(--muted); }
.stack { display: grid; gap: .6rem; }
.layer { display: grid; gap: .15rem; padding: 1.05rem 1.4rem; border-radius: 12px; color: #f6fbfb; box-shadow: inset 0 1px 0 rgb(255 255 255 / .08); }
.layer strong { font-size: 1.1rem; font-weight: 600; }
.layer span { font-size: 1rem; opacity: .9; }
.l1 { background: var(--deep); } .l2 { background: #134e4b; } .l3 { background: #00716e; } .l4 { background: #0f8a86; }
.l5 { background: var(--tint); color: var(--text); border: 1.5px dashed color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: none; }
.l5 span { opacity: 1; color: var(--muted); }
.paycheck { margin-top: .4rem; padding: 1.15rem 1.4rem; border-radius: 12px; border: 2px solid var(--accent); text-align: center; color: var(--accent); background: var(--bg); }
.paycheck strong { font-size: 1.2rem; font-weight: 600; }

/* Four cornerstones diamond (Farrukh's whiteboard framework) */
.stones-head { max-width: 40rem; margin-bottom: 3rem; }
.stones-head h2 { margin-bottom: 1.1rem; }
.stones-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.diamond { width: 100%; max-width: 440px; justify-self: center; overflow: visible; filter: drop-shadow(0 30px 40px rgb(0 70 68 / 0.18)); }
.diamond polygon { stroke: var(--bg); stroke-width: 5; stroke-linejoin: round; transition: transform .45s var(--ease), filter .45s var(--ease); transform-box: fill-box; transform-origin: center; }
.diamond text { fill: #f6fbfb; font: 600 19px "Figtree", system-ui, sans-serif; text-anchor: middle; pointer-events: none; }
.diamond text.sub { font-weight: 600; font-size: 15px; opacity: .9; }
/* Four distinct steps of the brand teal, light to deep. */
.q-income polygon { fill: #00716e; } .q-medical polygon { fill: #0f8a86; } .q-ltc polygon { fill: #0a3230; } .q-legacy polygon { fill: #134e4b; }
.diamond .q { cursor: default; }
.diamond .q.on polygon { transform: scale(1.05); filter: brightness(1.12); }
.stone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.stone-list > li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.2rem 1.4rem; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.stone-list > li.on, .js .stone-list > li.reveal.in.on { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.stone-list h3 { margin-bottom: .3rem; }
.stone-list p { color: var(--muted); }
.stone-list .qs { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--muted); }
.stone-list .dot { width: 14px; height: 14px; margin-top: .5rem; transform: rotate(45deg); border-radius: 3px; }
.stone-list [data-stone="income"] .dot { background: #00716e; } .stone-list [data-stone="medical"] .dot { background: #0f8a86; }
.stone-list [data-stone="ltc"] .dot { background: #0a3230; } .stone-list [data-stone="legacy"] .dot { background: #134e4b; }
@media (prefers-color-scheme: dark) {
  .stone-list [data-stone="ltc"] .dot, .stone-list [data-stone="legacy"] .dot { outline: 1px solid rgb(255 255 255 / .35); }
  .q-ltc polygon { fill: #0d3b39; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .diamond.reveal .q { opacity: 0; transition: opacity .6s var(--ease); }
  .js .diamond.reveal.in .q { opacity: 1; }
  .js .diamond .q-income { transition-delay: .05s; } .js .diamond .q-medical { transition-delay: .2s; }
  .js .diamond .q-ltc { transition-delay: .35s; } .js .diamond .q-legacy { transition-delay: .5s; }
  .js .diamond.reveal { transform: none; }
}
@media (max-width: 860px) { .stones-grid { grid-template-columns: 1fr; } .diamond { max-width: 320px; } .stone-list > li.on, .js .stone-list > li.reveal.in.on { transform: none; } }

/* Process: horizontal timeline on the lighter surface band */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.process h2 { margin-bottom: 3rem; max-width: 30ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 2px solid var(--line); }
.steps li { padding-top: 1.9rem; position: relative; }
.steps li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 3px; transform: rotate(45deg); background: var(--brand); box-shadow: 0 0 0 5px var(--surface); }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 2px solid var(--line); padding-left: 1.75rem; }
  .steps li { padding: 0 0 2rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: .45rem; left: calc(-1.75rem - 8px); }
}

/* Seminars: tinted band. Stack: heading, then the preview video as the centerpiece, then what to expect. */
.seminars { background: var(--tint); }
.seminars .wrap { display: grid; gap: clamp(2.25rem, 4.5vw, 3.5rem); }
.sem-head { max-width: 46rem; }
.seminars h2 { margin-bottom: 1.1rem; }
.seminars .lede { margin-bottom: 2.1rem; color: var(--text); opacity: .88; }
.sem-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Video showcase: nested frame (translucent shell around a 16:9 core, concentric radii). */
.video-shell {
  padding: 8px; border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: 0 2px 4px rgb(0 60 58 / .06), 0 44px 80px -40px rgb(0 60 58 / .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.video-frame { position: relative; border-radius: 20px; overflow: hidden; background: var(--deep); isolation: isolate; }
.video-embed { width: 100%; position: relative; padding-top: 56.25%; outline: none; }
.video-facade {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit;
  background: var(--deep); color: #f6fbfb; font: inherit; text-align: left; cursor: pointer; overflow: hidden;
}
.video-facade[hidden] { display: none; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease); }
/* Dark teal treatment: brand tint over the frame, deepening toward the caption. */
.video-facade::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgb(6 34 32 / .97) 0%, rgb(6 34 32 / .86) 22%, rgb(6 34 32 / .5) 44%, rgb(6 34 32 / .1) 70%, rgb(6 34 32 / .2) 100%),
    linear-gradient(100deg, rgb(0 90 88 / .4), rgb(0 90 88 / .08) 65%);
}
.vf-row { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.6rem); padding: clamp(1.1rem, 3.2vw, 2.5rem); }
.vf-play {
  flex: none; position: relative; width: clamp(60px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: #f6fbfb; box-shadow: 0 0 0 8px rgb(246 251 251 / .16), 0 18px 36px -12px rgb(0 0 0 / .6);
  transition: transform .2s var(--ease), box-shadow .3s var(--ease);
}
.vf-play::before {
  content: ""; position: absolute; top: 50%; left: 54%; width: 34%; height: 38%; transform: translate(-50%, -50%);
  background: var(--deep); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.vf-text { display: grid; gap: .3rem; min-width: 0; }
.vf-text strong { font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.vf-sub { font-size: clamp(1rem, 1.3vw, 1.125rem); color: rgb(238 246 245 / .86); }
.video-facade:focus-visible { outline: 3px solid #8ee5e0; outline-offset: -7px; border-radius: 20px; }
.video-facade:active .vf-play { transform: scale(.96); }
.video-facade.is-loading { cursor: progress; }
.video-error { margin-top: 1rem; font-size: 1rem; color: var(--text); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .video-shell:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(0 60 58 / .06), 0 56px 96px -40px rgb(0 60 58 / .6); }
  .video-facade:hover img { transform: scale(1.025); }
  .video-facade:hover .vf-play { transform: scale(1.05); box-shadow: 0 0 0 12px rgb(246 251 251 / .18), 0 18px 36px -12px rgb(0 0 0 / .6); }
}
@media (prefers-reduced-motion: no-preference) {
  .video-facade.is-loading .vf-play { animation: vf-pulse 1.1s ease-in-out infinite; }
  @keyframes vf-pulse { 50% { box-shadow: 0 0 0 16px rgb(246 251 251 / .06), 0 18px 36px -12px rgb(0 0 0 / .6); } }
}
@media (prefers-color-scheme: dark) {
  .video-shell { box-shadow: 0 2px 4px rgb(0 0 0 / .3), 0 44px 80px -40px rgb(0 0 0 / .8); }
}
@media (max-width: 600px) {
  .video-shell { padding: 5px; border-radius: 20px; }
  .video-frame, .video-facade:focus-visible { border-radius: 15px; }
  .vf-play { box-shadow: 0 0 0 5px rgb(246 251 251 / .16), 0 12px 24px -10px rgb(0 0 0 / .6); }
  .vf-text strong { font-size: 1.05rem; }
  .vf-sub { font-size: 1rem; }
}

.expect {
  display: grid; grid-template-columns: minmax(10rem, .5fr) 2fr; gap: 1.1rem 2.5rem; align-items: start;
  background: var(--surface); border-radius: var(--r-panel); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft); border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
}
.expect ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 2.25rem; color: var(--muted); }
.expect li { position: relative; padding-left: 1.6rem; }
.expect li::before { content: ""; position: absolute; left: .15rem; top: .6em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--brand); }
@media (max-width: 820px) { .expect, .expect ul { grid-template-columns: 1fr; } }

/* Team */
.team h2 { margin-bottom: 2.75rem; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(2rem, 4vw, 2.75rem); }
.person figure {
  margin: 0 0 1.25rem; aspect-ratio: 4 / 5; border-radius: var(--r-panel); overflow: hidden; position: relative; background: var(--tint);
  box-shadow: var(--shadow-soft);
}
.person figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 50 48 / .08); pointer-events: none; }
.person figure .fallback { position: absolute; width: 60%; left: 20%; top: 26%; opacity: .5; }
.person figure .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person .role { color: var(--accent); font-weight: 600; font-size: 1.0625rem; margin: .25rem 0 .7rem; }
.person p { color: var(--muted); font-size: 1.0625rem; max-width: 38ch; }
.person a.li { display: inline-block; margin-top: .75rem; font-weight: 600; font-size: 1rem; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { margin-bottom: 1.1rem; }
.contact-info { display: grid; gap: 1.4rem; margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-info strong { display: block; font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: .1rem; }
.contact-info a { font-size: 1.35rem; font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-info a:hover { text-decoration: underline; }
.contact-info span { font-size: 1.125rem; }
form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1.35rem; box-shadow: var(--shadow-soft);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; gap: .5rem; }
label { font-weight: 600; font-size: 1.0625rem; }
.hint { font-size: 1rem; font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: var(--r-control);
  border: 1.5px solid var(--field-line); background: var(--surface); color: var(--text); font: inherit; font-size: 1.0625rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover, select:hover, textarea:hover { border-color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 32%, transparent); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
input[aria-invalid="true"] { border-color: #b3261e; }
@media (prefers-color-scheme: dark) { input[aria-invalid="true"] { border-color: #ffb4ab; } }
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.error { color: #b3261e; font-size: 1rem; font-weight: 600; min-height: 0; }
@media (prefers-color-scheme: dark) { .error { color: #ffb4ab; } }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; font-size: 1rem; line-height: 1.55; color: var(--muted); font-weight: 400; padding: 1rem 1.1rem; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { font-weight: 600; }
.hp { position: absolute; left: -5000px; }
form .btn[type=submit] { justify-self: start; min-width: 12rem; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--accent); }
.form-status.bad { color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-status.bad { color: #ffb4ab; } }
form .btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) { .contact .wrap, .row2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form .btn[type=submit] { justify-self: stretch; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.25rem 3.75rem; font-size: 1rem; color: var(--muted); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.site-footer .top img { height: 30px; width: auto; }
.site-footer nav { display: flex; column-gap: 1.75rem; row-gap: .25rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.disclosures { display: grid; gap: .85rem; max-width: 90ch; line-height: 1.6; }

/* Legal pages */
.legal { padding-block: 3.5rem 5rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; letter-spacing: -0.01em; max-width: none; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .9rem; }
.legal .updated { margin-bottom: 2rem; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }

/* Scroll reveal (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .stone-list > li.reveal { transition: opacity .8s var(--ease), transform .45s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
  .js .stack .layer.reveal { transform: translateY(20px) scale(.985); }
  .js .stack .layer.reveal.in { transform: none; }
  .js .stack .l1 { transition-delay: 0s; } .js .stack .l2 { transition-delay: .08s; } .js .stack .l3 { transition-delay: .16s; }
  .js .stack .l4 { transition-delay: .24s; } .js .stack .l5 { transition-delay: .32s; } .js .stack .paycheck { transition-delay: .44s; }
}
.credits { font-size: 1rem; }
.credits a { color: inherit; }

/* Expandable bio on a team card */
.story { margin-top: 12px; text-align: left; }
.story summary { cursor: pointer; color: var(--accent, #00716e); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.story summary::-webkit-details-marker { display: none; }
.story summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 200ms ease; }
.story[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.story summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.story p { margin: 10px 0 0; }
@media (prefers-reduced-motion: reduce) { .story summary::after { transition: none; } }

/* Poster is a link while the vendor blocks embedding on our domain */
a.video-facade { display: block; text-decoration: none; }
.video-frame:not(:has(.video-embed)) { aspect-ratio: 16 / 9; }

/* Mission band (from the Magellan draft) */
.mission { background: var(--surface); border-block: 1px solid var(--line); }
.mission-wrap { max-width: 820px; text-align: center; }
.mission-wrap .lede, .mission-wrap p { margin-inline: auto; max-width: 62ch; }
.mission-wrap p:last-child { margin-top: 1.1rem; color: var(--muted); }
.mission-wrap h2 { margin: 0 auto 1rem; }
@media (max-width: 700px) { .mission-wrap { text-align: left; } .mission-wrap h2 { margin-inline: 0; } }

/* Tactile layer: subtle gradients, bevel, tinted shadows, press feedback. */
.btn { transition: transform .14s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), filter .2s var(--ease); }
.btn-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 93%, #ffffff) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 88%, #000000) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 -1px 0 rgb(0 0 0 / .12), 0 1px 2px rgb(0 70 68 / .18), 0 10px 22px -12px rgb(0 70 68 / .6);
}
.btn-primary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-hover) 92%, #ffffff) 0%, var(--accent-hover) 100%); }
.btn-ghost { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--tint) 45%, var(--surface))); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 1px 2px rgb(0 70 68 / .08); }
.btn-light { background: linear-gradient(180deg, #ffffff, #e9f4f3); box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgb(0 50 48 / .08), 0 10px 24px -12px rgb(0 0 0 / .5); }
.btn-outline-light { background: linear-gradient(180deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), inset 0 -1px 0 rgb(0 0 0 / .12), 0 2px 4px rgb(0 70 68 / .2), 0 16px 28px -14px rgb(0 70 68 / .7); }
}
.btn:active { transform: translateY(1px) scale(.98); filter: brightness(.97); }
.btn-primary:active { box-shadow: inset 0 2px 5px rgb(0 0 0 / .25), 0 1px 1px rgb(0 70 68 / .15); }
.btn-ghost:active, .btn-light:active, .btn-outline-light:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / .12); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active { transform: none; } }
@media (prefers-color-scheme: dark) {
  .btn-primary { box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 -1px 0 rgb(0 0 0 / .2), 0 10px 22px -12px rgb(0 0 0 / .7); }
  .btn-ghost { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #ffffff), var(--surface)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
}
/* Faint gradient wash on surface bands */
.income, .process, .mission { background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--tint) 35%, var(--surface)) 100%); }
.seminars { background: linear-gradient(180deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 55%, var(--bg)) 100%); }
