/* Revontuli Lounge · finland.css
   Direction: The split stage. Imbue / Albert Sans. Warm black and gold.
   Half the screen never moves: a lit room held on the left, the evening read on the right. */

:root {
  --bg: #0c0a08;
  --surface: #181512;
  --field: #26211c;
  --field-hi: #e3e1dd;
  --ink: #ffffff;
  --muted: #8f8a84;
  --accent: #c9a45a;
  --accent-hi: #dcbc78;
  --accent-ink: #0c0a08;
  --paper: #e3e1dd;
  --paper-ink: #14110d;
  --paper-muted: #5c544a;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(120px, 21vw, 340px);

  --display: 'Imbue', 'Times New Roman', serif;
  --text: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;

  --m: clamp(16px, 2.2vw, 32px);
  --pad: clamp(24px, 5vw, 80px);
  --gap-section: clamp(120px, 12vw, 176px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 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;
  --t-open: 1200ms;
  --stagger-item: 70ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: var(--m); }

/* ---------- Type roles ---------- */
.display, .h2, .wordmark {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.h2 { font-size: var(--step-head); margin-bottom: 0.6em; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.made { font-size: var(--step-small); color: var(--muted); margin: 56px 0 0; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.22em; text-decoration-color: var(--muted); transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link--gold { color: var(--accent); text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link--gold:hover { color: var(--accent-hi); }
}

/* ---------- Buttons: one shape, square ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 var(--text);
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--quiet { background: var(--field); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-hi); }
  .button--quiet:hover { background: #3a332b; }
}

/* ---------- Navigation ---------- */
.nav {
  position: absolute; z-index: 20;
  top: var(--m); right: var(--m);
  display: flex; gap: clamp(16px, 2vw, 28px); align-items: center;
  font-size: var(--step-small); font-weight: 500;
}
.nav a { text-decoration: none; color: var(--ink); padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.nav .nav__action { color: var(--accent); }
.nav__menu { display: none; }
.menu-sheet {
  position: fixed; inset: 0; z-index: 40;
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: center;
  padding: 88px var(--m) var(--m);
  visibility: hidden; opacity: 0;
  transition: opacity var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
}
.menu-sheet.is-open { visibility: visible; opacity: 1; transition: opacity var(--t-ui) var(--ease-out); }
.menu-sheet a { font-family: var(--display); text-transform: uppercase; font-size: var(--step-head); line-height: 1.05; text-decoration: none; color: var(--ink); }
.menu-sheet a.is-action { color: var(--accent); }
.menu-sheet__close { position: absolute; top: var(--m); right: var(--m); }
.burger { background: none; border: 0; color: var(--ink); font: 500 var(--step-small)/1 var(--text); padding: 12px 0; cursor: pointer; }

/* ---------- The split stage ---------- */
.split { position: relative; display: grid; grid-template-columns: 47% 53%; }
.stage { position: sticky; top: 0; height: 100svh; padding: var(--m) 0 var(--m) var(--m); z-index: 1; }
.stage__frame { position: relative; height: 100%; overflow: clip; background: var(--surface); margin: 0; }
.stage__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1100ms var(--ease-soft);
}
.stage__frame img.is-on { opacity: 1; }
.stage__caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  margin: 0; padding: 10px 14px; background: var(--bg); color: var(--ink);
  font-size: var(--step-small);
}
.column { position: relative; z-index: 2; min-width: 0; padding: 0 var(--m) 0 var(--pad); }
.measure { max-width: 36rem; }

/* ---------- Hero: inset photograph, crossing wordmark ---------- */
.hero { position: relative; min-height: 100svh; }
.hero__say {
  position: absolute; top: 40%; left: 0; right: 0; transform: translateY(-50%);
  max-width: 27ch;
}
.hero__say .lead { margin-bottom: 20px; }
.hero__live { font-size: var(--step-small); color: var(--ink); margin-bottom: 28px; max-width: 40ch; }
.hero__live b { font-weight: 500; color: var(--accent); }
.hero__made { position: absolute; right: 0; bottom: 12px; margin: 0; }
.hero__say .hero__made { position: static; margin-top: 20px; }
.wordmark {
  position: absolute; right: 0; bottom: 48px; z-index: 3;
  margin: 0; white-space: nowrap;
  font-size: var(--step-display);
  letter-spacing: -0.02em; line-height: 0.8;
  transform-origin: right bottom;
}
.wordmark .ch { display: inline-block; }

/* ---------- Sections in the reading column ---------- */
.col-section { padding: calc(var(--gap-section) / 2) 0; }
.col-section:first-of-type { padding-top: var(--gap-section); }

/* founder's letter */
.letter { max-width: 32.5rem; }
.letter__portrait { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; }
.letter p { font-size: var(--step-body); }
.letter mark { background: var(--accent); color: var(--accent-ink); padding: 0 0.2em; }
.signoff { margin-top: 32px; }
.signoff__name { font-size: var(--step-lead); font-style: italic; margin: 0; }
.signoff__role { font-size: var(--step-small); color: var(--muted); margin: 0; }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 88px; max-width: 36rem; }
.figure__n { font-family: var(--display); font-size: var(--step-head); line-height: 0.9; font-variant-numeric: tabular-nums; display: block; }
.figure__l { font-size: var(--step-small); color: var(--muted); display: block; margin-top: 10px; }

/* menu sheet (features) */
.sheet {
  background: var(--paper); color: var(--paper-ink);
  clip-path: polygon(0.000% 9px, 3.333% 0px, 6.667% 9px, 10.000% 0px, 13.333% 9px, 16.667% 0px, 20.000% 9px, 23.333% 0px, 26.667% 9px, 30.000% 0px, 33.333% 9px, 36.667% 0px, 40.000% 9px, 43.333% 0px, 46.667% 9px, 50.000% 0px, 53.333% 9px, 56.667% 0px, 60.000% 9px, 63.333% 0px, 66.667% 9px, 70.000% 0px, 73.333% 9px, 76.667% 0px, 80.000% 9px, 83.333% 0px, 86.667% 9px, 90.000% 0px, 93.333% 9px, 96.667% 0px, 100.000% 9px, 100.000% calc(100% - 9px), 96.667% calc(100% - 0px), 93.333% calc(100% - 9px), 90.000% calc(100% - 0px), 86.667% calc(100% - 9px), 83.333% calc(100% - 0px), 80.000% calc(100% - 9px), 76.667% calc(100% - 0px), 73.333% calc(100% - 9px), 70.000% calc(100% - 0px), 66.667% calc(100% - 9px), 63.333% calc(100% - 0px), 60.000% calc(100% - 9px), 56.667% calc(100% - 0px), 53.333% calc(100% - 9px), 50.000% calc(100% - 0px), 46.667% calc(100% - 9px), 43.333% calc(100% - 0px), 40.000% calc(100% - 9px), 36.667% calc(100% - 0px), 33.333% calc(100% - 9px), 30.000% calc(100% - 0px), 26.667% calc(100% - 9px), 23.333% calc(100% - 0px), 20.000% calc(100% - 9px), 16.667% calc(100% - 0px), 13.333% calc(100% - 9px), 10.000% calc(100% - 0px), 6.667% calc(100% - 9px), 3.333% calc(100% - 0px), 0.000% calc(100% - 9px));
}
.sheet .muted, .sheet .made { color: var(--paper-muted); }
.menu { max-width: 36rem; padding: 64px clamp(20px, 3.4vw, 48px) 56px; }
.menu .h2 { text-align: center; margin-bottom: 40px; }
.menu table { width: 100%; border-collapse: collapse; margin-bottom: 44px; }
.menu caption { text-align: left; font-weight: 500; font-size: var(--step-lead); padding-bottom: 18px; }
.menu td { vertical-align: bottom; padding: 0; }
.menu td.name { font-size: var(--step-body); font-weight: 500; white-space: nowrap; padding-right: 8px; }
.menu td.dots { width: 100%; border-bottom: 4px dotted var(--paper-muted); transform: translateY(-6px); }
.menu td.value { white-space: nowrap; padding-left: 8px; font-size: var(--step-body); }
.menu td.desc { font-size: var(--step-small); color: var(--paper-muted); padding: 4px 0 18px; max-width: 34ch; }
.menu .made { text-align: center; margin-top: 0; }

/* methodology on a panel */
.panel { background: var(--surface); margin-right: calc(var(--m) * -1); margin-left: calc(var(--pad) * -1); padding: var(--gap-section) var(--m) var(--gap-section) var(--pad); }
.panel h3 { font-size: var(--step-lead); font-weight: 500; margin: 0 0 20px; }
.panel .contact-line { margin-top: 32px; }

/* timeline */
.timeline { list-style: none; margin: 56px 0 0; padding: 0; max-width: 36rem; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 24px; margin-bottom: 56px; }
.timeline .year { font-family: var(--display); font-size: var(--step-head); line-height: 0.85; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: var(--step-lead); font-weight: 500; margin: 0 0 8px; line-height: 1.25; }
.timeline p { margin: 0; }
.timeline figure { grid-column: 2; margin: 20px 0 0; overflow: clip; max-width: 24rem; }
.timeline figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* resources */
.resources { list-style: none; padding: 0; margin: 32px 0 0; max-width: 36rem; }
.resources li { padding: 18px 0; }
.resources a { font-size: var(--step-lead); font-weight: 500; }
.resources p { margin: 4px 0 0; color: var(--muted); font-size: var(--step-small); }

.contact-line { font-size: var(--step-small); color: var(--muted); }
.contact-line a { color: var(--ink); }

/* ---------- Showcase: square plate, spare text ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.showcase__plate { display: flex; align-items: center; justify-content: center; padding: var(--m); }
.showcase__plate figure { margin: 0; width: min(100%, calc(88svh - var(--m) * 2)); aspect-ratio: 1; position: relative; overflow: clip; }
.showcase__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease-soft), transform 1400ms var(--ease-soft); transform: scale(1.04); }
.showcase__plate img.is-on { opacity: 1; transform: none; }
.showcase__text { display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--m) * 2) var(--m) var(--m) var(--pad); gap: 48px; }
.tabs { display: flex; gap: 28px; flex-wrap: wrap; }
.tab { background: none; border: 0; padding: 8px 0; font: 500 var(--step-body)/1.2 var(--text); color: var(--muted); cursor: pointer; transition: color var(--t-hover) ease; }
.tab[aria-selected="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }
.showcase__body { max-width: 34ch; }
.showcase__body .h2 { margin-bottom: 48px; }
.showcase__body .h2, .showcase__body p { transition: opacity 260ms ease; }
.showcase__body.is-swapping .h2, .showcase__body.is-swapping p { opacity: 0; }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; justify-content: center; min-height: 72px; text-decoration: none; font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cell:active { transform: scale(0.98); }
.cell--ink { background: var(--ink); color: var(--bg); }
.cell--tone { background: var(--field); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cell--ink:hover { background: var(--paper); } .cell--tone:hover { background: #3a332b; } }
.showcase .made { margin-top: 20px; }

/* ---------- Testimonial: one long letter ---------- */
.letters { padding: 140px var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.letters__photo { grid-column: 1 / 4; }
.letters__photo img { width: 120px; height: 120px; object-fit: cover; }
.letters__main { grid-column: 4 / 8; max-width: 38ch; }
.letters__main .h2 { margin-bottom: 56px; }
.letters__open { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; margin-bottom: 20px; }
.letters__main p { margin-bottom: 20px; }
.letters__sign { margin-top: 40px; }
.letters__sign p { margin: 0; }
.letters__more { grid-column: 9 / 13; padding-top: 8px; }
.note { break-inside: avoid; margin: 0 0 56px; display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; }
.note img { width: 64px; height: 64px; object-fit: cover; }
.note blockquote { margin: 0; }
.note blockquote p { margin: 0 0 10px; }
.note cite { font-style: normal; font-size: var(--step-small); color: var(--muted); }
.letters .made { grid-column: 4 / 13; margin-top: 0; }

/* ---------- List: the printed programme sheet ---------- */
.programme { position: relative; padding: 120px var(--m); min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: center; overflow: clip; }
.programme__sky { position: absolute; inset: 0; margin: 0; }
.programme__sky video, .programme__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; filter: brightness(1.6) contrast(1.1) saturate(1.25); }
.programme__sky figcaption { position: absolute; left: var(--m); bottom: var(--m); max-width: 36ch; font-size: var(--step-small); background: var(--bg); padding: 10px 14px; }
.programme__sheet { position: relative; grid-column: 7 / 13; max-width: 640px; width: 100%; justify-self: end; padding: 72px 64px; text-align: center; }
.programme__sheet .h2 { margin-bottom: 14px; }
.programme__note { font-size: var(--step-small); color: var(--paper-muted); margin-bottom: 8px; }
.group { margin-top: 56px; }
.group h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 16px; }
.group h3 mark { background: var(--accent); color: var(--accent-ink); padding: 0 0.3em; margin-left: 0.3em; font-size: var(--step-small); vertical-align: middle; }
.group ul { list-style: none; margin: 0 auto; padding: 0; max-width: 420px; text-align: left; }
.group li { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; margin-bottom: 16px; }
.group li span { font-weight: 500; }
.group li time { font-variant-numeric: tabular-nums; }
.group li small { grid-column: 1 / -1; font-size: var(--step-small); color: var(--paper-muted); }
.programme__hours { margin-top: 48px; }
.programme__hours p { margin: 0; }
.nw { white-space: nowrap; }

/* ---------- Contact: photo strip, three-cell bar ---------- */
.contact { background: var(--surface); padding: 48px 0 120px; min-height: 80svh; overflow: clip; }
.strip { display: flex; gap: 8px; width: max-content; }
.strip img { height: 150px; width: auto; object-fit: cover; }
.strip img:nth-child(3n + 1) { aspect-ratio: 3 / 4; width: 113px; }
.strip img:nth-child(3n + 2) { aspect-ratio: 1; width: 150px; }
.strip img:nth-child(3n) { aspect-ratio: 3 / 2; width: 225px; }
.contact__body { padding: 72px var(--m) 0; }
.contact__body .h2 { margin-bottom: 40px; }
.bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bar input, .bar button {
  height: 96px; width: 100%; border: 0; border-radius: 0;
  font: 400 var(--step-body)/1.2 var(--text); text-align: center;
  background: var(--field); color: var(--ink);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.bar input::placeholder { color: #a39d96; }
.bar input:focus { background: var(--field-hi); color: var(--paper-ink); outline: none; }
.bar input:focus::placeholder { color: var(--paper-muted); }
.bar button { background: var(--accent); color: var(--accent-ink); font-weight: 500; cursor: pointer; }
.bar button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .bar button:hover { background: var(--accent-hi); } }
.bar__print { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.bar__print p { margin: 0; }
.bar__print p:last-child { grid-column: 3; }
.form-error { color: var(--accent); font-size: var(--step-small); min-height: 1.5em; margin: 10px 0 0; }
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 88px; }
.details h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 8px; }
.details p { margin: 0; color: var(--ink); font-size: var(--step-small); }
.details a { color: var(--ink); }
.contact .made { padding: 0 var(--m); }

/* ---------- Photo band on inner pages ---------- */
.band { background: var(--surface); padding: 120px 0 64px; overflow: clip; }
.band__h { padding: 0 var(--m); margin-bottom: 40px; }
.band .made { padding: 0 var(--m); }

/* ---------- Footer: photograph half, menu half ---------- */
.footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--bg); }
.footer__photo { margin: 0; overflow: clip; position: relative; }
.footer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; transform: scale(1.35); transform-origin: 60% 80%; }
.footer__side { display: flex; flex-direction: column; padding: 80px var(--m) var(--m) var(--pad); }
.footer__mark { font-family: var(--display); text-transform: uppercase; font-size: var(--step-lead); margin: 0 0 40px; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.footer__menu a { font-family: var(--display); text-transform: uppercase; font-size: var(--step-head); line-height: 0.9; text-decoration: none; display: inline-block; transition: transform var(--t-ui) var(--ease-out), color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__menu:hover a { color: var(--muted); }
  .footer__menu a:hover { color: var(--ink); transform: translateX(12px); }
}
.footer__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; font-size: var(--step-small); }
.footer__blocks h3 { font-size: var(--step-small); font-weight: 500; margin-bottom: 6px; }
.footer__blocks p { margin: 0 0 4px; }
.footer__blocks a { color: var(--ink); }
.footer__legal { margin-top: auto; padding-top: 56px; font-size: var(--step-small); color: var(--muted); }
.footer__legal p { margin: 0 0 6px; }
.footer__legal a { color: var(--ink); }

/* ---------- Cookie bar (flat, no glass, no shadow) ---------- */
.cookie {
  position: absolute; top: calc(var(--m) + 16px); left: calc(var(--m) + 16px); width: calc(47vw - var(--m) - 32px); z-index: 30;
  display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--paper); color: var(--paper-ink); padding: 16px 20px;
  font-size: var(--step-small);
}
.cookie p { margin: 0; }
.cookie a { color: var(--paper-ink); }
.cookie__actions { display: flex; gap: 8px; }
.cookie .button { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.cookie .button--quiet { background: #d4cdc2; color: var(--paper-ink); }

/* ---------- Inner pages ---------- */
.prose { max-width: 36rem; }
.prose h2:not(.h2) { font-family: var(--text); text-transform: none; font-size: var(--step-lead); font-weight: 500; line-height: 1.25; margin: 48px 0 14px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.values { max-width: 36rem; }
.values > div { margin-bottom: 40px; }
.values h3, .team h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 8px; line-height: 1.25; }
.team { list-style: none; margin: 40px 0 0; padding: 0; max-width: 36rem; }
.team li { display: grid; grid-template-columns: 9rem 1fr; gap: 0 24px; margin-bottom: 56px; align-items: start; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team .role { color: var(--muted); font-size: var(--step-small); margin-bottom: 10px; }
.proud { max-width: 36rem; padding: 64px clamp(20px, 3.4vw, 48px) 56px; }
.proud dl { margin: 32px 0 0; }
.proud dt { font-weight: 500; font-size: var(--step-lead); line-height: 1.25; }
.proud dd { margin: 6px 0 28px; color: var(--paper-muted); }
.gallery { padding: var(--gap-section) var(--m) 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gallery .h2 { grid-column: 1 / 7; }
.gallery__intro { grid-column: 7 / 13; align-self: end; max-width: 40ch; }
.gallery figure { margin: 0; overflow: clip; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }
.g1 { grid-column: 1 / 7; grid-row: span 2; }
.g1 img { aspect-ratio: 1; }
.g2, .g3 { grid-column: span 3; }
.g2 img, .g3 img, .g4 img, .g5 img { aspect-ratio: 4 / 5; }
.g4, .g5 { grid-column: span 3; }
.g6 { grid-column: 1 / 13; }
.g6 img { aspect-ratio: 21 / 8; }
.gallery .made { grid-column: 1 / 13; margin-top: 16px; }
.trio { padding: var(--gap-section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; background: var(--surface); }
.trio .h2 { grid-column: 1 / 13; margin-bottom: 40px; }
.trio .note { grid-column: span 4; grid-template-columns: 96px 1fr; }
.trio .note img { width: 96px; height: 96px; }
.trio .contact-line, .trio .made { grid-column: 1 / 13; margin: 0; }
.cta { padding: var(--gap-section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.cta .h2 { grid-column: 1 / 8; margin: 0; }
.cta__text { grid-column: 8 / 13; }
.cta__buttons { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.cta .made { grid-column: 1 / 13; }
.info { width: 100%; max-width: 36rem; border-collapse: collapse; margin-top: 24px; }
.info th { text-align: left; font-weight: 500; vertical-align: top; padding: 16px 24px 16px 0; white-space: nowrap; font-size: var(--step-body); }
.info td { padding: 16px 0; vertical-align: top; }
.info tr + tr th, .info tr + tr td { border-top: 2px solid var(--field); }
.info a { color: var(--ink); }
.form { max-width: 36rem; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: var(--step-small); font-weight: 500; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--field); color: var(--ink);
  font: 400 var(--step-body)/1.4 var(--text); padding: 16px; min-height: 56px;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.form select { appearance: none; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { background: var(--field-hi); color: var(--paper-ink); outline: none; }
.form [aria-invalid="true"] { outline: 2px solid var(--accent); outline-offset: 0; }
.form .button { justify-self: start; }
.map { margin-top: 32px; max-width: 36rem; aspect-ratio: 4 / 3; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.ways > div { margin-bottom: 32px; max-width: 36rem; }
.ways h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 8px; line-height: 1.25; }
.done { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 80px; }

/* ---------- Phone and tablet: its own composition ---------- */
@media (max-width: 1100px) {
  .nav a:not(.nav__action) { display: none; }
  .nav__menu { display: inline-block; }
  .nav { gap: 20px; }
  .programme__sheet { grid-column: 5 / 13; padding: 56px 40px; }
  .letters__main { grid-column: 1 / 8; }
  .letters__photo { grid-column: 1 / 13; margin-bottom: 32px; }
  .letters__more { grid-column: 8 / 13; }
  .letters .made { grid-column: 1 / 13; }
  .details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { left: 24px; right: 24px; top: 24px; justify-content: space-between; }
  .nav a:not(.nav__action) { display: none; }
  .nav__menu { display: inline-block; }
  .nav .nav__action { color: var(--ink); background: var(--bg); padding: 10px 14px; }
  .nav .nav__action::after { display: none; }
  .nav .burger { background: var(--bg); padding: 10px 14px; }
  .split { grid-template-columns: 1fr; }
  .stage { position: relative; height: 58svh; padding: 12px 12px 0; }
  .stage__caption { display: none; }
  .column { padding: 0 20px; }
  .hero { min-height: 0; padding-bottom: 72px; display: flex; flex-direction: column; }
  .hero .wordmark { order: -1; }
  .hero .hero__made { position: static; margin-top: 16px; }
  .wordmark { position: relative; bottom: auto; right: auto; display: block; font-size: 21vw; margin-top: -0.32em; margin-bottom: 28px; }
  .hero__say { position: static; transform: none; max-width: 40ch; }
  .col-section:first-of-type { padding-top: 48px; }
  .panel { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .showcase { grid-template-columns: 1fr; min-height: 0; }
  .showcase__plate { padding: 16px; }
  .showcase__plate figure { width: 100%; }
  .showcase__text { padding: 8px 20px 48px; gap: 24px; }
  .tabs { gap: 4px 20px; }
  .showcase__body .h2 { margin-bottom: 20px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .letters { padding: 100px 20px; display: block; }
  .letters__photo img { width: 96px; height: 96px; margin-bottom: 24px; }
  .letters__more { margin-top: 72px; padding-top: 0; }
  .programme { display: block; padding: 0; min-height: 0; }
  .programme__sky { position: relative; height: 56svh; }
  .programme__sky figcaption { left: 10px; bottom: 10px; }
  .programme__sheet { margin: -48px 10px 0; width: auto; padding: 56px 28px; }
  .contact { padding-bottom: 88px; }
  .strip { height: 110px; }
  .strip img { height: 110px; }
  .strip img:nth-child(3n + 1) { width: 83px; }
  .strip img:nth-child(3n + 2) { width: 110px; }
  .strip img:nth-child(3n) { width: 165px; }
  .contact__body { padding: 48px 20px 0; }
  .bar { grid-template-columns: 1fr; }
  .bar input, .bar button { height: 60px; }
  .bar__print { grid-template-columns: 1fr; }
  .bar__print p:last-child { grid-column: auto; }
  .details { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .contact .made, .band .made, .band__h { padding: 0 20px; }
  .band { padding: 88px 0 48px; }
  .footer { grid-template-columns: 1fr; min-height: 0; }
  .footer__photo { height: 50svh; }
  .footer__side { padding: 48px 20px 24px; }
  .footer__menu { gap: 20px; }
  .footer__blocks { grid-template-columns: 1fr; }
  .gallery, .trio, .cta { padding-left: 20px; padding-right: 20px; display: block; }
  .gallery figure { margin-bottom: 20px; }
  .gallery .h2 { margin-bottom: 16px; }
  .gallery__intro { margin-bottom: 32px; }
  .trio .note { margin-bottom: 40px; }
  .cta .h2 { margin-bottom: 32px; }
  .team li { grid-template-columns: 6.5rem 1fr; gap: 0 16px; }
  .timeline li { grid-template-columns: 5.5rem 1fr; gap: 0 16px; }
  .form { grid-template-columns: 1fr; }
  .cookie { top: 76px; left: 24px; width: auto; right: 24px; padding: 14px 16px; }
}
@media (max-width: 480px) {
  .details { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .timeline .year { margin-bottom: 10px; }
  .timeline figure { grid-column: 1; }
}

/* ---------- Motion (finished state is the static state) ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise-ch { to { transform: none; opacity: 1; } }
@keyframes open-frame { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.35) translateY(-2%); } to { transform: scale(1.35) translateY(2%); } }
@keyframes settle-from { from { transform: scale(1.08); } }
@keyframes wordmark-recede { from { transform: scale(1); } to { transform: scale(0.93); } }
@keyframes wordmark-arrive { from { transform: scale(0.94); } to { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  .strip { animation: marquee 70s linear infinite; }
  .contact:hover .strip, .band:hover .strip, .strip-wrap:focus .strip { animation-play-state: paused; }

  .js .wordmark .ch { transform: translateY(40%); opacity: 0; animation: rise-ch 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i) * 34ms); }
  .js .stage__frame { clip-path: inset(0 0 100% 0); animation: open-frame 1000ms var(--ease-in-out) 100ms forwards; }
  .js .stage__frame img.is-on { animation: settle-from 1400ms var(--ease-expo) 100ms backwards; }
  .js [data-load] { opacity: 0; transform: translateY(14px); animation: load-rise 600ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }

  .js [data-reveal] { opacity: 0.15; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * var(--stagger-item)); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-shutter] img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1100ms var(--ease-in-out), transform 1500ms var(--ease-soft); }
  .js [data-shutter].is-in img { clip-path: inset(0); transform: none; }

  .footer__photo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline-name: --hero; }
    .wordmark { animation: wordmark-recede linear both; animation-timeline: --hero; animation-range: exit 0% exit 80%; }
    .cta .h2, .footer__menu { animation: wordmark-arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; transform-origin: left bottom; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-wrap { overflow-x: auto; }
  .stage__frame img { transition: none; }
}
@media (max-width: 720px) {
  .strip-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .strip { animation: none; }
}
