@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #1c1c21;
  --panel-2: #2a2a31;
  --fg: #f5f5f6;
  --dim: #a5a5ad;
  --faint: #6f6f78;
  --rule: #2c2c33;
  --r: 14px;
  --pad: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.25rem; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-optical-sizing: auto; letter-spacing: -0.011em;
  font: 400 1rem/1.55 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--fg); color: var(--bg); }
h1, h2, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: var(--pad); top: -5rem; z-index: 30; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 0.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 90rem; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.25rem;
  border-radius: 10px; background: var(--fg); color: #101014;
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--ghost { background: rgba(255, 255, 255, 0.1); color: var(--fg); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { min-height: 2.25rem; padding: 0 0.9rem; border-radius: 8px; font-size: 0.875rem; }
.btn[hidden] { display: none; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav__in { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); height: 5.25rem; }
.nav__brand { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.nav__brand span { margin-left: 0.85rem; padding-left: 0.9rem; border-left: 1px solid var(--rule); color: var(--dim); font-weight: 400; font-size: 0.875rem; }
.nav__links { display: flex; gap: clamp(1.1rem, 2.6vw, 2.25rem); margin-right: auto; font-size: 0.9375rem; color: var(--dim); }
.nav__links a { padding: 0.5rem 0; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--fg); }

/* Intro */
.intro { --h1: clamp(2.1rem, 5.6vw, 4.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding-top: clamp(2.5rem, 6.5vw, 5.5rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
h1 { flex: 1 1 0; min-width: 0; font-size: var(--h1, clamp(2.1rem, 5.6vw, 4.75rem)); font-weight: 560; line-height: 1.03; letter-spacing: -0.035em; max-width: 13em; text-wrap: balance; }
h1 span { color: var(--faint); }
/* Three short lines at the right, centred on the height of the headline */
.intro__meta { flex: none; display: grid; gap: 0.2rem; margin: 0; line-height: 1.5; color: var(--dim); font-size: 0.9375rem; text-align: right; font-variant-numeric: tabular-nums; }
.intro__date { color: var(--faint); }
.intro__date[hidden] { display: none; }
.nb { white-space: nowrap; }
.live { color: var(--fg); }
.live::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.5rem; border-radius: 50%; background: #3ddc84; vertical-align: 0.08em; }

/* Featured work: stage plus list */
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.js .feat { grid-template-columns: minmax(0, 1fr) 15.5rem; }
.feat__stage { display: grid; gap: 1rem; }
.js .feat__stage { min-height: clamp(27rem, 36vw, 36rem); gap: 0; }
.slide {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  border-radius: var(--r); overflow: hidden; background: var(--tint, var(--panel));
  min-height: 24rem;
}
.js .slide { grid-area: 1 / 1; min-height: auto; overflow: clip; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }
.js .slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.slide--chatria { --tint: #2b1418; }
.slide--site { --tint: #131d33; }
.slide--iw { --tint: #26220c; container-type: inline-size; }
.slide__text { display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(1.5rem, 3vw, 2.75rem); }
.slide__tag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); }
.slide__tag b { padding: 0.12rem 0.38rem; border-radius: 4px; background: rgba(255, 255, 255, 0.12); color: var(--fg); font-weight: 600; }
.slide--chatria .slide__tag b, .slide--site .slide__tag b { background: #3ddc84; color: #06200f; }
.slide h2 { margin-top: 0.8rem; font-size: clamp(1.9rem, 3.3vw, 2.9rem); font-weight: 560; line-height: 1.02; letter-spacing: -0.025em; }
.slide__text > p:not([class]), .slide__full { margin-top: 1rem; color: #d0d0d6; font-size: 0.9688rem; line-height: 1.45; max-width: 30em; text-wrap: pretty; }
.slide__text > .slide__full { margin-top: 0.6rem; }
.slide__full[hidden] { display: none; }
.slide__full p { font-size: 0.875rem; line-height: 1.5; }
.slide__full p + p { margin-top: 0.6rem; color: var(--dim); }
.more { appearance: none; border: 0; background: none; cursor: pointer; align-self: flex-start; margin-top: 0.5rem; padding: 0.2rem 0; color: var(--dim); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
.more:hover { color: var(--fg); }
.more[hidden] { display: none; }
.slide__roles { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.slide__roles li { padding: 0.25rem 0.6rem; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #d0d0d6; font-size: 0.8125rem; }
.slide__act { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 1.75rem; }
.slide__img { position: relative; overflow: hidden; }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 6s ease-out; }
.slide.is-on .slide__img img { transform: scale(1.04); }
.slide--chatria, .slide--site { grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr); }
.slide__show { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; padding: clamp(1rem, 2vw, 1.5rem); background: #0b0b0e; }
.show__main { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); background: #000; }
.show__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; align-items: start; }
.show__thumbs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.show__thumbs button { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; display: grid; align-content: start; text-align: left; color: var(--dim); font-size: 0.75rem; transition: color 0.15s ease; }
.show__thumbs img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--rule); background: #000; transition: box-shadow 0.15s ease; }
.show__thumbs span { display: block; margin-top: 0.4rem; }
.show__thumbs button:hover { color: var(--fg); }
.show__thumbs button:hover img { box-shadow: 0 0 0 1px var(--faint); }
.show__thumbs button[aria-pressed="true"] { color: var(--fg); }
.show__thumbs button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--fg); }
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.25rem; }
.keys li { display: grid; align-content: start; gap: 0.15rem; padding: 0.65rem 0.75rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.keys b { font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }
.keys span { color: var(--dim); font-size: 0.75rem; line-height: 1.3; }
.slide__word { display: flex; flex-direction: column; justify-content: center; padding: 6% 7%; background: #ffd500; color: #101014; font-weight: 800; text-transform: uppercase; font-size: 12.4cqw; line-height: 0.84; letter-spacing: -0.045em; }
.slide__word small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; }
.slide__word small:first-child { margin-bottom: auto; }
.slide__word small:last-child { margin-top: auto; }
.slide__word span:first-of-type { margin-top: 0.12em; }
.slide__word span:last-of-type { margin-bottom: 0.12em; }

.feat__list { display: grid; align-content: start; gap: 0.35rem; }
.feat__list[hidden] { display: none; }
.feat__list button {
  position: relative; overflow: hidden; width: 100%;
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 0.9rem; padding: 0.65rem;
  border-radius: 12px; transition: background-color 0.15s ease;
}
.feat__list button:hover { background: var(--panel); }
.feat__list button[aria-current="true"] { background: var(--panel-2); }
.feat__list img, .feat__list i { position: relative; z-index: 1; flex: none; width: 2.75rem; height: 3.45rem; border-radius: 7px; object-fit: cover; }
.feat__list i { display: grid; place-items: center; background: #ffd500; color: #101014; font-style: normal; font-weight: 600; font-size: 0.8125rem; }
.feat__list span { position: relative; z-index: 1; display: grid; min-width: 0; }
.feat__list b { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.feat__list small { color: var(--dim); font-size: 0.8125rem; line-height: 1.3; }
.feat__title, .banner__status { display: none; }
.feat__list button::before { content: ""; position: absolute; inset: 0; width: 0; background: rgba(255, 255, 255, 0.09); }

/* Rows */
.row { padding-top: clamp(3.5rem, 8vw, 6rem); }
.row__title { font-size: 1.125rem; font-weight: 560; letter-spacing: -0.01em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tiles li { display: grid; align-content: start; gap: 0.5rem; padding: 1.5rem; border-radius: var(--r); background: var(--panel); transition: background-color 0.15s ease, transform 0.2s ease; }
.tiles li:hover { background: var(--panel-2); transform: translateY(-3px); }
.tiles b { font-weight: 560; font-size: 1.0625rem; letter-spacing: -0.01em; }
.tiles span { color: var(--dim); font-size: 0.9375rem; line-height: 1.4; }

.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; padding-top: clamp(3.5rem, 8vw, 6rem); }
.card { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--panel); }
.card--say .say__lead { margin-top: 1.25rem; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 560; line-height: 1.25; letter-spacing: -0.018em; text-wrap: balance; }
.card--say .say__text { margin-top: 0.9rem; max-width: 34em; color: #d0d0d6; font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.facts { display: grid; align-content: center; }
.facts > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--dim); font-size: 0.9375rem; }

.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3.5rem, 8vw, 6rem); }
.book h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 560; line-height: 1.08; letter-spacing: -0.022em; }
.book__head p { margin-top: 0.9rem; color: var(--dim); max-width: 26em; }
.js .book__fallback { display: none; }
.book__label { margin-bottom: 0.6rem; color: var(--dim); font-size: 0.875rem; }
.chips + .book__label { margin-top: 1.5rem; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: 0.5rem; }
.chips--days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chips button {
  appearance: none; border: 0; cursor: pointer; min-height: 2.75rem; padding: 0.4rem 0.5rem;
  border-radius: 10px; background: var(--panel-2); color: var(--fg); font-weight: 500; font-size: 0.9375rem; line-height: 1.2;
  transition: background-color 0.15s ease;
}
.chips button small { display: block; color: var(--dim); font-size: 0.75rem; font-weight: 400; }
.chips button:hover { background: #383840; }
.chips button[aria-pressed="true"] { background: var(--fg); color: #101014; }
.chips button[aria-pressed="true"] small { color: #55555c; }
.book__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 0.75rem; margin-top: 1.5rem; }
.book__form label, .signin label { display: grid; gap: 0.4rem; color: var(--dim); font-size: 0.875rem; }
.book__wide { grid-column: 1 / -1; }
.book__form input, .book__form textarea, .signin input, .req__reply {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; resize: vertical;
}
.book__form input:focus-visible, .book__form textarea:focus-visible, .signin input:focus-visible, .req__reply:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.book__topic { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.book__topic legend { width: 100%; margin-bottom: 0.5rem; padding: 0; color: var(--dim); font-size: 0.875rem; }
.book__form .book__topic label { display: block; position: relative; cursor: pointer; }
.book__topic input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.book__topic span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 10px; background: var(--panel-2); color: var(--fg); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.15s ease; }
.book__topic label:hover span { background: #383840; }
.book__topic input:checked + span { background: var(--fg); color: #101014; }
.book__topic input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.book__hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.book__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin-top: 0.35rem; }
.book__go .more { margin-top: 0; }
.btn:disabled { background: var(--panel-2); color: var(--faint); cursor: default; transform: none; }
.book__msg { min-height: 1.5rem; font-size: 0.9375rem; }
.book__msg[data-kind="ok"] { color: #3ddc84; }
.book__msg[data-kind="bad"] { color: #ff8a8a; }
.chips button:disabled { background: none; box-shadow: inset 0 0 0 1px var(--rule); color: var(--faint); cursor: default; text-decoration: line-through; }
.chips button:disabled::after { content: "taken"; display: block; font-size: 0.6875rem; text-decoration: none; }
.chips button:disabled:hover { background: none; }

.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(3.5rem, 8vw, 6rem); padding: clamp(1.75rem, 4.5vw, 3.5rem);
  border-radius: var(--r); background: linear-gradient(120deg, #2b1418 0%, #1c1c21 55%, #26220c 100%);
}
.banner h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 560; line-height: 1.08; letter-spacing: -0.022em; }
.banner h2 + p { margin-top: 0.6rem; color: var(--dim); }
.banner__act { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Footer */
.foot { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: 1.25rem; padding-bottom: 2.5rem; border-top: 1px solid var(--rule); color: var(--faint); font-size: 0.8125rem; line-height: 1.55; }
.foot p + p { margin-top: 0.7rem; max-width: 62rem; }
.foot__line { display: flex; justify-content: space-between; gap: 1rem; color: var(--dim); }
.foot a:hover { color: var(--fg); }

/* Full-page view */
.full { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #08080a; color: var(--fg); }
.full[open] { display: flex; flex-direction: column; }
.full::backdrop { background: #08080a; }
.full__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem var(--pad); border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.full__title { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full__toggle { display: flex; padding: 3px; border-radius: 10px; background: var(--panel); }
.full__bar button { appearance: none; border: 0; background: none; cursor: pointer; padding: 0.45rem 0.9rem; border-radius: 8px; color: var(--dim); font-weight: 500; }
.full__bar button:hover { color: var(--fg); }
.full__toggle button[aria-pressed="true"] { background: var(--fg); color: #101014; }
.full__bar .full__close { background: var(--panel); color: var(--fg); }
.full__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #555 transparent; }
.full__img { width: min(100%, 90rem); margin: 0 auto; }
.full[data-view="phone"] .full__img { width: min(100%, 390px); }

@media (max-width: 60rem) {
  .intro h1 { flex-basis: 100%; }
  .intro__meta { flex: 1 1 100%; min-width: 0; text-align: left; }
  .js .feat { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .nav__brand span { display: none; }
  .nav__in { height: 4.5rem; }
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: 15rem auto; }
  .slide__img { order: -1; min-height: 15rem; }
  .js .feat__stage { aspect-ratio: auto; min-height: 34rem; }
  .js .slide { grid-template-rows: minmax(9rem, 1fr) auto; }
  .js .slide--chatria, .js .slide--site { grid-template-rows: auto auto; }
  .slide--chatria, .slide--site { grid-template-rows: auto auto; }
  .js .slide__img { min-height: 7rem; }
  .slide__word { font-size: 20cqw; }
  .slide__show { order: -1; }
  .show__thumbs { gap: 0.5rem; }
  .show__thumbs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide--chatria, .slide--site { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book__form { grid-template-columns: minmax(0, 1fr); }
  .chips--days { grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); }
  .full__title { display: none; }
  .full__toggle { margin-right: auto; }
}


/* Phone layout */
@media (max-width: 40rem) {
  /* room for both rows of the bar, because the links row stays out after you press one of its links */
  html { scroll-padding-top: 7.6rem; }

  /* top bar: name and button on one line, the three sections as an even row below */
  .nav__in { height: auto; flex-wrap: wrap; gap: 0.55rem 0.75rem; padding-top: 0.7rem; padding-bottom: 0.45rem; }
  .nav__brand { margin-right: auto; }
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__in { padding-bottom: 0.7rem; }
  /* The row of section links follows the scrolling: down pushes it up behind the name row, up pulls
     it back out. --gone is how far it is pushed in, set by the script. */
  /* three layers inside the bar: the links row at the very back, a solid cover the size of the name
     row in front of it, and the name and the button on top. The row can only ever be seen below the cover. */
  body:not(.admin) .nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); border-bottom: 1px solid var(--rule); }
  body:not(.admin) .nav__links { position: absolute; left: 0; right: 0; top: calc(100% - 1px); z-index: -2; margin: 0; gap: 0; padding: 1px var(--pad) 0.2rem; background: var(--bg); border-bottom: 1px solid var(--rule); transform: translateY(calc(var(--gone, 0px) * -1)); }
  .nav__links a { flex: 1; padding: 0.6rem 0; text-align: center; }
  body:not(.admin) .nav__links.is-gone { visibility: hidden; }
  body:not(.admin) main.wrap { padding-top: 2.9rem; }
  .admin .nav__links { order: 3; width: 100%; margin: 0; gap: 0; border-top: 1px solid var(--rule); }

  .intro { padding-top: 1.75rem; padding-bottom: 1.5rem; }

  .keys li { padding: 0.6rem 0.7rem; }

  /* sections sit closer together and cards use the width */
  .row, .duo { padding-top: 3rem; }
  .book, .banner { margin-top: 3rem; }
  .card { padding: 1.25rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1rem; }
  .tiles li { padding: 1rem; }
  .tiles b { font-size: 1rem; }
  .tiles span { font-size: 0.875rem; }
  .duo { gap: 0.6rem; }
  .facts > div { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem; }

  /* booking: ten days in two even rows, times in two rows, full-width send button */
  .book { gap: 1.5rem; }
  .chips { gap: 0.4rem; }
  .chips--days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .chips:not(.chips--days) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips button { min-height: 3rem; padding: 0.3rem 0.15rem; font-size: 0.875rem; }
  .chips button small { font-size: 0.6875rem; }
  .book__go .btn { width: 100%; }
  .book__topic label { flex: 1; }
  .book__topic span { width: 100%; justify-content: center; }

  /* contact: address and copy button share one line */
  .banner { padding: 1.5rem 1.25rem; gap: 1.25rem; }
  .banner__act { flex-wrap: nowrap; width: 100%; gap: 0.5rem; }
  .banner__act .btn:first-child { flex: 1; min-width: 0; padding: 0 0.75rem; }
  .banner__act .btn { padding: 0 1rem; }

  .foot__line { flex-wrap: wrap; gap: 0.25rem 1rem; }
}

/* Wide screens: the three lines at the right are exactly the same length. The green dot hangs
   outside the text, so it does not count towards the length of its line. */
@media (min-width: 60.01rem) {
  .intro__meta { width: max-content; }
  .intro__meta > span { display: block; text-align: justify; text-align-last: justify; }
  .intro__meta .live { position: relative; }
  .intro__meta .live::before { position: absolute; right: 100%; top: 50%; margin: -0.225rem 0.55rem 0 0; }
}

/* Phones and tablets: the project switch is a row of three tabs above the project */
@media (max-width: 60rem) {
  .feat { gap: 0.9rem; }
  /* three tabs above the project; they are part of the page and scroll with it */
  .feat__list { order: -1; display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); }
  .feat__list li { flex: 1 1 auto; min-width: 0; }
  .feat__list button { justify-content: center; min-height: 2.6rem; padding: 0.4rem 0.5rem; border-radius: 9px; }
  .feat__list button:hover { background: none; }
  .feat__list button[aria-current="true"] { background: var(--panel-2); }
  .feat__list img, .feat__list i, .feat__list small { display: none; }
  .feat__list span { display: block; text-align: center; }
  .feat__list b { font-size: 0.875rem; white-space: nowrap; color: var(--dim); }
  .feat__list button[aria-current="true"] b { color: var(--fg); }
  .feat__title { display: block; order: -2; margin: 0.25rem 0 -0.2rem; font-size: 1.125rem; font-weight: 560; letter-spacing: -0.01em; }
  /* only the chosen project takes up room, so a short one leaves no empty space */
  .js .feat__stage { min-height: 0; }
  .js .slide:not(.is-on) { display: none; }
  /* say what the project is before showing its screens */
  .slide__show { order: 0; }
  /* the headline stands alone; the status moves down to the invitation to get in touch */
  .intro__meta { display: none; }
  .banner__status { display: block; margin-bottom: 0.75rem; color: var(--dim); font-size: 0.8125rem; font-weight: 500; }
  .banner__status .live { color: var(--dim); }
  .banner__status .live::before { animation: none; width: 0.4rem; height: 0.4rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .live::before { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 60% { box-shadow: 0 0 0 0.4rem rgba(61, 220, 132, 0); } }
  .slide__full { animation: show 0.3s ease both; }
  @keyframes show { from { opacity: 0; transform: translateY(-0.25rem); } to { opacity: 1; transform: none; } }
  .feat.is-auto .feat__list button[aria-current="true"]::before { animation: fill 7s linear forwards; }
  .feat.is-auto:hover .feat__list button::before, .feat.is-auto:focus-within .feat__list button::before { animation-play-state: paused; }
  @keyframes fill { from { width: 0; } to { width: 100%; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .nav { position: static; }
  .copy, .skip, .full, .feat__list { display: none !important; }
}
