/* ============================================================================
   MARCUS — VIDEO EDITOR PORTFOLIO
   Dark cinematic design system.
   ----------------------------------------------------------------------------
   DNA: Stink Studios' flat-black editorial restraint + Frame.io's cosmic
   gradient atmosphere & oversized thin display type + SVZ's display scale with
   serif-italic connectives. One accent: molten ember. Everything else is
   greyscale, and the work itself carries the colour.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* Canvas — never flat black, always layered */
  --void: #050507;
  --void-2: #08080c;
  --plate: #0e0e13;
  --plate-2: #14141b;
  --plate-3: #1b1b23;

  /* Ink */
  --bone: #f6f4f1;
  --ash: #a6a3a0;
  --smoke: #6e6b6a;
  --iron: #3a3940;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.24);

  /* The only chromatic accent in the system */
  --ember: #ff7a45;
  --ember-hot: #ff9c6e;
  --ember-deep: #c2481d;
  --ember-wash: rgba(255, 122, 69, 0.12);
  --ember-line: rgba(255, 122, 69, 0.42);

  /* Type */
  --sans: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Courier New", monospace;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(88px, 13vh, 168px);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 100px;

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

  /* Type scale.
     The display size is deliberately conservative: in the two-column hero the
     headline only has ~640px to live in, so sizing it off the full viewport
     would make every line wrap. */
  --t-display: clamp(2.75rem, 6.7vw, 6rem);
  --t-display-xl: clamp(2.9rem, 7.6vw, 7rem);
  --t-h1: clamp(2.4rem, 6.4vw, 5.4rem);
  --t-h2: clamp(1.9rem, 4.4vw, 3.4rem);
  --t-h3: clamp(1.15rem, 2.1vw, 1.6rem);
  --t-body: clamp(0.98rem, 1.05vw, 1.06rem);
  --t-small: 0.86rem;
  --t-micro: 0.7rem;
}

/* ----------------------------------------------------------------- 2. RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

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

::selection {
  background: var(--ember);
  color: #14100c;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ember);
  color: #14100c;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ------------------------------------------------------- 3. ATMOSPHERE */
/* Layered cosmic gradient — the light pools in different corners of the room */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      860px 620px at 12% -8%,
      rgba(255, 122, 69, 0.16),
      transparent 62%
    ),
    radial-gradient(
      1100px 780px at 88% 2%,
      rgba(79, 79, 128, 0.26),
      transparent 64%
    ),
    radial-gradient(
      900px 700px at 70% 52%,
      rgba(255, 122, 69, 0.055),
      transparent 66%
    ),
    radial-gradient(
      1200px 900px at 20% 108%,
      rgba(79, 79, 128, 0.18),
      transparent 62%
    ),
    linear-gradient(178deg, #0a0a12 0%, #06060a 38%, #050507 100%);
}

/* Film grain — keeps the dark surfaces from looking like flat digital panels */
.grain {
  position: fixed;
  inset: -120px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  animation: grain 6s steps(6) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-18px, 12px);
  }
  40% {
    transform: translate(14px, -16px);
  }
  60% {
    transform: translate(-12px, -10px);
  }
  80% {
    transform: translate(16px, 14px);
  }
}

/* --------------------------------------------------- 4. SCROLL TIMELINE */
/* The page IS the timeline: scrollbar = playhead, top bar = progress. */
.scrubber {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.scrubber__fill {
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--ember-hot));
  box-shadow: 0 0 14px rgba(255, 122, 69, 0.55);
  transition: width 0.08s linear;
}

/* ------------------------------------------------------------- 5. LAYOUT */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(56px, 8vh, 104px);
}

/* ------------------------------------------------------- 6. TYPOGRAPHY */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ember-line);
}
.eyebrow--plain::before {
  display: none;
}

.display {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--bone);
}

/* Full-width finale sizes (contact, 404) — these have the whole page to
   themselves so they can go bigger than the hero. */
.display--xl {
  font-size: var(--t-display-xl);
  line-height: 0.88;
}

.h1 {
  font-size: var(--t-h1);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}

.h2 {
  font-size: var(--t-h2);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-transform: uppercase;
  text-wrap: balance;
}

.h3 {
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* The serif italic connective — the system's typographic signature */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.62;
  color: var(--ash);
  max-width: 58ch;
}

.muted {
  color: var(--smoke);
}

/* Section heading block */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head__text {
  max-width: 62ch;
}
.sec-head .eyebrow {
  margin-bottom: 20px;
}
.sec-head p {
  margin-top: 18px;
  color: var(--ash);
  max-width: 56ch;
}

/* ------------------------------------------------------------ 7. BUTTONS */
.btn {
  --btn-bg: var(--ember);
  --btn-fg: #14100c;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn__arrow {
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow {
  transform: translate(3px, -3px);
}

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

.btn--solid:hover {
  background: var(--ember-hot);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.66rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* Ghost text link with hairline underline reveal */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-3);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ------------------------------------------------------------------ 8. NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6, 6, 9, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav__brand i {
  font-style: normal;
  color: var(--ember);
}
.nav__brand span {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--smoke);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--bone);
  border-bottom-color: var(--ember);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__tc {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__tc b {
  color: var(--ember);
  font-weight: 400;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.is-open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu — full-bleed void panel */
/* Anchored to the top rather than vertically centred: with the tall display
   links, centring pushes the first entries off-screen where they cannot be
   scrolled back into view. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(5, 5, 7, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 96px var(--gutter) 44px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
}
.menu a {
  font-size: clamp(1.65rem, 7.6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
}
.menu a:hover {
  color: var(--ember);
}
.menu__foot {
  margin-top: 30px;
  color: var(--smoke);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- 9. HERO */
.hero {
  position: relative;
  padding-top: clamp(120px, 17vh, 190px);
  padding-bottom: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero__display {
  margin: 26px 0 0;
}
.hero__display .serif {
  color: var(--ember);
}
.hero__lede {
  margin-top: 30px;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__stats {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__stat b {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat span {
  display: block;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* Showreel frame — the hero's video-first moment */
.reel {
  position: relative;
  width: 100%;
}
.reel__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--plate);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 122, 69, 0.09),
    0 0 90px rgba(255, 122, 69, 0.09);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.6s var(--ease-out), border-color 0.4s var(--ease);
}
.reel__frame:hover {
  transform: translateY(-5px);
  border-color: var(--ember-line);
}
.reel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06) brightness(0.72);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease-out);
}
.reel__frame:hover img {
  filter: saturate(1.02) contrast(1.08) brightness(0.9);
  transform: scale(1.03);
}
.reel__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.reel__play span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 122, 69, 0.92);
  color: #14100c;
  box-shadow: 0 0 46px rgba(255, 122, 69, 0.5);
  transition: transform 0.45s var(--ease-out), background 0.3s var(--ease);
}
.reel__frame:hover .reel__play span {
  transform: scale(1.08);
  background: var(--ember-hot);
}
.reel__slate {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}
.reel__slate b {
  color: var(--ember);
  font-weight: 400;
}

/* --------------------------------------------------------- 10. FILMSTRIP */
.filmstrip {
  margin-top: clamp(56px, 8vh, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
/* sprocket holes */
.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 9px,
    transparent 9px 22px
  );
  z-index: 2;
}
.filmstrip::before {
  top: 5px;
}
.filmstrip::after {
  bottom: 5px;
}
.filmstrip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 64s linear infinite;
}
.filmstrip:hover .filmstrip__track {
  animation-play-state: paused;
}
.filmstrip__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(190px, 21vw, 300px);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plate);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.filmstrip__item:hover {
  border-color: var(--ember-line);
  transform: scale(1.03);
}
.filmstrip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.08) brightness(0.6);
  transition: filter 0.45s var(--ease);
}
.filmstrip__item:hover img {
  filter: saturate(1) contrast(1.06) brightness(0.85);
}
.filmstrip__item span {
  position: absolute;
  left: 9px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------ 11. TICKER */
.ticker {
  padding-block: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: slide 44s linear infinite;
}
.ticker__track span {
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.05vw, 0.86rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
}
.ticker__track i {
  color: var(--ember);
  font-style: normal;
  font-size: 0.7rem;
}

/* --------------------------------------------------------- 12. WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.7vw, 22px);
}
.work-card {
  position: relative;
  grid-column: span 2;
  height: clamp(232px, 26vw, 400px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plate);
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
  padding: 0;
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease-out);
}
.work-card--wide {
  grid-column: span 4;
}
.work-card:hover {
  border-color: var(--ember-line);
  transform: translateY(-4px);
}
.work-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.1) brightness(0.62);
  transition: filter 0.55s var(--ease), transform 1s var(--ease-out);
}
.work-card:hover .work-card__img {
  filter: saturate(1.02) contrast(1.06) brightness(0.8);
  transform: scale(1.045);
}
.work-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0.6) 0%,
    rgba(5, 5, 7, 0.05) 34%,
    rgba(5, 5, 7, 0.72) 74%,
    rgba(5, 5, 7, 0.94) 100%
  );
  transition: opacity 0.5s var(--ease);
}
.work-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.work-card__idx {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: rgba(246, 244, 241, 0.62);
  font-variant-numeric: tabular-nums;
}
.work-card__cat {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  text-align: right;
}
.work-card__bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}
.work-card__title {
  font-size: clamp(1.02rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.16;
  color: var(--bone);
}
.work-card__sub {
  margin-top: 7px;
  font-size: var(--t-small);
  line-height: 1.45;
  color: var(--ash);
  max-width: 46ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.45s var(--ease), max-height 0.5s var(--ease);
}
.work-card:hover .work-card__sub,
.work-card:focus-visible .work-card__sub {
  opacity: 1;
  max-height: 90px;
}
.work-card__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-card__meta span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: #14100c;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
  box-shadow: 0 0 40px rgba(255, 122, 69, 0.45);
}
.work-card:hover .work-card__play,
.work-card:focus-visible .work-card__play {
  opacity: 1;
  transform: scale(1);
}

/* Item that could not load its poster — designed placeholder, never a broken icon */
.work-card.is-fallback .work-card__img,
.filmstrip__item.is-fallback img {
  opacity: 0;
}
.work-card__poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.022) 0 12px,
      transparent 12px 24px
    ),
    linear-gradient(150deg, #16161d, #0a0a10 60%, #141019);
}
.work-card.is-fallback .work-card__poster-fallback,
.filmstrip__item.is-fallback .poster-fallback {
  display: grid;
}
.work-card__poster-fallback span,
.filmstrip__item .poster-fallback span {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 0 18px;
}
.filmstrip__item .poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: linear-gradient(150deg, #16161d, #0a0a10);
}

/* Filters (Work page) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.chip {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.chip:hover {
  color: var(--bone);
  border-color: var(--line-3);
}
.chip.is-active {
  background: var(--ember);
  border-color: var(--ember);
  color: #14100c;
}
.grid-note {
  margin-top: 30px;
  color: var(--smoke);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.is-hidden {
  display: none !important;
}

/* ----------------------------------------------------------- 13. SERVICES */
.services {
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 74px 1.05fr 1.5fr;
  gap: clamp(18px, 3vw, 46px);
  align-items: start;
  padding-block: clamp(26px, 3.4vw, 42px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.5s var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--ember-wash),
    rgba(255, 122, 69, 0.02) 55%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service:hover::before {
  opacity: 1;
}
.service:hover {
  padding-left: 18px;
}
.service__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--ember);
  padding-top: 5px;
}
.service__title {
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.026em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.35s var(--ease);
}
.service:hover .service__title {
  color: var(--ember);
}
.service__body p {
  color: var(--ash);
  max-width: 62ch;
}
.service__tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service__tags span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

/* -------------------------------------------------------------- 14. ABOUT */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.about__statement {
  margin-top: 20px;
  font-size: clamp(1.35rem, 2.9vw, 2.35rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.about__statement .serif {
  color: var(--ember);
}
.about__body {
  margin-top: 26px;
  color: var(--ash);
  max-width: 60ch;
}

/* One label style for all three blocks inside About, so "Formats delivered",
   "The toolkit" and "How I work" start on the same rhythm in both columns. */
.eyebrow.about__label {
  display: flex;
  margin-bottom: 16px;
}

.about__block {
  margin-top: 40px;
}

/* "Formats delivered" — a two-column spec table that fills the width of the
   left column, which is what makes it read bigger than a paragraph list. */
.formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: clamp(26px, 3.4vw, 56px);
}
.formats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.formats__name {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.formats__note {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  white-space: nowrap;
}

/* Right column: the toolkit on top, "How I work" beneath a hairline rule, so
   the column carries the same weight as the copy beside it. */
.about__side .about__block {
  margin-top: 0;
}
.about__side .about__block + .about__block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about__list li {
  position: relative;
  color: var(--ash);
  font-size: var(--t-small);
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--line);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.9;
}

.tools {
  display: grid;
  gap: 14px;
}
.tool {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 24, 33, 0.9), rgba(8, 8, 12, 0.9));
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.tool:hover {
  border-color: var(--ember-line);
  transform: translateX(5px);
}
.tool__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #14100c;
  background: linear-gradient(150deg, var(--ember-hot), var(--ember-deep));
}
.tool__name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.014em;
}
.tool__use {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 5px;
}
.tools__note {
  margin-top: 16px;
  color: var(--smoke);
  font-size: var(--t-small);
}

/* ------------------------------------------------------------ 15. PROCESS */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-3) 12%,
    var(--line-3) 88%,
    transparent
  );
}
.step {
  position: relative;
  padding-top: 48px;
}
.step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  background: var(--void);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.step:hover::before {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 20px rgba(255, 122, 69, 0.55);
}
.step__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  color: var(--ember);
}
.step h3 {
  margin-top: 10px;
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 12px;
  color: var(--ash);
  font-size: var(--t-small);
  line-height: 1.62;
}

/* -------------------------------------------------------------- 16. RATES */
.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.rate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(20, 20, 27, 0.92), rgba(7, 7, 11, 0.92));
  transition: border-color 0.4s var(--ease), transform 0.55s var(--ease-out);
}
.rate:hover {
  transform: translateY(-5px);
  border-color: var(--line-3);
}
/* The featured tier gets the accent border — the only chromatic border in the system */
.rate--featured {
  border-color: var(--ember-line);
  box-shadow: 0 0 0 1px rgba(255, 122, 69, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.55);
  background: linear-gradient(
      168deg,
      rgba(255, 122, 69, 0.09),
      rgba(7, 7, 11, 0.95) 42%
    ),
    linear-gradient(168deg, rgba(20, 20, 27, 0.92), rgba(7, 7, 11, 0.92));
}
.rate__badge {
  position: absolute;
  top: -11px;
  left: clamp(24px, 2.6vw, 34px);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ember);
  color: #14100c;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.rate__name {
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  font-weight: 400;
  letter-spacing: -0.024em;
  line-height: 1.14;
}
.rate__scope {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}
.rate__price {
  margin-top: 20px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
}
.rate__price small {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  font-weight: 400;
}
.rate ul {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.rate li {
  position: relative;
  padding-left: 24px;
  padding-block: 7px;
  color: var(--ash);
  font-size: var(--t-small);
  line-height: 1.5;
}
.rate li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 9px;
  height: 1px;
  background: var(--ember);
}
.rate__cta {
  margin-top: 28px;
}
.rates__note {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--smoke);
  font-size: var(--t-small);
  max-width: 78ch;
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.rates__note b {
  color: var(--ember);
  font-weight: 400;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 17. FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding-block: clamp(20px, 2.4vw, 28px);
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--bone);
  transition: color 0.3s var(--ease);
}
.faq__q:hover {
  color: var(--ember);
}
.faq__sign {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 7px;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ash);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.faq__sign::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 1px;
}
.faq__sign::after {
  left: 6px;
  top: 0;
  width: 1px;
  height: 14px;
}
.faq__item.is-open .faq__sign::after {
  transform: scaleY(0);
}
.faq__item.is-open .faq__sign::before {
  background: var(--ember);
}
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__a p {
  padding-bottom: 28px;
  padding-right: 46px;
  color: var(--ash);
  max-width: 78ch;
}

/* ------------------------------------------------------------ 18. CONTACT */
.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.contact__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(1100px, 130vw);
  height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    closest-side,
    rgba(255, 122, 69, 0.17),
    transparent 72%
  );
  pointer-events: none;
  filter: blur(10px);
}
.contact__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__display {
  margin-top: 26px;
  max-width: 24ch;
}
.contact__display .serif {
  color: var(--ember);
}
.contact__body {
  margin-top: 26px;
  max-width: 52ch;
  color: var(--ash);
}
.contact__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 11px rgba(255, 122, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 69, 0);
  }
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  color: var(--smoke);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.copy:hover {
  color: var(--bone);
  border-color: var(--line-3);
}
.copy.is-done {
  color: var(--ember);
  border-color: var(--ember-line);
}
/* The contact checklist is "what to include", so it is labelled and ticked
   rather than numbered: numbers here read as a second set of process steps. */
.contact__list-label {
  margin-top: clamp(48px, 6vw, 74px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}
.contact__list-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.contact__list {
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  text-align: left;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ash);
  font-size: var(--t-small);
}
.contact__tick {
  flex: none;
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 4px;
}
.contact__tick::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 2px;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--ember);
  border-bottom: 1.5px solid var(--ember);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------- 19. FOOTER */
.footer {
  background: var(--void-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(46px, 6vw, 72px) 34px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.footer__brand i {
  font-style: normal;
  color: var(--ember);
}
.footer__tag {
  margin-top: 12px;
  color: var(--smoke);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 6vw, 80px);
}
.footer__nav h4 {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 14px;
}
.footer__nav a,
.footer__nav li {
  display: block;
  color: var(--ash);
  font-size: var(--t-small);
  padding: 5px 0;
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover {
  color: var(--ember);
}
.footer__bottom {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ---------------------------------------------------------- 20. LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 44px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 5, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox__panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.is-open .lightbox__panel {
  transform: none;
}
.lightbox__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lightbox__cat {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}
.lightbox__title {
  margin-top: 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.026em;
  text-transform: uppercase;
  line-height: 1.1;
}
.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lightbox__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #000;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 122, 69, 0.12), 0 0 120px rgba(255, 122, 69, 0.07);
}
.lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
/* Sits ABOVE the iframe so it is actually seen while Drive's player boots,
   then fades away to reveal the player. */
.lightbox__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--void-2);
  transition: opacity 0.5s var(--ease);
}
.lightbox__loading.is-done {
  opacity: 0;
  pointer-events: none;
}
.lightbox__loading img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.3) blur(1px);
}
.lightbox__loading-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}
.lightbox__loading span {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}
.lightbox__loading small {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  max-width: 40ch;
  line-height: 1.7;
}
.lightbox__loading small a {
  color: var(--ember);
  border-bottom: 1px solid var(--ember-line);
}
.lightbox__bar-line {
  width: 140px;
  height: 2px;
  background: var(--line-2);
  overflow: hidden;
  border-radius: 2px;
}
.lightbox__bar-line::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--ember);
  animation: load 1.1s var(--ease) infinite;
}
@keyframes load {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
.lightbox__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.lightbox__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lightbox__meta span {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
/* --------------------------------------------------------- 21. PAGE HEADS */
.page-head {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.page-head__display {
  margin-top: 24px;
  max-width: 22ch;
}
.page-head__display .serif {
  color: var(--ember);
}
.page-head .lede {
  margin-top: 24px;
}
.crumbs {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
  display: flex;
  gap: 10px;
  align-items: center;
}
.crumbs a:hover {
  color: var(--ember);
}

/* ------------------------------------------------------------ 22. REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- 23. RESPONSIVE */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .reel {
    max-width: 720px;
  }
  .about {
    grid-template-columns: 1fr;
    /* Stacked, the toolkit column has to read as its own column rather than a
       continuation of the copy above it, so this gap is deliberately wider
       than the gap between the two blocks inside the toolkit column. */
    gap: 84px;
  }
  /* Stacked, the side column would stretch full width and read as empty.
     Capping it keeps the tool cards the same density as on desktop. */
  .about__side {
    max-width: 660px;
  }
  /* Inside the toolkit column the two blocks only need a hairline's worth of
     space, which keeps them clearly subordinate to the column gap above. */
  .about__side .about__block + .about__block {
    margin-top: 26px;
    padding-top: 24px;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 26px;
  }
  .process::before {
    display: none;
  }
  .step {
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
  .step::before {
    top: -1px;
  }
  .rates {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .service {
    grid-template-columns: 56px 1fr;
  }
  .service__body {
    grid-column: 2;
  }
  .contact__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__tc {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav__right .btn--sm {
    display: none;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-card,
  .work-card--wide {
    grid-column: span 2;
  }
  .work-card {
    height: clamp(210px, 44vw, 320px);
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .formats {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .work-card__sub {
    opacity: 1;
    max-height: 90px;
  }
}

@media (max-width: 620px) {
  :root {
    --section-y: 84px;
  }
  html {
    scroll-padding-top: 74px;
  }
  .hero {
    padding-top: 118px;
  }
  .display {
    letter-spacing: -0.035em;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card,
  .work-card--wide {
    grid-column: span 1;
    height: 218px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .contact__list {
    grid-template-columns: 1fr;
  }
  .contact__actions .btn,
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
  .faq__a p {
    padding-right: 0;
  }
  /* Keep the same gap hierarchy at the smallest size: the columns stay further
     apart than the blocks within a column. */
  .about {
    gap: 72px;
  }
  .reel__play span {
    width: 62px;
    height: 62px;
  }
  .lightbox {
    padding: 0;
  }
  .lightbox__panel {
    gap: 12px;
    padding: 12px;
  }
  .lightbox__frame {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* ------------------------------------------------- 24. ACCESSIBILITY / MISC */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .filmstrip__track,
  .ticker__track {
    animation: none;
  }
}

.noscript {
  padding: 24px var(--gutter);
  border: 1px dashed var(--ember-line);
  border-radius: var(--radius);
  color: var(--ash);
  font-size: var(--t-small);
  max-width: var(--max);
  margin: 0 auto var(--section-y);
}
