/* Layout: a white wall of images, text held in one left-aligned column, and a single red dot (the tancho) that marks where you are. */
:root {
  --paper: #FFFFFF;
  --ink: #0E0E0E;
  --koi: #E3001B;
  --mute: #6E6A68;
  --rule: #E8E5E3;
  --well: #F3F1EF;
  --scrim: rgba(14, 14, 14, 0.55);
  --on-film: #FFFFFF;

  --font: "Jost", "Futura PT", Futura, "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.3125rem;
  --t-title: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  --t-statement: clamp(2.25rem, 1rem + 4.6vw, 4.75rem);
  --t-hero: clamp(2.75rem, 0.9rem + 8.4vw, 8.5rem);

  --gutter: clamp(16px, 3.4vw, 48px);
  --gap: clamp(12px, 1.4vw, 20px);
  --row: clamp(48px, 6.5vw, 96px);
  color-scheme: light;
}

html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-inline: var(--gutter);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10;
}
.skip:focus { top: 12px; }

/* ---------- header */
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 32px;
  padding-block: clamp(18px, 2.4vw, 32px);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.125rem; font-weight: 450; letter-spacing: 0.01em;
}
.brand .mark { display: block; height: 42px; width: auto; }
.site-head ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 2.6vw, 36px);
}
.site-head nav a { position: relative; display: inline-block; padding-block: 6px; transition: color .15s; }
.site-head nav a:hover { color: var(--mute); }
.site-head nav a[aria-current="page"]::before,
.card-title::before,
.next-title::before {
  content: ""; position: absolute; left: -13px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--koi);
}

/* ---------- home */
.intro { padding-block: clamp(56px, 10vw, 152px) clamp(48px, 7vw, 112px); }
.intro h1 {
  font-size: var(--t-hero); font-weight: 300;
  line-height: 0.98; letter-spacing: -0.032em;
}
.lede {
  margin-top: clamp(16px, 2vw, 28px);
  font-size: var(--t-lead); line-height: 1.4; max-width: 40ch;
}
.lede a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

.work {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: var(--row);
  padding-bottom: var(--row);
}
.card { display: block; min-width: 0; }
.card--wide { grid-column: 1 / -1; }
.frame {
  display: block; position: relative; overflow: hidden; max-width: 100%;
  background: var(--well);
}
.frame img, .frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 14px;
}
.card-title { position: relative; }
.card-title::before, .next-title::before { transform: scale(0); transition: transform .2s ease; }
.card:hover .card-title::before, .card:focus-visible .card-title::before,
.next a:hover .next-title::before, .next a:focus-visible .next-title::before { transform: scale(1); }
.card-kind { color: var(--mute); font-size: var(--t-small); }

/* ---------- project */
.project-head {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end; gap: 16px 24px;
  padding-block: clamp(40px, 7vw, 104px) clamp(24px, 3.4vw, 48px);
}
.project-head h1 { font-size: var(--t-title); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
.project-meta { color: var(--mute); font-size: 0.9375rem; text-align: right; font-variant-numeric: tabular-nums; }
.plates { display: grid; gap: var(--gap); }
.plate { margin: 0; background: var(--well); min-width: 0; }
.plate img { display: block; width: 100%; height: auto; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.next { margin-top: var(--row); border-top: 1px solid var(--rule); padding-block: clamp(28px, 4vw, 56px) var(--row); }
.next a { display: inline-flex; flex-direction: column; gap: 6px; }
.next-label { color: var(--mute); font-size: 0.9375rem; }
.next-title { position: relative; font-size: var(--t-title); line-height: 1.05; letter-spacing: -0.015em; }
.next-title::before { left: -16px; }

/* ---------- film */
.film {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 16 / 9; max-width: 100%;
  background: var(--ink); color: var(--on-film);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.film-start {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px;
  padding: clamp(16px, 2.6vw, 36px);
  border: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--on-film);
  background: linear-gradient(to top, var(--scrim), rgba(14, 14, 14, 0) 50%);
}
.film-start-label {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); font-weight: 400; letter-spacing: -0.01em;
}
.film-start-label::before {
  content: ""; width: 0.38em; height: 0.38em; border-radius: 50%; background: var(--koi);
  transition: transform .2s ease;
}
.film-start:hover .film-start-label::before { transform: scale(1.3); }
.film-start-note { font-size: var(--t-small); opacity: 0.85; }
.film-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px);
  padding: 14px clamp(12px, 2vw, 24px);
  background: linear-gradient(to top, var(--scrim), rgba(14, 14, 14, 0));
  font-size: var(--t-small);
  transition: opacity .3s ease;
}
.film.is-idle .film-bar { opacity: 0; }
.film.is-idle { cursor: none; }
.film-bar button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font: inherit; color: inherit; white-space: nowrap;
}
.film-track { position: relative; flex: 1; min-width: 40px; height: 20px; display: flex; align-items: center; cursor: pointer; }
.film-track::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, 0.3); }
.film-fill { position: relative; display: block; width: 0; height: 2px; background: var(--koi); }
.film-time { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- inner pages */
.page-intro { padding-block: clamp(56px, 9vw, 136px) clamp(32px, 5vw, 72px); }
.page-intro h1 {
  font-size: var(--t-statement); font-weight: 300;
  line-height: 1.04; letter-spacing: -0.025em; max-width: 20ch;
}
.steps {
  list-style: none; margin: 0; padding: 24px 0 0;
  counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
.steps li { counter-increment: step; min-width: 0; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 28px;
  color: var(--mute); font-size: var(--t-small); font-variant-numeric: tabular-nums;
}
.steps h2 { font-size: var(--t-lead); font-weight: 400; margin-bottom: 10px; }
.steps p { max-width: 34ch; }

.block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px clamp(20px, 3vw, 40px);
  padding-top: var(--row);
}
.block:last-of-type { padding-bottom: var(--row); }
.block > :not(.block-title) { grid-column: 2; }
.block-title { grid-column: 1; font-size: 1rem; font-weight: 450; }
.plain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 640px; }
.plain li { padding-block: 11px; border-bottom: 1px solid var(--rule); }
.times { border-collapse: collapse; width: 100%; max-width: 640px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--rule); }
.times th, .times td { padding-block: 11px; border-bottom: 1px solid var(--rule); font-weight: 400; text-align: left; vertical-align: top; }
.times td { text-align: right; padding-left: 24px; white-space: nowrap; }
.note, .channel-sub { color: var(--mute); font-size: 0.9375rem; }
.cta { font-size: var(--t-lead); }
.cta a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

.prose { display: grid; gap: 1em; max-width: 36em; font-size: 1.1875rem; line-height: 1.6; }

.channels {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--rule); padding-top: 24px;
}
.channel { min-width: 0; }
.channel-value {
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 2.75rem); font-weight: 300; letter-spacing: -0.015em; line-height: 1.15;
  overflow-wrap: anywhere;
}
.channel-value a:hover { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.copy {
  font: inherit; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
  background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px;
}
.copy:hover { background: var(--ink); color: var(--paper); }

/* ---------- footer */
.site-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline;
  gap: 14px 40px;
  border-top: 1px solid var(--rule);
  padding-block: 28px 44px;
  font-size: 0.9375rem;
}
.foot-mail:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.foot-links a:hover { color: var(--mute); }
.foot-copy { color: var(--mute); }

/* ---------- reel and project story */
.film--reel { margin-bottom: var(--row); }
.story { padding-bottom: clamp(32px, 4.4vw, 64px); }
.story-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--rule); padding-block: 14px 18px;
}
.story-row p { max-width: 60ch; }

/* ---------- pictures, viewer */
picture { display: contents; }
.plate[data-zoom] { cursor: zoom-in; }
.viewer {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
}
.viewer::backdrop { background: var(--paper); }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.viewer-stage {
  display: flex; align-items: center; justify-content: center; min-height: 0;
  padding: clamp(12px, 3vw, 40px) clamp(12px, 3vw, 40px) 0;
}
.viewer-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer-bar {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  padding: 16px clamp(16px, 3vw, 40px) calc(16px + env(safe-area-inset-bottom, 0px));
  font-size: 0.9375rem;
}
.viewer-count { margin-right: auto; color: var(--mute); font-variant-numeric: tabular-nums; }
.viewer-bar button { background: none; border: 0; padding: 6px 0; font: inherit; color: inherit; cursor: pointer; }
.viewer-bar button:hover { color: var(--mute); }

/* ---------- FAQ */
.faq { padding-top: var(--row); padding-bottom: var(--row); }
.faq-title { font-size: var(--t-lead); font-weight: 400; margin-bottom: 16px; }
.faq .story-row:last-child { border-bottom: 1px solid var(--rule); }
.faq a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* ---------- brief form */
.brief { display: grid; gap: 28px; max-width: 760px; padding-bottom: var(--row); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 0.9375rem; color: var(--mute); padding: 0; }
.brief input[type="text"], .brief input[type="email"], .brief input[type="date"], .brief select, .brief textarea {
  width: 100%; box-sizing: border-box;
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: 8px 0; appearance: none;
}
.brief select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px;
}
.brief textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: none; border-bottom-width: 2px; padding-bottom: 7px; }
.brief input:focus-visible, .brief select:focus-visible, .brief textarea:focus-visible { outline: none; }
.brief ::placeholder { color: var(--mute); opacity: 0.7; }
.brief [aria-invalid="true"] { border-bottom-color: var(--koi); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 0.9375rem; color: var(--ink); transition: border-color .15s, background .15s, color .15s;
}
.check:hover span { border-color: var(--ink); }
.check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.send {
  font: inherit; color: var(--paper); background: var(--ink); cursor: pointer;
  border: 1px solid var(--ink); border-radius: 999px; padding: 11px 24px;
}
.send:hover { background: var(--paper); color: var(--ink); }
.copy-brief { font: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.form-error { color: var(--koi); font-size: 0.9375rem; }

/* ---------- footer privacy */
.foot-copy { display: flex; gap: 24px; }
.foot-copy a:hover { color: var(--ink); }

/* ---------- narrow */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .work, .pair, .channels, .field-row { grid-template-columns: minmax(0, 1fr); }
  .project-head, .block, .story-row { grid-template-columns: minmax(0, 1fr); }
  .block > :not(.block-title) { grid-column: 1; }
  .project-meta { text-align: left; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::before { margin-bottom: 10px; }
  .site-foot { grid-template-columns: minmax(0, 1fr); }
  .times td { white-space: normal; }
  .film-full { display: none; }
  .site-head nav a[aria-current="page"] { padding-left: 12px; }
  .site-head nav a[aria-current="page"]::before { left: 0; }
}
@media (max-width: 420px) {
  .brand .mark { height: 36px; }
  .site-head ul { gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
