/* workdisappears: one stylesheet, no framework. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/InstrumentSans-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/InstrumentSans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --ink: #17160f;
  --ink-2: #4c483d;
  --muted: #65604f;
  --rule: #d6cfbf;
  --accent: #b03d18;
  --accent-ink: #fff8f0;
  --night: #15140f;
  --night-ink: #efe9dc;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: clamp(17px, 0.35vw + 15.6px, 19px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose > * { max-width: 40rem; }
.prose-wide > * { max-width: 980px; }
.prose > .stats { max-width: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em; font-variation-settings: "opsz" 96; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(21px, 1.6vw, 25px); font-variation-settings: "opsz" 36; letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.lede { font-size: clamp(20px, 1.4vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.big { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.42; font-variation-settings: "opsz" 36; font-weight: 400; }
.small { font-size: 15px; color: var(--muted); }

/* Wordmark: "disappears" fades out. */
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; font-variation-settings: "opsz" 48; }
.wordmark .fade, .vanish {
  background: linear-gradient(90deg, currentColor 0%, currentColor 18%, color-mix(in srgb, currentColor 8%, transparent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--ink);
}
.vanish { font-style: italic; font-weight: 400; padding-right: 0.08em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; }
.site-header { border-bottom-color: color-mix(in srgb, var(--rule) 70%, transparent); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav-desktop ul, .nav-mobile ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.nav-desktop a, .nav-mobile a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav-desktop a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-desktop a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-weight: 600; font-size: 15px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile nav { position: fixed; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 22px; box-shadow: 0 18px 30px -24px rgba(0,0,0,.35); }
.nav-mobile nav li { border-top: 1px solid var(--rule); }
.nav-mobile nav li:first-child { border-top: 0; }
.nav-mobile nav a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.nav-mobile nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 860px) { .nav-desktop { display: none; } .nav-mobile { display: block; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 600 17px/1.2 var(--sans); letter-spacing: 0.005em; text-align: center;
  transition: background .2s ease, transform .2s ease;
}
.button::after { content: "\2192"; transition: transform .2s ease; }
.button:hover { background: var(--accent); color: var(--accent-ink); }
.button:hover::after { transform: translateX(3px); }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.arrow-link::after { content: " \2192"; }

/* Hero */
.hero { padding: clamp(56px, 10vw, 132px) 0 clamp(56px, 8vw, 104px); }
.display { font-size: clamp(54px, 10.4vw, 148px); line-height: 0.94; letter-spacing: -0.035em; font-weight: 400; font-variation-settings: "opsz" 144; margin-bottom: 0.32em; max-width: 11ch; }
.hero .lede { margin-bottom: 0.8em; }
.opener { font-size: clamp(18px, 1.2vw, 20px); max-width: 34em; margin-bottom: 1.8em; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.ledger { list-style: none; margin: 0 0 6px; padding: 0; border-top: 1px solid var(--rule); counter-reset: l; }
.ledger li { counter-increment: l; display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--ink); position: relative; }
.ledger li::before { content: "0" counter(l); font: 600 12px/1 var(--sans); letter-spacing: 0.1em; color: var(--muted); }
.ledger span { position: relative; }
.ledger span::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: strike .6s ease forwards; }
.ledger li:nth-child(1) { opacity: 1; } .ledger li:nth-child(1) span::after { animation-delay: .5s; }
.ledger li:nth-child(2) { opacity: .82; } .ledger li:nth-child(2) span::after { animation-delay: .75s; }
.ledger li:nth-child(3) { opacity: .64; } .ledger li:nth-child(3) span::after { animation-delay: 1s; }
.ledger li:nth-child(4) { opacity: .46; } .ledger li:nth-child(4) span::after { animation-delay: 1.25s; }
.ledger li:nth-child(5) { opacity: .3; } .ledger li:nth-child(5) span::after { animation-delay: 1.5s; }
.ledger li:nth-child(6) { opacity: .16; } .ledger li:nth-child(6) span::after { animation-delay: 1.75s; }
@keyframes strike { to { transform: scaleX(1); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .ledger { display: none; } }
@media (prefers-reduced-motion: reduce) { .ledger span::after { animation: none; transform: scaleX(1); } }

/* Bands and sections */
section { position: relative; }
.band, .offer, .fit { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; font-weight: 400; font-variation-settings: "opsz" 144; }

.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0 32px; }
.way { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.way:first-child { background: var(--ink); color: var(--night-ink); }
.way:first-child .way-tag { color: #f0a07f; }
.way:first-child .way-note { border-top-color: #3b382e; color: #cfc7b5; }
.way-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.way h3 { font-size: clamp(26px, 2.4vw, 32px); }
.way-note { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); font-weight: 500; }

.case-strip { background: var(--night); color: var(--night-ink); padding: clamp(64px, 9vw, 120px) 0; }
.case-strip .eyebrow { color: #f0a07f; }
.case-strip h2 { max-width: 20ch; font-weight: 400; }
.case-strip a { color: var(--night-ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 40px; border-top: 1px solid #3b382e; }
.stats div { padding: 26px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid #3b382e; }
.stats dt { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px; font-variation-settings: "opsz" 144; }
.stats dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: #cfc7b5; }
.stats-page { border-top-color: var(--rule); margin: 8px 0 24px; }
.stats-page div + div { border-left-color: var(--rule); }
.stats-page dd { color: var(--ink-2); }
.stats-page dt { color: var(--ink); }

.stages { list-style: none; padding: 0; margin: 36px 0 56px; counter-reset: stage; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.stages li { counter-increment: stage; padding: 26px 0 8px; border-top: 1px solid var(--rule); }
.stages li::before { content: "0" counter(stage); display: block; font-family: var(--serif); font-size: 15px; color: var(--accent); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.06em; }
.stages p { color: var(--ink-2); }
h2.sub { font-size: clamp(24px, 2.4vw, 32px); }
.terms { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.terms li { background: var(--paper-2); border-radius: var(--radius); padding: 20px 22px; color: var(--ink-2); }
.terms strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 4px; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.check, .cross { list-style: none; padding: 0; margin: 0 0 24px; }
.check li, .cross li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); }
.check li::before, .cross li::before { position: absolute; left: 0; top: 13px; font-weight: 700; }
.check li::before { content: "\2713"; color: var(--accent); }
.cross li::before { content: "\2715"; color: var(--muted); }

/* Forms */
.start { background: var(--paper-2); padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.start-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.start-copy h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 400; letter-spacing: -0.025em; }
.form { background: var(--paper); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(23,22,15,.35); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.required { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 10px 15px; border: 1px solid var(--rule); border-radius: 999px; background: #fffdf8; font-size: 15.5px; line-height: 1.2; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.invalid .choice span { border-color: var(--accent); }
input, select, textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: #fffdf8;
  border: 1px solid var(--rule); border-radius: 10px; padding: 13px 14px; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 96px; field-sizing: content; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); }
.field-hint { margin: 7px 0 0; font-size: 14.5px; color: var(--ink-2); }
.field-error { margin: 7px 0 0; font-size: 14.5px; color: var(--accent); }
.link-button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; width: auto; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; margin: 4px 0 0; cursor: pointer; }
.check-field { margin-bottom: 22px; }
.checkbox input { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 0; border-radius: 5px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--ink); }
.field.invalid .checkbox { color: var(--accent); }
.form .button { width: 100%; }
.form.sent > :not(.thanks) { display: none; }
.thanks h3 { font-size: 30px; }
/* Live forms: the trap field stays out of sight and out of the tab order; notices and errors read in the accent. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-note { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--accent); background: #fffdf8; font-size: 15.5px; }
.form-error { margin: 0 0 16px; color: var(--accent); font-size: 15.5px; font-weight: 600; }
.form-error a { color: inherit; }
.ts { margin: 0 0 16px; }
.ts:empty { margin: 0; }
.form button[disabled] { opacity: .75; cursor: progress; }
.course-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin: 8px 0 24px; }
.course-facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.course-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 28px; }

/* Long-form pages */
.long { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(64px, 9vw, 112px); }
.long h2 { margin-top: 1.6em; padding-top: 0.9em; border-top: 1px solid var(--rule); }
.long h2:first-child { margin-top: 0; }
.long h3 { margin-top: 1.4em; }
.long ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.long li { margin-bottom: 0.5em; }
.long li::marker { color: var(--accent); }
.note { margin-top: 2.5em; }
.result { margin: 28px 0; padding: 28px 30px; background: var(--ink); color: var(--night-ink); border-radius: var(--radius); }
.result blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); line-height: 1.38; font-variation-settings: "opsz" 36; }
.timeline { list-style: none; padding: 0 !important; }
.timeline li { display: grid; grid-template-columns: 9.5em 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); margin: 0 !important; }
.timeline .when { font-family: var(--serif); font-weight: 600; color: var(--accent); }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { margin: 0; padding: 0; border: 0; font-size: clamp(23px, 2.2vw, 30px); }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { color: var(--ink-2); }
.faq details > p:first-of-type { color: var(--ink); font-weight: 600; font-size: 1.05em; }

/* Closing CTA on supporting pages */
.closing { background: var(--night); color: var(--night-ink); padding: clamp(64px, 9vw, 112px) 0; }
.closing .eyebrow { color: #f0a07f; }
.closing h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 400; max-width: 18ch; letter-spacing: -0.025em; }
.closing p { color: #cfc7b5; max-width: 38em; margin-bottom: 1.8em; }
.closing .button { background: var(--paper); color: var(--ink); }
.closing .button:hover { background: var(--accent); color: var(--accent-ink); }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; align-items: start; }
.site-footer ul { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 28px; font-size: 15.5px; }
.site-footer ul a { text-decoration: none; color: var(--ink-2); }
.site-footer ul a:hover { color: var(--accent); }
.site-footer .small { margin-top: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid #3b382e; margin-top: 24px; }
  .stats-page div:nth-child(n+3) { border-top-color: var(--rule); }
  .start-grid, .fit-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .two-ways, .stages, .terms { grid-template-columns: 1fr; }
  .stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(even) { padding-left: 18px; }
  .stats dt { font-size: 36px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .course-facts { gap: 0 22px; }
  .course-facts dd { font-size: 22px; }
  .button { width: 100%; }
  .hero .button { width: auto; }
}
@media (max-width: 420px) { .hero .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.plus { font-family: var(--sans); font-weight: 300; margin-left: 0.04em; }

/* Interim privacy and terms (t342u). */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.legal .narrow > * { max-width: 40rem; }
.legal h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.6em; }
