/* =========================================================
   Cooked Productions — base
   ========================================================= */

:root {
  --bg: #0d0a08;
  --bg-alt: #14100c;
  --bg-elevated: #1c1611;
  --bg-card: #201a14;
  --text: #f5ece0;
  --text-muted: #c2b3a0;
  --text-faint: #8f7f6c;
  --accent: #d98c4a;
  --accent-light: #f0b878;
  --accent-dark: #a85f2c;
  --border: rgba(245, 236, 224, 0.12);
  --border-strong: rgba(245, 236, 224, 0.22);
  --scrim: rgba(10, 7, 5, 0.55);

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --radius: 10px;
  --radius-lg: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--space-2); }

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

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 900px) {
  .section-inner { padding: 0 var(--space-5); }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #1a1209;
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 var(--space-2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--text);
  margin: 0 0 var(--space-3);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
}

.section-head {
  max-width: 640px;
  margin: 0 0 var(--space-6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--accent);
  color: #1a1209;
}
.btn-accent:hover { background: var(--accent-light); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 900px) {
  .header-inner { padding: 18px var(--space-5); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark { flex-shrink: 0; }

.brand-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  color: var(--text);
}

.brand-word-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 3px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 859px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-5);
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-out);
  }
  .site-nav.open { transform: translateX(0); display: flex; }
  .site-nav a:not(.btn) { font-size: 1.1rem; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--space-8) + 60px) var(--space-3) var(--space-7);
}

@media (min-width: 900px) {
  .hero { padding: calc(var(--space-8) + 60px) var(--space-5) var(--space-7); }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,7,5,0.55) 0%, rgba(10,7,5,0.35) 35%, rgba(10,7,5,0.92) 92%),
    linear-gradient(90deg, rgba(10,7,5,0.75) 0%, rgba(10,7,5,0.15) 55%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  margin: 0 0 var(--space-3);
  color: var(--text);
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.hero-title-line { display: block; }
.hero-title-accent { color: var(--accent-light); }

.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero-lede strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 1;
  width: 30px;
  height: 46px;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  display: none;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 999px;
  margin: 7px auto 0;
  animation: cueMove 1.8s ease-in-out infinite;
}
@media (min-width: 700px) { .scroll-cue { display: block; } }
@keyframes cueMove {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  background: var(--accent);
  color: #1a1209;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.marquee-track {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  animation: marqueeScroll 32s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-track span { white-space: nowrap; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =========================================================
   About
   ========================================================= */

.about { padding: var(--space-8) 0; background: var(--bg); }

.about-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: var(--space-7);
  }
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 420px;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-3);
  background: linear-gradient(0deg, rgba(10,7,5,0.85), transparent);
  display: flex;
  flex-direction: column;
}
.about-media-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.about-media-role {
  font-size: 0.8rem;
  color: var(--accent-light);
}

.about-copy strong { color: var(--text); }

.credential-list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
}
.credential-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.credential-list li:last-child { border-bottom: none; padding-bottom: 0; }
.credential-year {
  font-family: var(--font-display);
  color: var(--accent-light);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.credential-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =========================================================
   Services
   ========================================================= */

.services { padding: var(--space-8) 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: var(--space-4);
  transition: background var(--dur-fast) var(--ease-out);
}
.service-card:hover { background: var(--bg-elevated); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(217, 140, 74, 0.12);
  color: var(--accent-light);
  margin-bottom: var(--space-2);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.services-cta {
  margin-top: var(--space-5);
  text-align: center;
  color: var(--text-muted);
}
.services-cta a {
  color: var(--accent-light);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.services-cta a:hover { border-color: var(--accent-light); }

/* =========================================================
   Work
   ========================================================= */

.work { padding: var(--space-8) 0; background: var(--bg); }

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 190px;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
@media (min-width: 700px) {
  .work-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: var(--space-3); }
  .work-photo--wide { grid-column: span 2; }
}

.work-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
}
.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.work-photo:hover img { transform: scale(1.04); }

.work-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
@media (min-width: 700px) {
  .work-videos { grid-template-columns: 1fr 1fr; }
}

.work-video { margin: 0; }
.video-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--bg-card);
}
.video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out), filter var(--dur-med) var(--ease-out);
}
.video-trigger:hover img { transform: scale(1.03); filter: brightness(0.75); }

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(13,10,8,0.55);
  border: 1.5px solid rgba(245,236,224,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.play-btn svg { width: 22px; height: 22px; color: var(--text); margin-left: 3px; }
.video-trigger:hover .play-btn { transform: scale(1.08); background: var(--accent); }
.video-trigger:hover .play-btn svg { color: #1a1209; }

.work-video figcaption {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.work-video-title { font-weight: 600; }
.work-video-sub { font-size: 0.85rem; color: var(--text-faint); }

/* Credits */
.credits {
  margin: var(--space-6) 0;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.credits-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-2);
}
.credits-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.credits-list li {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
}
.credits-list li:not(:last-child)::after {
  content: "";
}

/* YouTube embeds */
.video-embeds { margin: var(--space-6) 0; }
.video-embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
@media (min-width: 700px) {
  .video-embed-grid { grid-template-columns: 1fr 1fr; }
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Demos */
.demos {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.demos-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
}
.demos-copy {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 0 var(--space-4);
}

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-track {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 10px;
  border-radius: 10px;
  transition: background var(--dur-fast) var(--ease-out);
}
.demo-track:hover { background: var(--bg-card); }
.demo-track.is-playing { background: var(--bg-card); }

@media (min-width: 640px) {
  .demo-track { grid-template-columns: 44px 1fr 140px 48px; }
}

.demo-play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.demo-play svg { width: 18px; height: 18px; }
.demo-play .icon-play { margin-left: 2px; }
.demo-track:hover .demo-play,
.demo-track.is-playing .demo-play {
  background: var(--accent);
  color: #1a1209;
  border-color: var(--accent);
}

.demo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.demo-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-role {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.demo-progress {
  grid-column: 1 / -1;
  order: 3;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-top: 6px;
}
@media (min-width: 640px) {
  .demo-progress { grid-column: auto; order: 0; margin-top: 0; }
}
.demo-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
}

.demo-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: right;
  display: none;
}
@media (min-width: 640px) {
  .demo-time { display: block; }
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  padding: var(--space-8) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
}

.contact-details {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-detail:hover { color: var(--accent-light); }
.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.contact-detail-value {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0 var(--space-3);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
}
.brand-footer .brand-word { color: var(--text-muted); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-nav a, .footer-social a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-nav a:hover, .footer-social a:hover { color: var(--accent-light); }

.footer-social { display: flex; gap: var(--space-3); }

.footer-bottom {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 0;
}

/* =========================================================
   Video lightbox
   ========================================================= */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 4, 3, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.video-lightbox[hidden] { display: none; }

.video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-lightbox-inner video {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  background: #000;
}
.video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
