/* =====================================================================
   drtseng · styles.css
   Generative video, practiced and taught.

   Tokens, layout, type, and motion all derived from DESIGN.md.
   No frameworks. No animation libraries. Vanilla CSS so the source
   reads as a teaching artifact.
   ===================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Color · Inkwell palette (locked in DESIGN.md §2) */
  --bg:           #0A0A0A;
  --surface:     #141416;
  --hairline:    #1F1F22;
  --ink:         #F4F4EF;
  --muted:       #8A8A85;
  --accent:      #C9A961;       /* brass · single restrained accent */
  --accent-soft: rgba(201, 169, 97, 0.15);

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing · 4px base scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* Layout */
  --max-w: 1440px;
  --gutter: 32px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 300ms;
  --d-mid: 600ms;
  --d-slow: 1200ms;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

/* Custom scrollbar · quiet rail */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---------- UTILITIES ---------- */
.caption {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}
.caption.muted { color: var(--muted); }

/* Scroll-reveal default state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--d-mid) var(--ease), transform var(--d-mid) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   STICKY HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-5) var(--s-7);
  background: linear-gradient(to bottom, rgba(10,10,10,0.85), rgba(10,10,10,0.0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--d-fast) var(--ease), padding var(--d-fast) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10,10,10,0.92);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--hairline);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.005em;
  color: var(--ink);
  /* Tuned for the lowercase 'drtseng' wordmark · slightly looser tracking,
     medium weight so the all-lowercase form reads confident, not heavy. */
}
.brand-mark__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color var(--d-fast) var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--d-fast) var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav a.cta {
  color: var(--bg);
  background: var(--accent);
  padding: 8px 16px;
}
.site-nav a.cta::after { display: none; }
.site-nav a.cta:hover { background: var(--ink); }

/* =====================================================================
   1. HERO
   ===================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--s-10) var(--s-7) var(--s-9);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* subtle radial vignette so the type sits in a faint pool of light */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 120vw; height: 120vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201,169,97,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin-bottom: var(--s-2);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
  max-width: 18ch;
}
.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
  max-width: 720px;
}
.hero__meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.hero__meta-row span:not(.caption) {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}

.hero__cue {
  position: absolute;
  bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}
.hero__cue-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
  animation: cue-pulse 2.4s ease-in-out infinite;
}
@keyframes cue-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue-line { animation: none; }
}

/* =====================================================================
   SECTION HEADERS (shared)
   ===================================================================== */
.section-header {
  padding: var(--s-10) var(--s-7) var(--s-7);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.section-header__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 24ch;
  color: var(--ink);
}
.section-header__sub {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
  max-width: 50ch;
  margin: var(--s-2) 0 0;
}

/* =====================================================================
   2. REEL · pinned 9:16 with gutter typography
   ===================================================================== */
.reel {
  /* total scroll length = 1 viewport pin + small release */
  position: relative;
  background: var(--bg);
}
.reel__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-7);
  max-width: var(--max-w);
  margin: 0 auto;
}

.reel__gutter {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.reel__gutter--left { align-items: flex-start; }
.reel__gutter--right { align-items: flex-start; max-width: 320px; }

.reel__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.reel__notes {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 32ch;
}

.reel__player {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  height: 80vh;
  aspect-ratio: 9 / 16;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--hairline);
}
.reel__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play-with-sound overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-3);
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.5) 100%);
  border: none;
  color: var(--ink);
  opacity: 0;
  transition: opacity var(--d-mid) var(--ease);
}
.reel__player:hover .play-overlay,
.play-overlay:focus-visible { opacity: 1; }

.play-overlay__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  transition: transform var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.play-overlay__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--bg);
}
.play-overlay:hover .play-overlay__icon { transform: scale(1.05); background: var(--accent); }
.play-overlay__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Spacer below sticky reel so it can release */
.reel::after {
  content: "";
  display: block;
  height: 60vh;
}

/* =====================================================================
   3. SELECTED WORK · pinned shorts
   ===================================================================== */
.work {
  background: var(--bg);
}

.work-item {
  position: relative;
  /* Each item gets one full pin + release window */
  height: 160vh;
}

.work-item__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-7);
  max-width: var(--max-w);
  margin: 0 auto;
}

.work-item__gutter {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.work-item__gutter--left {
  align-items: flex-start;
  align-self: flex-start;
  padding-top: var(--s-9);
}
.work-item__gutter--right {
  align-items: flex-start;
  align-self: flex-end;
  padding-bottom: var(--s-9);
  max-width: 360px;
}
.work-item__index {
  font-size: 14px;
  letter-spacing: 0.18em;
}
.work-item__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.work-item__note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 32ch;
}
.work-item__note .link,
.reel__notes .link,
.studio__statement .link {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  transition: color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.work-item__note .link:hover,
.reel__notes .link:hover,
.studio__statement .link:hover {
  color: var(--accent);
}
.work-item__note em,
.reel__notes em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}

/* Pedagogical "Demonstrates" tag · small mono caption in brass.
   Doubles as a curriculum signal and a production credit. */
.work-item__teaches {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  max-width: 34ch;
}

.work-item__player {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px var(--hairline);
  transition: transform var(--d-mid) var(--ease), box-shadow var(--d-mid) var(--ease);
}
.work-item__player[data-orientation="portrait"] {
  height: 78vh;
  aspect-ratio: 9 / 16;
}
.work-item__player[data-orientation="landscape"] {
  width: 64vw;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  height: auto;
}
.work-item__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-item__player:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 100px rgba(0,0,0,0.7), 0 0 0 1px var(--accent);
}

.work-item__expand {
  position: absolute;
  bottom: var(--s-4);
  right: var(--s-4);
  background: rgba(10,10,10,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
  border-radius: 2px;
}
.work-item__expand:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* =====================================================================
   4. CAPABILITIES
   ===================================================================== */
.capabilities {
  padding-bottom: var(--s-10);
}
.capability-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.capability {
  background: var(--bg);
  padding: var(--s-8) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background var(--d-fast) var(--ease);
}
.capability:hover {
  background: var(--surface);
}
.capability__index {
  color: var(--accent);
}
.capability__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.capability p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 38ch;
}

/* =====================================================================
   5. RECOGNITION
   ===================================================================== */
.recognition {
  padding-bottom: var(--s-10);
}
.recognition__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}

.recognition__square,
.recognition__wide {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.recognition__square img,
.recognition__wide img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.recognition__wide {
  align-self: end;
}

.pull-quote {
  max-width: 900px;
  margin: var(--s-10) auto 0;
  padding: 0 var(--s-7);
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  position: relative;
}
.pull-quote::before,
.pull-quote::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: var(--s-5) auto;
}

/* =====================================================================
   6. STUDIO
   ===================================================================== */
.studio {
  padding: var(--s-11) var(--s-7);
  background: var(--bg);
}
.studio__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.studio__statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  max-width: 28ch;
}
.studio__statement em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.studio__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* =====================================================================
   7. CONTACT
   ===================================================================== */
.contact {
  padding-bottom: var(--s-11);
  background: var(--bg);
}
.contact-form {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-5);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.field--full { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 16px;
  padding: var(--s-3) 0;
  transition: border-color var(--d-fast) var(--ease);
  width: 100%;
  border-radius: 0;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-display);
  line-height: 1.55;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) center, calc(100% - 6px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.field select option { background: var(--bg); color: var(--ink); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(138,138,133,0.5); }

.contact-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-5);
  flex-wrap: wrap;
}
.submit-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: var(--s-4) var(--s-7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  border-radius: 2px;
}
.submit-btn:hover {
  background: var(--ink);
  transform: translateX(2px);
}
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-form__actions .caption a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  transition: color var(--d-fast) var(--ease);
}
.contact-form__actions .caption a:hover { color: var(--accent); }

.contact-form__status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin-top: var(--s-3);
  color: var(--accent);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  padding: var(--s-7);
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}
.site-footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-7);
  align-items: center;
}
.site-footer__grid .caption {
  text-align: center;
  text-transform: none;
  letter-spacing: 0.05em;
}
.site-footer__grid .caption a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.back-to-top {
  text-align: right;
  white-space: nowrap;
}
.back-to-top:hover { color: var(--accent); }

/* =====================================================================
   MODAL · full-screen video lightbox
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,10,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-mid) var(--ease);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-9) var(--s-7);
}
.modal__stage video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}
.modal[data-orientation="portrait"] .modal__stage video {
  height: 90vh;
  width: auto;
  aspect-ratio: 9/16;
}
.modal[data-orientation="landscape"] .modal__stage video {
  width: 90vw;
  max-width: 1400px;
  height: auto;
  aspect-ratio: 16/9;
}
.modal__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.modal__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* =====================================================================
   RESPONSIVE · TABLET / MOBILE
   ===================================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .site-header { padding: var(--s-4) var(--s-5); }
  .site-nav { gap: var(--s-5); }

  .hero { padding: 120px var(--s-5) var(--s-9); }
  .hero__headline { font-size: clamp(48px, 12vw, 96px); }

  .section-header { padding: var(--s-9) var(--s-5) var(--s-6); }

  /* Reel + work items: collapse the gutter typography to stack ABOVE/BELOW */
  .reel__sticky,
  .work-item__sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--s-4);
    padding: var(--s-5);
    align-content: center;
  }
  .reel__player,
  .work-item__player[data-orientation="portrait"] {
    height: 60vh;
    margin: 0 auto;
  }
  .work-item__player[data-orientation="landscape"] {
    width: 92vw;
  }
  .reel__gutter--left,
  .reel__gutter--right,
  .work-item__gutter {
    align-items: center;
    text-align: center;
    padding: 0;
    max-width: 100%;
  }
  .work-item { height: 140vh; }

  .capability-grid { grid-template-columns: 1fr; padding: 0 var(--s-5); }
  .capability { padding: var(--s-7) var(--s-5); }

  .recognition__grid {
    grid-template-columns: 1fr;
    padding: 0 var(--s-5);
    gap: var(--s-5);
  }

  .studio { padding: var(--s-9) var(--s-5); }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 0 var(--s-5);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    text-align: center;
  }
  .back-to-top { text-align: center; }
}

@media (max-width: 600px) {
  .site-header { padding: var(--s-3) var(--s-4); }
  .site-nav { gap: var(--s-4); }
  .site-nav a:not(.cta) { font-size: 11px; }
  .site-nav a.cta { padding: 6px 10px; font-size: 11px; }
  .brand-mark__name { font-size: 15px; }
  .brand-mark__sub { font-size: 9px; }

  .hero { padding: 100px var(--s-4) var(--s-7); }
  .hero__meta { gap: var(--s-4); flex-direction: column; }

  .reel__player,
  .work-item__player[data-orientation="portrait"] { height: 70vh; }
  .work-item__player[data-orientation="landscape"] { width: 96vw; }

  .pull-quote { padding: 0 var(--s-4); }

  .modal__stage { padding: var(--s-7) var(--s-3); }
  .modal[data-orientation="portrait"] .modal__stage video { height: 80vh; }
  .modal__close { top: var(--s-3); right: var(--s-3); }
}
