/* Claude opening: NS website grammar for #opening. Load after recovery.css. Scoped to .ns-site-hero.
   Layout is a normal-flow column (no absolute copy), so message, film room, wordmark and controls cannot overlap;
   on short viewports the section grows and the page scrolls naturally. */
.chapter.cinema-opening.ns-site-hero{
  --hx:var(--g);
  position:relative;isolation:isolate;
  display:flex;flex-direction:column;
  min-height:calc(100svh - var(--bar));
  padding:0 var(--hx) 22px;
  max-width:none;background:#000;color:var(--paper);overflow:hidden;
}

/* Film room: full cover, no letterbox, brighter than before so the reel reads as the hero. */
.ns-site-hero .cinema-ground{position:absolute;inset:0;z-index:-2;background:#000}
.ns-site-hero .cinema-ground video{width:100%;height:100%;object-fit:cover;object-position:center;max-width:none;opacity:.9}
.ns-site-hero .cinema-ground::after{
  background:
    linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.3) 42%,rgba(0,0,0,0) 68%),
    linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.4) 30%,rgba(0,0,0,0) 52%),
    linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,0) 22%);
}

/* Message column: top left, editorial. The lockup is moved to the foot with order + margin-top:auto. */
.ns-site-hero .cinema-copy{
  flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  padding:clamp(40px,8vh,104px) 0 0;
}
.ns-site-hero .cinema-copy h1{
  font-size:clamp(44px,4.8vw,100px);line-height:.95;letter-spacing:-.035em;
  max-width:12.5em;color:var(--paper);
}
.ns-site-hero .cinema-copy .lede{
  font-size:clamp(18px,1.35vw,24px);line-height:1.4;max-width:42ch;
  margin-top:clamp(18px,2.4vh,28px);color:var(--paper);
}

/* The one red element: a website CTA, not an underlined slide link. */
.ns-site-hero .cinema-copy .text-link{
  margin-top:clamp(24px,3.6vh,40px);
  display:inline-flex;align-items:center;gap:18px;max-width:100%;
  min-height:52px;padding:14px 22px;border:0;
  background:#FF3030;color:#000;font-size:17px;line-height:1.25;text-decoration:none;
  transition:background-color var(--ui) var(--ease),color var(--ui) var(--ease);
}
.ns-site-hero .cinema-copy .text-link:hover{background:var(--paper);color:#000}
.ns-site-hero .cinema-copy .text-link:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.ns-site-hero .cinema-copy .text-link .inline-arrow{margin:0}

/* Guaranteed breathing room above the wordmark, so the film stays visible between message and mark. */
.ns-site-hero .cinema-copy::after{content:'';order:0;flex:0 0 clamp(32px,6vh,96px)}

/* Massive authentic wordmark at the foot. Real logo.svg, width-driven, intrinsic ratio kept, never stretched.
   Height-aware cap keeps message + mark + controls inside 1440x900 and 1920x1080. */
.ns-site-hero .hero-lockup{
  order:1;margin:auto 0 0;
  width:min(100%,1720px,calc((100svh - var(--bar)) * 1.45));
  height:auto;aspect-ratio:239.13/44;max-width:none;display:block;
}

/* Reel controls and qualifiers sit under the wordmark, like the site's foot line. */
.ns-site-hero .cinema-bottom{
  position:static;inset:auto;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 32px;
  margin-top:clamp(14px,2vh,24px);padding:0;border:0;font-size:14px;color:var(--paper);
}
.ns-site-hero .cinema-bottom p{opacity:.86}
.ns-site-hero .cinema-bottom>span{display:inline;color:#bfbfb8}
.ns-site-hero .cinema-bottom button{
  min-height:44px;padding:0;background:transparent;border:0;color:var(--paper);
  font-size:14px;text-decoration:underline;text-underline-offset:5px;
}
.ns-site-hero .cinema-bottom button:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.ns-site-hero .hero-rights{position:static;inset:auto;margin-top:6px;max-width:90ch;font-size:12px;line-height:1.45;color:#bfbfb8}
.ns-site-hero footer{display:none}

/* Tablet */
@media(max-width:1000px){
  .ns-site-hero .cinema-copy h1{font-size:clamp(44px,7vw,72px)}
  .ns-site-hero .cinema-copy .lede{font-size:20px}
  .ns-site-hero .cinema-bottom>span{display:inline}
}

/* Phone: stacked, natural document height. Film reads through the middle; mark spans the width. */
@media(max-width:700px){
  .chapter.cinema-opening.ns-site-hero{min-height:calc(100svh - var(--bar));padding:0 var(--hx) 20px}
  .ns-site-hero .cinema-ground video{object-position:55% center}
  .ns-site-hero .cinema-ground::after{
    background:linear-gradient(180deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.34) 45%,rgba(0,0,0,.1) 62%,rgba(0,0,0,.72) 100%);
  }
  .ns-site-hero .cinema-copy{padding-top:32px}
  .ns-site-hero .cinema-copy h1{font-size:clamp(38px,11vw,56px);line-height:.98;max-width:none}
  .ns-site-hero .cinema-copy .lede{font-size:clamp(17px,4.8vw,20px);margin-top:18px;max-width:none}
  .ns-site-hero .cinema-copy .text-link{font-size:16px;gap:14px;padding:13px 18px;margin-top:26px}
  .ns-site-hero .cinema-copy::after{flex-basis:clamp(48px,14vh,160px)}
  .ns-site-hero .hero-lockup{width:100%}
  .ns-site-hero .cinema-bottom{flex-direction:column;align-items:flex-start;gap:2px;font-size:13px;margin-top:16px}
  .ns-site-hero .cinema-bottom button{font-size:13px}
  .ns-site-hero .hero-rights{font-size:11px;margin-top:8px}
}

/* Very wide screens: hold the 1920 composition centred. */
@media(min-width:2200px){
  .chapter.cinema-opening.ns-site-hero{--hx:max(100px,calc((100vw - 1920px)/2 + 100px))}
  .ns-site-hero .cinema-copy{padding-left:0}
}

@media(prefers-reduced-motion:reduce){
  .ns-site-hero .cinema-copy .text-link,.ns-site-hero .text-link span{transition:none}
}

@media print{
  .chapter.cinema-opening.ns-site-hero{display:block;min-height:0;padding:0 40px 20px}
  .ns-site-hero .cinema-ground{position:relative;inset:auto;height:300px;margin:0 -40px}
  .ns-site-hero .hero-lockup{width:420px;margin-top:24px}
  .ns-site-hero .cinema-copy::after{display:none}
}
