/* ============ Effer Living Light v2 ============ */
:root{
  --navy:#0F1B2E;--navy-2:#233850;--red:#CB6A4A;--green:#1F3D2E;
  --ivory:#F7F5F2;--paper:#EFECE4;--stone:#E3DFD5;--ink:#1A2430;
  --muted:#6E6A63;--gold:#C7A05A;--white:#fff;
  --serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;
  --shadow:0 18px 50px rgba(15,27,46,.09);--radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);line-height:1.6;-webkit-font-smoothing:antialiased}
.shell{width:min(1180px,calc(100% - 40px));margin:auto}
.skip-link{position:fixed;left:12px;top:-100px;z-index:999;background:#fff;padding:10px 14px;color:#000}
.skip-link:focus{top:12px}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:30;background:rgba(247,245,242,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(15,27,46,.08)}
.nav-wrap{height:86px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;margin-right:auto}
.brand img{width:190px;height:auto;display:block}
.primary-nav{display:flex;align-items:center;gap:29px}
.primary-nav a,.site-footer a{color:inherit;text-decoration:none}
.primary-nav a{font-size:.94rem;font-weight:600;position:relative}
.primary-nav a::after{content:"";position:absolute;left:0;bottom:-6px;width:100%;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .28s ease}
.primary-nav a:hover::after{transform:scaleX(1)}
.primary-nav a:hover,.text-link:hover{color:var(--red)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--navy);color:#fff!important;text-decoration:none;border-radius:8px;padding:14px 20px;font-weight:700;border:1px solid var(--navy);transition:.25s ease}
.button:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(15,27,46,.18)}
.button span{transition:transform .25s ease}
.button:hover span{transform:translateX(4px)}
.nav-cta{padding:12px 17px}
.menu-toggle{display:none;background:transparent;border:0;color:var(--navy);cursor:pointer}

/* ---------- type ---------- */
.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;font-weight:800;color:var(--red);margin:0 0 15px}
.eyebrow.green{color:var(--green)}
.eyebrow.gold{color:#d9b273}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:var(--serif);font-weight:600;color:var(--navy);line-height:1.12}
h1{font-size:clamp(3rem,5.7vw,5.4rem);letter-spacing:-.04em;margin-bottom:20px}
h1 em{color:var(--red);font-style:italic}
h2{font-size:clamp(2rem,3.4vw,3.4rem);letter-spacing:-.025em;margin-bottom:18px}
h3{font-size:1.5rem}
.section-pad{padding:88px 0}
.section-heading{max-width:820px;margin:0 auto 48px}
.section-heading.centered{text-align:center}
.section-sub{font-size:1.1rem;color:var(--muted);max-width:640px;margin:0 auto}
.text-link{color:var(--navy);font-weight:700;text-underline-offset:6px}

/* ---------- hero ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden}
.hero-scene{position:absolute;inset:0;z-index:0}
.scene{width:100%;height:100%;display:block}
.hero-fade{position:absolute;inset:auto 0 0 0;height:130px;background:linear-gradient(to bottom,transparent,var(--ivory))}
.hero-copy{position:relative;z-index:2;padding:120px 0 160px;max-width:660px;margin-left:max(calc((100% - 1180px)/2),20px)}
.hero-copy h1{text-shadow:0 2px 30px rgba(247,245,242,.6)}
.hero-kicker{font-size:1.25rem;font-weight:700;color:var(--navy);margin-bottom:10px}
.hero-lead{font-size:1.1rem;color:#3c4650;max-width:540px}
.hero-actions{display:flex;align-items:center;gap:24px;margin-top:30px;flex-wrap:wrap}
.hero-line{opacity:0;transform:translateY(26px)}
.no-motion .hero-line,.no-gsap .hero-line{opacity:1;transform:none}
.scroll-hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:2;width:26px;height:44px;border:2px solid rgba(15,27,46,.45);border-radius:14px;display:block}
.scroll-hint span{position:absolute;left:50%;top:8px;width:4px;height:9px;margin-left:-2px;border-radius:3px;background:var(--navy);animation:hint 2.2s ease-in-out infinite}
@keyframes hint{0%,100%{transform:translateY(0);opacity:1}55%{transform:translateY(14px);opacity:.15}}

/* --- living scene animations --- */
.sun-group{transform-origin:880px 300px}
.sun-glow{transform-origin:880px 300px;animation:sunPulse 9s ease-in-out infinite}
@keyframes sunPulse{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.14);opacity:1}}
.cloud{animation:drift 46s ease-in-out infinite alternate}
.cloud-b{animation-duration:58s;animation-delay:-16s}
.cloud-c{animation-duration:38s;animation-delay:-8s}
@keyframes drift{from{transform:translateX(-46px)}to{transform:translateX(60px)}}
.bird{offset-rotate:0deg}
.bird-1{animation:fly1 34s linear infinite}
.bird-2{animation:fly1 46s linear infinite;animation-delay:-18s}
.bird-3{animation:fly1 40s linear infinite;animation-delay:-30s}
@keyframes fly1{0%{transform:translate(-80px,240px)}100%{transform:translate(1540px,80px)}}
.tree{transform-origin:1252px 810px;animation:sway 8s ease-in-out infinite alternate}
.grove-1{transform-origin:240px 620px;animation:sway 10s ease-in-out infinite alternate;animation-delay:-3s}
.grove-2{transform-origin:1200px 626px;animation:sway 9s ease-in-out infinite alternate;animation-delay:-6s}
@keyframes sway{from{transform:rotate(-.8deg)}to{transform:rotate(.9deg)}}
.grass path{transform-box:fill-box;transform-origin:center bottom;animation:sway 4.5s ease-in-out infinite alternate}
.river-shine{animation:shimmer 6s ease-in-out infinite alternate}
@keyframes shimmer{from{opacity:.25}to{opacity:.65}}
.mote{animation:rise 11s ease-in-out infinite}
.m2{animation-duration:13s;animation-delay:-4s}
.m3{animation-duration:10s;animation-delay:-7s}
.m4{animation-duration:14s;animation-delay:-2s}
.m5{animation-duration:12s;animation-delay:-9s}
@keyframes rise{0%{transform:translateY(0);opacity:0}18%{opacity:.85}80%{opacity:.25}100%{transform:translateY(-130px);opacity:0}}

/* ---------- reveals ---------- */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s cubic-bezier(.22,.8,.3,1)}
.reveal.visible{opacity:1;transform:none}
.no-motion .reveal{opacity:1;transform:none;transition:none}

/* ---------- belief ---------- */
.belief{background:#fff;border-top:1px solid var(--stone);border-bottom:1px solid var(--stone)}
.principle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}
.principle-grid article{text-align:center;padding:10px}
.principle-grid h3{font-size:1.35rem;margin:16px 0 8px}
.principle-grid p{color:var(--muted);margin:0}
.draw-icon{width:56px;height:56px;color:var(--red)}
.principle-grid article:nth-child(2) .draw-icon{color:var(--gold)}
.principle-grid article:nth-child(3) .draw-icon{color:var(--green)}
.principle-grid article:nth-child(4) .draw-icon{color:var(--navy-2)}
.draw-icon path{stroke-dasharray:300;stroke-dashoffset:300}
.reveal.visible .draw-icon path{animation:draw 1.6s ease forwards .15s}
@keyframes draw{to{stroke-dashoffset:0}}
.no-motion .draw-icon path{stroke-dashoffset:0}

/* ---------- journeys ---------- */
.journey-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.journey-card{background:#fff;border:1px solid var(--stone);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 26px rgba(15,27,46,.05);transition:transform .35s ease,box-shadow .35s ease;display:flex;flex-direction:column}
.journey-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.journey-visual{height:150px;display:flex;align-items:center;justify-content:center;padding:12px}
.journey-visual svg{width:100%;height:100%;max-width:200px}
.visual-wealth{background:linear-gradient(160deg,#eef3e6,#f8f2e2)}
.visual-learn{background:linear-gradient(160deg,#fbeee2,#f8f0e4)}
.visual-tools{background:linear-gradient(160deg,#f6ecd8,#f4efe3)}
.visual-org{background:linear-gradient(160deg,#e8edf2,#f2f0e8)}
.journey-body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.journey-body h3{margin:0;font-size:1.4rem}
.journey-body p{margin:0;color:var(--muted);font-size:.97rem;flex:1}
.journey-body a{color:var(--navy);font-weight:700;text-decoration:none;font-size:.95rem}
.journey-body a span{display:inline-block;transition:transform .25s ease}
.journey-body a:hover{color:var(--red)}
.journey-body a:hover span{transform:translateX(4px)}
/* journey vignette animation */
.jv-stem{stroke-dasharray:90;stroke-dashoffset:90}
.jv-leaf{opacity:0;transform:scale(.4);transform-origin:100px 80px}
.reveal.visible .jv-stem{animation:draw 1.2s ease forwards .2s}
.reveal.visible .jv-leaf-l{animation:leafIn .7s ease forwards .9s}
.reveal.visible .jv-leaf-r{animation:leafIn .7s ease forwards 1.15s}
@keyframes leafIn{to{opacity:1;transform:scale(1)}}
.jv-sun{animation:sunPulse2 6s ease-in-out infinite}
@keyframes sunPulse2{0%,100%{opacity:.75}50%{opacity:1}}
.jv-lines path{stroke-dasharray:34;stroke-dashoffset:34}
.reveal.visible .jv-lines path{animation:draw .6s ease forwards}
.reveal.visible .jv-lines path:nth-child(2){animation-delay:.15s}
.reveal.visible .jv-lines path:nth-child(3){animation-delay:.3s}
.reveal.visible .jv-lines path:nth-child(4){animation-delay:.45s}
.reveal.visible .jv-lines path:nth-child(5){animation-delay:.6s}
.reveal.visible .jv-lines path:nth-child(6){animation-delay:.75s}
.jv-bars rect{transform:scaleY(0);transform-origin:center 112px}
.reveal.visible .jv-bars rect{animation:barUp .7s cubic-bezier(.22,.8,.3,1.2) forwards}
.reveal.visible .jv-bars rect:nth-child(2){animation-delay:.18s}
.reveal.visible .jv-bars rect:nth-child(3){animation-delay:.36s}
@keyframes barUp{to{transform:scaleY(1)}}
.jv-arrow{stroke-dasharray:120;stroke-dashoffset:120}
.jv-arrowhead{opacity:0}
.reveal.visible .jv-arrow{animation:draw 1s ease forwards .55s}
.reveal.visible .jv-arrowhead{animation:fadeIn .4s ease forwards 1.4s}
@keyframes fadeIn{to{opacity:1}}
.jv-person{opacity:0;transform:translateY(12px)}
.reveal.visible .jv-person{animation:personIn .55s ease forwards}
.reveal.visible .p-2{animation-delay:.18s}
.reveal.visible .p-3{animation-delay:.36s}
@keyframes personIn{to{opacity:1;transform:none}}
.jv-arc{stroke-dashoffset:0;opacity:0}
.reveal.visible .jv-arc{animation:fadeIn .8s ease forwards .8s}
.no-motion .jv-stem,.no-motion .jv-lines path,.no-motion .jv-arrow{stroke-dashoffset:0}
.no-motion .jv-leaf,.no-motion .jv-arrowhead,.no-motion .jv-person,.no-motion .jv-arc{opacity:1;transform:none}

/* ---------- split: story + tools ---------- */
.split-section{background:var(--paper)}
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.feature{background:#fff;border:1px solid var(--stone);border-radius:var(--radius);padding:34px;box-shadow:0 8px 26px rgba(15,27,46,.05);display:flex;flex-direction:column;gap:24px}
.feature h2{font-size:2rem}
.feature-copy p{color:var(--muted)}
.story-frame{position:relative;border-radius:16px;overflow:hidden;margin-top:auto}
.story-frame img{display:block;width:100%;height:230px;object-fit:cover;transform:scale(1);transition:transform 6s ease}
.story-feature:hover .story-frame img{transform:scale(1.07)}
.light-sweep{position:absolute;inset:0;background:linear-gradient(105deg,transparent 40%,rgba(255,236,190,.35) 50%,transparent 60%);transform:translateX(-110%);animation:sweep 7s ease-in-out infinite}
@keyframes sweep{0%,55%{transform:translateX(-110%)}75%,100%{transform:translateX(110%)}}
.tool-card{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;background:#f7f3e8;border:1px solid var(--stone);border-radius:16px;padding:22px;text-decoration:none;color:inherit;transition:.3s ease;margin-top:auto}
.tool-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d8cdb6}
.tool-card small{text-transform:uppercase;letter-spacing:.1em;font-weight:800;font-size:.68rem;color:var(--green)}
.tool-card h3{margin:6px 0;font-size:1.25rem}
.tool-card p{margin:0 0 8px;color:var(--muted);font-size:.92rem}
.tool-card>div:last-child span{color:var(--green);font-weight:700;font-size:.88rem}
.growth-chart{position:relative}
.growth-chart svg{width:100%;display:block}
.chart-line{stroke-dasharray:400;stroke-dashoffset:400}
.chart-area{opacity:0}
.chart-dot{opacity:0}
.reveal.visible .chart-line{animation:draw 1.8s ease forwards .3s}
.reveal.visible .chart-area{animation:fadeIn 1s ease forwards 1.4s}
.reveal.visible .chart-dot{animation:fadeIn .5s ease forwards 1.9s}
.no-motion .chart-line{stroke-dashoffset:0}
.no-motion .chart-area,.no-motion .chart-dot{opacity:1}
.chart-value{position:absolute;top:-4px;left:0}
.chart-value small{display:block;font-size:.62rem}
.chart-value b{font-family:var(--serif);font-size:1.05rem;color:var(--navy)}

/* ---------- philosophy path ---------- */
.philosophy{background:var(--ivory)}
.path-wrap{position:relative;margin-top:20px}
.path-svg{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.path-trace{stroke-dasharray:1300;stroke-dashoffset:1300}
.no-motion .path-trace,.no-gsap .path-trace{stroke-dashoffset:0}
.ability-path{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.path-step{text-align:center;padding:20px 14px 22px;background:var(--ivory);border:1px solid var(--stone);border-radius:18px;box-shadow:0 6px 20px rgba(15,27,46,.05);opacity:0;transform:translateY(18px) scale(.96);transition:opacity .55s ease,transform .55s cubic-bezier(.22,.8,.3,1.15)}
.path-step.lit{opacity:1;transform:none}
.no-motion .path-step,.no-gsap .path-step{opacity:1;transform:none}
.path-step span{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:2px solid var(--gold);color:var(--gold);font-weight:800;font-size:1.15rem;margin-bottom:14px;box-shadow:0 6px 18px rgba(199,160,90,.22);transition:.3s ease}
.path-step.lit span{background:var(--gold);color:#fff}
.path-step h3{font-size:1.35rem;margin-bottom:6px}
.path-step p{color:#4b4a44;font-size:.95rem;margin:0;max-width:220px;margin-inline:auto}
.path-step:nth-child(1),.path-step:nth-child(3){margin-top:84px}

/* ---------- begin (night to first light) ---------- */
.begin{position:relative;overflow:hidden;color:#f2ead9;padding:110px 0}
.night-sky{position:absolute;inset:0;width:100%;height:100%}
.begin .shell{position:relative;z-index:1}
.begin-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:40px;align-items:center}
.begin h2{color:#fdf6e8}
.begin p{color:#d8cfbc;font-size:1.08rem}
.begin-cta{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.gold-button{background:var(--gold);border-color:var(--gold)}
.gold-button:hover{box-shadow:0 10px 28px rgba(199,160,90,.4)}
.begin small{color:#b8ac93;letter-spacing:.06em}
.star{animation:twinkle 4s ease-in-out infinite}
.s2{animation-delay:-1s}.s3{animation-delay:-2.2s}.s4{animation-delay:-.6s}.s5{animation-delay:-3s}
.s6{animation-delay:-1.6s}.s7{animation-delay:-2.6s}.s8{animation-delay:-.3s}.s9{animation-delay:-1.9s}.s10{animation-delay:-3.4s}
@keyframes twinkle{0%,100%{opacity:.25}50%{opacity:1}}

/* ---------- footer ---------- */
.site-footer{background:#fff;border-top:1px solid var(--stone);padding:64px 0 30px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px;padding-bottom:40px}
.footer-brand img{width:150px;height:auto}
.footer-brand p{color:var(--muted);max-width:280px;margin-top:14px}
.footer-grid h2{font-family:var(--sans);font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:14px}
.footer-grid a{display:block;margin-bottom:10px;font-weight:600;font-size:.95rem}
.footer-grid a:hover{color:var(--red)}
.footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--stone);padding-top:22px;color:var(--muted);font-size:.88rem}
.footer-bottom a{color:inherit;margin-left:18px}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .principle-grid,.journey-grid{grid-template-columns:repeat(2,1fr)}
  .split-grid,.begin-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-copy{margin-left:20px;padding:90px 20px 140px}
  .ability-path{grid-template-columns:repeat(2,1fr);gap:34px}
  .path-svg{display:none}
  .path-step:nth-child(1),.path-step:nth-child(3){margin-top:0}
}
@media (max-width:720px){
  .nav-wrap{height:74px;gap:14px}
  .brand img{width:150px}
  .nav-cta{display:none}
  .menu-toggle{display:flex;flex-direction:column;gap:4px;align-items:center;padding:10px}
  .menu-toggle span{display:block;width:22px;height:2px;background:var(--navy)}
  .menu-toggle b{font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  .primary-nav{position:fixed;top:74px;left:0;right:0;background:var(--ivory);border-bottom:1px solid var(--stone);flex-direction:column;align-items:flex-start;padding:20px;gap:16px;transform:translateY(-130%);transition:transform .3s ease;z-index:29}
  .primary-nav.open{transform:none}
  .hero{min-height:78vh}
  .hero-copy{padding:70px 20px 120px}
  .principle-grid,.journey-grid,.ability-path{grid-template-columns:1fr}
  .section-pad{padding:64px 0}
  .tool-card{grid-template-columns:1fr}
  .begin{padding:80px 0}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .hero-line,.reveal,.path-step{opacity:1!important;transform:none!important}
  .draw-icon path,.jv-stem,.jv-lines path,.jv-arrow,.chart-line,.path-trace{stroke-dashoffset:0!important}
  .jv-leaf,.jv-arrowhead,.jv-person,.jv-arc,.chart-area,.chart-dot{opacity:1!important;transform:none!important}
}

/* ---------- WhatsApp float ---------- */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:40;width:54px;height:54px;border-radius:50%;background:#1F3D2E;color:#F7F5F2;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(15,27,46,.28);transition:.25s ease}
.wa-float:hover{transform:translateY(-3px);background:#2a5240;box-shadow:0 14px 30px rgba(15,27,46,.34)}
@media (max-width:720px){.wa-float{right:16px;bottom:16px;width:50px;height:50px}}

/* ---------- subpages ---------- */
.page-hero{background:radial-gradient(circle at 80% 0%,rgba(199,160,90,.14),transparent 40%),var(--ivory);padding:84px 0 64px;border-bottom:1px solid var(--stone)}
.page-hero h1{font-size:clamp(2.4rem,4.6vw,4rem)}
.page-hero .lead{font-size:1.15rem;color:#4b4a44;max-width:640px}
.subgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.subgrid.two{grid-template-columns:repeat(2,1fr)}
.subcard{background:#fff;border:1px solid var(--stone);border-radius:var(--radius);padding:28px;box-shadow:0 8px 26px rgba(15,27,46,.05)}
.subcard h3{font-size:1.3rem;margin-bottom:8px}
.subcard p{color:var(--muted);margin:0}
.faq details{background:#fff;border:1px solid var(--stone);border-radius:14px;padding:18px 22px;margin-bottom:14px}
.faq summary{font-weight:700;color:var(--navy);cursor:pointer;font-size:1.05rem}
.faq p{margin:12px 0 0;color:var(--muted)}
.prose{max-width:760px;margin:0 auto}
.prose p{font-size:1.05rem;color:#3d3c37;margin-bottom:18px}
.band{background:var(--paper)}
.invite{background:var(--navy);color:#f2ead9;border-radius:var(--radius);padding:44px;display:grid;grid-template-columns:1.4fr .8fr;gap:30px;align-items:center}
.invite h2{color:#fdf6e8}
.invite p{color:#d8cfbc;margin:0}
.invite .button{background:var(--gold);border-color:var(--gold)}
@media (max-width:1000px){.subgrid,.subgrid.two{grid-template-columns:1fr 1fr}.invite{grid-template-columns:1fr}}
@media (max-width:720px){.subgrid,.subgrid.two{grid-template-columns:1fr}.page-hero{padding:60px 0 44px}}

/* ---------- editorial hero — the whole scene, nothing hidden ---------- */
.hero-editorial{min-height:0;display:block;overflow:hidden;background:radial-gradient(circle at 82% 0%,rgba(199,160,90,.14),transparent 42%),var(--ivory)}
.hero-editorial .hero-copy{max-width:860px;margin:0 auto;padding:84px 20px 46px;text-align:center}
.hero-editorial .hero-lead{margin-inline:auto}
.hero-editorial .hero-actions{justify-content:center}
.hero-stage{position:relative;width:100%;aspect-ratio:1916/821;overflow:hidden}
.hero-stage .hero-painting{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-stage .hero-sweep{position:absolute;inset:0;background:linear-gradient(105deg,transparent 42%,rgba(255,236,190,.22) 50%,transparent 58%);transform:translateX(-120%);animation:sweep 11s ease-in-out infinite}
.hero-stage .hero-motes{position:absolute;inset:0;width:100%;height:100%}
.hero-stage .hero-fade{position:absolute;inset:auto 0 0 0;height:90px;background:linear-gradient(to bottom,transparent,var(--ivory))}
@media (max-width:720px){
  .hero-editorial .hero-copy{padding:56px 20px 30px}
  .hero-stage{aspect-ratio:4/3}
  .hero-stage .hero-painting{object-position:26% center}
}

/* ---------- belief split with scene ---------- */
.belief-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;margin-bottom:56px}
.belief-art{margin:0;position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.belief-art img{display:block;width:100%;height:auto}
.belief-art figcaption{position:absolute;left:0;right:0;bottom:0;padding:14px 22px;background:linear-gradient(transparent,rgba(15,27,46,.72));color:#F7F5F2;font-family:var(--serif);font-style:italic;font-size:1.05rem}
.belief-copy h2{margin-bottom:16px}
.belief-lead{color:#4b4a44;font-size:1.08rem;max-width:460px}
@media (max-width:1000px){.belief-grid{grid-template-columns:1fr;gap:30px}}

/* mobile: simulator entry lives in the menu (header CTA is hidden there) */
.nav-sim-mobile{display:none}
@media (max-width:720px){
  .nav-sim-mobile{display:block;font-weight:800;color:var(--red)}
}

/* ============================================================
   v3.4 — E2 cinematic hero + site-wide arrival
   ============================================================ */
/* --- homepage E2 hero --- */
.hero-e2{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden}
.hero-e2 .cin-media{position:absolute;inset:0;overflow:hidden;background:#e6dfd1 center/cover no-repeat;background-image:var(--hero-lqip)}
.hero-e2 .hero-painting{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:18% 34%;transform-origin:30% 40%;animation:kb 26s ease-in-out infinite alternate}
@keyframes kb{from{transform:scale(1.03) translateX(0)}to{transform:scale(1.09) translateX(-1.2%)}}
.hero-e2 .hero-sweep,.hero-e2 .hero-motes{position:absolute;inset:0;width:100%;height:100%}
.hero-e2 .cin-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,27,46,.12),rgba(15,27,46,.60));opacity:0;transition:opacity 1.4s ease}
html:not(.js) .hero-e2 .cin-scrim{opacity:1}
.hero-e2 .cin-copy{position:relative;z-index:2;max-width:760px;text-align:center;margin:0 auto;padding:40px 0}
.hero-e2 .eyebrow{color:#F0C889}
.hero-e2 h1{color:#fff}.hero-e2 h1 em{color:#F0C889}
.hero-e2 .hero-kicker{color:#f5efe1}.hero-e2 .hero-lead{color:#ebe4d5;margin-inline:auto;max-width:600px}
.hero-e2 .button{background:var(--gold);border-color:var(--gold);color:#1a1204!important}
.hero-e2 .text-link{color:#fff}
.hero-e2 .hero-actions{justify-content:center;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.hero-e2 .cin-line{transition:opacity 1s ease,transform 1s cubic-bezier(.22,.8,.3,1)}
.js .hero-e2 .cin-line{opacity:0;transform:translateY(30px)}
.hero-e2.play .cin-scrim{opacity:1}
.hero-e2.play .cin-line{opacity:1;transform:none}
.hero-e2.play .cin-line:nth-child(1){transition-delay:.15s}
.hero-e2.play .cin-line:nth-child(2){transition-delay:.45s}
.hero-e2.play .cin-line:nth-child(3){transition-delay:1.05s}
.hero-e2.play .cin-line:nth-child(4){transition-delay:1.35s}
.hero-e2.play .cin-line:nth-child(5){transition-delay:1.65s}
.hero-e2 .scroll-cue{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:8px;color:#fbf3df;text-decoration:none;opacity:0;transition:opacity 1s ease 2.4s;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700}
.hero-e2.play .scroll-cue{opacity:.85}
.hero-e2 .scroll-cue span{display:block;width:1px;height:34px;background:linear-gradient(#fbf3df,transparent);animation:cue 2.4s ease-in-out infinite}
@keyframes cue{0%,100%{transform:scaleY(.4);transform-origin:top;opacity:.4}50%{transform:scaleY(1);opacity:1}}
@media (max-width:820px){.hero-e2 .cin-copy{padding:110px 0 44px}}
@media (prefers-reduced-motion:reduce){
  .hero-e2 .hero-painting{animation:none}
  .hero-e2 .cin-line,.hero-e2 .cin-scrim,.hero-e2 .scroll-cue{transition:none}
}

/* --- site-wide inner-page hero arrival (lighter) --- */
.page-hero.arrived>.shell>*,.sim-hero.arrived>.shell>*,.story-hero.arrived>.shell>*{transition:opacity .7s ease,transform .7s cubic-bezier(.22,.8,.3,1)}
.js .page-hero>.shell>*,.js .sim-hero>.shell>*,.js .story-hero>.shell>*{opacity:0;transform:translateY(20px)}
.page-hero.arrived>.shell>*,.sim-hero.arrived>.shell>*,.story-hero.arrived>.shell>*{opacity:1;transform:none}
.arrived>.shell>*:nth-child(2){transition-delay:.09s}
.arrived>.shell>*:nth-child(3){transition-delay:.18s}
.arrived>.shell>*:nth-child(4){transition-delay:.27s}
.arrived>.shell>*:nth-child(5){transition-delay:.36s}
@media (prefers-reduced-motion:reduce){.js .page-hero>.shell>*,.js .sim-hero>.shell>*,.js .story-hero>.shell>*{opacity:1;transform:none}}

/* ============ v3.6 — Tools tab bar ============ */
.tools-tabs{background:var(--paper);border-bottom:1px solid var(--stone)}
.tools-tabs-row{display:flex;gap:2px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tools-tabs-row::-webkit-scrollbar{height:0}
.ttab{flex:none;padding:16px 22px;font-weight:700;font-size:.94rem;color:var(--muted);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap;transition:color .2s ease,border-color .2s ease}
.ttab:hover{color:var(--navy)}
.ttab.active{color:var(--navy);border-bottom-color:var(--gold)}
@media(max-width:600px){.ttab{padding:14px 15px;font-size:.87rem}}
/* tools hub cards */
.tool-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.tool-hub-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--stone);border-radius:var(--radius);padding:30px 32px;box-shadow:0 8px 26px rgba(15,27,46,.05);transition:transform .3s ease,box-shadow .3s ease;text-decoration:none;color:inherit}
.tool-hub-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.tool-hub-card .tag{font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--green);margin-bottom:12px}
.tool-hub-card h3{font-size:1.5rem;margin:0 0 8px}
.tool-hub-card p{color:var(--muted);margin:0 0 18px;flex:1}
.tool-hub-card .go{color:var(--navy);font-weight:700}
.tool-hub-card:hover .go{color:var(--red)}
.tool-cards .ext{background:var(--paper);grid-column:1/-1}
@media(max-width:820px){.tool-cards{grid-template-columns:1fr}}

/* ============ v3.8 — STANDARD ELEMENT: split page hero ============ */
/* Text left, visual right. Media slot takes an <img> (painterly scene) or an inline SVG (living vignette).
   Use on any inner page whose hero deserves a visual. Stacks on mobile (text first). */
.page-hero-split .shell{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.page-hero-split .ph-media{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff;border:1px solid var(--stone)}
.page-hero-split .ph-media img{display:block;width:100%;height:auto}
.page-hero-split .ph-media svg{display:block;width:100%;height:auto}
.page-hero-split .ph-media figcaption{position:absolute;left:0;right:0;bottom:0;padding:13px 20px;background:linear-gradient(transparent,rgba(15,27,46,.72));color:#F7F5F2;font-family:var(--serif);font-style:italic;font-size:.98rem}
/* arrival: media joins the staged fade-up */
.js .page-hero-split>.shell>*{opacity:0;transform:translateY(20px)}
.page-hero-split.arrived>.shell>*{opacity:1;transform:none;transition:opacity .7s ease,transform .7s cubic-bezier(.22,.8,.3,1)}
.page-hero-split.arrived>.shell>*:nth-child(2){transition-delay:.15s}
@media (max-width:900px){.page-hero-split .shell{grid-template-columns:1fr;gap:28px}}
@media (prefers-reduced-motion:reduce){.js .page-hero-split>.shell>*{opacity:1;transform:none}}
/* living instrument vignette animations (tools hub) */
.iv-needle{transform-origin:150px 128px;animation:ivSweep 7s ease-in-out infinite alternate}
@keyframes ivSweep{from{transform:rotate(-64deg)}to{transform:rotate(38deg)}}
.iv-line{stroke-dasharray:340;stroke-dashoffset:340;animation:ivDraw 5s ease-in-out infinite}
@keyframes ivDraw{0%{stroke-dashoffset:340}55%,80%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.iv-dot{animation:ivPulse 2.8s ease-in-out infinite}
.iv-dot:nth-of-type(2){animation-delay:.5s}.iv-dot:nth-of-type(3){animation-delay:1s}
@keyframes ivPulse{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.iv-needle,.iv-line,.iv-dot{animation:none}.iv-line{stroke-dashoffset:0}}
