/* Layout concept: a quiet, premium night stage. Deep ink background, a soft horizon glow behind the hero, a floating pill nav, real photography, and one warm accent set in italic serif. Single committed dark look. */
:root {
  --bg: #090D14;
  --bg-2: #0E141E;
  --card: rgba(255, 255, 255, 0.035);
  --card-hi: rgba(255, 255, 255, 0.06);
  --edge: rgba(255, 255, 255, 0.09);
  --edge-hi: rgba(255, 255, 255, 0.16);
  --fg: #F2F0EA;
  --muted: #9AA3B2;
  --soft: #C9CED8;
  --warm: #F2B66B;
  --cream: #F4EBDD;
  --cream-ink: #10131A;
  --glow-a: #3B4C9B;
  --glow-b: #C27A3A;
  --ok: #8BD9AE;
  --warn: #F3A58C;
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1140px;
  --r: 18px;
  color-scheme: dark;
  /* tokens used by resource previews */
  --sheet: var(--bg); --sheet-2: var(--bg-2); --line: var(--edge-hi); --rule: var(--edge); --note: var(--warm); --ink: var(--fg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--warm); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.06; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--warm); letter-spacing: -0.005em; }
h1 em, h2 em { font-size: 1.08em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--soft); max-width: 56ch; }
.muted { color: var(--muted); }

/* Nav */
.nav-shell { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 14px); z-index: 30; padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
.nav { max-width: 920px; margin: 14px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(14, 20, 30, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.nav-links { display: flex; gap: 22px; font-size: 0.9rem; }
.nav-links a { color: var(--soft); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 0.95rem/1 var(--f-sans); padding: 14px 20px; border-radius: 999px; border: 1px solid var(--cream); background: var(--cream); color: var(--cream-ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--edge-hi); }
.btn.ghost:hover { background: var(--card-hi); }
.btn.sm { padding: 10px 16px; font-size: 0.875rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding-block: 96px; position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 64ch; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { padding-block: 72px 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 720px; background: radial-gradient(50% 55% at 28% 35%, rgba(59, 76, 155, 0.45), transparent 70%), radial-gradient(40% 45% at 78% 55%, rgba(194, 122, 58, 0.28), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(1400px, 140%); height: 260px; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; border-top: 1px solid rgba(244, 235, 221, 0.5); box-shadow: 0 -30px 80px -20px rgba(242, 182, 107, 0.35), inset 0 30px 60px -30px rgba(244, 235, 221, 0.25); background: var(--bg); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-bottom: 120px; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px; border: 1px solid var(--edge-hi); border-radius: 999px; font-size: 0.82rem; color: var(--soft); background: var(--card); }
.pill::before { content: ""; display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(139, 217, 174, 0.18); }
.portrait { position: relative; margin: 0; min-width: 0; justify-self: end; width: min(100%, 400px); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 28px; border: 1px solid var(--edge-hi); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.portrait figcaption { position: absolute; left: -24px; bottom: 28px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(14, 20, 30, 0.82); border: 1px solid var(--edge-hi); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.portrait figcaption b { font-weight: 600; }
.portrait figcaption span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 96px; }
  .portrait { justify-self: start; width: min(100%, 340px); }
  .portrait figcaption { left: 12px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 22px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--card); display: grid; gap: 6px; }
.stat b { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 32px; border: 1px solid var(--edge); border-radius: 24px; background: linear-gradient(160deg, var(--card-hi), var(--card)); color: var(--fg); text-decoration: none; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.door:hover { border-color: var(--edge-hi); transform: translateY(-2px); }
.door::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 182, 107, 0.18), transparent 70%); }
.door.b::after { background: radial-gradient(circle, rgba(59, 76, 155, 0.35), transparent 70%); }
.door h3 { font-size: 1.6rem; letter-spacing: -0.02em; font-weight: 500; }
.door p { color: var(--soft); }
.door .go { font-weight: 500; color: var(--cream); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } .door { padding: 24px; } }

/* Lane sections */
.lane { border-top: 1px solid var(--edge); }
.lane-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.lane-grid > * { min-width: 0; }
.lane-side { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 900px) { .lane-grid { grid-template-columns: 1fr; gap: 32px; } .lane-side { position: static; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--edge-hi); font-size: 0.875rem; color: var(--soft); background: var(--card); }
.problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.problems li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--soft); }
.problems li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--warm); }

.offers { display: grid; gap: 12px; }
.offer { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--card); }
.offer .n { font: 500 0.8rem/1 var(--f-mono); color: var(--muted); padding-top: 6px; }
.offer > div { display: grid; gap: 8px; min-width: 0; }
.offer .tag { font: 500 0.72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warm); }
.offer p { color: var(--soft); }
.offer ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.93rem; color: var(--muted); }
.offer li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; }
.offer li::before { content: "\2713"; color: var(--ok); font-size: 0.8rem; padding-top: 2px; }
.offer.feature { border-color: rgba(242, 182, 107, 0.45); background: linear-gradient(160deg, rgba(242, 182, 107, 0.08), var(--card)); }
.projects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.note { margin-top: 6px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--edge-hi); color: var(--soft); font-size: 0.93rem; }

/* Skills marquee */
.skills { border-block: 1px solid var(--edge); padding-block: 22px; overflow: hidden; }
.skills-track { display: flex; gap: 40px; width: max-content; animation: slide 40s linear infinite; }
.skills-track span { font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-serif); color: var(--soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.skills-track span::after { content: "\2022"; color: var(--warm); font-style: normal; font-size: 1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* About */
.about { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.about-main { display: grid; gap: 28px; min-width: 0; }
.about-photo { position: sticky; top: 110px; }
.about > * { min-width: 0; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: 24px; border: 1px solid var(--edge-hi); }
.about-copy { display: grid; gap: 18px; }
.about-copy p { color: var(--soft); max-width: 60ch; }
.timeline { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--edge-hi); }
.timeline li { position: relative; padding: 0 0 14px 20px; color: var(--soft); font-size: 0.95rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--warm); }
.timeline b { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } .about-photo { max-width: 320px; } }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story { padding: 26px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--card); display: grid; gap: 10px; align-content: start; min-width: 0; }
.story h3 { font-size: 1.3rem; }
.story p { color: var(--muted); }
.story p strong { color: var(--soft); font-weight: 500; }
.story .lesson { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--edge); color: var(--fg); }
@media (max-width: 860px) { .stories { grid-template-columns: 1fr; } }

/* Resources teaser */
.kit-teaser { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 36px; border-radius: 24px; border: 1px solid var(--edge-hi); background: radial-gradient(120% 140% at 0% 0%, rgba(59, 76, 155, 0.35), transparent 60%), var(--bg-2); }
.kit-teaser p { color: var(--soft); max-width: 56ch; }
@media (max-width: 760px) { .kit-teaser { grid-template-columns: 1fr; padding: 26px; } }

/* Forms */
.start { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.start > * { min-width: 0; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; gap: 28px; } }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--edge-hi); border-radius: 999px; background: var(--card); gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { font: 500 0.9rem/1 var(--f-sans); padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--soft); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--cream); color: var(--cream-ink); }
.form-card { border: 1px solid var(--edge-hi); border-radius: 24px; background: var(--bg-2); padding: 28px; min-width: 0; }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--soft); }
.field .hint { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea { width: 100%; font: inherit; color: var(--fg); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--edge-hi); border-radius: 12px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: rgba(242, 182, 107, 0.6); outline: none; }
select option { background: var(--bg-2); }
textarea { min-height: 96px; resize: vertical; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.875rem; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--warm); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 0.93rem; color: var(--muted); }
.form-msg.err { color: var(--warn); }
.done { display: grid; gap: 14px; }
.next-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--soft); }
.next-list li { display: grid; grid-template-columns: 28px 1fr; align-items: start; }
.next-list li b { font: 500 0.75rem/1 var(--f-mono); color: var(--warm); padding-top: 5px; }

/* FAQ */
.faq { display: grid; max-width: 820px; margin-inline: auto; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--warm); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 70ch; }

/* Footer */
.site-foot { border-top: 1px solid var(--edge); padding-block: 40px; color: var(--muted); font-size: 0.9rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: var(--fg); }

/* Simple pages (resources, thanks) */
.page-hero { padding-block: 72px 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 520px; background: radial-gradient(45% 55% at 25% 40%, rgba(59, 76, 155, 0.4), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.kit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kit-card { padding: 22px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--card); display: grid; gap: 10px; align-content: start; min-width: 0; }
.kit-card .label { font: 500 0.72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warm); }
.kit-card p { color: var(--muted); }
.kit-card .for { font-size: 0.85rem; }
@media (max-width: 760px) { .kit-list { grid-template-columns: 1fr; } }
.kit-fig { margin: 0 0 4px; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); }
.kit-art { display: block; width: 100%; height: auto; max-width: 100%; }
.kit-art .a-desk { fill: var(--bg-2); }
.kit-art .a-paper { fill: #141C29; stroke: var(--edge-hi); stroke-width: 1; }
.kit-art .a-line { fill: rgba(255, 255, 255, 0.12); }
.kit-art .a-ink { fill: rgba(255, 255, 255, 0.4); }
.kit-art .a-hl { fill: var(--warm); }
.kit-art .a-go { fill: #3B4C9B; }
.kit-art .a-go-dot { fill: var(--warm); }
.kit-art .a-step { fill: none; stroke: rgba(244, 235, 221, 0.6); stroke-width: 1.5; }
.kit-art .a-box { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.2; }
.kit-art .a-rule { fill: rgba(255, 255, 255, 0.1); }

/* Offer actions */
.ask { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--edge-hi); background: transparent; color: var(--cream); font: 500 0.875rem/1 var(--f-sans); cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.ask:hover { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.ask span { transition: transform .15s ease; }
.ask:hover span { transform: translateX(3px); }
.offer { transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.offer:hover { border-color: var(--edge-hi); background: var(--card-hi); transform: translateY(-2px); }
.offer.feature:hover { border-color: rgba(242, 182, 107, 0.7); }
.path { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--edge); border-radius: 24px; background: var(--card); min-width: 0; }
.brand { font-size: 1rem; }
@media (max-width: 900px) { .path { padding: 22px; } }

/* Hero without photo */
.hero-grid.solo { grid-template-columns: 1fr; max-width: 900px; justify-items: center; text-align: center; }
.hero-grid.solo .hero-copy { justify-items: center; }
.hero-grid.solo .lede { margin-inline: auto; }
.hero-grid.solo .actions { justify-content: center; }
@media (max-width: 900px) { .about-photo { position: static; max-width: 320px; } }

.brand-mark { display: inline-flex; gap: 3px; align-items: flex-end; }
.brand-mark i { display: block; width: 6px; border-radius: 2px; background: var(--soft); }
.brand-mark i:first-child { height: 16px; }
.brand-mark i:last-child { height: 11px; background: var(--warm); }
