/* Tsukima. Black and ivory, taken exactly from the logo. */

/* The wordmark */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;   /* the logo's black */
  --signal: #D4261C;  /* the one accent: a signal red, used sparingly */
  --ivory: #F6F5F1;   /* the logo's white */

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margin: clamp(16px, 1.9vw, 36px);
  --header: clamp(64px, 4.4vw, 84px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Links to a section stop below the fixed header, not underneath it */
  scroll-padding-top: var(--header);
  /* The scrollbar: slim, square-ended, no arrows. Its colours follow the section in view,
     set from the script: a black bar on ivory, an ivory bar on black. */
  --sb-thumb: rgba(246, 245, 241, 0.55);
  --sb-track: #000000;
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--sb-track); }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 0; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: var(--sb-track); }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
/* One focus mark everywhere: a hairline in the text's own colour */
a:focus-visible, button:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
ul { margin: 0; padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  padding: 0 var(--margin);
  background: var(--black);
}

.brand { display: inline-flex; align-items: center; gap: 0.42em; justify-self: start; font-size: clamp(22px, 1.6vw, 30px); line-height: 1; }
.brand .mark { height: 1.12em; width: auto; fill: var(--ivory); flex: none; }
.brand .wordmark { font-family: "Sora", var(--sans); font-weight: 600; letter-spacing: 0.06em; }

.nav ul { display: flex; gap: clamp(24px, 2.5vw, 48px); }
.nav a,
.side a { font-size: 17.5px; letter-spacing: -0.01em; transition: opacity 200ms ease; }
.nav a:hover,
.side a:hover { opacity: 0.6; }

.side { justify-self: end; }

/* Phone menu: a word in the header opens a full black panel beneath it, the links set large */
.menu-toggle { display: none; justify-self: end; margin: 0 -10px 0 0; padding: 10px; border: 0; background: none; color: var(--ivory); font: inherit; font-size: 17px; letter-spacing: -0.01em; cursor: pointer; }
.menu-toggle:focus-visible { outline: 1px solid var(--ivory); outline-offset: 2px; }
/* Three bars; opened, the outer two cross into an X and the middle one fades. Whole pixels on a
   4px rhythm, so every bar lands on the screen's own pixels and all three stay the same weight. */
.menu-toggle { width: 44px; height: 44px; margin-right: -10px; padding: 0; place-items: center; }
.menu-bars { position: relative; display: block; width: 24px; height: 18px; }
.menu-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 8px; }
.menu-bars span:nth-child(3) { top: 16px; }
/* Two movements, never both at once. Opening: the bars close into one line, then that line opens
   into the X. Closing runs the same film backwards: the X folds flat, then the bars part. */
.menu-bars span { transition: rotate 300ms cubic-bezier(0.65, 0, 0.35, 1), translate 260ms cubic-bezier(0.65, 0, 0.35, 1) 300ms, opacity 0s linear 300ms; }
.menu-toggle[aria-expanded="true"] .menu-bars span { transition: translate 260ms cubic-bezier(0.65, 0, 0.35, 1), rotate 420ms cubic-bezier(0.16, 1, 0.3, 1) 260ms, opacity 0s linear 260ms; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle .menu-bars span, .menu-toggle[aria-expanded="true"] .menu-bars span { transition: none; }
}

.menu {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 6vh, 56px) var(--margin) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--black);
  color: var(--ivory);
  opacity: 0;
  transition: opacity 320ms ease;
}
.menu[hidden] { display: none; } /* the panel's flex layout must not override hidden */
.menu.is-open { opacity: 1; }
.menu-links li,
.menu-foot { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 420ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i) * 45ms + 60ms); }
.menu.is-open .menu-links li,
.menu.is-open .menu-foot { opacity: 1; transform: none; }
.menu-links { margin: 0; padding: 0; list-style: none; }
.menu-links a { display: block; padding: 10px 0; font-family: "Sora", var(--sans); font-size: clamp(34px, 10vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.menu-foot { display: grid; gap: 14px; font-size: 17px; }
.menu-foot a { justify-self: start; opacity: 0.7; }
.menu-foot .menu-cta { opacity: 1; font-family: "Sora", var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 4px; margin-bottom: 8px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu-links li, .menu-foot { transition: none; transform: none; }
}

/* The hero: one picture, framed by the black margin */

.hero {
  position: relative;
  height: calc(100vh - var(--header) - var(--margin));
  height: calc(100svh - var(--header) - var(--margin));
  min-height: 420px;
  margin: 0 var(--margin);
  overflow: hidden;
  background: var(--black);
}
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film.is-waiting { visibility: hidden; }

/* The shade behind the title is part of the film itself, so it cuts with the picture. */
.card { z-index: 1; }

/* The title card: shown over the opening shot of each pass of the film */

.card {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(28px, 4.4vh, 56px);
  padding: 0 var(--margin);
  text-align: center;
  pointer-events: none;
  /* A soft, wide shadow keeps the type clear where it crosses the brightest sky */
  text-shadow: 0 0 48px rgba(0, 0, 0, 0.55), 0 2px 18px rgba(0, 0, 0, 0.35);
}
.card-mark { filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.5)); }

.card-title {
  margin: 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(34px, 5.6vw, 108px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.card-title .line { display: block; }
.card-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  width: max-content;
  max-width: 100%;
  font-family: "Sora", var(--sans);
  font-size: clamp(14px, 1.45vw, 27px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Left: two lines set flush against the mark, mirroring the right side */
.card-left { margin: 0; justify-self: end; display: grid; }
.card-left .spread { display: flex; justify-content: flex-end; gap: 0.45em; white-space: nowrap; }

.card-mark { width: auto; height: 2.7em; fill: var(--ivory); }

/* Right: the second line steps in, so the two slashes stand one above the other */
.card-right { margin: 0; justify-self: start; display: grid; grid-template-columns: auto auto; justify-content: start; white-space: nowrap; }
.card-right > span:nth-child(3) { grid-column: 2; }
.card-right > span:first-child .slash { margin-left: 0; }
.card-right .slash { display: inline-block; width: 0.16em; height: 0.82em; margin: 0 1.05em 0 0.75em; vertical-align: -0.04em; background: currentColor; transform: skewX(-22deg); box-shadow: 0.3em 0 0 currentColor; } /* drawn twice: // */

/* The title card is part of the opening shot: there on its first frame, gone on the cut. */
.card { opacity: 0; }
.hero.is-title .card { opacity: 1; }
/* Without scripts the film cannot time the title, so it simply stays */
@media (scripting: none) { .card { opacity: 1; } }

/* Introduction: the page turns to ivory. A label and one statement, a wide strip of film,
   then the heading set very large. */

.intro {
  margin-top: var(--margin);
  padding: clamp(36px, 4vw, 72px) var(--margin) clamp(40px, 4.5vw, 80px);
  background: var(--ivory);
  color: var(--black);
}

.label {
  margin: 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* A section name set loud, marked with the monogram */
.label--loud {
  display: flex;
  align-items: center;
  gap: 0.32em;
  font-size: clamp(28px, 3.2vw, 60px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--signal);
}

/* Each section is numbered in place of a mark, at the size and weight of its name */
.label-no { font-variant-numeric: tabular-nums; }

.intro-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--margin);
  align-items: start;
}
.intro-lead {
  margin: 0;
  max-width: 24em;
  font-family: "Sora", var(--sans);
  font-size: clamp(20px, 1.75vw, 34px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.strip {
  margin-top: clamp(28px, 3vw, 48px);
  aspect-ratio: 32 / 9;
  overflow: hidden;
  background: var(--black);
}
.strip { position: relative; }
.strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip video.is-waiting { visibility: hidden; }

.statement {
  margin: clamp(64px, 9vw, 160px) 0 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(44px, 9vw, 180px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

/* The closing statement mirrors the opening one: same size, same column */
.intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--margin);
  margin: clamp(40px, 5vw, 80px) 0 0;
}
.intro-body > p {
  grid-column: 2;
  margin: 0;
  max-width: 24em;
  font-family: "Sora", var(--sans);
  font-size: clamp(20px, 1.75vw, 34px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

/* Services: black again. A heading, then the eight services as a mosaic of film tiles. */

.services { padding: clamp(64px, 8vw, 140px) var(--margin); }

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--margin);
  align-items: start;
  margin-bottom: clamp(44px, 5.5vw, 96px);
}
.services-title {
  margin: 0;
  max-width: 14em;
  font-family: "Sora", var(--sans);
  font-size: clamp(30px, 3.4vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.services-text {
  margin: clamp(18px, 1.8vw, 28px) 0 0;
  max-width: 30em;
  font-family: "Sora", var(--sans);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(246, 245, 241, 0.72);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  /* Tall, short, tall, short: the rows alternate like a contact sheet */
  grid-template-rows: clamp(220px, 26vw, 520px) clamp(200px, 21vw, 420px) clamp(220px, 26vw, 520px) clamp(200px, 21vw, 420px);
  gap: clamp(6px, 0.6vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile-1 { grid-column: span 7; }
.tile-2 { grid-column: span 5; }
.tile-3, .tile-4, .tile-5 { grid-column: span 4; }
.tile-6 { grid-column: span 5; }
.tile-7 { grid-column: span 7; }
.tile-8 { grid-column: span 12; }

.tile {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  outline: none;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72));
  transition: background-color 500ms ease;
  pointer-events: none;
}

.tile-text {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 560ms cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  left: clamp(14px, 1.3vw, 24px);
  right: clamp(14px, 1.3vw, 24px);
  bottom: clamp(14px, 1.3vw, 24px);
  z-index: 1;
}
.tile h3 {
  margin: 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tile p {
  min-height: 0;
  margin: 0;
  padding-top: 0.6em;
  max-width: 28em;
  overflow: hidden;
  font-family: "Sora", var(--sans);
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.4;
  text-wrap: pretty;
  color: rgba(246, 245, 241, 0.82);
  opacity: 0;
  transition: opacity 260ms ease;
}

.tile:hover::after,
.tile:focus-visible::after { background-color: rgba(0, 0, 0, 0.28); }
.tile:hover .tile-text,
.tile:focus-visible .tile-text { grid-template-rows: auto 1fr; }
.tile:hover p,
.tile:focus-visible p { opacity: 1; transition: opacity 420ms ease 120ms; }
.tile:focus-visible { box-shadow: inset 0 0 0 1px var(--ivory); }

.text-link {
  display: inline-block;
  margin-top: clamp(28px, 3vw, 48px);
  padding-bottom: 4px;
  font-family: "Sora", var(--sans);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.text-link:hover,
.text-link:focus-visible { background-size: 0 1px; background-position: right bottom; }

/* The plain grid: the same cards with no picture, a hairline edge and nothing else */
.mosaic.is-plain .tile { background: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(246, 245, 241, 0.12); transition: background-color 560ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 560ms cubic-bezier(0.16, 1, 0.3, 1); }
.mosaic.is-plain .tile::after { display: none; }
.mosaic.is-plain .tile:hover,
.mosaic.is-plain .tile:focus-visible { background: #141414; box-shadow: inset 0 0 0 1px rgba(246, 245, 241, 0.32); }
.mosaic.is-plain .tile:focus-visible { box-shadow: inset 0 0 0 1px var(--ivory); } /* keyboard focus reads clearly */

/* A faint grey grid behind each card, like squared paper */
.mosaic.is-grid .tile {
  background-image:
    linear-gradient(rgba(150, 150, 150, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 150, 150, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

/* The monogram sits in each card's top-right corner. Pointing at the card turns it once,
   a full revolution about its upright axis, and it settles back exactly where it began. */
.tile-mark {
  position: absolute;
  top: clamp(16px, 1.6vw, 26px);
  right: clamp(16px, 1.6vw, 26px);
  width: clamp(22px, 1.9vw, 32px);
  height: auto;
  fill: var(--ivory);
  opacity: 0.42;
  transition: opacity 560ms cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: visible;
}
.tile:hover .tile-mark,
.tile:focus-visible .tile-mark { opacity: 0.95; }
.tile-mark.is-turning { animation: mark-turn 1100ms cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes mark-turn {
  from { transform: perspective(400px) rotateY(0deg); }
  to { transform: perspective(400px) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tile-mark.is-turning { animation: none; }
}

@media (hover: none) {
  .tile-text { grid-template-rows: auto 1fr; }
  .tile p { opacity: 1; }
}

@media (max-width: 800px) {
  .services-head { grid-template-columns: 1fr; gap: 20px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile, .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6, .tile-7, .tile-8 { grid-column: 1; height: auto; aspect-ratio: 4 / 3; }
}

/* Tablets: two cards to a row, so each keeps a card's proportions */
@media (min-width: 600px) and (max-width: 800px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile, .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6, .tile-7, .tile-8 { grid-column: auto; }
}

/* The remaining sections share one structure: a label, a heading, then their content.
   Ivory and black alternate down the page. */

.block { padding: clamp(64px, 8vw, 140px) var(--margin); }
.block.ivory { background: var(--ivory); color: var(--black); }
.block + .block.ivory,
.block.ivory + .block { margin-top: 0; }

.block-title {
  margin: 0;
  max-width: 14em;
  font-family: "Sora", var(--sans);
  font-size: clamp(30px, 3.4vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.block-lead {
  margin: clamp(20px, 2vw, 32px) 0 0;
  max-width: 24em;
  font-family: "Sora", var(--sans);
  font-size: clamp(20px, 1.75vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.block-text {
  margin: clamp(18px, 1.8vw, 28px) 0 0;
  max-width: 34em;
  font-family: "Sora", var(--sans);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  opacity: 0.72;
}
.block.ivory .block-text { opacity: 0.7; }

/* Two columns: content on the left, an object on the right */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--margin); align-items: start; }
.split-main .label { margin-bottom: clamp(28px, 3vw, 52px); }

/* About: the heading set very large, like the Introduction's */
.statement--light { margin-top: clamp(40px, 5vw, 80px); }

/* Contact */
.mail {
  display: inline-block;
  margin-top: clamp(28px, 3vw, 48px);
  padding-bottom: 4px;
  font-family: "Sora", var(--sans);
  font-size: clamp(22px, 2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mail:hover, .mail:focus-visible { background-size: 0 1px; background-position: right bottom; }

.inquiry { display: grid; gap: 26px; font-family: "Sora", var(--sans); }

.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--margin); }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0, 0, 0, 0.6); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 0;
  font: inherit;
  font-size: 18px;
  color: var(--black);
  outline: 0;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
/* The field in use: its line turns full black and doubles in weight */
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--black); box-shadow: 0 1px 0 var(--black); }
/* Custom dropdown. The native select stays in the form, hidden, and holds the value. */
.pick { position: relative; }
.pick select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.pick-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 0;
  font: inherit;
  font-size: 18px;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.pick-button:focus-visible,
.pick.is-open .pick-button { outline: 0; border-bottom-color: var(--black); box-shadow: 0 1px 0 var(--black); }
.pick-value { min-height: 1.4em; }
.pick-button svg { flex: none; width: 12px; height: 7px; margin-right: 2px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1); }
.pick.is-open .pick-button svg { transform: rotate(180deg); }
.field.has-error .pick-button { border-bottom-color: var(--signal); }

.pick-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  background: var(--ivory);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--black);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 420ms;
  scrollbar-width: thin;
}
.pick.is-open .pick-list { opacity: 1; transform: none; visibility: visible; transition: opacity 260ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
.pick-list:focus,
.pick-list:focus-visible { outline: 0; }
.pick-list li {
  position: relative;
  padding: 11px 20px;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}
.pick-list li.is-active { color: var(--black); background: rgba(0, 0, 0, 0.05); }
/* The chosen option is marked by weight alone */
.pick-list li[aria-selected="true"] { color: var(--black); font-weight: 600; }

/* A hairline chevron, drawn in the same 1px line as the field's underline */
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0.5 0.5 6 6 11.5 0.5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") right 2px center / 12px 7px no-repeat;
}
.field textarea { resize: none; min-height: 110px; line-height: 1.45; overflow: hidden; } /* grows with its text instead of a drag handle */
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--signal); }
.field-error { margin: 0; font-size: 13px; color: var(--signal); }
/* Cloudflare's person check: invisible unless it needs the visitor, then a full-width row above the button */
.human-check:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send {
  justify-self: start;
  height: 52px;
  padding: 0 28px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--ivory);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease;
}
.send:hover, .send:focus-visible { background: transparent; color: var(--black); }
.send:disabled, .send:disabled:hover { background: var(--black); color: var(--ivory); cursor: progress; } /* steady while sending */
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form-status.is-error { color: var(--signal); }
.form-status a { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }

/* Footer */
.footer { padding: clamp(64px, 8vw, 140px) var(--margin) 28px; font-family: "Sora", var(--sans); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.3em; font-size: clamp(52px, 11vw, 220px); font-weight: 600; line-height: 0.85; letter-spacing: -0.02em; }
.foot-mark { height: 0.82em; width: auto; fill: currentColor; }
.footer nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer nav a, .footer-base a { opacity: 0.7; transition: opacity 250ms ease; }
.footer nav a:hover, .footer-base a:hover { opacity: 1; }
.footer-line { margin: clamp(20px, 2vw, 32px) 0 0; font-size: clamp(16px, 1.3vw, 23px); opacity: 0.7; }
.footer-base { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 120px); padding-top: 20px; border-top: 1px solid rgba(246, 245, 241, 0.16); font-size: 13px; opacity: 0.75; }
.footer-base p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
/* The copyright mark drawn at the height of the capitals, in the weight of the letters */
.footer-base p { display: inline-flex; align-items: baseline; gap: 0.4em; }
/* Whole-pixel box and a fixed 1.2px line, so the mark lands on the screen's pixels and stays as sharp as the text */
.foot-copy { width: 11px; height: 11px; align-self: center; fill: none; stroke: currentColor; overflow: visible; shape-rendering: geometricPrecision; }
.foot-copy * { vector-effect: non-scaling-stroke; stroke-width: 1.2px; }

/* Pointing at the footer wordmark sends a wave through its letters: each rises a little and
   settles, one after another. Only their position on screen moves, so nothing reflows. */
.foot-word { display: inline-flex; }
.foot-word span { display: inline-block; }
.footer-brand.is-waving .foot-word span { animation: letter-wave 900ms cubic-bezier(0.33, 0, 0.2, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes letter-wave {
  0% { transform: translateY(0); }
  40% { transform: translateY(-0.12em); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand.is-waving .foot-word span { animation: none; }
}

@media (max-width: 800px) {
  .split, .field-row { grid-template-columns: 1fr; }
  
  
  
  
  
  .footer-base { flex-direction: column; }
}

/* 03 Our Approach: one section in three parts. Large type and open space carry it; a single
   timeline is the only rule, and the report is a dark document on the cards' grid. */

/* The opening matches About: label, statement and one sentence on the centre line */
.approach .label { justify-content: center; }
.approach .statement { margin-top: clamp(28px, 3.4vw, 56px); }
.approach-intro { max-width: 52em; margin: clamp(24px, 2.6vw, 44px) auto 0; text-align: center; text-wrap: balance; }

/* One scale for the whole section: statement, part title, item heading, body */
.approach { --approach-gap: clamp(96px, 10vw, 176px); }
.block.approach .block-text,
.approach .principles p,
.approach .timeline p { font-size: clamp(16px, 1.1vw, 20px); line-height: 1.5; letter-spacing: -0.01em; opacity: 0.78; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--margin);
  margin: clamp(48px, 5.2vw, 84px) 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.principles h3,
.timeline h4 {
  margin: 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(26px, 2.6vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.principles p,
.timeline p {
  margin: clamp(14px, 1.4vw, 22px) 0 0;
  max-width: 22em;
  font-family: "Sora", var(--sans);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  opacity: 0.68;
}

.part { margin-top: var(--approach-gap, clamp(96px, 12vw, 200px)); }
.part-title {
  margin: 0;
  max-width: 16em;
  font-family: "Sora", var(--sans);
  font-size: clamp(28px, 2.8vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
/* The principles mirror About's facts: equal columns, no gutter, two even lines each */
.approach .principles { gap: 0; }
.approach .principles li { padding: 0 clamp(8px, 0.8vw, 18px); }
.approach .principles p { max-width: 34em; margin-left: auto; margin-right: auto; text-wrap: balance; }

/* The timeline steps match the principles: centred columns, each point at its column's centre */
.approach .timeline { gap: 0; }
.approach .timeline li { padding: 0 clamp(8px, 0.8vw, 18px); text-align: center; }
.approach .timeline li::before { left: 50%; margin-left: -4.5px; }
.approach .timeline p { max-width: 34em; margin-left: auto; margin-right: auto; text-wrap: balance; }

/* Every part sits on the same two columns: its title on the left, its content on the right */
.part-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--margin); align-items: baseline; }
/* Lead and body share one measure; the lead is body-sized in full black so the title leads */
.part-copy { max-width: clamp(420px, 34vw, 660px); }
.part-copy .block-lead { margin: 0; max-width: none; font-size: clamp(18px, 1.4vw, 26px); line-height: 1.35; letter-spacing: -0.015em; }
.part-copy .block-text { max-width: none; }
.part-copy .block-text { margin: clamp(18px, 1.8vw, 28px) 0 0; }

/* The three steps hang from one line, each marked by a point on it */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--margin);
  margin: clamp(64px, 6.4vw, 112px) 0 0;
  padding: clamp(30px, 2.8vw, 46px) 0 0;
  list-style: none;
}
.timeline::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: currentColor; opacity: 0.85; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: calc(clamp(30px, 2.8vw, 46px) * -1 - 4px); left: 0; width: 9px; height: 9px; background: var(--signal); }

/* Standards beside the report */
.approach .standards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--margin); align-items: start; }
.standards-copy .block-text { margin-top: clamp(18px, 1.8vw, 28px); }
.marks { margin: clamp(32px, 3.4vw, 56px) 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
/* Six statements, each on its own line, parted by the form's hairline. No markers, and no rule
   above the first or below the last: the lines only separate. */
.marks li {
  padding: 0.9em 0;
  font-family: "Sora", var(--sans);
  font-size: clamp(18px, 1.45vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.marks li + li { border-top: 1px solid rgba(0, 0, 0, 0.18); }
.marks li:first-child { padding-top: 0; }
.marks li:last-child { padding-bottom: 0; }

/* The mark in pieces: a live 3D figure standing on a grid floor, on the service cards' near-black. The still mark
   shows until the 3D is drawn, and stays if it cannot be. */
.approach .stage {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(246, 245, 241, 0.12);
}
.approach .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; opacity: 0; transition: opacity 700ms ease; }
.approach .stage.is-ready canvas { opacity: 1; }
.stage-still { position: absolute; left: 50%; top: 50%; height: 54%; width: auto; transform: translate(-50%, -50%); fill: #d6d6d8; transition: opacity 500ms ease; }
.stage.is-ready .stage-still { opacity: 0; }

/* The engagement line: a red streak runs across the three steps and starts again; each step lights
   as it passes. main.js adds .is-cycle, and .is-vertical where the steps are stacked. */
.timeline.is-cycle { padding-top: 0; }
.timeline.is-cycle::before,
.timeline.is-cycle li::before { display: none; }
.timeline.is-cycle li { padding-top: clamp(52px, 4.4vw, 72px); transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.timeline.is-cycle.is-running li:not(.is-active) { opacity: 0.7; } /* resting steps stay readable */

/* The line, its signal and the three points. All HTML, so the moving parts run on the GPU. */
.timeline .cycle { position: absolute; left: 0; right: 0; top: 0; height: 24px; pointer-events: none; }
.timeline .cycle-clip { position: absolute; inset: 0; overflow: hidden; will-change: transform; } /* one layer for the line and its streak, so both land on the same pixel row */
.timeline .cycle-line { position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: #252524; }
.timeline .cycle-signal { position: absolute; left: 0; top: 0; width: var(--signal-length, 280px); height: 24px; will-change: transform; }
/* The streak is the line turning red: exactly the line's height and row, solid colour throughout,
   blending from the line's own colour to full red at its centre and back, so nothing shows through */
.timeline .cycle-core { position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: linear-gradient(90deg,
  #252524 0%, #4A2422 14%, #7E2420 28%, #B5251E 41%, #D4261C 50%, #B5251E 59%, #7E2420 72%, #4A2422 86%, #252524 100%); }
/* Each point is one small box holding its dot and its ring. The ring is that same box grown by an
   equal amount on every side, so it is always a true circle centred exactly on the dot. Whole
   pixels throughout, placed on whole pixels by the script, so no edge is rounded differently. */
.timeline .cycle-point { position: absolute; top: 8px; width: 9px; height: 9px; margin-left: -4px; }
.timeline .cycle-node { position: absolute; inset: 0; border-radius: 50%;
  background: var(--signal); opacity: 0.45; transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.timeline .cycle-node.is-lit { opacity: 1; }
/* The ring is drawn at its full size and grows into it, so its edge stays a crisp 1px throughout.
   It brightens quickly, then fades over the whole outward travel so it dissolves rather than stops. */
.timeline .cycle-ring { position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid var(--signal); box-sizing: border-box; opacity: 0; transform: scale(0.27); will-change: transform, opacity; }
.timeline .cycle-ring.is-firing { animation: cycle-ring-grow 1600ms cubic-bezier(0.22, 1, 0.36, 1) forwards, cycle-ring-fade 1600ms cubic-bezier(0.33, 0, 0.2, 1) forwards; }
@keyframes cycle-ring-grow { from { transform: scale(0.27); } to { transform: scale(1); } }
@keyframes cycle-ring-fade { 0% { opacity: 0; } 10% { opacity: 0.9; } 100% { opacity: 0; } }

@media (max-width: 800px) {
  .principles, .timeline, .part-head, .approach .standards { grid-template-columns: 1fr; }
  .part-head { gap: 24px; }
  .principles { gap: 36px; }
  .timeline { gap: 40px; padding-left: 22px; padding-top: 0; }
  .timeline::before { top: 0; bottom: 0; right: auto; width: 1px; height: auto; }
  .timeline li::before { top: 0.3em; left: -26px; }
  .approach .principles { gap: 36px; }
  .approach .timeline { gap: 40px; }
  .approach .timeline li { padding: 0; text-align: left; }
  .approach .timeline li::before { left: -26px; margin-left: 0; }
  .approach .timeline p { margin-left: 0; }
  
  .approach .stage { margin-top: 48px; }
}

/* Stacked steps: the same line and streak, turned to run top to bottom down the left side */
.timeline.is-cycle.is-vertical { padding-left: 38px; }
.timeline.is-cycle.is-vertical li { padding: 0; }
.timeline.is-vertical .cycle { right: auto; bottom: 0; width: 24px; height: auto; }
.timeline.is-vertical .cycle-line { left: 12px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.timeline.is-vertical .cycle-signal { width: 24px; height: var(--signal-length, 150px); }
.timeline.is-vertical .cycle-core { left: 12px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg,
  #252524 0%, #4A2422 14%, #7E2420 28%, #B5251E 41%, #D4261C 50%, #B5251E 59%, #7E2420 72%, #4A2422 86%, #252524 100%); }
.timeline.is-vertical .cycle-point { left: 8px; margin-left: 0; margin-top: -4px; }

/* 04 About: a centred, symmetrical composition. The label and heading on the centre line, three
   facts in equal columns, then one closing paragraph. Space does the separating. */
.about { --about-gap: clamp(80px, 10vw, 168px); text-align: center; }
.about .label { justify-content: center; }
.about { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
.about .statement { margin-top: clamp(28px, 3.4vw, 56px); }

.about .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  margin: clamp(48px, 5.2vw, 84px) auto 0;
}
.about .facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(8px, 0.8vw, 18px);
}
.about .facts h3 { font-size: clamp(26px, 2.6vw, 50px); white-space: nowrap; }
.about .facts p { max-width: 34em; margin-left: auto; margin-right: auto; font-size: clamp(14px, 1.02vw, 19px); letter-spacing: -0.015em; text-wrap: balance; } /* two even lines where it fits */

.about-close {
  max-width: 1320px;
  margin: clamp(44px, 4.6vw, 76px) auto 0;
}
.about-close p {
  max-width: none;
  white-space: nowrap;
  margin: 0 auto;
  font-family: "Sora", var(--sans);
  font-size: clamp(20px, 1.75vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

@media (max-width: 800px) {
  .about .facts { grid-template-columns: 1fr; }
  .about .facts li { padding: 28px 0; }
  .about .facts h3 { white-space: normal; }
  .about-close p { white-space: normal; }
}

/* Line-by-line arrival */
.reveal-line { display: block; }
.has-reveal [data-reveal] .reveal-line {
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 110ms);
}
.has-reveal [data-reveal].is-shown .reveal-line { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-reveal [data-reveal] .reveal-line { opacity: 1; transform: none; transition: none; }
}

/* Small phones: the large statements scale with the screen so the longest word always fits */
@media (max-width: 480px) {
  .statement { font-size: min(44px, 11vw); }
}

@media (max-width: 800px) {
  .intro-head { grid-template-columns: 1fr; gap: 20px; }
  .strip { aspect-ratio: 16 / 9; }
  .intro-body { grid-template-columns: 1fr; }
  .intro-body > p { grid-column: 1; }
}

@media (max-width: 800px) {
  .header { grid-template-columns: 1fr auto; }
  .nav, .side { display: none; }
  .menu-toggle { display: grid; }
  .brand { font-size: 20px; }
  .card-title, .card-row { padding: 28px; margin: -28px; }
  /* The title card keeps its desktop arrangement, scaled down to fit across the screen */
  .card-row { font-size: clamp(6.5px, 1.95vw, 14px); gap: clamp(7px, 2.2vw, 20px); letter-spacing: 0.02em; padding: 6px; margin: -6px; grid-template-columns: auto auto auto; }
  .card-mark { width: 2.63em; }
}

/* Privacy: one readable column on ivory, set in the site's type */
.policy { padding-top: clamp(56px, 6vw, 96px); }
.policy-title { margin: 0; font-family: "Sora", var(--sans); font-size: clamp(40px, 5.6vw, 96px); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; }
.policy-date { margin: 18px 0 0; font-family: "Sora", var(--sans); font-size: 15px; opacity: 0.6; }
.policy-body { max-width: 44em; margin-top: clamp(40px, 5vw, 80px); font-family: "Sora", var(--sans); font-size: clamp(16px, 1.1vw, 19px); line-height: 1.6; letter-spacing: -0.01em; }
.policy-body h2 { margin: 2.2em 0 0.5em; font-size: clamp(19px, 1.4vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body .policy-intro { margin-bottom: 0.4em; opacity: 1; }
.policy-body p { margin: 0 0 0.9em; opacity: 0.82; }
.policy-body strong { font-weight: 600; }
.policy-body a { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
