/* ==========================================================================
   Lodged — website
   Art direction: a travel document. Warm paper, navy ink, gold stamp ink,
   guilloche security lines, an editorial serif for voice and a mono for data.
   Brand palette (shared with the apps): deep navy #0B1526, bright navy #1F3A6B,
   gold #C79A1E, light gold #E8C766, dark-mode accent #D9B44A.
   ========================================================================== */

:root {
  --paper: #F3EEE3;
  --paper-2: #EAE2D1;
  --paper-3: #E1D7C2;
  --ink: #0B1526;
  --ink-2: #47526A;
  --ink-3: #7A8296;
  --rule: rgba(11, 21, 38, 0.16);
  --rule-strong: rgba(11, 21, 38, 0.55);
  --navy: #1F3A6B;
  --gold: #C79A1E;
  --gold-light: #E8C766;
  --stamp: #B8891A;
  --night: #0B1526;
  --night-2: #13213A;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B1526;
    --paper-2: #101D33;
    --paper-3: #172743;
    --ink: #EEE7D8;
    --ink-2: #A9B0C0;
    --ink-3: #737C91;
    --rule: rgba(238, 231, 216, 0.14);
    --rule-strong: rgba(238, 231, 216, 0.5);
    --gold: #D9B44A;
    --stamp: #D9B44A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Paper grain: a fixed layer of fine noise over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::after { mix-blend-mode: screen; opacity: 0.05; } }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold-light); color: #0B1526; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--mono); font-size: 13px; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-size: clamp(56px, 10.5vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.025em;
}
.title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.subtitle {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display em, .title em, .subtitle em { font-style: italic; color: var(--gold); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.label {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }

/* Lines that rise into place: <span class="line"><span>…</span></span> */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }

/* Before the opening animation starts, keep animated pieces out of sight (site.js lifts this) */
.pre .line > span, .pre [data-anim], .pre [data-stamp], .pre .guilloche { visibility: hidden; }

/* ---------- Layout ---------- */
.page { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.chapter { padding: clamp(96px, 14vw, 184px) 0; position: relative; }
.chapter-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--rule-strong);
  padding-top: 20px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.chapter-head .numeral { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold); line-height: 1; }
.chapter-head .label { justify-self: end; }
.chapter-head h2 { grid-column: 1 / -1; }
@media (max-width: 700px) { .chapter-head { grid-template-columns: auto 1fr; } }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead .page { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.wordmark .name { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.wordmark .name::after { content: "."; color: var(--gold); }
.wordmark .label { display: none; }
@media (min-width: 900px) { .wordmark .label { display: inline; } }
.masthead nav { display: flex; align-items: center; gap: 28px; }
.masthead nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color 200ms; }
.masthead nav a:hover { color: var(--ink); }
.masthead .navlinks { display: flex; gap: 28px; }
@media (max-width: 820px) { .masthead .navlinks { display: none; } }

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 15px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.button:hover { background: var(--gold); color: #0B1526; }
.button .arrow { transition: transform 300ms var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.button.small { padding: 10px 14px 9px; font-size: 11.5px; }
.masthead nav a.button { color: var(--paper); }
.masthead nav a.button:hover { color: #0B1526; }

.ink-link { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 400ms var(--ease); padding-bottom: 2px; }
.ink-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Guilloche (drawn by site.js into [data-guilloche]) ---------- */
.guilloche { position: absolute; pointer-events: none; color: var(--navy); }
.guilloche svg { width: 100%; height: 100%; overflow: visible; }
.guilloche path { fill: none; stroke: currentColor; stroke-width: 0.9; opacity: 0.45; }
@media (prefers-color-scheme: dark) { .guilloche { color: var(--gold); } .guilloche path { opacity: 0.18; } }

/* ---------- Stamp ---------- */
.stamp { position: absolute; width: 190px; height: 190px; color: var(--stamp); pointer-events: none; transform: rotate(-14deg); mix-blend-mode: multiply; }
.stamp svg { width: 100%; height: 100%; overflow: visible; filter: url(#ink); }
.stamp text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; fill: currentColor; text-transform: uppercase; }
.stamp .big { font-family: var(--serif); font-size: 44px; letter-spacing: 0; font-style: italic; text-transform: none; }
.stamp .mid { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; }
@media (prefers-color-scheme: dark) { .stamp { mix-blend-mode: screen; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 10vw, 140px); overflow: hidden; }
.hero .guilloche { width: 1100px; height: 1100px; right: -380px; top: -260px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.hero .kicker { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.hero .lede { margin-top: clamp(28px, 3vw, 40px); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero .actions .ink-link { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-figure { position: relative; justify-self: end; width: 100%; max-width: 300px; }
.hero-figure .stamp { left: -150px; bottom: 90px; z-index: 2; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); margin-top: clamp(56px, 8vw, 104px); }
.facts div { padding: 18px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { justify-self: center; max-width: 280px; margin-top: 24px; }
  .hero-figure .stamp { left: -70px; width: 150px; height: 150px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .facts div { padding: 16px 0; }
}

/* ---------- Device frames and figures ---------- */
.device { border-radius: 42px; padding: 9px; background: #0D0F14; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 40px 80px -30px rgba(11,21,38,0.55), 0 12px 24px -12px rgba(11,21,38,0.4); }
.device img { border-radius: 33px; }
figure { margin: 0; }
figcaption { margin-top: 18px; display: flex; gap: 12px; align-items: baseline; }
figcaption .label { color: var(--gold); }

/* ---------- Route (scroll-driven flight path) ---------- */
.route { background: var(--night); color: #EEE7D8; overflow: hidden; }
.route .chapter-head { border-top-color: rgba(238,231,216,0.4); }
.route .label { color: rgba(238,231,216,0.55); }
.route .lede { color: rgba(238,231,216,0.72); }
.route-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px; align-items: end; margin-bottom: clamp(56px, 8vw, 112px); }
@media (max-width: 860px) { .route-intro { grid-template-columns: minmax(0, 1fr); } }
.route-map { position: relative; }
.route-map svg { width: 100%; height: auto; overflow: visible; display: block; }
.route-map .track { fill: none; stroke: rgba(238,231,216,0.28); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-map .flown { fill: none; stroke: var(--gold-light); stroke-width: 1.5; }
.route-map .stop circle { fill: var(--night); stroke: rgba(238,231,216,0.45); stroke-width: 1.5; transition: fill 400ms, stroke 400ms; }
.route-map .stop.reached circle { fill: var(--gold-light); stroke: var(--gold-light); }
.route-map .plane { fill: var(--gold-light); }
.route-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.route-stops li { list-style: none; border-top: 1px solid rgba(238,231,216,0.2); padding-top: 16px; transition: border-color 400ms; }
.route-stops li.reached { border-top-color: var(--gold-light); }
.route-stops .label { color: var(--gold-light); display: block; margin-bottom: 8px; }
.route-stops strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.route-stops p { font-size: 14.5px; color: rgba(238,231,216,0.66); line-height: 1.5; }
.route-stops { padding: 0; margin-bottom: 0; }
@media (max-width: 960px) { .route-stops { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .route-stops { grid-template-columns: minmax(0, 1fr); } .route-map { display: none; } }

/* ---------- Spreads (features) ---------- */
.spread { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--rule); }
.spread:first-of-type { border-top: 0; padding-top: 0; }
.spread .numeral { align-self: start; font-family: var(--serif); font-style: italic; font-size: clamp(64px, 8vw, 120px); line-height: 0.8; color: var(--gold); }
.spread .copy .label { margin-bottom: 20px; display: block; }
.spread .copy p.body { margin-top: 24px; color: var(--ink-2); max-width: 32em; }
.spread .notes { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); }
.spread .notes li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.spread .notes b { font-weight: 500; color: var(--ink); }
.spread figure { max-width: 300px; justify-self: center; }
.spread.flip { grid-template-columns: 120px minmax(0, 340px) minmax(0, 1fr); }
.spread.flip .copy { order: 3; }
.spread.flip figure { order: 2; }
.spread .fine { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 960px) {
  .spread, .spread.flip { grid-template-columns: minmax(0, 1fr); }
  .spread.flip .copy, .spread.flip figure { order: 0; }
  .spread figure { max-width: 260px; }
  .spread .notes li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Statement (word-by-word on scroll) ---------- */
.statement { padding: clamp(120px, 18vw, 240px) 0; text-align: center; position: relative; overflow: hidden; }
.statement .guilloche { width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.statement p { position: relative; font-family: var(--serif); font-size: clamp(40px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.02em; max-width: 14em; margin: 0 auto; }
.statement .w { display: inline-block; }
.statement .w.gold { font-style: italic; }

/* ---------- Departures board (visas) ---------- */
.board { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.board th { text-align: left; font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 0 16px 14px 0; border-bottom: 1px solid var(--rule-strong); }
.board td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.board td.code { width: 110px; }
.board td.code span { display: inline-block; min-width: 64px; padding: 5px 10px 4px; background: var(--ink); color: var(--gold-light); letter-spacing: 0.08em; text-align: center; font-size: 15px; }
.board td.name { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; line-height: 1.15; }
.board td.kind { color: var(--ink-2); text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.12em; }
.board td.status { text-align: right; color: var(--gold); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.board th.status { text-align: right; }
.board tr { transition: background-color 250ms; }
.board tbody tr:hover { background: var(--paper-2); }
@media (max-width: 700px) {
  .board td.kind, .board th.kind { display: none; }
  .board td.name { font-size: 19px; }
  .board td.code { width: 80px; }
}

/* ---------- Principles (privacy) ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); padding: 0; margin: 0; }
.principles li { list-style: none; padding: 28px 28px 0 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.principles .label { color: var(--gold); display: block; margin-bottom: 18px; }
.principles h3 { font-family: var(--serif); font-size: 34px; line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 14px; }
.principles p { color: var(--ink-2); font-size: 15.5px; }
.principles-foot { margin-top: 48px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
}

/* ---------- Boarding pass (download) ---------- */
.pass { display: grid; grid-template-columns: minmax(0, 1fr) 340px; background: var(--paper-2); position: relative; filter: drop-shadow(0 30px 40px rgba(11,21,38,0.12)); }
.pass-main { padding: clamp(28px, 4vw, 48px); }
.pass-stub { padding: clamp(28px, 4vw, 48px); border-left: 2px dashed var(--rule-strong); position: relative; display: flex; flex-direction: column; gap: 24px; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); }
.pass-stub::before { top: -14px; }
.pass-stub::after { bottom: -14px; }
.pass-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.switch { display: inline-flex; border: 1px solid var(--rule-strong); }
.switch button { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 14px 8px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--gold); padding-top: 6px; }
.steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.steps span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.pass-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.pass-fields div .label { display: block; margin-bottom: 4px; }
.pass-fields div span:last-child { font-family: var(--mono); font-size: 14px; }
.barcode { height: 56px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px, var(--ink) 14px 15px, transparent 15px 19px); opacity: 0.85; margin-top: auto; }
[role="tabpanel"][hidden] { display: none; }
@media (max-width: 860px) {
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass-stub { border-left: 0; border-top: 2px dashed var(--rule-strong); }
  .pass-stub::before, .pass-stub::after { top: -15px; bottom: auto; }
  .pass-stub::before { left: -14px; }
  .pass-stub::after { left: auto; right: -14px; }
}

/* Store buttons */
.store { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--ink); color: var(--paper); text-decoration: none; transition: background-color 300ms var(--ease); }
.store:hover { background: var(--navy); }
.store svg { flex: none; }
.store small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.store strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.05; }
.store .soon { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); border: 1px solid currentColor; padding: 3px 6px 2px; }
.stores { display: grid; gap: 10px; }

/* ---------- Questions ---------- */
.qa { border-top: 1px solid var(--rule-strong); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px; gap: 16px; align-items: baseline; padding: 26px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .label { color: var(--gold); }
.qa summary h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.01em; }
.qa summary .sign { justify-self: end; width: 16px; height: 16px; position: relative; }
.qa summary .sign::before, .qa summary .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform 400ms var(--ease); }
.qa summary .sign::after { transform: rotate(90deg); }
.qa details[open] .sign::after { transform: rotate(0deg); }
.qa .answer { padding: 0 48px 28px 80px; color: var(--ink-2); max-width: 760px; }
.qa .answer a { color: var(--ink); }
@media (max-width: 700px) { .qa summary { grid-template-columns: 40px minmax(0, 1fr) 24px; } .qa .answer { padding: 0 0 24px 56px; } }

/* ---------- Colophon (footer) ---------- */
.colophon { background: var(--night); color: #EEE7D8; padding: clamp(80px, 12vw, 160px) 0 32px; overflow: hidden; position: relative; }
.colophon .guilloche { color: var(--gold); width: 1000px; height: 1000px; right: -300px; top: -300px; }
.colophon .guilloche path { opacity: 0.16; }
.colophon .label { color: rgba(238,231,216,0.5); }
.colophon-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; position: relative; }
.colophon .title em { color: var(--gold-light); }
.colophon .button { background: var(--gold-light); color: #0B1526; }
.colophon .button:hover { background: #F3DC97; }
.giant {
  font-family: var(--serif);
  font-size: clamp(120px, 27vw, 420px);
  line-height: 0.78;
  letter-spacing: -0.045em;
  margin: clamp(64px, 10vw, 140px) 0 0 -0.04em;
  color: #EEE7D8;
  position: relative;
  white-space: nowrap;
}
.giant .dot { color: var(--gold-light); }
.giant .ch { display: inline-block; }
.colophon-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(238,231,216,0.18); font-size: 13px; color: rgba(238,231,216,0.6); position: relative; }
.colophon-bottom nav { display: flex; gap: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.colophon-bottom a { text-decoration: none; color: rgba(238,231,216,0.8); }
.colophon-bottom a:hover { color: var(--gold-light); }
.mrz { font-family: var(--mono); font-size: clamp(10px, 1.3vw, 15px); letter-spacing: 0.18em; color: rgba(238,231,216,0.32); white-space: nowrap; overflow: hidden; margin-top: 28px; position: relative; }
@media (max-width: 700px) { .colophon-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Text pages (privacy, support) ---------- */
.doc-head { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; border-bottom: 1px solid var(--rule-strong); }
.doc-head .guilloche { width: 800px; height: 800px; right: -260px; top: -300px; }
.doc-head .label { display: block; margin-bottom: 24px; position: relative; }
.doc-head h1 { position: relative; }
.doc-head p { position: relative; margin-top: 20px; color: var(--ink-2); }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(80px, 10vw, 140px); }
.doc-index { position: sticky; top: 96px; align-self: start; }
.doc-index ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.doc-index li { border-bottom: 1px solid var(--rule); }
.doc-index a { display: block; padding: 10px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.doc-index a:hover { color: var(--ink); }
.doc-body { max-width: 720px; counter-reset: sec; }
.doc-body section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--rule); counter-increment: sec; scroll-margin-top: 96px; }
.doc-body section:last-child { border-bottom: 0; }
.doc-body h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 18px; }
.doc-body h2::before { content: counter(sec, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 12px; }
.doc-body h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 28px 0 6px; }
.doc-body p { margin-top: 12px; color: var(--ink-2); }
.doc-body h2 + p { margin-top: 0; }
.doc-body ul { margin: 14px 0 0; padding: 0; list-style: none; }
.doc-body li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.doc-body li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 1px; background: var(--gold); }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.doc-body .note { margin-top: 18px; padding: 16px 20px; background: var(--paper-2); border-left: 2px solid var(--gold); color: var(--ink); }
.doc-body .muted { color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc-index { position: static; } }

/* Small footer for text pages */
.doc-foot { background: var(--night); color: rgba(238,231,216,0.7); padding: 40px 0; font-size: 13px; }
.doc-foot .page { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.doc-foot nav { display: flex; gap: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.doc-foot a { text-decoration: none; color: rgba(238,231,216,0.85); }
.doc-foot a:hover { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .button .arrow, .ink-link, .qa summary .sign::before, .qa summary .sign::after { transition: none; }
}
