/* Stand-in faces until Articulat CF and Operetta 18 are licensed for the web.
   To swap: point these src lines at the licensed files and set --w-display to 100 (Articulat Thin). */
@font-face {
  font-family: "Blackfly Sans";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Blackfly Sans";
  src: url("/assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Blackfly Serif";
  src: url("/assets/fonts/italiana-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --charcoal: #1b1b1b;
  --frost: #e9f2f2;
  --cobalt: #6666ff;
  --fuchsia: #f221bc;
  --crimson: #bb3a3a;
  --olive: #bcb652;

  --ink: var(--frost);
  --ink-2: #a9b0b0;
  --ink-3: #858c8c;
  --line: rgb(233 242 242 / 0.16);
  --gel: var(--cobalt);

  --sans: "Blackfly Sans", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Blackfly Serif", "Didot", "Bodoni 72", Georgia, serif;
  --w-display: 200;

  --t-cue: 0.75rem;
  --t-small: 0.875rem;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-lede: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  --t-h3: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  --t-h2: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
  --t-display: clamp(2.75rem, 1.4rem + 6vw, 6rem);

  --pad: clamp(16px, 4.5vw, 64px);
  --max: 1440px;
  --head-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fade-up: 2.4s;
  --fade-down: 1.2s;

  color-scheme: dark;
}

[data-gel="cobalt"] { --gel: var(--cobalt); }
[data-gel="fuchsia"] { --gel: var(--fuchsia); }
[data-gel="crimson"] { --gel: var(--crimson); }
[data-gel="olive"] { --gel: var(--olive); }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 8px);
  scrollbar-color: #4b5151 var(--charcoal);
  scrollbar-width: thin;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--cobalt);
}

::selection { background: var(--cobalt); color: var(--charcoal); }

img, svg { display: block; max-width: 100%; }
picture { display: contents; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

h1, h2, h3 { margin: 0; font-weight: var(--w-display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--frost);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: var(--pad); top: 12px; z-index: 100;
  padding: 0.6em 1em; background: var(--frost); color: var(--charcoal);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.i { width: 1em; height: 1em; flex: none; }

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--head-h);
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgb(27 27 27 / 0.94);
  border-bottom-color: var(--line);
}
.site-head .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: block;
  color: var(--frost);
  padding: 8px 0;
  margin-right: auto;
}
.brand svg { height: 12px; width: auto; }

.head-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: auto;
  transform: translate(-50%, -50%);
}
/* Where the nav would reach the centre, the mark joins the wordmark instead. */
@media (min-width: 861px) and (max-width: 1200px) {
  .brand { margin-right: 0; }
  .head-mark { position: static; transform: none; margin-right: auto; }
}
.site-head .wrap { position: relative; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-size: var(--t-small);
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--frost); }
.nav .q {
  margin-right: 0.55em;
  font-size: var(--t-cue);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.nav a[aria-current="true"] .q { color: var(--frost); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.72em 1.15em;
  border: 1px solid currentColor;
  font: inherit;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--frost);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn .i { transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:hover { background: var(--frost); color: var(--charcoal); border-color: var(--frost); }
.btn--solid { background: var(--frost); color: var(--charcoal); border-color: var(--frost); }
.btn--solid:hover { background: transparent; color: var(--frost); }

.nav .btn { color: var(--frost); padding: 0.55em 1em; }
.nav .btn:hover { color: var(--charcoal); }

.menu-toggle { display: none; }
.menu-panel { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 12px;
    background: none;
    border: 0;
    color: var(--frost);
    font: inherit;
    font-size: var(--t-small);
    cursor: pointer;
  }
  .menu-toggle .bars { position: relative; width: 18px; height: 8px; }
  .menu-toggle .bars::before, .menu-toggle .bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
  }
  .menu-toggle .bars::before { top: 0; }
  .menu-toggle .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

  .menu-panel {
    position: fixed;
    inset: var(--head-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    padding: 24px var(--pad) 40px;
    background: var(--charcoal);
    overflow-y: auto;
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel ol { counter-reset: none; }
  .menu-panel li { border-top: 1px solid var(--line); }
  .menu-panel a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 18px 0;
    font-size: 1.75rem; font-weight: 250; line-height: 1.2;
    text-decoration: none;
  }
  .menu-panel .q { font-size: var(--t-cue); color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; min-width: 2.2em; }
  .menu-panel .menu-foot { margin-top: auto; padding-top: 32px; color: var(--ink-2); font-size: var(--t-small); }
  .menu-panel .menu-foot a { font-size: inherit; padding: 4px 0; display: inline; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Cue readout: the page's cue stack, as on a lighting desk ---------- */

.cue-readout {
  position: fixed;
  left: var(--pad);
  bottom: 22px;
  z-index: 40;
  font-size: var(--t-cue);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.cue-readout summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  margin-left: -10px;
  background: rgb(27 27 27 / 0.82);
  cursor: pointer;
}
.cue-readout.on-light summary { background: rgb(233 242 242 / 0.86); }
.cue-readout summary::-webkit-details-marker { display: none; }
.cue-readout .lamp {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gel);
  box-shadow: 0 0 0 3px rgb(27 27 27 / 0.9);
}
.cue-readout .q, .cue-list-q { font-variant-numeric: tabular-nums; color: var(--frost); font-weight: 500; }
.cue-readout .cue-now { transition: opacity 0.4s var(--ease); }
.cue-readout .cue-stack {
  position: absolute;
  bottom: calc(100% + 6px);
  left: -12px;
  min-width: 230px;
  padding: 10px 12px;
  background: rgb(27 27 27 / 0.97);
  border: 1px solid var(--line);
}
.cue-readout .cue-stack a {
  display: flex; gap: 14px; padding: 6px 0;
  text-decoration: none; color: var(--ink-2);
}
.cue-readout .cue-stack a:hover, .cue-readout .cue-stack a[aria-current="true"] { color: var(--frost); }
.cue-readout .cue-stack .q { min-width: 2em; color: inherit; }
.cue-readout.on-light { color: #3a3f3f; }
.cue-readout.on-light .q { color: var(--charcoal); }
.cue-readout.on-light .lamp { box-shadow: 0 0 0 3px rgb(233 242 242 / 0.9); }
@media (max-width: 860px) { .cue-readout { display: none; } }

/* ---------- Media and grain ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/grain.webp") repeat;
  background-size: 220px;
  mix-blend-mode: overlay;
  opacity: 0.42;
  pointer-events: none;
}

/* Cue fades: an image rests at half and comes up to full when it reaches centre stage. */
.js [data-cue-fade] img {
  filter: brightness(0.42) saturate(0.8);
  transition: filter var(--fade-down) var(--ease);
}
.js [data-cue-fade].is-lit img {
  filter: none;
  transition-duration: var(--fade-up);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-cue-fade] img, .js [data-cue-fade].is-lit img { filter: none; transition: none; }
}

/* ---------- Hero: house out ---------- */

.hero {
  position: relative;
  min-height: max(var(--screen-h, 100svh), 560px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero .media { position: absolute; inset: 0; z-index: -1; }
.hero .media img { object-position: 50% 38%; }
.hero .media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgb(27 27 27 / 0.7) 0, rgb(27 27 27 / 0) 160px),
    linear-gradient(to top, rgb(27 27 27 / 0.96) 0%, rgb(27 27 27 / 0.72) 26%, rgb(27 27 27 / 0) 60%);
}
@media (min-width: 861px) {
  .hero .media::before {
    background:
      linear-gradient(to bottom, rgb(27 27 27 / 0.7) 0, rgb(27 27 27 / 0) 160px),
      linear-gradient(to right, rgb(27 27 27 / 0.66) 0%, rgb(27 27 27 / 0.3) 42%, rgb(27 27 27 / 0) 66%),
      linear-gradient(to top, rgb(27 27 27 / 0.96) 0%, rgb(27 27 27 / 0.6) 28%, rgb(27 27 27 / 0) 60%);
  }
}
.hero-layers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero-layers.is-ready { opacity: 1; }
.hero-layers img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* The first cue: the house is black, then the stage comes up. */
.hero .curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #050505;
  pointer-events: none;
  opacity: 0;
  animation: house-out var(--fade-up) var(--ease) both;
}
@keyframes house-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .curtain { animation: none; }
}

.hero-copy {
  width: 100%;
  padding-bottom: clamp(40px, calc(var(--screen-h, 100svh) * 0.08), 96px);
  padding-top: calc(var(--head-h) + 40px);
}
.hero h1 { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.hero .display {
  display: block;
  font-size: var(--t-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero .lede {
  display: block;
  font-size: var(--t-lede);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(24px, 3.2vw, 40px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--t-small);
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.text-link:hover { color: var(--frost); }
.text-link .i { transition: transform 0.35s var(--ease); }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(96px, 14vw, 200px); }
.section + .section { border-top: 1px solid var(--line); }

.head-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px var(--gutter, 24px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.head-row h2 {
  grid-column: 1 / span 7;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.head-row .plain {
  grid-column: 8 / span 5;
  color: var(--ink-2);
  max-width: 44ch;
}
@media (max-width: 860px) {
  .head-row h2, .head-row .plain { grid-column: 1 / -1; }
}

/* ---------- What we make: the cue list and its stage ---------- */

.make-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.cue-list { grid-column: 1 / span 5; }
.stage {
  grid-column: 7 / -1;
  position: sticky;
  top: calc(var(--head-h) + 24px);
  height: calc(var(--screen-h, 100svh) - var(--head-h) - 64px);
  max-height: 820px;
  align-self: start;
}
.stage .media { position: absolute; inset: 0; }
.stage .media img { filter: none; }
.stage .media {
  opacity: 0;
  transition: opacity var(--fade-down) var(--ease);
}
.stage .media.is-on { opacity: 1; transition-duration: calc(var(--fade-up) * 0.6); }
.no-js .stage .media:first-child { opacity: 1; }

.cue-item {
  min-height: min(calc(var(--screen-h, 100svh) * 0.44), 460px);
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
}
.cue-item:last-child { border-bottom: 1px solid var(--line); }
.cue-item > a {
  display: grid;
  gap: 14px;
  width: 100%;
  padding-block: 40px;
  text-decoration: none;
}
.cue-name {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: var(--t-h3);
  font-weight: var(--w-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  transition: color var(--fade-down) var(--ease);
}
.cue-desc { color: var(--ink-3); max-width: 40ch; transition: color var(--fade-down) var(--ease); }
.cue-go {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--t-small); color: var(--ink-2);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.cue-item.is-active .cue-name { color: var(--frost); transition-duration: 0.6s; }
.cue-item.is-active .cue-desc { color: var(--ink-2); transition-duration: 0.6s; }
.cue-item.is-active .cue-go { opacity: 1; transform: none; }
.no-js .cue-name, .no-js .cue-desc { color: var(--frost); }
.no-js .cue-go { opacity: 1; transform: none; }

/* A spike mark: the tape on a stage floor that says where something stands. Its colour is its service. */
.spike {
  position: relative;
  flex: none;
  width: 16px;
  height: 11px;
  top: -0.12em;
}
.spike::before, .spike::after { content: ""; position: absolute; background: var(--gel); }
.spike::before { left: 0; right: 0; top: 0; height: 3px; }
.spike::after { left: 6.5px; width: 3px; top: 0; bottom: 0; }

.cue-media { display: none; }

@media (max-width: 860px) {
  .cue-list { grid-column: 1 / -1; }
  .stage { display: none; }
  .cue-item { min-height: 0; display: block; padding-block: 28px 36px; }
  .cue-item > a { padding-block: 0; }
  .cue-media { display: block; aspect-ratio: 4 / 3; margin-bottom: 20px; }
  .cue-name, .cue-desc { color: var(--frost); }
  .cue-desc { color: var(--ink-2); }
  .cue-go { opacity: 1; transform: none; }
}

/* ---------- How we work: the journey ---------- */

.journey {
  position: relative;
  display: grid;
  gap: 0;
}
.journey::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.journey li {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px 24px;
  padding: clamp(28px, 3.4vw, 44px) 0 clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.journey li:first-child { border-top: 1px solid var(--line); }
.journey li::after {
  content: "";
  position: absolute;
  left: -3px; top: calc(clamp(28px, 3.4vw, 44px) + 0.95em);
  width: 7px; height: 1px;
  background: var(--frost);
}
.journey h3 {
  grid-column: 1 / span 5;
  font-size: var(--t-h3);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.journey p { grid-column: 7 / -1; color: var(--ink-2); max-width: 46ch; padding-top: 0.35em; }
@media (max-width: 860px) {
  .journey h3, .journey p { grid-column: 1 / -1; }
  .journey p { padding-left: 0; }
}

/* Light rises through the journey as it is read, where the browser supports scroll timelines. */
@supports (animation-timeline: view()) {
  .journey::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 100%;
    background: var(--frost);
    transform-origin: top;
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 40% exit 40%;
  }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @media (prefers-reduced-motion: reduce) { .journey::after { animation: none; transform: none; } }
}

.span-note {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 8vw, 112px);
}
.span-note h3 { grid-column: 1 / span 5; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.span-note p { grid-column: 7 / -1; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .span-note h3, .span-note p { grid-column: 1 / -1; } }

/* ---------- Studio ---------- */

.credits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.credit h3 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.credit .role {
  margin-top: 14px;
  font-size: var(--t-small);
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.credit .bio { margin-top: 28px; max-width: 44ch; color: var(--ink-2); }
@media (max-width: 720px) { .credits { grid-template-columns: 1fr; } }

.ritual {
  margin-block: clamp(96px, 13vw, 184px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.truths {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 24px;
}
.truth { grid-column: span 6; border-top: 1px solid var(--line); padding-top: 28px; }
.truth--end { grid-column: 7 / -1; }
.truth h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.truth p { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .truth { grid-column: 1 / -1; } }

/* The ghost light: the lamp a theatre leaves burning when nobody is there. */
.interval { position: relative; margin-top: clamp(96px, 12vw, 176px); }
.interval .media { aspect-ratio: 21 / 9; }
.interval .media img { object-position: 50% 60%; }
@media (min-width: 861px) {
  .interval .media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(to top, rgb(27 27 27 / 0.9) 0%, rgb(27 27 27 / 0) 55%),
      linear-gradient(to right, rgb(27 27 27 / 0.55) 0%, rgb(27 27 27 / 0) 50%);
  }
}
.interval-copy { position: absolute; z-index: 2; inset: auto 0 clamp(28px, 4.5vw, 64px) 0; }
.interval-text { max-width: 46ch; }
.interval-text h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.interval-text p { margin-top: 18px; color: var(--ink-2); }
.interval--end .interval-copy .ritual { margin: 0 0 0 auto; text-align: right; }
@media (min-width: 861px) {
  .interval--end .media::before {
    background:
      linear-gradient(to top, rgb(27 27 27 / 0.94) 0%, rgb(27 27 27 / 0.7) 32%, rgb(27 27 27 / 0.25) 58%, rgb(27 27 27 / 0) 78%),
      linear-gradient(to left, rgb(27 27 27 / 0.8) 0%, rgb(27 27 27 / 0.45) 36%, rgb(27 27 27 / 0) 62%);
  }
}
.section--bleed-end { padding-bottom: 0; }
@media (max-width: 860px) {
  .section--bleed-end { padding-bottom: clamp(72px, 14vw, 120px); }
  .interval--end .interval-copy .ritual { text-align: left; margin: 0; }
  .interval .media { aspect-ratio: 4 / 5; }
  .interval-copy { position: static; margin-top: 32px; }
}

/* ---------- Questions ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 250;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.faq .plus::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq .plus::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.faq details[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 0 30px; max-width: 60ch; color: var(--ink-2); }
.faq summary:hover { color: var(--frost); }

/* ---------- Hello: the house lights come up ---------- */

.hello {
  --ink: var(--charcoal);
  --ink-2: #3c4242;
  --ink-3: #555c5c;
  --line: rgb(27 27 27 / 0.18);
  background: var(--frost);
  color: var(--charcoal);
  color-scheme: light;
  padding-bottom: clamp(88px, 10vw, 136px);
  transition: background-color 1.8s var(--ease), color 1.8s var(--ease);
}
.js .hello:not(.lights-up) { background: var(--charcoal); color: var(--frost); }
.hello :focus-visible { outline-color: var(--charcoal); }
.hello ::selection { background: var(--charcoal); color: var(--frost); }

.hello-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px 24px;
}
.hello-intro { grid-column: 1 / span 5; }
.hello-intro h2 { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; }
.hello-intro p { margin-top: 28px; max-width: 40ch; color: var(--ink-2); }
.direct { margin-top: 40px; display: grid; gap: 10px; font-size: var(--t-small); }
.direct a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; }
.direct a:hover { text-decoration: underline; }

.form { grid-column: 7 / -1; display: grid; gap: 30px; align-content: start; }
.field { display: grid; gap: 10px; }
.field label { font-size: var(--t-small); font-weight: 500; }
.field .hint { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(27 27 27 / 0.42);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #5b6262; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--charcoal); }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--charcoal); padding-bottom: 11px; }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #9a2e2e; }
.field .error { display: none; font-size: var(--t-small); color: #8f2a2a; }
.field input:user-invalid ~ .error, .field textarea:user-invalid ~ .error { display: block; }
.form .hp { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form .btn { color: var(--charcoal); border-color: var(--charcoal); }
.form .btn--solid { background: var(--charcoal); color: var(--frost); }
.form .btn--solid:hover { background: transparent; color: var(--charcoal); }
.form .btn[disabled] { opacity: 0.55; cursor: progress; }
.form-note { font-size: var(--t-small); color: var(--ink-3); max-width: 36ch; }
.form-status { font-size: var(--t-small); min-height: 1.6em; }
.form-status.is-error { color: #8f2a2a; }
.form-done { grid-column: 7 / -1; align-self: start; border-top: 1px solid var(--line); padding-top: 28px; }
.form-done h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.form-done p { margin-top: 14px; color: var(--ink-2); max-width: 42ch; }
@media (max-width: 860px) {
  .hello-intro, .form, .form-done { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */

.site-foot {
  --ink-2: #3c4242;
  --line: rgb(27 27 27 / 0.18);
  background: var(--frost);
  color: var(--charcoal);
  padding-block: 0 40px;
  font-size: var(--t-small);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 24px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.foot-logo { grid-column: 1 / span 3; }
.foot-logo img { width: min(180px, 100%); height: auto; }
.foot-col { grid-column: span 3; display: grid; gap: 8px; align-content: start; }
.foot-col h2 { font-size: var(--t-small); font-weight: 500; margin-bottom: 6px; }
.foot-col a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.foot-col a:hover { text-decoration: underline; }
.foot-col .spike { top: 0; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .foot-logo { grid-column: 1 / -1; }
  .foot-col { grid-column: span 6; }
}
@media (max-width: 520px) { .foot-col { grid-column: 1 / -1; } }

/* ---------- Service pages ---------- */

.svc-hero { min-height: max(calc(var(--screen-h, 100svh) * 0.88), 540px); }
.svc-hero .display { max-width: 14ch; }
.hero .display--long { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.75rem); line-height: 1.02; max-width: 20ch; }
.offer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.offer ul { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.offer li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.4;
}
.offer li .spike { top: -0.08em; }
@media (max-width: 860px) { .offer ul { grid-template-columns: 1fr; } }

.for-line {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);
  font-weight: var(--w-display);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.others a {
  display: grid; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.others .other-name { display: flex; gap: 14px; align-items: baseline; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 250; line-height: 1.2; }
.others .other-desc { color: var(--ink-2); font-size: var(--t-small); max-width: 34ch; }
.others a:hover .other-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }

/* ---------- Plain pages (thanks, 404) ---------- */

.plain-page {
  min-height: var(--screen-h, 100svh);
  display: flex;
  align-items: center;
  padding-block: calc(var(--head-h) + 48px) 64px;
}
.plain-page h1 { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; max-width: 12ch; }
.plain-page p { margin-top: 28px; max-width: 42ch; color: var(--ink-2); font-size: var(--t-lede); font-weight: 300; }
.plain-page .hero-actions { margin-top: 40px; }
.plain-page--light { background: var(--frost); color: var(--charcoal); --ink-2: #3c4242; color-scheme: light; }
.plain-page--light .btn { color: var(--charcoal); }
.plain-page--light .btn:hover { background: var(--charcoal); color: var(--frost); border-color: var(--charcoal); }

body.is-light { background: var(--frost); color: var(--charcoal); }
body.is-light .brand { color: var(--charcoal); }
@media (prefers-reduced-motion: reduce) {
  .js .hello:not(.lights-up) { background: var(--frost); color: var(--charcoal); }
}
