/* Base resets that used to live in the build wrapper */
body { margin: 0; }
[hidden] { display: none !important; }
:root { padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); }
/* Self-hosted fonts (latin + Greek subsets only) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; src: url("/assets/fonts/archivo-latin-400-800.woff2") format("woff2"); }
@font-face { font-family: "GFS Didot"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/gfsdidot-greek-400.woff2") format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: "GFS Didot"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/gfsdidot-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/cinzel-latin-400-800.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dmmono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/dmmono-latin-500.woff2") format("woff2"); }
/* Theme from the logo: forest-green mountains, a gold sun and path, a dawn sky.
   The benefits program leads (forest green and sun gold), other professional services follow (sky slate),
   creative work stays quiet (wine), and deep gold marks Elijah, the person in every conversation. */
:root {
  --bg: #FAF6EE;
  --surface: #FFFDF8;
  --ink: #1C2B21;
  --muted: #5C6259;
  --rule: #E4DCCB;
  --wine: #8A2B54;
  --wine-soft: #F4E4EB;
  --cobalt: #355A7A;
  --cobalt-soft: #E4EBF2;
  --human: #85601F;
  --human-soft: #F4E9D2;
  --green: #2D4A36;
  --green-soft: #E5ECE2;
  --sun: #D1AA66;
  --amp: #A77F45;
  --sky: #DCE5F0;

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-greek: "GFS Didot", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --s-hero: clamp(2.1rem, 5vw, 4.1rem);
  --s-h2: clamp(1.75rem, 3.5vw, 2.7rem);
  --s-h3: 1.5rem;
  --s-body: 1.0625rem;
  --s-small: .875rem;
  --s-label: .75rem;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111915; --surface: #17211B; --ink: #F1ECE0; --muted: #A8AE9F; --rule: #2B362E;
    --wine: #E28CB2; --wine-soft: #2C1822; --cobalt: #93B6D9; --cobalt-soft: #172430;
    --human: #E0B65C; --human-soft: #2A2314; --green: #9CC9A8; --green-soft: #1B2A20; --sun: #D9B26C; --amp: #D9B26C; --sky: #1A2530;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111915; --surface: #17211B; --ink: #F1ECE0; --muted: #A8AE9F; --rule: #2B362E;
  --wine: #E28CB2; --wine-soft: #2C1822; --cobalt: #93B6D9; --cobalt-soft: #172430;
  --human: #E0B65C; --human-soft: #2A2314; --green: #9CC9A8; --green-soft: #1B2A20; --sun: #D9B26C; --amp: #D9B26C; --sky: #1A2530;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--s-body); line-height: 1.6;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--f-body); }
h1, h2 { font-family: var(--f-display); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--human); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 2px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
main:focus { outline: none; }
.label { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  margin-inline: -20px; padding: 14px 20px; border-bottom: 1px solid var(--rule);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.mark img { height: 34px; width: auto; display: block; }
.mark b { font-family: var(--f-display); font-weight: 700; letter-spacing: .03em; font-size: 1.2rem; }
.mark b i { font-style: normal; color: var(--human); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: var(--s-small); font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav ul a.b[aria-current="page"] { text-decoration-color: var(--cobalt); }
.nav ul a.c[aria-current="page"] { text-decoration-color: var(--wine); }
.nav ul a.c { color: var(--wine); }
.nav ul a.b { color: var(--cobalt); }
.nav ul a.g { color: var(--green); }
.nav ul a.g[aria-current="page"] { text-decoration-color: var(--green); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 15px 22px; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg); transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--sun); border-color: var(--sun); color: #1C2B21; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { border-color: var(--human); color: var(--human); background: transparent; }
.menu-toggle { display: none; align-items: center; gap: 8px; font: 600 var(--s-small)/1 var(--f-body); color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 2px; padding: 12px 16px; cursor: pointer; }
.menu-toggle .bars { width: 16px; height: 10px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.nav ul li.m-only { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav .wrap { position: relative; }
  .nav ul { display: none; position: absolute; top: calc(100% + 15px); left: -20px; right: -20px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px color-mix(in srgb, var(--ink) 12%, transparent); }
  .nav.open ul { display: flex; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .nav ul li:last-child a { border-bottom: 0; }
  .nav ul li.m-only { display: block; }
  .nav .actions .btn { padding: 12px 16px; }
}
@media (max-width: 560px) { .nav .actions .btn { display: none; } }
.nav .actions { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 88px); }
.lexicon { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.entry { display: grid; gap: 8px; min-width: 0; }
.entry .greek { font-family: var(--f-greek); font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: .9; letter-spacing: -.01em; }
.entry .gloss { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.entry .gloss em { font-family: var(--f-greek); font-size: 1.2rem; color: var(--muted); }
.entry .gloss b { font-weight: 600; }
.entry cite { font-family: var(--f-mono); font-size: var(--s-label); font-style: normal; color: var(--muted); letter-spacing: .03em; }
.entry.end { text-align: right; justify-items: end; }
.entry.end .gloss { justify-content: flex-end; }
.lexicon .to { font-family: var(--f-greek); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--human); align-self: center; padding-bottom: 36px; }
@media (max-width: 680px) {
  .lexicon { grid-template-columns: 1fr; gap: 6px; }
  .entry.end { text-align: left; justify-items: start; }
  .entry.end .gloss { justify-content: flex-start; }
  .lexicon .to { padding-bottom: 0; transform: rotate(90deg); justify-self: start; margin-left: 14px; font-size: 1.6rem; line-height: 1; }
  .entry .greek { font-size: 3rem; }
  .entry .gloss em { font-size: 1rem; }
  .lexicon { padding-bottom: 20px; }
  .hero { padding-block: 28px 48px; }
  .hero-copy { padding-top: 24px; }
}
.hero-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); padding-top: 36px; align-items: end; }
.hero h1 { font-size: var(--s-hero); line-height: 1.12; font-weight: 600; letter-spacing: .01em; }
.hero .lede { color: var(--muted); font-size: 1.125rem; max-width: 32em; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-side { display: grid; gap: 24px; min-width: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .hero-copy { grid-template-columns: 1fr; } }

.who.biz, .who.team, .who.net { background: var(--green-soft); color: var(--green); }
/* Editorial home: numbered section openers, hairline rules, an offset grid, one gold focal point */
.kicker { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .16em; text-transform: uppercase; color: var(--human); display: flex; align-items: center; gap: 14px; margin: 0; }
.kicker.num { color: var(--muted); margin-bottom: clamp(36px, 6vw, 72px); }
.kicker.num span { font-family: var(--f-greek); font-size: 1.15rem; letter-spacing: 0; color: var(--amp); }
.kicker.num::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
section.block.ed { border-top: 0; }
.ed-hero { padding-block: clamp(64px, 11vw, 160px) clamp(72px, 10vw, 140px); }
.ed-hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ed-hero .kicker { grid-column: 1 / -1; margin-bottom: clamp(28px, 4vw, 44px); }
.ed-hero h1 { grid-column: 1 / span 10; font-size: clamp(2.5rem, 6.8vw, 6.1rem); font-weight: 600; line-height: 1.04; letter-spacing: .005em; }
.ed-hero h1 em { font-style: normal; color: var(--amp); }
.ed-hero-side { grid-column: 7 / -1; margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--ink); display: grid; gap: 30px; }
.ed-lede { font-family: var(--f-greek); font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.4; }
.ed-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.text-link { font: 600 .8rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: none; border: 0; border-bottom: 1px solid currentColor; padding: 6px 0; cursor: pointer; transition: color .2s; }
.text-link:hover { color: var(--human); }
@media (max-width: 1000px) { .ed-hero h1 { grid-column: 1 / -1; } .ed-hero-side { grid-column: 5 / -1; } }
@media (max-width: 700px) { .ed-hero-side { grid-column: 1 / -1; } }
.ed-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.ed-title { grid-column: 1 / span 4; display: grid; gap: 14px; }
.ed-title h2, .ed-h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.1; }
.ed-title p { color: var(--muted); }
.ed-h2 { max-width: 16ch; margin-bottom: clamp(36px, 6vw, 64px); }
/* Quick check: one question at a time, no box */
.quiz { grid-column: 6 / -1; position: relative; padding-bottom: 32px; min-height: 240px; }
.quiz-steps { list-style: none; margin: 0; padding: 0; }
.q:not(.on) { display: none; }
.q, .q-result { display: grid; gap: 24px; animation: q-in .35s ease both; }
.q-result:focus { outline: none; }
.q-count { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .16em; text-transform: uppercase; color: var(--human); }
.quiz h3 { font-family: var(--f-greek); font-weight: 400; font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1.18; max-width: 18em; }
.q-result p:not(.q-count) { color: var(--muted); max-width: 34em; }
.q-btns { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.q-btns button { font: 500 1.15rem/1 var(--f-body); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 10px 0; min-width: 64px; text-align: left; cursor: pointer; transition: border-color .2s, color .2s; }
.q-btns button:hover { border-color: var(--amp); color: var(--human); }
.quiz-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.quiz-bar i { display: block; height: 2px; margin-top: -.5px; width: var(--done, 0%); background: var(--amp); transition: width .4s ease; }
.q-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes q-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .ed-title, .quiz { grid-column: 1 / -1; } }
/* How it works: a staircase, like the path up the mountain */
.stair { list-style: none; margin: 0; padding: 0; display: grid; }
.stair li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding-block: 30px; border-top: 1px solid var(--rule); max-width: 620px; }
.stair li:nth-child(2) { margin-left: 18%; }
.stair li:nth-child(3) { margin-left: 36%; }
.stair .n { font-family: var(--f-greek); font-size: 3.6rem; line-height: .85; color: var(--amp); }
.stair li > div { display: grid; gap: 8px; justify-items: start; }
.stair li .who { background: none; border: 0; padding: 0; color: var(--muted); }
.stair h3 { font-size: 1.35rem; font-weight: 600; }
.stair p { color: var(--muted); }
@media (max-width: 760px) { .stair li { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; } .stair li:nth-child(2) { margin-left: 6%; } .stair li:nth-child(3) { margin-left: 12%; } .stair .n { font-size: 2.6rem; } }
/* Why: the two words, staggered */
.lexicon.stagger { grid-template-columns: 1fr 1fr; border-bottom: 0; padding-bottom: 0; align-items: start; }
.lexicon.stagger .greek { font-size: clamp(3.6rem, 11vw, 8.5rem); }
.lexicon.stagger .entry.end { margin-top: clamp(56px, 9vw, 140px); }
.why-line { margin: clamp(48px, 7vw, 88px) 0 0 50%; font-family: var(--f-greek); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; max-width: 18em; }
@media (max-width: 680px) { .lexicon.stagger .entry.end { margin-top: 28px; } .why-line { margin-left: 0; } }
/* Also from Logos & Telos: an index */
.index { display: grid; border-bottom: 1px solid var(--rule); }
.index a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--rule); text-decoration: none; font-family: var(--f-greek); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.1; transition: color .2s, padding-left .3s; }
.index a span { font-family: var(--f-body); font-size: 1.2rem; color: var(--muted); }
@media (hover: hover) { .index a:hover { color: var(--human); padding-left: 14px; } }
/* Sections ease in as they scroll into view (only ones that start below the fold) */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.pending { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .q, .q-result { animation: none; } .reveal.pending { opacity: 1; transform: none; } }
.program-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; padding: 12px 16px; border-radius: 2px; background: var(--green-soft); text-decoration: none; font-size: var(--s-small); }
.program-note b { color: var(--green); font-weight: 600; white-space: nowrap; }
@media (hover: hover) { .program-note:hover b { text-decoration: underline; } }
.fine { margin-top: 64px; font-size: .8rem; line-height: 1.55; color: var(--muted); max-width: 60em; }

/* Path doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.door {
  display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--ink);
  padding: clamp(24px, 3.5vw, 36px); padding-left: clamp(30px, 4vw, 44px); border-radius: 2px; border: 1px solid var(--rule); background: var(--surface);
  position: relative; overflow: hidden; transition: border-color .2s, transform .2s;
}
@media (hover: hover) {
  .door:hover { transform: translateY(-2px); }
  .door.creative:hover { border-color: var(--wine); }
  .door.business:hover { border-color: var(--cobalt); }
}
.door::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.door.creative::before { background: var(--wine); }
.door.business::before { background: var(--cobalt); }
.door .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.door .pill { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.door.creative .pill { background: var(--wine-soft); color: var(--wine); }
.door.business .pill { background: var(--cobalt-soft); color: var(--cobalt); }
.door .since { font-family: var(--f-mono); font-size: var(--s-label); color: var(--muted); }
.door h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.12; }
.door p { color: var(--muted); max-width: 30em; }
.door .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.door .tags span { font-size: var(--s-small); border: 1px solid var(--rule); border-radius: 2px; padding: 4px 10px; }
.door .go { font-weight: 600; font-size: var(--s-small); margin-top: 6px; }
.door.creative .go { color: var(--wine); }
.door.business .go { color: var(--cobalt); }
@media (max-width: 780px) { .doors { grid-template-columns: 1fr; } }

/* Sections */
section.block { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
section.block.first { border-top: 0; padding-top: clamp(40px, 6vw, 72px); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.page-head { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-bottom: 52px; }
.page-head h1 { max-width: 18ch; }
.page-head > p { font-size: 1.125rem; max-width: 40em; }
.head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.12; letter-spacing: .01em; margin-top: 12px; }
.head h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.12; letter-spacing: .01em; margin-top: 12px; }
.head p { color: var(--muted); max-width: 34em; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

/* Human in the loop */
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 0; counter-reset: s; }
.loop li { border-top: 2px solid var(--rule); padding: 20px 24px 0 0; display: grid; gap: 10px; align-content: start; position: relative; counter-increment: s; min-width: 0; }
.loop li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.who { justify-self: start; font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; }
.who.you { background: var(--bg); color: var(--ink); border: 1px solid var(--rule); }
.who.ai { background: var(--cobalt-soft); color: var(--cobalt); }
.who.eli { background: var(--human-soft); color: var(--human); }
.loop h3 { font-size: 1.2rem; font-weight: 600; }
.loop h3::before { content: counter(s) ". "; color: var(--muted); font-weight: 500; }
.loop p { font-size: .95rem; color: var(--muted); }
.again { margin-top: 14px; display: flex; align-items: center; gap: 12px; color: var(--human); font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; }
.again::before, .again::after { content: ""; flex: 1; border-top: 1px dashed var(--human); opacity: .6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin-top: 44px; }
.split > div { padding-top: 22px; border-top: 2px solid; display: grid; gap: 10px; align-content: start; min-width: 0; }
.split .ai-side { border-color: var(--cobalt); }
.split .hu-side { border-color: var(--human); }
.split h3 { font-size: var(--s-h3); font-weight: 600; }
.split ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.split .ai-side li::marker { color: var(--cobalt); }
.split .hu-side li::marker { color: var(--human); }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .loop, .split { grid-template-columns: 1fr; } }

/* Path sections */
.path-head .label { display: inline-flex; gap: 10px; align-items: center; }
.path-head .label::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: currentColor; }
#creative .path-head .label { color: var(--wine); }
#business .path-head .label { color: var(--cobalt); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; } }
.services { list-style: none; margin: 0; padding: 0; display: grid; }
.services li { display: grid; gap: 4px; padding-block: 18px; border-top: 1px solid var(--rule); }
.services li:last-child { border-bottom: 1px solid var(--rule); }
.services b { font-size: 1.1rem; font-weight: 600; }
.services span { color: var(--muted); font-size: .95rem; }
.for { margin-top: 22px; font-size: var(--s-small); color: var(--muted); }
.for b { color: var(--ink); font-weight: 600; }

.journey { background: var(--surface); border: 1px solid var(--rule); border-radius: 2px; padding: clamp(20px, 3vw, 28px); display: grid; gap: 18px; min-width: 0; }
.journey .cap { font-size: var(--s-small); color: var(--muted); font-weight: 500; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; }
.stages li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start; padding-block: 12px; border-top: 1px dashed var(--rule); }
.stages li:first-child { border-top: 0; }
.stages .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; border: 2px solid; }
#creative .stages .dot { border-color: var(--wine); }
#business .stages .dot { border-color: var(--cobalt); }
#creative .stages li.done .dot { background: var(--wine); }
#business .stages li.done .dot { background: var(--cobalt); }
.stages b { font-weight: 600; display: block; }
.stages small { color: var(--muted); font-size: var(--s-small); }
.stages .tag { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.stages .tag.ai { background: var(--cobalt-soft); color: var(--cobalt); }
.stages .tag.eli { background: var(--human-soft); color: var(--human); }
.stages .tag.you { border: 1px solid var(--rule); color: var(--ink); }

.sheet { font-family: var(--f-mono); font-size: .8rem; line-height: 1.75; background: var(--wine-soft); border-radius: 4px; padding: 14px 16px; overflow-x: auto; display: grid; gap: 10px; }
.sheet .brief { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding-bottom: 10px; border-bottom: 1px dashed color-mix(in srgb, var(--wine) 35%, transparent); }
.sheet .brief dt { color: var(--muted); }
.sheet .brief dd { margin: 0; }
.sheet .sec { color: var(--wine); }
.sheet .ly { white-space: pre; }
.origin { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--wine); background: var(--wine-soft); border-radius: 0 4px 4px 0; }
.origin p { font-size: .975rem; }
.origin b { color: var(--wine); }

/* LYJAH callout inside business path */
.lyjah { margin-top: 48px; background: var(--cobalt-soft); border-radius: 2px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 48px; align-items: center; scroll-margin-top: 64px; }
.lyjah .label { color: var(--cobalt); }
.lyjah h2, .lyjah h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.12; margin-block: 10px 12px; }
.lyjah h2 span { color: var(--cobalt); }
.lyjah p { color: var(--muted); max-width: 34em; }
.lyjah .facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; max-width: 30rem; gap: 20px 28px; }
.browser { margin: 0; min-width: 0; border-radius: 2px; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.browser .bar span { margin-left: 10px; flex: 1; font-family: var(--f-mono); font-size: var(--s-label); color: var(--muted); background: var(--bg); border-radius: 2px; padding: 4px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { display: block; width: 100%; height: auto; max-width: 100%; }
/* LYJAH screens carousel: native swipe on touch, buttons on desktop */
.carousel { max-width: 100%; }
.slides { width: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--human); outline-offset: -2px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 8 / 5; background: var(--bg); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide img.top-left { object-position: left top; }
.car-controls { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--rule); font-size: var(--s-small); }
.car-caption { font-weight: 600; flex: 1; }
.car-dots { display: flex; gap: 6px; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.car-dots i.on { background: var(--cobalt); }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); font: 600 1.3rem/1 var(--f-body); cursor: pointer; display: inline-grid; place-items: center; padding-bottom: 3px; }
.car-btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .car-btn:not(:disabled):hover { border-color: var(--cobalt); color: var(--cobalt); } }
.lyjah .facts li { border-left: 2px solid var(--cobalt); padding: 2px 0 2px 14px; display: grid; gap: 2px; }
.lyjah .facts b { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lyjah .facts small { color: var(--muted); font-size: var(--s-small); }
.lyjah .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lyjah-film { grid-column: 1 / -1; margin: 8px 0 0; min-width: 0; }
.lyjah-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 2px; box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: #1C2B21; }
.btn.sun:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.blue { background: var(--cobalt); border-color: var(--cobalt); color: var(--surface); }
.btn.blue:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .lyjah { grid-template-columns: minmax(0, 1fr); } }

/* AI training (business path) */
#training .path-head .label { color: var(--cobalt); }
.creds { display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; background: var(--cobalt-soft); border-radius: 2px; padding: clamp(20px, 3vw, 32px); margin-bottom: 36px; }
.creds .num { font-family: var(--f-display); font-weight: 600; font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: .9; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.creds .num small { display: block; font-family: var(--f-mono); font-size: var(--s-label); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.creds p { max-width: 40em; }
.creds p + p { color: var(--muted); font-size: var(--s-small); margin-top: 8px; }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 0; counter-reset: lv; }
.ladder li { counter-increment: lv; border-top: 1px solid var(--rule); padding: 20px 28px 8px 0; display: grid; gap: 8px; align-content: start; min-width: 0; position: relative; }
.ladder li::before { content: "Level " counter(lv); font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.ladder li::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: calc(16% + 14% * var(--l)); background: var(--cobalt); }
.ladder h2 { font-size: 1.2rem; font-weight: 600; }
.ladder p { color: var(--muted); font-size: .95rem; }
.ladder .can { font-size: var(--s-small); color: var(--ink); }
.ladder .can b { color: var(--cobalt); font-weight: 600; }
/* Accordion version, set up by site.js */
.ladder.acc { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--rule); }
.ladder.acc li { grid-template-columns: 84px minmax(0, 1fr); column-gap: 20px; row-gap: 0; padding: 0; align-items: baseline; }
.ladder.acc li::before { padding-top: 20px; }
.ladder.acc h2 button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; font: 600 1.2rem/1.3 var(--f-body); color: var(--ink); }
.ladder.acc h2 button::after { content: "+"; color: var(--cobalt); font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.ladder.acc li.open h2 button::after { transform: rotate(45deg); }
.ladder.acc h2 button:focus-visible { outline: 2px solid var(--human); outline-offset: 2px; }
.ladder.acc .lvl-body { grid-column: 2; display: grid; gap: 8px; padding-bottom: 20px; max-width: 44em; animation: q-in .3s ease both; }
.ladder.acc .lvl-body[hidden] { display: none; }
@media (max-width: 600px) { .ladder.acc li { grid-template-columns: 1fr; } .ladder.acc li::before { padding-top: 16px; } .ladder.acc .lvl-body { grid-column: 1; } .ladder.acc h2 button { padding-top: 6px; } }
@media (hover: hover) { .ladder.acc h2 button:hover { color: var(--cobalt); } }
.ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ends span:last-child { color: var(--cobalt); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; margin-top: 40px; }
.formats div { border-top: 2px solid var(--cobalt); padding-top: 14px; display: grid; gap: 4px; align-content: start; }
.formats b { font-weight: 600; }
.formats span { color: var(--muted); font-size: .95rem; }
.training-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ladder, .formats { grid-template-columns: 1fr; } }

/* Listen: one player + track list */
.playlist { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); overflow: hidden; scroll-margin-top: 64px; }
.now { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: clamp(18px, 3vw, 28px); align-items: start; }
.now img { width: 200px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; display: block; }
.np-meta { display: grid; gap: 8px; min-width: 0; }
.np-kicker { font-size: var(--s-small); color: var(--wine); font-weight: 600; }
.np-meta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.12; }
.np-meta .credit { font-size: var(--s-small); color: var(--muted); }
.np-meta .desc { color: var(--muted); max-width: 40em; }
.np-meta audio { width: 100%; margin-top: 6px; accent-color: var(--wine); }
.np-meta summary { padding-block: 10px; cursor: pointer; font-weight: 600; font-size: var(--s-small); color: var(--wine); }
.tracks { list-style: none; margin: 0; padding: 8px 0; border-left: 1px solid var(--rule); background: var(--bg); }
.track { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px clamp(16px, 2.5vw, 24px); background: transparent; border: 0; border-left: 3px solid transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.track img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; display: block; }
.track .t-name { display: grid; min-width: 0; }
.track .t-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .t-name small { color: var(--muted); font-size: var(--s-small); }
.track .t-time { font-family: var(--f-mono); font-size: var(--s-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.track.is-current { border-left-color: var(--wine); background: var(--wine-soft); }
.track.is-current .t-name b { color: var(--wine); }
@media (hover: hover) { .track:hover { background: var(--wine-soft); } }
.lyrics { margin-top: 14px; columns: 2 16em; column-gap: 32px; }
.lyrics .stanza { break-inside: avoid; margin-bottom: 16px; }
.lyrics .sec { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.lyrics p { font-family: var(--f-greek); font-size: 1.05rem; line-height: 1.5; margin-top: 4px; }
.aka { font-size: var(--s-small); color: var(--muted); margin: 12px 0 44px; }
@media (max-width: 1100px) { .playlist { grid-template-columns: 1fr; } .tracks { border-left: 0; border-top: 1px solid var(--rule); } }
@media (max-width: 600px) { .now { grid-template-columns: 1fr; gap: 16px; } .now img { width: 132px; } }

/* Story */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.portrait { margin: 0; display: grid; gap: 10px; min-width: 0; max-width: 380px; width: 100%; }
.portrait img { width: 100%; max-width: 100%; height: auto; border-radius: 2px; display: block; background: var(--surface); }
.portrait figcaption { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .06em; color: var(--muted); }
.story { display: grid; gap: 20px; min-width: 0; }
.story h1, .story h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.12; letter-spacing: .01em; }
.story p { max-width: 36em; }
.quote { font-family: var(--f-greek); font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.3; max-width: 26em; padding-left: 20px; border-left: 3px solid var(--human); margin: 4px 0; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.timeline li { padding-top: 12px; border-top: 3px solid var(--rule); display: grid; gap: 2px; align-content: start; }
.timeline li.c { border-color: var(--wine); }
.timeline li.b { border-color: var(--cobalt); }
.timeline li.g { border-color: var(--green); }

.timeline b { font-weight: 600; font-size: .95rem; }
.timeline span { font-size: var(--s-small); color: var(--muted); }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .portrait { max-width: 240px; } }
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); }
.contact h1, .contact h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.12; margin-block: 12px 16px; }
.contact .intro p { color: var(--muted); max-width: 30em; }
.direct { margin-top: 24px; color: var(--muted); }
.direct code { font-family: var(--f-mono); font-size: .95rem; user-select: all; }
.contact-photo { margin: 32px 0 0; max-width: 260px; display: grid; gap: 8px; }
.contact-photo img { width: 100%; max-width: 100%; height: auto; border-radius: 2px; display: block; }
.contact-photo figcaption { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .06em; color: var(--muted); }
@media (max-width: 860px) { .contact-photo { max-width: none; grid-template-columns: 96px 1fr; align-items: end; gap: 14px; margin-top: 24px; } }
form { display: grid; gap: 18px; min-width: 0; align-content: start; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > label { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; display: block; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.pick label { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; background: var(--surface); }
.pick label b { font-weight: 600; }
.pick label small { color: var(--muted); font-size: var(--s-small); }
#p-creative:checked + label { border-color: var(--wine); background: var(--wine-soft); }
#p-services:checked + label { border-color: var(--cobalt); background: var(--cobalt-soft); }
#p-benefits:checked + label { border-color: var(--green); background: var(--green-soft); }
.pick.pick3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .pick.pick3 { grid-template-columns: 1fr; } }
.pick input:focus-visible + label, .chips input:focus-visible + label { outline: 2px solid var(--human); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-size: var(--s-small); font-weight: 500; padding: 9px 14px; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; background: var(--surface); }
.chips input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; min-width: 0; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px; width: 100%; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--human); box-shadow: 0 0 0 3px var(--human-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.note { font-size: var(--s-small); color: var(--human); }
.note.err { color: var(--wine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2, .pick { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--rule); padding-block: 36px; }
footer .logo img { width: 220px; height: auto; display: block; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
footer .verse { font-family: var(--f-greek); font-size: 1.1rem; color: var(--muted); max-width: 34em; }
footer small { font-family: var(--f-mono); font-size: var(--s-label); color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: var(--s-small); }
.foot-links a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.foot-links a:hover { color: var(--ink); }


/* Closing call to action on every page */
.cta-band { background: var(--surface); margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.cta-inner { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.cta-photo { margin: 0; }
.cta-photo img { width: 100%; max-width: 100%; height: auto; border-radius: 2px; display: block; }
.cta-inner h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.12; letter-spacing: .01em; margin-block: 12px; }
.cta-inner p { color: var(--muted); max-width: 34em; }
.cta-inner .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1000px) { .cta-inner { grid-template-columns: 150px minmax(0, 1fr); } .cta-inner .ctas { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cta-inner { grid-template-columns: 1fr; } .cta-photo { max-width: 160px; } }

/* Document pages (Terms, Privacy, 404) */
.doc-head { padding-block: clamp(40px, 6vw, 72px) 20px; }
.doc-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.12; margin: 10px 0 14px; letter-spacing: .01em; }
.doc-head p { color: var(--muted); max-width: 40em; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-bottom: 56px; }
nav.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); align-self: start; font-size: .875rem; }
nav.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
nav.toc li { counter-increment: t; }
nav.toc a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; }
nav.toc a::before { content: counter(t) ". "; color: var(--ink); }
nav.toc a:hover { color: var(--ink); }
nav.toc a.key { color: var(--wine); font-weight: 600; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; gap: 0; } nav.toc { position: static; border: 1px solid var(--rule); border-radius: 2px; padding: 14px 16px; margin-bottom: 24px; background: var(--surface); } }
.doc-body { min-width: 0; counter-reset: sec; line-height: 1.65; }
.doc-body a { color: var(--cobalt); text-underline-offset: 3px; }
.doc-body section { padding-block: 8px 28px; border-top: 1px solid var(--rule); scroll-margin-top: 84px; counter-increment: sec; }
.doc-body section:first-child { border-top: 0; }
.doc-body h2 { font-weight: 700; font-size: 1.45rem; line-height: 1.2; margin: 24px 0 12px; }
.doc-body h2::before { content: counter(sec) ". "; color: var(--muted); font-weight: 500; }
.doc-body h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 6px; }
.doc-body p { margin: 0 0 12px; max-width: 42em; }
.doc-body ul { margin: 0 0 12px; padding-left: 1.2em; max-width: 42em; }
.doc-body li { margin-bottom: 6px; }
.plain { margin: 14px 0 6px; padding: 14px 18px; border-radius: 0 6px 6px 0; border-left: 3px solid var(--human); background: var(--surface); max-width: 42em; }
.plain .label { color: var(--human); display: block; margin-bottom: 4px; }
.plain p { margin: 0; }
.doc-body section.key h2 { color: var(--wine); }
.doc-body section.key .plain { border-color: var(--wine); background: var(--wine-soft); }
.doc-body section.key .plain .label { color: var(--wine); }
.rights { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .925rem; }
.tablewrap { overflow-x: auto; max-width: 42em; }
.rights th, .rights td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.rights th { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Photo hero (home): Elijah's own landscapes cross-fade behind the headline */
.ph-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #F1ECE0;
  margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px));
  min-height: min(calc(100svh - 68px), 980px); display: grid; align-content: end;
  padding-block: clamp(72px, 9vw, 128px) 24px; background: #111915;
}
.ph-slides { position: absolute; inset: 0; z-index: -1; }
.ph-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(14 21 17 / .5), rgb(14 21 17 / 0) 65%), linear-gradient(to top, rgb(14 21 17 / .9) 0%, rgb(14 21 17 / .55) 38%, rgb(14 21 17 / .22) 70%, rgb(14 21 17 / .35) 100%); }
.ph-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.ph-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
.ph-slide.on { opacity: 1; }
.ph-slide.on img { animation: ph-drift 11s ease-out forwards; }
@keyframes ph-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.ph-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; width: 100%; }
.ph-copy .kicker { grid-column: 1 / -1; color: #D9B26C; text-shadow: 0 1px 12px rgb(0 0 0 / .6); margin-bottom: clamp(24px, 3.5vw, 40px); }
.ph-copy h1 { grid-column: 1 / span 10; font-size: clamp(2.5rem, 6.6vw, 6rem); font-weight: 600; line-height: 1.04; letter-spacing: .005em; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.ph-copy h1 em { font-style: normal; color: #D9B26C; }
.ph-copy .ed-hero-side { border-top-color: rgb(241 236 224 / .55); }
.ph-copy .text-link { color: #F1ECE0; }
.ph-copy .text-link:hover { color: #D9B26C; }
.ph-copy .btn.sun:hover { background: #F1ECE0; border-color: #F1ECE0; color: #1C2B21; }
.ph-meta { width: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 64px); font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .14em; text-transform: uppercase; color: rgb(241 236 224 / .75); }
.ph-cap { display: flex; gap: 14px; min-width: 0; }
.ph-n, .ph-pause { white-space: nowrap; flex: none; }
.ph-copy .ed-lede { text-shadow: 0 1px 18px rgb(0 0 0 / .35); }
.ph-n { color: #D9B26C; }
.ph-pause { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid rgb(241 236 224 / .4); padding: 6px 0; cursor: pointer; }
.ph-pause:hover { color: #F1ECE0; }
.ph-pause:focus-visible, .ph-copy :focus-visible { outline-color: #D9B26C; }
@media (max-width: 1000px) { .ph-copy h1 { grid-column: 1 / -1; } .ph-copy .ed-hero-side { grid-column: 5 / -1; } }
@media (max-width: 700px) { .ph-copy .ed-hero-side { grid-column: 1 / -1; } .ph-hero { min-height: calc(100svh - 64px); } }
@media (prefers-reduced-motion: reduce) { .ph-slide.on img { animation: none; transform: none; } .ph-slide { transition: none; } }

/* Full-bleed photo breaks between sections, with a field-notes caption */
.bleed { margin: 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))); position: relative; }
.bleed img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.bleed figcaption, .notes figcaption, .meet-photo figcaption { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bleed figcaption { max-width: var(--wrap); margin: 14px auto 0; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
@media (max-width: 700px) { .bleed img { aspect-ratio: 4 / 3; } }

/* Who it's for: three roles, stepped, no boxes */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.roles > div { display: grid; gap: 12px; align-content: start; justify-items: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.roles > div:nth-child(2) { margin-top: clamp(0px, 5vw, 64px); }
.roles > div:nth-child(3) { margin-top: clamp(0px, 10vw, 128px); }
.roles h3 { font-family: var(--f-greek); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.roles p { color: var(--muted); max-width: 26em; }
.roles .text-link { margin-top: 6px; }
@media (max-width: 800px) { .roles { grid-template-columns: 1fr; } .roles > div:nth-child(n) { margin-top: 0; } }

/* Straight answers: native disclosure, hairlines */
.qa { grid-column: 6 / -1; border-bottom: 1px solid var(--rule); }
.qa details { border-top: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; font-family: var(--f-greek); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.25; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--f-body); font-size: 1.5rem; line-height: 1; color: var(--amp); transition: transform .25s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--human); }
.qa details p { color: var(--muted); max-width: 36em; padding-bottom: 24px; animation: q-in .3s ease both; }
@media (max-width: 860px) { .qa { grid-column: 1 / -1; } }

/* Who you're talking to: the portrait, whole, beside two lines */
.meet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: end; }
.meet-photo { grid-column: 1 / span 4; margin: 0; }
.meet-photo img { width: 100%; height: auto; display: block; border-radius: 2px; }
.meet-copy { grid-column: 6 / -1; display: grid; gap: 22px; padding-bottom: 12px; }
.meet-copy .kicker.num { margin-bottom: clamp(12px, 3vw, 32px); }
.meet-copy h2 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 600; line-height: .95; }
.meet-copy .ed-lede { max-width: 22em; }
.promise, .ed-promise { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .14em; text-transform: uppercase; color: var(--human); }
@media (max-width: 760px) { .meet-photo { grid-column: 1 / span 8; } .meet-copy { grid-column: 1 / -1; } }

/* Editorial inner pages: big Cinzel opener, offset lede, numbered sections */
.ed-page { padding-block: clamp(64px, 10vw, 150px) clamp(24px, 4vw, 48px); }
.ed-page .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ed-page .kicker { grid-column: 1 / -1; margin-bottom: clamp(24px, 3.5vw, 40px); }
.ed-page h1 { grid-column: 1 / span 10; font-size: clamp(2.3rem, 5.6vw, 5rem); font-weight: 600; line-height: 1.06; }
.ed-page h1 em { font-style: normal; color: var(--amp); }
.ed-page-lede { grid-column: 7 / -1; margin-top: clamp(32px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--ink); }
.ed-page .ed-promise { grid-column: 7 / -1; margin-top: 20px; }
@media (max-width: 1000px) { .ed-page h1 { grid-column: 1 / -1; } .ed-page-lede, .ed-page .ed-promise { grid-column: 5 / -1; } }
@media (max-width: 700px) { .ed-page-lede, .ed-page .ed-promise { grid-column: 1 / -1; } }
.ed-body { grid-column: 6 / -1; display: grid; gap: 18px; max-width: 40em; }
.ed-body p { font-size: 1.08rem; }
.ed-list { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; counter-reset: el; border-bottom: 1px solid var(--rule); }
.ed-list li { counter-increment: el; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding-block: 18px; border-top: 1px solid var(--rule); font-family: var(--f-greek); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.ed-list li::before { content: counter(el, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; color: var(--amp); padding-top: .5em; }
.ed-split-gap { margin-top: clamp(56px, 8vw, 96px); }
.fine a { color: inherit; }
@media (max-width: 860px) { .ed-body, .ed-list { grid-column: 1 / -1; } }
/* About: field notes, a photo essay in natural ratios (nothing cropped) */
.notes-lede { grid-column: 6 / -1; max-width: 22em; }
.notes { columns: 3 260px; column-gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(48px, 7vw, 88px); }
.notes figure { break-inside: avoid; margin: 0 0 clamp(28px, 3.4vw, 44px); display: grid; gap: 10px; }
.notes img { width: 100%; height: auto; display: block; border-radius: 2px; }
.notes figure:nth-child(3n + 2) { padding-inline: 8%; }
@media (max-width: 860px) { .notes-lede { grid-column: 1 / -1; } }
@media (max-width: 600px) { .notes { columns: 2; } .notes figure:nth-child(3n + 2) { padding-inline: 0; } }
.story h2 { font-size: var(--s-h2); }
/* Contact: the reply promise, what happens next, and the thank-you state */
.contact .ed-promise { margin-top: 18px; }
.next-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: ns; max-width: 30em; border-bottom: 1px solid var(--rule); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 36px minmax(0, 1fr); padding-block: 12px; border-top: 1px solid var(--rule); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--s-label); color: var(--amp); padding-top: .3em; }
.sent { display: grid; gap: 22px; align-content: start; padding-top: 8px; animation: q-in .4s ease both; }
.sent:focus { outline: none; }
.sent h2 { font-size: var(--s-h2); font-weight: 600; line-height: 1.1; }
