/* ============================================================
   HEIGHTS DIGITAL MARKETING — Dark Editorial / Brutalist Cinema
   Gold budget: EXACTLY three uses site-wide —
   (1) the hero word MARKETING, (2) the word UNFORGETTABLE.,
   (3) the lead-form submit button. Do not introduce gold
   anywhere else. (Error states use a functional brick tone,
   which is a state color, not part of the palette.)
   ============================================================ */

:root {
  --black: #060606;
  --ink: #0a0a0a;
  --bone: #f2eee5;
  --bone-70: rgba(242, 238, 229, 0.7);
  --bone-45: rgba(242, 238, 229, 0.45);
  --bone-14: rgba(242, 238, 229, 0.14);
  --gold: #d4a937;
  /* deeper gold for display type on the bone hero — #d4a937 washes out
     on light ground; this keeps >=3:1 contrast at display sizes */
  --gold-deep: #a87614;
  --error: #c25a44;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --pad-x: clamp(20px, 5vw, 80px);
  --ease-hard: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button { cursor: none; }

::selection { background: var(--bone); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: var(--pad-x);
  top: -60px;
  z-index: 200;
  background: var(--bone);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- cursor (bone — gold is reserved) ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--bone);
  mix-blend-mode: difference;
  transform: translate(-100px, -100px);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid var(--bone);
  mix-blend-mode: difference;
  transform: translate(-100px, -100px);
  transition: width 0.25s var(--ease-hard), height 0.25s var(--ease-hard);
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor.cursor-hot .cursor-ring { width: 64px; height: 64px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 32px) var(--pad-x);
  mix-blend-mode: difference;
  color: var(--bone);
}
.nav a { color: inherit; text-decoration: none; }
.nav__mark {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.nav__tld { opacity: 0.55; }
.nav__links {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-hard);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   HERO — scroll-scrubbed ink bloom
   ============================================================ */
.hero {
  position: relative;
  height: 320vh;
  background: var(--bone);
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__video.is-ready { opacity: 1; }

/* CSS ink placeholder shown until (or instead of) the video */
.hero__blob {
  position: absolute;
  inset: 0;
  background: var(--bone);
  overflow: hidden;
}
.hero__blob::before,
.hero__blob::after {
  content: "";
  position: absolute;
  background: var(--black);
  filter: blur(34px);
  opacity: 0.9;
}
.hero__blob::before {
  width: 44vmax;
  height: 40vmax;
  left: 8%;
  top: 12%;
  border-radius: 52% 48% 61% 39% / 44% 59% 41% 56%;
  animation: blob-a 16s ease-in-out infinite alternate;
}
.hero__blob::after {
  width: 30vmax;
  height: 34vmax;
  right: 4%;
  bottom: 4%;
  opacity: 0.75;
  border-radius: 39% 61% 47% 53% / 61% 38% 62% 39%;
  animation: blob-b 13s ease-in-out infinite alternate;
}
@keyframes blob-a {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 52% 48% 61% 39% / 44% 59% 41% 56%; }
  50%  { border-radius: 38% 62% 43% 57% / 58% 42% 58% 42%; }
  100% { transform: translate(6vw, -4vh) rotate(24deg) scale(1.18); border-radius: 60% 40% 51% 49% / 39% 64% 36% 61%; }
}
@keyframes blob-b {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-7vw, -6vh) rotate(-30deg) scale(1.25); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad-x);
  color: var(--black);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 15.2vw, 300px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  font-weight: 400;
}
/* tiny clip headroom: Anton's caps fill the 0.88 line box exactly */
.hero__mask { display: block; overflow: hidden; padding-block: 0.03em; margin-block: -0.03em; }
.hero__line {
  display: block;
  transform: translateY(108%);
  animation: line-rise 0.7s var(--ease-hard) forwards;
}
.hero__mask:nth-child(1) .hero__line { animation-delay: 0.15s; }
.hero__mask:nth-child(2) .hero__line { animation-delay: 0.3s; }
.hero__mask:nth-child(3) .hero__line { animation-delay: 0.45s; }
@keyframes line-rise { to { transform: translateY(0); } }
/* gold use 1 of 3 */
.hero__line--gold { color: var(--gold-deep); }
.hero__tag {
  margin-top: clamp(20px, 3vh, 44px);
  font-style: italic;
  font-size: clamp(17px, 2vw, 27px);
  min-height: 1.6em;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: currentColor;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero__meta {
  position: absolute;
  z-index: 2;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: clamp(22px, 4vh, 44px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--black);
}
.hero__scrollcue { display: inline-flex; align-items: center; gap: 12px; }
.hero__scrollcue i {
  display: block;
  width: 56px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: cue 2.2s var(--ease-hard) infinite;
}
@keyframes cue {
  0% { transform: scaleX(0); }
  55% { transform: scaleX(1); transform-origin: left; }
  56% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ============================================================
   KINETIC MANIFESTO — one word per scroll step
   ============================================================ */
.kinetic {
  position: relative;
  height: 400vh;
  background: var(--black);
}
.kinetic__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kinetic__sticky.is-shaking { animation: shake 0.26s linear; }
@keyframes shake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-7px, 5px); }
  40% { transform: translate(6px, -4px); }
  60% { transform: translate(-4px, -5px); }
  80% { transform: translate(3px, 4px); }
  100% { transform: translate(0, 0); }
}
.kinetic__lead {
  position: absolute;
  top: clamp(90px, 14vh, 140px);
  left: 0;
  right: 0;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 24px);
  color: var(--bone-70);
}
.kinetic__stage {
  position: relative;
  width: 100%;
  text-align: center;
}
.kword {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-display);
  color: var(--bone);
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, filter;
}
.kword--1 { font-size: clamp(96px, 26vw, 470px); }
.kword--2 { font-size: clamp(64px, 16.5vw, 300px); }
.kword--3 { font-size: clamp(38px, 9.7vw, 178px); }
/* gold use 2 of 3 */
.kword--gold { color: var(--gold); }
.kword.is-active {
  visibility: visible;
  animation: slam 0.5s var(--ease-hard) forwards;
}
@keyframes slam {
  0%   { opacity: 0; transform: scale(2.3); filter: blur(16px); }
  55%  { opacity: 1; transform: scale(0.965); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
.kinetic__ticks {
  position: absolute;
  bottom: clamp(28px, 6vh, 64px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}
.kinetic__ticks i {
  width: 34px;
  height: 2px;
  background: var(--bone-14);
  transition: background 0.3s ease;
}
.kinetic__ticks i.is-on { background: var(--bone); }

.kinetic__static { display: none; }

/* ============================================================
   SELECTED WORK
   ============================================================ */
.work {
  position: relative;
  background: var(--black);
  padding: clamp(90px, 16vh, 190px) var(--pad-x);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(44px, 8vh, 96px);
}
.section-head__label,
.section-head__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--bone-45);
}
.section-head__count { text-align: right; }
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 150px);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--bone-14);
  display: flex;
  align-items: flex-end;
}
/* at rest: a dimmed grayscale film frame (each tile seeded to a
   different moment of the reel by JS); hover wakes it to color */
.tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: grayscale(1) brightness(0.85);
  transition: opacity 0.55s ease, filter 0.55s ease;
}
/* four distinct crops of the same showreel clip */
.tile__video--a { object-position: 12% 28%; transform: scale(1.65); transform-origin: 12% 28%; }
.tile__video--b { object-position: 86% 22%; transform: scale(1.85); transform-origin: 86% 22%; }
.tile__video--c { object-position: 28% 76%; transform: scale(1.72); transform-origin: 28% 76%; }
.tile__video--d { object-position: 64% 58%; transform: scale(1.5); transform-origin: 64% 58%; }

.tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.05) 0%, rgba(6, 6, 6, 0.45) 55%, rgba(6, 6, 6, 0.94) 100%);
}
.tile:hover .tile__video.can-play,
.tile:focus-visible .tile__video.can-play,
.tile.is-revealed .tile__video.can-play {
  opacity: 1;
  filter: none;
}

.tile__body {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 44px);
  transition: transform 0.45s var(--ease-hard);
}
.tile:hover .tile__body,
.tile:focus-visible .tile__body { transform: translateX(10px); }
.tile__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--bone-45);
}
.tile__name {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 84px);
  font-weight: 400;
  line-height: 1;
  margin-top: 8px;
}
.tile__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-45);
  margin-top: 10px;
}
.tile__result {
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 20px);
  color: var(--bone-70);
  margin-top: 10px;
  max-width: 44ch;
}

/* ============================================================
   SERVICES — editorial two-column
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: minmax(300px, 4fr) 7fr;
  gap: clamp(40px, 6vw, 110px);
  padding: clamp(90px, 16vh, 190px) var(--pad-x);
  background: var(--black);
  border-top: 1px solid var(--bone-14);
}
.services__intro { align-self: start; position: sticky; top: 18vh; }
.services__statement {
  font-size: clamp(42px, 4.6vw, 84px);
  line-height: 1.02;
  margin-top: 26px;
  font-weight: 500;
}
.services__statement em { font-style: italic; }
.services__note {
  margin-top: 26px;
  max-width: 34ch;
  color: var(--bone-70);
  font-size: clamp(16px, 1.5vw, 20px);
}
.services__list { list-style: none; }
.service {
  display: grid;
  grid-template-columns: clamp(44px, 5vw, 84px) 1fr;
  align-items: baseline;
  padding: clamp(22px, 3.4vh, 40px) 0;
  border-top: 1px solid var(--bone-14);
  transition: background 0.3s ease;
}
.service:last-child { border-bottom: 1px solid var(--bone-14); }
.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bone-45);
}
.service__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 64px);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.4s var(--ease-hard);
}
.service:hover .service__name { transform: translateX(12px); }
.service__desc {
  grid-column: 2;
  font-style: italic;
  color: var(--bone-70);
  margin-top: 10px;
  font-size: clamp(15px, 1.5vw, 20px);
}

/* ============================================================
   THE PEOPLE — over the night-studio clip
   ============================================================ */
.people {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.people__media { position: absolute; inset: 0; }
.people__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.people__video.is-ready { opacity: 1; }
.people__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--black) 0%, rgba(6, 6, 6, 0) 22%, rgba(6, 6, 6, 0) 62%, var(--black) 100%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.72) 0%, rgba(6, 6, 6, 0.15) 60%);
}
.people__content {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 18vh, 220px) var(--pad-x);
  max-width: 1100px;
}
.people__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 180px);
  font-weight: 400;
  line-height: 0.9;
  margin-top: 22px;
}
.people__body {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(17px, 1.8vw, 24px);
  color: var(--bone-70);
}
.people__roster {
  list-style: none;
  margin-top: clamp(40px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 420px));
  gap: 0 clamp(30px, 4vw, 70px);
}
.people__roster li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--bone-14);
}
.people__name { font-weight: 500; font-size: clamp(17px, 1.7vw, 23px); }
.people__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-45);
  text-align: right;
}

/* ============================================================
   MARQUEE — gliding services ticker
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--bone-14);
  padding: clamp(18px, 3vh, 30px) 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-glide 42s linear infinite;
}
.marquee__group {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 46px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--bone);
}
@keyframes marquee-glide {
  to { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: clamp(110px, 20vh, 240px) var(--pad-x) clamp(36px, 6vh, 64px);
  background: var(--black);
  border-top: 1px solid var(--bone-14);
}
.footer__headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 210px);
  font-weight: 400;
  line-height: 0.92;
}
.footer__sub {
  margin-top: 24px;
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 24px);
  color: var(--bone-70);
  max-width: 50ch;
}

/* ---------- lead form ---------- */
.lead-form {
  margin-top: clamp(44px, 8vh, 92px);
  max-width: 940px;
  position: relative;
}
.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vh, 46px) clamp(28px, 4vw, 64px);
}
.field { display: flex; flex-direction: column; gap: 12px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--bone-45);
}
.field input,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bone-14);
  border-radius: 0;
  color: var(--bone);
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 24px);
  padding: 4px 0 12px;
  transition: border-color 0.3s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--bone);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: inherit;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f2eee5' stroke-opacity='.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}
.field select option { color: var(--black); background: var(--bone); }
.lead-form.was-submitted input:invalid,
.lead-form.was-submitted select:invalid { border-bottom-color: var(--error); }
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
/* gold use 3 of 3 — the one action on the page */
.lead-form__submit {
  margin-top: clamp(34px, 6vh, 60px);
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 27px);
  letter-spacing: 0.06em;
  padding: 20px 46px;
  transition: background 0.3s ease;
}
.lead-form__submit:hover,
.lead-form__submit:focus-visible { background: var(--bone); }
.lead-form__submit:disabled { opacity: 0.55; }
.lead-form__note {
  margin-top: 18px;
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--bone-45);
}
.lead-form__error {
  margin-top: 18px;
  font-style: italic;
  color: var(--error);
}
.lead-form__success {
  margin-top: 28px;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--bone);
}

.footer__mail {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--bone-45);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__mail:hover,
.footer__mail:focus-visible { color: var(--bone); }

/* ============================================================
   THE ELEVATOR (/home2 footer) — whole section in one fold;
   brass doors part on the call button to reveal the form.
   The call button and doors are photographic scene-brass, NOT
   the UI gold token — the three gold uses stay unchanged.
   ============================================================ */
.footer--elevator {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 2.4vh, 26px);
  padding: clamp(76px, 10vh, 104px) var(--pad-x) clamp(14px, 2.5vh, 24px);
}
.elevator__headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 84px);
  font-weight: 400;
  line-height: 0.92;
  margin-top: 10px;
}
.elevator {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 18px);
}
.elevator__indicator {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone-45);
}
.elevator__floor { opacity: 0.4; transition: opacity 0.18s ease, color 0.18s ease; }
.elevator__floor.is-lit { opacity: 1; color: var(--bone); }
.elevator__indicator.is-ding .elevator__floor.is-lit { animation: ding 0.45s ease 2; }
@keyframes ding { 50% { opacity: 0.15; } }

.elevator__shaft {
  position: relative;
  width: min(780px, 94vw);
  height: clamp(420px, 52vh, 620px);
  overflow: hidden;
  border: 1px solid var(--bone-14);
  background: var(--black);
}
.elevator__cab {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: clamp(20px, 4vh, 42px) clamp(20px, 4vw, 50px);
}
.footer--elevator .footer__sub { margin-top: 0; font-size: clamp(15px, 1.5vw, 19px); }
.footer--elevator .lead-form { margin-top: clamp(16px, 3vh, 28px); max-width: none; }
.footer--elevator .lead-form__grid { gap: clamp(14px, 2.6vh, 26px) clamp(22px, 3vw, 44px); }
.footer--elevator .field input,
.footer--elevator .field select { font-size: clamp(16px, 1.5vw, 20px); padding: 2px 0 8px; }
.footer--elevator .lead-form__submit {
  margin-top: clamp(18px, 3.4vh, 32px);
  padding: 14px 36px;
  font-size: clamp(16px, 1.6vw, 22px);
}
.footer--elevator .lead-form__note { margin-top: 10px; font-size: 13px; }
.footer--elevator .footer__row { margin-top: 0; }

.elevator__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  z-index: 2;
  background-image: url("../assets/elevator-doors-l.jpg");
  background-size: 200.8% 100%;
  background-repeat: no-repeat;
  transition: transform 1.35s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
.elevator__door--left {
  left: 0;
  background-position: left center;
  box-shadow: inset -3px 0 8px rgba(0, 0, 0, 0.65);
}
.elevator__door--right {
  right: 0;
  background-position: right center;
  box-shadow: inset 3px 0 8px rgba(0, 0, 0, 0.65);
}
.footer--elevator.is-open .elevator__door--left { transform: translateX(-101%); }
.footer--elevator.is-open .elevator__door--right { transform: translateX(101%); }

.elevator__call {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: clamp(104px, 17vh, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: radial-gradient(circle at 32% 26%, #f2d795 0%, #cfa040 36%, #97701f 64%, #5a400e 100%);
  box-shadow:
    0 0 0 5px rgba(6, 6, 6, 0.6),
    0 0 0 6px rgba(240, 212, 146, 0.35),
    0 12px 34px rgba(0, 0, 0, 0.65);
  color: #241a05;
  transition: transform 0.18s var(--ease-hard), box-shadow 0.3s ease, opacity 0.45s ease;
}
.elevator__call:hover,
.elevator__call:focus-visible {
  transform: scale(1.05);
  box-shadow:
    0 0 0 5px rgba(6, 6, 6, 0.6),
    0 0 0 7px rgba(240, 212, 146, 0.7),
    0 12px 40px rgba(0, 0, 0, 0.7);
}
.elevator__call:active { transform: scale(0.93); }
.elevator__call-arrow { font-size: clamp(18px, 2.6vh, 24px); line-height: 1; }
.elevator__call-label {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.6vh, 14px);
  letter-spacing: 0.08em;
}
.footer--elevator.is-arriving .elevator__call { pointer-events: none; }
.footer--elevator.is-open .elevator__call {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(70px, 13vh, 160px);
  padding-top: 26px;
  border-top: 1px solid var(--bone-14);
}
.footer__socials {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}
.footer__socials a,
.footer__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--bone-45);
  text-decoration: none;
}
.footer__socials a { transition: color 0.3s ease; }
.footer__socials a:hover,
.footer__socials a:focus-visible { color: var(--bone); }

/* ============================================================
   /home2 — STEPPED FULL-SCREEN SEQUENCES
   One panel per scroll step inside a pinned frame; used by both
   THE PROOF (case-study frames) and CAPABILITIES (typographic
   tiles ending on The People). Driven by [data-step-section] JS.
   ============================================================ */
.steps {
  position: relative;
  height: 520vh;
  background: var(--black);
}
.steps__frame {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.steps__head {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: clamp(74px, 11vh, 116px) var(--pad-x) 0;
}
.steps__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 56px);
  font-weight: 400;
  line-height: 1;
}
.steps__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--bone-45);
  font-variant-numeric: tabular-nums;
}

.step-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.step-panel.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.55s ease;
}
.step-panel__media { position: absolute; inset: 0; display: block; }
.step-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.04);
  transform: scale(1.08);
  transition: transform 1.1s var(--ease-hard);
}
.step-panel.is-active .step-panel__img { transform: scale(1); }
.step-panel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.05);
}
.step-panel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.6) 0%, rgba(6, 6, 6, 0.18) 42%, rgba(6, 6, 6, 0.93) 100%);
}
.step-panel__ghost {
  position: absolute;
  z-index: 1;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(190px, 46vh, 540px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 229, 0.16);
  pointer-events: none;
  user-select: none;
}
.step-panel__body {
  position: relative;
  z-index: 3;
  padding: 0 var(--pad-x) clamp(64px, 13vh, 140px);
  max-width: 1040px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.6s ease 0.12s, transform 0.6s var(--ease-hard) 0.12s;
}
.step-panel.is-active .step-panel__body {
  opacity: 1;
  transform: translateY(0);
}
.step-panel__name,
.step-panel__cap {
  font-family: var(--font-display);
  font-size: clamp(42px, 7.2vw, 132px);
  font-weight: 400;
  line-height: 0.95;
  margin-top: 10px;
}
.step-panel__result {
  font-style: italic;
  font-size: clamp(16px, 1.9vw, 24px);
  color: var(--bone-70);
  margin-top: 14px;
  max-width: 52ch;
}
.step-panel__stat {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 96px);
  line-height: 1;
  margin-top: clamp(14px, 3vh, 30px);
}
.step-panel__stat.is-slammed { animation: slam 0.5s var(--ease-hard) both; }
.step-panel__subs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--bone-45);
  margin-top: clamp(16px, 3.4vh, 30px);
}
.step-panel--cap { align-items: center; }
.step-panel--cap .step-panel__body { padding-bottom: 0; }

/* capabilities: static intro column pinned inside the frame;
   only the numbered tiles advance as you scroll */
.steps__intro {
  position: absolute;
  z-index: 4;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  width: min(32vw, 440px);
}
.steps__intro .services__statement {
  font-size: clamp(30px, 3.3vw, 58px);
  margin-top: 20px;
}
.steps__intro .services__note {
  margin-top: 18px;
  font-size: clamp(14px, 1.3vw, 18px);
  max-width: 36ch;
}
.steps--caps .step-panel__body {
  padding-left: calc(min(32vw, 440px) + var(--pad-x) + clamp(36px, 5vw, 90px));
  padding-right: var(--pad-x);
  max-width: none;
}
.steps--caps .step-panel__cap { font-size: clamp(34px, 5.6vw, 104px); }

/* framed gallery panels — the goodbye.irish gilded-frame treatment:
   the photo sits in the frame art's opening (inset percentages match
   frame-gold.webp), placard text beneath like a museum label */
.step-panel--framed { align-items: center; }
.step-panel--framed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 48% at 50% 36%, rgba(242, 238, 229, 0.05), transparent 70%);
  pointer-events: none;
}
.step-panel--framed .step-panel__body {
  width: min(720px, 88vw, calc((100vh - 400px) * 1.5));
  min-width: 280px;
  padding: clamp(70px, 10vh, 110px) 0 0;
  margin-inline: auto;
}
.framed {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
}
.framed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/frame-gold.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}
.framed__window {
  position: absolute;
  z-index: 1;
  inset: 22.4% 16.8% 18.4% 16.8%;
  overflow: hidden;
  background: #14110c;
}
.framed__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.07);
  transition: transform 1.2s var(--ease-hard);
}
.step-panel.is-active .framed__img { transform: scale(1); }
.step-panel__placard { margin-top: clamp(16px, 3vh, 28px); }
.step-panel--framed .step-panel__name { font-size: clamp(28px, 4.4vw, 66px); }
.step-panel--framed .step-panel__result {
  font-size: clamp(15px, 1.6vw, 20px);
  margin-top: 10px;
}
.step-panel--framed .step-panel__stat {
  font-size: clamp(22px, 3.2vw, 50px);
  margin-top: clamp(10px, 2vh, 18px);
}
.step-panel__roster {
  list-style: none;
  margin-top: clamp(20px, 4vh, 42px);
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 340px));
  gap: 0 clamp(20px, 3vw, 54px);
}
.step-panel__roster li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--bone-14);
}
.step-panel__roster li span:first-child {
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 500;
}
.step-panel__roster li span:last-child {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--bone-45);
  text-align: right;
}
.steps__ticks {
  position: absolute;
  z-index: 5;
  bottom: clamp(22px, 4.5vh, 46px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}
.steps__ticks i {
  width: 34px;
  height: 2px;
  background: var(--bone-14);
  transition: background 0.3s ease;
}
.steps__ticks i.is-on { background: var(--bone); }

/* capabilities intro — one full-viewport stop */
.capintro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  background: var(--black);
  border-top: 1px solid var(--bone-14);
}
.capintro .services__note { max-width: 44ch; }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-hard);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .work__grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3.4; }
  .services { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .people__roster { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; text-align: left; }
  .section-head__title { text-align: left; }
  .section-head__count { text-align: left; }
  .hero__disciplines { display: none; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .step-panel__roster { grid-template-columns: 1fr; max-width: 420px; }
  .step-panel__roster li { padding: 7px 0; }
  .steps__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  /* capabilities on small screens: intro stacks on top, tiles cycle below */
  .steps__intro {
    left: var(--pad-x);
    right: var(--pad-x);
    top: clamp(120px, 17vh, 170px);
    transform: none;
    width: auto;
  }
  .steps__intro .services__statement { font-size: clamp(26px, 7vw, 34px); margin-top: 12px; }
  .steps__intro .services__note { font-size: 14px; }
  .steps--caps .step-panel { align-items: flex-end; }
  .steps--caps .step-panel__body {
    padding-left: var(--pad-x);
    padding-bottom: clamp(56px, 10vh, 90px);
  }
  .steps--caps .step-panel__cap { font-size: clamp(30px, 8.6vw, 42px); }
  .steps--caps .step-panel__result { font-size: 15px; }
  .step-panel__roster { margin-top: 14px; }
  /* portrait door art on narrow screens (shaft is taller than wide) */
  .elevator__door { background-image: url("../assets/elevator-doors-p.jpg"); }
}

@media (max-width: 560px) {
  .nav__mark { font-size: 12px; }
  .nav__links { gap: 14px; font-size: 10px; letter-spacing: 0.14em; }
}

/* short small screens (SE-class): compress the capabilities fold so the
   static intro and the People tile never collide */
@media (max-width: 860px) and (max-height: 720px) {
  .steps__intro { top: clamp(100px, 15vh, 130px); }
  .steps__intro .services__statement { font-size: 24px; }
  .steps__intro .services__note { font-size: 13px; }
  .steps--caps .step-panel__cap { font-size: 26px; }
  .steps--caps .step-panel__result { font-size: 13px; margin-top: 8px; }
  .step-panel__roster { margin-top: 10px; }
  .step-panel__roster li { padding: 4px 0; }
  .step-panel__roster li span:first-child { font-size: 14px; }
}

/* ============================================================
   REDUCED MOTION — static, honest, complete
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100vh; }
  .hero__blob::before,
  .hero__blob::after,
  .hero__scrollcue i,
  .caret { animation: none; }
  .caret { display: none; }
  .hero__video, .people__video { display: none; }
  .kinetic { height: auto; }
  .kinetic__sticky { display: none; }
  .kinetic__static {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vh;
    padding: 16vh var(--pad-x);
  }
  .kinetic__static span {
    font-family: var(--font-display);
    font-size: clamp(44px, 11vw, 190px);
    line-height: 1;
  }
  .cursor-dot, .cursor-ring { display: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile__video { transition: none; }
  .tile__body, .service__name { transition: none; }
  .hero__line { animation: none; transform: none; }
  .marquee__track { animation: none; }
  /* stepped sequences fall back to plain stacked full-height panels */
  .steps { height: auto; }
  .steps__frame { position: static; height: auto; overflow: visible; }
  .steps__head { position: static; padding: 60px var(--pad-x) 0; }
  .steps__intro { position: static; transform: none; width: auto; padding: 40px var(--pad-x) 0; }
  .steps--caps .step-panel__body { padding-left: var(--pad-x); }
  /* elevator: doors pre-open, no ride */
  .elevator__door, .elevator__call { display: none; }
  .elevator__floor { transition: none; }
  .step-panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    min-height: 100vh;
    transition: none;
  }
  .step-panel__body { opacity: 1; transform: none; transition: none; }
  .step-panel__img { transform: none; transition: none; }
  .framed__img { transform: none; transition: none; }
  .step-panel__video { display: none; }
  .step-panel__stat.is-slammed { animation: none; }
  .steps__ticks { display: none; }
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  /* touch heroes autoplay-loop instead of scroll-scrubbing, so the tall
     scrub runway isn't needed — keep the pinned moment brief */
  .hero { height: 150vh; }
}

/* ============================================================
   /home3 — WHAT WE DO: 3 vertical panels + one pinned marquee
   sign that morphs. Palette scoped here so the rest of the page
   is untouched. HARD RULE: brass only on moving elements
   (bulbs, letter-flip flash, rail active tick, play glint).
   ============================================================ */
html.h3 {
  --void: #0a0a0a;
  --cream: #f0ebe0;
  --brass: #c9a227;
  --brass-deep: #8b6914;
  --brass-hi: #e8d9a0;
  --ghost: rgba(240, 235, 224, 0.08);
  --brass-rake: linear-gradient(105deg, #8b6914 0%, #c9a227 45%, #e8d9a0 50%, #c9a227 55%, #8b6914 100%);
}

/* nav fix: comfortable 5vw gutters, lockup vertically centered */
html.h3 .nav {
  padding-left: 5vw;
  padding-right: 5vw;
  min-height: 72px;
  align-items: center;
}

.h3-mq {
  position: relative;
  height: 300vh;
  background: var(--void);
  color: var(--cream);
}
.h3-mq__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* text panels — left column, crossfade by active panel */
.h3-mq__panels {
  position: absolute;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(50vw, 660px);
  z-index: 2;
}
.h3-mq__panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.h3-mq__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}
/* entrance order: headline -> sub -> tags, staggered under 900ms */
.h3-mq__panel > * {
  opacity: 0;
  transform: translateY(12px);
}
.h3-mq__panel.is-active > * {
  animation: h3-rise 0.6s var(--ease-hard) forwards;
}
.h3-mq__panel.is-active .h3-eyebrow { animation-delay: 0.05s; }
.h3-mq__panel.is-active .h3-headline { animation-delay: 0.18s; }
.h3-mq__panel.is-active .h3-sub { animation-delay: 0.34s; }
.h3-mq__panel.is-active .h3-tags,
.h3-mq__panel.is-active .h3-reel-cta { animation-delay: 0.5s; }
@keyframes h3-rise { to { opacity: 1; transform: translateY(0); } }

.h3-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(240, 235, 224, 0.5);
}
.h3-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 118px);
  font-weight: 400;
  line-height: 0.92;
  margin-top: 16px;
  color: var(--cream);
}
.h3-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 27px);
  color: rgba(240, 235, 224, 0.72);
  margin-top: 18px;
}
.h3-tags {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(240, 235, 224, 0.5);
  margin-top: clamp(20px, 3.4vh, 34px);
  line-height: 2;
}
.h3-reel-cta {
  margin-top: clamp(22px, 3.6vh, 36px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--ghost);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  padding: 15px 26px;
  cursor: inherit;
  transition: border-color 0.3s ease;
}
.h3-reel-cta:hover,
.h3-reel-cta:focus-visible { border-color: rgba(240, 235, 224, 0.4); }
.h3-reel-cta__tri { font-size: 10px; }

/* the sign — right side desktop; one instance, persists + morphs */
.h3-sign {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  height: min(80vh, 660px);
  z-index: 1;
}
.h3-blade { height: 100%; width: auto; display: block; overflow: visible; }
.h3-blade__outline {
  fill: none;
  stroke: var(--ghost);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1; /* undrawn until the sign enters view */
}
.h3-blade.is-drawn .h3-blade__outline {
  transition: stroke-dashoffset 0.45s ease-out;
  stroke-dashoffset: 0;
}

.h3-bulb {
  fill: var(--ghost);
  transition: fill 0.12s linear, opacity 0.4s ease;
}
.h3-bulb.on {
  fill: var(--brass);
  filter: drop-shadow(0 0 6px var(--brass));
}
.h3-blade__bulbs.is-dim .h3-bulb.on { opacity: 0.3; }

.h3-letter {
  fill: var(--cream);
  font-family: var(--font-display);
  text-anchor: middle;
  dominant-baseline: central;
}
.h3-letter.is-flip { animation: h3-flip 0.42s ease both; }
@keyframes h3-flip {
  0% { fill: var(--cream); }
  40% { fill: var(--brass-hi); }
  100% { fill: var(--cream); }
}

.h3-blade__well { opacity: 0; transition: opacity 0.5s ease; }
.h3-blade__well.is-on { opacity: 1; }
.h3-blade__well rect { fill: rgba(240, 235, 224, 0.06); stroke: var(--ghost); stroke-width: 1; }
.h3-blade__play {
  fill: none;
  stroke: var(--ghost);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.h3-blade__play.is-glint { animation: h3-glint 1.1s ease; }
@keyframes h3-glint {
  0%, 100% { stroke: var(--ghost); filter: none; }
  50% { stroke: var(--brass-hi); filter: drop-shadow(0 0 5px var(--brass)); }
}

/* right rail — 3 ticks, active extends + brass */
.h3-rail {
  position: fixed;
  right: 2.4vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.h3-rail.is-visible { opacity: 1; }
.h3-rail i {
  width: 2px;
  height: 26px;
  background: var(--ghost);
  transition: height 0.35s var(--ease-hard), background 0.35s ease, box-shadow 0.35s ease;
}
.h3-rail i.is-on {
  height: 46px;
  background: var(--brass);
  box-shadow: 0 0 7px var(--brass);
}

/* reel lightbox — iframe mounted on click only (protects LCP) */
.h3-reel-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  background: rgba(6, 6, 6, 0.92);
}
.h3-reel-modal[hidden] { display: none; }
.h3-reel-modal__frame {
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ghost);
}
.h3-reel-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.h3-reel-modal__close {
  position: absolute;
  top: 4vh;
  right: 5vw;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

/* mobile: sign centers behind, panels sit low; letter field may shrink */
@media (max-width: 860px) {
  .h3-mq__panels {
    left: 0;
    right: 0;
    width: auto;
    top: auto;
    bottom: 9vh;
    transform: none;
    padding: 0 7vw;
    text-align: center;
  }
  .h3-sign {
    right: auto;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    height: min(52vh, 440px);
    opacity: 0.9;
  }
  .h3-reel-cta { align-self: center; }
  .h3-rail { display: none; }
}

/* reduced motion: no pin, no chase; all bulbs lit static, panels stacked */
@media (prefers-reduced-motion: reduce) {
  .h3-mq { height: auto; }
  .h3-mq__viewport { position: static; height: auto; overflow: visible; padding: 12vh 0; }
  .h3-mq__panels {
    position: static;
    width: auto;
    transform: none;
    padding: 0 5vw;
  }
  .h3-mq__panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-bottom: 9vh;
  }
  .h3-mq__panel > *,
  .h3-mq__panel.is-active > * { opacity: 1; transform: none; animation: none; }
  .h3-sign {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    transform: none;
    height: min(60vh, 480px);
    margin: 0 auto 8vh;
  }
  .h3-blade__well.is-on { opacity: 1; }
  .h3-blade__outline { stroke-dashoffset: 0; }
  .h3-rail { display: none; }
}

/* ============================================================
   /home3 MOBILE PORTRAIT — reworked per iPhone review:
   logo right + WORK/STUDIO dropped, GET_LISTED becomes a fixed
   bottom CTA; THE PROOF uses a portrait frame that fills the
   fold with the writing as a tight label beneath. Scoped to
   html.h3 so / and /home2 are untouched.
   ============================================================ */
.h3-cta-bottom { display: none; }

@media (max-width: 860px) {
  /* nav: push the lockup to the right, remove the top links */
  html.h3 .nav { justify-content: flex-end; }
  html.h3 .nav__links { display: none; }

  /* the one CTA, relocated to a fixed bottom bar */
  html.h3 .h3-cta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 17px 16px;
    background: rgba(6, 6, 6, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--ghost);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.26em;
    text-decoration: none;
    transition: transform 0.45s var(--ease-hard);
  }
  html.h3 .h3-cta-bottom.is-hidden { transform: translateY(120%); }

  /* THE PROOF — portrait frame that fills the fold, tight label beneath.
     Frame is sized by VIEWPORT HEIGHT (not width) so header + frame +
     label + bottom CTA always fit one fold; width follows the 3:4 ratio. */
  html.h3 .steps--proof .step-panel { align-items: flex-start; }
  html.h3 .steps--proof .step-panel__ghost { display: none; }
  html.h3 .steps--proof .steps__head { padding-top: clamp(54px, 7vh, 80px); }
  html.h3 .steps--proof .steps__title { font-size: clamp(28px, 7vw, 40px); }
  html.h3 .step-panel--framed { --fh: clamp(258px, 43vh, 420px); }
  html.h3 .step-panel--framed .step-panel__body {
    width: min(92vw, calc(var(--fh) * 0.75));
    padding-top: clamp(108px, 14vh, 136px);
    padding-bottom: 74px; /* clear the fixed bottom CTA */
  }
  html.h3 .framed {
    aspect-ratio: 3 / 4;
    height: var(--fh);
    width: auto;
    max-width: 92vw;
    margin: 0;
  }
  html.h3 .framed::before { background-image: url("../assets/frame-portrait.webp"); }
  html.h3 .framed__window { inset: 13.5% 17% 13% 17%; }
  html.h3 .step-panel__placard { margin-top: 14px; }
  html.h3 .step-panel--framed .step-panel__name { font-size: clamp(26px, 7vw, 40px); margin-top: 6px; }
  html.h3 .step-panel--framed .step-panel__result { margin-top: 6px; }
  html.h3 .step-panel--framed .step-panel__stat { margin-top: 8px; }
}

/* short phones (SE-class): shrink the frame + header so nothing clips */
@media (max-width: 860px) and (max-height: 740px) {
  html.h3 .step-panel--framed { --fh: clamp(240px, 40vh, 360px); }
  html.h3 .step-panel--framed .step-panel__body { padding-top: clamp(118px, 16vh, 140px); }
  html.h3 .steps--proof .steps__head { padding-top: clamp(46px, 6vh, 66px); }
  html.h3 .steps--proof .steps__title { font-size: clamp(24px, 6.5vw, 34px); }
  html.h3 .step-panel--framed .step-panel__meta,
  html.h3 .step-panel--framed .tile__meta { font-size: 10px; }
  html.h3 .step-panel--framed .step-panel__result { font-size: 14px; }
}
