:root {
  color-scheme: light;
  --paper: #f2efe8;
  --paper-2: #fffdf7;
  --ink: #11110f;
  --ink-2: #24231f;
  --muted: #66635c;
  --red: #ff3d1f;
  --blue: #2447ff;
  --yellow: #ffd831;
  --mint: #a8f3c3;
  --white: #fffdf8;
  --line: #11110f;
  --line-soft: rgba(17, 17, 15, .2);
  --shadow: 10px 10px 0 var(--ink);
  --nav: 76px;
  --max: 1460px;
  --display: "Syne", "Arial Black", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(17,17,15,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,15,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.container { width: min(var(--max), calc(100% - 9%)); margin-inline: auto; }
.section { position: relative; padding: 118px 0; }
.section-anchor { scroll-margin-top: 105px; }
.dark-section { background: var(--ink); color: var(--white); }
.soft-section { background: var(--yellow); color: var(--ink); }
.reveal {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-26px);
  transition: clip-path .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), opacity .25s;
}
.reveal.visible { opacity: 1; clip-path: inset(0); transform: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30000;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 25000;
  width: 100%;
  height: 5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
#motionField { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .48; mix-blend-mode: multiply; }
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  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='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .35s steps(2) infinite;
}
body > .announcement, body > .nav, body > main, body > footer { position: relative; z-index: 2; }
@keyframes grain {
  0% { transform: translate(0); }
  25% { transform: translate(2%, -1%); }
  50% { transform: translate(-1%, 2%); }
  75% { transform: translate(1%, 1%); }
  100% { transform: none; }
}

.gradient {
  background: linear-gradient(92deg, var(--red) 0 47%, var(--blue) 53% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 3px solid currentColor;
  color: var(--red);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  line-height: 1.2;
  text-transform: uppercase;
}
.dark-section .eyebrow { color: var(--yellow); }
.heading { max-width: 900px; margin: 0 auto 58px; text-align: center; }
.heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; text-align: left; }
.heading-row > div:first-child { max-width: 900px; }
.heading h2 {
  margin: 14px 0 15px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .93;
  text-transform: uppercase;
}
.heading p { max-width: 720px; margin: 0; color: var(--muted); font-weight: 500; }
.dark-section .heading p { color: #b9b5aa; }

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 23px;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--ink); }
.btn.primary { background: var(--red); color: var(--white); }
.btn.primary:hover { background: var(--blue); }
.btn.ghost { background: var(--paper-2); color: var(--ink); }
.dark-section .btn.ghost, footer .btn.ghost { border-color: var(--white); background: transparent; color: var(--white); }
.btn.compact { min-height: 44px; padding: 8px 16px; }

/* Projector-shutter loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-content: center;
  padding: 30px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  transition: clip-path .85s cubic-bezier(.77,0,.18,1), visibility .85s;
}
.loader::before, .loader::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 22px;
  top: 18%;
  background: var(--blue);
  animation: shutter 1.05s cubic-bezier(.65,0,.35,1) infinite alternate;
}
.loader::before { left: 0; }
.loader::after { right: 0; top: auto; bottom: 18%; background: var(--red); animation-direction: alternate-reverse; }
.loader.hidden { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-ring {
  width: min(290px, 70vw);
  height: 12px;
  position: relative;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 2px solid var(--white);
  background: transparent;
}
.loader-ring i { position: absolute; inset: 0 auto 0 0; width: 36%; background: var(--yellow); animation: loaderSweep .8s cubic-bezier(.76,0,.24,1) infinite alternate; }
.loader strong { font-family: var(--display); font-size: clamp(3rem, 10vw, 7rem); letter-spacing: -.08em; line-height: .85; animation: titleCut .9s steps(2) infinite; }
.loader span { margin-top: 18px; color: #b8b5ac; font-family: var(--display); font-size: .65rem; letter-spacing: 2.4px; text-transform: uppercase; }
@keyframes loaderSweep { to { transform: translateX(180%); width: 55%; } }
@keyframes shutter { from { transform: translateX(-55%); } to { transform: translateX(25%); } }
@keyframes titleCut { 50% { text-shadow: 7px 0 var(--red), -7px 0 var(--blue); } }

/* Top rail and navigation */
.announcement { height: 36px; display: flex; align-items: center; border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--white); font-size: .72rem; }
.announcement-inner { display: flex; align-items: center; justify-content: space-between; }
.announcement i { width: 9px; height: 9px; display: inline-block; margin-right: 8px; background: var(--yellow); animation: blink 1.1s steps(2) infinite; }
.announcement a { color: var(--yellow); font-family: var(--display); font-size: .67rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
@keyframes blink { 50% { background: var(--red); transform: scale(.65); } }
.nav {
  position: sticky;
  top: 0;
  z-index: 1500;
  height: var(--nav);
  border-bottom: 2px solid var(--ink);
  background: rgba(242,239,232,.92);
  backdrop-filter: blur(14px);
  transition: height .22s, box-shadow .22s, background .22s;
}
.nav.scrolled { height: 66px; background: rgba(255,253,247,.97); box-shadow: 0 6px 0 rgba(17,17,15,.12); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-family: var(--display); font-size: 1.38rem; font-weight: 800; letter-spacing: -.06em; }
.brand-mark { width: 42px; height: 28px; position: relative; display: block; flex: 0 0 auto; border: 2px solid var(--ink); background: var(--red); transition: transform .22s; }
.brand:hover .brand-mark { transform: skewX(-12deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--ink); }
.brand-mark::before { width: 2px; inset: 0 auto 0 50%; }
.brand-mark::after { height: 2px; inset: 50% 0 auto; }
.brand-mark i { width: 8px; height: 8px; position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); background: var(--yellow); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.35vw, 22px); margin-left: auto; }
.nav-links a { position: relative; font-family: var(--display); font-size: .66rem; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 5px; background: var(--red); transition: right .22s cubic-bezier(.16,1,.3,1); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.shortlist-nav { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 2px solid var(--ink); background: var(--yellow); font-family: var(--display); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.shortlist-nav > b { min-width: 24px; height: 23px; display: grid; place-items: center; padding: 0 5px; background: var(--ink); color: var(--white); }
.menu-btn { display: none; width: 46px; height: 42px; border: 2px solid var(--ink); background: var(--paper-2); }
.menu-btn span { width: 22px; height: 2px; display: block; margin: 5px auto; background: var(--ink); transition: .22s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero / kinetic poster fan */
.hero { min-height: calc(100svh - 36px - var(--nav)); position: relative; display: flex; flex-direction: column; justify-content: space-between; padding-top: 74px; overflow: hidden; background: linear-gradient(115deg, rgba(255,216,49,.32), transparent 44%); }
.hero::before { content: "TRYNIA"; position: absolute; left: -1.5vw; top: 5%; z-index: 0; color: transparent; font-family: var(--display); font-size: clamp(8rem, 20vw, 22rem); font-weight: 800; letter-spacing: -.1em; line-height: 1; -webkit-text-stroke: 2px rgba(17,17,15,.08); transform: rotate(-2deg); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -13vw; top: -18vw; width: 38vw; height: 52vw; z-index: 0; background: var(--blue); transform: rotate(22deg); opacity: .9; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 58px; flex: 1; }
.hero-copy h1 { max-width: 940px; margin: 18px 0 25px; font-family: var(--display); font-size: clamp(3.9rem, 7.4vw, 7.8rem); font-weight: 800; letter-spacing: -.085em; line-height: .82; text-transform: uppercase; }
.hero-copy > p { max-width: 680px; margin: 0; font-size: clamp(.98rem, 1.35vw, 1.16rem); font-weight: 600; }
.typed { display: inline-block; min-width: 6.6em; transform-origin: left center; transition: opacity .2s, transform .35s cubic-bezier(.2,.8,.2,1); }
.typed.word-out { opacity: 0; transform: translateX(32px) skewX(-10deg); }
.typed.word-in { animation: wordIn .55s cubic-bezier(.16,1,.3,1); }
@keyframes wordIn { from { clip-path: inset(0 100% 0 0); transform: translateX(-22px); } to { clip-path: inset(0); transform: none; } }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; border: 2px solid var(--ink); background: var(--paper-2); }
.hero-stats div { min-height: 84px; padding: 15px 14px; border-right: 2px solid var(--ink); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; }
.hero-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.hero-art { min-height: 610px; position: relative; display: grid; place-items: center; }
.poster-stack { width: min(540px, 94%); height: 570px; position: relative; z-index: 3; perspective: 1200px; }
.stack-poster { position: absolute; width: 274px; aspect-ratio: 2/3; overflow: hidden; border: 3px solid var(--ink); border-radius: 0; background: var(--paper-2); box-shadow: 10px 10px 0 var(--ink); cursor: pointer; transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.stack-poster:hover { z-index: 6; box-shadow: 17px 17px 0 var(--red); }
.stack-poster:hover { animation: none; }
.stack-poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.stack-center { left: 50%; top: 48%; z-index: 4; transform: translate(-50%, -50%) rotate(-2deg); animation: centerPoster 6s ease-in-out infinite; }
.stack-left { left: 2%; top: 54%; z-index: 2; transform: translateY(-50%) rotate(-15deg) scale(.83); animation: leftPoster 7s ease-in-out infinite; }
.stack-right { right: 1%; top: 48%; z-index: 1; transform: translateY(-50%) rotate(14deg) scale(.82); animation: rightPoster 6.5s ease-in-out infinite; }
.stack-center:hover { transform: translate(-50%, -55%) rotate(0) scale(1.04); }
.stack-left:hover { transform: translateY(-55%) rotate(-7deg) scale(.9); }
.stack-right:hover { transform: translateY(-55%) rotate(7deg) scale(.9); }
@keyframes centerPoster { 50% { transform: translate(-50%, -53%) rotate(1deg); } }
@keyframes leftPoster { 50% { transform: translateY(-54%) rotate(-11deg) scale(.83); } }
@keyframes rightPoster { 50% { transform: translateY(-54%) rotate(10deg) scale(.82); } }
.placeholder { display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.placeholder::after { content: "FRAME / 001"; position: absolute; inset: 13px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 9px; border: 2px solid var(--ink); font-size: .55rem; }
.orbit { position: absolute; z-index: 1; border: 3px solid var(--ink); border-radius: 0; transform: rotate(-11deg) skewX(-8deg); }
.orbit-a { width: 510px; height: 410px; background: var(--yellow); animation: frameShift 8s ease-in-out infinite; }
.orbit-b { width: 650px; height: 250px; border-color: var(--white); background: var(--red); opacity: .92; transform: rotate(12deg) skewX(9deg); animation: frameShiftB 9s ease-in-out infinite; }
@keyframes frameShift { 50% { transform: translate(-15px, 12px) rotate(-5deg) skewX(-8deg); } }
@keyframes frameShiftB { 50% { transform: translate(18px, -10px) rotate(5deg) skewX(9deg); } }
.float-tag { position: absolute; z-index: 7; min-width: 160px; padding: 12px 14px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); animation: tagBounce 3.8s ease-in-out infinite; }
.float-tag small { display: block; font-family: var(--display); font-size: .58rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.float-tag b { display: block; font-family: var(--display); font-size: .85rem; text-transform: uppercase; }
.tag-a { left: -2%; top: 22%; }
.tag-b { right: -1%; bottom: 18%; background: var(--mint); animation-delay: -1.3s; }
@keyframes tagBounce { 50% { transform: translateY(-10px) rotate(-2deg); } }
.marquee { position: relative; z-index: 4; overflow: hidden; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--blue); color: var(--white); }
.marquee > div { width: max-content; display: flex; gap: 28px; align-items: center; padding: 14px 0; font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: 2px; animation: marquee 24s linear infinite; }
.marquee i { color: var(--yellow); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spotlight */
.carousel-arrows { display: flex; gap: 9px; }
.carousel-arrows button { width: 50px; height: 48px; border: 2px solid var(--ink); background: var(--paper-2); font-size: 1.05rem; transition: .18s; }
.carousel-arrows button:hover { background: var(--yellow); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, 315px); gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 10px 30px 4px; scrollbar-color: var(--red) var(--paper); }
.featured-card { position: relative; aspect-ratio: 2/3; overflow: hidden; scroll-snap-align: start; border: 3px solid var(--ink); background: var(--ink); box-shadow: 9px 9px 0 var(--blue); cursor: pointer; transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s; }
.featured-card:nth-child(3n+2) { box-shadow: 9px 9px 0 var(--red); }
.featured-card:nth-child(3n) { box-shadow: 9px 9px 0 var(--yellow); }
.featured-card:hover { transform: translateY(-12px) rotate(1deg); box-shadow: 14px 14px 0 var(--ink); }
.featured-card img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.55) contrast(1.08); transition: .55s; }
.featured-card:hover img { transform: scale(1.07); filter: saturate(1.05); }
.featured-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(to top, rgba(0,0,0,.96), transparent); }
.featured-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 23px; color: var(--white); }
.featured-info small { display: inline-block; padding: 4px 6px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: .54rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.featured-info h3 { margin: 10px 0 3px; font-family: var(--display); font-size: 1.18rem; line-height: 1.05; text-transform: uppercase; }
.featured-info p { margin: 0; color: #d5d2ca; font-size: .76rem; }
.empty-card { min-height: 310px; display: grid; place-content: center; padding: 30px; border: 2px dashed var(--ink); background: var(--paper-2); text-align: center; color: var(--muted); }
.empty-card strong { color: var(--ink); font-family: var(--display); text-transform: uppercase; }
.empty-card span { display: block; margin-top: 5px; }

/* Capabilities and pipeline */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 370px; position: relative; overflow: hidden; padding: 31px; border: 2px solid var(--white); background: var(--red); color: var(--ink); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.service-card:nth-child(2) { background: var(--yellow); }
.service-card:nth-child(3) { background: var(--blue); color: var(--white); }
.service-card:nth-child(4) { background: var(--paper-2); }
.service-card:nth-child(5) { background: var(--mint); }
.service-card:nth-child(6) { background: #ff9e88; }
.service-card:hover { z-index: 2; transform: translate(-7px, -7px) rotate(-1deg); box-shadow: 10px 10px 0 var(--white); }
.dark-section.visible .service-card { animation: cardCut .62s cubic-bezier(.16,1,.3,1) backwards; }
.dark-section.visible .service-card:nth-child(2) { animation-delay: .07s; }
.dark-section.visible .service-card:nth-child(3) { animation-delay: .14s; }
.dark-section.visible .service-card:nth-child(4) { animation-delay: .21s; }
.dark-section.visible .service-card:nth-child(5) { animation-delay: .28s; }
.dark-section.visible .service-card:nth-child(6) { animation-delay: .35s; }
@keyframes cardCut { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(30px) skewY(2deg); } }
.service-card > b { position: absolute; right: 18px; top: 7px; color: rgba(17,17,15,.18); font-family: var(--display); font-size: 4.4rem; line-height: 1; }
.service-card:nth-child(3) > b { color: rgba(255,255,255,.2); }
.service-card > span { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 54px; border: 2px solid currentColor; background: transparent; font-size: 1.55rem; }
.service-card h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.22rem; line-height: 1; text-transform: uppercase; }
.service-card p { margin: 0; font-size: .86rem; font-weight: 600; }
.service-card ul { margin: 21px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 7px 0 7px 18px; border-top: 1px solid currentColor; font-size: .78rem; font-weight: 700; }
.service-card li::before { content: "+"; position: absolute; left: 0; top: 6px; font-weight: 900; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid var(--ink); background: var(--ink); gap: 2px; }
.pipeline article { min-height: 245px; position: relative; padding: 78px 21px 22px; background: var(--paper-2); text-align: left; transition: background .2s, color .2s; }
.pipeline article:hover { background: var(--blue); color: var(--white); }
.pipeline b { position: absolute; top: 18px; left: 20px; width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid currentColor; font-family: var(--display); font-size: .66rem; }
.pipeline h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.08rem; text-transform: uppercase; }
.pipeline p { margin: 0; color: var(--muted); font-size: .79rem; }
.pipeline article:hover p { color: #dddff8; }

/* Gallery */
.library-section { background: var(--ink); color: var(--white); }
.library-section::before { content: "ARCHIVE / INDEX"; position: absolute; right: 2.5vw; top: 36px; color: rgba(255,255,255,.13); font-family: var(--display); font-size: clamp(2rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.07em; }
.library-section .heading p { color: #bcb8ae; }
.local-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 17px 19px; border: 2px solid var(--yellow); background: #24231f; }
.local-help strong { display: block; font-family: var(--display); text-transform: uppercase; }
.local-help span { display: block; color: #c8c4ba; font-size: .8rem; }
.local-help code { color: var(--yellow); }
.catalog { position: relative; overflow: hidden; border: 3px solid var(--white); background: var(--paper); color: var(--ink); box-shadow: 13px 13px 0 var(--blue); }
.catalog-tools { position: sticky; top: var(--nav); z-index: 50; display: grid; grid-template-columns: minmax(250px, 1fr) 180px 125px 125px auto auto; gap: 8px; padding: 17px; border-bottom: 2px solid var(--ink); background: rgba(242,239,232,.96); backdrop-filter: blur(14px); }
.search-wrap { position: relative; }
.search-wrap > span { position: absolute; left: 13px; top: 50%; transform: translateY(-53%); font-family: var(--display); font-size: 1.25rem; }
.search-wrap input, .catalog-tools select, .shortlist-filter { width: 100%; height: 46px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper-2); outline: none; }
.search-wrap input { padding: 0 42px; }
.search-wrap input:focus, .catalog-tools select:focus { border-color: var(--blue); box-shadow: 4px 4px 0 var(--blue); }
.search-wrap button { position: absolute; right: 6px; top: 50%; width: 33px; height: 33px; transform: translateY(-50%); border: 0; background: transparent; font-size: 1.2rem; }
.catalog-tools select { padding: 0 10px; font-size: .76rem; font-weight: 700; }
.shortlist-filter { padding: 0 13px; font-family: var(--display); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.shortlist-filter[aria-pressed="true"] { background: var(--red); color: var(--white); }
.grid-toggle { display: flex; gap: 5px; }
.grid-toggle button { width: 46px; height: 46px; border: 2px solid var(--ink); background: var(--paper-2); }
.grid-toggle button.active { background: var(--blue); color: var(--white); }
.genre-tabs { display: flex; gap: 7px; padding: 16px 17px 5px; overflow-x: auto; scrollbar-color: var(--blue) transparent; }
.genre-tabs button { flex: 0 0 auto; min-height: 34px; padding: 5px 12px; border: 2px solid var(--ink); background: var(--paper-2); font-family: var(--display); font-size: .61rem; font-weight: 800; letter-spacing: .25px; text-transform: uppercase; }
.genre-tabs button:hover { background: var(--yellow); }
.genre-tabs button.active { background: var(--blue); color: var(--white); }
.catalog-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 19px 0; color: var(--muted); font-size: .8rem; }
.catalog-status button { border: 0; border-bottom: 2px solid currentColor; background: transparent; color: var(--blue); font-family: var(--display); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 29px 24px; padding: 23px; }
.film-grid.large { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); }
.film-card { min-width: 0; position: relative; border: 0; padding: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .2s; }
.film-card { animation: filmEnter .46s cubic-bezier(.16,1,.3,1) backwards; }
.film-card:nth-child(6n+2) { animation-delay: .035s; }
.film-card:nth-child(6n+3) { animation-delay: .07s; }
.film-card:nth-child(6n+4) { animation-delay: .105s; }
.film-card:nth-child(6n+5) { animation-delay: .14s; }
.film-card:nth-child(6n) { animation-delay: .175s; }
@keyframes filmEnter { from { opacity: 0; clip-path: inset(0 0 18% 0); transform: translateY(24px) rotate(1deg); } }
.poster-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; border: 2px solid var(--ink); background: linear-gradient(105deg, var(--paper) 25%, var(--white) 40%, var(--paper) 55%) -200% 0 / 200% 100%; box-shadow: 7px 7px 0 var(--blue); animation: skeleton 1.35s linear infinite; transition: box-shadow .25s; }
.film-card:nth-child(3n+2) .poster-wrap { box-shadow: 7px 7px 0 var(--red); }
.film-card:nth-child(3n) .poster-wrap { box-shadow: 7px 7px 0 var(--yellow); }
.poster-wrap.loaded { animation: none; }
@keyframes skeleton { to { background-position: 200% 0; } }
.poster-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; filter: saturate(.72); transition: opacity .35s, transform .5s, filter .35s; }
.poster-wrap.loaded img { opacity: 1; }
.film-card:hover img { transform: scale(1.075) rotate(.7deg); filter: saturate(1.1); }
.film-card:hover .poster-wrap { box-shadow: 12px 12px 0 var(--ink); }
.poster-shade { position: absolute; inset: 32% 0 0; background: linear-gradient(to top, rgba(0,0,0,.94), transparent); opacity: 0; transition: .24s; }
.film-card:hover .poster-shade { opacity: 1; }
.favorite { position: absolute; z-index: 4; right: 9px; top: 9px; width: 39px; height: 39px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 1.1rem; transition: transform .18s, background .18s; }
.favorite:hover { transform: rotate(-8deg) scale(1.08); }
.favorite.active { background: var(--red); color: var(--white); }
.poster-overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 17px; color: var(--white); opacity: 0; transform: translateY(15px); transition: .24s; }
.film-card:hover .poster-overlay { opacity: 1; transform: none; }
.poster-overlay strong { display: block; font-family: var(--display); line-height: 1.05; text-transform: uppercase; }
.poster-overlay small { color: #d9d6cf; }
.film-info { display: block; padding: 14px 2px 0; text-align: left; }
.film-info strong, .film-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film-info strong { font-family: var(--display); font-size: .83rem; text-transform: uppercase; }
.film-info small { margin-top: 3px; color: var(--muted); font-size: .69rem; font-weight: 700; }
.poster-fallback { width: 100%; height: 100%; display: grid; place-content: center; padding: 25px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; text-align: center; white-space: pre-line; }
.empty-library { grid-column: 1 / -1; padding: 75px 20px; text-align: center; color: var(--muted); }
.empty-library strong { display: block; color: var(--ink); font-family: var(--display); text-transform: uppercase; }
.load-more-area { display: flex; justify-content: center; padding: 5px 20px 34px; }

/* Markets, acquisition and performance */
.markets-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; }
.world-panel { min-height: 510px; position: relative; overflow: hidden; border: 3px solid var(--ink); background: var(--blue); color: var(--white); box-shadow: 10px 10px 0 var(--ink); }
.world-panel::before { content: "+ + + + + + + + +"; position: absolute; right: 24px; top: 20px; width: 170px; color: var(--yellow); font-family: var(--display); font-size: 1.35rem; line-height: 1.5; letter-spacing: 9px; }
.world-ring { position: absolute; left: 56%; top: 46%; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; transform: translate(-50%, -50%) scaleX(1.6) rotate(-8deg); animation: worldPulse 5s ease-in-out infinite; }
.ring-one { width: 56%; height: 56%; }
.ring-two { width: 84%; height: 84%; animation-delay: -2.5s; }
@keyframes worldPulse { 50% { transform: translate(-50%, -50%) scaleX(1.45) rotate(6deg); opacity: .55; } }
.market-point { position: absolute; z-index: 2; padding: 8px 10px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.market-point::before { content: ""; width: 8px; height: 8px; display: inline-block; margin-right: 6px; background: var(--red); animation: blink 1.3s steps(2) infinite; }
.p1 { left: 10%; top: 24%; }
.p2 { left: 24%; top: 59%; }
.p3 { left: 55%; top: 22%; }
.p4 { left: 62%; top: 48%; }
.p5 { right: 4%; bottom: 24%; }
.world-copy { position: absolute; left: 28px; bottom: 25px; z-index: 3; max-width: 350px; }
.world-copy .eyebrow { color: var(--yellow); }
.world-copy h3 { margin: 9px 0 6px; font-family: var(--display); font-size: 1.65rem; line-height: 1; text-transform: uppercase; }
.world-copy p { margin: 0; color: #d6d8fb; }
.rights-list { display: grid; gap: 9px; }
.rights-list article { display: grid; grid-template-columns: 47px 1fr; gap: 14px; padding: 19px; border: 2px solid var(--ink); background: var(--paper-2); transition: transform .2s, background .2s; }
.rights-list article:hover { transform: translateX(7px); background: var(--yellow); }
.rights-list b { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--display); font-size: .66rem; }
.rights-list h3 { margin: 0 0 3px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.rights-list p { margin: 0; color: var(--muted); font-size: .77rem; }
.format-strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 24px; border: 2px solid var(--ink); background: var(--ink); gap: 2px; }
.format-strip span { padding: 14px 6px; background: var(--paper-2); text-align: center; font-family: var(--display); font-size: .59rem; font-weight: 800; letter-spacing: .5px; }
.format-strip span:nth-child(even) { background: var(--yellow); }
.acquisition-grid, .performance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acquisition-copy, .submission-process, .performance-copy, .performance-bars { padding: 38px; border: 3px solid var(--ink); background: var(--paper-2); box-shadow: 9px 9px 0 var(--ink); }
.acquisition-copy { background: var(--yellow); }
.acquisition-copy h2 { margin: 11px 0 16px; font-family: var(--display); font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.06em; line-height: .92; text-transform: uppercase; }
.acquisition-copy > p, .performance-copy > p { color: var(--muted); font-weight: 600; }
.criteria { display: grid; gap: 0; margin: 28px 0; border-top: 2px solid var(--ink); }
.criteria > div { display: grid; grid-template-columns: 29px 1fr; gap: 11px; padding: 13px 0; border-bottom: 2px solid var(--ink); }
.criteria b { width: 27px; height: 27px; display: grid; place-items: center; background: var(--blue); color: var(--white); }
.criteria span { color: var(--ink-2); font-size: .82rem; }
.criteria strong { color: var(--ink); }
.submission-process > .eyebrow { margin-bottom: 14px; }
.submission-process article { display: grid; grid-template-columns: 49px 1fr; gap: 15px; padding: 20px 0; border-top: 2px solid var(--ink); }
.submission-process article > b { width: 47px; height: 47px; display: grid; place-items: center; background: var(--red); color: var(--white); font-family: var(--display); font-size: .65rem; }
.submission-process h3 { margin: 0 0 3px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.submission-process p { margin: 0; color: var(--muted); font-size: .78rem; }
.performance-copy { background: var(--blue); color: var(--white); }
.performance-copy .eyebrow { color: var(--yellow); }
.performance-copy h2 { margin: 11px 0 13px; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: .94; text-transform: uppercase; }
.performance-copy > p { color: #d8daf5; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 2px solid var(--white); }
.metrics div { padding: 15px; border-right: 2px solid var(--white); }
.metrics div:last-child { border-right: 0; }
.metrics strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.metrics span { display: block; color: #d9dcff; font-size: .62rem; }
.performance-bars { display: grid; gap: 23px; align-content: center; }
.performance-bars > div { display: grid; grid-template-columns: 1fr auto; gap: 9px; font-weight: 700; }
.performance-bars b { color: var(--blue); font-family: var(--display); }
.performance-bars i { grid-column: 1 / -1; height: 12px; border: 2px solid var(--ink); overflow: hidden; background: var(--paper); }
.performance-bars i::after { content: ""; display: block; width: var(--value); height: 100%; background: repeating-linear-gradient(135deg, var(--red) 0 10px, var(--yellow) 10px 20px); animation: barShift 1.2s linear infinite; }
@keyframes barShift { to { background-position: 28px 0; } }

/* Editorial content */
.insights-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 17px; }
.insight { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 2px solid var(--white); background: var(--paper-2); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.insight:hover { transform: translate(-6px, -6px); box-shadow: 8px 8px 0 var(--yellow); }
.insight.lead { background: var(--red); color: var(--white); }
.insight > span { color: var(--blue); font-family: var(--display); font-size: .6rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.insight.lead > span { color: var(--yellow); }
.insight h3 { margin: 12px 0 9px; font-family: var(--display); font-size: 1.36rem; line-height: 1.08; text-transform: uppercase; }
.insight p { margin: 0; color: var(--muted); font-size: .81rem; }
.insight.lead p { color: #ffddd6; }
.insight small { margin-top: 18px; font-family: var(--display); font-weight: 800; text-transform: uppercase; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.about-copy { padding: 40px; border: 3px solid var(--ink); background: var(--paper-2); box-shadow: 10px 10px 0 var(--blue); }
.about-copy h2 { margin: 11px 0 18px; font-family: var(--display); font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.06em; line-height: .93; text-transform: uppercase; }
.about-copy p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--ink); background: var(--ink); gap: 3px; }
.values article { min-height: 225px; padding: 26px; background: var(--yellow); }
.values article:nth-child(2) { background: var(--red); color: var(--white); }
.values article:nth-child(3) { background: var(--mint); }
.values article:nth-child(4) { background: var(--blue); color: var(--white); }
.values b { color: rgba(17,17,15,.35); font-family: var(--display); font-size: 2rem; }
.values article:nth-child(even) b { color: rgba(255,255,255,.4); }
.values h3 { margin: 23px 0 6px; font-family: var(--display); text-transform: uppercase; }
.values p { margin: 0; font-size: .8rem; font-weight: 600; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 42px; align-items: start; }
.faq-heading { text-align: left; margin: 0; }
.faq-list { border: 3px solid var(--ink); background: var(--paper-2); }
.faq-list article { border-bottom: 2px solid var(--ink); }
.faq-list article:last-child { border-bottom: 0; }
.faq-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px; border: 0; background: transparent; text-align: left; font-family: var(--display); font-size: .86rem; font-weight: 800; text-transform: uppercase; }
.faq-list button:hover { background: var(--mint); }
.faq-list button b { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--ink); background: var(--yellow); font-size: 1.15rem; transition: .22s; }
.faq-list button[aria-expanded="true"] { background: var(--blue); color: var(--white); }
.faq-list button[aria-expanded="true"] b { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq-list article > div { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.16,1,.3,1); }
.faq-list p { margin: 0; padding: 20px 55px 23px 21px; color: var(--muted); }

/* Contact */
.contact-section { background: var(--blue); color: var(--white); }
.contact-banner { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; padding: 36px; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.contact-banner h2 { margin: 10px 0 8px; font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }
.contact-banner p { max-width: 690px; margin: 0; color: var(--ink-2); }
.contact-stats { display: flex; gap: 8px; }
.contact-stats span { min-width: 130px; padding: 14px; border: 2px solid var(--ink); background: var(--paper-2); color: var(--muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.contact-stats strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.02rem; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px; }
.departments, .contact-form { padding: 34px; border: 3px solid var(--ink); background: var(--paper-2); color: var(--ink); }
.departments { box-shadow: 9px 9px 0 var(--red); }
.contact-form { box-shadow: 9px 9px 0 var(--yellow); }
.departments h3 { margin-top: 0; font-family: var(--display); text-transform: uppercase; }
.departments a { display: block; margin-bottom: 8px; padding: 14px; border: 2px solid var(--ink); background: var(--paper); transition: transform .2s, background .2s; }
.departments a:hover { transform: translateX(6px); background: var(--yellow); }
.departments strong, .departments span { display: block; }
.departments strong { font-family: var(--display); font-size: .8rem; text-transform: uppercase; }
.departments span { color: var(--muted); font-size: .76rem; }
.departments p { color: #9b351f; font-size: .71rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; }
.form-grid label > span { font-family: var(--display); font-size: .67rem; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea,
.submission-modal input, .submission-modal select, .submission-modal textarea,
.newsletter input { width: 100%; padding: 12px 13px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper-2); outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.submission-modal input:focus, .submission-modal select:focus, .submission-modal textarea:focus,
.newsletter input:focus { border-color: var(--blue); box-shadow: 4px 4px 0 var(--blue); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 17px; }
.form-actions span { color: var(--muted); font-size: .77rem; }
.form-actions span.success, #newsletterStatus.success { color: #0d713e; }
.form-actions span.error, #newsletterStatus.error { color: #a51d0c; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.check { display: flex !important; grid-template-columns: auto 1fr !important; align-items: start; gap: 9px !important; }
.check input { width: auto !important; margin-top: 4px; accent-color: var(--blue); }
.newsletter { padding: 46px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--red); color: var(--white); }
.newsletter-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 23px; }
.newsletter .eyebrow { color: var(--yellow); }
.newsletter h2 { margin: 8px 0 0; font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; }
.newsletter form { display: flex; gap: 0; }
.newsletter input { min-width: 300px; background: var(--paper-2); color: var(--ink); }
.newsletter .btn { box-shadow: none; }
.newsletter .btn.primary { background: var(--yellow); color: var(--ink); }
.newsletter > div > span:last-child { grid-column: 1 / -1; text-align: right; color: #ffe1da; font-size: .75rem; }

/* Footer and dialogs */
footer { padding: 72px 0 25px; background: var(--ink); color: var(--white); }
footer .brand-mark { border-color: var(--white); }
footer .brand-mark::before, footer .brand-mark::after { background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 31px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid h3 { margin: 0 0 7px; color: var(--yellow); font-family: var(--display); font-size: .73rem; letter-spacing: .8px; text-transform: uppercase; }
.footer-grid a, .footer-grid button { padding: 0; border: 0; background: transparent; color: #bdb9af; font-size: .78rem; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.footer-brand p { max-width: 360px; color: #a9a69e; font-size: .8rem; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 39px; height: 39px; display: grid !important; place-items: center; border: 2px solid #5c5a54 !important; color: var(--white) !important; }
.socials a:hover { border-color: var(--yellow) !important; background: var(--yellow) !important; color: var(--ink) !important; text-decoration: none !important; transform: rotate(-5deg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 2px solid #363530; color: #8e8b84; font-size: .7rem; }
.top-btn { position: fixed; right: 21px; bottom: 21px; z-index: 3000; width: 50px; height: 50px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); opacity: 0; visibility: hidden; transform: translateY(12px) rotate(5deg); transition: .22s; }
.top-btn.show { opacity: 1; visibility: visible; transform: none; }
.top-btn:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.modal-backdrop { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 22px; background: rgba(36,71,255,.84); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .25s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.film-modal, .submission-modal { width: min(920px, 100%); max-height: calc(100svh - 44px); position: relative; overflow: auto; border: 3px solid var(--ink); background: var(--paper-2); color: var(--ink); box-shadow: 14px 14px 0 var(--ink); transform: translateX(30px) skewX(-1deg); clip-path: inset(0 0 0 100%); transition: transform .45s cubic-bezier(.16,1,.3,1), clip-path .45s cubic-bezier(.16,1,.3,1); }
.modal-backdrop.open .film-modal, .modal-backdrop.open .submission-modal { transform: none; clip-path: inset(0); }
.film-modal { display: grid; grid-template-columns: minmax(280px, 370px) 1fr; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 43px; height: 43px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 1.3rem; transition: .18s; }
.modal-close:hover { transform: rotate(90deg); background: var(--red); color: var(--white); }
.modal-poster-wrap { position: relative; min-height: 565px; border-right: 3px solid var(--ink); background: var(--ink); }
.modal-poster-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.modal-poster-wrap > button { position: absolute; right: 15px; bottom: 15px; width: 49px; height: 49px; border: 2px solid var(--ink); background: var(--yellow); font-size: 1.45rem; }
.modal-poster-wrap > button.active { background: var(--red); color: var(--white); }
.modal-content { padding: 43px 37px; }
.modal-content h2 { margin: 11px 48px 16px 0; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }
.badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 19px; }
.badges span { padding: 5px 9px; border: 2px solid var(--ink); background: var(--yellow); font-family: var(--display); font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.modal-content > p { color: var(--muted); }
.modal-content dl { margin: 25px 0; border-top: 2px solid var(--ink); }
.modal-content dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 13px; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.modal-content dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.modal-content dd { margin: 0; overflow-wrap: anywhere; font-size: .77rem; font-weight: 800; }
.modal-actions, .modal-nav { display: flex; gap: 9px; flex-wrap: wrap; }
.modal-nav { justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--ink); }
.modal-nav button { border: 0; border-bottom: 2px solid currentColor; background: transparent; color: var(--blue); font-family: var(--display); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.submission-modal { padding: 39px; }
.submission-modal h2 { margin: 11px 48px 7px 0; font-family: var(--display); font-size: 2.45rem; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.submission-modal > p { margin: 0 0 23px; color: var(--muted); }
.submission-modal form { display: grid; gap: 14px; }

@media (max-width: 1240px) {
  .container { width: min(var(--max), calc(100% - 48px)); }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: .61rem; }
  .catalog-tools { grid-template-columns: minmax(230px, 1fr) 165px 120px 120px auto; }
  .grid-toggle { grid-column: 5; }
  .shortlist-filter { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .format-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --nav: 70px; }
  .announcement { display: none; }
  .nav { position: fixed; inset: 0 0 auto; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-links { position: fixed; top: calc(var(--nav) + 10px); left: 24px; right: 24px; display: grid; gap: 0; padding: 10px; border: 3px solid var(--ink); background: var(--paper-2); box-shadow: 10px 10px 0 var(--ink); opacity: 0; visibility: hidden; transform: translateX(25px); transition: .25s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 10px 11px; border-bottom: 1px solid var(--line-soft); font-size: .72rem; }
  .nav-links a:hover { background: var(--yellow); }
  .nav-links a::after { display: none; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { max-width: 700px; margin-inline: auto; margin-top: 36px; }
  .hero-art { min-height: 570px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .catalog-tools { top: 0; grid-template-columns: 1fr 1fr; }
  .search-wrap { grid-column: 1 / -1; }
  .shortlist-filter { grid-column: auto; }
  .grid-toggle { grid-column: auto; justify-content: flex-end; }
  .markets-grid, .acquisition-grid, .performance-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight.lead { grid-column: 1 / -1; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter form { width: 100%; }
  .newsletter input { min-width: 0; flex: 1; }
  .newsletter > div > span:last-child { text-align: left; }
  .faq-heading { max-width: none; }
}

@media (max-width: 670px) {
  :root { --nav: 66px; }
  html { scroll-padding-top: 82px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 82px 0; }
  .heading { margin-bottom: 38px; }
  .heading-row { display: block; }
  .heading h2 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .carousel-arrows { margin-top: 17px; }
  .shortlist-nav span { display: none; }
  .brand { font-size: 1.18rem; }
  .brand-mark { width: 38px; height: 26px; }
  .hero { padding-top: 115px; }
  .hero::before { top: 9%; }
  .hero::after { width: 58vw; height: 80vw; right: -28vw; }
  .hero-copy h1 { font-size: clamp(3.3rem, 16vw, 5.4rem); }
  .typed { min-width: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .hero-art { min-height: 480px; }
  .poster-stack { height: 450px; }
  .stack-poster { width: 216px; box-shadow: 7px 7px 0 var(--ink); }
  .orbit-a { width: 365px; height: 315px; }
  .orbit-b { width: 440px; height: 195px; }
  .float-tag { display: none; }
  .services-grid, .pipeline { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .pipeline article { min-height: 180px; }
  .catalog { border-width: 2px; box-shadow: 7px 7px 0 var(--blue); }
  .catalog-tools { grid-template-columns: 1fr 1fr; }
  .search-wrap, .shortlist-filter { grid-column: 1 / -1; }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; padding: 14px; }
  .film-grid.large { grid-template-columns: 1fr; }
  .poster-wrap { box-shadow: 5px 5px 0 var(--blue); }
  .film-card:nth-child(3n+2) .poster-wrap { box-shadow: 5px 5px 0 var(--red); }
  .film-card:nth-child(3n) .poster-wrap { box-shadow: 5px 5px 0 var(--yellow); }
  .film-info strong { font-size: .69rem; }
  .film-info small { font-size: .61rem; }
  .favorite { width: 35px; height: 35px; }
  .local-help, .contact-banner { align-items: flex-start; flex-direction: column; }
  .world-panel { min-height: 520px; }
  .market-point { font-size: .5rem; }
  .format-strip { grid-template-columns: 1fr 1fr; }
  .acquisition-copy, .submission-process, .performance-copy, .performance-bars, .about-copy { padding: 27px; box-shadow: 6px 6px 0 var(--ink); }
  .metrics { grid-template-columns: 1fr; }
  .metrics div { border-right: 0; border-bottom: 2px solid var(--white); }
  .metrics div:last-child { border-bottom: 0; }
  .insights-grid, .values { grid-template-columns: 1fr; }
  .insight.lead { grid-column: auto; }
  .values article { min-height: 190px; }
  .contact-stats { width: 100%; }
  .contact-stats span { flex: 1; min-width: 0; }
  .departments, .contact-form { padding: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .newsletter form { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .film-modal { grid-template-columns: 1fr; }
  .modal-poster-wrap { min-height: 0; height: min(55svh, 510px); border-right: 0; border-bottom: 3px solid var(--ink); }
  .modal-content { padding: 29px 22px; }
  .submission-modal { padding: 28px 20px; }
}

@media (hover: none) {
  .poster-shade { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 44%); }
  .poster-overlay { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; clip-path: none; transform: none; }
  #motionField { display: none; }
}

/* Mobile visibility and memory safety */
.library-section,
.library-section.reveal,
#library,
#library .catalog,
#library .film-grid { visibility: visible !important; opacity: 1 !important; transform: none !important; }

@media (max-width: 960px) {
  section.reveal, header.reveal, .reveal { visibility: visible !important; opacity: 1 !important; clip-path: none !important; transform: none !important; }
  #motionField, .grain, .orbit, .marquee { display: none !important; }
  .nav, .catalog-tools, .float-tag { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .catalog, .film-grid, .film-card, .poster-wrap { contain: none !important; content-visibility: visible !important; }
  .film-grid { min-height: 120px; position: relative; z-index: 1; }
  .catalog { overflow: visible; }
  .catalog-tools { position: relative; top: auto; }
  .film-card { transform: none !important; filter: none !important; }
}
