/* Premier Roofing 2026 Brand Design System */

/* ─── Tokens ──────────────────────────────────────────────────────── */
:root {
  --ink:        #0a0907;
  --ink-2:      #14110e;
  --ink-3:      #1d1814;
  --bone:       #efeae1;
  --bone-2:     #d8d2c5;
  --bone-mute:  #8a847a;
  --line:       rgba(239, 234, 225, 0.12);
  --line-soft:  rgba(239, 234, 225, 0.06);
  --copper:     #D19A41;
  --copper-2:   #D19A41;
  --copper-3:   #9B7130;
  --signal:     #e85a2c;

  --serif:  "Open Sauce", "Open Sans", Arial, sans-serif;
  --sans:   "Liberation Sans", "Open Sans", Arial, sans-serif;
  --mono:   "Liberation Sans", "Open Sans", Arial, sans-serif;

  --pad-x:  clamp(20px, 4vw, 72px);
  --pad-y:  clamp(80px, 12vw, 200px);

  --ease:        cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power:  cubic-bezier(0.77, 0, 0.18, 1);
}

/* ─── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }
::selection { background: var(--copper); color: var(--ink); }

/* Subtle grain across the whole canvas */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── Type ────────────────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.92;
}
.display-italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-right: 10px; vertical-align: middle; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.label-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-mute);
}
.lead {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--bone);
}
.body {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--bone-2);
  max-width: 56ch;
}
.body--mute { color: var(--bone-mute); }

/* ─── Layout primitives ───────────────────────────────────────────── */
.container { padding-inline: var(--pad-x); }
.section   { padding-block: var(--pad-y); position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.divider { height: 1px; background: var(--line); border: 0; }

/* ─── Reveal animation ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-stagger="1"] { transition-delay: 0.08s; }
.reveal[data-stagger="2"] { transition-delay: 0.16s; }
.reveal[data-stagger="3"] { transition-delay: 0.24s; }
.reveal[data-stagger="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Loader ──────────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 100;
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader__inner {
  display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px;
  width: fit-content;
  position: relative; z-index: 1;
}
.loader__mark {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(52px, 8vw, 120px);
  letter-spacing: 0;
  color: var(--bone);
  overflow: hidden;
  white-space: nowrap;
}
.loader__mark span { display: inline-block; transform: translateY(110%); animation: loaderUp 1.1s var(--ease-out) forwards; }
.loader__bar {
  width: 100%; height: 3px; background: var(--line);
  position: relative; overflow: hidden;
}
.loader__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--copper);
  transform-origin: left;
  animation: loaderBar 1.4s var(--ease-power) forwards;
}
.loader.gone { opacity: 0; visibility: hidden; }
@keyframes loaderUp { to { transform: translateY(0); } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ─── Cursor ──────────────────────────────────────────────────────── */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select,
.has-custom-cursor [role="button"] { cursor: none; }

.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  pointer-events: none;
  z-index: 999;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  transition:
    width 0.35s var(--ease-out),
    height 0.35s var(--ease-out),
    background 0.35s,
    border 0.35s,
    mix-blend-mode 0s;
}
.cursor.is-hover {
  width: 36px;
  height: 36px;
  background: var(--bone);
}
.cursor.is-cta {
  width: 64px;
  height: 64px;
  background: transparent;
  border: 1.5px solid var(--copper-2);
  mix-blend-mode: normal;
  box-shadow: 0 0 0 6px rgba(201, 151, 79, 0.08);
}
.cursor.is-storm {
  width: 64px;
  height: 64px;
  background: transparent;
  border: 1.5px solid var(--signal);
  mix-blend-mode: normal;
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor { display: none; }
  .has-custom-cursor,
  .has-custom-cursor a,
  .has-custom-cursor button,
  .has-custom-cursor input,
  .has-custom-cursor textarea,
  .has-custom-cursor select { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
}

/* ─── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-block: 16px;
  background: rgba(10, 9, 7, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: block;
  width: clamp(158px, 12vw, 240px);
  height: clamp(54px, 4.1vw, 82px);
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("/assets/img/premier-logo-lockup.png") left center / contain no-repeat;
}
.nav__brand::after {
  content: none;
}
.nav__brand .mark {
  display: none;
}
.nav__links {
  display: flex; gap: 36px; justify-content: center;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-2);
  position: relative;
  padding-block: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--copper);
  transition: right 0.4s var(--ease-out);
}
.nav__links a:hover::after { right: 0; }
.nav__cta {
  justify-self: end;
  display: flex; align-items: center; gap: 14px;
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px var(--pad-x);
  }
  .nav__brand {
    min-width: 0;
    width: 158px;
    height: 54px;
  }
  .nav__brand .mark {
    display: none;
  }
  .nav__cta { gap: 10px; }
}

/* ─── Hamburger button (mobile only) ─────────────────────────────── */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.4s, border-color 0.4s;
}
.nav__burger:hover { border-color: var(--copper); }
.nav__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--bone);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, width 0.3s;
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 5px)); width: 12px; }
.nav__burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); width: 18px; }
@media (max-width: 900px) {
  .nav__burger { display: block; }
}
@media (max-width: 680px) {
  .nav__cta .btn { display: none; }
  .nav__cta { gap: 0; }
  .nav__burger {
    margin-left: 0;
    width: 46px;
    height: 46px;
  }
}

/* ─── Mobile menu drawer ─────────────────────────────────────────── */
.menu {
  display: none;          /* hard-hidden by default — no leak */
  position: fixed; inset: 0;
  z-index: 60;
  background: var(--ink);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  padding:
    calc(92px + env(safe-area-inset-top, 0px))
    var(--pad-x)
    calc(28px + env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.menu.is-open {
  display: flex;
  opacity: 1;
}
/* Belt-and-suspenders: also respect [hidden] attr in case JS hasn't run */
.menu[hidden] { display: none !important; }
.menu__list {
  display: grid; gap: 4px;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: 4px;
  -webkit-overflow-scrolling: touch;
}
.menu__list a {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(34px, 8.4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--bone);
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.menu__list a:last-child { border-bottom: 1px solid var(--line); }
.menu__list a::after {
  content: "→";
  font-family: var(--sans);
  font-size: 24px;
  color: var(--copper);
  transition: transform 0.4s var(--ease-out);
}
.menu__list a:hover { color: var(--copper); }
.menu__list a:hover::after { transform: translateX(8px); }
.menu.is-open .menu__list a { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__list a:nth-child(1) { transition-delay: 0.12s; }
.menu.is-open .menu__list a:nth-child(2) { transition-delay: 0.18s; }
.menu.is-open .menu__list a:nth-child(3) { transition-delay: 0.24s; }
.menu.is-open .menu__list a:nth-child(4) { transition-delay: 0.30s; }
.menu.is-open .menu__list a:nth-child(5) { transition-delay: 0.36s; }
.menu__foot {
  display: grid; gap: 10px;
  flex: 0 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.menu__foot a { color: var(--bone); border-bottom: 1px solid var(--copper); padding-bottom: 2px; display: inline-block; width: fit-content; }
.menu__foot .row { display: flex; gap: 16px; flex-wrap: wrap; }
body.menu-open { overflow: hidden; }
body.menu-open .nav {
  z-index: 70;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-height: 700px) and (max-width: 680px) {
  .menu {
    padding-top: calc(78px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }
  .menu__list a {
    font-size: clamp(29px, 7.6vw, 38px);
    padding: 10px 0;
  }
  .menu__list a::after { font-size: 20px; }
  .menu__foot {
    gap: 8px;
    padding-top: 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.5s var(--ease-out), background 0.5s, color 0.5s, border-color 0.5s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--copper); border-color: var(--copper); color: var(--ink); }
.btn .arr { display: inline-block; transition: transform 0.5s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}
.btn--ghost:hover { background: transparent; color: var(--copper); border-color: var(--copper); }

.btn--lg { padding: 18px 30px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s, border-color 0.4s, gap 0.4s var(--ease-out);
}
.link-arrow:hover { color: var(--copper); border-bottom-color: var(--copper); gap: 16px; }

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 56px;
  position: relative;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }
.hero__h1 {
  font-family: var(--serif);
  font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  font-size: clamp(64px, 12vw, 220px);
  line-height: 0.88;
  letter-spacing: 0;
}
.hero__h1 .em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1; color: var(--copper-2); }
.hero__h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.05em; padding-top: 0.05em; }
.hero__h1 .word > span { display: inline-block; transform: translateY(110%); animation: heroUp 1.4s var(--ease-power) forwards; animation-delay: var(--d, 0s); }
@keyframes heroUp { to { transform: translateY(0); } }

.hero__foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__sub {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.3;
  color: var(--bone);
  max-width: 32ch;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-mute);
  justify-self: end;
}
.hero__scroll::before {
  content: ""; width: 60px; height: 1px; background: var(--copper);
  animation: scrollPulse 2.4s ease-in-out infinite;
  transform-origin: left;
}
@keyframes scrollPulse { 0%, 100% { transform: scaleX(0.4); } 50% { transform: scaleX(1); } }
@media (max-width: 760px) {
  .hero__foot { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll { justify-self: start; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__meta { gap: 12px 24px; font-size: 10px; }
}

/* ─── Hero ambient video ────────────────────────────────────────── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  transform: translateZ(0);
}
.hero__video::-webkit-media-controls { display: none !important; }
.hero::after {
  /* Vignette to keep type readable over the video */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 100% at 50% 50%, transparent 0%, rgba(10,9,7,0.62) 75%, rgba(10,9,7,0.9) 100%),
    linear-gradient(180deg, rgba(10,9,7,0.52) 0%, transparent 30%, transparent 60%, rgba(10,9,7,0.7) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ─── Hero blueprint background animation ───────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  color: var(--copper);
  opacity: 0.56; /* layer dim combined with per-line opacity = very subtle */
}
.hero__bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg path,
.hero__bg line,
.hero__bg rect,
.hero__bg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  animation: bpDraw 18s ease-in-out infinite;
}
/* Per-phase tuning */
.hero__bg .bg-1 path { stroke-width: 1.4; --bp-op: 0.34; }
.hero__bg .bg-2 line { --bp-op: 0.18; stroke-dasharray: 2 4; stroke-width: 0.8; }
.hero__bg .bg-3 line { --bp-op: 0.22; }
.hero__bg .bg-4 rect { --bp-op: 0.28; }
.hero__bg .bg-5 circle { --bp-op: 0.30; }
.hero__bg .bg-6 line  { --bp-op: 0.20; stroke-dasharray: 3 3; stroke-width: 0.8; }

/* Joist dashed lines need the dasharray preserved while still drawing on,
   so use opacity-only fade for them (no stroke-dashoffset trick). */
.hero__bg .bg-2 line,
.hero__bg .bg-6 line {
  stroke-dashoffset: 0;
  animation-name: bpFade;
}

@keyframes bpDraw {
  0%, 100% { stroke-dashoffset: 100; opacity: 0; }
  3%       { opacity: var(--bp-op, 0.22); }
  16%      { stroke-dashoffset: 0; opacity: var(--bp-op, 0.22); }
  78%      { stroke-dashoffset: 0; opacity: var(--bp-op, 0.22); }
  92%      { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes bpFade {
  0%, 100% { opacity: 0; }
  6%, 78%  { opacity: var(--bp-op, 0.22); }
  92%      { opacity: 0; }
}

/* Reduce on small screens keep but quieter */
@media (max-width: 900px) {
  .hero__bg { opacity: 0.42; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg path,
  .hero__bg line,
  .hero__bg rect,
  .hero__bg circle {
    animation: none;
    stroke-dashoffset: 0;
    opacity: var(--bp-op, 0.18);
  }
}

/* Stack: video + blueprint behind, content above (logo keeps its absolute positioning) */
.hero > *:not(.hero__bg):not(.hero__logo):not(.hero__video) { position: relative; z-index: 1; }

/* ─── Hero generated brand mark ───────────────────────────────────── */
.hero__logo {
  --lift: 0;
  position: absolute;
  top: 55%;
  right: clamp(28px, 6vw, 96px);
  transform:
    translateY(calc(-50% - (var(--lift) * 52px)))
    scale(calc(1 + (var(--lift) * 0.025)));
  width: clamp(240px, 24vw, 390px);
  z-index: 1;
  pointer-events: auto;
  opacity: 0.9;
  cursor: grab;
  touch-action: none;
  transition: filter 0.28s var(--ease-out);
  will-change: transform;
}
.hero__logo::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 10%;
  bottom: 3%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(209, 154, 65, 0), rgba(209, 154, 65, 0.95) 18%, rgba(245, 203, 116, 0.95) 84%, rgba(209, 154, 65, 0));
  opacity: 0;
  transform: scaleX(0.36);
  transform-origin: center;
}
.hero__logo.is-dragging {
  cursor: grabbing;
  filter: brightness(1.08) saturate(1.05);
}
.hero__logo-mark {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 32px 34px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 calc(2px + (var(--lift) * 8px)) rgba(209, 154, 65, 0.14));
  transform-origin: 50% 88%;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .hero__logo:hover .hero__logo-mark {
    animation: hero-mark-hover-rise 1.8s cubic-bezier(0.2, 0.8, 0.22, 1) infinite;
  }
  .hero__logo:hover::after {
    animation: hero-mark-underline 1.8s cubic-bezier(0.2, 0.8, 0.22, 1) infinite;
  }
}

@keyframes hero-mark-hover-rise {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  44% {
    transform: translateY(-10px) scale(1.035);
  }
  66% {
    transform: translateY(-6px) scale(1.018);
  }
}

@keyframes hero-mark-underline {
  0%, 100% {
    opacity: 0;
    transform: scaleX(0.36);
  }
  28%, 68% {
    opacity: 0.86;
  }
  52% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo:hover .hero__logo-mark,
  .hero__logo:hover::after {
    animation: none;
  }
}

/* Cap title width on wide screens so it doesn't overlap the mark */
@media (min-width: 1100px) {
  .hero__h1  { max-width: 64%; }
  .hero__sub { max-width: 64%; }
}
/* Mobile: shrink hero mark and tuck it into top-right */
@media (max-width: 900px) {
  .hero__logo {
    top: 48%;
    right: 18px;
    transform: translateY(-50%);
    width: 180px;
    opacity: 0.24;
  }
  .hero__h1 { font-size: clamp(48px, 11vw, 96px); }
  .hero__foot { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
}
@media (max-width: 560px) {
  .hero__logo { display: none; }
  .hero__video { display: none; }
  .hero__bg    { opacity: 0.55; }
  .nav__brand { width: 140px; height: 48px; }
  .nav__brand .mark { display: none; }
}
@media (max-width: 390px) {
  .nav { padding-inline: 16px; }
  .nav__brand { width: 132px; height: 45px; }
  .nav__brand .mark { display: none; }
}

/* ─── Marquee ─────────────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 28px;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex; gap: 64px;
  width: max-content;
  animation: scroll 40s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
}
.marquee__track > span { display: inline-flex; align-items: center; gap: 64px; white-space: nowrap; }
.marquee__track > span::after {
  content: "✦"; color: var(--copper); font-size: 14px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ─── Studio / Intro section ──────────────────────────────────────── */
.studio {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.studio__lede {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--bone);
}
.studio__lede em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.studio__body { display: grid; gap: 24px; padding-top: 12px; }
.studio__body p { color: var(--bone-2); }
.studio__body .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
.studio__body .meta div { display: grid; gap: 6px; }
.studio__body .meta .num { font-family: var(--serif); font-size: 44px; font-weight: 320; color: var(--bone); letter-spacing: 0; line-height: 1; }
.studio__body .lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); font-weight: 320; line-height: 1.25; letter-spacing: 0; color: var(--bone); max-width: none; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }
#studio { padding-bottom: clamp(40px, 5vw, 72px); }

.studio__media {
  margin-top: clamp(24px, 3vw, 40px);
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--studio-poster) center / cover no-repeat #111109;
  border-radius: 2px;
}
.studio__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08) saturate(0.9);
}
.studio__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.03), rgba(10, 9, 7, 0.18)),
    radial-gradient(72% 85% at 50% 45%, rgba(10, 9, 7, 0), rgba(10, 9, 7, 0.24));
  box-shadow: inset 0 0 0 1px rgba(239, 234, 225, 0.05);
}
@media (prefers-reduced-motion: reduce) {
  .studio__media video { display: none; }
}

.process__media {
  margin-top: clamp(24px, 3vw, 40px);
  width: 100%;
  aspect-ratio: 7 / 5;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--process-poster) center / cover no-repeat #111109;
  border-radius: 2px;
}
.process__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) contrast(1.06) saturate(0.9);
}
.process__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.03), rgba(10, 9, 7, 0.16)),
    radial-gradient(72% 85% at 50% 45%, rgba(10, 9, 7, 0), rgba(10, 9, 7, 0.22));
  box-shadow: inset 0 0 0 1px rgba(239, 234, 225, 0.05);
}
@media (prefers-reduced-motion: reduce) {
  .process__media video { display: none; }
}

/* Services page section media */
.svc-chapter__left { display: flex; flex-direction: column; }
.svc-media {
  margin-top: clamp(24px, 3vw, 40px);
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--svc-poster) center / cover no-repeat #111109;
  border-radius: 2px;
}
.svc-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) contrast(1.06) saturate(0.92);
}
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.03), rgba(10, 9, 7, 0.18)),
    radial-gradient(72% 85% at 50% 45%, rgba(10, 9, 7, 0), rgba(10, 9, 7, 0.24));
  box-shadow: inset 0 0 0 1px rgba(239, 234, 225, 0.05);
}
@media (prefers-reduced-motion: reduce) {
  .svc-media video { display: none; }
}

/* ─── Services list ──────────────────────────────────────────────── */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.5s var(--ease-out);
}
.service:hover { padding-inline: 16px; }
.service::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 79, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.service:hover::before { opacity: 1; }
.service__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--copper); }
.service__name {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.service__name .em { font-style: italic; }
.service__desc { color: var(--bone-2); max-width: 48ch; position: relative; z-index: 1; }
.service__arrow {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--bone);
  transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease-out);
  position: relative; z-index: 1;
}
.service:hover .service__arrow { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .service { grid-template-columns: auto 1fr auto; }
  .service__desc { grid-column: 1 / -1; }
}

/* ─── Work / Portfolio ───────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px clamp(16px, 2.5vw, 32px);
  row-gap: clamp(40px, 5vw, 80px);
}
.work-card { position: relative; }
.work-card[data-span="6"] { grid-column: span 6; }
.work-card[data-span="7"] { grid-column: span 7; }
.work-card[data-span="5"] { grid-column: span 5; }
.work-card[data-span="8"] { grid-column: span 8; }
.work-card[data-span="4"] { grid-column: span 4; }
@media (max-width: 900px) {
  .work-card[data-span] { grid-column: span 12; }
}
.work-card__thumb {
  position: relative;
  aspect-ratio: var(--ar, 4/3);
  overflow: hidden;
  background: var(--ink-3);
  border-radius: 2px;
}
.work-card__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(201, 151, 79, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(20, 17, 14, 0.0) 0%, rgba(10, 9, 7, 0.65) 100%),
    var(--bg, linear-gradient(135deg, #1d1814 0%, #0a0907 100%));
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease-out), filter 0.6s;
}
.work-card:hover .work-card__thumb::before { transform: scale(1.05); }
.work-card__thumb::after {
  content: "";
  position: absolute; left: 24px; top: 24px;
  width: 8px; height: 8px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(201, 151, 79, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(201, 151, 79, 0.16); }
  50%      { box-shadow: 0 0 0 12px rgba(201, 151, 79, 0.04); }
}
.work-card__meta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px;
  margin-top: 18px;
  align-items: baseline;
}
.work-card__name {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: 0;
}
.work-card__name .em { font-style: italic; color: var(--copper-2); }
.work-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--bone-mute); text-transform: uppercase; }
.work-card__year { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--bone-mute); }

/* ─── Process timeline ───────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.process__steps { display: grid; gap: 0; }
.process__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process__step:first-child { border-top: 1px solid var(--line); }
.process__step .num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--copper);
  padding-top: 8px;
}
.process__step h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0;
  margin-bottom: 10px;
}
.process__step p { color: var(--bone-2); max-width: 50ch; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* ─── Stats band ─────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: grid; }
.stat__text { display: inline-grid; gap: 14px; width: fit-content; cursor: none; transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1); transform-origin: center; }
.stat .num {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: 0;
  font-variation-settings: "opsz" 80, "wght" 320, "SOFT" 30, "WONK" 0;
  transition: font-variation-settings 260ms cubic-bezier(0.16, 1, 0.3, 1), color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.stat .num .em { font-style: italic; color: var(--copper-2); }
.stat .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-mute); transition: color 260ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat__text:hover,
.stat__text.is-hovered { transform: scale(1.035); }
.stat__text:hover .num,
.stat__text.is-hovered .num { font-variation-settings: "opsz" 72, "wght" 360, "SOFT" 54, "WONK" 0.35; color: var(--copper-2); }
.stat__text:hover .lab,
.stat__text.is-hovered .lab { color: var(--copper-3); }

/* ─── Quote ──────────────────────────────────────────────────────── */
.quote { padding-block: clamp(80px, 12vw, 200px); padding-bottom: clamp(28px, 3.5vw, 52px); position: relative; }

/* Pull #locations top padding in so the label sits closer to quote content */
#locations { padding-top: clamp(20px, 2.5vw, 36px); }

/* EQ-wave canvas — in-flow band between label and cities grid */
#eq-canvas {
  display: block;
  position: relative;
  left: calc(-1 * var(--pad-x));
  width: calc(100% + 2 * var(--pad-x));
  height: clamp(220px, 20vw, 300px);
  margin-top: clamp(24px, 2.5vw, 40px);
  margin-bottom: clamp(24px, 2.5vw, 40px);
  z-index: 0;
  pointer-events: none;
}

.quote__mark {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(220px, 30vw, 440px);
  color: var(--copper);
  opacity: 0.08;
  top: 0; left: var(--pad-x);
  line-height: 0.7;
  pointer-events: none;
  font-variation-settings: "WONK" 1, "SOFT" 80;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(34px, 4.5vw, 74px);
  line-height: 1.18;
  letter-spacing: 0;
  max-width: 36ch;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote__text em { color: var(--copper-2); font-variation-settings: "WONK" 1; }
.quote__author {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-mute);
  position: relative;
}
.quote__author::before { content: ""; width: 48px; height: 1px; background: var(--copper); margin-bottom: 16px; }

/* ─── Locations ──────────────────────────────────────────────────── */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.location {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 16px;
}
.location .city {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: 0;
}
.location .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--copper); text-transform: uppercase; }
.location .addr { color: var(--bone-2); line-height: 1.55; }
.location .phone { font-family: var(--mono); font-size: 14px; color: var(--bone); margin-top: 4px; }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }

/* ─── CTA / Inspection block ─────────────────────────────────────── */
.cta-block {
  position: relative;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 12vw, 180px) var(--pad-x);
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 110%, rgba(201, 151, 79, 0.18), transparent 60%),
    radial-gradient(40% 60% at 0% -10%, rgba(201, 151, 79, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-block__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.cta-block h2 {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 8vw, 144px);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 12ch;
}
.cta-block h2 em { color: var(--copper-2); font-variation-settings: "WONK" 1; }
.cta-block__side {
  display: grid; gap: 24px;
  padding-bottom: 8px;
}
.cta-block__side p { color: var(--bone-2); max-width: 38ch; }
@media (max-width: 900px) { .cta-block__inner { grid-template-columns: 1fr; } }

/* ─── Footer ─────────────────────────────────────────────────────── */
.foot {
  background: var(--ink);
  padding: clamp(64px, 8vw, 120px) var(--pad-x) 32px;
}
.foot__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: 0;
  line-height: 0.95;
}
.foot__brand em { color: var(--copper-2); font-style: italic; font-variation-settings: "WONK" 1; }
.foot__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-mute); margin-bottom: 18px; }
.foot__col ul { display: grid; gap: 10px; }
.foot__col a { color: var(--bone-2); font-size: 14px; transition: color 0.3s; }
.foot__col a:hover { color: var(--copper); }
.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-mute);
  flex-wrap: wrap; gap: 16px;
}
.foot__bottom a { transition: color 0.3s; }
.foot__bottom a[href*="tellbyte.com"] {
  color: var(--copper-2);
  text-shadow: 0 0 18px rgba(212, 160, 92, 0.18);
}
.foot__bottom a:hover { color: var(--copper); }
@media (max-width: 900px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ─── Background section (alt) ───────────────────────────────────── */
.bg-2 { background: var(--ink-2); }

/* ─── Floating side label ────────────────────────────────────────── */
.side-mark {
  position: fixed;
  left: 16px;
  bottom: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
  z-index: 20;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (max-width: 900px) { .side-mark { display: none; } }

/* ════════════════════════════════════════════════════════════════════
   PAGE-LEVEL COMPONENTS
   ════════════════════════════════════════════════════════════════════ */

/* ─── Page hero (inner pages) ────────────────────────────────────── */
.page-hero {
  padding: 180px var(--pad-x) clamp(80px, 10vw, 140px);
  display: grid;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero--services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.page-hero--studio,
.page-hero--gallery {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 var(--pad-x) clamp(80px, 10vw, 140px);
  gap: 0;
}
.page-hero--studio .page-hero__intro,
.page-hero--gallery .page-hero__intro {
  position: relative;
  display: grid;
  gap: 48px;
  margin-inline: calc(-1 * var(--pad-x));
  padding: 180px var(--pad-x) 48px;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ink);
}
.page-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: brightness(0.54) contrast(1.08) saturate(0.76);
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 75% at 52% 40%, rgba(10, 9, 7, 0.22), rgba(10, 9, 7, 0.72) 72%, var(--ink) 100%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.18) 0%, rgba(10, 9, 7, 0.58) 100%);
}
.page-hero--services .page-hero__media video {
  opacity: 0.4;
  filter: brightness(0.48) contrast(1.12) saturate(0.72);
}
.page-hero--services .page-hero__media::after {
  background:
    radial-gradient(76% 78% at 50% 44%, rgba(10, 9, 7, 0.18), rgba(10, 9, 7, 0.76) 78%, var(--ink) 100%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.28) 0%, rgba(10, 9, 7, 0.68) 100%);
}
.page-hero--studio .page-hero__crumb,
.page-hero--studio .page-hero__title,
.page-hero--studio .page-hero__foot,
.page-hero--gallery .page-hero__crumb,
.page-hero--gallery .page-hero__title,
.page-hero--gallery .page-hero__foot,
.page-hero--services .page-hero__crumb,
.page-hero--services .page-hero__title,
.page-hero--services .page-hero__foot {
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .page-hero--studio .page-hero__intro,
.page-hero--gallery .page-hero__intro {
    gap: 36px;
    padding-top: 150px;
    padding-bottom: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__media video { display: none; }
}
.page-hero__crumb {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute);
}
.page-hero__crumb .sep { opacity: 0.4; }
.page-hero__crumb .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); display: inline-block; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 8.4vw, 168px);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 16ch;
}
.page-hero__title em {
  font-style: italic;
  color: var(--copper-2);
  font-variation-settings: "WONK" 1, "SOFT" 80;
  margin-right: 0.04em;
}
.page-hero__foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-hero__foot p { color: var(--bone-2); max-width: 56ch; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.6; }
.page-hero__meta { display: flex; gap: 32px; flex-wrap: wrap; justify-self: end; align-items: end; }
.page-hero__meta div { display: grid; gap: 6px; }
.page-hero__meta .num { font-family: var(--serif); font-weight: 360; font-size: 32px; letter-spacing: 0; line-height: 1; }
.page-hero__meta .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-mute); }
@media (max-width: 760px) {
  .page-hero__foot { grid-template-columns: 1fr; }
  .page-hero__meta { justify-self: start; }
}

/* ─── Two-col editorial split ────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split--rev { grid-template-columns: 1.2fr 1fr; }
.split h2 { font-family: var(--serif); font-weight: 320; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; letter-spacing: 0; }
.split h2 em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.split p + p { margin-top: 18px; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } }

/* ─── Timeline (horizontal scroll) ───────────────────────────────── */
.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr 2fr;
  gap: 40px;
  padding: clamp(28px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  position: relative;
}
.timeline__item .yr {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(36px, 3vw, 56px);
  letter-spacing: 0;
  color: var(--bone);
  line-height: 0.95;
}
.timeline__item .yr em { color: var(--copper-2); font-style: italic; }
.timeline__item h4 { font-family: var(--serif); font-weight: 360; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: 0; }
.timeline__item p { color: var(--bone-mute); max-width: 52ch; line-height: 1.6; margin-top: 4px; font-size: 15px; }
@media (max-width: 760px) {
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
  .timeline__item .yr { font-size: 32px; }
}

/* ─── Team grid ──────────────────────────────────────────────────── */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 28px);
}
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.team__card {
  display: grid; gap: 14px;
}
.team__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(165deg, #2a2018 0%, #0a0907 100%);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.team__photo::after {
  content: ""; position: absolute; inset: auto 16px 16px auto;
  width: 8px; height: 8px; background: var(--copper); border-radius: 50%;
}
.team__name { font-family: var(--serif); font-weight: 360; font-size: 22px; letter-spacing: 0; }
.team__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--bone-mute); text-transform: uppercase; }

/* ─── Logo strip / partners ──────────────────────────────────────── */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.logos__item {
  padding: 32px;
  border-right: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 360;
  font-size: 18px;
  color: var(--bone-2);
  letter-spacing: 0;
  text-align: center;
}
.logos__item:last-child { border-right: 0; }
@media (max-width: 760px) {
  .logos__item:nth-child(2n) { border-right: 0; }
  .logos__item { border-bottom: 1px solid var(--line); padding: 24px; }
}

/* ─── Service chapter (sticky-tab driven) ────────────────────────── */
.svc-tabs {
  position: sticky; top: 80px;
  align-self: start;
  display: grid; gap: 6px;
  z-index: 5;
}
.svc-tabs a {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.4s var(--ease-out);
}
.svc-tabs a:last-child { border-bottom: 1px solid var(--line); }
.svc-tabs a:hover { padding-left: 8px; color: var(--copper); }
.svc-tabs .num { font-family: var(--mono); font-size: 11px; color: var(--bone-mute); letter-spacing: 0.16em; }
.svc-tabs .nm  { font-family: var(--serif); font-size: 22px; font-weight: 360; letter-spacing: 0; }
.services-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
}

.svc-chapter {
  padding-block: clamp(56px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}
.svc-chapter:last-child { border-bottom: 0; }
.svc-chapter__head {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.svc-chapter__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--copper); padding-bottom: 12px; }
.svc-chapter__title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: 0;
  line-height: 0.95;
}
.svc-chapter__title em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.svc-chapter__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
}
.svc-chapter__lede { color: var(--bone-2); font-size: 17px; line-height: 1.6; max-width: 48ch; }
.svc-chapter__list { display: grid; gap: 18px; }
.svc-chapter__list li {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.svc-chapter__list li:last-child { border-bottom: 1px solid var(--line); }
.svc-chapter__list .key { font-family: var(--mono); font-size: 11px; color: var(--bone-mute); letter-spacing: 0.14em; }
.svc-chapter__list .val { font-family: var(--serif); font-size: 18px; font-weight: 360; letter-spacing: 0; }
.svc-chapter__list .val small { display: block; font-family: var(--sans); font-size: 13px; color: var(--bone-mute); margin-top: 2px; letter-spacing: 0; }
@media (max-width: 900px) {
  .svc-tabs { position: static; }
  .svc-chapter__body, .svc-chapter__head { grid-template-columns: 1fr; }
}

/* ─── Filter chips ───────────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-block: 32px 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.filters button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.filters button:hover { color: var(--copper); border-color: var(--copper); }
.filters button.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ─── Project archive grid ───────────────────────────────────────── */
.archive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(24px, 3vw, 48px);
}
@media (max-width: 760px) { .archive { grid-template-columns: 1fr; } }
.archive .work-card { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.archive .work-card.is-out { opacity: 0; transform: scale(0.96); pointer-events: none; }
.archive .work-card.is-hidden { display: none; }

/* ─── Gallery masonry ────────────────────────────────────────────── */
.gallery-row {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.gallery-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.gallery-row--2 { grid-template-columns: 1.4fr 1fr; }
.gallery-row--2-rev { grid-template-columns: 1fr 1.4fr; }
.gallery-row--mix { grid-template-columns: 1fr 1fr 1fr 1fr; }
@media (max-width: 760px) {
  .gallery-row--3, .gallery-row--2, .gallery-row--2-rev, .gallery-row--mix { grid-template-columns: 1fr 1fr; }
}
.gallery-tile {
  aspect-ratio: var(--ar, 4/3);
  background: var(--bg, linear-gradient(135deg, #1a1410 0%, #0a0907 100%));
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 0.6s var(--ease-out);
}
.gallery-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,9,7,0.7) 100%);
}
.gallery-tile:hover { transform: scale(1.01); }
.gallery-tile__cap {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
}
.gallery-tile__cap b { font-weight: 500; color: var(--copper-2); }

/* ─── Contact form ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 6vw, 96px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.form__row:last-of-type { border-bottom: 1px solid var(--line); }
.form__field { padding: 22px 0 22px; position: relative; display: grid; gap: 8px; }
.form__field + .form__field { border-left: 1px solid var(--line); padding-left: 24px; }
.form__field--full { grid-column: 1 / -1; }
.form__field--full + .form__field { border-left: 0; }
.form__field label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute);
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--bone);
  width: 100%;
  resize: none;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--bone-mute); opacity: 0.5; }
.form__field textarea { min-height: 80px; line-height: 1.4; }
.form__submit { padding-top: 32px; }
.form__row--single { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .form__row { grid-template-columns: 1fr; }
  .form__field + .form__field { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

.contact-side { display: grid; gap: 40px; }
.contact-side__big {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}
.contact-side__big em { font-style: italic; color: var(--copper-2); }
.contact-side .row {
  display: grid; gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.contact-side .row .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-mute); }
.contact-side .row .val { font-family: var(--serif); font-size: 20px; font-weight: 360; letter-spacing: 0; }

/* ─── Legal copy ─────────────────────────────────────────────────── */
.legal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
.legal__nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 4px; }
.legal__nav a {
  display: block;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-mute);
  border-top: 1px solid var(--line);
  transition: color 0.4s, padding 0.4s var(--ease-out);
}
.legal__nav a:hover { color: var(--copper); padding-left: 8px; }
.legal__nav a:last-child { border-bottom: 1px solid var(--line); }
.legal__body { max-width: 70ch; }
.legal__body section { margin-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: 100px; }
.legal__body h2 {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: 0;
  margin-bottom: 18px;
  line-height: 1.05;
}
.legal__body h2 em { font-style: italic; color: var(--copper-2); }
.legal__body h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 22px;
  margin: 28px 0 10px;
  letter-spacing: 0;
}
.legal__body p { color: var(--bone-2); margin-bottom: 14px; line-height: 1.7; }
.legal__body ul { margin: 12px 0 18px; padding-left: 18px; }
.legal__body li { color: var(--bone-2); margin-bottom: 8px; line-height: 1.6; list-style: disc; }
.legal__body strong { color: var(--bone); font-weight: 500; }

/* ─── 404 ────────────────────────────────────────────────────────── */
.fourohfour {
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  display: grid;
  align-content: center;
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.fourohfour__num {
  position: absolute;
  inset: auto auto -10vw 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 320;
  font-style: italic;
  font-size: clamp(220px, 50vw, 720px);
  line-height: 0.78;
  letter-spacing: 0;
  color: rgba(201, 151, 79, 0.12);
  pointer-events: none;
  font-variation-settings: "WONK" 1, "SOFT" 100;
}
.fourohfour__inner { position: relative; z-index: 1; max-width: 880px; }
.fourohfour h1 {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(56px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 32px;
}
.fourohfour h1 em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.fourohfour p { color: var(--bone-2); font-size: clamp(17px, 1.4vw, 22px); max-width: 48ch; line-height: 1.5; margin-bottom: 40px; }

/* ─── Drone reel callout ─────────────────────────────────────────── */
.reel {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 21/9;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(201, 151, 79, 0.4), transparent 70%),
    linear-gradient(180deg, #1a1410 0%, #0a0907 70%);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  margin-block: clamp(48px, 6vw, 96px);
}
.reel__inner {
  text-align: center; display: grid; gap: 20px;
}
.reel__title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}
.reel__title em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.reel__play {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid var(--bone);
  display: grid; place-items: center;
  margin: 0 auto;
  position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  color: var(--bone);
}
.reel__play::before {
  content: ""; width: 0; height: 0;
  border-left: 14px solid currentColor;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.reel__play:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); transform: scale(1.05); }

/* ─── Case study page ────────────────────────────────────────────── */
.case-hero {
  position: relative;
  min-height: 92vh;
  padding: 160px var(--pad-x) 80px;
  display: grid;
  align-content: end;
  gap: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-hero__bg {
  position: absolute; inset: 0;
  background: var(--bg, var(--ink-2));
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.case-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,7,0.65) 0%, rgba(10,9,7,0.4) 35%, rgba(10,9,7,0.85) 95%),
    linear-gradient(90deg, rgba(10,9,7,0.6) 0%, transparent 60%);
}
.case-hero > *:not(.case-hero__bg) { position: relative; z-index: 1; }
.case-hero__crumb {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bone-2);
}
.case-hero__crumb .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); display: inline-block; align-self: center; }
.case-hero__crumb .sep { opacity: 0.4; }
.case-hero__title {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 7.6vw, 152px);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 18ch;
}
.case-hero__title em { font-style: italic; color: var(--copper-2); font-variation-settings: "WONK" 1; }
.case-hero__meta {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-hero__meta div { display: grid; gap: 6px; }
.case-hero__meta .num {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0;
}
.case-hero__meta .lab {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-mute);
}

/* Project facts sidebar */
.facts {
  position: sticky; top: 100px;
  align-self: start;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.facts .lab {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-mute);
}
.facts .val {
  font-family: var(--serif); font-weight: 360;
  font-size: 17px; letter-spacing: 0; color: var(--bone);
}
.facts .val small { display: block; color: var(--bone-mute); font-family: var(--sans); font-size: 13px; margin-top: 2px; letter-spacing: 0; }

/* Big image full-bleed within a section */
.big-image {
  margin-block: clamp(64px, 8vw, 120px);
  aspect-ratio: 16/9;
  background: var(--bg, var(--ink-2)) center/cover no-repeat;
  position: relative;
  border-radius: 2px;
}
.big-image__cap {
  position: absolute;
  bottom: 16px; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.big-image__cap b { font-weight: 500; color: var(--copper-2); }

/* Related work strip */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ─── Inline tag ─────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-2);
}

/* ─── Mobile page polish ─────────────────────────────────────────── */
@media (max-width: 900px), (pointer: coarse) {
  .reveal,
  .reveal[data-stagger] {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}

@media (max-width: 900px) {
  html,
  body { overflow-x: hidden; }
  main,
  section,
  .container,
  .split,
  .services-layout,
  .svc-chapter,
  .svc-chapter__body,
  .svc-chapter__left,
  .svc-chapter__list,
  .case-hero,
  .facts,
  .foot { min-width: 0; }
  .page-hero > *,
  .page-hero__foot > *,
  .split > *,
  .services-layout > *,
  .svc-chapter > *,
  .svc-chapter__head > *,
  .svc-chapter__body > *,
  .case-hero > *,
  .case-hero__meta > *,
  .cta-block__inner > *,
  .foot__top > * { min-width: 0; }
  h1,
  h2,
  h3,
  p,
  li,
  .lead,
  .body {
    overflow-wrap: break-word;
  }

  .page-hero {
    padding-top: 122px;
    padding-bottom: 64px;
    gap: 30px;
  }
  .page-hero--studio,
  .page-hero--gallery {
    padding-bottom: 64px;
  }
  .page-hero--studio .page-hero__intro,
  .page-hero--gallery .page-hero__intro {
    padding-top: 122px;
    gap: 30px;
  }
  .page-hero__crumb,
  .case-hero__crumb {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.45;
  }
  .page-hero__title,
  .case-hero__title {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 52px) !important;
    line-height: 1.02;
    letter-spacing: 0;
  }
  .page-hero__foot {
    gap: 24px;
    padding-top: 24px;
  }
  .page-hero__foot p { max-width: none; }
  .page-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
  }
  .page-hero__meta .num { font-size: 28px; }
  .page-hero__meta .lab {
    letter-spacing: 0.11em;
    line-height: 1.35;
  }
  .page-hero--services {
    padding-top: 112px;
    padding-bottom: 48px;
    gap: 24px;
  }
  .page-hero--services .page-hero__foot {
    gap: 20px;
  }
  .page-hero--services .page-hero__foot p {
    font-size: 15px;
    line-height: 1.55;
  }
  .page-hero--services .page-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .page-hero--services .page-hero__meta .num { font-size: 25px; }
  .page-hero--services .page-hero__meta .lab {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .split,
  .split--rev,
  .split[style],
  .services-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
  }

  .svc-tabs {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
  .svc-tabs a {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(20, 17, 14, 0.72);
    align-items: center;
  }
  .svc-tabs a:last-child { border-bottom: 1px solid var(--line); }
  .svc-tabs a:hover { padding-left: 16px; }
  .svc-tabs .nm { font-size: 18px; line-height: 1.1; }

  .svc-chapter { padding-block: 52px; }
  .svc-chapter__head {
    gap: 12px;
    margin-bottom: 28px;
  }
  .svc-chapter__num {
    padding-bottom: 0;
    letter-spacing: 0.13em;
  }
  .svc-chapter__title {
    font-size: clamp(36px, 10.8vw, 50px);
    line-height: 1.02;
    max-width: 100%;
  }
  .svc-chapter__body { gap: 28px; }
  .svc-chapter__lede {
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
  }
  .svc-media {
    aspect-ratio: 4 / 3.35;
    margin-top: 22px;
  }
  .svc-chapter__list { gap: 0; }
  .svc-chapter__list li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    padding-block: 16px;
  }
  .svc-chapter__list .val {
    font-size: 18px;
    line-height: 1.2;
  }
  .svc-chapter__list .val small {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 7px;
  }

  .case-hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 64px;
    gap: 28px;
  }
  .case-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .facts {
    position: static;
    top: auto;
  }
  .facts > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }
  .big-image { margin-block: 48px; }
  .big-image__cap {
    position: static;
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    text-shadow: none;
  }

  .cta-block {
    padding-block: 64px;
  }
  .cta-block h2 {
    max-width: 100%;
    font-size: clamp(42px, 14vw, 68px);
  }
  .cta-block__side p { max-width: none; }

  .foot__top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }
  .foot__brand { grid-column: auto; }
  .foot__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .foot__bottom span:last-child {
    flex-wrap: wrap;
    gap: 14px !important;
  }
}

@media (max-width: 560px) {
  :root {
    --pad-x: clamp(18px, 5.5vw, 24px);
    --pad-y: 64px;
  }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 42px; }
  .lead { font-size: 23px; }
  .body { max-width: none; }
  .btn,
  .btn--lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .page-hero__meta,
  .case-hero__meta,
  .logos,
  .team {
    grid-template-columns: 1fr !important;
  }
  .page-hero--services .page-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .svc-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .svc-tabs a {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    min-height: 86px;
    padding: 12px;
  }
  .svc-tabs .num {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .svc-tabs .nm {
    font-size: 16px;
    line-height: 1.12;
  }
  .svc-chapter {
    padding-block: 46px;
  }
  .svc-chapter__title {
    font-size: clamp(34px, 10vw, 44px);
  }
  .svc-media {
    aspect-ratio: 16 / 11;
  }
  .logos__item {
    min-height: 74px;
    padding: 20px 16px;
    border-right: 0;
  }
  .gallery-row--3,
  .gallery-row--2,
  .gallery-row--2-rev,
  .gallery-row--mix {
    grid-template-columns: 1fr;
  }
  .form__field input,
  .form__field select,
  .form__field textarea {
    font-size: 20px;
  }
}
@media (max-width: 360px) {
  .svc-tabs { grid-template-columns: 1fr; }
  .page-hero--services .page-hero__meta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .home .nav {
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
  }
  .home .hero {
    min-height: auto;
    align-content: start;
    gap: 24px;
    padding:
      calc(112px + env(safe-area-inset-top, 0px))
      var(--pad-x)
      52px;
    background-image:
      radial-gradient(90% 70% at 78% 18%, rgba(201, 151, 79, 0.13), transparent 52%),
      linear-gradient(180deg, rgba(10, 9, 7, 0.38), rgba(10, 9, 7, 0.86) 72%, #050403),
      url("/assets/video/services-hero-bg.jpg");
    background-size: cover;
    background-position: center top;
  }
  .home .hero__video {
    display: block;
    opacity: 0.26;
    object-position: center top;
  }
  .home .hero::after {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.52), rgba(5, 4, 3, 0.14) 52%, rgba(5, 4, 3, 0.64)),
      linear-gradient(180deg, rgba(10, 9, 7, 0.18), rgba(10, 9, 7, 0.72) 78%, #050403);
  }
  .home .hero__bg {
    opacity: 0.18;
  }
  .home .hero__meta {
    gap: 9px 14px;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 0.12em;
  }
  .home .hero__meta span {
    gap: 8px;
  }
  .home .hero__meta span:nth-child(n+3) {
    display: none;
  }
  .home .hero__h1 {
    max-width: 9.2ch;
    font-size: clamp(39px, 12vw, 50px);
    line-height: 0.96;
    letter-spacing: 0;
  }
  .home .hero__foot {
    gap: 18px;
    padding-top: 22px;
    border-top-color: rgba(239, 234, 224, 0.18);
  }
  .home .hero__sub {
    max-width: 30ch;
    font-size: clamp(18px, 4.9vw, 21px);
    line-height: 1.32;
  }
  .home .hero__cta {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 10px;
  }
  .home .hero__cta .btn,
  .home .hero__cta .btn--lg {
    width: auto;
    min-height: 52px;
    padding: 13px 14px;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .home .hero__cta .btn--ghost {
    background: rgba(5, 4, 3, 0.48);
    border-color: rgba(239, 234, 224, 0.22);
  }
  .home .hero__scroll {
    display: none;
  }
  .home .hero__logo {
    display: block;
    top: calc(310px + env(safe-area-inset-top, 0px));
    right: var(--pad-x);
    width: clamp(72px, 20vw, 88px);
    transform: none;
    opacity: 0.24;
    z-index: 0;
    pointer-events: none;
  }
}

@media (max-width: 390px) {
  .home .hero {
    gap: 22px;
    padding-top: calc(104px + env(safe-area-inset-top, 0px));
  }
  .home .hero__h1 {
    font-size: clamp(38px, 11.4vw, 46px);
  }
  .home .hero__sub {
    font-size: 18px;
  }
  .home .hero__logo {
    top: calc(286px + env(safe-area-inset-top, 0px));
    width: 70px;
  }
}

@media (max-width: 340px) {
  .home .hero__cta {
    grid-template-columns: 1fr;
  }
  .home .hero__cta .btn,
  .home .hero__cta .btn--lg {
    min-height: 50px;
  }
}

/* ─── 2026 brand refit overrides ───────────────────────────────── */
*, *::before, *::after {
  letter-spacing: 0 !important;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-feature-settings: normal;
}

body::before {
  opacity: 0.018;
}

.display,
.display-italic,
.lead,
.loader__mark,
.hero__h1,
.hero__sub,
.studio__lede,
.studio__body .lead,
.service__name,
.work-card__name,
.process__step h3,
.stat .num,
.quote__text,
.location .city,
.cta-block h2,
.foot__brand,
.page-hero__title,
.split h2,
.timeline__item .yr,
.timeline__item h4,
.team__name,
.logos__item {
  font-family: var(--serif);
  font-style: normal;
  font-variation-settings: normal;
  letter-spacing: 0 !important;
}

.display,
.loader__mark,
.hero__h1,
.page-hero__title,
.cta-block h2,
.foot__brand {
  font-weight: 800;
  text-transform: uppercase;
}

.display-italic,
.hero__h1 .em,
.studio__lede em,
.studio__body .lead span,
.stat .num .em,
.quote__text em,
.cta-block h2 em,
.foot__brand em,
.page-hero__title em,
.split h2 em,
.timeline__item .yr em,
.work-card__name .em {
  color: var(--copper);
  font-style: normal;
  font-variation-settings: normal;
}

.eyebrow,
.kicker,
.label-num,
.nav__links a,
.hero__meta,
.hero__scroll,
.service__num,
.work-card__tag,
.work-card__year,
.process__step .num,
.stat .lab,
.quote__author,
.location .role,
.foot__col h4,
.foot__bottom,
.page-hero__crumb,
.page-hero__meta .lab,
.team__role {
  font-family: var(--mono);
  font-weight: 700;
}

.nav {
  padding-block: 18px;
  background: rgba(10, 9, 7, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav.is-stuck {
  background: rgba(10, 9, 7, 0.96);
  border-bottom-color: rgba(239, 234, 225, 0.22);
}

.nav__links a {
  color: var(--bone);
}

.nav__links a::after,
.quote__author::before,
.hero__scroll::before {
  background: var(--copper);
}

.btn {
  border-radius: 3px;
  border-color: var(--copper);
  background: var(--copper);
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(209, 154, 65, 0.72);
}

.btn--ghost:hover {
  background: var(--copper);
  color: var(--ink);
  border-color: var(--copper);
}

.nav__burger,
.service__arrow {
  border-radius: 3px;
}

.hero {
  --home-brand-right: var(--pad-x);
  --home-brand-lockup-width: min(43vw, 620px);
  --home-brand-mark-width: clamp(250px, 20vw, 380px);
  min-height: 900px;
  padding-top: 160px;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.34), rgba(10, 9, 7, 0.9)),
    var(--ink);
}

.home .hero__logo {
  top: 56%;
  right: calc(var(--home-brand-right) + (var(--home-brand-lockup-width) - var(--home-brand-mark-width)) / 2);
  width: var(--home-brand-mark-width);
  opacity: 0.84;
}

.hero__video,
.home .hero__video,
.page-hero__media video,
.page-hero--services .page-hero__media video {
  opacity: 0.16;
  filter: grayscale(1) contrast(1.12) brightness(0.76);
}

.hero::after,
.home .hero::after {
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.9) 0%, rgba(10, 9, 7, 0.42) 56%, rgba(10, 9, 7, 0.88) 100%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.35), rgba(10, 9, 7, 0.88) 78%, var(--ink));
}

.page-hero__media::after,
.page-hero--services .page-hero__media::after {
  background:
    linear-gradient(180deg, rgba(10, 9, 7, 0.28), rgba(10, 9, 7, 0.86)),
    radial-gradient(70% 80% at 50% 44%, rgba(10, 9, 7, 0.08), var(--ink) 100%);
}

.hero__bg {
  color: var(--bone);
  opacity: 0.13;
}

.hero__h1 {
  max-width: 9.8ch;
  font-size: 126px;
  line-height: 0.9;
}

.hero__sub {
  font-size: 24px;
  line-height: 1.24;
  max-width: 36ch;
}

.hero__foot,
.page-hero__foot,
.studio__body .meta,
.service,
.process__step,
.stats,
.location,
.foot__top,
.logos,
.timeline,
.timeline__item {
  border-color: var(--line);
}

.marquee,
.bg-2,
.cta-block,
.foot {
  background: var(--ink-2);
}

.service::before,
.cta-block::before {
  background:
    linear-gradient(90deg, rgba(209, 154, 65, 0.12), transparent),
    var(--ink-3);
}

.studio__media,
.process__media,
.svc-media,
.work-card__thumb,
.team__photo {
  border-radius: 0;
  background-color: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.page-hero__title {
  font-size: 112px;
  line-height: 0.92;
}

.quote__mark {
  color: var(--copper);
}

.side-mark {
  color: rgba(245, 245, 244, 0.46);
}

@media (min-width: 1300px) {
  .hero__h1 {
    font-size: 150px;
  }

  .page-hero__title {
    font-size: 136px;
  }
}

@media (max-width: 1100px) {
  .hero__h1 {
    font-size: 96px;
  }

  .page-hero__title {
    font-size: 86px;
  }
}

@media (max-width: 900px) {
  .nav {
    background: rgba(10, 9, 7, 0.94);
  }

  .hero {
    min-height: 820px;
    padding-top: 130px;
  }

  .home .hero__logo {
    display: none;
  }

  .hero__h1 {
    font-size: 68px;
  }

  .hero__sub {
    font-size: 21px;
  }

  .page-hero__title {
    font-size: 64px;
  }
}

@media (max-width: 560px) {
  .hero,
  .home .hero {
    min-height: 760px;
    padding-top: 122px;
  }

  .hero__h1,
  .home .hero__h1 {
    font-size: 48px;
    max-width: 10.5ch;
  }

  .hero__sub,
  .home .hero__sub {
    font-size: 19px;
  }

  .page-hero__title {
    font-size: 48px;
  }

  .home .hero__cta {
    grid-template-columns: 1fr;
  }
}
