/* ringpod — the numbered ticket
   Paper over green. One face, General Sans. Square corners, no rules
   outside real UI (form fields, the ticket), no shadows at rest. */

/* General Sans by Indian Type Foundry, ITF Free Font License, self-hosted from assets/fonts */
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f6f3;
  --paper-2: #ebebe6;
  --white: #ffffff;
  --ink: #141414;
  --ink-soft: #4a4a46;
  --blue: #08663f;
  --blue-press: #064f31;
  --blue-deep: #b6dcc8;   /* the headline's ink once it is under the seam */
  --on-blue: #f2faf5;
  --on-blue-soft: #cfe8da;
  --night: #141414;
  --on-night: #f2f2ee;
  --on-night-soft: #b9b9b2;
  --field-line: #b9b9b1;

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.4375rem);
  --step-head: clamp(1.375rem, 1rem + 1.2vw, 1.9375rem);
  --step-display: clamp(40px, 6vw, 100px);

  --m: clamp(16px, 3.2vw, 48px);           /* page margin */
  --gap: clamp(16px, 2vw, 32px);           /* grid gutter */
  --section: clamp(72px, 7.5vw, 120px);    /* space between sections */
  --bar-h: 64px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p,
dl,
dd,
ul,
figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button,
input,
textarea,
select { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--on-blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[data-chapter="blue"] :focus-visible { outline-color: var(--on-blue); }
html { scrollbar-color: var(--ink-soft) var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--m); top: 8px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--blue); color: var(--on-blue);
  font-weight: 600; font-size: var(--step-body); line-height: 1;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue-press); }
  
}

.btn--blue { background: var(--blue); color: var(--on-blue); }
.btn[disabled],
.btn[aria-busy="true"] { cursor: progress; opacity: 0.7; }

.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-underline-offset 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { text-underline-offset: 0.45em; } }

/* ---------- the bar: wordmark, links, one action; takes each chapter's ink ---------- */

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 0 var(--m);
  background: var(--bar-bg, var(--paper)); color: var(--bar-ink, var(--ink));
  transition: background-color 300ms ease, color 300ms ease;
}
.bar[data-ink="blue"] { --bar-bg: var(--blue);  --bar-ink: var(--on-blue); }
.bar[data-ink="ink"] { --bar-bg: var(--night); --bar-ink: var(--on-night); }
.bar[data-ink="paper2"] { --bar-bg: var(--paper-2); }
.bar__mark { font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.04em; text-decoration: none; margin-right: auto; }
.bar__nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.bar__nav a,
.bar__lang { position: relative; text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 0; }
.bar__nav a::after,
.bar__lang::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover::after,
.bar__lang:hover::after { transform: scaleX(1); } }
.btn--bar { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.bar[data-ink="blue"] .btn--bar { background: var(--paper); color: var(--blue); }
.bar__menu {
  display: none; min-height: 42px; padding: 0 4px;
  background: none; border: 0; font-weight: 600; font-size: 1rem; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.sheet {
  position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 49;
  background: var(--paper); padding: 16px var(--m) 32px;
  transform-origin: top; animation: sheet-in 220ms var(--ease-out);
}
.sheet[hidden] { display: none; }
.sheet nav { display: grid; }
.sheet a { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; padding: 10px 0; text-decoration: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 900px) {
  .bar__nav,
.bar__lang { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .btn--bar { padding: 0 14px; }
}
@media (max-width: 400px) { .btn--bar { font-size: 0.875rem; padding: 0 12px; } }

/* ---------- hero: two fields, the headline crosses the seam ---------- */

.hero {
  --seam: 54svh;
  --F: clamp(44px, 8.4vw, 132px);
  position: relative;
  min-height: max(100svh, 640px);
  background: var(--blue);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--seam); background: var(--paper); }
/* the real h1 is whole and on top for reading and selection; the submerged copy only repaints the part under the seam */

/* the stamped date, set inside the sentence */
/* a torn ticket fragment (perforated left edge) carrying a rubber-stamp impression */
.stub {
  display: inline-flex; align-items: center;
  height: 0.84em; padding: 0 0.16em 0 0.2em;
  vertical-align: -0.06em;
  margin-left: 0.02em;
  background: var(--white); color: var(--blue);
  transform: rotate(-4deg);
  letter-spacing: -0.01em;
  /* perforation: small half-circles bitten out of the torn edge */
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 0.035em, #000 0.04em) 0 0 / 100% 0.12em; /* taste-skill-ignore */
          mask: radial-gradient(circle at 0 50%, transparent 0.035em, #000 0.04em) 0 0 / 100% 0.12em; /* taste-skill-ignore */
}

/* the lower copy sits in flow under the headline, so short screens grow the hero instead of overlapping */
.hero { padding: calc(var(--seam) + 0.52 * var(--F) + clamp(28px, 4svh, 48px)) var(--m) clamp(40px, 7svh, 80px); }

/* the slot the slip feeds out of */

@media (max-width: 760px) {
  .hero { --seam: max(26svh, 200px); --F: 11.4vw; min-height: 0; padding-bottom: 0; }
  
  /* on a phone the slip prints from its own slot under the actions */
  
  
}
@media (max-height: 700px) and (min-width: 761px) { .hero { --F: clamp(44px, 6.5vw, 110px); } }

/* ---------- chapters ---------- */

[data-chapter="paper"] { background: var(--paper);   color: var(--ink); }
[data-chapter="paper2"] { background: var(--paper-2); color: var(--ink); }
[data-chapter="blue"] { background: var(--blue);    color: var(--on-blue); }
[data-chapter="ink"] { background: var(--night);   color: var(--on-night); }
.hero[data-chapter="paper"] { background: var(--blue); }

.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); padding: 0 var(--m);
}

/* ---------- how we work: one verb per chapter ---------- */

.step {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  min-height: 64svh; padding: clamp(64px, 6vw, 96px) var(--m);
  align-items: center;
}

/* real UI fragments: they keep the product's own lines */

.mail { background: var(--white); color: var(--ink); padding: 24px; max-width: 440px; }

.channels { display: grid; gap: 8px; max-width: 420px; }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--blue-press); color: var(--on-blue); font-weight: 500; font-variant-numeric: tabular-nums; }
.channels li span { font-weight: 600; }

.shot img { width: 100%; }

@media (max-width: 900px) {
  .step { min-height: 0; padding-block: 64px; row-gap: 24px; }
  
}

/* ---------- services: one paragraph with live fragments ---------- */

.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 72px; padding: var(--section) var(--m); align-items: start; }

/* live fragments: real interface chips, readable, set inside the sentence */

@keyframes pulse { 50% { opacity: 0.35; } }

/* the price list, set like a ticket: name, dotted leader, price */
.pricelist { grid-column: 8 / 13; display: grid; gap: 28px; background: var(--white); padding: clamp(24px, 2.6vw, 40px); }
.pricelist dt { display: flex; align-items: baseline; gap: 10px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.pricelist dt i { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--field-line); transform: translateY(-0.25em); }
.pricelist__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricelist dd { margin-top: 6px; font-size: 1rem; color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 1000px) {
  .pricelist { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .pricelist dt { flex-wrap: wrap; } .pricelist dt i { display: none; } .pricelist__price { width: 100%; font-size: var(--step-body); color: var(--blue); } }

/* ---------- pricing: the offer as a sentence ---------- */

/* ---------- the offer ticket ---------- */

.offer { padding: var(--section) var(--m); }
.offer__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.offer__head h2 { font-size: var(--step-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; }
.offer__head p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.offer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.form { grid-column: 1 / 8; display: grid; gap: 12px; }
.ticket-wrap { grid-column: 9 / 13; position: sticky; top: calc(var(--bar-h) + 24px); }
@media (max-width: 1000px) {
  .form,
.ticket-wrap { grid-column: 1 / -1; }
  .ticket-wrap { position: static; margin-top: 56px; max-width: 460px; }
}

/* the form is three sheets of ticket stock; every question is a row with
   its label in one fixed column, so all controls share one left edge */

.row { --lw: 30%; display: flow-root; border: 0; margin: 0; padding: 14px 0; min-width: 0; }
.row[hidden] { display: none; }
.row__label {
  float: left; width: var(--lw); padding: 11px 16px 0 0;
  font-weight: 600; font-size: 1rem; line-height: 1.35;
}
.row__control { margin-left: var(--lw); display: grid; gap: 8px; min-width: 0; }
.req { color: var(--blue); }
.opt { display: block; font-weight: 400; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 640px) {
  .row__label { float: none; width: auto; padding: 0 0 10px; }
  .opt { display: inline; }
  .row__control { margin-left: 0; }
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--paper); color: var(--ink);
  border: 2px solid transparent;
  font-weight: 500; font-size: 0.9375rem;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.chip:active span { transform: scale(0.97); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked) + span { border-color: var(--ink); } }

.row input[type="text"],
.row input[type="email"],
.row input[type="tel"],
.row textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  background: var(--paper); border: 2px solid transparent; border-radius: 0;
  font-size: max(16px, 1rem);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.row textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.row input:hover,
.row textarea:hover { border-color: var(--field-line); }
.row input:focus,
.row textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
::placeholder { color: #6b6b65; opacity: 1; }
.field__hint { font-size: var(--step-small); color: var(--ink-soft); }
.field__error { font-size: var(--step-small); font-weight: 600; color: #b3261e; }
.field__error:empty { display: none; }
.is-invalid input,
.is-invalid textarea,
.is-invalid .chip span { border-color: #b3261e; }
.is-invalid .row__label { color: #b3261e; }

.check { display: flex; gap: 14px; align-items: start; cursor: pointer; font-size: 0.9375rem; line-height: 1.45; }
.check input { appearance: none; flex: none; width: 26px; height: 26px; margin: 0; background: var(--white); border: 2px solid var(--field-line); cursor: pointer; display: grid; place-content: center; transition: background-color 160ms ease, border-color 160ms ease; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.field.is-invalid .check input { border-color: #b3261e; }
.check input:checked::after { content: ""; width: 12px; height: 7px; border: solid var(--paper); border-width: 0 0 2.5px 2.5px; transform: translate(0, -2px) rotate(-45deg); }
.check a { font-weight: 600; }

.form__alert { padding: 16px 20px; background: #f9e4e2; color: #8a1c15; font-weight: 500; }
.form__alert[hidden] { display: none; }
.btn--submit { min-height: 56px; padding: 0 32px; font-size: 1.125rem; }
@media (max-width: 640px) { .btn--submit { width: 100%; } }
.hp { position: absolute; left: -9999px; width: 2px; height: 2px; overflow: hidden; }
.turnstile:not(:empty) { margin: 12px 0; }

/* the ticket itself: white stock, a tear with notches, a stamp that lands */
.ticket {
  position: relative; background: var(--white); color: var(--ink);
  padding: 28px 28px 24px; font-variant-numeric: tabular-nums;
}
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px dotted var(--field-line); font-weight: 600; }
.ticket__brand { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.04em; }
.ticket__rows,
.ticket__total { display: grid; gap: 10px; }
.ticket dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.ticket dt { color: var(--ink-soft); font-size: 1rem; flex: none; }
.ticket dd { font-weight: 600; text-align: right; font-size: 1rem; }
.ticket dd.is-fresh { animation: ink-in 420ms var(--ease-out); }
@keyframes ink-in { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } }
.ticket__tear { height: 2px; margin: 22px -28px; border-top: 2px dashed var(--field-line); }
/* notches cut out of the stock itself at the tear line (site.js sets --tear-y) */
.ticket {
  --n: 14px;
  -webkit-mask: radial-gradient(circle var(--n) at 0 var(--tear-y, 70%), transparent 98%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% var(--tear-y, 70%), transparent 98%, #000 100%) right / 51% 100% no-repeat; /* taste-skill-ignore */
          mask: radial-gradient(circle var(--n) at 0 var(--tear-y, 70%), transparent 98%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% var(--tear-y, 70%), transparent 98%, #000 100%) right / 51% 100% no-repeat; /* taste-skill-ignore */
}
.ticket__total dd { font-size: var(--step-lead); }
.ticket__reply dd { color: var(--blue); }
.ticket__by { margin-top: 20px; font-weight: 600; }
.ticket__note { margin-top: 6px; font-size: var(--step-small); color: var(--ink-soft); }
.ticket__stamp {
  position: absolute; right: 18px; top: 42%;
  display: grid; justify-items: center; padding: 8px 16px;
  border: 4px solid var(--blue); color: var(--blue);
  font-weight: 700; line-height: 1.05; text-align: center;
  opacity: 0; transform: rotate(-12deg) scale(1.6); pointer-events: none;
  mix-blend-mode: multiply;
}
.ticket__stamp span:first-child { font-size: var(--step-lead); letter-spacing: -0.02em; }
.ticket__stamp span:last-child { font-size: 1rem; }
.ticket.is-stamped .ticket__stamp { animation: stamp 420ms var(--ease-out) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.6); }
  55% { opacity: 0.95; transform: rotate(-12deg) scale(0.96); }
  100% { opacity: 0.9; transform: rotate(-12deg) scale(1); }
}

.done { grid-column: 1 / 9; display: grid; gap: 20px; justify-items: start; }
.done h3 { font-size: var(--step-display); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.done p { font-size: var(--step-lead); line-height: 1.4; max-width: 44ch; }
@media (max-width: 1000px) { .done { grid-column: 1 / -1; } }

/* ---------- work: the names as one paragraph ---------- */

.work { padding: var(--section) var(--m); }

/* ---------- about: monogram as drop cap ---------- */

.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--m); }

/* ---------- faq: heading on the left, one stack of questions on the right ---------- */

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding: var(--section) var(--m); align-items: start; }
.faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--bar-h) + 32px); display: grid; gap: 20px; justify-items: start; }
.faq__head h2 { font-size: var(--step-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; }
.faq__head p { max-width: 32ch; color: var(--ink-soft); }
.faq__list { grid-column: 6 / 13; display: grid; gap: 8px; }

.faq__item { background: var(--white); interpolate-size: allow-keywords; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 2.4vw, 32px); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.faq__item p { padding: 0 clamp(20px, 2.4vw, 32px) 24px; max-width: 60ch; color: var(--ink-soft); line-height: 1.6; }
.faq__item summary:focus-visible { outline-offset: -3px; }

/* a plus that turns into a minus */
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; background: var(--paper); transition: background-color 200ms ease; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); transition: transform 240ms var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--paper); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq__item:not([open]) summary:hover .faq__icon { background: var(--paper-2); } }

/* smooth open where the browser supports animating details content */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq__item::details-content { transition: none; } }

@media (max-width: 900px) {
  .faq__head { grid-column: 1 / -1; position: static; }
  .faq__list { grid-column: 1 / -1; }
}

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; padding: var(--section) var(--m) clamp(96px, 9vw, 140px); }
.contact__sentence { grid-column: 1 / 6; font-size: var(--step-head); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.person { grid-column: span 3; }
.person:nth-of-type(1) { grid-column: 7 / 10; }
.person:nth-of-type(2) { grid-column: 10 / 13; }
.person__name { font-weight: 600; font-size: var(--step-lead); margin-bottom: 14px; }
.person ul { display: grid; gap: 6px; }
.person a { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }
.contact__line { grid-column: 1 / -1; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) {
  .contact__sentence { grid-column: 1 / -1; }
  .person:nth-of-type(1) { grid-column: 1 / 7; }
  .person:nth-of-type(2) { grid-column: 7 / 13; }
}
@media (max-width: 560px) { .person:nth-of-type(1),
.person:nth-of-type(2) { grid-column: 1 / -1; } }

/* ---------- footer: invitation over the cropped name ---------- */

.foot { position: relative; overflow: hidden; padding: clamp(72px, 7.5vw, 120px) var(--m) 0; display: flex; flex-direction: column; }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.foot__invite { grid-column: 1 / 8; display: grid; gap: 32px; justify-items: start; }
.foot__title { font-size: var(--step-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; }
.foot__title span { display: block; }
.foot__links { grid-column: 10 / 13; display: grid; gap: 8px; align-content: start; font-size: 1rem; }
.foot__links a { text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { text-decoration: underline; } }
.foot__legal { margin-top: auto; padding-top: 64px; display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; font-size: var(--step-small); color: var(--on-night-soft); position: relative; z-index: 1; }
.foot__legal a { color: var(--on-night); }
.foot__mark {
  font-size: clamp(120px, 29vw, 520px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.8;
  white-space: nowrap; margin: 16px 0 0 -0.04em;
  transform: translateY(18%); color: var(--blue);
  user-select: none;
}
@media (max-width: 760px) {
  .foot__invite,
.foot__links { grid-column: 1 / -1; }
  .foot__title { font-size: 11vw; }
  .foot__invite .btn { width: 100%; }
  .foot__mark { font-size: 36vw; }
}

/* ---------- privacy page ---------- */

.legal { max-width: 68ch; padding: calc(var(--bar-h) + 96px) var(--m) 120px; }
.legal h1 { font-size: var(--step-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; margin-bottom: 40px; }
.legal h2 { font-size: var(--step-lead); font-weight: 600; margin: 40px 0 10px; }
.legal p { line-height: 1.6; }

/* ---------- entrances: content is visible without script ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.js .hero .stub { animation: stub-in 520ms 620ms var(--ease-out) both; }
@keyframes stub-in { 0% { opacity: 0; transform: rotate(-4deg) scale(1.35); } 60% { opacity: 1; transform: rotate(-4deg) scale(0.97); } 100% { transform: rotate(-4deg) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .js .hero .stub { animation-name: fade-only; }
  .ticket.is-stamped .ticket__stamp { animation: none; opacity: 0.9; transform: rotate(-12deg); }
  
  @keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
}
