/* Lao Terra Nova. Editorial, typographic, no images.
   Structure comes from type, rules and whitespace only: no fills, no cards, no shadows. */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-cyrillic-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Piazzolla'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Piazzolla'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-cyrillic-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Piazzolla'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Piazzolla'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/piazzolla-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/geologica-cyrillic-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/geologica-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/geologica-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'LTN Lao Digits'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/assets/fonts/noto-serif-lao-digits.woff2') format('woff2');
  unicode-range: U+0ED0-0ED9; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F3EDE2;
  --ink: #1C1A16;
  --ink-soft: #4E483F;
  --ink-mute: #6E665A;
  --rule: #D5C9B4;
  --laterite: #A33A1C;
  --laterite-deep: #862E15;
  --error: #8C1D12;
  --ok: #24552F;

  --serif: 'Piazzolla', serif;
  --sans: 'Geologica', sans-serif;
  --lao: 'LTN Lao Digits', serif;

  --step--2: clamp(0.8125rem, 0.7917rem + 0.0926vw, 0.875rem);
  --step--1: clamp(0.9375rem, 0.9167rem + 0.0926vw, 1rem);
  --step-0:  clamp(1.0625rem, 1.031rem + 0.1389vw, 1.156rem);
  --step-1:  clamp(1.25rem, 1.167rem + 0.3704vw, 1.5rem);
  --step-2:  clamp(1.4375rem, 1.312rem + 0.5556vw, 1.8125rem);
  --step-3:  clamp(1.6875rem, 1.458rem + 1.019vw, 2.375rem);
  --step-4:  clamp(2.0625rem, 1.583rem + 2.13vw, 3.5rem);
  --step-5:  clamp(2.625rem, 1.583rem + 4.63vw, 5.75rem);
  --step-6:  clamp(4rem, 1.833rem + 9.63vw, 10.5rem);
  --display: clamp(2.5rem, 1.1rem + 6.3vw, 7rem); /* hero only: 40 → 112px */

  --gap: clamp(16px, 2vw, 28px);
  --side: clamp(20px, 4vw, 48px);
  --maxw: 1320px;
  --space: clamp(3rem, 1.5rem + 8vw, 10rem);  /* between chapters: 48 → 160px */
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 170ms;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.62;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  hanging-punctuation: first;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }
p, dd, li { text-wrap: pretty; }
@media (max-width: 599px) { .faq__a p, .note p, .ledger__rows dd, .column p, .step div p, .deed__list li { hyphens: auto; } }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--side) * 2); margin-inline: auto; padding-inline: var(--side); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--laterite); outline-offset: 4px; }
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: 12px 16px; font-family: var(--sans); font-size: var(--step--1); text-decoration: none;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Shared UI voice: the sans handles everything that isn't reading. */
.ch__label, .margin__label, .toc__title, .dateline, .hero__eyebrow, .hero__audience,
.nav, .lang, .btn, .link, label, .field__hint, .field__error, .form__status,
.direct dt, .register dt, .faq__n, .step__n span, .ch__note, .footer__copy, .footer__links {
  font-family: var(--sans);
}

/* ---------- Actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 26px;
  background: var(--laterite); color: var(--paper);
  border: 1px solid var(--laterite); border-radius: 0;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--t) ease, border-color var(--t) ease;
}
.btn:hover { background: var(--laterite-deep); border-color: var(--laterite-deep); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .8; }

.link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 1rem; font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--laterite);
  text-decoration-thickness: 1px; text-underline-offset: 7px;
  transition: color var(--t) ease, text-decoration-color var(--t) ease;
}
.link:hover { color: var(--laterite); }
.link--small { font-size: var(--step--1); }
.arrow { flex: none; transition: transform var(--t) var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) ease;
}
.header.is-scrolled, .header.is-open { border-bottom-color: var(--ink); }
.header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; text-decoration: none; }
.brand img { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.brand__name em { font-weight: 400; }

.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.header__cta { display: none; }
.lang {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-size: var(--step--2); letter-spacing: 0.08em; color: var(--ink-mute); text-decoration: none;
}
.lang b { color: var(--ink); font-weight: 600; }
.lang i { font-style: normal; margin: 0 6px; color: var(--ink-mute); }
.lang:hover { color: var(--ink); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform var(--t) var(--ease), background-color var(--t) ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded='true'] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded='true'] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto; padding: 8px 0 40px; }
.mobile-menu[hidden] { display: none; }
.mm__list { margin-bottom: 28px; border-top: 1px solid var(--ink); }
.mm__list a {
  display: flex; align-items: baseline; gap: 16px; min-height: 60px; padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step-2); font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
}
.mm__n { font-family: var(--sans); font-size: var(--step--2); color: var(--ink-mute); min-width: 3.4em; font-variant-numeric: tabular-nums; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 6px; }
  .nav__list a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-size: var(--step--1); color: var(--ink-soft); text-decoration: none;
    background-image: linear-gradient(var(--laterite), var(--laterite));
    background-size: 0 1px; background-repeat: no-repeat; background-position: 12px calc(100% - 10px);
    transition: color var(--t) ease, background-size var(--t) var(--ease);
  }
  .nav__list a:hover { color: var(--ink); background-size: calc(100% - 24px) 1px; }
  .header__cta { display: inline-flex; margin-left: 8px; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Grid ---------- */
@media (min-width: 1024px) {
  .hero__grid, .ch__head, .ch__body, .partners__body, .contact {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8px, 2vw, 28px); }
.dateline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px;
  padding: 8px 0 7px;
  border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink);
  font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-soft);
}
.hero__grid { padding-top: clamp(24px, 5vw, 88px); }
.hero__eyebrow { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: clamp(12px, 2vw, 28px); }
.hero__title {
  font-size: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title em { color: var(--laterite); font-weight: 400; letter-spacing: -0.02em; }
.hero__body { margin-top: clamp(22px, 4vw, 64px); }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 24px; }
.hero__audience { margin-top: 20px; font-size: var(--step--1); color: var(--ink-mute); max-width: 42ch; }

.toc { display: none; }
.toc__title { font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-mute); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.toc__list a {
  display: flex; align-items: baseline; gap: 14px; min-height: 44px; padding: 9px 0;
  border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: color var(--t) ease;
}
.toc__list a:hover { color: var(--laterite); }
.toc__n { font-family: var(--sans); font-size: var(--step--2); color: var(--ink-mute); font-variant-numeric: tabular-nums; }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 1024px) {
  .hero__eyebrow { grid-column: 1 / -1; }
  .hero__title { grid-column: 1 / 12; }
  .toc { display: block; grid-column: 1 / 4; grid-row: 3; margin-top: clamp(28px, 4vw, 64px); align-self: start; }
  .hero__body { grid-column: 7 / 13; grid-row: 3; }
}

/* ---------- Chapters ---------- */
.ch { padding-top: var(--space); }
.ch > .wrap > * { min-width: 0; }
.ch__head { border-top: 1px solid var(--ink); padding-top: clamp(20px, 2.5vw, 36px); }
.ch--partners .ch__head, .ch--contact .ch__head { border-top: 3px double var(--ink); }

.ch__marker { display: flex; align-items: baseline; gap: 12px; color: var(--laterite); line-height: 0.8; margin-bottom: 12px; }
.ch__lao { font-family: var(--lao); font-weight: 300; font-size: var(--step-2); color: var(--ink-mute); }
.ch__num { font-size: 2.75rem; font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.ch__label { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 10px; }
.ch__title { font-size: var(--step-4); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; max-width: 22ch; }
.ch__lead { margin-top: 22px; font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 38ch; }
@media (min-width: 1024px) { .ch--lead .ch__lead::first-letter {
  float: left; font-size: 3.3em; line-height: 0.82; font-weight: 500;
  margin: 0.06em 0.1em -0.05em 0; color: var(--laterite);
} }
.ch__body { margin-top: clamp(28px, 5vw, 80px); }

@media (min-width: 1024px) {
  .ch__marker { grid-column: 1 / 4; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; }
  .ch__num { font-size: var(--step-6); }
  .ch__titles { grid-column: 4 / 12; padding-top: 6px; }
  .ch__body > * { grid-column: 4 / -1; }
}

/* 01: three ruled columns */
.columns { display: grid; }
.column { padding: 22px 0 26px; border-top: 1px solid var(--rule); }
.column:first-child { border-top: 1px solid var(--ink); }
.column__n { font-style: italic; color: var(--laterite); font-size: var(--step-1); line-height: 1; margin-bottom: 14px; }
.column__head { font-size: var(--step-2); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 10px; }
.column p:last-child { color: var(--ink-soft); }
@media (min-width: 720px) {
  .columns { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .column, .column:first-child { border-top: 0; padding: 26px 28px 8px; border-left: 1px solid var(--rule); }
  .column:first-child { padding-left: 0; border-left: 0; }
  .column:last-child { padding-right: 0; }
}
.pkg { margin-top: 24px; }
.pkg li { padding: 8px 0; border-top: 1px solid var(--rule); }
.ch__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--rule);
}
.ch__note { font-size: var(--step--1); color: var(--ink-soft); max-width: 48ch; line-height: 1.55; }
.price { font-size: var(--step-1); font-weight: 600; }

/* 02: ledger rows + margin notes */
.ch__body--split { display: flex; flex-direction: column; gap: 48px; }
.ledger + .ledger { margin-top: clamp(40px, 5vw, 64px); }
.ledger__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; font-size: var(--step-3); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.ledger__price { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; letter-spacing: 0; color: var(--laterite); }
.ledger__rows > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ledger__rows dt { font-weight: 600; }
.ledger__rows dd { color: var(--ink-soft); }
.ledger .price { margin-top: 16px; }
.ledger .link { margin-top: 10px; }
@media (min-width: 720px) {
  .ledger__rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; }
}
.margin__label { font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 12px; }
.note { padding: 18px 0 20px; border-top: 1px solid var(--ink); }
.note + .note { border-top-color: var(--rule); }
.note__title { font-size: var(--step-1); font-style: italic; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.note p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.55; }
.note .link { margin-top: 6px; }
@media (min-width: 1024px) {
  .ch__body--split { display: grid; }
  .ch__body--split .ledgers { grid-column: 4 / -1; grid-row: 1; }
  .ch__body--split .margin { grid-column: 1 / 4; grid-row: 1; padding-right: 12px; }
}

/* 03: steps across the full measure + the "deed" */
.steps { display: grid; }
.step { padding: 18px 0 20px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(3.2rem, auto) minmax(0, 1fr); column-gap: 12px; align-items: start; }
.step:first-child { border-top-color: var(--ink); }
.step__n { font-size: var(--step-4); font-weight: 200; line-height: 0.9; color: var(--laterite); font-variant-numeric: lining-nums tabular-nums; }
.step__n span { font-size: var(--step--2); color: var(--ink-mute); letter-spacing: 0.04em; margin-left: 2px; }
.step__title { font-size: var(--step-1); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 6px; }
.step div p { color: var(--ink-soft); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .step, .step:first-child { border-top: 0; grid-template-columns: 1fr; padding: 24px var(--gap) 8px; border-left: 1px solid var(--rule); }
  .step:first-child { padding-left: 0; border-left: 0; }
  .step:last-child { padding-right: 0; }
  .step__n { font-size: var(--step-5); margin-bottom: 18px; }
}
@media (min-width: 1024px) {
  .ch__body > .steps { grid-column: 1 / -1; }
  .ch__body > .deed { grid-column: 4 / 11; }
}

.deed {
  margin-top: clamp(48px, 6vw, 96px);
  border: 3px double var(--ink);
  padding: clamp(22px, 4vw, 52px);
}
.deed__title { font-size: var(--step-3); font-style: italic; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
.deed__intro { margin-top: 18px; font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); }
.deed__list { margin-top: 12px; counter-reset: clause; }
.deed__list li {
  counter-increment: clause;
  display: grid; grid-template-columns: minmax(2.6rem, auto) minmax(0, 1fr); gap: 8px;
  padding: 11px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere;
}
.deed__list li::before {
  content: '§ ' counter(clause);
  font-style: italic; color: var(--laterite); font-variant-numeric: lining-nums;
}
.deed__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 22px; }
.deed__foot p { font-weight: 600; }

/* 04: partners, the one "loud" chapter, loud through scale only */
.partners__title {
  font-size: var(--step-4); font-weight: 400; line-height: 1; letter-spacing: -0.03em;
  text-wrap: balance; max-width: 18ch;
}
.partners__body { margin-top: clamp(36px, 5vw, 80px); display: flex; flex-direction: column; gap: 40px; }
.partners__text { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.partners__text p + p { margin-top: 14px; color: var(--ink-soft); }
.partners__formats dl > div { padding: 16px 0; border-top: 1px solid var(--rule); }
.partners__formats dl > div:first-child { border-top-color: var(--ink); }
.partners__formats dt { font-weight: 600; font-size: var(--step-1); line-height: 1.25; }
.partners__formats dd { color: var(--ink-soft); margin-top: 4px; }
.partners__formats .btn { margin-top: 24px; }
@media (min-width: 1024px) {
  .ch__head--wide .ch__titles { grid-column: 4 / -1; }
  .partners__title { font-size: var(--step-5); }
  .partners__body { display: grid; }
  .partners__text { grid-column: 4 / 8; }
  .partners__formats { grid-column: 9 / -1; }
}

/* 05: register (address, languages, method) */
.register > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.register > div:first-child { border-top-color: var(--ink); }
.register dt { font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 4px; }
.register dd { font-size: var(--step-1); line-height: 1.45; max-width: 40ch; }
.register__note { margin-top: 24px; font-style: italic; color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 720px) {
  .register > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: var(--gap); align-items: baseline; }
  .register dt { margin: 0; }
}

/* 06: FAQ */
@media (min-width: 1024px) { .ch__body.faq > * { grid-column: 4 / 12; } }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--ink); }
.faq__item summary {
  display: grid; grid-template-columns: 2.4rem 1fr 18px; gap: 12px; align-items: baseline;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__n { font-size: var(--step--2); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.faq__q { font-size: var(--step-2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; transition: color var(--t) ease; }
.faq__item summary:hover .faq__q { color: var(--laterite); }
.faq__icon { position: relative; width: 18px; height: 18px; align-self: center; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 0; top: 8.5px; width: 18px; height: 1px; background: var(--ink);
  transition: transform 260ms var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 24px calc(2.4rem + 12px); color: var(--ink-soft); max-width: 64ch; }
@media (max-width: 479px) {
  .faq__item summary { grid-template-columns: 1fr 18px; }
  .faq__n { display: none; }
  .faq__a { padding-left: 0; }
}
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease), content-visibility 300ms allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* 07: contact */
.contact { margin-top: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; gap: 56px; }
@media (min-width: 1024px) {
  .contact { display: grid; }
  .form { grid-column: 4 / 10; }
  .direct { grid-column: 10 / -1; }
}
.form { display: grid; gap: 28px var(--gap); align-content: start; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form__status { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); }
.field__opt { font-weight: 400; color: var(--ink-mute); }
.field__opt::before { content: '· '; }
.field__hint { font-size: var(--step--2); color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 10px 0;
  font-family: var(--serif); font-size: var(--step-1); line-height: 1.4;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  transition: border-color var(--t) ease, box-shadow var(--t) ease;
}
.field textarea { min-height: 150px; padding: 12px 14px; border: 1px solid var(--ink); resize: vertical; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--laterite); box-shadow: 0 1px 0 0 var(--laterite); }
.field textarea:focus { outline: none; border-color: var(--laterite); box-shadow: inset 0 0 0 1px var(--laterite); }
.field [aria-invalid='true'] { border-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field textarea[aria-invalid='true'] { box-shadow: inset 0 0 0 1px var(--error); }
.field__error { font-size: var(--step--1); font-weight: 500; color: var(--error); }
.field__error::before { content: '× '; }
.select { position: relative; }
.select select { appearance: none; padding-right: 36px; cursor: pointer; }
.select::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-75%) rotate(45deg); pointer-events: none;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 4px; }
.form__submit { min-width: min(100%, 320px); }
.form__status { padding: 16px 18px; border: 1px solid currentColor; font-size: var(--step--1); line-height: 1.55; }
.form__status:focus { outline: none; }
.form__status.is-success { color: var(--ok); }
.form__status.is-error { color: var(--error); }
.form__status a { font-weight: 600; color: inherit; }

.direct__list > div { padding: 14px 0; border-top: 1px solid var(--rule); }
.direct__list > div:first-child { border-top-color: var(--ink); }
.direct dt { font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 2px; }
.direct dd a {
  display: inline-flex; align-items: center; min-height: 36px;
  font-size: var(--step-1); text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color var(--t) ease;
}
.direct dd a:hover { text-decoration-color: var(--laterite); }
.direct dd span { display: block; font-family: var(--sans); font-size: var(--step--2); color: var(--ink-mute); line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { margin-top: var(--space); padding-bottom: 40px; }
.footer__inner { border-top: 3px double var(--ink); padding-top: 28px; display: grid; gap: 24px; }
.footer__brand p { margin-top: 10px; font-size: var(--step--1); color: var(--ink-soft); max-width: 36ch; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: var(--step--1);
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px;
}
.footer__links a:hover { text-decoration-color: var(--laterite); }
.footer__colophon { font-style: italic; font-size: var(--step--1); color: var(--ink-mute); }
.footer__copy { font-size: var(--step--2); color: var(--ink-mute); padding-top: 16px; border-top: 1px solid var(--rule); }
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__links { text-align: right; }
  .footer__colophon, .footer__copy { grid-column: 1 / -1; }
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--side) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--ink);
    transform: translateY(100%); visibility: hidden;
    transition: transform 250ms var(--ease), visibility 0s linear 250ms;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 250ms var(--ease), visibility 0s; }
  .footer { padding-bottom: calc(40px + 76px); }
}

/* ---------- Reveal (progressive; content is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(10px); }
  .reveal-ready .reveal { transition: opacity 340ms var(--ease), transform 340ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .faq__item::details-content { transition: none !important; }
}

/* ---------- Conversion pass ---------- */
/* Direct messenger links (hero, chapter 01 foot, mobile menu) */
.hero__direct, .ch__direct, .mm__direct {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px;
  font-family: var(--sans); font-size: var(--step--1); color: var(--ink-mute);
}
.hero__direct a, .ch__direct a, .mm__direct a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--laterite); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.hero__direct a:hover, .ch__direct a:hover, .mm__direct a:hover { color: var(--laterite); }
.hero__direct span { margin-right: -6px; }
.mm__direct { margin-top: 14px; justify-content: center; }
@media (max-width: 479px) { .hero__actions { gap: 4px 28px; } }

/* Chapter 01: what we prepare + timing and cost */
.offer { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 32px; }
.offer__title { font-family: var(--sans); font-size: var(--step--2); font-weight: 400; letter-spacing: 0.06em; color: var(--ink-mute); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.deliver li { padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.facts > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; line-height: 1.35; }
.facts dd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; color: var(--ink-soft); }
.facts__price { color: var(--ink); font-weight: 600; font-variant-numeric: lining-nums; }
.facts__caption { margin-top: 12px; font-family: var(--sans); font-size: var(--step--2); color: var(--ink-mute); line-height: 1.5; }
@media (min-width: 900px) {
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* Form: reply channel, privacy, next steps */
.methods { border: 0; margin: 0; padding: 0; min-width: 0; }
.methods legend { padding: 0; margin-bottom: 8px; font-family: var(--sans); font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); }
.methods__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.method { position: relative; display: inline-flex; }
.method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.method span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink-mute); font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft);
  cursor: pointer; transition: border-color var(--t) ease, color var(--t) ease, box-shadow var(--t) ease;
}
.method input:checked + span { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 -2px 0 var(--laterite); font-weight: 500; }
.method input:focus-visible + span { outline: 2px solid var(--laterite); outline-offset: 3px; }
.field[hidden] { display: none; }
.form__privacy { margin-top: 10px; font-family: var(--sans); font-size: var(--step--2); color: var(--ink-mute); }
.next { padding-top: 18px; border-top: 1px solid var(--rule); }
.next ol { counter-reset: next; }
.next li { counter-increment: next; display: grid; grid-template-columns: 1.6rem 1fr; padding: 4px 0; font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft); }
.next li::before { content: counter(next) '.'; color: var(--laterite); }

/* Mobile bar: enquiry + two messengers */
@media (max-width: 767px) {
  .sticky-cta { display: flex; align-items: center; gap: 4px; }
  .sticky-cta .btn { flex: 1; min-height: 48px; padding: 10px 16px; }
  .sticky-cta__msg {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px;
    font-family: var(--sans); font-size: var(--step--1); font-weight: 500; text-decoration: underline;
    text-decoration-color: var(--laterite); text-underline-offset: 6px;
  }
}
@media (max-width: 359px) { .sticky-cta__msg { padding: 0 8px; } }

/* ---------- Mobile length (below 1024px) ---------- */
@media (max-width: 1023px) {
  /* Numeral and label share one row; title and standfirst run full width. */
  .ch__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
  .ch__titles { display: contents; }
  .ch__marker { grid-column: 1; grid-row: 1; margin: 0; }
  .ch__label { grid-column: 2; grid-row: 1; margin: 0; }
  .ch__head--plain .ch__label { grid-column: 1 / -1; }
  .ch__title, .partners__title { grid-column: 1 / -1; margin-top: 12px; }
  .ch__lead { grid-column: 1 / -1; margin-top: 14px; }
  .ledger__title { display: block; overflow-wrap: anywhere; }
  .ledger__price { display: block; margin-top: 6px; }
  .column__n { display: none; }
  .column { padding: 16px 0 18px; }
  .deliver li { padding: 7px 0; }
  .facts > div { padding: 10px 0; }
  .ledger__rows > div { padding: 10px 0; }
  .deed { padding: 20px 18px; }
  .deed__list li { padding: 7px 0; }
  .register > div { padding: 12px 0; }
  .register dd { font-size: var(--step-0); }
  .direct__list > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 16px; padding: 8px 0; }
  .direct dt { margin: 0; }
  .direct dd a { font-size: var(--step-0); min-height: 44px; }
  .direct dd span { flex-basis: 100%; }
  .footer__inner { gap: 16px; }
  .footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
}

/* ---------- Case studies: facts + route ---------- */
.case { padding-top: 22px; border-top: 1px solid var(--ink); display: grid; gap: 22px; }
.case + .case { margin-top: clamp(40px, 5vw, 72px); }
.case__kicker { font-family: var(--sans); font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 10px; }
.case__title { font-size: var(--step-3); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.case__facts { margin-top: 18px; }
.case__facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.case__facts dt { font-family: var(--sans); font-size: var(--step--2); letter-spacing: 0.04em; color: var(--ink-mute); padding-top: 3px; }
.case__facts dd { font-weight: 600; line-height: 1.4; }
.route { position: relative; }
.route__stage { position: relative; padding: 0 0 18px 26px; border-left: 1px solid var(--rule); margin-left: 5px; }
.route__stage:last-child { border-left-color: transparent; padding-bottom: 0; }
.route__stage::before {
  content: ''; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px;
  border: 1px solid var(--laterite); border-radius: 50%; background: var(--paper);
}
.route__stage:last-child::before { background: var(--laterite); }
.route__when { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; color: var(--laterite); margin-bottom: 6px; line-height: 1.3; }
.route ul li { padding: 5px 0; line-height: 1.45; color: var(--ink-soft); }
.route ul li + li { border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
}
.case__title, .case__facts dd, .route li, .route__when { overflow-wrap: anywhere; }
@media (max-width: 599px) { .route ul li, .case__facts dd { hyphens: auto; } }

/* ---------- Never split short UI words (WebKit squeezes flex items below word width) ---------- */
.hero__direct a, .ch__direct a, .mm__direct a, .sticky-cta__msg, .direct dd a,
.lang, .nav__list a, .toc__n, .mm__n, .facts__price, .ledger__price, .method span, .footer__links a {
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__direct span, .ch__direct, .mm__direct { white-space: nowrap; }
.hero__direct, .ch__direct, .mm__direct { flex-wrap: wrap; }
.btn { overflow-wrap: normal; }
/* Short interface text never breaks inside a word, whatever the sub-pixel rounding.
   Long reading text keeps the inherited break-word so 200% text zoom still fits. */
a, button, label, legend, dt, .btn, .link, .ch__label, .case__kicker, .route__when,
.brand__name, .margin__label, .offer__title, .toc__title, .dateline span, .hero__eyebrow {
  overflow-wrap: normal;
  word-break: normal;
}
.direct dt { white-space: nowrap; }
