:root {
  color-scheme: dark;
  --ink: #f4eee7;
  --muted: #b7aaa2;
  --night: #080607;
  --panel: #100b0d;
  --wine: #51151f;
  --wine-bright: #8c2535;
  --gold: #d8b46a;
  --gold-soft: #f0d9a5;
  --line: rgba(216, 180, 106, 0.23);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--gold); color: #140b0d; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.opening { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; align-content: center; gap: 18px; background: #030203; transition: opacity .8s ease, visibility .8s ease; }
.opening::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(116,29,43,.34), transparent 46%), repeating-linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.018) 12.1% 12.2%); }
.opening.done { opacity: 0; visibility: hidden; }
.opening-ring { position: relative; width: 142px; height: 142px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 80px rgba(140,37,53,.3); animation: openingPulse 1.8s ease both; }
.opening-ring::before, .opening-ring::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(216,180,106,.28); border-radius: inherit; }
.opening-ring::after { inset: 22px; }
.opening-ring span { font-family: var(--serif); color: var(--gold-soft); font-size: 3.4rem; font-weight: 500; letter-spacing: -.08em; }
.opening p { z-index: 1; margin: 0; color: #9e8e87; font-size: .75rem; letter-spacing: .22em; }
.opening-skip { position: absolute; right: 24px; bottom: 22px; border: 0; background: transparent; color: #9e8e87; cursor: pointer; }
@keyframes openingPulse { 0% { transform: scale(.75); opacity: 0; } 70% { opacity: 1; } 100% { transform: scale(1); } }

.site-header { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 84px; display: flex; align-items: center; padding: 0 clamp(20px, 4vw, 68px); border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease, height .35s ease; }
.site-header.scrolled { height: 70px; background: rgba(8,6,7,.88); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-soft); font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.08em; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: .04em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; margin-right: 32px; }
.desktop-nav a, .header-watch { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a { color: #d1c4bd; }
.desktop-nav a:hover, .text-link:hover { color: var(--gold-soft); }
.header-watch { padding: 10px 16px; border: 1px solid var(--line); color: var(--gold-soft); }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); background: rgba(8,6,7,.55); cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 70; padding: 120px 28px 32px; background: rgba(8,6,7,.98); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 2rem; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.02); animation: heroMove 14s ease-in-out infinite alternate; }
.kb11-hero { filter: saturate(.82) contrast(1.06); }
@keyframes heroMove { to { transform: scale(1.07) translateX(-1%); } }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,3,4,.98) 0%, rgba(8,5,6,.77) 38%, rgba(8,5,6,.15) 69%, rgba(8,5,6,.5) 100%), linear-gradient(0deg, rgba(5,3,4,.88), transparent 48%); }
.film-grain { position: absolute; inset: -40%; width: 180%; height: 180%; opacity: .11; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E"); animation: grain .5s steps(2) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(2%,-1%); } 50% { transform: translate(-1%,2%); } 75% { transform: translate(1%,1%); } 100% { transform: translate(-2%,-1%); } }
.hero-content { position: relative; z-index: 2; width: min(760px, 86vw); margin-left: clamp(22px, 8vw, 140px); padding-top: 62px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .96; }
h1 { margin-top: 18px; font-size: clamp(4rem, 8.3vw, 8.5rem); letter-spacing: -.055em; }
h1 em { color: var(--gold-soft); font-weight: 400; }
.hero-intro { max-width: 600px; margin: 28px 0 0; color: #d9cdc6; font-size: clamp(1.05rem, 1.35vw, 1.28rem); }
.hero-actions, .watch-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #160d0f; }
.button-gold:hover { background: var(--gold-soft); }
.button-quiet { border: 1px solid var(--line); color: var(--gold-soft); }
.button-quiet:hover { border-color: var(--gold); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--line); color: #e7ddd6; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta { position: absolute; z-index: 2; left: clamp(22px, 8vw, 140px); right: clamp(22px, 4vw, 68px); bottom: 34px; display: flex; align-items: end; gap: 18px; }
.hero-meta div:not(.hero-line) { display: grid; }
.hero-meta span { color: #a8968d; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-meta strong { margin-top: 4px; color: #e7ddd6; font-size: .76rem; font-weight: 600; }
.hero-line { flex: 1; height: 1px; background: rgba(255,255,255,.22); }
.hero-format { text-align: right; }

.section-pad { padding: clamp(92px, 11vw, 168px) clamp(22px, 8vw, 140px); }
.section-kicker { margin: 0 0 26px; }
.manifesto { background: radial-gradient(circle at 82% 0, rgba(86,20,31,.22), transparent 34%), #0b0809; }
.manifesto-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.manifesto h2, .section-head h2, .process h2, .studio h2, .watch h2 { font-size: clamp(3.2rem, 6.6vw, 7rem); letter-spacing: -.045em; }
.manifesto-copy { padding-top: 14px; border-top: 1px solid var(--line); color: #cfc1ba; font-size: 1.05rem; }
.manifesto-copy p:first-child { color: var(--ink); font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }

.stories { background: var(--night); }
.section-head { display: grid; grid-template-columns: 1.2fr .55fr; gap: 50px; align-items: end; margin-bottom: 64px; }
.section-head > p { color: var(--muted); }
.story-feature { position: relative; min-height: min(72vw, 760px); overflow: hidden; border: 1px solid var(--line); }
.story-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.story-feature:hover img { transform: scale(1.025); }
.story-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,4,5,.96), transparent 62%), linear-gradient(90deg, rgba(7,4,5,.5), transparent 55%); }
.story-status { position: absolute; top: 24px; left: 24px; padding: 7px 12px; background: var(--wine-bright); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-copy { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(28px, 5vw, 70px); }
.story-copy p, .story-card > p { margin: 0 0 12px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-copy h3 { font-size: clamp(2.8rem, 5.8vw, 6.4rem); letter-spacing: -.04em; }
.story-copy span { display: block; margin-top: 22px; color: #ad9e96; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.story-card { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.story-card-image { aspect-ratio: 16 / 10; margin-bottom: 24px; overflow: hidden; }
.story-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.story-card:hover img { transform: scale(1.03); }
.story-card h3 { max-width: 560px; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1.02; }

.plot-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--line); }
.plot-grid article { min-height: 280px; padding: 30px; border-right: 1px solid var(--line); background: linear-gradient(145deg, rgba(81,21,31,.15), transparent); }
.plot-grid article:last-child { border-right: 0; }
.plot-grid span { color: var(--gold); font-family: var(--serif); font-size: 2.1rem; }
.plot-grid h3 { margin-top: 28px; font-size: 1.8rem; line-height: 1.05; }
.plot-grid p { color: var(--muted); font-size: .94rem; }

.cast-section { background: #0d090a; }
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cast-card { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.face-crop { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d6d3; }
.face-crop img { position: absolute; left: 0; top: 0; width: 225%; max-width: none; height: 100%; object-fit: cover; object-position: left center; filter: saturate(.72) contrast(1.03); transition: transform .7s ease; }
.cast-card:hover .face-crop img { transform: scale(1.025); }
.cast-card > p { margin: 20px 0 8px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cast-card h3 { font-size: 2rem; }
.cast-card > span { display: block; margin-top: 12px; color: var(--muted); font-size: .9rem; }

.production-gallery { background: #080607; }
.sketch-image { background: #e7e0d6; }
.sketch-image img { filter: sepia(.15) saturate(.7) contrast(1.03); }
.preproduction-note { margin: 36px 0 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: rgba(216,180,106,.06); color: var(--muted); }

.purpose { position: relative; overflow: hidden; background: linear-gradient(135deg, #551722, #2a0d14 68%, #12090c); }
.purpose-quote { position: absolute; right: 3vw; top: -14vw; color: rgba(240,217,165,.08); font-family: var(--serif); font-size: 46vw; line-height: 1; }
.purpose-inner { position: relative; }
.purpose h2 { max-width: 1100px; font-size: clamp(3.4rem, 7vw, 7.6rem); letter-spacing: -.05em; }
.purpose-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 10vw, 160px); margin-top: 70px; }
.purpose-columns p { margin: 0; color: #dccbc5; }
.purpose-lead { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 3rem); line-height: 1.2; color: white !important; }
.values { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 80px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.values span { padding: 22px 10px; border-right: 1px solid rgba(255,255,255,.18); text-align: center; font-family: var(--serif); font-size: 1.15rem; }
.values span:last-child { border-right: 0; }

.process { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 10vw, 150px); background: #0b0809; }
.process-intro { position: sticky; top: 118px; align-self: start; }
.process-intro > p:last-child { max-width: 370px; margin-top: 30px; color: var(--muted); }
.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.process-list h3 { grid-column: 2; margin-top: -2px; font-size: clamp(1.8rem, 2.5vw, 2.8rem); }
.process-list p { grid-column: 2; margin: 4px 0 0; color: var(--muted); }

.studio { position: relative; overflow: hidden; background: #070506; }
.studio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 42%, rgba(121,31,46,.3), transparent 35%); }
.studio-mark { position: absolute; right: -2vw; bottom: -14vw; color: rgba(216,180,106,.055); font-family: var(--serif); font-size: 37vw; letter-spacing: -.12em; line-height: 1; }
.studio-inner { position: relative; }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); margin-top: 76px; }
.studio-lead { margin: 0; color: var(--gold-soft); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.2; }
.studio-copy { color: #c6b8b0; }
.studio-copy p { margin-top: 0; margin-bottom: 24px; }
.creator-credit { display: grid; width: fit-content; margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--gold); }
.creator-credit span, .creator-credit small { color: var(--muted); font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
.creator-credit strong { margin: 8px 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }

.watch { text-align: center; background: linear-gradient(rgba(6,4,5,.82), rgba(6,4,5,.96)), url("assets/maeves-diner.webp") center/cover fixed; }
.watch h2 { color: var(--gold-soft); }
.watch > p:not(.section-kicker) { max-width: 620px; margin: 30px auto 0; color: #c9bab2; }
.watch-actions { justify-content: center; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; padding: 44px clamp(22px, 4vw, 68px); border-top: 1px solid var(--line); background: #050304; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.25rem; }
.site-footer > p { color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; gap: 22px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer > small { grid-column: 1 / -1; color: #766a65; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .desktop-nav, .header-watch { display: none; }
  .menu-button { display: block; }
  .manifesto-grid, .section-head, .process, .studio-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .section-head > p { max-width: 620px; }
  .process-intro { position: static; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values span:nth-child(3) { border-right: 0; }
  .values span:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: end; }
  .plot-grid, .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .plot-grid article:nth-child(2) { border-right: 0; }
  .plot-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 18px; }
  .brand-copy { display: none; }
  .hero { min-height: 820px; }
  .hero-image { object-position: 58% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(5,3,4,.94), rgba(7,4,5,.35)), linear-gradient(0deg, rgba(5,3,4,.97), transparent 58%); }
  .hero-content { width: auto; margin: 0 20px; padding-top: 0; align-self: end; padding-bottom: 205px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-meta { left: 20px; right: 20px; bottom: 30px; display: grid; }
  .hero-line { width: 100%; }
  .hero-format { text-align: left; }
  .section-pad { padding: 86px 20px; }
  .manifesto h2, .section-head h2, .process h2, .studio h2, .watch h2, .purpose h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .story-feature { min-height: 620px; }
  .story-feature img { object-position: 50% center; }
  .story-copy h3 { font-size: 3rem; }
  .story-grid, .purpose-columns, .plot-grid, .cast-grid { grid-template-columns: 1fr; }
  .plot-grid article, .plot-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .plot-grid article:last-child { border-bottom: 0; }
  .purpose-columns { margin-top: 44px; }
  .values { grid-template-columns: repeat(2, 1fr); margin-top: 54px; }
  .values span, .values span:nth-child(3) { border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .values span:nth-child(even) { border-right: 0; }
  .values span:nth-last-child(-n+2) { border-bottom: 0; }
  .process-list article { grid-template-columns: 1fr; }
  .process-list h3, .process-list p { grid-column: 1; }
  .watch { background-attachment: scroll; }
  .watch-actions { flex-direction: column; }
  .watch-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .opening { display: none; }
}
