/* Dale Vuelo. Direction "Type and nothing else" (taste-skill v2, seed 1384226641).
   Putty and black with one teal accent. Zodiak for display, Hanken Grotesk for text. */

:root {
  --bg: #dedad3;
  --surface: #d3cec6;
  --ink: #0a0a0a;
  --ink-2: #1c1c1b;
  --muted: #5c5852;
  --accent: #206677;
  --accent-strong: #184e5c;
  --accent-soft: #2f7d91;
  --accent-ink: #ffffff;
  --on-dark: #dedad3;
  --on-dark-soft: #aeaaa3;

  --display: "Zodiak", "Times New Roman", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --m: clamp(16px, 2.5vw, 36px);
  --gap: clamp(16px, 2vw, 28px);
  --section-y: clamp(96px, 14vh, 180px);
  --header-h: 64px;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem);
  --hero-size: clamp(3.25rem, 9.5vw, 9.375rem);
  --spec-size: clamp(10rem, 26vw, 25rem);

  --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;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[data-chapter="ink"] :focus-visible, .hero-foot :focus-visible, .coupon :focus-visible, .footer :focus-visible { outline-color: var(--on-dark); }

.skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- top bar: wordmark, three links; it takes the colours of the chapter beneath ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--m);
  background-color: var(--hbg, var(--bg));
  color: var(--hink, var(--ink));
  transition: background-color 300ms ease, color 300ms ease;
}
.top[data-ink="paper"] { --hbg: var(--bg); --hink: var(--ink); }
.top[data-ink="surface"] { --hbg: var(--surface); --hink: var(--ink); }
.top[data-ink="accent"] { --hbg: var(--accent); --hink: var(--on-dark); }
.top[data-ink="ink"] { --hbg: var(--ink); --hink: var(--on-dark); }
.wordmark { display: inline-flex; align-items: center; padding: 6px 0; color: inherit; text-decoration: none; line-height: 0; }
.logo { display: block; height: calc(var(--step-lead) * 1.62); width: auto; overflow: visible; }
.lg-arrow { fill: currentColor; }
.top-right { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.top-links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.lang { display: flex; gap: 2px; }
.lang-btn {
  min-width: 40px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.lang-btn:active { transform: scale(0.94); }
.lang-btn[aria-pressed="true"] { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .lang-btn[aria-pressed="false"]:hover { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); } }
.top-links a { display: inline-block; padding: 12px 0; font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .top-links a:hover { text-decoration-color: currentColor; } }

/* ---------- buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button-ink { background: var(--ink); color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button-ink:hover { background: var(--ink-2); }
}

/* ---------- hero: two fields, the headline across the seam ---------- */
.hero { position: relative; height: calc(100svh + 30svh); --seam: 50svh; }
.hero-field { position: absolute; left: 0; right: 0; }
.hero-field-top { top: 0; height: var(--seam); background: var(--bg); }
.hero-field-low { top: var(--seam); bottom: 0; background: var(--accent); }
.hero { --cut: 1.46; }
.hero-head { position: absolute; left: var(--m); right: var(--m); top: calc(var(--seam) - var(--hero-size) * var(--cut)); text-align: center; }
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  font-weight: 100;
  font-size: var(--hero-size);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
/* below the seam the second line changes ink: a copy of its own letters, clipped to the lower field */
.seam-copy::after { content: attr(data-text); position: absolute; inset: 0; color: var(--on-dark); clip-path: inset(calc((var(--cut) - 1.06) * 1em) 0 0 0); }
.hero-title .line { display: block; overflow: hidden; padding: 0.14em 0.04em 0.06em; margin: -0.14em 0 -0.06em; }
.hero-title [data-line] { display: block; position: relative; }
/* entrance order for the hero (read by the motion layer) */
[data-i="0"] { --i: 0; }
[data-i="1"] { --i: 1; }
[data-i="2"] { --i: 2; }
[data-i="3"] { --i: 3; }
[data-i="4"] { --i: 4; }
.hero-foot {
  position: absolute;
  left: var(--m);
  right: var(--m);
  bottom: calc(30svh + 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  color: var(--on-dark);
}
.hero-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 31ch; }

/* ---------- section type ---------- */
.head { font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.body { max-width: 34ch; text-wrap: pretty; }
.sub { font-family: var(--text); font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }

/* ---------- service: the receipt ---------- */
.ticket-sec {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--section-y) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.ticket-copy { grid-column: 1 / span 5; }
.ticket-copy .body { margin-top: 24px; }
.chips { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 30rem; }
.chip {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  background: var(--ink-2);
  color: var(--on-dark);
  font-size: 1rem;
  font-weight: 500;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="false"]:hover { background: #2e2e2c; } }

.ticket {
  grid-column: 7 / span 5;
  width: 100%;
  max-width: 470px;
  background: var(--bg);
  color: var(--ink);
  padding: 30px 30px 48px;
  font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 98.611% 100%, 97.222% calc(100% - 9px), 95.833% 100%, 94.444% calc(100% - 9px), 93.056% 100%, 91.667% calc(100% - 9px), 90.278% 100%, 88.889% calc(100% - 9px), 87.5% 100%, 86.111% calc(100% - 9px), 84.722% 100%, 83.333% calc(100% - 9px), 81.944% 100%, 80.556% calc(100% - 9px), 79.167% 100%, 77.778% calc(100% - 9px), 76.389% 100%, 75% calc(100% - 9px), 73.611% 100%, 72.222% calc(100% - 9px), 70.833% 100%, 69.444% calc(100% - 9px), 68.056% 100%, 66.667% calc(100% - 9px), 65.278% 100%, 63.889% calc(100% - 9px), 62.5% 100%, 61.111% calc(100% - 9px), 59.722% 100%, 58.333% calc(100% - 9px), 56.944% 100%, 55.556% calc(100% - 9px), 54.167% 100%, 52.778% calc(100% - 9px), 51.389% 100%, 50% calc(100% - 9px), 48.611% 100%, 47.222% calc(100% - 9px), 45.833% 100%, 44.444% calc(100% - 9px), 43.056% 100%, 41.667% calc(100% - 9px), 40.278% 100%, 38.889% calc(100% - 9px), 37.5% 100%, 36.111% calc(100% - 9px), 34.722% 100%, 33.333% calc(100% - 9px), 31.944% 100%, 30.556% calc(100% - 9px), 29.167% 100%, 27.778% calc(100% - 9px), 26.389% 100%, 25% calc(100% - 9px), 23.611% 100%, 22.222% calc(100% - 9px), 20.833% 100%, 19.444% calc(100% - 9px), 18.056% 100%, 16.667% calc(100% - 9px), 15.278% 100%, 13.889% calc(100% - 9px), 12.5% 100%, 11.111% calc(100% - 9px), 9.722% 100%, 8.333% calc(100% - 9px), 6.944% 100%, 5.556% calc(100% - 9px), 4.167% 100%, 2.778% calc(100% - 9px), 1.389% 100%, 0 calc(100% - 9px));
}
.t-head { display: flex; justify-content: space-between; gap: 16px; font-size: 1rem; font-weight: 500; padding-bottom: 18px; }
.t-rows li { display: flex; align-items: baseline; font-size: var(--step-body); padding: 8px 0; }
.t-item { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.t-item::after { content: " · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·"; color: var(--muted); }
.t-amount { padding-left: 10px; }
.t-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  margin: 18px -30px 0;
  padding: 0 30px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 500;
}
.t-note { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }

/* ---------- two pictures ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.pair-pic { aspect-ratio: 4 / 3; overflow: hidden; }
.pair-pic img, .extras-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- price: two figures compared ---------- */
.price { background: var(--bg); padding: var(--section-y) var(--m); }
.price-top, .specimens { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.price-top .head { grid-column: 1 / span 5; }
.price-top .body { grid-column: 7 / span 5; max-width: 44ch; }
.specimens { margin-top: 12vh; }
.spec { grid-column: 1 / span 6; }
.spec-b { grid-column: 7 / span 6; }
.spec figcaption { font-size: 1rem; font-weight: 500; margin-top: 12px; }
.spec-box { padding-top: 0.04em; }
.spec-fig { font-family: var(--display); font-weight: 100; font-size: var(--spec-size); line-height: 0.86; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }

/* ---------- Ludmila: her voice and what she says ---------- */
.voice {
  background: var(--accent);
  color: var(--on-dark);
  padding: var(--section-y) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  align-items: end;
}
.voice-title { grid-column: 1 / span 7; font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.voice-side { grid-column: 8 / span 5; display: grid; gap: 16px; }
.voice-player { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px 0 18px;
  border: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 1rem;
  font-weight: 500;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.play:active { transform: scale(0.97); }
.play svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.play .i-pause, .play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
@media (hover: hover) and (pointer: fine) { .play:hover { background: var(--ink-2); } }
.voice-time { font-variant-numeric: tabular-nums; font-size: 1rem; }
.voice-bar { height: 6px; background: var(--accent-strong); overflow: hidden; }
.voice-bar span { display: block; height: 100%; background: var(--on-dark); transform: scaleX(0); transform-origin: left center; transition: transform 250ms linear; }
.voice-text summary { cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; padding: 10px 0; width: fit-content; }
.voice-text summary::-webkit-details-marker { display: none; }
.voice-text summary { list-style: none; }
.voice-transcript { display: grid; gap: 12px; padding-top: 8px; max-width: 60ch; }
.voice-transcript p { margin: 0; }

/* ---------- also: capabilities set large ---------- */
.extras {
  background: var(--surface);
  padding: var(--section-y) var(--m);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
}
.extras-main { grid-column: 1 / span 8; }
.caps { margin-top: 36px; display: grid; gap: 30px; }
.caps li { display: grid; gap: 6px; }
.cap { font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; }
.cap-note { font-size: var(--step-body); color: var(--muted); }
.extras-pic { grid-column: 9 / span 4; aspect-ratio: 4 / 5; overflow: hidden; }

/* ---------- band ---------- */
.band { height: clamp(300px, 62svh, 720px); overflow: hidden; background: var(--ink); }
.band img { width: 100%; height: 112%; object-fit: cover; }

/* ---------- contact: the coupon ---------- */
.contact { background: var(--bg); padding: 120px var(--m); }
.coupon {
  position: relative;
  display: grid;
  grid-template-columns: 46fr 54fr;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--accent);
  color: var(--accent-ink);
}
/* the perforation: a dotted edge with a notch cut at each end */
.coupon-right::before, .coupon-right::after {
  content: "";
  position: absolute;
  left: -16.5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
}
.coupon-right::before { top: -14px; }
.coupon-right::after { bottom: -14px; }
.coupon-left { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.coupon-title { font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.coupon-text { max-width: 32ch; }
.coupon-right { position: relative; padding: 48px; border-left: 5px dotted var(--bg); display: grid; gap: 12px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 1rem; font-weight: 500; }
.opt { font-weight: 400; opacity: 0.8; }
.field input {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1rem;
  transition: background-color var(--t-hover) ease;
}
.field input:focus { background: var(--accent-strong); }
.field input[aria-invalid="true"] { outline: 2px solid var(--on-dark); outline-offset: -2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; padding: 8px 0; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: inherit; }
.field-error { font-size: 1rem; font-weight: 500; }
.form-errors { background: var(--accent-strong); padding: 14px 16px; font-size: 1rem; }
.form-errors ul { margin-top: 6px; display: grid; gap: 4px; }
.form-errors a { color: inherit; }
.coupon-submit {
  min-height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 1rem;
  font-weight: 500;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.coupon-submit:active { transform: scale(0.98); }
.coupon-submit:disabled { opacity: 0.7; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .coupon-submit:hover { background: var(--ink-2); } }
.form-status { font-size: 1rem; min-height: 1.4em; }
.contact-direct { max-width: 1180px; margin: 28px auto 0; color: var(--muted); }
.contact-direct a { color: var(--ink); margin-right: 20px; }

/* ---------- footer: columns above, the name below ---------- */
.footer {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: var(--ink);
  color: var(--on-dark-soft);
  padding: calc(var(--header-h) + 28px) var(--m) 24px;
}
.f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); font-size: 1rem; }
.f-col p + p { margin-top: 4px; }
.f-col p + p:has(> a:only-child) { margin-top: -6px; }
.f-col ul { margin-top: -10px; }
.f-strong { color: var(--on-dark); font-weight: 500; }
.footer a { color: var(--on-dark); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.f-col a { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { text-decoration-color: currentColor; } }
.f-mark {
  grid-row: 3;
  font-family: var(--display);
  font-weight: 100;
  font-size: 19.4vw;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  white-space: nowrap;
  margin: 0 -0.04em 20px;
}
.f-logo { color: var(--on-dark); letter-spacing: 0; }
.f-logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.f-legal { grid-row: 4; font-size: 1rem; max-width: 68ch; line-height: 1.5; }

/* ---------- phone and tablet ---------- */
@media (max-width: 960px) {
  .ticket-copy { grid-column: 1 / -1; }
  .ticket { grid-column: 1 / -1; margin-top: 48px; max-width: 520px; }
  .coupon { grid-template-columns: 1fr; max-width: 620px; }
  .coupon-right { border-left: 0; border-top: 5px dotted var(--bg); }
  .coupon-right::before, .coupon-right::after { top: -16.5px; bottom: auto; }
  .coupon-right::before { left: -14px; }
  .coupon-right::after { left: auto; right: -14px; }
  .price-top .head, .price-top .body { grid-column: 1 / -1; }
  .price-top .body { margin-top: 20px; }
  .extras-main { grid-column: 1 / -1; }
  .extras-pic { grid-column: 1 / span 8; margin-top: 56px; }
  .voice-title, .voice-side { grid-column: 1 / -1; }
  .f-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 720px) {
  :root { --hero-size: 13.4vw; --header-h: 58px; }
  .logo { height: 2.2rem; }
  .top-links { display: none; }
  .hero { --seam: 46svh; }
  .hero-title { font-weight: 300; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; bottom: calc(30svh + 40px); }
  .hero-lead { font-size: 1.125rem; max-width: 28ch; }
  .ticket { padding: 26px 22px 44px; }
  .t-final { margin: 18px -22px 0; padding: 0 22px; }
  .pair { grid-template-columns: 1fr; }
  .specimens { margin-top: 48px; display: block; }
  .spec + .spec { margin-top: 0; }
  .spec figcaption { padding: 0 0 18px; margin-top: 10px; }
  .spec-fig { font-size: 56vw; }
  .spec-b { background: var(--ink); color: var(--on-dark); margin: 32px calc(var(--m) * -1) calc(var(--section-y) * -1); padding: 28px var(--m) 40px; }
  .extras-pic { grid-column: 1 / -1; }
  .contact { padding: 72px 12px; }
  .coupon-left { padding: 32px 24px; gap: 20px; min-height: 0; }
  .coupon-right { padding: 32px 24px; }
  .field input { min-height: 54px; }
  .contact-direct { margin: 24px 12px 0; }
  .f-mark { font-size: 19vw; }
}

/* ---------- sector ticker, button arrow, sound wave, footer letters (static parts) ---------- */
.ticker { grid-column: 1 / -1; margin: 0 calc(var(--m) * -1) clamp(64px, 9vh, 120px); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1.2; letter-spacing: -0.01em; color: var(--on-dark); }
.ticker-track span { padding-right: 0.35em; }
.button-arrow { gap: 12px; }
.button-arrow .arrow { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .button-arrow:hover .arrow { transform: translateX(5px); } }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.wave i { display: block; width: 3px; height: 100%; background: currentColor; border-radius: 2px; transform: scaleY(0.22); }
.cap { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .cap { transition: transform var(--t-ui) var(--ease-out); }
  .caps li:hover .cap { transform: translateX(10px); }
}

/* ---------- motion layer ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* first screen: the teal field rises to the seam, the two lines slide up, then the sentence and the button */
  .hero { overflow: hidden; }
  .js .top { animation: drop 700ms var(--ease-out) both 120ms; }
  .js .hero-field-low { animation: field-rise 1150ms var(--ease-in-out) both 60ms; }
  .js .hero-title [data-line] { animation: line-up 1000ms var(--ease-out) both; animation-delay: calc(var(--i) * 130ms + 260ms); }
  .js [data-rise] { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 700ms); }

  /* sections: parts settle in reading order; nothing waits hidden except decoration */
  .js [data-reveal] { transform: translateY(26px); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in, .js.reveal-all [data-reveal] { transform: none; }
  .js .coupon[data-reveal] { transform: translateY(48px) rotate(-1.5deg); transition-duration: 1100ms; }
  .js .coupon[data-reveal].is-in, .js.reveal-all .coupon[data-reveal] { transform: none; }

  /* the sectors run past like a ticker; hover holds it still */
  .ticker-track { animation: ticker 42s linear infinite; }
  @media (hover: hover) and (pointer: fine) { .ticker:hover .ticker-track { animation-play-state: paused; } }

  /* the receipt prints line by line when it arrives and every time a sector is picked */
  .ticket.printing .t-head, .ticket.printing .t-rows li, .ticket.printing .t-note { animation: print-row 420ms var(--ease-out) both; }
  .ticket.printing .t-rows li:nth-child(1) { animation-delay: 150ms; }
  .ticket.printing .t-rows li:nth-child(2) { animation-delay: 300ms; }
  .ticket.printing .t-rows li:nth-child(3) { animation-delay: 450ms; }
  .ticket.printing .t-final { animation: print-bar 520ms var(--ease-out) both 640ms; }
  .ticket.printing .t-note { animation-delay: 820ms; }

  /* capabilities wipe in from the left, one after another */
  .js .caps .cap { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1000ms var(--ease-out), transform var(--t-ui) var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms + 120ms), 0ms; }
  .js .caps li.is-in .cap, .js.reveal-all .caps .cap { clip-path: inset(-10% -4% -10% 0); }

  /* pictures settle as they arrive, and zoom gently with the scroll where the browser can */
  .js .shutter img { transform: scale(1.12) translateY(3%); transition: transform 1400ms var(--ease-soft); }
  .js .shutter.is-in img, .js.reveal-all .shutter img { transform: none; }
  .pair-pic + .pair-pic.shutter img { transition-delay: 120ms; }
  @supports (animation-timeline: view()) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .pair-pic img { animation: zoom-out linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }

  /* Ludmila's voice: the wave moves only while she talks */
  .voice-player.is-playing .wave i { animation: wave 820ms ease-in-out infinite alternate; }
  .voice-player.is-playing .wave i:nth-child(2) { animation-duration: 640ms; animation-delay: -200ms; }
  .voice-player.is-playing .wave i:nth-child(3) { animation-duration: 920ms; animation-delay: -420ms; }
  .voice-player.is-playing .wave i:nth-child(4) { animation-duration: 560ms; animation-delay: -120ms; }
  .voice-player.is-playing .wave i:nth-child(5) { animation-duration: 760ms; animation-delay: -520ms; }
  .voice-player.is-playing .wave i:nth-child(6) { animation-duration: 680ms; animation-delay: -300ms; }
  .voice-player.is-playing .wave i:nth-child(7) { animation-duration: 880ms; animation-delay: -60ms; }

  /* the name in the footer lifts off letter by letter ("dale vuelo") */
  /* the logo takes off: in the header the line draws itself and the arrow arrives; in the footer the letters rise first */
  .js .top .lg-flight { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lg-draw 1000ms var(--ease-out) both 820ms; }
  .js .top .lg-arrow { transform-box: fill-box; transform-origin: 20% 80%; animation: lg-arrive 380ms var(--ease-out) both 1640ms; }
  .js .f-logo .ch { transform-box: fill-box; transform: translateY(115%); transition: transform 1000ms var(--ease-out); }
  .js .f-logo .ch:nth-child(2) { transition-delay: 55ms; }
  .js .f-logo .ch:nth-child(3) { transition-delay: 110ms; }
  .js .f-logo .ch:nth-child(4) { transition-delay: 165ms; }
  .js .f-logo .ch:nth-child(5) { transition-delay: 220ms; }
  .js .f-logo .ch:nth-child(6) { transition-delay: 275ms; }
  .js .f-logo .ch:nth-child(7) { transition-delay: 330ms; }
  .js .f-logo .ch:nth-child(8) { transition-delay: 385ms; }
  .js .f-logo .ch:nth-child(9) { transition-delay: 440ms; }
  .js .f-logo.is-in .ch, .js.reveal-all .f-logo .ch { transform: none; }
  .js .f-logo .lg-flight { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1300ms var(--ease-out) 650ms; }
  .js .f-logo.is-in .lg-flight, .js.reveal-all .f-logo .lg-flight { stroke-dashoffset: 0; }
  .js .f-logo .lg-arrow { opacity: 0; transform-box: fill-box; transform-origin: 20% 80%; transform: scale(0.4); transition: opacity 260ms ease-out 1850ms, transform 380ms var(--ease-out) 1850ms; }
  .js .f-logo.is-in .lg-arrow, .js.reveal-all .f-logo .lg-arrow { opacity: 1; transform: none; }
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes field-rise { from { transform: translateY(101%); } to { transform: none; } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes print-row { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes print-bar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes lg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lg-arrive { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(-7%); } to { transform: translateY(0); } }
@keyframes zoom-out { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes wave { from { transform: scaleY(0.22); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top { transition: none; }
}

/* ---------- privacy page ---------- */
.legal { max-width: 68ch; padding: calc(var(--header-h) + 72px) var(--m) 120px; margin: 0 auto; }
.legal h1 { font-family: var(--display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; margin: 0 0 32px; }
.legal h2 { font-weight: 500; font-size: var(--step-lead); margin: 40px 0 10px; }
.legal p + p, .legal ul { margin-top: 12px; }
.legal .draft { background: var(--surface); padding: 16px 20px; margin-bottom: 32px; }
.legal a { text-decoration: underline; }
