/* ==========================================================
   Brooks Electrical Company — demo site
   Brand: Brooks Red #E50E20 · Brooks Black #171717 · Steel #6D7073
   ========================================================== */
:root {
  --red: #e50e20;
  --red-deep: #b30a18;
  --black: #171717;
  --ink: #0b0a09;
  --ink-2: #12100e;
  --steel: #6d7073;
  --light-gray: #f2f2f2;
  --white: #ffffff;
  --warm: #ffd49a;
  --text: #ece8e2;
  --muted: #9b968f;
  --line: rgba(255, 255, 255, 0.1);

  --f-display: "Michroma", "Eurostile Extended", "Eurostile", system-ui, sans-serif;
  --f-cond: "Bebas Neue", "Oswald", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* driven by js/lamp.js */
  --lx: 50vw;
  --ly: 40vh;
  --lr: 360px;
  --dark: 0.97;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-off { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.red { color: var(--red); }

/* ---------- Lighting layers ---------- */
.darkness,
.warmth,
.lamp-canvas,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.darkness {
  z-index: 40;
  background: radial-gradient(
    circle at var(--lx) var(--ly),
    rgba(6, 5, 4, 0) 0,
    rgba(6, 5, 4, calc(var(--dark) * 0.12)) calc(var(--lr) * 0.42),
    rgba(6, 5, 4, calc(var(--dark) * 0.75)) calc(var(--lr) * 0.85),
    rgba(6, 5, 4, var(--dark)) calc(var(--lr) * 1.35)
  );
}
.warmth {
  z-index: 41;
  mix-blend-mode: soft-light;
  background: radial-gradient(
    circle at var(--lx) var(--ly),
    rgba(255, 196, 120, 0.55) 0,
    rgba(255, 196, 120, 0.12) calc(var(--lr) * 0.6),
    rgba(255, 196, 120, 0) var(--lr)
  );
}
.lamp-canvas {
  z-index: 60;
  width: 100%;
  height: 100%;
}
.grain {
  z-index: 61;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Power-on loader ---------- */
.power {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050403;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.power.is-done { opacity: 0; visibility: hidden; }
.power__inner { display: grid; justify-items: center; gap: 28px; }
.power__logo { width: 46px; height: 64px; opacity: 0.85; }
.power__hint {
  margin: 0;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.switch {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.switch__plate {
  position: relative;
  display: block;
  width: 84px;
  height: 132px;
  border-radius: 10px;
  background: linear-gradient(160deg, #2a2724, #151311);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.6);
}
.switch__plate::before,
.switch__plate::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #3a3632;
}
.switch__plate::before { top: 12px; }
.switch__plate::after { bottom: 12px; }
.switch__toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 52px;
  margin: -26px 0 0 -13px;
  border-radius: 6px;
  background: linear-gradient(180deg, #3b3733, #1f1c19);
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.4);
  transform: perspective(200px) rotateX(-22deg);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.switch:hover .switch__toggle { transform: perspective(200px) rotateX(-14deg); }
.switch.is-on .switch__toggle {
  transform: perspective(200px) rotateX(22deg);
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  box-shadow: 0 -6px 14px rgba(229, 14, 32, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}
.switch:focus-visible { outline: 2px solid var(--red); outline-offset: 8px; border-radius: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.85), rgba(8, 7, 6, 0));
}
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand__icon { width: 35px; height: 49px; flex: none; }
.brand__word { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 27.5px;
  letter-spacing: 0.04em;
  color: var(--white);
}
.brand__sub {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 9.4px;
  letter-spacing: 0.32em;
  color: var(--red);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s;
}
.nav__links a:not(.btn):hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 30px rgba(229, 14, 32, 0.25); }
.btn--red:hover { background: #ff1a2d; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(229, 14, 32, 0.4); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--sm { padding: 12px 18px; font-size: 9.5px; }
.btn--block { width: 100%; }

/* ---------- Type ---------- */
.kicker {
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}
.h1, .h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
}
.h1 { font-size: clamp(40px, 7vw, 108px); }
.h2 { font-size: clamp(30px, 4.6vw, 68px); }

section { position: relative; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 140px var(--gutter) 90px;
  overflow: hidden;
  perspective: 1200px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.85) 0%, rgba(8, 7, 6, 0.35) 55%, rgba(8, 7, 6, 0.2) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(8, 7, 6, 0) 30%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  transform-style: preserve-3d;
}
.hero__title {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 88px);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--white);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .line--red { color: var(--red); }
.hero__sub {
  max-width: 520px;
  margin: 0 0 40px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, var(--red));
  animation: drip 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

/* ---------- Statement ---------- */
.statement {
  padding: 26vh var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}
.statement__text {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 56px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}
.statement__text .w { opacity: 0.12; transition: none; }

/* ---------- Services ---------- */
.services { background: var(--ink); }
.services__pin {
  display: flex;
  align-items: center;
  gap: 6vw;
  min-height: 100vh;
  padding: 120px 0 80px var(--gutter);
  overflow: hidden;
}
.services__head {
  position: relative;
  z-index: 3;
  flex: 0 0 min(420px, 34vw);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2vw;
  background: var(--ink);
  box-shadow: 60px 0 60px 10px var(--ink);
}
.services__head .h2 { font-size: clamp(26px, 3vw, 46px); }
.services__note {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.services__track {
  display: flex;
  gap: 34px;
  padding-right: 20vw;
  will-change: transform;
}
.card {
  position: relative;
  flex: 0 0 clamp(280px, 26vw, 380px);
  padding: 18px 18px 26px;
  background: linear-gradient(180deg, #181614, #100e0d);
  border: 1px solid var(--line);
  border-radius: 3px;
  transform: perspective(1000px) rotateY(-8deg) scale(0.94);
  opacity: 0.55;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), border-color 0.6s, box-shadow 0.8s;
}
.card.is-lit {
  transform: perspective(1000px) rotateY(0) scale(1);
  opacity: 1;
  border-color: rgba(229, 14, 32, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 -10px 60px rgba(255, 200, 130, 0.08);
}
.card__num {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  font-family: var(--f-cond);
  font-size: 46px;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.card__img { aspect-ratio: 4 / 4.4; overflow: hidden; margin-bottom: 22px; background: #000; }
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) brightness(0.65);
  transform: scale(1.08);
  transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}
.card.is-lit .card__img img { filter: none; transform: scale(1); }
.card h3 {
  margin: 0 0 10px;
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  background: #0d0c0b;
  border-top: 1px solid rgba(193, 154, 91, 0.22);
  border-bottom: 1px solid rgba(193, 154, 91, 0.22);
  overflow: hidden;
}
.marquee__row {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 226, 0.32);
  white-space: nowrap;
  will-change: transform;
}
.marquee__row i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #c19a5b;
  box-shadow: 0 0 14px rgba(255, 196, 120, 0.6);
}

/* ---------- Depth flythrough ---------- */
.depth { height: 560vh; background: var(--ink); }
.depth__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 900px;
  perspective-origin: 50% 50%;
}
.depth__copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(760px, calc(100% - 2 * var(--gutter)));
  text-align: center;
  transform: translate(-50%, -50%);
}
.depth__title { font-size: clamp(40px, 7vw, 110px); }
.depth__lede {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
}
.depth__world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.depth__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(200px, 24vw, 380px);
  margin: 0;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  opacity: 0;
}
.depth__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.depth__item figcaption {
  margin-top: 12px;
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.depth__item--hero { width: min(86vw, 1100px); aspect-ratio: 16 / 9; }
.depth__item--hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  text-align: center;
  font-size: clamp(14px, 2vw, 26px);
  letter-spacing: 0.24em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.depth__progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 34px;
  height: 1px;
  background: var(--line);
}
.depth__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- After Dark gallery ---------- */
.dark { padding: 22vh var(--gutter) 18vh; max-width: 1500px; margin: 0 auto; }
.dark__head { max-width: 640px; margin: 0 auto 14vh; text-align: center; }
.dark__lede { margin: 26px auto 0; max-width: 520px; color: rgba(255, 255, 255, 0.72); font-weight: 300; }
.dark__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 40px);
  align-items: start;
}
.dark__col { display: grid; gap: clamp(16px, 2.6vw, 40px); will-change: transform; }
.dark__col:nth-child(2) { margin-top: 18vh; }
.dark__col:nth-child(3) { margin-top: 8vh; }
.tile { position: relative; margin: 0; overflow: hidden; background: #000; }
.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.4);
  transform: scale(1.06);
  transition: filter 1.1s var(--ease), transform 1.6s var(--ease);
}
.tile.is-lit img { filter: none; transform: scale(1); }
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  gap: 2px;
  padding: 40px 20px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.tile.is-lit figcaption { opacity: 1; transform: none; }
.tile figcaption strong { font-family: var(--f-cond); font-weight: 400; font-size: 26px; letter-spacing: 0.02em; color: var(--white); }
.tile figcaption span { font-family: var(--f-display); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.8s;
  pointer-events: none;
}
.tile.is-lit::after { border-color: rgba(229, 14, 32, 0.55); }
@media (max-width: 900px) {
  .dark__grid { grid-template-columns: 1fr 1fr; }
  .dark__col:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .dark__grid { grid-template-columns: 1fr; }
  .dark__col:nth-child(n) { margin-top: 0; display: grid; }
}

/* ---------- Room by Room (pinned) ---------- */
.rooms { height: calc(var(--n) * 85vh + 100vh); }
.rooms__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 5vw;
  align-items: center;
  padding: 90px var(--gutter) 40px;
  max-width: 1500px;
  margin: 0 auto;
}
.rooms__copy .h2 { font-size: clamp(26px, 3.2vw, 48px); margin-bottom: 4.5vh; }
.rooms__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.room {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.35;
  transition: opacity 0.6s var(--ease);
}
.room.is-active { opacity: 1; }
.room__num { font-family: var(--f-cond); font-size: 26px; line-height: 1.1; color: var(--muted); transition: color 0.6s; }
.room.is-active .room__num { color: var(--red); }
.room h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; text-transform: uppercase; color: var(--white); }
.room p, .room__tags {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s var(--ease), opacity 0.6s var(--ease), margin 0.7s var(--ease);
}
.room p { margin: 0; max-width: 470px; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.room__tags { font-family: var(--f-display); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm); }
.room.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }
.room.is-active .room__tags { max-height: 40px; opacity: 1; margin-top: 10px; }
.rooms__media {
  position: relative;
  height: min(78vh, 760px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
}
.rooms__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1), transform 1.6s var(--ease);
}
.rooms__img.is-shown { clip-path: inset(0 0 0 0); transform: scale(1); }
.rooms__count {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 20;
  font-family: var(--f-cond);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.rooms__count span { color: var(--red); }
@media (max-width: 900px) {
  .rooms { height: calc(var(--n) * 70vh + 100vh); }
  .rooms__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; align-items: start; padding: 78px var(--gutter) 20px; }
  .rooms__media { order: -1; height: 40vh; height: 40svh; }
  .rooms__copy .kicker { margin-bottom: 8px; }
  .rooms__copy .h2 { display: none; }
  .room { padding: 9px 0; grid-template-columns: 40px 1fr; }
  .room__num { font-size: 20px; }
  .room h3 { font-size: 13px; }
  .room p { font-size: 14px; }
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 6vw;
  padding: 22vh var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}
.process__head { position: sticky; top: 30vh; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12vh; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  opacity: 0.35;
  transform: translateX(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.6s;
}
.step.is-lit { opacity: 1; transform: none; border-color: var(--red); }
.step__num {
  font-family: var(--f-cond);
  font-size: clamp(60px, 7vw, 110px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  transition: color 0.8s var(--ease), -webkit-text-stroke-color 0.8s;
}
.step.is-lit .step__num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 {
  margin: 4px 0 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase;
  color: var(--white);
}
.step p { margin: 0; color: var(--muted); max-width: 460px; }

/* ---------- Reel ---------- */
.reel { padding: 16vh var(--gutter) 20vh; }
.reel__head { margin-bottom: 8vh; text-align: center; }
.reel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1400px;
}
.reel__item {
  margin: 0;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: brightness(0.55) saturate(0.6);
}
.reel__item:nth-child(1) { transform: rotateY(14deg) translateZ(-60px); }
.reel__item:nth-child(3) { transform: rotateY(-14deg) translateZ(-60px); }
.reel__item.is-lit { filter: none; transform: rotateY(0) translateZ(40px); }
.reel__item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  border-radius: 3px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.reel__item figcaption {
  margin-top: 14px;
  font-family: var(--f-display);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Voice ---------- */
.voice { padding: 18vh var(--gutter); max-width: 1300px; margin: 0 auto; }
.voice__quote { margin: 0 0 12vh; }
.voice__quote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 3.4vw, 50px);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--white);
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.pillars li {
  display: grid;
  gap: 6px;
  padding: 30px 24px 30px 0;
  border-right: 1px solid var(--line);
  margin-right: 24px;
  transition: opacity 0.6s;
  opacity: 0.45;
}
.pillars li:last-child { border-right: 0; }
.pillars li.is-lit { opacity: 1; }
.pillars strong { font-family: var(--f-cond); font-weight: 400; font-size: 30px; color: var(--white); letter-spacing: 0.02em; }
.pillars span { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
  padding: 18vh var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}
.contact__lede { max-width: 440px; margin: 28px 0 34px; color: rgba(255, 255, 255, 0.75); font-weight: 300; }
.contact__phone {
  display: block;
  font-family: var(--f-cond);
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1;
  color: var(--white);
  transition: color 0.3s;
}
.contact__phone:hover { color: var(--red); }
.contact__email { display: inline-block; margin-top: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  background: rgba(20, 18, 16, 0.75);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  backdrop-filter: blur(6px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span {
  font-family: var(--f-display);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: #181614; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--red); background: rgba(0, 0, 0, 0.55); }
.form textarea { resize: vertical; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--warm); }

/* ---------- Footer ---------- */
.footer { padding: 12vh var(--gutter) 0; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 10vh; }
.brand--lg .brand__icon { width: 44px; height: 62px; }
.brand--lg .brand__name { font-size: clamp(30px, 4vw, 52px); }
.brand--lg .brand__sub { font-size: clamp(9px, 1vw, 13px); }
.footer__tag { margin: 0; font-family: var(--f-cond); font-size: clamp(32px, 4vw, 56px); color: var(--white); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 22px var(--gutter);
  background: #000;
  font-family: var(--f-display);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .services__pin { display: block; padding: 18vh var(--gutter) 10vh; }
  .services__head { margin-bottom: 8vh; box-shadow: none; padding: 0; }
  .services__track { display: grid; gap: 28px; padding: 0; }
  .card { transform: none; }
  .card.is-lit { transform: none; }
  .process { grid-template-columns: 1fr; gap: 8vh; }
  .process__head { position: static; }
  .steps { gap: 8vh; }
  .reel__grid { grid-template-columns: 1fr; max-width: 420px; }
  .reel__item:nth-child(n) { transform: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(2) { border-right: 0; }
  .contact { grid-template-columns: 1fr; }
  .depth { height: 480vh; }
  .depth__item { width: 46vw; }
}
@media (max-width: 520px) {
  .brand__name { font-size: 22px; }
  .brand__sub { font-size: 7.5px; margin-top: 5px; letter-spacing: 0.24em; white-space: nowrap; }
  .nav .btn--sm { white-space: nowrap; }
  .hide-sm { display: none; }
  .brand { gap: 11px; }
  .brand__icon { width: 30px; height: 42px; }
  .nav .btn--sm { padding: 10px 12px; font-size: 8px; letter-spacing: 0.14em; }
  .form__row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .hero__ctas .btn { flex: 1 1 100%; }
}

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

/* services heading masks cards that scroll past it on the left */
@media (min-width: 901px) {
  .services__head::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    left: -50vw;
    background: var(--ink);
    z-index: -1;
  }
}
