/* =========================================================
   Principal Films — site styles
   Shared design with Principal Film Finance (sister site).
   Principal Films additions are at the end of this file.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --bg-3: #151515;
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, 0.68);
  --fg-mute: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #e0a63a;          /* Principal gold */
  --accent-2: #f3c66b;
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #000; }

/* film grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
}
.eyebrow .sep { color: var(--fg-mute); margin: 0 .5em; }
.display {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.92;
  font-size: clamp(48px, 9vw, 132px);
}
.h-xl {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(38px, 6.2vw, 92px);
}
.h-lg {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1;
  font-size: clamp(30px, 4vw, 56px);
}
.h-md {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(22px, 2.3vw, 30px);
}
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-dim); max-width: 44ch; line-height: 1.55; }
.prose p { color: var(--fg-dim); margin-bottom: 1.2em; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 1.2em; max-width: 68ch; }
.prose li { color: var(--fg-dim); padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.prose li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.prose h3 { font-size: 18px; font-weight: 700; margin: 1.6em 0 .6em; text-transform: uppercase; letter-spacing: .04em; }
.accent { color: var(--accent); }
.outline { -webkit-text-stroke: 1.5px var(--fg); color: transparent; }

/* ---------- links / buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 0 9px;
  position: relative;
  overflow: hidden;
  color: var(--fg);
}
.btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--fg-mute);
}
.btn::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); z-index: 1; transition: width .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { width: 100%; }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn.primary::after { background: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 40px; }

.btn-solid {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #000;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 18px 28px; border: 0; cursor: pointer; font-family: inherit;
  transition: background .3s;
}
.btn-solid:hover { background: var(--accent-2); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: flex-end; gap: 12px; line-height: 1; }
.logo-mark {
  font-weight: 900; font-size: 28px; letter-spacing: -0.03em; text-transform: uppercase;
}
.logo-mark span { color: var(--accent); }
.logo-sub {
  font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 3px;
}
.header-right { display: flex; align-items: center; gap: 36px; }
.header-links { display: flex; gap: 30px; }
.header-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim);
  transition: color .3s;
}
.header-links a:hover, .header-links a.active { color: var(--fg); }
.header-links a.active { color: var(--accent); }
.menu-btn {
  display: flex; align-items: center; gap: 14px;
  background: none; border: 0; color: var(--fg); cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 10px 0;
}
.menu-btn .bars { width: 26px; height: 12px; position: relative; display: inline-block; }
.menu-btn .bars i {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s;
}
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5px; }
.menu-btn .bars i:nth-child(3) { top: 10px; }
body.menu-open .menu-btn .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ---------- full-screen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu-overlay { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-overlay .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: end; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 22px;
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(36px, 6.5vw, 84px); line-height: 1.04;
  color: var(--fg);
  opacity: 0; transform: translateY(40px);
  transition: color .3s, opacity .6s var(--ease), transform .6s var(--ease);
}
.menu-nav a small { font-size: 13px; font-weight: 600; letter-spacing: .15em; color: var(--accent); }
.menu-nav a:hover { color: var(--accent); }
body.menu-open .menu-nav a { opacity: 1; transform: none; }
body.menu-open .menu-nav a:nth-child(1) { transition-delay: .15s; }
body.menu-open .menu-nav a:nth-child(2) { transition-delay: .2s; }
body.menu-open .menu-nav a:nth-child(3) { transition-delay: .25s; }
body.menu-open .menu-nav a:nth-child(4) { transition-delay: .3s; }
body.menu-open .menu-nav a:nth-child(5) { transition-delay: .35s; }
body.menu-open .menu-nav a:nth-child(6) { transition-delay: .4s; }
.menu-aside { color: var(--fg-dim); font-size: 15px; }
.menu-aside .eyebrow { margin-bottom: 10px; }
.menu-aside p { margin-bottom: 28px; }
.menu-aside a:hover { color: var(--accent); }

/* ---------- floating rotating badge ---------- */
.badge {
  position: fixed; right: clamp(16px, 2.5vw, 34px); bottom: clamp(16px, 2.5vw, 34px); z-index: 80;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(5,5,5,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .3s;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge svg.ring text { fill: var(--fg); font-size: 10.5px; font-weight: 700; letter-spacing: 3.4px; text-transform: uppercase; font-family: var(--font); }
.badge .arrow { font-size: 22px; transition: transform .4s var(--ease); }
.badge:hover { background: var(--accent); transform: scale(1.06); }
.badge:hover svg.ring text { fill: #000; }
.badge:hover .arrow { transform: rotate(45deg); color: #000; }
@keyframes spin { to { transform: rotate(360deg); } }
body.menu-open .badge { opacity: 0; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 clamp(70px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10% -5%; z-index: -2;
  display: flex; flex-direction: column; gap: 18px;
  transform: rotate(-6deg) scale(1.15);
  opacity: .5;
  filter: grayscale(.35) contrast(1.05);
}
.poster-row { display: flex; gap: 18px; width: max-content; animation: drift 90s linear infinite; }
.poster-row.rev { animation-direction: reverse; animation-duration: 110s; }
.poster-row img { width: 190px; height: 280px; object-fit: cover; border-radius: 2px; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(5,5,5,.55) 0%, rgba(5,5,5,.92) 60%),
    linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,.2) 40%, rgba(5,5,5,1) 100%);
}
.hero .lede { margin-top: 28px; }
.hero-word { display: block; overflow: hidden; }
.hero-word > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-word:nth-child(2) > span { animation-delay: .12s; }
.hero-word:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .fade-in { opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 1px; height: 54px; background: var(--line); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--accent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* page hero (inner pages) */
.page-hero { padding: 200px 0 90px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .lede { margin-top: 30px; }
.page-hero .bg-word {
  position: absolute; right: -2vw; bottom: -4vw; z-index: -1;
  font-weight: 900; font-size: 26vw; line-height: .8; letter-spacing: -.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06);
  pointer-events: none; white-space: nowrap;
}
.page-hero { isolation: isolate; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 13vw, 170px) 0; border-bottom: 1px solid var(--line); }
.section.tight { padding: clamp(60px, 8vw, 100px) 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split .sticky { position: sticky; top: 130px; }

/* now-in-production strip */
.now {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 100px);
  padding: 70px 0; border-bottom: 1px solid var(--line);
}
.now h3 { font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -.01em; }
.now .meta { margin-top: 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); }
.now-list { list-style: none; }
.now-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.now-list li:first-child { padding-top: 0; }
.now-list li .t { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.now-list li .s { color: var(--fg-mute); font-size: 14px; text-align: right; }
.now-list li.hl .t, .now-list li.hl .s { color: var(--accent); }

/* services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 70px; }
.service {
  position: relative; padding: 44px 36px 50px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 330px; display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
  transition: color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.service:hover::before { transform: none; }
.service:hover, .service:hover p, .service:hover .num { color: #000; }
.service .num { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--accent); transition: color .4s; }
.service h3 { margin: 70px 0 16px; }
.service p { color: var(--fg-dim); font-size: 15.5px; transition: color .4s; }
.service .go { margin-top: auto; padding-top: 28px; font-size: 22px; transition: transform .4s var(--ease); }
.service:hover .go { transform: translateX(8px); }

/* big marquee text */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 34px 0; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: drift 40s linear infinite; }
.marquee span {
  font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 7vw, 100px); letter-spacing: -.02em; line-height: 1;
  padding-right: .5em;
}
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.marquee span em { font-style: normal; color: var(--accent); padding-right: .5em; }

/* slate */
.slate-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.film-card { position: relative; display: block; overflow: hidden; background: var(--bg-3); aspect-ratio: 2 / 3; }
.film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.2); }
.film-card:hover img { transform: scale(1.05); filter: none; }
.film-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.92));
}
.film-card .cap h4 { font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.film-card .cap span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.slate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin-top: 50px; }
.slate-grid .film-card .cap { opacity: 0; transition: opacity .4s; }
.slate-grid .film-card:hover .cap, .slate-grid .film-card:focus-visible .cap { opacity: 1; }
.slate-grid .film-card .cap h4 { font-size: 17px; }

/* production list (text) */
.prod-list { list-style: none; margin-top: 50px; border-top: 1px solid var(--line); }
.prod-list li {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.prod-list .idx { font-size: 13px; letter-spacing: .2em; color: var(--accent); font-weight: 600; }
.prod-list .t { font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 46px); line-height: 1; letter-spacing: -.015em; }
.prod-list .s { color: var(--fg-dim); font-size: 15px; text-align: right; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--accent); color: var(--accent); }

/* steps (approach) */
.steps { counter-reset: step; margin-top: 60px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 30px; padding: 46px 0; border-bottom: 1px solid var(--line); }
.step .n { font-weight: 900; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.step h3 { font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.1; }
.step p { color: var(--fg-dim); }

/* detail blocks (financing page) */
.detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); padding: clamp(80px, 10vw, 130px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.detail .num { font-size: 13px; font-weight: 600; letter-spacing: .22em; color: var(--accent); display: block; margin-bottom: 20px; }
.detail .key {
  margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.prose p.key-label {
  margin: 36px 0 0; padding: 10px 22px; border: 1px solid var(--line); border-bottom: 0; max-width: none;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.key-label + .key { margin-top: 0; }
.detail .key div { background: var(--bg); padding: 20px 22px; }
.detail .key dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 6px; }
.detail .key dd { font-weight: 600; font-size: 15.5px; }

/* subnav pills */
.subnav { position: sticky; top: 84px; z-index: 50; background: rgba(5,5,5,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 18px 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-mute); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a:hover, .subnav a.on { color: var(--fg); border-color: var(--accent); }

/* guide */
.toc { list-style: none; border-top: 1px solid var(--line); }
.toc li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); transition: color .3s, padding .3s; }
.toc li a:hover { color: var(--accent); padding-left: 8px; }
.guide-body h2 { scroll-margin-top: 110px; margin: 90px 0 26px; }
.guide-body h2:first-child { margin-top: 0; }
.callout { border-left: 2px solid var(--accent); padding: 22px 26px; background: var(--bg-2); color: var(--fg-dim); margin: 30px 0; font-size: 15.5px; max-width: 68ch; }
.callout strong { color: var(--fg); }
.table { width: 100%; max-width: 760px; border-collapse: collapse; margin: 26px 0 30px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); font-weight: 600; }
.table td { color: var(--fg-dim); }
.table td:first-child { color: var(--fg); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* group / sister */
.group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }

/* CTA */
.cta { padding: clamp(110px, 16vw, 210px) 0; text-align: left; }
.cta .display { margin-bottom: 30px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); }
.contact-info dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.contact-info dd { margin-bottom: 36px; font-size: 18px; color: var(--fg-dim); }
.contact-info dd a { color: var(--fg); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-info dd a:hover { border-color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); font-weight: 600; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font-family: inherit; font-size: 17px; padding: 10px 0 12px; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.form select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--fg-mute) 50%), linear-gradient(135deg, var(--fg-mute) 50%, transparent 50%); background-position: calc(100% - 12px) 20px, calc(100% - 7px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--bg-2); color: var(--fg); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form .note { font-size: 13px; color: var(--fg-mute); }

/* ---------- footer ---------- */
.site-footer { padding: 90px 0 40px; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.footer-top h5 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 9px; }
.footer-top a, .footer-top p { color: var(--fg-dim); font-size: 15px; transition: color .3s; }
.footer-top a:hover { color: var(--fg); }
.footer-word { font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: .8; font-size: clamp(60px, 15.5vw, 220px); padding: 60px 0 40px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--fg-mute); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-word > span, .hero .fade-in { transform: none; opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .header-links { display: none; }
  .step { grid-template-columns: 80px 1fr; }
  .step p { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .split, .now, .detail, .group, .contact-grid, .menu-overlay .wrap { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .menu-aside { display: none; }
  .slate-feature { grid-template-columns: 1fr 1fr; }
  .slate-feature .film-card:nth-child(3) { display: none; }
  .prod-list li { grid-template-columns: 1fr; gap: 8px; }
  .prod-list .s { text-align: left; }
  .form { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 0 70px; }
  .site-header .wrap { height: 70px; }
  .subnav { top: 70px; }
  .logo-mark { font-size: 23px; }
  .logo-sub { display: none; }
  .badge { width: 84px; height: 84px; }
  .badge svg.ring text { font-size: 10px; letter-spacing: 2.4px; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 40px; }
  .detail .key { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .poster-row img { width: 130px; height: 192px; }
  .now-list li { flex-direction: column; gap: 4px; }
  .now-list li .s { text-align: left; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step p { grid-column: 1; }
}

/* =========================================================
   Principal Films additions
   ========================================================= */

/* role tag on posters */
.film-card .role {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent); color: #000; padding: 5px 8px;
}

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.filters:empty { display: none; }
.chip {
  font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--fg-dim); border: 1px solid var(--line); padding: 10px 16px; cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: var(--fg); border-color: var(--fg-mute); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #000; }
.film-card[hidden] { display: none; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 40px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-weight: 900; font-size: clamp(44px, 5.5vw, 76px); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat span { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 60px; }
.person { border: 1px solid var(--line); padding: 30px; }
.person .ph { aspect-ratio: 4 / 5; background: var(--bg-3); margin-bottom: 24px; display: grid; place-items: center; color: var(--fg-mute); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.person h3 { font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.person .r { display: block; margin: 8px 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.person p { color: var(--fg-dim); font-size: 15px; }

/* draft placeholder highlight — remove .todo once text is final */
.todo { outline: 1px dashed var(--accent); outline-offset: 4px; }

@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* team bios (about page) */
.team-list { margin-top: 60px; border-top: 1px solid var(--line); }
.bio { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(30px, 5vw, 70px); padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(.15); }
.bio h3 { font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; letter-spacing: -.015em; }
.bio .r { display: block; margin: 12px 0 26px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.bio p { color: var(--fg-dim); margin-bottom: 1.1em; max-width: 68ch; }
.bio p:last-child { margin-bottom: 0; }
.bio em { font-style: normal; color: var(--fg); font-weight: 600; }
@media (max-width: 720px) {
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 320px; }
}
