/* StudyInItaly landing. Direction: "The page is the object" (tasteskill seed 1615825006).
   The page is the student's application folder; the open front folder is a yellow Partenze timetable. */

:root {
  /* palette 'Adaçayı' (Emre chose it 2026-10-20, final 2026-10-26): cream #FAF3DD, sage #C8D5B9, mint #8FC0A9, teal #68B0AB, green #4A7C59.
     Text uses a deepened tone of the same green, because none of the five reaches 4.5:1 on cream. */
  --bg: #FAF3DD;
  --surface: #E6EDDC;
  --ink: #1F3B2A;
  --muted: #3D5546;
  --accent: #4A7C59;
  --accent-ink: #FFFFFF;
  --accent-strong: #3B6447;
  --bgbtn: #4A7C59;          /* a button sitting on the page ground */
  --bgbtn-ink: #FFFFFF;
  --bgbtn-strong: #3B6447;
  --faq-bg: #C8D5B9;         /* a field that carries running text in --ink */
  --hover-tint: #DDE7D2;
  --meter-track: #335140;
  --meter-zone: #3F6A4F;
  --env-back: #A9BE98;
  --env-flap: #B8CBA8;
  --chip-pending: #2F6E6A;
  --bar-shade: rgba(31, 59, 42, 0.16);

  /* folder tones, back to front */
  --f1: #4A7C59;
  --f2: #68B0AB;
  --f3: #8FC0A9;
  --f4: #C8D5B9;
  --paper: #FFFDF6;
  --paper-ink: #1F3B2A;
  --paper-muted: #46594B;
  --paper-band: #EEF2E4;
  --case: #2F5A43;           /* the suitcase on the home page */
  --case-dark: #26473A;
  --field-edge: #76896F;     /* form field outline: 3.7:1 on --paper, 3.3:1 on --paper-band */

  --font: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  /* the slab looked stiff at the smallest sizes (sources, labels, captions), so those use Libre Franklin */
  --font-small: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 2.2vw, 3rem);
  --step-display: clamp(4rem, 7vw, 7.5rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --tab-cut: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; background: var(--surface); }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
html { scroll-padding-top: 84px; }
:target { scroll-margin-top: 84px; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.0; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.head { font-size: var(--step-head); }
.only-narrow { display: none; }

/* ---------- controls ---------- */
.button, .card__btn, .cell {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  /* the folder tab returns as the button's top corners */
  clip-path: polygon(var(--tab-cut) 0, calc(100% - var(--tab-cut)) 0, 100% 100%, 0 100%);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active, .card__btn:active, .cell:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .button:hover, .card__btn:hover { background: var(--accent-strong); }
}
.field { width: 100%; min-height: 3.25rem; padding: 0.6rem 0.9rem; background: var(--paper-band); color: var(--paper-ink); border: 1.5px solid var(--field-edge); border-radius: 0; font-size: max(1rem, var(--step-body)); }
.field:focus-visible { outline-color: var(--paper-ink); }

/* ---------- hero: the folder stack ---------- */
.hero { position: relative; background: var(--bg); }
/* the header stays at the top while the page scrolls: a flat bar in the ground colour */
.topbar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: var(--step-small); background: var(--bg); transition: box-shadow var(--t-ui) ease; }
.topbar.is-stuck { box-shadow: 0 6px 20px var(--bar-shade); } /* taste-skill-ignore: a sticky bar is a real overlay once content scrolls under it */
.wordmark { justify-self: start; font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__link { font-size: var(--step-body); font-weight: 600; }
.nav__link[aria-current="page"] { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.toplink { justify-self: end; font-size: var(--step-body); font-weight: 600; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
.hero__head { text-align: center; padding-top: clamp(16px, 3vh, 40px); }
.display { font-size: var(--step-display); line-height: 1.0; letter-spacing: -0.03em; }
.shutter { overflow: hidden; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.hero__lead { max-width: 46ch; margin: 1.1rem auto 0; font-size: var(--step-body); }
.hero__soon { margin: 0.9rem auto 0; font-size: var(--step-body); font-weight: 600; }
.hero__soon a { color: inherit; }

.hubs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 12px 7% 0; }
.hub { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; background: var(--f4); color: var(--paper-ink); text-decoration: none; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); transition: background-color var(--t-hover) ease; }
.hub__t { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.hub__d { font-size: 1rem; line-height: 1.35; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .hub:hover { background: var(--f3); } }
/* the card for the section the visitor is already on: a dark fill, pointing down at the sheet below */
.hub--current, .hub--current:hover { background: var(--paper-ink); color: var(--paper); }
.hub--current .hub__d { color: var(--f4); }
.hub--current .hub__t::after { content: " ↓"; }
@media (max-width: 900px) { .hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub--current { grid-column: 1 / -1; } }

/* the scholarship check sits in its own sheet under the section links */
.quiz-card { background: var(--paper); color: var(--paper-ink); margin: clamp(20px, 3vw, 36px) 7% 0; }

/* ---------- the hook: a one-question-at-a-time scholarship check ---------- */
.hook { padding: 26px 32px 40px; }
.hook__intro { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.hook__h { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; }
.hook__progress { display: flex; gap: 6px; }
.hook__progress span { width: 44px; height: 6px; background: var(--f4); transition: background-color var(--t-ui) ease; }
.hook__progress span.is-done { background: var(--paper-ink); }
.steps { margin-top: 18px; }
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.step legend { padding: 0; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; max-width: 24ch; }
.step legend:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { min-height: 52px; padding: 0 20px; background: var(--paper-band); color: var(--paper-ink); font-size: var(--step-body); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--hover-tint); } .chip[aria-pressed="true"]:hover { background: var(--paper-ink); } }
.step--result { background: var(--paper-ink); color: var(--paper); padding: clamp(20px, 3vw, 36px); }
.step--result .quiz__verdict { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; }
.step--result .quiz__verdict:focus { outline: none; }
.step--result .quiz__fine { color: var(--f4); }
.hook__actions { margin-top: 24px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.button--paper { background: var(--paper); color: var(--paper-ink); }
@media (hover: hover) and (pointer: fine) { .button--paper:hover { background: var(--paper-band); } }
.hook__again, .hook__back { font-size: var(--step-body); text-decoration: underline; text-underline-offset: 0.2em; }
.hook__back { color: var(--paper-ink); }
/* focus rings: the global ink ring vanishes on the dark result box, and clip-path cuts the ring off the
   tab-shaped controls, so those draw it inside the shape in their own text colour */
.step--result :focus-visible { outline-color: var(--paper); }
:is(.button, .card__btn, .cell, .hub):focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
@media (prefers-reduced-motion: no-preference) {
  .js .step.is-current { animation: step-in 420ms var(--ease-out) both; }
}
.js .step { display: none; }
.js .step.is-current { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- the timetable (front folder, continued) ---------- */
.chain { padding: var(--section) 7%; background: var(--bg); }
.sheet-tab {
  display: flex; width: fit-content; margin: 0; align-items: center; height: 40px; padding: 0 32px; min-width: 200px; justify-content: center;
  background: var(--paper); color: var(--paper-ink); font-size: var(--step-body); font-weight: 500;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.chain__sheet { background: var(--paper); color: var(--paper-ink); padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 88px); }
.chain__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gutter); align-items: end; }
.chain__note { max-width: 40ch; font-size: var(--step-body); }
.chain__controls { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 20px; margin-top: clamp(32px, 4vw, 56px); max-width: 760px; }
.ctl { display: grid; gap: 6px; }
.ctl > span { font-size: var(--step-body); font-weight: 500; }
.ctl__help { grid-column: 1 / -1; font-size: var(--step-small); color: var(--paper-muted); }
.chain__result { margin-top: clamp(28px, 3vw, 44px); }
.chain__first { font-size: var(--step-lead); }
.chain__first strong { font-weight: 600; }
.chain__count { margin-top: 4px; font-size: var(--step-body); }
.chain__count.is-late { font-weight: 600; }
.timetable { width: 100%; margin-top: 24px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timetable th { text-align: left; font-weight: 500; font-size: var(--step-small); padding: 10px 14px; background: var(--paper-ink); color: var(--paper); }
.timetable td { padding: 14px; font-size: var(--step-body); vertical-align: baseline; }
.timetable tbody tr.alt { background: var(--paper-band); }
.timetable td.t { font-size: var(--step-lead); font-weight: 600; white-space: nowrap; }
.timetable tr.goal { background: var(--paper-ink) !important; color: var(--paper); }
.timetable tr.is-past td.t { text-decoration: line-through; text-decoration-thickness: 2px; }
.chain__fine { margin-top: 20px; max-width: 70ch; font-size: var(--step-small); color: var(--paper-muted); }
.chain__fine strong { color: var(--paper-ink); }

/* ---------- ask: the open front folder, continued as a conversation ---------- */
.ask { padding-inline: 7%; background: var(--bg); }
.ask__sheet { background: var(--paper); color: var(--paper-ink); padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ask__note { margin-top: 20px; max-width: 40ch; font-size: var(--step-body); }
.ask__qs { margin-top: clamp(28px, 3vw, 44px); display: grid; gap: 6px; }
.ask__qs button {
  text-align: left; padding: 14px 18px; background: var(--paper-band); color: var(--paper-ink);
  font-size: var(--step-body); line-height: 1.35;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.ask__qs button:active { transform: scale(0.985); }
.ask__qs button[aria-selected="true"] { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .ask__qs button[aria-selected="false"]:hover { background: var(--hover-tint); } }
.thread { position: sticky; top: 6vh; background: var(--paper-band); padding: clamp(20px, 3vw, 40px); display: grid; gap: 18px; }
.thread__label { font-size: var(--step-small); color: var(--paper-muted); }
.thread__q { justify-self: end; max-width: 85%; background: var(--paper-ink); color: var(--paper); padding: 14px 18px; font-size: var(--step-body); }
.thread__a, .thread__tasks { background: var(--paper); padding: 18px 20px; display: grid; gap: 10px; transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.thread.is-swapping .thread__a, .thread.is-swapping .thread__tasks, .thread.is-swapping .thread__q { opacity: 0; transform: translateY(6px); }
.thread__q { transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.thread__who { font-weight: 600; }
.thread__src { justify-self: start; font-size: var(--step-small); font-weight: 500; padding: 6px 12px; background: var(--paper-ink); color: var(--paper); }
.thread__tasks ul { display: grid; gap: 8px; }
.thread__tasks li { position: relative; padding-left: 28px; cursor: pointer; }
.thread__tasks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid var(--paper-ink); transition: background-color var(--t-hover) ease; }
.thread__tasks li::after { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; background: var(--paper); clip-path: polygon(20% 52%, 8% 64%, 40% 90%, 92% 28%, 80% 16%, 40% 68%); transform: scale(0); transition: transform var(--t-hover) var(--ease-out); }
.thread__tasks li.is-done { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--paper-muted); }
.thread__tasks li.is-done::before { background: var(--paper-ink); }
.thread__tasks li.is-done::after { transform: scale(1); }
.thread__tasks li:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 3px; }

/* ---------- cost: two tickets side by side ---------- */
.cost { padding-block: var(--section); }
.cost__top { align-items: end; }
.cost__h { grid-column: 1 / 7; }
.cost__note { grid-column: 8 / 13; font-size: var(--step-body); max-width: 40ch; }
.cost__pair { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: stretch; }
.ticket { padding: clamp(24px, 3vw, 44px); clip-path: polygon(0 0, 100% 0, 100% calc(50% - 14px), calc(100% - 14px) 50%, 100% calc(50% + 14px), 100% 100%, 0 100%, 0 calc(50% + 14px), 14px 50%, 0 calc(50% - 14px)); }
.ticket--tr { background: var(--surface); color: var(--ink); }
.ticket--it { background: var(--paper); color: var(--paper-ink); }
.ticket__where { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.ticket dl { margin-top: 24px; display: grid; gap: 20px; }
.ticket dt { font-size: var(--step-small); }
.ticket dd { margin: 2px 0 0; font-size: var(--step-lead); font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.ticket dd span { display: block; font-size: var(--step-small); font-weight: 400; }
.cost__src { margin-top: 24px; font-size: var(--step-small); color: var(--muted); max-width: 70ch; }

/* ---------- scholarship check (shares the timetable sheet) ---------- */
.quiz { padding: 0 7% var(--section); background: var(--bg); }
.quiz__sheet { background: var(--paper); color: var(--paper-ink); padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 64px) clamp(40px, 5vw, 72px); }
.quiz__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gutter); align-items: end; }
.quiz__note { max-width: 40ch; font-size: var(--step-body); }
.quiz__form { margin-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; }
.quiz__form .ctl > span { font-size: var(--step-small); font-weight: 600; }
.quiz__result { margin-top: clamp(28px, 3vw, 44px); padding: clamp(20px, 3vw, 36px); background: var(--paper-ink); color: var(--paper); }
.quiz__verdict { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.quiz__why { margin-top: 8px; font-size: var(--step-body); max-width: 60ch; }
.meter { position: relative; margin-top: 20px; height: 14px; background: var(--meter-track); overflow: hidden; }
.meter__zone { position: absolute; inset: 0 auto 0 0; width: 66.7%; background: var(--meter-zone); }
.meter__fill { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.quiz__nums { margin-top: 12px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.quiz__fine { margin-top: 20px; max-width: 80ch; font-size: var(--step-small); color: var(--paper-muted); }

/* ---------- cities: alternating rows ---------- */
.cities { padding-block: var(--section); background: var(--surface); }
.cities__note { margin-top: 20px; max-width: 46ch; font-size: var(--step-body); }
.city { margin-top: clamp(56px, 7vw, 112px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-inline: var(--margin); }
.city--flip { grid-template-columns: 5fr 7fr; }
.city--flip .city__pic { order: 2; }
.city__pic { overflow: hidden; }
.city__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .city:hover .city__pic img { transform: scale(1.03); } }
.city__name { font-size: var(--step-head); }
.city__text p { margin-top: 16px; max-width: 38ch; font-size: var(--step-body); }
.city__facts { margin-top: 24px; display: grid; gap: 14px; }
.city__facts dt { font-size: var(--step-small); color: var(--muted); }
.city__facts dd { margin: 2px 0 0; font-size: var(--step-body); font-weight: 600; }
.cities__src { margin-top: 56px; font-size: var(--step-small); color: var(--muted); }

/* ---------- stats: paired bars ---------- */
.stats { padding-block: var(--section); background: var(--f3); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.stats__note { margin-top: 20px; max-width: 46ch; font-size: var(--step-body); }
.bars-chart { width: 100%; margin-top: 36px; border-collapse: separate; border-spacing: 0 10px; font-variant-numeric: tabular-nums; }
.bars-chart__legend { caption-side: top; text-align: left; font-size: var(--step-small); padding-bottom: 6px; }
.key { display: inline-block; width: 14px; height: 10px; margin: 0 6px 0 0; border-radius: 0 3px 3px 0; vertical-align: baseline; }
.key--old { background: #a6984d; } .key--new { background: var(--ink); margin-left: 16px; }
.bars-chart tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
.bars-chart th[scope="row"] { text-align: left; font-weight: 500; font-size: var(--step-small); padding-top: 8px; }
.bars-chart td { display: flex; align-items: center; gap: 8px; padding: 0; }
.bar-old, .bar-new { display: block; height: 12px; width: calc(var(--v) / 1790 * 82%); min-width: 4px; border-radius: 0 4px 4px 0; transform-origin: left; }
.bar-old { background: #a6984d; } .bar-new { background: var(--ink); height: 16px; }
.bars-chart .val { font-size: var(--step-small); }
.stats__src { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.stats__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stats__pic figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* ---------- inner pages: the folder title ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(72px, 9vw, 140px); }
.page-hero__h { max-width: 14ch; }
.page-hero__lead { margin-top: 28px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.4; }
.page-hero__cta { margin-top: 36px; background: var(--bgbtn); color: var(--bgbtn-ink); }
@media (hover: hover) and (pointer: fine) { .page-hero__cta:hover { background: var(--bgbtn-strong); } }
.strip { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 5fr 3fr 4fr 3fr; gap: var(--gutter); align-items: end; }
.strip__tile { overflow: hidden; }
.strip__tile img, .strip__tile video { width: 100%; object-fit: cover; }
.strip__tile:nth-child(1) img, .strip__tile:nth-child(1) video { aspect-ratio: 4 / 3; }
.strip__tile:nth-child(2) img, .strip__tile:nth-child(2) video { aspect-ratio: 3 / 4; }
.strip__tile:nth-child(3) img, .strip__tile:nth-child(3) video { aspect-ratio: 1; }
.strip__tile:nth-child(4) img, .strip__tile:nth-child(4) video { aspect-ratio: 4 / 5; }

/* ---------- does: what Sofia does and does not do ---------- */
.does { padding-block: var(--section); }
.does__h--second { margin-top: clamp(80px, 9vw, 140px); }
.pairs { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gutter); }
.pairs dt { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.pairs dd { margin: 10px 0 0; max-width: 46ch; font-size: var(--step-body); }
.does__fine { margin-top: 48px; font-size: var(--step-small); color: var(--muted); max-width: 60ch; }

/* ---------- weekly summary for parents ---------- */
.weekly { justify-content: flex-start; gap: 14px; }
.weekly .ui__label { margin-bottom: 0; }
.weekly__title { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.weekly__block { background: var(--paper-band); padding: 12px 16px; }
.weekly__k { font-size: var(--step-small); font-weight: 600; }

/* ---------- glossary ---------- */
.gloss { padding-block: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.gloss__h { grid-column: 1 / 5; align-self: start; }
.gloss__list { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.gloss__list div { break-inside: avoid; margin-bottom: 28px; }
.gloss__list dt { font-size: var(--step-body); font-weight: 600; }
.gloss__list dd { margin: 4px 0 0; font-size: var(--step-body); line-height: 1.5; }
.faq--alt { background: var(--surface); }

/* ---------- legal text on a sheet ---------- */
.prose-wrap { padding-bottom: var(--section); }
.prose { max-width: 760px; margin-inline: auto; background: var(--paper); color: var(--paper-ink); padding: clamp(28px, 5vw, 72px); }
.prose h2 { margin-top: 44px; font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.2; }
.prose h2:first-of-type { margin-top: 28px; }
.prose p, .prose ul { margin-top: 12px; font-size: var(--step-body); line-height: 1.55; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose a { color: inherit; }
.prose__draft { background: var(--paper-ink); color: var(--paper); padding: 10px 14px; font-size: var(--step-small) !important; }
.credits-list li + li { margin-top: 10px; }
.prose__todo { background: var(--paper-band); padding: 10px 14px; font-weight: 500; }
/* the data controller line: required by KVKK art. 10, kept at the foot of the notice in small type */
.prose .prose__fine { margin-top: 40px; font-size: var(--step-small); line-height: 1.45; color: var(--paper-muted); }

/* ---------- intro: title, note, facts ---------- */
.intro { padding-top: 140px; padding-bottom: 120px; }
.intro__row { align-items: end; }
.intro__h { grid-column: 1 / 7; font-weight: 400; }
.intro__note { grid-column: 9 / 13; font-size: var(--step-body); max-width: 34ch; }
.facts { display: flex; justify-content: space-between; gap: var(--gutter); margin-top: 120px; flex-wrap: wrap; }
.fact dt { font-size: var(--step-head); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact dd { margin-top: 8px; font-size: var(--step-small); color: var(--muted); max-width: 26ch; }
/* the road to Italy: text and button stay in view on the left while the path scrolls by on the right */
.journey { margin-top: 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.journey__side { grid-column: 1 / 6; align-self: start; position: sticky; top: 112px; display: grid; gap: 22px; justify-items: start; }
.journey__h { font-weight: 400; }
.journey__p { max-width: 36ch; font-size: var(--step-body); }
.journey__list, .journey__map { grid-column: 7 / 13; }
.journey__list { margin: 0; padding-left: 1.4em; list-style: decimal; display: grid; gap: 14px; }
.journey__list b { display: block; font-weight: 600; }
.journey__list span { font-size: var(--step-small); color: var(--muted); }
/* once the path is drawn the list stays for screen readers only */
.journey--map .journey__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.journey__svg { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; }
.jn__seg { fill: none; stroke: var(--f4); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1 16; transition: stroke var(--t-ui) ease; }
.jn__seg.is-done { stroke: var(--accent); }
.jn__pulse { fill: var(--f3); opacity: 0; }
.jn__base { fill: var(--env-back); transition: fill 400ms ease; }
.jn__face { fill: var(--f4); transform-box: fill-box; transform-origin: center; transition: fill 400ms ease; }
.jn__check { fill: none; stroke: var(--accent-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 32; stroke-dashoffset: 32; transition: stroke-dashoffset 420ms var(--ease-out) 120ms; }
.jn__lock { transition: opacity 200ms ease; }
.jn__lock rect { fill: var(--muted); }
.jn__lock path { fill: none; stroke: var(--muted); stroke-width: 2.2; }
.jn__num { font-family: var(--font); font-size: 20px; font-weight: 600; fill: var(--ink); opacity: 0; transition: opacity 200ms ease; }
.jn__lbl { font-family: var(--font); font-size: 15px; fill: var(--muted); transition: fill 300ms ease; }
.jn__sub { font-family: var(--font-small); font-size: 12px; fill: var(--muted); }
.jn.is-done .jn__base, .jn.is-now .jn__base { fill: var(--accent-strong); }
.jn.is-done .jn__face { fill: var(--accent); }
.jn.is-now .jn__face { fill: var(--f3); }
.jn.is-done .jn__check { stroke-dashoffset: 0; }
.jn.is-done .jn__lock, .jn.is-now .jn__lock { opacity: 0; }
.jn.is-now .jn__num { opacity: 1; }
.jn.is-done .jn__lbl, .jn.is-now .jn__lbl { fill: var(--ink); }
.jn.is-now .jn__lbl { font-weight: 600; }
@keyframes jn-pulse { from { r: 27px; opacity: 0.5; } to { r: 42px; opacity: 0; } }
@keyframes jn-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .jn.is-now .jn__pulse { animation: jn-pulse 1.8s ease-out infinite; }
  .jn.pop .jn__face { animation: jn-pop 420ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .jn__seg, .jn__base, .jn__face, .jn__check, .jn__lock, .jn__num, .jn__lbl { transition: none; }
}

/* ---------- how: drag row of moments ---------- */
.how { background: var(--f4); color: var(--paper-ink); padding-block: var(--section); }
.how__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.how__h { font-size: var(--step-head); }
.how__btns { display: flex; gap: 8px; }
.sq { width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper-ink); color: var(--paper); transition: transform var(--t-press) var(--ease-out); }
.sq:active { transform: scale(0.94); }
.how__bar { margin-top: 20px; }
.how__track { display: block; height: 6px; background: #b9a24a; }
.how__fill { display: block; height: 100%; width: 20%; background: var(--paper-ink); transform-origin: left; }
.how__row { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 40px var(--margin) 8px; scrollbar-width: none; }
.how__row::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; }
.moment p { margin-top: 8px; font-size: var(--step-body); line-height: 1.45; }
.moment img, .moment video { margin-top: var(--gap); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- show: square plate, spare text ---------- */
.show { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.show__plate { display: grid; place-items: center; padding: 40px; }
.legend { justify-content: center; }
.legend .ui__label { margin-bottom: 0; }
.legend__list { display: grid; gap: 20px; }
.legend__list div { display: grid; gap: 8px; }
.legend__list dt { justify-self: start; }
.legend__list dd { margin: 0; font-size: var(--step-body); line-height: 1.4; }
.ui { width: 100%; aspect-ratio: 1; max-width: 640px; background: var(--paper); color: var(--paper-ink); padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.ui__label { font-size: var(--step-small); color: var(--paper-muted); margin-bottom: auto; }
.ui__q { align-self: flex-end; max-width: 80%; background: var(--paper-ink); color: var(--paper); padding: 14px 18px; font-size: var(--step-body); }
.ui__a { background: var(--paper-band); padding: 18px 20px; display: grid; gap: 10px; transition: opacity var(--t-ui) ease; }
.ui__a.is-swapping { opacity: 0; }
.ui__who { font-weight: 600; }
.ui__chip { justify-self: start; font-size: var(--step-small); font-weight: 500; padding: 6px 12px; background: var(--paper-ink); color: var(--paper); }
.ui__chip[data-tone="prior"] { background: var(--accent); color: var(--accent-ink); }
.ui__chip[data-tone="pending"] { background: var(--chip-pending); color: var(--accent-ink); }
.ui__chip[data-tone="exp"] { background: var(--paper); color: var(--paper-ink); outline: 2px solid var(--paper-ink); outline-offset: -2px; }
.show__text { display: flex; flex-direction: column; justify-content: center; padding: 48px var(--margin) 48px 40px; gap: 48px; }
.show__h { font-size: var(--step-head); }
.show__desc { margin-top: 48px; max-width: 34ch; font-size: var(--step-body); }
.show__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { min-height: 72px; white-space: normal; text-align: center; }
.cell--ink { background: var(--bgbtn); color: var(--bgbtn-ink); }
.cell--tone { background: var(--faq-bg); color: var(--ink); }

/* ---------- cover list: giant word, filled bars, image preview ---------- */
.cover-list { background: var(--f3); padding: var(--section) var(--margin); display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cover-list__col { container-type: inline-size; }
.giant { font-size: 31cqw; line-height: 0.8; letter-spacing: -0.04em; font-weight: 600; }
.bars { margin-top: 20px; display: grid; gap: 6px; }
.bar { background: var(--surface); transition: background-color var(--t-hover) ease; }
.bar summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: var(--step-body); font-weight: 500; cursor: pointer; list-style: none; }
.bar summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 7px 0; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.bar[open] .plus::after { transform: rotate(0deg); }
.bar__panel { padding: 4px 18px 20px; display: grid; gap: 14px; }
.bar__panel li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.bar__panel li span:last-child { text-align: right; }
.cover-list__fine { margin-top: 24px; font-size: var(--step-small); color: var(--ink); max-width: 46ch; }
.cover-list__frame { position: sticky; top: 10vh; aspect-ratio: 4 / 5; overflow: hidden; }
.cover-list__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-ui) ease; }
.cover-list__frame img.is-swapping { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .bars:hover .bar:not(:hover) { background: var(--hover-tint); }
}

/* ---------- the letter to parents ---------- */
.letter-wrap { background: var(--f2); padding: 160px var(--margin); display: grid; justify-items: center; }
.letter {
  width: min(640px, 100%); background: var(--paper); color: var(--paper-ink); padding: 60px 60px 0;
  font-size: var(--step-body); line-height: 1.55;
  --sc: 14px;
  /* scalloped bottom edge: a mask that cuts the shape, not a colour fill */
  -webkit-mask: radial-gradient(var(--sc) at 50% 100%, #0000 98%, #000) 50% / calc(var(--sc) * 2.4) 100%; /* taste-skill-ignore */
          mask: radial-gradient(var(--sc) at 50% 100%, #0000 98%, #000) 50% / calc(var(--sc) * 2.4) 100%; /* taste-skill-ignore */
  padding-bottom: 28px;
}
.letter__face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; }
.letter p + p { margin-top: 1.55em; }
.letter mark { background: var(--paper-ink); color: var(--paper); padding: 0 0.15em; }
.letter__sign { font-size: var(--step-lead); font-style: italic; font-weight: 500; }
.letter p.letter__role { margin-top: 2px; font-size: var(--step-small); color: var(--paper-muted); }
.letter__stub { margin: 40px -60px 0; padding: 22px 60px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--paper-band); border-top: 5px dotted var(--paper-ink); }
.letter__stub span { font-size: var(--step-body); }

/* ---------- faq: answers as reading text ---------- */
.faq { background: var(--faq-bg); padding-block: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.faq__h { grid-column: 1 / 4; font-size: var(--step-head); align-self: start; }
.faq__text { grid-column: 5 / 13; columns: 2; column-gap: 56px; }
.faq__text p { break-inside: avoid; margin-bottom: 28px; padding-top: 16px; border-top: 1.5px solid var(--bar-shade); font-size: var(--step-body); line-height: 1.55; color: var(--muted); }
/* the question stands on its own line, the answer follows below it */
.faq__text strong { display: block; margin-bottom: 6px; font-size: 1.08em; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* ---------- cta: the letter in the envelope ---------- */
.cta { position: relative; background: var(--bg); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: clamp(24px, 4vh, 56px) var(--margin); }
.cta__side { grid-column: 1 / 5; align-self: center; font-size: var(--step-lead); line-height: 1.35; }
.cta__lead { max-width: 28ch; }
.cta__steps { list-style: none; padding: 0; margin: 32px 0 0; position: relative; display: grid; gap: 28px; }
.cta__steps::before { content: ""; position: absolute; left: 20px; top: 24px; bottom: 24px; border-left: 4px dotted var(--f2); }
.cta__steps li { position: relative; display: grid; gap: 2px; padding-left: 64px; min-height: 44px; }
.cta__n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bgbtn); color: var(--bgbtn-ink); font-size: var(--step-body); font-weight: 600; }
.cta__t { font-size: var(--step-body); font-weight: 600; line-height: 1.25; }
.cta__d { font-size: 1rem; line-height: 1.4; color: var(--muted); }
/* E (the envelope height) = 100cqw / --ar; a flat envelope keeps the whole section within one screen */
.env { --ar: 2.3; grid-column: 6 / 13; justify-self: center; align-self: end; position: relative; width: min(520px, 100%); aspect-ratio: var(--ar); margin-top: var(--env-room, 444px); container-type: inline-size; perspective: 1400px; }
.env__back { position: absolute; inset: 0; z-index: 1; background: var(--env-back); }
.env__mask { position: absolute; left: 0; right: 0; bottom: 0; height: 400%; z-index: 2; overflow: hidden; pointer-events: none; }
.card {
  position: absolute; left: 6%; right: 6%; bottom: 5.5%; /* card bottom sits 0.22E above the envelope bottom */
  pointer-events: auto; background: var(--paper); color: var(--paper-ink);
  padding: 28px 32px calc(100cqw / var(--ar) * 0.78 + 24px); text-align: center; /* the blank lower part stays inside the envelope; content ends above the rim */
}
.env__front { position: absolute; inset: 0; z-index: 3; background: var(--f4); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.env__stamp { position: absolute; right: 7%; bottom: 12%; width: 13%; aspect-ratio: 3 / 4; object-fit: cover; padding: 4px; background: var(--paper); transform: rotate(4deg); }
.env__flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 1; background: var(--env-flap); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transform: rotateX(180deg); }
.card__h { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.15; }
.card__p { margin: 8px auto 0; max-width: 36ch; font-size: 1rem; line-height: 1.4; }
.card__form { margin-top: 16px; display: grid; gap: 8px; text-align: left; }
.card__form .field { min-height: 2.75rem; padding: 0.4rem 0.8rem; }
.card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card__btn { width: 100%; min-height: 48px; margin-top: 4px; }
.card__consent { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; font-size: var(--step-small); line-height: 1.4; color: var(--paper-muted); cursor: pointer; }
.card__consent input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.05em 0 0; accent-color: var(--paper-ink); cursor: pointer; }
.card__consent a { color: var(--paper-ink); }
.card__msg { min-height: 1.2em; font-size: var(--step-small); text-align: center; color: var(--paper-ink); }
/* saved: the form keeps its height under the answer, so the letter does not move in the envelope */
.card__form { position: relative; }
.card__form.is-done > :not(.card__done) { visibility: hidden; }
.card__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: var(--paper); }
.card__done[hidden] { display: none; }
.done__mark { width: 76px; height: 76px; border-radius: 50%; }
.done__ring { fill: var(--paper-band); stroke: var(--accent); stroke-width: 3; }
.done__tick { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.done__h { margin: 4px 0 0; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 600; line-height: 1.1; outline: none; }
.done__p { margin: 0; max-width: 28ch; font-size: 1.0625rem; line-height: 1.4; color: var(--paper-muted); }
.done__share { width: auto; padding-inline: 28px; margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .card__done:not([hidden]) .done__mark { animation: done-pop 600ms var(--ease-out) both, done-halo 1200ms 500ms ease-out; }
  .card__done:not([hidden]) .done__ring { stroke-dasharray: 183; stroke-dashoffset: 183; animation: done-draw 600ms var(--ease-out) forwards; }
  .card__done:not([hidden]) .done__tick { stroke-dasharray: 44; stroke-dashoffset: 44; animation: done-draw 380ms 420ms var(--ease-out) forwards; }
  .card__done:not([hidden]) .done__h, .card__done:not([hidden]) .done__p, .card__done:not([hidden]) .done__share { animation: rise 600ms var(--ease-out) both; }
  .card__done:not([hidden]) .done__h { animation-delay: 380ms; }
  .card__done:not([hidden]) .done__p { animation-delay: 480ms; }
  .card__done:not([hidden]) .done__share { animation-delay: 620ms; }
  .card__done:not([hidden]) .done__h, .card__done:not([hidden]) .done__p, .card__done:not([hidden]) .done__share { opacity: 0; transform: translateY(12px); }
}
@keyframes done-pop { from { transform: scale(0.6); } 60% { transform: scale(1.08); } to { transform: none; } }
@keyframes done-draw { to { stroke-dashoffset: 0; } }
@keyframes done-halo { from { box-shadow: 0 0 0 0 var(--f3); } to { box-shadow: 0 0 0 22px transparent; } }

/* ---------- footer: the back of the card ---------- */
.foot { background: var(--bg); padding: 120px var(--margin) 48px; }
.postcard {
  position: relative; margin-inline: auto; width: min(100%, 1180px); min-height: 420px;
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 72px clamp(24px, 4vw, 64px) 32px;
  --sc: 50px;
  /* scalloped top edge, cut by a mask */
  -webkit-mask: radial-gradient(calc(var(--sc) * 0.5) at 50% 0, #0000 98%, #000) 50% / var(--sc) 100%; /* taste-skill-ignore */
          mask: radial-gradient(calc(var(--sc) * 0.5) at 50% 0, #0000 98%, #000) 50% / var(--sc) 100%; /* taste-skill-ignore */
}
.postcard__h { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.postcard__msg p + p { margin-top: 14px; max-width: 40ch; font-size: var(--step-body); }
.postcard__msg a { color: inherit; }
.postcard__addr { position: relative; display: grid; align-content: end; gap: 12px; font-size: var(--step-body); padding-top: 120px; }
.postcard__addr a { justify-self: start; }
.postcard__stamp { position: absolute; top: 0; right: 0; width: 88px; aspect-ratio: 3 / 4; object-fit: cover; padding: 6px; background: var(--paper-band); transform: rotate(3deg); }
.postcard__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--step-small); }
.postcard__imprint { grid-column: 1 / -1; align-self: end; text-align: center; font-size: var(--step-small); color: var(--paper-muted); }
.credits { margin: 32px auto 0; width: 100%; max-width: min(1180px, 88ch); font-size: var(--step-small); line-height: 1.6; color: var(--ink); }
/* the name returns at full width as the page's last line, cropped by the page edge like a printer's mark */
.foot { padding-bottom: 0; overflow: hidden; }
.bigname { display: block; width: 100%; height: auto; margin-top: clamp(64px, 8vw, 120px); fill: var(--bgbtn); overflow: visible; }
.bigname text { font-family: var(--font); font-weight: 600; font-size: 338px; letter-spacing: -0.03em; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --step-display: 11vw; }
  .only-narrow { display: inline; }
  /* a phone gets one action up top: the page links live in the footer */
  .topbar { grid-template-columns: 1fr auto; padding-block: 10px; }
  html { scroll-padding-top: 72px; }
  .nav { display: none; }
  .toplink { padding: 8px 16px 9px; border-radius: 999px; background: var(--bgbtn); color: var(--bgbtn-ink); text-decoration: none; font-size: 16px; }
  .toplink:active { background: var(--bgbtn-strong); }
  .page-hero__lead { font-size: var(--step-body); }
  .pairs { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .gloss { display: block; padding-inline: 20px; }
  .cost__h, .cost__note { grid-column: 1 / -1; }
  .cost__note { margin-top: 16px; }
  .cost__pair { grid-template-columns: 1fr; margin-top: 36px; }
  .quiz { padding-inline: 0; }
  .quiz__top { grid-template-columns: 1fr; }
  .quiz__form { grid-template-columns: 1fr; }
  .city, .city--flip { grid-template-columns: 1fr; gap: 20px; }
  .city--flip .city__pic { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats__pic img { aspect-ratio: 3 / 2; }
  .gloss__h { margin-bottom: 28px; }
  .gloss__list { columns: 1; }
  .strip { grid-template-columns: 1fr 1fr; }
  .page-hero__cta { width: 100%; }
  .postcard__legal { gap: 8px 20px; }
  .hero__head { padding-top: 56px; }
  .hero__lead { padding-inline: var(--margin); }
  .hubs { margin-inline: var(--margin); margin-top: 12px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hub { padding: 14px 14px 16px; }
  .quiz-card { margin-inline: var(--margin); }
  .hero__head { padding-top: 8px; }
  .hook { padding: 20px var(--margin) 32px; }
  .hook__progress span { width: 28px; }
  .chip { min-height: 48px; padding: 0 16px; }
  .chain { padding-inline: 0; padding-block: 96px; }
  .sheet-tab { margin-left: 4%; height: 32px; min-width: 120px; }
  .sheet-tab span { display: none; }
  .ask { padding-inline: 0; }
  .ask__sheet { grid-template-columns: 1fr; }
  .thread { position: static; }
  .thread__q { max-width: 92%; }
  .chain__top { grid-template-columns: 1fr; }
  .chain__controls { grid-template-columns: 1fr; }
  .timetable thead { display: none; }
  .timetable, .timetable tbody, .timetable tr, .timetable td { display: block; }
  .timetable tr { padding: 14px 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
  .timetable td { padding: 0; }
  .timetable td.t { grid-row: 1; grid-column: 1 / -1; font-size: var(--step-lead); }
  .timetable td:nth-child(2) { grid-column: 1 / -1; font-weight: 500; margin-top: 2px; }
  .timetable td:nth-child(3), .timetable td:nth-child(4) { font-size: var(--step-small); margin-top: 4px; }
  .intro { padding-top: 96px; padding-bottom: 96px; }
  .intro__h, .intro__note { grid-column: 1 / -1; }
  .intro__note { margin-top: 16px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; margin-top: 64px; }
  .fact dt { font-size: var(--step-lead); }
  .journey { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .journey__side { grid-column: 1 / -1; position: static; }
  .journey__list, .journey__map { grid-column: 1 / -1; margin-top: 36px; }
  /* the path is drawn at 440 units and shrinks with the screen, so its words are set larger to stay readable */
  .jn__lbl { font-size: 18px; }
  .jn__sub { font-size: 14.5px; }
  .how__btns { display: none; }
  .how__row { gap: 16px; padding-inline: var(--margin); }
  .moment { flex-basis: 72vw; }
  .moment img, .moment video { margin-top: calc(var(--gap) * 0.4); }
  .show { grid-template-columns: 1fr; min-height: 0; }
  .show__plate { padding: 16px; padding-top: 48px; }
  .show__text { padding: 24px var(--margin) 56px; gap: 28px; }
  .show__desc { margin-top: 20px; }
  .show__cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .cover-list { grid-template-columns: 1fr; padding-inline: 16px; }
  .cover-list__frame { display: none; }
  .bar summary { min-height: 54px; }
  .letter-wrap { padding: 96px 0; }
  .letter { padding: 40px 24px 0; padding-bottom: 20px; }
  .letter__stub { margin-inline: -24px; padding: 20px 24px 36px; }
  .letter__stub .button { width: 100%; }
  .faq { display: block; padding-inline: 20px; }
  .faq__h { margin-bottom: 24px; }
  .faq__text { columns: 1; }
  .faq__text p { margin-bottom: 22px; }
  .cta { display: block; min-height: 0; padding-top: 96px; }
  .cta__side { margin-bottom: 40px; }
  .cta__lead { max-width: none; }
  .env { width: 100%; --ar: 1.8; --env-room: 540px; }
  .card { left: 4%; right: 4%; padding: 28px 20px calc(48.75cqw + 20px); }
  .card__row { grid-template-columns: 1fr; }
  .card__btn { min-height: 52px; }
  .foot { padding-inline: 0; padding-top: 96px; }
  .postcard { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px 28px; --sc: 64px; }
  .postcard__addr { padding-top: 0; }
  .postcard__addr { position: static; }
  .postcard__stamp { top: 28px; right: 24px; width: 64px; }
  .credits { padding-inline: var(--margin); }
}

/* ---------- spotlight hover on the waitlist buttons (after dayetu.group) ---------- */
html .spot-c.spot-c.spot-c { transition: filter 450ms var(--ease-out); }
html .spot-blur.spot-blur.spot-blur { filter: blur(6px); }
.spot__in { display: inline-grid; }
.spot__word, .spot__alt { grid-area: 1 / 1; }
.spot__word { white-space: nowrap; }
.spot__ch { display: inline-block; transition: transform 450ms var(--ease-out), opacity 300ms ease; transition-delay: calc(var(--i) * 12ms); }
.spot__alt { justify-self: center; white-space: nowrap; opacity: 0; transform: translateY(0.4em); transition: opacity 250ms ease, transform 450ms var(--ease-out); }
.spot.is-spot .spot__ch { transform: translateY(-0.6em); opacity: 0; }
.spot.is-spot .spot__alt { opacity: 1; transform: none; transition-delay: 140ms; }
.button.spot, .cell.spot, .card__btn.spot { transition: transform 450ms var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button.spot.is-spot, .cell.spot.is-spot, .card__btn.spot.is-spot { transform: scale(1.03); }
.hero__soon a.spot { display: inline-block; margin-left: 0.35em; text-decoration: none; padding: 0 0.15em; border-bottom: 2px solid currentColor; outline: 1.5px solid transparent; outline-offset: 6px; transition: outline-color 450ms var(--ease-out); }
.hero__soon a.spot.is-spot { outline-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .spot__ch, .spot__alt { transition: opacity 200ms ease; transform: none !important; }
}

/* ---------- motion (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .moment { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .moment.is-in { opacity: 1; transform: none; }
  .js .bars-chart .bar-old, .js .bars-chart .bar-new { transform: scaleX(0); transition: transform 900ms var(--ease-out); }
  .js .bars-chart.is-in .bar-old, .js .bars-chart.is-in .bar-new { transform: none; }
  .js .bars-chart.is-in tr:nth-child(2) span { transition-delay: 80ms; } .js .bars-chart.is-in tr:nth-child(3) span { transition-delay: 160ms; } .js .bars-chart.is-in tr:nth-child(4) span { transition-delay: 240ms; } .js .bars-chart.is-in tr:nth-child(5) span { transition-delay: 320ms; }
  .js .bar { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), background-color var(--t-hover) ease; transition-delay: calc(var(--d, 0) * 60ms); }
  .js .bar.is-in { opacity: 1; transform: none; }
  .js .timetable tbody tr { opacity: 0; transform: translateX(-14px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .timetable.is-in tbody tr { opacity: 1; transform: none; }
  /* closed envelope: the flap is down and in front, the letter sits inside with its top 0.35E from the rim */
  .js .env .env__flap { transform: none; z-index: 4; transition: transform 650ms var(--ease-in-out); }
  .js .env.is-open .env__flap { transform: rotateX(180deg); }
  .js .env.is-out .env__flap { z-index: 1; }
  .js .env .card { transform: translateY(calc(100% - 100cqw / var(--ar) * 0.43)); transition: transform 1100ms var(--ease-out); }
  .js .env.is-out .card { transform: none; }
  .js .env:not(.is-out) .card__consent, .js .env:not(.is-out) .card__msg { visibility: hidden; }
  .js .letter { opacity: 0; transform: translateY(40px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
  .js .letter.is-in { opacity: 1; transform: none; }
  .js .postcard { opacity: 0; transform: translateY(48px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
  .js .postcard.is-in { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .cover-list__frame img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08) translateY(-3%); } to { transform: scale(1.08) translateY(3%); } }

/* ---------- small interactions ---------- */

/* sample conversation: typing dots, then the answer is written out; tasks can be ticked */
.typing { display: none; gap: 5px; padding: 8px 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-ink); opacity: 0.3; }
.thread.is-wait .typing { display: flex; }
.thread.is-wait #t-a { display: none; }
.thread.is-wait .thread__src, .thread.is-wait .thread__tasks, .thread.is-write .thread__src, .thread.is-write .thread__tasks { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: no-preference) {
  .typing i { animation: blink 1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.15s; }
  .typing i:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* scholarship check result: a postmark is pressed onto the sheet */
.step--result { position: relative; }
.step--result .quiz__verdict { padding-right: 112px; }
.stamp { position: absolute; top: 14px; right: 16px; width: 92px; height: 92px; box-sizing: border-box; display: grid; place-content: center; gap: 2px; text-align: center; color: var(--paper); border: 3px solid var(--paper); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--paper-ink), inset 0 0 0 6px var(--paper); transform: rotate(-14deg); opacity: 0.92; font-weight: 600; letter-spacing: 0.06em; line-height: 1.1; pointer-events: none; }
.stamp span { font-size: 0.8125rem; }
.stamp small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
  .js .step--result.is-current .stamp { animation: stamp-in 520ms var(--ease-out) 380ms backwards; }
}
@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-14deg) scale(2); }
  60% { opacity: 0.95; transform: rotate(-14deg) scale(0.93); }
  100% { opacity: 0.92; transform: rotate(-14deg) scale(1); }
}

/* counted numbers */
data.num { font-variant-numeric: tabular-nums; }

/* glossary terms inside running text */
.term { text-decoration: underline dotted; text-underline-offset: 0.2em; cursor: help; position: relative; }
.term::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 30;
  width: max-content; max-width: min(260px, 70vw); padding: 8px 12px; white-space: normal; text-align: left;
  background: var(--ink); color: var(--bg); outline: 1.5px solid var(--f4);
  font-size: var(--step-small); font-weight: 400; line-height: 1.35; text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateX(calc(-50% + var(--tx, 0px))) translateY(4px);
  transition: opacity var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
/* a hidden explanation is taken out of the page entirely, or one near the right edge widens the phone layout */
.term::after { display: none; }
.term:hover::after, .term:focus-visible::after { display: block; opacity: 1; transform: translateX(calc(-50% + var(--tx, 0px))); animation: term-in var(--t-hover) var(--ease-out); }
@keyframes term-in { from { opacity: 0; transform: translateX(calc(-50% + var(--tx, 0px))) translateY(4px); } }

/* map of the four cities */
.cities__top { display: grid; grid-template-columns: 1fr minmax(200px, 340px); gap: var(--gutter) clamp(24px, 5vw, 80px); align-items: center; }
.map { justify-self: end; width: 100%; max-width: 340px; }
.map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__land { fill: var(--paper); stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.map__pin { cursor: pointer; outline: none; }
.map__halo { fill: var(--accent); opacity: 0.18; transform-box: fill-box; transform-origin: center; transition: transform var(--t-ui) var(--ease-out), opacity var(--t-ui) ease; }
.map__dot { fill: var(--accent-strong); transform-box: fill-box; transform-origin: center; transition: transform var(--t-ui) var(--ease-out); }
.map__lbl { fill: var(--ink); font-family: var(--font); font-size: 21px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.map__pin:hover .map__dot, .map__pin:focus-visible .map__dot { transform: scale(1.35); }
.map__pin:hover .map__halo, .map__pin:focus-visible .map__halo { transform: scale(1.5); opacity: 0.3; }
.map__pin:focus-visible .map__lbl { text-decoration: underline; }
.map__hint { margin-top: 10px; min-height: 1.5em; font-size: var(--step-small); color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .map__halo { animation: halo 2.6s ease-in-out infinite; }
  .map__pin:nth-of-type(2) .map__halo { animation-delay: 0.5s; }
  .map__pin:nth-of-type(3) .map__halo { animation-delay: 1s; }
  .map__pin:nth-of-type(4) .map__halo { animation-delay: 1.5s; }
}
@keyframes halo { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.3; } }
.city.is-lit .city__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.15em; }
.city.is-lit .city__pic img { transform: scale(1.04); }
.city { scroll-margin-top: 120px; }

/* each timetable task carries a short reason under it */
.step-name { display: block; }
.step-why { display: block; margin-top: 6px; max-width: 46ch; font-size: var(--step-small); font-weight: 400; line-height: 1.4; color: var(--paper-muted); }
.timetable tr.goal .step-why { color: var(--f4); }

@media (max-width: 760px) {
  .cities__top { grid-template-columns: 1fr; }
  .map { justify-self: start; max-width: 240px; }
  .step--result .quiz__verdict { padding-right: 84px; }
  .stamp { width: 70px; height: 70px; top: 10px; right: 10px; box-shadow: inset 0 0 0 3px var(--paper-ink), inset 0 0 0 5px var(--paper); }
  .stamp span { font-size: 0.6875rem; }
  .stamp small { font-size: 0.625rem; }
}

/* ---------- hero postcards: where the road starts and where it ends (wide screens only) ---------- */
.hero__card { display: none; }
@media (min-width: 1100px) {
  .hero__card { display: block; position: absolute; z-index: 1; top: clamp(8px, 2vh, 28px); width: clamp(180px, 16vw, 250px); margin: 0; padding: 10px 10px 0; background: var(--paper); }
  .hero__card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .hero__card figcaption { padding: 8px 2px 10px; font-size: var(--step-small); color: var(--paper-muted); }
  .hero__card--l { left: clamp(24px, 5vw, 96px); rotate: -4deg; }
  .hero__card--r { right: clamp(24px, 5vw, 96px); top: clamp(48px, 7vh, 88px); rotate: 3deg; }
  .hero__card--r img { aspect-ratio: 5 / 4; }
}

/* ---------- cost: the yearly fee as bars; the foundation average is the full width ---------- */
.cost__top:has(.fees) { align-items: start; }
.cost__lede { grid-column: 1 / 6; }
.cost__lede .cost__note { margin-top: 20px; }
.fees { grid-column: 7 / 13; margin: 0; display: grid; gap: 24px; }
.fees__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: baseline; }
.fees__name { grid-area: 1 / 1; font-size: 1rem; line-height: 1.35; }
.fees__val { grid-area: 1 / 2; font-size: var(--step-body); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fees__bar { grid-area: 2 / 1 / 3 / -1; display: block; height: 18px; width: max(6px, calc(var(--v) * 100%)); background: var(--bgbtn); transform-origin: left; }
.fees__row--tr .fees__bar { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .fees .fees__bar { transform: scaleX(0); transition: transform 1000ms var(--ease-out); }
  .js .fees.is-in .fees__bar { transform: none; }
  .js .fees.is-in .fees__row:nth-child(3) .fees__bar { transition-delay: 120ms; }
  .js .fees.is-in .fees__row:nth-child(4) .fees__bar { transition-delay: 240ms; }
  .js .fees.is-in .fees__row:nth-child(5) .fees__bar { transition-delay: 360ms; }
}

/* ---------- cities: the high-speed train beside the map ---------- */
.cities__clip { margin: 32px 0 0; max-width: 440px; }
.cities__clip video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cities__clip figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* the short answers are separated by space alone */
.faq__text p { border-top: 0; padding-top: 0; }

@media (max-width: 760px) {
  .cost__lede, .fees { grid-column: 1 / -1; }
  .fees { margin-top: 40px; gap: 20px; }
  /* the section links shrink to their titles, so the scholarship check stays on the first screen */
  .hubs { display: flex; flex-wrap: wrap; margin: 12px var(--margin) 0; gap: 8px; }
  .hub { flex: 1 1 auto; padding: 12px 18px 13px; }
  .hub__d { display: none; }
  .quiz-card { margin-top: 16px; }
}

/* ---------- opening price: a rolling figure the scholarship check rewrites ---------- */
.price__label { font-size: var(--step-lead); font-weight: 500; color: var(--muted); transition: opacity 250ms ease; }
.price__label.is-out { opacity: 0; }
.price { display: flex; justify-content: center; align-items: flex-end; margin: 0.12em 0 0; font-size: clamp(5rem, 12.5vw, 11rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price__odo { display: inline-flex; }
.price__unit { font-size: 0.4em; margin: 0 0 0.12em 0.18em; letter-spacing: 0; }
.js .price__odo { white-space: nowrap; }
.odo__d { display: inline-block; width: 0.6em; height: 1em; overflow: hidden; transition: width 600ms var(--ease-out), opacity 400ms ease; }
.odo__d.is-off, .odo__dot.is-off { width: 0; opacity: 0; }
.odo__col { display: flex; flex-direction: column; transition: transform 1400ms var(--ease-out); }
.odo__col span { display: block; height: 1em; text-align: center; }
.odo__dot { display: inline-block; width: 0.25em; overflow: hidden; transition: width 600ms var(--ease-out), opacity 400ms ease; }
.price__plus { min-height: 1.25em; margin-top: 0.2em; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-weight: 600; color: var(--accent); opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 600ms var(--ease-out); }
.price__plus.is-on { opacity: 1; transform: none; }
.price__src { margin: 12px 7% 0; max-width: 90ch; font-size: var(--step-small); color: var(--muted); }
.price__q { margin-top: 0.15em; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }

/* ---------- the suitcase ---------- */
.valiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(64px, 8vw, 120px) 7%; }
.valiz__lead { margin-top: 16px; max-width: 46ch; }
.valiz__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.valiz__item { display: flex; gap: 12px; align-items: center; min-height: 52px; height: 100%; padding: 8px 14px; background: var(--paper); color: var(--paper-ink); cursor: pointer; line-height: 1.25; }
.valiz__item input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--paper-ink); cursor: pointer; }
.valiz__count { margin-top: 20px; font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.valiz__acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.valiz__note { font-size: var(--step-small); color: var(--muted); }
.suitcase { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 560; justify-self: center; }
.suitcase__handle { position: absolute; left: 50%; top: 0; width: 26%; height: 9%; transform: translateX(-50%); border: 11px solid var(--case-dark); border-bottom: 0; border-radius: 16px 16px 0 0; }
.suitcase__body { position: absolute; left: 0; right: 0; bottom: 0; top: 8.5%; background: var(--case); border-radius: 14px; }
.suitcase__body::before, .suitcase__body::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4.5%; background: var(--f4); }
.suitcase__body::before { left: 24%; }
.suitcase__body::after { right: 24%; }
.suitcase__in { position: absolute; inset: 5%; z-index: 1; display: flex; flex-wrap: wrap; align-content: flex-end; justify-content: center; gap: 2.5%; padding: 3%; overflow: hidden; background: var(--paper-band); }
.doc { width: 28%; aspect-ratio: 112 / 82; padding: 3% 3.5%; background: var(--paper); color: var(--paper-ink); border: 1.5px solid var(--paper-ink); font-size: clamp(0.75rem, 0.5rem + 0.6vw, 1rem); font-weight: 600; line-height: 1.15; transform: rotate(var(--r)); }
.doc small { display: block; margin-top: 0.4em; font-size: 0.72em; font-weight: 500; color: var(--paper-muted); }
.doc.is-missing { background: transparent; border-style: dashed; border-color: var(--field-edge); color: var(--paper-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .doc.is-drop { animation: doc-drop 650ms cubic-bezier(.3, 1.35, .5, 1) both; }
}
@keyframes doc-drop { from { transform: translateY(-520px) rotate(calc(var(--r) * 5)); } to { transform: rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) {
  .odo__d, .odo__dot, .odo__col, .price__plus, .price__label { transition: none; }
}
@media (max-width: 760px) {
  .price { font-size: 17vw; }
  .price__src { margin-inline: var(--margin); }
  /* on a phone the suitcase sits between the lead and the list, so a tick is seen landing */
  .valiz { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 64px var(--margin); }
  .valiz__side { display: contents; }
  .valiz .head, .valiz__lead { order: 0; }
  .suitcase { order: 1; width: 100%; max-width: 330px; margin: 24px auto 4px; }
  .valiz__list, .valiz__count, .valiz__acts { order: 2; }
  .valiz__list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .valiz__item { min-height: 46px; }
}

/* ---------- small type ---------- */
.ctl__help,
.timetable th,
.chain__fine,
.thread__label,
.thread__src,
.ticket dt,
.ticket dd span,
.cost__src,
.quiz__form .ctl > span,
.quiz__nums,
.quiz__fine,
.city__facts dt,
.cities__src,
.bars-chart__legend,
.bars-chart th[scope="row"],
.bars-chart .val,
.stats__src,
.stats__pic figcaption,
.does__fine,
.weekly__k,
.prose__draft,
.prose .prose__fine,
.fact dd,
.journey__list span,
.ui__label,
.ui__chip,
.cover-list__fine,
.letter p.letter__role,
.card__consent,
.card__msg,
.postcard__legal,
.postcard__imprint,
.credits,
.stamp span,
.stamp small,
.term::after,
.map__hint,
.step-why,
.hero__card figcaption,
.cities__clip figcaption,
.price__src,
.valiz__note,
.doc small { font-family: var(--font-small); }
