/* ==========================================================================
   Zuber & Co. — Fire Forensics Experts
   Editorial art direction · charcoal, warm white, muted grey, burnt orange
   --------------------------------------------------------------------------
   01  Tokens
   02  Reset & base
   03  Type & shared furniture
   04  Actions (buttons, links)
   05  Header & drawer
   06  Hero
   07  Casework band
   08  The work
   09  Scope
   10  Field record
   11  Method
   12  Field footage
   13  Fire decoded
   14  Why
   15  Contact
   16  Footer
   17  Motion
   18  Responsive
   ========================================================================== */

/* 01. Tokens --------------------------------------------------------------- */
:root {
  --ink: #171614;
  --ink-soft: #201f1c;
  --cream: #f7f3ed;
  --cream-2: #efe9e0;
  --cream-3: #e4dbcf;

  --ink-dim: #4f4a43;
  --muted: #6b665d;
  --on-dark: #efeadf;
  --on-dark-dim: #a7a198;

  --accent: #a8441f;
  --accent-on-dark: #d2714a;

  --rule: rgba(23, 22, 20, 0.16);
  --rule-soft: rgba(23, 22, 20, 0.09);
  --rule-dark: rgba(247, 243, 237, 0.2);
  --rule-dark-soft: rgba(247, 243, 237, 0.1);

  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --head: 76px;
  --sec: clamp(84px, 10.5vw, 168px);
  --gcol: clamp(14px, 1.7vw, 26px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --fg: var(--ink);
  --dim: var(--ink-dim);
  --line: var(--rule);
  --line-soft: var(--rule-soft);
  --btn-ink: var(--cream);
}

/* 02. Reset & base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15.5px, 0.32vw + 14.4px, 16.8px);
  font-weight: 400;
  line-height: 1.66;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

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

img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, ul, ol, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

p { color: var(--dim); }

::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 4px;
}

section[id],
div[id] { scroll-margin-top: calc(var(--head) + 20px); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip:focus { left: 16px; top: 16px; }

/* Tonal contexts */
.tone-cream {
  --fg: var(--ink);
  --dim: var(--ink-dim);
  --line: var(--rule);
  --line-soft: var(--rule-soft);
  --accent: var(--accent);
  --btn-ink: var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.tone-sand {
  --fg: var(--ink);
  --dim: var(--ink-dim);
  --line: var(--rule);
  --line-soft: var(--rule-soft);
  --accent: var(--accent);
  --btn-ink: var(--cream);
  background: var(--cream-2);
  color: var(--ink);
}

.tone-ink {
  --fg: var(--on-dark);
  --dim: var(--on-dark-dim);
  --line: var(--rule-dark);
  --line-soft: var(--rule-dark-soft);
  --accent: var(--accent-on-dark);
  --btn-ink: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

/* 03. Type & shared furniture --------------------------------------------- */
.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--fg);
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.85rem, 7.4vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.024em;
}

h3 {
  font-size: clamp(1.2rem, 1.1vw + 0.9rem, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
}

.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.lede {
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.1rem);
  line-height: 1.72;
  color: var(--dim);
  max-width: 56ch;
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--cream-3);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.cap-a {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fg);
}

.cap-b {
  flex: none;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.sec-head { margin-bottom: clamp(40px, 5vw, 76px); }

.sec-head > .label { margin-bottom: clamp(18px, 2vw, 28px); }

.sec-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.48fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.sec-head h2 { max-width: 19ch; }

.sec-head__aside {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 44ch;
  padding-bottom: 4px;
}

.sec-head__aside p {
  font-size: clamp(0.97rem, 0.3vw + 0.9rem, 1.05rem);
  line-height: 1.7;
  color: var(--dim);
  max-width: 42ch;
}

/* 04. Actions -------------------------------------------------------------- */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px 15px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn > svg {
  flex: none;
  transition: transform 0.45s var(--ease);
}

.btn:hover { color: var(--btn-ink); }
.btn:hover::before { transform: translateY(0); }
.btn:hover > svg { transform: translateX(3px); }

.btn--head {
  padding: 12px 18px 11px;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  gap: 12px;
}

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.btn--light::before { background: var(--accent-on-dark); }
.btn--light:hover {
  color: var(--cream);
  border-color: var(--accent-on-dark);
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  transition: color 0.35s var(--ease);
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.35s var(--ease), background 0.35s var(--ease);
}

.link svg {
  flex: none;
  transition: transform 0.4s var(--ease);
}

.link:hover { color: var(--accent); }
.link:hover::after { opacity: 1; }
.link:hover svg { transform: translateX(4px); }

/* 05. Header & drawer ------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: rgba(247, 243, 237, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 243, 237, 0.96);
  border-bottom-color: var(--rule-soft);
}

.head {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 27px; width: auto; transition: opacity 0.3s; }
.brand:hover img { opacity: 0.7; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.head__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: none;
  margin-left: clamp(20px, 3vw, 44px);
}

.head__tel {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.head__tel:hover { color: var(--accent); }

.burger {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: calc(var(--head) + 32px) var(--pad) 32px;
  background: var(--cream);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out), visibility 0s linear 0.6s;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s var(--ease-out), visibility 0s;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-soft);
}

.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 6.5vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.drawer__list svg { color: var(--muted); }

.drawer__foot { display: grid; gap: 24px; }

.drawer__contact {
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.drawer__contact a { color: var(--ink); }
.drawer__contact a:hover { color: var(--accent); }

/* 06. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--cream);
  padding-top: calc(var(--head) + clamp(20px, 3vw, 40px));
  padding-bottom: clamp(44px, 6vw, 84px);
}

.hero__mast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.hero__mast-r { text-align: right; }

.hero__title {
  margin-top: clamp(30px, 4.4vw, 64px);
  max-width: 100%;
}

.hero__title em {
  display: block;
  padding-right: clamp(0px, 4.5vw, 96px);
  margin-top: 0.04em;
  color: var(--accent);
  text-align: right;
}

.hero__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gcol);
  align-items: end;
  margin-top: clamp(28px, 3.6vw, 48px);
}

.hero__sub {
  grid-column: 1 / 6;
  max-width: 44ch;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.11rem);
  line-height: 1.66;
  color: var(--ink-dim);
}

.hero__actions {
  grid-column: 8 / 13;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-self: end;
}

.hero__film {
  position: relative;
  margin: clamp(36px, 5vw, 76px) 0 0;
  height: clamp(300px, 56vh, 600px);
  overflow: hidden;
  background: #1a1713;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero__video.is-ready { opacity: 1; }

.hero__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--ink-dim);
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.hero__cue svg { color: var(--accent); animation: nudge 3.2s var(--ease) infinite; }
.hero__cue:hover { color: var(--ink); }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero__scopes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(28px, 3.6vw, 48px);
  border-top: 1px solid var(--rule);
}

.hero__scopes li {
  padding: 16px 16px 16px 0;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hero__scopes li + li {
  padding-left: 18px;
  border-left: 1px solid var(--rule-soft);
}

/* 07. Casework band -------------------------------------------------------- */
.casework {
  background: var(--cream-2);
  border-top: 1px solid var(--rule-soft);
}

.casework__in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px clamp(20px, 3.4vw, 44px);
  padding-block: 20px;
}

.casework__in > .label { flex: none; }

.casework ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 12.5px;
  color: var(--ink-dim);
}

.casework li { display: inline-flex; align-items: center; }

.casework li + li::before {
  content: "·";
  margin: 0 11px;
  color: var(--muted);
}

/* 08. The work ------------------------------------------------------------- */
.work { padding-block: var(--sec); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gcol);
  row-gap: clamp(30px, 4vw, 56px);
}

.work__head { grid-column: 1 / 8; grid-row: 1; }

.work__head h2 {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 17ch;
  font-size: clamp(2.15rem, 4.2vw, 3.9rem);
  line-height: 1;
}

.work__fig {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
  align-self: start;
  margin: 0;
}

.work__fig .media { aspect-ratio: 4 / 5; }

.work__fig:hover .media img { transform: scale(1.03); }

.work__copy {
  grid-column: 1 / 7;
  grid-row: 2;
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 52ch;
}

.work__copy p { font-size: 0.99rem; line-height: 1.72; }
.work__copy strong { color: var(--fg); font-weight: 500; }

.work__copy .link { margin-top: 6px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

.pillar { padding: 30px clamp(20px, 2.4vw, 36px) 0 0; }

.pillar + .pillar {
  padding-left: clamp(20px, 2.4vw, 36px);
  border-left: 1px solid var(--line-soft);
}

.pillar h3 { margin-bottom: 10px; }

.pillar p {
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--dim);
  max-width: 34ch;
}

/* 09. Scope ---------------------------------------------------------------- */
.scope { padding-block: var(--sec); }

.scope__head-row { display: grid; grid-template-columns: 1fr; }

.scope .sec-head h2 { max-width: 18ch; }

.scope__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

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

.scope__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 26px;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: border-color 0.4s var(--ease);
}

.scope__lead h3 {
  transition: color 0.4s var(--ease), transform 0.5s var(--ease-out);
}

.scope__tags {
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.scope__desc {
  padding-top: 4px;
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--dim);
  max-width: 40ch;
}

.scope__arrow {
  display: inline-flex;
  justify-content: flex-end;
  padding-top: 6px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}

.scope__item:hover h3,
.scope__item:focus-visible h3,
.scope__item.is-active h3 { color: var(--accent); }

.scope__item:hover h3,
.scope__item:focus-visible h3 { transform: translateX(5px); }

.scope__item:hover .scope__arrow,
.scope__item:focus-visible .scope__arrow { opacity: 1; transform: translateX(0); }

.scope__mini { display: none; }

.scope__stage {
  position: sticky;
  top: calc(var(--head) + 32px);
  align-self: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}

.scope__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease-out);
}

.scope__frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.scope__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}

/* 10. Field record --------------------------------------------------------- */
.record { padding-block: var(--sec); }

.record__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gcol);
  row-gap: clamp(26px, 3.2vw, 52px);
}

.record__fig { margin: 0; }
.record__fig:hover .media img { transform: scale(1.03); }

.record__lead { grid-column: 1 / 8; }
.record__lead .media { aspect-ratio: 4 / 3; }

.record__tall {
  grid-column: 9 / 13;
  margin-top: clamp(0px, 4vw, 68px);
}
.record__tall .media { aspect-ratio: 4 / 5; }

.record__wide { grid-column: 1 / 13; }
.record__wide .media { aspect-ratio: 21 / 9; }

.record__half { grid-column: span 6; }
.record__half-a { grid-column: 1 / 6; }
.record__half-b { grid-column: 7 / 13; }
.record__half .media { aspect-ratio: 4 / 3; }

/* 11. Method --------------------------------------------------------------- */
.method { padding-block: var(--sec); }

.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 6.5vw, 112px);
  align-items: start;
}

.method__aside {
  position: sticky;
  top: calc(var(--head) + 44px);
  display: grid;
  justify-items: start;
}

.method__aside h2 {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 12ch;
}

.method__aside .lede { margin-top: 24px; max-width: 40ch; }

.method__fig { margin-top: clamp(32px, 3.8vw, 48px); width: 100%; }
.method__fig .media { aspect-ratio: 4 / 3; }

.method__body { display: grid; gap: clamp(26px, 3vw, 36px); }

.method__body > .lede { max-width: 54ch; }

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

.step { border-bottom: 1px solid var(--line); }

.step__btn {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 2vw, 24px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.step__no {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.35s;
}

.step__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.5vw, 1.62rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.014em;
  transition: transform 0.5s var(--ease-out), color 0.35s;
}

.step__sign { position: relative; width: 12px; height: 12px; justify-self: end; }

.step__sign::before,
.step__sign::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--fg);
  transform: translateY(-50%);
  transition: transform 0.4s var(--ease), background 0.35s, opacity 0.35s;
  opacity: 0.55;
}

.step__sign::after { transform: translateY(-50%) rotate(90deg); }

.step.is-open .step__sign::after { transform: translateY(-50%) rotate(0deg); }
.step.is-open .step__sign::before,
.step.is-open .step__sign::after { background: var(--accent); opacity: 1; }

.step:hover .step__title { transform: translateX(4px); }

.step__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.step.is-open .step__panel { grid-template-rows: 1fr; }

.step__panel > div { overflow: hidden; }

.step__panel p {
  padding: 0 40px 26px 58px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dim);
  max-width: 62ch;
}

.step.is-open .step__no { color: var(--accent); }

.method__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  max-width: 58ch;
}
.method__note svg { flex: none; margin-top: 2px; color: var(--accent); }

/* 12. Field footage -------------------------------------------------------- */
.reel { padding-block: var(--sec); }

.reel .sec-head { margin-bottom: clamp(34px, 4vw, 56px); }

.reel__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c0b0a;
  overflow: hidden;
}

.reel__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0c0b0a;
}

.reel__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 243, 237, 0.55);
  border-radius: 50%;
  background: rgba(17, 16, 14, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.1s linear;
}

.reel__play svg { margin-left: 3px; }

.reel__play:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  transform: scale(1.04);
}

.reel__player.is-playing .reel__play {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.reel__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.reel__meta h3 { font-size: clamp(1.1rem, 1.2vw, 1.3rem); }
.reel__meta .label { display: block; margin-top: 6px; }
.reel__meta > .label { flex: none; }

.reel__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: 24px;
}

.reel__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.reel__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0b0a;
  opacity: 0.52;
  transition: opacity 0.45s var(--ease);
}

.reel__thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.reel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.02);
  transition: transform 1s var(--ease-out), filter 0.5s;
}

.reel__dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 5px;
  background: rgba(10, 9, 8, 0.72);
  color: var(--cream);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.reel__name {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--dim);
  transition: color 0.35s;
}

.reel__btn:hover .reel__thumb { opacity: 0.85; }
.reel__btn:hover .reel__thumb img { transform: scale(1.04); }
.reel__btn:hover .reel__name { color: var(--fg); }

.reel__btn.is-active .reel__thumb { opacity: 1; }
.reel__btn.is-active .reel__thumb::after { transform: scaleX(1); }
.reel__btn.is-active .reel__thumb img { filter: saturate(0.9) contrast(1.02); }
.reel__btn.is-active .reel__name { color: var(--fg); }

/* 13. Fire decoded --------------------------------------------------------- */
.yt { padding-block: var(--sec); }

.yt .sec-head { margin-bottom: clamp(34px, 4.4vw, 60px); }

.yt__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.yt__stage iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.yt__feature { display: grid; gap: 18px; }

.yt__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--cream-2);
  overflow: hidden;
  cursor: pointer;
}

.yt__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.yt__poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0), rgba(10, 9, 8, 0.5));
}

.yt__poster:hover img { transform: scale(1.025); }

.yt__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cream);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.35s, color 0.35s;
}

.yt__poster:hover .yt__badge { background: var(--ink); color: var(--cream); }

.yt__cap {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.yt__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.4vw, 1.48rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--fg);
  max-width: 44ch;
}

.yt__date {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.yt__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.yt__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-2);
}

.yt__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  opacity: 0.92;
  transition: transform 0.9s var(--ease-out), opacity 0.4s, filter 0.4s;
}

.yt__txt { display: grid; gap: 6px; min-width: 0; }

.yt__ititle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.8px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--fg);
  transition: color 0.3s;
}

.yt__item time {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.yt__item:hover .yt__ititle { color: var(--accent); }
.yt__item:hover .yt__thumb img { transform: scale(1.05); }
.yt__item.is-active .yt__ititle { color: var(--accent); }
.yt__item.is-active .yt__thumb img { opacity: 1; filter: saturate(1); }

.yt__status,
.yt__error {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 0;
}

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

.yt__error { display: none; }
.yt__error a { text-decoration: underline; }

.yt__body.is-error .yt__error { display: block; }
.yt__body.is-error .yt__status { display: none; }

.yt__fallback {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  aspect-ratio: 16 / 9;
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--cream-2);
}

.yt__fallback h3 { max-width: 26ch; font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.yt__fallback .btn { margin-top: 6px; }

/* 14. Why ------------------------------------------------------------------ */
.why { padding-block: var(--sec); }

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}

.why__fig { margin: 0; }
.why__fig .media { aspect-ratio: 4 / 5; }
.why__fig:hover .media img { transform: scale(1.03); }

.why__body h2 {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 16ch;
}

.why__body .lede { margin-top: 24px; max-width: 46ch; }

.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3vw, 56px);
  margin-top: clamp(32px, 3.6vw, 48px);
}

.why__item {
  padding: 22px 0 6px;
  border-top: 1px solid var(--line);
}

.why__item h3 { font-size: clamp(1.12rem, 1vw, 1.28rem); }

.why__item p {
  margin-top: 9px;
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--dim);
  max-width: 32ch;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 84px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.industries > .label { flex: none; margin-right: clamp(4px, 1vw, 16px); }

.industries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(20px, 2.6vw, 34px);
}

.industries li {
  font-size: 0.94rem;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.industries li:hover { color: var(--accent); }

/* 15. Contact -------------------------------------------------------------- */
.contact { padding-block: clamp(80px, 9.5vw, 150px); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: start;
}

.contact__copy h2 {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 14ch;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.contact__copy h2 em { color: var(--accent); }

.contact__copy > p {
  margin-top: 26px;
  max-width: 46ch;
  color: var(--dim);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: clamp(30px, 3.6vw, 44px);
}

.contact__details { align-self: end; }

.contact__row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact__row:last-of-type { border-bottom: 1px solid var(--line); }

.contact__row .label { font-size: 9.5px; letter-spacing: 0.18em; }

.contact__val {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg);
  transition: color 0.3s;
}

a.contact__val:hover { color: var(--accent); }

.contact__note {
  margin-top: 22px;
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--dim);
}

/* 16. Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 5.4vw, 76px) 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.9fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer__brand img { height: 29px; width: auto; margin-bottom: 20px; }

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--dim);
  max-width: 34ch;
}

.footer__col h3 {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.footer__col a,
.footer__col address {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.88;
  transition: color 0.3s, opacity 0.3s;
}

.footer__col a:hover { color: var(--accent); opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 4.6vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* 17. Motion --------------------------------------------------------------- */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.w-i { display: inline-block; will-change: transform; }

[data-parallax] img { transform-origin: 50% 50%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .head__tel { display: none; }
  .nav { gap: 20px; }
  .scope__body { gap: 44px; }
}

@media (max-width: 1024px) {
  .sec-head__row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sec-head__aside { max-width: 52ch; }
  .sec-head h2 { max-width: 24ch; }
  .hero__sub { grid-column: 1 / 7; }
  .hero__actions { grid-column: 8 / 13; }
  .work__head { grid-column: 1 / 8; }
  .work__fig { grid-column: 8 / 13; }
  .why__grid { gap: 56px; }
  .contact__grid { gap: 64px; }
}

@media (max-width: 960px) {
  :root { --head: 68px; }

  .nav { display: none; }
  .burger { display: flex; }
  .head__actions { margin-left: auto; gap: 16px; }
  .head__actions .btn--head { display: none; }

  .drawer { display: flex; }

  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero__sub { grid-column: 1 / -1; }
  .hero__actions { grid-column: 1 / -1; justify-self: start; }
  .hero__scopes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__scopes li:nth-child(4) { border-left: 0; padding-left: 0; }
  .hero__scopes li:nth-child(n + 4) { border-top: 1px solid var(--rule-soft); }

  .work__grid { display: block; }
  .work__head h2 { max-width: 20ch; }
  .work__fig { max-width: 560px; margin-top: 40px; }
  .work__copy { margin-top: 34px; max-width: 60ch; }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { padding: 22px 0 4px; border-top: 1px solid var(--line-soft); }
  .pillar:first-child { border-top: 0; padding-top: 26px; }
  .pillar + .pillar { border-left: 0; padding-left: 0; }
  .pillar p { max-width: 52ch; }

  .scope__body { grid-template-columns: minmax(0, 1fr); }
  .scope__stage { display: none; }
  .scope__item { grid-template-columns: minmax(0, 1fr) 26px; gap: 12px 18px; }
  .scope__lead { grid-column: 1; }
  .scope__desc { grid-column: 1 / -1; max-width: 56ch; padding-top: 0; }
  .scope__arrow { grid-column: 2; grid-row: 1; align-self: start; opacity: 0.6; transform: none; }
  .scope__mini { grid-column: 1 / -1; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 6px; }

  .record__lead { grid-column: 1 / 13; }
  .record__tall { grid-column: 1 / 13; margin-top: 0; }
  .record__tall .media { aspect-ratio: 16 / 9; }
  .record__wide { grid-column: 1 / 13; }
  .record__wide .media { aspect-ratio: 2 / 1; }
  .record__half-a { grid-column: 1 / 7; }
  .record__half-b { grid-column: 7 / 13; }

  .method__grid { grid-template-columns: minmax(0, 1fr); }
  .method__aside { position: static; }
  .method__aside h2 { max-width: 18ch; }
  .method__aside .lede { max-width: 54ch; }
  .method__fig { max-width: 520px; }
  .method__body { margin-top: 44px; }

  .yt__body { grid-template-columns: minmax(0, 1fr); }
  .yt__side { margin-top: 8px; }
  .yt__list { border-top: 1px solid var(--line); }

  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__fig { max-width: 560px; }
  .why__body { margin-top: 8px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__details { margin-top: 8px; }

  .footer__grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
  .footer__col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  .hero__mast { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__mast-r { text-align: left; }

  .hero__title em {
    text-align: left;
    padding-right: 0;
  }

  .hero__film { height: 62svh; }

  .hero__cap { flex-direction: column; gap: 12px; align-items: flex-start; }

  .hero__scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__scopes li:nth-child(n) { border-top: 1px solid var(--rule-soft); }
  .hero__scopes li:nth-child(-n + 2) { border-top: 0; }
  .hero__scopes li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__scopes li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule-soft); }
  .hero__scopes li:nth-child(3) { border-left: 0; }

  .casework__in { gap: 10px; }
  .casework ul { font-size: 12px; }

  .record__half-a,
  .record__half-b { grid-column: 1 / 13; }
  .record__wide .media { aspect-ratio: 3 / 2; }
  .record__lead .media { aspect-ratio: 3 / 2; }

  .reel__player { aspect-ratio: 4 / 3; }

  .reel__strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .reel__strip li { flex: 0 0 168px; }

  .reel__meta { flex-direction: column; align-items: flex-start; gap: 10px; }

  .yt__item { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }

  .why__list { grid-template-columns: minmax(0, 1fr); }
  .why__item:first-child { border-top: 1px solid var(--line); }

  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / 3; }
  .footer__col:last-child { grid-column: 1 / 3; }

  .footer__bottom { flex-direction: column; gap: 8px; }

  .step__panel p { padding: 0 10px 24px 0; }
  .step__btn { grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; }
}

@media (max-width: 520px) {
  :root { --head: 62px; --sec: 76px; }

  .brand img { height: 23px; }

  .hero__title { font-size: clamp(2.4rem, 10.6vw, 3.2rem); }
  .hero__film { height: 58svh; }
  .hero__actions { gap: 22px; }

  .sec-head h2 { max-width: none; }

  .work__head h2 { font-size: clamp(1.95rem, 8.4vw, 2.6rem); }

  .scope__item { padding: 20px 0; }

  .yt__item { grid-template-columns: 82px minmax(0, 1fr); }
  .yt__ititle { font-size: 12px; }

  .contact__row { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }

  .reel__player { aspect-ratio: 3 / 4; }

  .cap-b { letter-spacing: 0.12em; }
}

@media (min-width: 961px) {
  .drawer { display: none; }
}
