
/* =========================================================
   ORYNNE CINEMATIC UPGRADE — 2026
   Pexels-powered motion layer
   ========================================================= */
:root{
  --cinema-ink:#101a28;
  --cinema-gold:#b08a5a;
}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:9999;
  opacity:.025;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}
.scroll-progress{
  position:fixed;left:0;top:0;height:3px;width:100%;z-index:100;
  transform-origin:left center;transform:scaleX(0);
  background:var(--warm);box-shadow:0 0 18px rgba(176,138,90,.35);
}
.cinematic-hero{
  position:relative;isolation:isolate;min-height:min(92vh,900px);
  display:grid;align-items:center;overflow:hidden;
  padding:clamp(100px,12vw,150px) 0 clamp(80px,9vw,120px);
  background:var(--cinema-ink);color:#fff;
}
.cinematic-hero .hero-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;z-index:-3;filter:saturate(.82) contrast(1.05);
  transform:scale(1.045);
}
.cinematic-hero .hero-shade{
  position:absolute;inset:0;z-index:-2;
  background:
    linear-gradient(90deg,rgba(7,13,22,.92) 0%,rgba(7,13,22,.72) 42%,rgba(7,13,22,.32) 100%),
    linear-gradient(0deg,rgba(7,13,22,.72),transparent 45%,rgba(7,13,22,.30));
}
.cinematic-hero .hero-glow{
  position:absolute;width:38vw;height:38vw;right:-12vw;top:-14vw;
  border-radius:50%;z-index:-1;
  background:radial-gradient(circle,rgba(176,138,90,.28),transparent 68%);
  filter:blur(10px);
}
.cinematic-hero .hero-grid{min-height:inherit}
.cinematic-hero .hero-content{max-width:900px}
.cinematic-hero .eyebrow{color:#d7bb92}
.cinematic-hero h1{color:#fff;text-wrap:balance}
.cinematic-hero h1 em{color:#d7bb92}
.cinematic-hero .lead{color:rgba(255,255,255,.80);max-width:68ch}
.cinematic-hero .microcopy{color:rgba(255,255,255,.65)}
.cinematic-hero .hero-card{
  color:#fff;background:rgba(15,25,39,.48);
  border-color:rgba(255,255,255,.16);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  box-shadow:0 28px 80px rgba(0,0,0,.24);
}
.cinematic-hero .hero-card h2,.cinematic-hero .diagnosis strong{color:#fff}
.cinematic-hero .diagnosis div{border-color:rgba(255,255,255,.12);color:rgba(255,255,255,.70)}
.cinematic-hero .pulse{background:#d7bb92;box-shadow:0 0 0 7px rgba(215,187,146,.10)}
.cinematic-hero .button{background:#fff;color:var(--navy)!important}
.cinematic-hero .button:hover{background:#f4eee5}
.cinematic-hero .button.secondary{background:rgba(255,255,255,.08);color:#fff!important;border-color:rgba(255,255,255,.25)}
.cinematic-hero .button.secondary:hover{background:rgba(255,255,255,.14);color:#fff!important;border-color:#d7bb92}

.hero-scroll-cue{
  position:absolute;bottom:24px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:rgba(255,255,255,.65);font-size:.65rem;text-transform:uppercase;
  letter-spacing:.18em;
}
.hero-scroll-cue::after{
  content:"";width:1px;height:42px;background:linear-gradient(#d7bb92,transparent);
  animation:cue 1.8s ease-in-out infinite;
}
@keyframes cue{0%,100%{transform:scaleY(.55);transform-origin:top;opacity:.45}50%{transform:scaleY(1);opacity:1}}

.cinematic-story{
  position:relative;background:#101a28;color:#fff;
  padding:0;border-top:0;overflow:clip;
}
.story-shell{
  width:min(calc(100% - 40px),1280px);margin:auto;
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(320px,.78fr);gap:clamp(40px,7vw,110px);
  align-items:start;
}
.story-stage{
  position:sticky;top:90px;height:min(76vh,720px);
  margin:10vh 0;overflow:hidden;border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 35px 100px rgba(0,0,0,.34);
  background:#080e17;
}
.story-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transform:scale(1.04);transition:opacity .8s ease,transform 1.2s ease;
}
.story-video.active{opacity:1;transform:scale(1)}
.story-stage::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.42));
  pointer-events:none;
}
.story-stage-meta{
  position:absolute;left:24px;right:24px;bottom:22px;z-index:2;
  display:flex;justify-content:space-between;gap:15px;align-items:end;
}
.story-stage-meta small{color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.15em;font-size:.65rem}
.story-stage-meta a{color:#fff;text-decoration:underline;text-underline-offset:4px;font-size:.78rem}
.story-copy{padding:18vh 0 14vh}
.story-intro{min-height:48vh;display:flex;align-items:center}
.story-intro h2{color:#fff;max-width:13ch}
.story-intro p{color:rgba(255,255,255,.66);max-width:52ch}
.story-chapter{
  min-height:72vh;display:flex;align-items:center;
  border-top:1px solid rgba(255,255,255,.12);
  position:relative;
}
.story-chapter:last-child{min-height:82vh}
.story-chapter-inner{max-width:580px;padding:70px 0}
.story-index{
  color:#d7bb92;font:700 .7rem/1 Georgia,serif;letter-spacing:.16em;
  text-transform:uppercase;
}
.story-chapter h3{color:#fff;font-size:clamp(2rem,4vw,3.7rem);margin:18px 0 18px;line-height:1.02}
.story-chapter p{color:rgba(255,255,255,.68);font-size:1.05rem;max-width:48ch}
.story-rule{width:70px;height:1px;background:#d7bb92;margin:28px 0}
.story-chapter.is-active .story-chapter h3{animation:storyIn .75s ease both}
@keyframes storyIn{from{opacity:.25;transform:translateY(22px)}to{opacity:1;transform:none}}

.motion-reveal{opacity:0;transform:translateY(34px);transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1)}
.motion-reveal.is-visible{opacity:1;transform:none}
.motion-scale{opacity:0;transform:scale(.965);transition:opacity .9s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
.motion-scale.is-visible{opacity:1;transform:scale(1)}
.card,.service,.work,.insight,.method-card,.not-card,.principle,.topic,.article,.team-card{
  will-change:transform;
}
.cinematic-quote{
  position:relative;padding:clamp(90px,12vw,150px) 0;
  background:var(--cream);overflow:hidden;
}
.cinematic-quote::before{
  content:"“";position:absolute;left:-.03em;top:-.20em;
  font:400 22rem/.8 Georgia,serif;color:rgba(138,106,69,.06);
}
.cinematic-quote blockquote{
  position:relative;max-width:950px;margin:0 auto;
  font:400 clamp(2rem,4.7vw,4.4rem)/1.08 Georgia,serif;
  letter-spacing:-.035em;text-align:center;color:var(--navy);
}
.cinematic-quote cite{
  display:block;margin-top:30px;text-align:center;color:var(--muted);
  font:700 .78rem/1.4 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;
}
.pexels-sources{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;
}
.pexels-sources a{
  display:inline-flex;padding:9px 12px;border:1px solid rgba(255,255,255,.18);
  border-radius:999px;color:rgba(255,255,255,.72);font-size:.72rem;
}
.pexels-sources a:hover{color:#fff;border-color:#d7bb92}

@media(max-width:900px){
  .cinematic-hero{min-height:auto}
  .cinematic-hero .hero-grid{min-height:auto}
  .story-shell{grid-template-columns:1fr;display:block}
  .story-stage{position:relative;top:auto;height:min(68vh,620px);margin:0 0 0;border-radius:0;border-left:0;border-right:0}
  .story-copy{padding:0}
  .story-intro,.story-chapter{min-height:auto}
  .story-intro{padding:100px 0 70px}
  .story-chapter-inner{padding:90px 0}
  .story-chapter{border-top:1px solid rgba(255,255,255,.12)}
}
@media(max-width:600px){
  .cinematic-hero{padding-top:92px;padding-bottom:90px}
  .cinematic-hero .hero-card{padding:24px}
  .hero-scroll-cue{display:none}
  .story-stage{height:62vh}
  .story-chapter h3{font-size:2.35rem}
}
@media(prefers-reduced-motion:reduce){
  .hero-scroll-cue::after{animation:none}
  .story-video{transition:none}
  .motion-reveal,.motion-scale{opacity:1;transform:none;transition:none}
}

/* ---------- Inner-page cinematic system ---------- */
.page-cinematic-hero{position:relative;isolation:isolate;overflow:hidden;background:#101a28!important;color:#fff!important;min-height:min(78vh,760px)!important;display:flex;align-items:center}
.page-cinematic-hero .page-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;filter:saturate(.78) contrast(1.08)}
.page-cinematic-hero::after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(7,13,22,.94),rgba(7,13,22,.67) 48%,rgba(7,13,22,.25)),linear-gradient(0deg,rgba(7,13,22,.72),transparent 55%)}
.page-cinematic-hero .wrap,.page-cinematic-hero .site-wrap{position:relative;z-index:1}
.page-cinematic-hero h1,.page-cinematic-hero h2{color:#fff!important}
.page-cinematic-hero .lead{color:rgba(255,255,255,.8)!important;max-width:70ch}
.page-cinematic-hero .eyebrow,.page-cinematic-hero .section-label{color:#d7bb92!important}
.page-cinematic-hero .hero-content{max-width:900px}
.page-cinematic-hero .hero-content::after{content:"SCROLL TO EXPLORE";display:block;margin-top:42px;color:rgba(255,255,255,.5);font:700 .64rem/1 Inter,system-ui,sans-serif;letter-spacing:.2em}
.inner-story{position:relative;background:#101a28;color:#fff;padding:0;overflow:hidden}
.inner-story .story-shell{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr)}
.inner-story .story-copy{padding:8vh 0 10vh}
.inner-story .story-intro{min-height:36vh}
.inner-story .story-chapter{min-height:58vh}
.inner-story .story-stage{margin:8vh 0;height:min(68vh,650px)}
.inner-story .story-stage-meta{font-size:.8rem}
.inner-story .story-stage-meta a{color:#d7bb92}
.page-cinematic-quote{background:var(--cream);padding:clamp(80px,11vw,140px) 0;border-top:0}
.page-cinematic-quote blockquote{max-width:900px;margin:0 auto;font:400 clamp(2rem,4vw,4rem)/1.08 Georgia,serif;text-align:center;letter-spacing:-.035em;color:var(--navy)}
.page-cinematic-quote cite{display:block;text-align:center;margin-top:25px;color:var(--muted);font:700 .7rem/1.4 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
@media(max-width:900px){.page-cinematic-hero{min-height:70vh!important}.inner-story .story-stage{height:58vh;margin:0}.inner-story .story-chapter{min-height:auto}.inner-story .story-intro{min-height:auto}.inner-story .story-copy{padding:0}}

/* Fine polish for inner pages */
.page-cinematic-hero .page-hero-video{will-change:transform}
.site-links a,.nav a{transition:color .25s ease,transform .25s ease}
.site-links a:hover,.nav a:hover{transform:translateY(-1px)}
.inner-story .story-chapter-inner{transition:opacity .6s ease,transform .6s ease}
.inner-story .story-chapter:not(.is-active) .story-chapter-inner{opacity:.68}
.inner-story .story-chapter.is-active .story-chapter-inner{opacity:1;transform:translateX(4px)}
@media(max-width:700px){
  .page-cinematic-hero .hero-content::after{margin-top:30px}
  .inner-story .story-shell{width:100%}
  .inner-story .story-copy{padding-inline:20px}
  .inner-story .story-stage{border-radius:0}
}

/* =========================================================
   V2 POLISH — smoother motion, tighter layout, modern defaults
   ========================================================= */
:root{--ease:cubic-bezier(.22,.8,.2,1)}
html{scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
img,video{max-width:100%}
header{transition:box-shadow .4s var(--ease),background .4s var(--ease)}
header.is-stuck{box-shadow:0 10px 40px rgba(23,38,58,.08)}

/* Hero: ready-state fade, word-by-word headline, scroll fade */
.cinematic-hero .hero-video,.page-cinematic-hero .page-hero-video{opacity:0;transition:opacity 1.4s var(--ease);will-change:transform}
.is-ready{opacity:1!important}
.cinematic-hero,.page-cinematic-hero{
  background:linear-gradient(135deg,#101a28,#1c2f45)!important;
}
.page-cinematic-hero{min-height:min(72vh,640px)!important;padding:clamp(90px,11vw,140px) 0 clamp(60px,8vw,100px)!important}
.cinematic-hero>.wrap,.page-cinematic-hero>.wrap,.page-cinematic-hero>.site-wrap{opacity:var(--fade,1);will-change:opacity}
.cw{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.cw>span{display:inline-block;transform:translateY(110%);transition:transform 1s var(--ease) var(--d,0ms)}
.hero-in .cw>span{transform:none}
.cinematic-hero .eyebrow,.page-cinematic-hero .eyebrow,.cinematic-hero .lead,.page-cinematic-hero .lead,.cinematic-hero .hero-actions,.cinematic-hero .microcopy,.cinematic-hero .hero-card{
  opacity:0;transform:translateY(18px);transition:opacity 1s var(--ease) .15s,transform 1s var(--ease) .15s}
.cinematic-hero .lead,.page-cinematic-hero .lead{transition-delay:.55s}
.cinematic-hero .hero-actions,.cinematic-hero .hero-card{transition-delay:.75s}
.cinematic-hero .microcopy{transition-delay:.9s}
.hero-in .cinematic-hero .eyebrow,.hero-in .page-cinematic-hero .eyebrow,.hero-in .cinematic-hero .lead,.hero-in .page-cinematic-hero .lead,.hero-in .cinematic-hero .hero-actions,.hero-in .cinematic-hero .microcopy,.hero-in .cinematic-hero .hero-card{opacity:1;transform:none}
.cinematic-hero{min-height:min(88vh,820px)}

/* Reveal: GPU-friendly, staggered */
.motion-reveal{opacity:0;transform:translate3d(0,28px,0);transition:opacity .9s var(--ease) var(--stagger,0ms),transform .9s var(--ease) var(--stagger,0ms)}
.motion-reveal.is-visible{opacity:1;transform:none}
.card,.service,.work,.insight,.method-card,.not-card,.principle,.topic,.article,.team-card{will-change:auto;transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease),opacity .9s var(--ease) var(--stagger,0ms)}
.card:hover,.service:hover,.work:hover,.insight:hover,.method-card:hover,.principle:hover,.topic:hover,.article:hover{transform:translateY(-6px)!important;box-shadow:0 24px 60px rgba(23,38,58,.12)}
.work img{transition:transform .8s var(--ease)}
.work:hover img{transform:scale(1.05)}
.button,.nav-cta,.site-nav-cta{transition:transform .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease)}
.button:active{transform:scale(.98)}

/* Story: progress rail, subtle video drift, tighter spacing */
.story-stage::before{content:"";position:absolute;left:0;top:0;height:3px;width:100%;z-index:3;background:#d7bb92;transform:scaleX(var(--p,0));transform-origin:left}
.story-video{transition:opacity 1s var(--ease),transform 1.6s var(--ease)}
.story-chapter{min-height:60vh}
.story-chapter:last-child{min-height:68vh}
.story-intro{min-height:40vh}
.story-copy{padding:12vh 0 8vh}
.story-chapter-inner{opacity:.35;transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.story-chapter.is-active .story-chapter-inner{opacity:1;transform:none}
.inner-story .story-chapter{min-height:52vh}
.inner-story .story-intro{min-height:30vh}
.inner-story .story-stage{margin:6vh 0;height:min(62vh,580px)}

/* Moderate embeds, remove oversized/blank areas */
.showcase{padding:72px 0!important}
.showcase .wrap{max-width:1040px}
.preview{max-width:980px;margin:0 auto 28px!important;border-radius:20px}
.preview iframe{height:clamp(380px,56vh,500px)!important}
.video-wrap{max-width:760px;margin:0 auto;border-radius:20px;overflow:hidden}
.video-wrap video{display:block;width:100%;max-height:420px;background:#000;object-fit:contain}
.featured-media{max-width:1040px;margin-inline:auto}
.video-frame video{max-height:420px}
.featured .source img,.source img{max-height:420px;width:100%;object-fit:contain}
section{padding-block:clamp(56px,7vw,88px)}
.cta{padding-block:clamp(56px,6vw,76px)}
.orynne-testimonial-strip{padding-block:clamp(36px,4vw,56px)}
section:empty,div:empty:not([class]):not([id]){display:none}
.hero-scroll-cue{opacity:var(--fade,1)}

@media(max-width:900px){
  .page-cinematic-hero{min-height:60vh!important}
  .preview iframe{height:clamp(340px,52vh,440px)!important}
  .story-chapter,.inner-story .story-chapter{min-height:auto}
  .story-chapter-inner{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
  .cw>span,.cinematic-hero .eyebrow,.page-cinematic-hero .eyebrow,.cinematic-hero .lead,.page-cinematic-hero .lead,.cinematic-hero .hero-actions,.cinematic-hero .microcopy,.cinematic-hero .hero-card{opacity:1!important;transform:none!important;transition:none!important}
  .cinematic-hero .hero-video,.page-cinematic-hero .page-hero-video{opacity:1}
  .story-chapter-inner{opacity:1;transform:none}
}
