/* ------------------------------------------------------------------
   Tashkila — base stylesheet
   Monochrome, typographic, built around black & white production stills.
------------------------------------------------------------------- */

:root {
  --ink:        #0c0c0c;
  --ink-soft:   #3a3a38;
  --mute:       #605c57;   /* 4.5:1 on --paper — small labels must stay legible */
  --mute-dark:  #a9a49c;   /* 4.5:1 on --ink */
  --paper:      #f4f2ee;
  --paper-warm: #ebe7e0;
  --line:       rgba(12, 12, 12, 0.14);
  --line-soft:  rgba(12, 12, 12, 0.08);
  --sand:       #8a6a45;

  /* Baskervville carries the voice. It ships in ONE weight (400, roman and
     italic) — there is no bold, so hierarchy comes from size, space and colour,
     never from font-weight. Inter stays for small UI text, where a high-contrast
     serif at 12px would undo the legibility work. */
  --f-display: "Baskervville", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gut:   clamp(20px, 5vw, 72px);
  --maxw:  1440px;
  --rail:  clamp(56px, 7vw, 92px);

  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ---------- focus ----------
   Every interactive thing must show where the keyboard is. */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
.band--dark :focus-visible,
.site-foot :focus-visible,
.hero :focus-visible { outline-color: #fff; }

/* skip link — first thing in the tab order on every page */
.skip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translateY(0); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;          /* `hidden` here would break position:sticky */
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- type scale ---------- */

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.4rem;
}

/* A serif needs room its sans predecessor did not: looser leading for the
   descenders, near-neutral tracking, and ~8% more size for the smaller
   x-height. Weight stays 400 everywhere — it is the only one there is. */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
h3 {
  font-size: clamp(1.35rem, 2.05vw, 1.75rem);
  letter-spacing: -0.004em;
  line-height: 1.18;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* the main reading copy carries the serif too — this is where it earns its keep */
.lede {
  font-family: var(--f-display);
  font-size: clamp(1.16rem, 1.62vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.measure   { max-width: 62ch; }
.measure-s { max-width: 46ch; }

/* ---------- layout ---------- */

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

section { position: relative; }

.band {
  padding-block: clamp(72px, 11vh, 148px);
}

.band + .band { border-top: 1px solid var(--line-soft); }

.band--dark {
  background: var(--ink);
  color: var(--paper);
  border-top: none !important;
}
.band--dark .eyebrow { color: var(--mute-dark); }
/* hairline serifs thin out on black — give the reversed copy more of the paper */
.band--dark .lede    { color: rgba(244, 242, 238, 0.94); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- header ---------- */

/* Three explicit states rather than a blend mode over a moving canvas:
   default (ink on paper), over-hero (white on the film), stuck (solid bar). */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gut);
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}

.site-head[data-over-hero] {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.site-head[data-stuck] {
  background: rgba(244, 242, 238, 0.97);
  border-bottom-color: var(--line-soft);
  color: var(--ink);
  text-shadow: none;
}

.site-head[data-hidden="true"] { transform: translateY(-110%); }

.site-head a { text-decoration: none; }

/* The badge carries the wordmark, so it stands alone — no type beside it.
   Painted as a mask filled with currentColor, so it follows the header's
   over-hero / stuck states with no extra rules and one cached file. */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand__mark {
  display: block;
  width: 52px;
  height: 52px;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/mark.svg") center / contain no-repeat;
          mask: url("/assets/img/mark.svg") center / contain no-repeat;
}
@media (max-width: 860px) {
  .brand__mark { width: 44px; height: 44px; }
}

/* if masking is unavailable, fall back to the file itself rather than a blob */
@supports not (mask-image: url("/assets/img/mark.svg")) {
  .brand__mark {
    background: url("/assets/img/mark.svg") center / contain no-repeat;
  }
  .site-head[data-over-hero] .brand__mark { filter: invert(1); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
/* 12px, lighter tracking, and a 44px-tall hit area — 11px caps at 0.19em
   tracking with 27px of height was hard to read and hard to hit. */
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav a:hover         { border-bottom-color: currentColor; }
.nav a[aria-current] { border-bottom-color: currentColor; }

.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  padding-inline: 4px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-100%);
    /* not just moved off-screen: hidden, so it leaves the tab order */
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav a {
    font-size: 17px;
    letter-spacing: 0.12em;
    min-height: 52px;
    text-shadow: none;
  }
  body[data-nav="open"] .nav {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
  }
  body[data-nav="open"] .site-head {
    color: var(--paper);
    background: transparent;
    border-bottom-color: transparent;
    text-shadow: none;
  }
  body[data-nav="open"] { overflow: hidden; }
}

/* ---------- hero / scroll-world ---------- */

.hero {
  position: relative;
  /* Fallback for the 15-second film. hero.js recalculates this from the
     decoded duration so the same scroll cadence survives future swaps. */
  height: 650vh;
  background: #000;
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

/* poster underneath, clip on top — the clip fades in only once it has actually
   painted a frame, so there is never a black gap or a landscape flash */
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__video {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero__stage[data-video-ready] .hero__video { opacity: 1; }

/* the clip ends on black; this guarantees it, whatever the encode does */
.hero__fade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

/* The opening title. It is the page's only h1, so it is real text, not
   decoration — it carries the heading for search and for screen readers. */
.hero__intro {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding-inline: var(--gut);
  text-align: center;
  color: #fff;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}

.hero__tagline {
  margin: 0;
  /* `ch` ignores letter-spacing, so a ch-based measure wraps this far too
     early once 0.2em tracking is applied */
  max-width: 44rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}

/* the fading half of the overlay: place + scroll cue, bottom left */
.hero__hud {
  position: absolute;
  inset: auto auto calc(30px + env(safe-area-inset-bottom)) var(--gut);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero__place {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.62;
  margin: 0;
}

/* how far through the film you are — removes the "how long is this?" worry */
.hero__progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  transform-origin: left;
}
.hero__progress i {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* always available, never fades: leave the film and go straight to the page */
.hero__skip {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: var(--gut);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, opacity 0.4s;
}
.hero__skip:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
}
.hero__cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: currentColor;
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%       { transform: scaleY(0); opacity: 0; }
  35%      { transform: scaleY(1); opacity: 1; }
  70%,100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* the badge that lands out of the black */
.hero__mark {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  text-align: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
}
.hero__mark .mark {
  width: clamp(150px, 19vw, 250px);
  aspect-ratio: 1;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/mark.svg") center / contain no-repeat;
          mask: url("/assets/img/mark.svg") center / contain no-repeat;
}
@supports not (mask-image: url("/assets/img/mark.svg")) {
  .hero__mark .mark {
    background: url("/assets/img/mark.svg") center / contain no-repeat;
    filter: invert(1);
  }
}
.hero__mark p {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0;
}

/* ---------- lists & tables ---------- */

.spec {
  border-top: 1px solid var(--line);
  margin: 0;
}
.spec div {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) 1fr;
  gap: 16px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.spec dd { margin: 0; }
/* phone numbers and addresses are the most-tapped things on the site */
.spec dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.spec dd.stack { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 620px) { .spec div { grid-template-columns: 1fr; gap: 4px; } }

.cols {
  columns: 2;
  column-gap: clamp(28px, 5vw, 72px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cols li {
  break-inside: avoid;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 620px) { .cols { columns: 1; } }

/* ---------- service cards ---------- */

/* fixed column counts: 6 cards fill 3 x 2, 8 cards fill 4 x 2 — no orphan cells */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.services--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) {
  .services, .services--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services, .services--4 { grid-template-columns: 1fr; }
  .services article { min-height: 0; }
  .services .num { margin-bottom: 20px; }
}

.services article {
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 34px);
  min-height: 208px;
  display: flex;
  flex-direction: column;
}
.services .num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: clamp(30px, 4vw, 52px);
}
.services h3 { margin-bottom: 12px; }
.services p  { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- work index ---------- */

.work-list { border-top: 1px solid var(--line); }

.work-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.5fr);
  gap: 20px;
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
.work-row .idx    { font-size: 11px; color: var(--mute); letter-spacing: 0.1em; }
.work-row .title  { font-family: var(--f-display); font-size: clamp(1.1rem, 1.9vw, 1.55rem); letter-spacing: -0.015em; }
.work-row .client { font-size: 0.9rem; color: var(--mute); text-align: right; }
@media (max-width: 620px) {
  .work-row { grid-template-columns: 30px 1fr; row-gap: 4px; }
  .work-row .client { text-align: left; grid-column: 2; }
}

/* A row is a link only once it has somewhere to go. The rest stay plain, so
   the affordance has to be visible on the linked rows alone. */
.work-row--link { color: inherit; transition: background-color 0.2s var(--ease); }
.work-row--link .title { text-underline-offset: 5px; }
.work-row--link:hover { background: var(--paper-warm); }
.work-row--link:hover .title { text-decoration: underline; }

/* ---------- clients ---------- */

.clients-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(132px, 18vh, 196px);
  padding-bottom: clamp(54px, 8vh, 96px);
}

.clients-intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
}

.clients-intro__note {
  margin-top: 12px;
  color: var(--mute);
  font-size: 0.92rem;
}

.client-roll {
  padding-block: clamp(62px, 9vh, 112px);
  background: var(--ink);
  color: var(--paper);
}

.client-roll__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.client-roll__head h2,
.client-roll__head p {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.client-roll__head p {
  margin: 0;
  color: var(--mute-dark);
}

.client-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(30px, 6vw, 96px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-roster li {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding-block: 24px;
  border-top: 1px solid rgba(244, 242, 238, 0.2);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.2;
}

.client-roster li:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(244, 242, 238, 0.2);
}

.client-roster__index {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mute-dark);
}

.client-roster__logo {
  display: block;
  width: 52px;
  height: 34px;
  object-fit: contain;
  object-position: center;
}

.client-roster__logo--light {
  filter: grayscale(1) contrast(1.8) invert(1);
  mix-blend-mode: screen;
}

.client-roster__logo--alpha {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.9;
}

.client-roster__logo--native {
  filter: grayscale(1);
  opacity: 0.9;
}

@media (max-width: 860px) {
  .clients-intro { grid-template-columns: 1fr; gap: 10px; }
  .clients-intro .eyebrow { margin-bottom: 12px; }
  .client-roster { grid-template-columns: 1fr; }
  .client-roster li:nth-last-child(2) { border-bottom: 0; }
  .client-roster li:last-child { border-bottom: 1px solid rgba(244, 242, 238, 0.2); }
}

@media (max-width: 520px) {
  .clients-intro { padding-top: 118px; }
  .client-roll__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .client-roster li { grid-template-columns: 24px 42px minmax(0, 1fr); gap: 10px; }
  .client-roster__logo { width: 42px; height: 30px; }
}

/* ---------- props ---------- */

.props-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(132px, 18vh, 196px);
  padding-bottom: clamp(54px, 8vh, 96px);
}

.props-intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
}

.props-intro__note,
.prop-source__note {
  margin-top: 12px;
  color: var(--mute);
  font-size: 0.92rem;
}

.prop-store,
.studio-showcase {
  padding-block: clamp(62px, 9vh, 112px);
  background: var(--ink);
  color: var(--paper);
}

.prop-store__head,
.studio-showcase__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.prop-store__head h2,
.prop-store__head p,
.studio-showcase__head h2,
.studio-showcase__head p {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.prop-store__head p,
.studio-showcase__head p {
  margin: 0;
  color: var(--mute-dark);
}

.prop-gallery,
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px) clamp(20px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.prop-gallery li,
.prop-gallery figure,
.studio-gallery li,
.studio-gallery figure {
  min-width: 0;
  margin: 0;
}

.prop-gallery img,
.studio-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2500 / 1415;
  object-fit: cover;
  background: #eef3f4;
}

.prop-gallery figcaption,
.studio-gallery figcaption {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding-top: 15px;
  border-top: 1px solid rgba(244, 242, 238, 0.24);
}

.prop-gallery span,
.prop-gallery small,
.studio-gallery span,
.studio-gallery small {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-dark);
}

.prop-gallery strong,
.studio-gallery strong {
  font-family: var(--f-display);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  font-weight: 400;
  line-height: 1.2;
}

.prop-gallery small,
.studio-gallery small { text-align: right; }

.studio-gallery img { aspect-ratio: 4 / 3; }
.studio-gallery li:last-child { grid-column: 1 / -1; }
.studio-gallery li:last-child img { aspect-ratio: 16 / 9; }

.prop-source {
  padding-block: clamp(72px, 11vh, 148px);
  background: var(--paper);
}

.prop-source h2 { max-width: 14ch; }

@media (max-width: 860px) {
  .props-intro { grid-template-columns: 1fr; gap: 10px; }
  .props-intro .eyebrow { margin-bottom: 12px; }
  .prop-gallery,
  .studio-gallery { grid-template-columns: 1fr; }
  .studio-gallery li:last-child { grid-column: auto; }
  .studio-gallery li:last-child img { aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  .prop-gallery figcaption,
  .studio-gallery figcaption { grid-template-columns: 24px minmax(0, 1fr); row-gap: 6px; }
  .prop-gallery small,
  .studio-gallery small { grid-column: 2; text-align: left; }
}

@media (max-width: 520px) {
  .props-intro { padding-top: 118px; }
  .prop-store__head,
  .studio-showcase__head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.band--dark .btn:hover { background: var(--paper); color: var(--ink); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.arrow-link:hover { border-color: currentColor; }
.arrow-link span { transition: transform 0.35s var(--ease); }
.arrow-link:hover span { transform: translateX(5px); }

/* ---------- page header (inner pages) ---------- */

.page-head {
  /* was 140px minimum — on a phone that pushed the first useful line of the
     page (a phone number, a spec) below the fold for no reason */
  padding-top: clamp(104px, 18vh, 230px);
  padding-bottom: clamp(36px, 6vh, 84px);
}
.page-head h1 { max-width: 20ch; }

/* ---------- contact ---------- */

/* ---------- home after the film ---------- */

.home-statement,
.about-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(84px, 12vh, 148px);
  padding-bottom: clamp(72px, 10vh, 124px);
}

.about-intro { padding-top: clamp(132px, 18vh, 196px); }

.home-statement h2,
.about-intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
}

.home-statement__note {
  margin-top: 12px;
  color: var(--mute);
  font-size: 0.92rem;
}

.home-pillars,
.service-ledger {
  padding-block: clamp(62px, 9vh, 112px);
  background: var(--ink);
  color: var(--paper);
}

.home-pillars__head,
.service-ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.home-pillars__head h2,
.home-pillars__head p,
.service-ledger__head h2,
.service-ledger__head p {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-pillars__head p,
.service-ledger__head p {
  margin: 0;
  color: var(--mute-dark);
}

.home-pillars__list,
.service-ledger__list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-pillars__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.home-pillars__list li {
  display: flex;
  min-height: clamp(190px, 23vw, 280px);
  padding: clamp(22px, 3vw, 40px);
  flex-direction: column;
  border-top: 1px solid rgba(244, 242, 238, 0.2);
  border-bottom: 1px solid rgba(244, 242, 238, 0.2);
}

.home-pillars__list li + li { border-left: 1px solid rgba(244, 242, 238, 0.2); }

.home-pillars__list span,
.home-pillars__list small,
.service-ledger__list span,
.service-ledger__list small {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--mute-dark);
}

.home-pillars__list strong {
  margin-block: auto;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
}

.service-ledger__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(30px, 6vw, 96px);
}

.service-ledger__list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  min-height: 92px;
  padding-block: 26px;
  border-top: 1px solid rgba(244, 242, 238, 0.2);
}

.service-ledger__list li:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(244, 242, 238, 0.2);
}

.service-ledger__list strong {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.service-ledger__list small { text-align: right; }

@media (max-width: 860px) {
  .home-statement,
  .about-intro { grid-template-columns: 1fr; gap: 10px; }
  .home-statement .eyebrow,
  .about-intro .eyebrow { margin-bottom: 12px; }
  .home-pillars__list,
  .service-ledger__list { grid-template-columns: 1fr; }
  .home-pillars__list li { min-height: 170px; }
  .home-pillars__list li + li { border-left: 0; border-top: 0; }
  .service-ledger__list li:nth-last-child(2) { border-bottom: 0; }
  .service-ledger__list li:last-child { border-bottom: 1px solid rgba(244, 242, 238, 0.2); }
}

@media (max-width: 620px) {
  .service-ledger__list li { grid-template-columns: 24px minmax(0, 1fr); row-gap: 7px; }
  .service-ledger__list small { grid-column: 2; text-align: left; }
}

@media (max-width: 520px) {
  .about-intro { padding-top: 118px; }
  .home-pillars__head,
  .service-ledger__head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* ---------- studio blueprint ---------- */

.studio-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-top: clamp(132px, 18vh, 196px);
  padding-bottom: clamp(54px, 8vh, 96px);
}

.studio-intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
}

.studio-intro__note {
  margin-top: 12px;
  color: var(--mute);
  font-size: 0.92rem;
}

.blueprint {
  --blueprint-blue: #0a4694;
  --blueprint-line: rgba(229, 243, 255, 0.78);
  padding-block: clamp(58px, 8vh, 96px);
  color: #eef7ff;
  background-color: var(--blueprint-blue);
  background-image:
    linear-gradient(rgba(231, 244, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 244, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(231, 244, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 244, 255, 0.045) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

.blueprint__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.blueprint__head h2,
.blueprint__head p,
.blueprint-panel figcaption {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blueprint__head p { margin: 0; color: rgba(238, 247, 255, 0.72); }

.blueprint__drawings {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(238, 247, 255, 0.38);
}

.blueprint-panel {
  margin: 0;
  min-width: 0;
  background: rgba(5, 44, 99, 0.42);
}

.blueprint-panel figcaption {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(238, 247, 255, 0.28);
  color: rgba(238, 247, 255, 0.74);
}

.blueprint-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

.blueprint-panel svg * { vector-effect: non-scaling-stroke; }
.blueprint-fill { fill: #eef7ff; }
.bp-wall,
.bp-cyc,
.bp-line,
.bp-dash,
.bp-dim,
.bp-opening { fill: none; }
.bp-wall { stroke: #eef7ff; stroke-width: 2; }
.bp-cyc { stroke: #eef7ff; stroke-width: 2.2; }
.bp-line { stroke: var(--blueprint-line); stroke-width: 1; }
.bp-dash { stroke: var(--blueprint-line); stroke-width: 1.2; stroke-dasharray: 7 6; }
.bp-dim { stroke: var(--blueprint-line); stroke-width: 1; }
.bp-opening { stroke: var(--blueprint-blue); stroke-width: 8; }

.bp-title,
.bp-note,
.bp-dimension {
  font-family: var(--f-body);
  text-transform: uppercase;
}

.bp-title { fill: #eef7ff; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; }
.bp-note { fill: rgba(238, 247, 255, 0.72); font-size: 10px; letter-spacing: 0.13em; }
.bp-dimension { fill: #eef7ff; font-size: 11px; letter-spacing: 0.12em; }
.bp-room { fill: #eef7ff; font-family: var(--f-display); font-size: 18px; letter-spacing: 0.02em; }

.blueprint-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  border-top: 1px solid rgba(238, 247, 255, 0.32);
  border-left: 1px solid rgba(238, 247, 255, 0.32);
}

.blueprint-specs div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(238, 247, 255, 0.32);
  border-bottom: 1px solid rgba(238, 247, 255, 0.32);
}

.blueprint-specs dt {
  margin-bottom: 8px;
  color: rgba(238, 247, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blueprint-specs dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.35;
}

@media (max-width: 860px) {
  .studio-intro { grid-template-columns: 1fr; gap: 10px; }
  .studio-intro .eyebrow { margin-bottom: 12px; }
  .blueprint__drawings { grid-template-columns: 1fr; }
  .blueprint-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .studio-intro { padding-top: 118px; }
  .blueprint__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .blueprint-panel figcaption { padding-inline: 14px; }
  .blueprint-specs { grid-template-columns: 1fr; }
}

.contact-page {
  background: var(--ink);
  color: var(--paper);
}

.contact-page .site-head {
  color: var(--paper);
  background: var(--ink);
  border-bottom-color: rgba(244, 242, 238, 0.12);
}

.contact-page .site-head[data-stuck] {
  color: var(--paper);
  background: rgba(12, 12, 12, 0.97);
  border-bottom-color: rgba(244, 242, 238, 0.12);
}

.contact-page .site-head[data-over-hero] { color: var(--paper); }

.contact-page main { min-height: 100vh; }

.contact-shell {
  padding-top: clamp(132px, 18vh, 196px);
  padding-bottom: clamp(72px, 10vh, 132px);
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-bottom: clamp(44px, 7vh, 82px);
}

.contact-intro .eyebrow,
.contact-page .field label,
.contact-page .form-note { color: var(--mute-dark); }

.contact-intro h1 {
  max-width: none;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
}

.contact-intro__note {
  margin-top: 12px;
  color: rgba(244, 242, 238, 0.72);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-top: 1px solid rgba(244, 242, 238, 0.2);
  border-bottom: 1px solid rgba(244, 242, 238, 0.2);
}

.contact-direct,
.contact-form { padding-block: clamp(42px, 6vw, 76px); }

.contact-direct { padding-right: clamp(28px, 5vw, 76px); }

.contact-form {
  padding-left: clamp(28px, 5vw, 76px);
  border-left: 1px solid rgba(244, 242, 238, 0.2);
}

.contact-index,
.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-dark);
}

.contact-index {
  display: flex;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.contact-index span { color: var(--paper); }

.contact-direct h2,
.contact-form h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  margin-bottom: clamp(30px, 4vw, 50px);
}

.contact-email {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.25;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(52px, 8vw, 96px);
}

.contact-meta a,
.contact-meta p:not(.contact-label) {
  display: block;
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.08rem;
  line-height: 1.65;
  text-decoration: none;
}

/* The phone numbers are one editable list, so they share a wrapper. It must
   not introduce a box of its own. */
.contact-tels { display: contents; }

.contact-label { margin-bottom: 10px; }

.contact-page .field { margin-bottom: 24px; }

.contact-page .field input,
.contact-page .field textarea {
  border-bottom-color: rgba(244, 242, 238, 0.28);
}

.contact-page .field input:focus,
.contact-page .field textarea:focus { border-bottom-color: var(--paper); }

.contact-page .field input:focus-visible,
.contact-page .field textarea:focus-visible {
  outline-color: var(--paper);
  border-bottom-color: var(--paper);
}

.contact-page .field textarea { min-height: 104px; }

.contact-submit {
  margin-top: 8px;
  background: var(--paper);
  color: var(--ink);
}

.contact-submit:hover {
  background: transparent;
  color: var(--paper);
}

.contact-page .form-done { color: var(--paper); }

.contact-page .site-foot {
  border-top: 1px solid rgba(244, 242, 238, 0.12);
}

@media (max-width: 860px) {
  .contact-intro { grid-template-columns: 1fr; gap: 10px; }
  .contact-intro .eyebrow { margin-bottom: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-direct { padding-right: 0; }
  .contact-form {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(244, 242, 238, 0.2);
  }
}

@media (max-width: 520px) {
  .contact-shell { padding-top: 118px; }
  .contact-meta { grid-template-columns: 1fr; gap: 28px; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-bottom-color: var(--ink);
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }

.form-note,
.form-done {
  font-size: 0.86rem;
  color: var(--mute);
  margin: 14px 0 0;
  max-width: 46ch;
}
.form-done { color: var(--ink); }
.form-done[hidden] { display: none; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 8vh, 100px) 34px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244, 242, 238, 0.16);
}
.foot-grid h4 {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-bottom: 16px;
}
.foot-mark {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/mark.svg") center / contain no-repeat;
          mask: url("/assets/img/mark.svg") center / contain no-repeat;
}
@supports not (mask-image: url("/assets/img/mark.svg")) {
  .foot-mark {
    background: url("/assets/img/mark.svg") center / contain no-repeat;
    filter: invert(1);
  }
}
.site-foot .foot-grid > div > p { color: rgba(244, 242, 238, 0.78); }

.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li {
  display: block;
  padding-block: 4px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-dark);
}

/* ---------- scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ?flat review switch */
html.qa-flat [data-reveal] { opacity: 1; transform: none; transition: none; }
html.qa-flat .hero { display: none; }
html.qa-flat .site-head { opacity: 1 !important; pointer-events: auto !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero { height: 100vh; }
  /* one screen, no camera move — a progress bar and a scroll cue would lie */
  .hero__progress, .hero__cue { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- small layout utilities ----------
   These were inline style="" attributes. They are here so the Content-Security
   -Policy can refuse inline styles outright rather than allowing them
   site-wide for the sake of three declarations. */
.measure-30 { max-width: 30ch; }
.measure-46 { max-width: 46ch; margin-top: 18px; }
.band--flush { padding-top: 0; }
