/* Opening redesign and scroll scenes. The portal zoom and tunnel in experience.js are unchanged. */

/* Hero */
.hero-eyebrow{display:inline-flex;align-items:center;gap:12px;padding:9px 16px 9px 12px;border:1px solid #13372e33;border-radius:40px;background:#f1ede359;backdrop-filter:blur(8px)}
.hero-dot{width:7px;height:7px;border-radius:50%;background:#2c7a52;box-shadow:0 0 0 0 #2c7a5266;animation:hero-pulse 2.4s ease-out infinite}
.hero-copy h1{margin-top:28px}
.hero-line{display:block;overflow:hidden;padding-bottom:.06em}
.hero-line>span{display:block;animation:hero-rise 1.1s cubic-bezier(.2,.7,.2,1) both}
.hero-line+.hero-line>span{animation-delay:.12s}
.hero-bottom{animation:hero-fade 1s .45s both}
.hero-actions{display:flex;align-items:center;gap:22px}
.hero-secondary{font-size:12px;padding:6px 0;border-bottom:1px solid currentColor;transition:opacity .3s}
.hero-secondary:hover{opacity:.65}
.hero-trust{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:42px;font-size:15px;font-weight:500;letter-spacing:-.02em;animation:hero-fade 1s .7s both}
.hero-trust span{font-size:8px;letter-spacing:.16em;font-weight:500;opacity:.6;margin-right:8px}
.hero-trust i{font-style:normal;opacity:.35}
@keyframes hero-rise{from{transform:translateY(105%)}to{transform:none}}
@keyframes hero-fade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes hero-pulse{0%{box-shadow:0 0 0 0 #2c7a5270}80%,100%{box-shadow:0 0 0 9px #2c7a5200}}

/* Journey one: statement + the four buckets */
.journey-one h2{font-size:clamp(56px,7.4vw,118px);max-width:11ch}
.journey-sub{font-size:17px;line-height:1.6;color:#e1e4d5}
.journey-parts{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:30px 0 0;padding:0}
.journey-parts li{display:flex;align-items:center;gap:10px;padding:11px 18px;border:1px solid #f1ede340;border-radius:40px;background:#0b2a2166;backdrop-filter:blur(10px);font-size:13px;opacity:var(--o,1);transform:translateY(calc((1 - var(--o,1)) * 18px))}
.journey-parts span{font-size:8px;letter-spacing:.14em;color:var(--gold)}

/* Journey two: words light up in sequence */
.journey-two{right:var(--gutter);left:auto;max-width:min(760px,70%)}
.impact-words{list-style:none;margin:22px 0 28px;padding:0}
.impact-words li{display:flex;align-items:baseline;justify-content:space-between;gap:30px;padding:6px 0 10px;border-bottom:1px solid #f1ede326}
.impact-words strong{font-family:Manrope,Arial,sans-serif;font-weight:500;font-size:clamp(56px,7.6vw,118px);letter-spacing:-.07em;line-height:1;opacity:calc(.16 + var(--o,1) * .84);transition:color .4s}
.impact-words span{font-size:13px;line-height:1.5;color:#e1e4d5;max-width:190px;text-align:right;opacity:var(--o,1);transform:translateX(calc((1 - var(--o,1)) * 20px))}
.impact-words li.is-lit strong{color:#fff8ea}
.impact-words li:last-child strong{color:var(--gold)}

/* Chapter rail */
.opening-rail{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);display:flex;align-items:center;list-style:none;margin:0;padding:0;color:var(--ink);font-size:10px;letter-spacing:.06em;transition:color .6s,opacity .4s;z-index:2}
.opening-rail li{display:flex;align-items:center;gap:8px;opacity:.55;transition:opacity .4s}
.opening-rail li+li:before{content:'';width:34px;height:1px;margin:0 14px;background:currentColor;opacity:.5}
.opening-rail li span{font-size:8px;letter-spacing:.14em}
.opening-rail li.is-active{opacity:1}
.opening-rail.on-dark{color:var(--ivory)}
.opening-rail.is-hidden{opacity:0;pointer-events:none}

/* Word-by-word scrub for headings */
.scrub-word{opacity:calc(.14 + var(--o,1) * .86);transition:opacity .12s linear}

/* Sections open like the portal: sides pull back and corners soften as they arrive */
.scene{clip-path:inset(0 calc((1 - var(--open,1)) * 6vw) 0 round calc((1 - var(--open,1)) * 44px) calc((1 - var(--open,1)) * 44px) 0 0)}
.paper.scene{clip-path:inset(0 calc((1 - var(--open,1)) * 6vw) 0 round calc(30px + (1 - var(--open,1)) * 30px) calc(30px + (1 - var(--open,1)) * 30px) 0 0)}
.services{overflow:clip;background:linear-gradient(180deg,#08281f8c 0,#08281fd9 340px,#123b31d9)}
.teaser-brands{translate:var(--drift,0) 0;white-space:nowrap}
.brand-teaser{overflow:clip}
.portrait-wrap img{translate:0 var(--py,0);scale:1.08}
.contact-orb{rotate:var(--spin,0deg)}
.insights{overflow:clip}.insights>a{translate:var(--slide,0) 0}

@media(max-width:900px){.opening-rail{display:none}.journey-two{max-width:85%}}
@media(max-width:600px){
.hero-eyebrow{padding:7px 12px 7px 10px;gap:9px}
.hero-actions{gap:18px}
.hero-trust{margin-top:28px;font-size:13px}
.hero-trust span{width:100%;margin:0}
.journey-one h2{font-size:14vw}
.journey-sub{font-size:14px}
.journey-parts{gap:8px;margin-top:22px}
.journey-parts li{padding:9px 13px;font-size:12px}
.journey-two{left:var(--gutter);right:var(--gutter);max-width:none}
.impact-words strong{font-size:15vw}
.impact-words span{font-size:11px;max-width:120px}
.teaser-brands{white-space:normal;translate:none}
}
@media(prefers-reduced-motion:reduce){.hero-line>span,.hero-bottom,.hero-trust,.hero-dot{animation:none}}
.impact-words li{justify-content:flex-start}
.journey-parts{margin-top:34px}

.hero-eyebrow.hero-badge{padding:11px 22px 11px 16px;gap:12px;font-size:clamp(14px,1.25vw,18px);font-weight:700;letter-spacing:.22em;color:#13372e}
.hero-badge .hero-dot{width:9px;height:9px}
