/* ESGware marketing site — esgware.co.za
   Brand: the ESGware product palette (forest greens + emerald #17d492),
   Space Grotesk for display, Inter for text. Dark "forest" sections alternate
   with light "mint" sections so every screen has a distinct feel. */

:root {
    --ink: #06100c;
    --forest-950: #07120e;
    --forest-900: #0b1a15;
    --forest-850: #0e211b;
    --forest-800: #102420;
    --forest-700: #16302a;
    --forest-600: #1f4037;
    --emerald: #17d492;
    --emerald-400: #35e0a6;
    --emerald-600: #0eb37d;
    --emerald-700: #087a52;
    --emerald-900: #06231a;
    --mint-50: #f1fbf6;
    --mint-100: #e1f6ec;
    --mint-200: #c3ecd8;
    --sky: #7cc7ff;
    --gold: #f5c35b;
    --text-on-dark: #e6f2ec;
    --muted-on-dark: #97ada4;
    --dim-on-dark: #6c8279;
    --text-on-light: #0d2a20;
    --muted-on-light: #4d6a5f;
    --line-dark: rgba(255, 255, 255, .08);
    --line-light: #d3e6dc;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-glow: 0 30px 80px rgba(23, 212, 146, .18);
    --shadow-deep: 0 40px 100px rgba(0, 0, 0, .55);
    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1240px;
    --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text-on-dark); background: var(--forest-950); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 10px; background: var(--emerald); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 10px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; font-family: inherit; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--emerald); color: var(--ink); box-shadow: 0 12px 30px rgba(23, 212, 146, .35); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(23, 212, 146, .45); background: var(--emerald-400); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--emerald); background: rgba(23, 212, 146, .08); }
.btn-dark { background: var(--forest-900); color: #fff; }
.btn-outline-dark { border-color: var(--line-light); color: var(--text-on-light); background: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-play { gap: 12px; }
.btn-play .play-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--emerald); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(23, 212, 146, .6); animation: ping 2.2s infinite; }
.btn-play .play-dot svg { width: 12px; height: 12px; margin-left: 2px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(23, 212, 146, .55); } 70% { box-shadow: 0 0 0 14px rgba(23, 212, 146, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 212, 146, 0); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--emerald); }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 18, 14, .82); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-dark); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 21px; color: #fff; letter-spacing: -.01em; }
.logo img { width: 38px; height: 38px; }
.logo-word span { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #d4e4dc; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { font-weight: 600; font-size: 14.5px; color: #d4e4dc; padding: 10px 12px; }
.nav-signin:hover { color: #fff; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; width: 640px; padding: 18px; border-radius: 20px; background: rgba(11, 26, 21, .97); border: 1px solid var(--line-dark); box-shadow: var(--shadow-deep); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.nav-links > li:hover .mega, .nav-links > li:focus-within .mega, .nav-links > li.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.nav-links > li:hover .chev, .nav-links > li.is-open .chev { transform: rotate(180deg); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.mega a:hover { background: rgba(23, 212, 146, .08); }
.mega-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(23, 212, 146, .12); color: var(--emerald); }
.mega-icon svg { width: 18px; height: 18px; }
.mega strong { display: block; font-size: 14.5px; color: #fff; }
.mega span { font-size: 13px; color: var(--muted-on-dark); line-height: 1.4; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 12px 4px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--muted-on-dark); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-light { background: var(--mint-50); color: var(--text-on-light); }
.section-light .eyebrow { color: var(--emerald-700); }
.section-light .lead, .section-light .muted { color: var(--muted-on-light); }
.section-white { background: #fff; color: var(--text-on-light); }
.section-white .eyebrow { color: var(--emerald-700); }
.section-white .lead { color: var(--muted-on-light); }
.section-forest { background: radial-gradient(90% 70% at 10% 0%, rgba(23, 212, 146, .12), transparent 60%), var(--forest-900); }
.section-deep { background: linear-gradient(180deg, var(--forest-950), var(--forest-900)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.h-xl { font-size: clamp(42px, 6.2vw, 80px); }
.h-lg { font-size: clamp(34px, 4.4vw, 56px); }
.h-md { font-size: clamp(26px, 3vw, 38px); }
.h-sm { font-size: 22px; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-on-dark); max-width: 640px; margin-top: 20px; line-height: 1.6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grad-text { background: linear-gradient(95deg, #fff 10%, var(--emerald) 60%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-light .grad-text, .section-white .grad-text { background: linear-gradient(95deg, var(--text-on-light), var(--emerald-700)); -webkit-background-clip: text; background-clip: text; }
.sec-head { margin-bottom: 64px; }
.muted { color: var(--muted-on-dark); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; padding: calc(var(--nav-h) + 70px) 0 90px; overflow: hidden; background: radial-gradient(70% 60% at 80% 20%, rgba(23, 212, 146, .16), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(8, 122, 82, .3), transparent 60%), var(--forest-950); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
.hero .lead { font-size: clamp(17px, 1.4vw, 20px); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-proof { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; font-size: 13.5px; color: var(--muted-on-dark); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--emerald); }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(23, 212, 146, .08); border: 1px solid rgba(23, 212, 146, .25); font-size: 13.5px; font-weight: 600; color: #cdeee0; margin-bottom: 26px; }
.pill-badge b { background: var(--emerald); color: var(--ink); padding: 2px 9px; border-radius: 999px; font-size: 11.5px; letter-spacing: .04em; }

.hero-visual { position: relative; height: 640px; perspective: 1600px; }
.globe-canvas { position: absolute; right: -120px; top: -40px; width: 760px; height: 760px; opacity: .9; pointer-events: none; }
.browser { position: relative; border-radius: 16px; overflow: hidden; background: var(--forest-800); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-deep), var(--shadow-glow); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0c1b16; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b443b; }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #f5c35b; } .browser-bar i:nth-child(3) { background: #17d492; }
.browser-bar .url { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: 11px; color: var(--dim-on-dark); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.browser-bar .url svg { width: 10px; height: 10px; }
.browser img { width: 100%; height: auto; }
.hero-browser { position: absolute; left: 0; top: 70px; width: 100%; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-origin: left center; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg) translateY(0); } 50% { transform: rotateY(-11deg) rotateX(5deg) rotateZ(.5deg) translateY(-14px); } }
.float-card { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 14px; background: rgba(12, 30, 24, .88); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); min-width: 190px; animation: bob 6s ease-in-out infinite; }
.float-card .k { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-on-dark); font-weight: 700; }
.float-card .v { font-family: var(--display); font-size: 28px; font-weight: 700; color: #fff; line-height: 1.1; margin-top: 4px; }
.float-card .v small { font-size: 14px; color: var(--muted-on-dark); font-weight: 500; }
.float-card .d { font-size: 12.5px; color: var(--emerald); font-weight: 600; margin-top: 2px; }
.float-card svg.spark { width: 160px; height: 38px; margin-top: 8px; }
.spark path { fill: none; stroke: var(--emerald); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s .6s ease forwards; }
.spark .area { fill: url(#sparkFill); stroke: none; opacity: 0; animation: fadein 1s 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-1 { left: -34px; top: 10px; animation-delay: -1s; }
.fc-2 { right: -10px; top: 330px; animation-delay: -3s; }
.fc-3 { left: 30px; bottom: 30px; animation-delay: -2s; }
.fc-ring { display: flex; gap: 12px; align-items: center; }
.mini-ring { width: 46px; height: 46px; }
.mini-ring circle { fill: none; stroke-width: 6; }
.mini-ring .bg { stroke: rgba(255, 255, 255, .1); }
.mini-ring .fg { stroke: var(--emerald); stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: 126; transform: rotate(-90deg); transform-origin: center; animation: ring 2s 1s ease forwards; }
@keyframes ring { to { stroke-dashoffset: 43; } }
.illustrative { position: absolute; right: 0; bottom: -4px; font-size: 11.5px; color: var(--dim-on-dark); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--emerald); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------ marquee */
.marquee-band { padding: 34px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--forest-900); overflow: hidden; }
.marquee-label { text-align: center; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-on-dark); font-weight: 700; margin-bottom: 18px; }
.marquee { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.fw-chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); white-space: nowrap; }
.fw-chip b { font-family: var(--display); font-size: 20px; color: #fff; }
.fw-chip span { font-size: 13px; color: var(--muted-on-dark); }

/* ------------------------------------------------------------ cards */
.card { position: relative; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line-dark); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; overflow: hidden; }
.card:hover { transform: translateY(-4px); border-color: rgba(23, 212, 146, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.card h3 { font-size: 21px; margin: 18px 0 10px; }
.card p { color: var(--muted-on-dark); font-size: 15px; }
.section-light .card, .section-white .card { background: #fff; border-color: var(--line-light); box-shadow: 0 2px 6px rgba(13, 42, 32, .04); }
.section-light .card p, .section-white .card p { color: var(--muted-on-light); }
.section-light .card:hover, .section-white .card:hover { box-shadow: 0 24px 60px rgba(13, 42, 32, .1); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(23, 212, 146, .12); color: var(--emerald); }
.section-light .icon-tile, .section-white .icon-tile { background: var(--mint-100); color: var(--emerald-700); }
.icon-tile svg { width: 24px; height: 24px; }
.card .num { position: absolute; right: 24px; top: 20px; font-family: var(--display); font-size: 54px; font-weight: 700; color: rgba(255, 255, 255, .05); }
.section-light .card .num { color: rgba(13, 42, 32, .06); }

/* pain → promise */
.contrast { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.contrast-col { border-radius: var(--radius); padding: 34px; }
.contrast-col.before { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 255, 255, .14); }
.contrast-col.after { background: linear-gradient(160deg, rgba(23, 212, 146, .16), rgba(23, 212, 146, .03)); border: 1px solid rgba(23, 212, 146, .35); }
.contrast-col h3 { font-size: 20px; margin-bottom: 18px; }
.contrast-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contrast-col li { display: flex; gap: 12px; font-size: 15.5px; color: var(--muted-on-dark); }
.contrast-col li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.contrast-col.before li svg { color: #ff8080; }
.contrast-col.after li { color: #dcefe6; }
.contrast-col.after li svg { color: var(--emerald); }
.contrast-arrow { display: grid; place-items: center; }
.contrast-arrow span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: var(--ink); box-shadow: 0 0 0 10px rgba(23, 212, 146, .1); }
.contrast-arrow svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------ film */
.film-section { background: radial-gradient(60% 80% at 50% 0%, rgba(23, 212, 146, .14), transparent 65%), var(--forest-950); }
.film { position: relative; border-radius: 22px; overflow: hidden; background: #040b08; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-deep), 0 0 120px rgba(23, 212, 146, .12); aspect-ratio: 16 / 9; user-select: none; }
.film-stage { position: absolute; inset: 0; overflow: hidden; }
.film-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.film-scene.is-active { opacity: 1; }
.film-kb { position: absolute; inset: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.film-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-scene.is-active .film-kb { animation: kenburns var(--dur, 12s) ease-out forwards; }
@keyframes kenburns { from { transform: scale(var(--s0, 1.02)) translate(var(--tx0, 0), var(--ty0, 0)); } to { transform: scale(var(--s1, 1.14)) translate(var(--tx1, 0), var(--ty1, 0)); } }
.film-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 8, .15), transparent 30%, transparent 55%, rgba(4, 11, 8, .92)); }
.film-focus { position: absolute; z-index: 2; border: 2px solid var(--emerald); border-radius: 14px; box-shadow: 0 0 0 4000px rgba(4, 11, 8, .35), 0 0 30px rgba(23, 212, 146, .5); opacity: 0; transition: opacity .8s ease .9s; pointer-events: none; }
.film-scene.is-active .film-focus { opacity: 1; animation: focuspulse 2.4s 1.7s ease-in-out infinite; }
@keyframes focuspulse { 50% { box-shadow: 0 0 0 4000px rgba(4, 11, 8, .35), 0 0 50px rgba(23, 212, 146, .8); } }
.film-title-card { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(60% 60% at 50% 50%, rgba(23, 212, 146, .2), transparent 70%), #051009; }
.film-title-card .t-logo { width: 90px; height: 90px; margin: 0 auto 22px; animation: spin-slow 30s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.film-title-card h3 { font-size: clamp(24px, 3.4vw, 48px); color: #fff; max-width: 820px; padding: 0 24px; }
.film-title-card p { color: var(--muted-on-dark); margin-top: 14px; font-size: clamp(13px, 1.2vw, 17px); }
.film-lower { position: absolute; left: 4%; bottom: 17%; z-index: 3; max-width: 60%; }
.film-lower .chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--emerald); color: var(--ink); font-size: clamp(10px, .95vw, 13px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.film-lower h4 { font-size: clamp(18px, 2.4vw, 34px); color: #fff; margin-top: 10px; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.film-scene.is-active .film-lower { animation: rise .8s .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.film-caption { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 5; width: min(86%, 900px); text-align: center; font-size: clamp(13px, 1.35vw, 19px); line-height: 1.45; color: #fff; }
.film-caption span { background: rgba(0, 0, 0, .72); padding: 5px 12px; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.film.captions-off .film-caption { display: none; }
.film-poster { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background-size: cover; background-position: center; cursor: pointer; transition: opacity .5s; }
.film-poster.is-hidden { opacity: 0; pointer-events: none; }
.film-poster-inner { text-align: center; }
.film-big-play { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; background: var(--emerald); color: var(--ink); display: grid; place-items: center; border: 0; cursor: pointer; animation: ping 2.2s infinite; }
.film-big-play svg { width: 34px; height: 34px; margin-left: 5px; }
.film-poster h3 { font-size: clamp(22px, 3vw, 40px); color: #fff; }
.film-poster p { color: #cfe3da; margin-top: 8px; }
.film-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); opacity: 0; transition: opacity .3s; }
.film:hover .film-controls, .film.is-paused .film-controls, .film:focus-within .film-controls { opacity: 1; }
.film-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.film-btn:hover { background: rgba(23, 212, 146, .25); }
.film-btn svg { width: 18px; height: 18px; }
.film-btn.is-on { background: rgba(23, 212, 146, .3); }
.film-progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); display: flex; gap: 3px; cursor: pointer; }
.film-progress span { flex: 1; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.film-progress span i { position: absolute; inset: 0; width: 0; background: var(--emerald); }
.film-progress span.is-done i { width: 100%; }
.film-time { font-size: 12.5px; color: #cfe3da; font-variant-numeric: tabular-nums; min-width: 86px; text-align: right; }
.chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.chapter { text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); color: var(--muted-on-dark); cursor: pointer; font: inherit; font-size: 13.5px; transition: all .2s; }
.chapter b { display: block; font-family: var(--display); color: #fff; font-size: 15px; margin-top: 2px; }
.chapter small { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--emerald); }
.chapter:hover, .chapter.is-active { border-color: rgba(23, 212, 146, .5); background: rgba(23, 212, 146, .07); }
.film-note { font-size: 12.5px; color: var(--dim-on-dark); margin-top: 14px; text-align: center; }
/* film layouts: split, pip, stats, fanout, mosaic (sizes use vw clamps so they scale with the 16:9 frame) */
.film-scene[class*="fl-"] { background: radial-gradient(70% 80% at 70% 30%, rgba(23, 212, 146, .14), transparent 70%), #051009; }
.fl-kicker { display: inline-block; font-size: clamp(9px, .9vw, 12.5px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.fl-split { position: absolute; inset: 0; display: grid; grid-template-columns: 34% 1fr; gap: 3%; align-items: center; padding: 4% 4% 13%; }
.fl-side h4 { font-size: clamp(16px, 2.3vw, 32px); color: #fff; margin: 10px 0 0; }
.fl-rail { list-style: none; margin: clamp(10px, 2.2vw, 30px) 0 0; padding: 0; display: grid; gap: clamp(4px, .8vw, 10px); }
.fl-rail li { display: flex; align-items: center; gap: 12px; font-size: clamp(11px, 1.1vw, 15px); color: rgba(255, 255, 255, .38); font-weight: 600; }
.fl-rail b { width: clamp(20px, 2vw, 28px); height: clamp(20px, 2vw, 28px); border-radius: 50%; display: grid; place-items: center; font-size: .8em; border: 1px solid rgba(255, 255, 255, .2); flex-shrink: 0; }
.fl-rail li.is-done { color: #a9cbbd; }
.fl-rail li.is-done b { background: rgba(23, 212, 146, .18); border-color: rgba(23, 212, 146, .5); color: var(--emerald); }
.fl-rail li.is-now { color: #fff; }
.fl-rail li.is-now b { background: var(--emerald); border-color: var(--emerald); color: var(--ink); }
.film-scene.is-active .fl-rail li.is-now b { animation: ping 2.2s 1s infinite; }
.film-scene.is-active .fl-side > * { animation: rise .7s both; }
.film-scene.is-active .fl-side > :nth-child(2) { animation-delay: .15s; }
.film-scene.is-active .fl-side > :nth-child(3) { animation-delay: .3s; }
.fl-frame { position: relative; aspect-ratio: 16 / 10; align-self: center; border-radius: clamp(8px, 1.2vw, 16px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(23, 212, 146, .12); }
.film-scene .fl-frame img { object-position: left top; }
.film-scene.is-active .fl-frame { animation: slidein .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(6%) scale(.97); } to { opacity: 1; transform: none; } }

.fl-phone { position: absolute; z-index: 3; right: 5%; top: 7%; width: 19%; aspect-ratio: 9 / 19; border-radius: clamp(12px, 2vw, 28px); padding: clamp(3px, .45vw, 6px); background: #0b1612; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 50px rgba(23, 212, 146, .2); overflow: hidden; }
.film-scene .fl-phone img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(9px, 1.6vw, 22px); }
.film-scene.is-active .fl-phone { animation: phonein 1s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes phonein { from { opacity: 0; transform: translateY(18%) rotate(4deg); } to { opacity: 1; transform: none; } }

.fl-stats { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 4% 6% 14%; }
.fl-stats h4 { font-size: clamp(18px, 2.8vw, 40px); color: #fff; margin-top: 10px; }
.fl-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 28px); margin-top: clamp(14px, 3vw, 40px); }
.fl-stat { padding: clamp(10px, 2vw, 28px) clamp(8px, 1.4vw, 20px); border-radius: clamp(10px, 1.4vw, 18px); background: rgba(255, 255, 255, .04); border: 1px solid rgba(23, 212, 146, .25); }
.film-scene.is-active .fl-stat { animation: rise .7s calc(.3s + var(--i) * .18s) both; }
.fl-stat strong { display: block; font-family: var(--display); font-size: clamp(26px, 5vw, 72px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.fl-stat em { display: block; font-style: normal; color: var(--emerald); font-weight: 700; font-size: clamp(11px, 1.3vw, 18px); margin-top: 6px; }
.fl-stat small { display: block; color: var(--muted-on-dark); font-size: clamp(9px, 1vw, 14px); margin-top: 6px; }

.fl-fan { position: absolute; inset: 0; }
.fl-fan-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-fan-lines line { stroke: rgba(23, 212, 146, .55); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.film-scene.is-active .fl-fan-lines line { animation: draw .8s calc(.9s + var(--i) * .22s) ease-out forwards; }
.fl-hub { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; padding: clamp(12px, 2vw, 26px) clamp(16px, 2.8vw, 38px); border-radius: clamp(12px, 1.6vw, 22px); background: #0a1d16; border: 1px solid var(--emerald); box-shadow: 0 0 0 8px rgba(23, 212, 146, .08), 0 0 60px rgba(23, 212, 146, .35); }
.fl-hub strong { display: block; font-family: var(--display); font-size: clamp(20px, 3.4vw, 48px); color: #fff; white-space: nowrap; }
.fl-hub small { display: block; color: var(--muted-on-dark); font-size: clamp(9px, 1vw, 14px); margin-top: 4px; }
.film-scene.is-active .fl-hub { animation: hubin .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hubin { from { opacity: 0; transform: translate(-50%, -50%) scale(.8); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.fl-node { position: absolute; transform: translate(-50%, -50%); min-width: 18%; padding: clamp(6px, 1vw, 12px) clamp(8px, 1.3vw, 16px); border-radius: clamp(8px, 1vw, 12px); background: rgba(10, 24, 19, .95); border: 1px solid rgba(255, 255, 255, .14); text-align: center; opacity: 0; }
.fl-node b { display: block; font-family: var(--display); color: var(--emerald); font-size: clamp(12px, 1.5vw, 20px); }
.fl-node span { display: block; color: #d4e4dc; font-size: clamp(9px, .95vw, 13px); margin-top: 2px; }
.film-scene.is-active .fl-node { animation: nodein .5s calc(1.4s + var(--i) * .22s) both; }
@keyframes nodein { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.fl-mosaic { position: absolute; left: 4%; right: 4%; top: 15%; bottom: 17%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; gap: clamp(5px, 1vw, 14px); }
.fl-mosaic.n4 .fl-tile { grid-column: span 3; }
.fl-mosaic.n5 .fl-tile { grid-column: span 2; }
.fl-mosaic.n5 .fl-tile:nth-child(n+4) { grid-column: span 3; }
.fl-tile { position: relative; margin: 0; border-radius: clamp(6px, 1vw, 14px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); transition: opacity .6s, filter .6s, box-shadow .6s; }
.film-scene .fl-tile img { object-position: center top; filter: brightness(1.12); }
.fl-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18% 8% 5%; background: linear-gradient(0deg, rgba(4, 11, 8, .95), transparent); color: #fff; font-weight: 700; font-size: clamp(9px, 1.05vw, 15px); }
.film-scene.is-active .fl-tile { animation: rise .6s calc(.15s + var(--i) * .12s) both; }
.fl-mosaic.has-active .fl-tile { opacity: .3; filter: grayscale(.8); }
.fl-mosaic.has-active .fl-tile.is-active { opacity: 1; filter: none; z-index: 2; border-color: var(--emerald); box-shadow: 0 0 0 2px var(--emerald), 0 24px 60px rgba(0, 0, 0, .6), 0 0 50px rgba(23, 212, 146, .35); }
.film-scene.is-active .fl-mosaic.has-active .fl-tile.is-active { animation: lift .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lift { from { transform: scale(1); } to { transform: scale(1.06); } }
.fl-mosaic-head { position: absolute; left: 4%; top: 4%; z-index: 3; display: flex; align-items: center; gap: 12px; }
.fl-mosaic-head .chip { padding: 5px 12px; border-radius: 999px; background: var(--emerald); color: var(--ink); font-size: clamp(9px, .9vw, 12.5px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fl-mosaic-head h4 { font-size: clamp(15px, 2.2vw, 30px); color: #fff; }
.film-scene.is-active .fl-mosaic-head { animation: rise .7s .2s both; }
.film.is-pseudo-full .fl-tile img, .film.is-pseudo-full .fl-phone img, .film.is-pseudo-full .fl-frame img { object-fit: cover; background: none; }

/* homepage film features: each extra film in its own section */
.film-feature { position: relative; overflow: hidden; }
.film-feature--trail { background: radial-gradient(55% 70% at 85% 40%, rgba(23, 212, 146, .16), transparent 70%), linear-gradient(180deg, var(--forest-950), var(--forest-900)); border-top: 1px solid var(--line-dark); }
.film-feature--roles { background: linear-gradient(rgba(23, 212, 146, .045) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(23, 212, 146, .045) 1px, transparent 1px) 0 0 / 56px 56px, radial-gradient(60% 60% at 50% 100%, rgba(23, 212, 146, .14), transparent 70%), var(--forest-950); border-top: 1px solid var(--line-dark); }
.film-feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.film-feature-copy .lead { margin-top: 18px; }
.film-feature-stage { position: relative; }
.film-feature-stage .film { transform: perspective(1600px) rotateY(-4deg); transform-origin: left center; transition: transform .6s ease; }
.film-feature-stage:hover .film, .film-feature-stage .film:focus-within, .film-feature-stage .film:not(.is-paused) { transform: none; }
.film-tag { position: absolute; z-index: 9; padding: 14px 18px; border-radius: 16px; background: rgba(8, 22, 17, .92); border: 1px solid rgba(23, 212, 146, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(23, 212, 146, .18); backdrop-filter: blur(8px); pointer-events: none; animation: bob 6s ease-in-out infinite; }
.film-tag small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.film-tag b { display: block; font-family: var(--display); font-size: 24px; color: #fff; margin-top: 2px; }
.film-tag span { display: block; font-size: 12.5px; color: var(--muted-on-dark); }
.film-tag--value { left: -34px; bottom: -30px; }

.trail-steps { list-style: none; margin: 30px 0 0; padding: 0; position: relative; display: grid; gap: 8px; }
.trail-steps::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--emerald), rgba(23, 212, 146, .1)); }
.chapter.trail-step { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 6px; border: 1px solid transparent; background: none; border-radius: 12px; }
.chapter.trail-step b { margin: 0; font-size: 16px; color: #cfe3da; }
.trail-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; position: relative; z-index: 1; background: var(--forest-900); border: 2px solid rgba(23, 212, 146, .5); color: var(--emerald); font-weight: 800; font-size: 13px; transition: all .2s; }
.chapter.trail-step:hover, .chapter.trail-step.is-active { background: rgba(23, 212, 146, .07); border-color: rgba(23, 212, 146, .3); }
.chapter.trail-step.is-active b { color: #fff; }
.chapter.trail-step.is-active .trail-dot { background: var(--emerald); color: var(--ink); box-shadow: 0 0 0 6px rgba(23, 212, 146, .15); }

.role-film { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: stretch; margin-top: 10px; }
.role-film .film { grid-column: 1; grid-row: 1; }
.role-rail { grid-column: 2; grid-row: 1; display: grid; grid-auto-rows: 1fr; gap: 10px; }
.chapter.role-pick { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; }
.chapter.role-pick b { margin: 0; font-size: 15px; }
.chapter.role-pick .icon-tile { width: 38px; height: 38px; flex-shrink: 0; transition: all .2s; }
.chapter.role-pick .icon-tile svg { width: 18px; height: 18px; }
.chapter.role-pick.is-active { box-shadow: inset 3px 0 0 var(--emerald); }
.chapter.role-pick.is-active .icon-tile { background: var(--emerald); color: var(--ink); }
.film-feature .film-rotate-hint { margin-top: 18px; }
@media (max-width: 1080px) {
    .film-feature-grid { grid-template-columns: 1fr; gap: 36px; }
    .film-feature-stage .film { transform: none; }
    .film-tag--value { left: auto; right: 14px; bottom: -26px; }
    .trail-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .trail-steps::before { left: 10%; right: 10%; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--emerald), rgba(23, 212, 146, .15)); }
    .chapter.trail-step { flex-direction: column; gap: 8px; padding: 6px 4px; text-align: center; }
    .chapter.trail-step b { font-size: 13px; }
    .role-film { grid-template-columns: 1fr; }
    .role-rail { grid-column: 1; grid-row: 2; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: auto; }
    .chapter.role-pick { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; }
    .chapter.role-pick b { font-size: 13px; }
    .chapter.role-pick.is-active { box-shadow: inset 0 -3px 0 var(--emerald); }
}
@media (max-width: 560px) {
    .film-tag { display: none; }
    .chapter.trail-step b, .chapter.role-pick b { font-size: 11.5px; }
    .chapter.role-pick .icon-tile { width: 32px; height: 32px; }
    .role-rail { gap: 6px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .chapter.role-pick { grid-column: span 2; flex-direction: column; gap: 6px; padding: 10px 4px; }
    .chapter.role-pick:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 760px) {
    .fl-rail li span { display: none; }
    .fl-rail { display: flex; gap: 6px; }
    .fl-split { grid-template-columns: 30% 1fr; }
    .fl-stat small, .fl-node span, .fl-hub small { display: none; }
    .fl-phone { top: 5%; width: 17%; }
    .fl-split .fl-kicker { display: none; }
    .fl-split { align-items: start; padding-top: 6%; }
    .fl-side h4 { margin-top: 0; }
    .fl-rail b { width: 16px; height: 16px; font-size: 9px; }
    .fl-mosaic { bottom: 22%; }
}
.film-modal { position: fixed; inset: 0; z-index: 300; background: rgba(2, 8, 5, .92); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; }
.film-modal[hidden] { display: none; }
.film-modal .film { width: min(1200px, 100%); }
.film-modal > div { width: min(1200px, 100%); }
.film-modal-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 26px; cursor: pointer; }

/* ------------------------------------------------------------ journey (capture → act) */
.journey { position: relative; }
.journey-step { padding: 70px 0; }
.journey-step + .journey-step { border-top: 1px solid var(--line-dark); }
.step-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-tag b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--emerald); color: var(--ink); font-family: var(--display); font-size: 17px; }
.step-tag span { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; color: #cfe3da; }
.section-light .checks li, .section-white .checks li { color: var(--text-on-light); }
.checks li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(23, 212, 146, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317d492' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { position: relative; margin: 0; }
.shot .browser { transform: perspective(1400px) rotateY(-4deg); transition: transform .6s ease; }
.split.flip .shot .browser { transform: perspective(1400px) rotateY(4deg); }
.shot:hover .browser { transform: perspective(1400px) rotateY(0); }
.shot-caption { font-size: 12.5px; color: var(--dim-on-dark); margin-top: 14px; }
.section-light .shot-caption { color: var(--muted-on-light); }
.shot-glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(23, 212, 146, .3), transparent); filter: blur(40px); z-index: -1; }
.stat-inline { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.stat-inline div b { display: block; font-family: var(--display); font-size: 36px; color: #fff; line-height: 1; }
.section-light .stat-inline div b { color: var(--text-on-light); }
.stat-inline div span { font-size: 13.5px; color: var(--muted-on-dark); }

/* ------------------------------------------------------------ themes grid */
.pillar-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); margin-bottom: 40px; }
.pillar-tabs button { white-space: nowrap; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted-on-light); cursor: pointer; }
.pillar-tabs button.is-active { background: var(--forest-800); color: #fff; }
.theme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.theme { position: relative; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line-light); transition: all .35s ease; overflow: hidden; }
.theme::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 212, 146, .18), transparent); transition: transform .5s; }
.theme:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(13, 42, 32, .12); border-color: var(--mint-200); }
.theme:hover::before { transform: scale(1.6); }
.theme img { width: 46px; height: 46px; }
.theme small { display: block; margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-700); }
.theme h4 { font-size: 18px; margin-top: 4px; color: var(--text-on-light); }
.theme p { font-size: 14px; color: var(--muted-on-light); margin-top: 8px; line-height: 1.5; }
.theme.is-dim { opacity: .25; transform: scale(.98); }

/* ------------------------------------------------------------ live loop ("GIF") */
.loop { position: relative; }
.loop-stage { position: relative; aspect-ratio: 16 / 10; }
.loop-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.loop-stage img.is-active { opacity: 1; }
.cursor { position: absolute; z-index: 4; width: 26px; height: 26px; left: 50%; top: 50%; transition: left 1.2s cubic-bezier(.65, 0, .35, 1), top 1.2s cubic-bezier(.65, 0, .35, 1); pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.cursor::after { content: ''; position: absolute; left: 2px; top: 2px; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--emerald); opacity: 0; }
.cursor.click::after { animation: clickring .7s ease-out; }
@keyframes clickring { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }
.loop-label { position: absolute; z-index: 4; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(7, 18, 14, .88); border: 1px solid rgba(23, 212, 146, .4); font-size: 13px; font-weight: 700; color: #fff; }
.loop-label i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b5b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.loop-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.loop-tabs button { border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: var(--muted-on-dark); padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; position: relative; overflow: hidden; }
.loop-tabs button.is-active { color: #fff; border-color: rgba(23, 212, 146, .5); }
.loop-tabs button.is-active::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--emerald); animation: tabprogress var(--loop-ms, 5000ms) linear forwards; }
@keyframes tabprogress { from { width: 0; } to { width: 100%; } }

/* ------------------------------------------------------------ AI */
.ai-panel { position: relative; border-radius: 22px; padding: 30px; background: linear-gradient(160deg, #0f2a22, #0a1a15); border: 1px solid rgba(23, 212, 146, .25); box-shadow: var(--shadow-glow); overflow: hidden; }
.ai-panel::before { content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--emerald) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rotateang 6s linear infinite; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateang { to { --ang: 360deg; } }
.ai-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.score-ring { width: 92px; height: 92px; position: relative; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 9; }
.score-ring .bg { stroke: rgba(255, 255, 255, .08); }
.score-ring .fg { stroke: url(#aiGrad); stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 2s ease; }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 26px; color: #fff; }
.ai-head h4 { font-size: 18px; color: #fff; }
.ai-head span { font-size: 13px; color: var(--muted-on-dark); }
.ai-bars { display: grid; gap: 10px; margin-bottom: 22px; }
.ai-bar { display: grid; grid-template-columns: 110px 1fr 40px; gap: 12px; align-items: center; font-size: 13px; color: var(--muted-on-dark); }
.ai-bar .track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ai-bar .track i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--emerald-700), var(--emerald)); transition: width 1.6s ease; }
.ai-bar b { color: #fff; text-align: right; font-family: var(--display); }
.ai-doc { border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-dark); padding: 18px; font-size: 14.5px; color: #d8ebe2; min-height: 150px; line-height: 1.7; }
.ai-doc .ai-doc-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); margin-bottom: 10px; }
.ai-doc .ai-doc-head svg { width: 14px; height: 14px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--emerald); vertical-align: text-bottom; animation: blink 1s infinite; }
.ai-foot { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ai-foot span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(23, 212, 146, .1); color: #bfe9d6; font-weight: 600; }

/* ------------------------------------------------------------ trust strip */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.trust-item { padding: 30px; background: var(--forest-900); }
.trust-item svg { width: 26px; height: 26px; color: var(--emerald); }
.trust-item h4 { font-size: 17px; margin: 16px 0 8px; }
.trust-item p { font-size: 14px; color: var(--muted-on-dark); }

/* ------------------------------------------------------------ readiness check */
.quiz { border-radius: 24px; background: #fff; border: 1px solid var(--line-light); box-shadow: 0 30px 80px rgba(13, 42, 32, .12); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; }
.quiz-side { padding: 44px; background: linear-gradient(160deg, var(--forest-800), var(--forest-950)); color: var(--text-on-dark); position: relative; overflow: hidden; }
.quiz-side .h-md { color: #fff; }
.quiz-side p { color: var(--muted-on-dark); margin-top: 14px; }
.quiz-steps { display: flex; gap: 6px; margin-top: 30px; }
.quiz-steps i { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .12); transition: background .3s; }
.quiz-steps i.is-done { background: var(--emerald); }
.quiz-main { padding: 44px; color: var(--text-on-light); min-height: 460px; display: flex; flex-direction: column; }
.quiz-q small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-700); }
.quiz-q h3 { font-size: 24px; margin: 10px 0 22px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line-light); background: var(--mint-50); font: inherit; font-size: 15px; color: var(--text-on-light); cursor: pointer; transition: all .2s; }
.quiz-opt:hover { border-color: var(--emerald); background: #fff; transform: translateX(4px); }
.quiz-result { text-align: left; }
.quiz-level { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint-100); color: var(--emerald-700); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.quiz-meter { height: 12px; border-radius: 12px; background: var(--mint-100); margin: 22px 0; overflow: hidden; }
.quiz-meter i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--emerald-700), var(--emerald)); transition: width 1.2s ease; }
.quiz-result ul { padding-left: 20px; color: var(--muted-on-light); margin: 16px 0 24px; }
.quiz-result li { margin-bottom: 6px; }
.quiz-back { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--muted-on-light); background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }

/* ------------------------------------------------------------ industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry { position: relative; padding: 26px; border-radius: 18px; min-height: 210px; overflow: hidden; background: linear-gradient(170deg, var(--forest-700), var(--forest-900)); border: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s; }
.industry:hover { transform: translateY(-4px); }
.industry svg.bg-ico { position: absolute; right: -14px; top: -14px; width: 130px; height: 130px; color: rgba(23, 212, 146, .09); transition: transform .6s, color .6s; }
.industry:hover svg.bg-ico { transform: rotate(-8deg) scale(1.1); color: rgba(23, 212, 146, .18); }
.industry h4 { font-size: 19px; }
.industry p { font-size: 14px; color: var(--muted-on-dark); margin-top: 8px; }

/* ------------------------------------------------------------ numbers band */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.number { padding: 28px; border-left: 2px solid var(--emerald); }
.number b { display: block; font-family: var(--display); font-size: clamp(40px, 4.5vw, 60px); line-height: 1; color: #fff; }
.section-light .number b { color: var(--text-on-light); }
.number span { display: block; margin-top: 10px; color: var(--muted-on-dark); font-size: 15px; }
.section-light .number span { color: var(--muted-on-light); }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; border-radius: 30px; padding: 80px 60px; overflow: hidden; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(23, 212, 146, .35), transparent 60%), linear-gradient(160deg, var(--forest-700), var(--forest-950)); border: 1px solid rgba(23, 212, 146, .25); }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.cta-band > *:not(canvas) { position: relative; }
.cta-band .hero-ctas { justify-content: center; }

/* ------------------------------------------------------------ page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; background: radial-gradient(60% 80% at 85% 10%, rgba(23, 212, 146, .18), transparent 60%), var(--forest-950); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 900px; }
.crumbs { font-size: 13.5px; color: var(--dim-on-dark); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.hero-art { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; opacity: .55; pointer-events: none; }

.subnav { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(7, 18, 14, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 16px 16px; font-size: 14px; font-weight: 600; color: var(--muted-on-dark); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: #fff; }
.subnav a.is-active { color: #fff; border-bottom-color: var(--emerald); }

.feature-block { padding: 110px 0; }
.feature-block + .feature-block { border-top: 1px solid var(--line-dark); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 56px; }
.feature-item h4 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.feature-item h4::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--emerald); transform: rotate(45deg); }
.feature-item p { color: var(--muted-on-dark); font-size: 15px; margin-top: 10px; }
.section-light .feature-item p { color: var(--muted-on-light); }
.watch-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 700; color: var(--emerald); background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.watch-link span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; }
.watch-link svg { width: 12px; height: 12px; margin-left: 2px; }
.section-light .watch-link { color: var(--emerald-700); }

/* framework cards */
.fw-card { padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 14px; transition: all .3s; }
.fw-card:hover { box-shadow: 0 30px 70px rgba(13, 42, 32, .12); transform: translateY(-4px); }
.fw-card .fw-top { display: flex; align-items: center; justify-content: space-between; }
.fw-mark { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--text-on-light); }
.fw-card .who { font-size: 13px; font-weight: 700; color: var(--emerald-700); text-transform: uppercase; letter-spacing: .1em; }
.fw-card p { color: var(--muted-on-light); font-size: 15px; }
.fw-card ul { margin: 0; padding-left: 18px; color: var(--text-on-light); font-size: 14.5px; }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint-100); color: var(--emerald-700); }
.navigator { border-radius: 24px; padding: 40px; background: var(--forest-900); border: 1px solid var(--line-dark); }
.nav-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.nav-opt { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line-dark); cursor: pointer; font-size: 14.5px; color: #d4e4dc; transition: all .2s; }
.nav-opt input { margin-top: 3px; accent-color: var(--emerald); width: 17px; height: 17px; }
.nav-opt:has(input:checked) { border-color: var(--emerald); background: rgba(23, 212, 146, .08); }
.nav-result { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; min-height: 48px; align-items: center; }
.nav-result .fw-pill { padding: 10px 18px; border-radius: 12px; background: var(--emerald); color: var(--ink); font-weight: 800; font-family: var(--display); animation: popin .35s ease; }
@keyframes popin { from { transform: scale(.6); opacity: 0; } }

/* role tabs */
.role-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.role-tabs button { border: 1px solid var(--line-light); background: #fff; color: var(--muted-on-light); padding: 12px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.role-tabs button.is-active { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.role-panel { display: none; }
.role-panel.is-active { display: grid; animation: rise .5s ease; }

/* forms */
.form-card { padding: 40px; border-radius: 24px; background: #fff; color: var(--text-on-light); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line-light); background: var(--mint-50); color: var(--text-on-light); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-600); box-shadow: 0 0 0 4px rgba(23, 212, 146, .15); background: #fff; }
.consent { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted-on-light); }
.consent input { margin-top: 4px; accent-color: var(--emerald-700); }
.hp { position: absolute; left: -10000px; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin-bottom: 20px; }
.alert-ok { background: var(--mint-100); color: var(--emerald-700); }
.alert-err { background: #fdecec; color: #a12626; }
.contact-points { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.contact-points div { display: flex; gap: 14px; }
.contact-points svg { width: 22px; height: 22px; color: var(--emerald); flex-shrink: 0; margin-top: 3px; }
.contact-points b { display: block; color: #fff; }
.contact-points span { color: var(--muted-on-dark); font-size: 15px; }

/* prose (privacy) */
.prose { max-width: 780px; color: var(--text-on-light); }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--muted-on-light); font-size: 16px; margin-bottom: 12px; }
.prose a { color: var(--emerald-700); text-decoration: underline; }

/* ------------------------------------------------------------ footer */
.footer { padding: 90px 0 36px; background: var(--ink); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer p { color: var(--muted-on-dark); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer h5 { font-family: var(--display); font-size: 14px; color: #fff; margin: 0 0 16px; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--muted-on-dark); }
.footer ul a:hover { color: var(--emerald); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--dim-on-dark); }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { flex-basis: 100%; margin: 4px 0 0; font-size: 12px; line-height: 1.55; color: var(--dim-on-dark); opacity: .8; max-width: 900px; }
.footer-news { display: flex; gap: 8px; margin-top: 22px; max-width: 340px; }
.footer-news .btn { height: 44px; }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
    .hero-grid, .split, .quiz { grid-template-columns: 1fr; }
    .split.flip > :first-child { order: 0; }
    .hero-visual { height: 520px; margin-top: 20px; }
    .grid-4, .theme-grid, .industry-grid, .trust-grid, .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .feature-list, .grid-3, .nav-options { grid-template-columns: 1fr 1fr; }
    .contrast { grid-template-columns: 1fr; }
    .contrast-arrow { transform: rotate(90deg); }
}
@media (max-width: 920px) {
    .nav-links, .nav-signin { display: none; }
    .burger { display: grid; }
    .nav.is-open { background: var(--forest-950); }
    .nav.is-open .nav-links { display: flex; position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; padding: 20px 24px 40px; background: var(--forest-950); overflow-y: auto; gap: 2px; }
    .nav.is-open .nav-links > li > a, .nav.is-open .nav-links > li > button { width: 100%; padding: 16px 8px; font-size: 18px; justify-content: space-between; }
    .nav.is-open .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; box-shadow: none; background: transparent; border: 0; padding: 0 0 10px; }
    .nav.is-open li.is-open .mega { display: grid; }
    .nav-right .btn-ghost { display: none; }
}
@media (max-width: 640px) {
    .section { padding: 84px 0; }
    .wrap { width: calc(100% - 32px); }
    .hero { padding-top: calc(var(--nav-h) + 40px); }
    .hero-visual { height: 380px; }
    .globe-canvas { width: 480px; height: 480px; right: -160px; }
    .float-card { min-width: 150px; padding: 10px 12px; }
    .float-card .v { font-size: 20px; }
    .fc-2 { top: 230px; }
    .fc-1 { left: -8px; }
    .fc-3 { display: none; }
    .grid-4, .theme-grid, .industry-grid, .trust-grid, .numbers, .grid-3, .grid-2, .feature-list, .nav-options, .form-grid { grid-template-columns: 1fr; }
    .chapters { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quiz-side, .quiz-main, .form-card, .navigator { padding: 26px; }
    .cta-band { padding: 56px 22px; }
    .film { border-radius: 14px; }
    .film-caption { bottom: 58px; }
    .film-lower { display: none; }
    .film-time { display: none; }
    .nav-right .btn-primary { height: 40px; padding: 0 14px; font-size: 13px; }
    .pillar-tabs { display: flex; overflow-x: auto; max-width: 100%; }
}

@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; transform: none; }
}
.cta-band .lead { margin-left: auto; margin-right: auto; }
/* The CTA band is always dark, whatever section it sits in. */
.cta-band, .cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--muted-on-dark) !important; }
.cta-band .eyebrow { color: var(--emerald) !important; }
.cta-band .grad-text { background: linear-gradient(95deg, #fff 10%, var(--emerald) 60%, var(--sky)); -webkit-background-clip: text; background-clip: text; }

/* ================================================================ mobile hardening */
/* backdrop-filter makes the header the containing block for position:fixed
   children, which squashed the open mobile menu into the 76px header once
   the page was scrolled. Never blur while the menu is open. */
.nav.is-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav-mobile-cta { display: none; }
.hero { min-height: 100vh; min-height: 100svh; }
.film.show-controls .film-controls { opacity: 1; }
.film.is-pseudo-full { position: fixed !important; inset: 0; z-index: 400; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
.film.is-pseudo-full .film-scene img { object-fit: contain; background: #040b08; }
@media (max-width: 920px) {
    .nav.is-open .nav-links { top: var(--nav-h); bottom: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
    .nav.is-open .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
    .nav.is-open .nav-mobile-cta .btn { width: 100%; justify-content: center; font-size: 16px; }
    .nav.is-open .mega a { padding: 12px 8px; }
    .nav.is-open .mega-foot { display: none; }
}
@media (max-width: 640px) {
    .field input, .field select, .field textarea { font-size: 16px; } /* stops iOS zoom-on-focus */
    .film-controls { gap: 6px; padding: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
    .film-btn { width: 36px; height: 36px; }
    .film-controls [data-a="prev"], .film-controls [data-a="next"] { display: none; }
    .film-caption { bottom: 54px; width: 92%; }
    .film-big-play { width: 72px; height: 72px; }
    .film-poster h3 { font-size: 20px; padding: 0 16px; }
    .film-poster p { font-size: 13px; }
    .film-modal { padding: 12px; }
    .film-modal-close { top: 10px; right: 10px; }
    .hero h1 { font-size: clamp(38px, 11vw, 52px); }
    .hero-ctas .btn { width: 100%; }
    .hero-proof { gap: 10px 18px; }
    .float-card .k { font-size: 9.5px; }
    .float-card svg.spark { width: 120px; }
    .split, .hero-grid { gap: 36px; }
    .feature-block { padding: 72px 0; }
    .journey-step { padding: 48px 0; }
    .sec-head { margin-bottom: 40px; }
    .contrast-col, .card { padding: 24px; }
    .loop-label { left: 10px; bottom: 10px; font-size: 12px; }
    .ai-panel { padding: 20px; }
    .ai-bar { grid-template-columns: 92px 1fr 32px; }
    .subnav a { padding: 14px 12px; font-size: 13.5px; }
    .footer-bottom { flex-direction: column; }
    .page-hero { padding-top: calc(var(--nav-h) + 50px); padding-bottom: 64px; }
    .hero-art { width: 340px; height: 340px; right: -140px; opacity: .35; }
    .quiz-main { min-height: 0; }
    .contact-points { margin-top: 26px; }
}
@media (max-width: 920px) {
    .nav.is-open .nav-links > li.nav-mobile-cta > .btn { height: 52px; padding: 0 24px; justify-content: center; font-size: 16px; border-radius: 999px; }
    .nav.is-open .nav-links > li.nav-mobile-cta > .btn-primary { color: var(--ink); }
}
@media (max-width: 920px) {
    .nav.is-open .nav-links > li.nav-mobile-cta > .btn-primary { background: var(--emerald); color: var(--ink); }
    .nav.is-open .nav-links > li.nav-mobile-cta > .btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
}
.film-rotate-hint { display: none; }
@media (max-width: 640px) {
    .film-title-card .t-logo { width: 44px; height: 44px; margin-bottom: 8px; }
    .film-title-card h3 { font-size: 17px; padding: 0 14px; }
    .film-title-card p { display: none; }
    .film-caption { font-size: 12px; line-height: 1.35; bottom: 50px; }
    .film-caption span { padding: 3px 8px; }
    .film-focus { border-width: 1.5px; border-radius: 8px; }
}
@media (max-width: 640px) and (orientation: portrait) {
    .film-rotate-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted-on-dark); text-align: center; }
    .film-rotate-hint svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; }
    .film-modal { align-content: center; }
}
@media (max-width: 640px) {
    .film-title-card > div { transform: translateY(-22%); }
}
/* ------------------------------------------------------------ team credentials (company page) */
.creds { background: radial-gradient(50% 60% at 100% 0%, rgba(23, 212, 146, .12), transparent 70%), var(--mint-50); }
.creds-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.creds-head .lead { margin-top: 16px; }
.creds-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.creds-stats div { padding: 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line-light); }
.creds-stats b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--emerald-700); }
.creds-stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted-on-light); line-height: 1.35; }

.creds-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; margin-top: 48px; align-items: start; }
.cred-type { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-700); }
.cred-code { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted-on-light); }
.cred-theme { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--mint-100); color: var(--emerald-700); font-size: 11.5px; font-weight: 700; }
.cred-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 12.5px; color: var(--muted-on-light); }
.cred-logo { display: inline-grid; place-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line-light); }
.cred-logo img { height: 40px; width: auto; display: block; }
.cred-logo--solid { padding: 0; border: 0; background: none; }
.cred-logo--solid img { height: 54px; border-radius: 6px; }
.cred-verified { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted-on-light); }
.cred-verified img { height: 22px; width: auto; }

/* the programme certificate: a dark "diploma" with its courses as stacked stubs */
.cred-programme { position: relative; padding: 30px; border-radius: 24px; color: var(--text-on-dark); background: radial-gradient(80% 60% at 100% 0%, rgba(23, 212, 146, .22), transparent 60%), linear-gradient(160deg, var(--forest-800), var(--forest-950)); box-shadow: 0 40px 90px rgba(13, 42, 32, .28); overflow: hidden; }
.cred-programme::before { content: ''; position: absolute; inset: 10px; border-radius: 18px; border: 1px dashed rgba(23, 212, 146, .25); pointer-events: none; }
.cred-programme-top { display: flex; justify-content: space-between; align-items: center; }
.cred-seal { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 0deg, var(--emerald), var(--emerald-400), var(--emerald-600), var(--emerald)); color: var(--ink); box-shadow: 0 0 0 6px rgba(23, 212, 146, .15), 0 0 40px rgba(23, 212, 146, .4); }
.cred-seal svg { width: 26px; height: 26px; stroke-width: 3; }
.cred-programme .cred-type { color: var(--emerald); margin-top: 26px; }
.cred-programme h3 { font-size: clamp(30px, 3.4vw, 44px); color: #fff; margin-top: 6px; }
.cred-programme .cred-meta { margin: 8px 0 0; color: var(--muted-on-dark); font-size: 14px; }
.cred-stack { list-style: none; margin: 26px 0 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 12px; }
.cred-stack::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 26px; width: 2px; background: linear-gradient(180deg, var(--emerald), rgba(23, 212, 146, .2)); }
.cred-stack li { position: relative; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s, border-color .25s; }
.cred-stack li::before { content: ''; position: absolute; left: -20px; top: 22px; width: 12px; height: 2px; background: var(--emerald); }
.cred-stack li:hover { transform: translateX(4px); border-color: rgba(23, 212, 146, .5); }
.cred-stack b { display: block; color: #fff; font-size: 16px; margin-top: 2px; }
.cred-programme .cred-code { color: var(--emerald-400); }
.cred-programme .cred-foot { color: var(--muted-on-dark); }
.cred-programme .cred-theme { background: rgba(23, 212, 146, .14); color: var(--emerald-400); }
.cred-programme .cred-verified { color: var(--muted-on-dark); }
.cred-programme .cred-verified img { background: #fff; padding: 3px 6px; border-radius: 6px; height: 26px; }
.creds.is-ready .cred-stack li, .cred-programme.is-in .cred-stack li { animation: rise .6s calc(.3s + var(--i) * .15s) both; }

.creds-side { display: grid; gap: 24px; }
.cred-track { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line-light); box-shadow: 0 2px 6px rgba(13, 42, 32, .04); }
.cred-track-head { display: flex; align-items: center; gap: 16px; }
.cred-track-head h3 { font-size: 22px; margin-top: 4px; color: var(--text-on-light); }
.cred-list { list-style: none; margin: 18px 0 0; padding: 0; }
.cred-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-light); }
.cred-list b { display: block; color: var(--text-on-light); font-size: 15.5px; line-height: 1.35; }
.cred-tick { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--emerald); color: #fff; margin-top: 1px; }
.cred-tick svg { width: 14px; height: 14px; stroke-width: 3; }

/* single course as a ticket stub with a perforated edge */
.cred-ticket { position: relative; display: flex; align-items: center; gap: 20px; padding: 20px 24px 20px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line-light); }
.cred-ticket::before, .cred-ticket::after { content: ''; position: absolute; left: 196px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-50); border: 1px solid var(--line-light); }
.cred-ticket::before { top: -12px; }
.cred-ticket::after { bottom: -12px; }
.cred-ticket .cred-logo { width: 170px; flex-shrink: 0; border-style: dashed; }
.cred-ticket b { display: block; color: var(--text-on-light); font-size: 16px; margin-top: 4px; }

/* timeline ribbon */
.creds-timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.creds-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--emerald-700), var(--emerald), var(--mint-200)); }
.creds-timeline li { position: relative; padding-right: 10px; }
.creds-timeline .dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--emerald-600); position: relative; }
.creds-timeline li:nth-child(3) .dot { background: var(--emerald); box-shadow: 0 0 0 5px rgba(23, 212, 146, .2); }
.creds-timeline small { display: block; margin-top: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-700); }
.creds-timeline b { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-on-light); line-height: 1.35; }
.creds-timeline.is-in li { animation: rise .5s calc(var(--i) * .08s) both; }
.creds-note { margin: 34px 0 0; font-size: 12.5px; color: var(--muted-on-light); max-width: 860px; }

@media (max-width: 980px) {
    .creds-head, .creds-board { grid-template-columns: 1fr; }
    .creds-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
    .creds-timeline::before { display: none; }
}
@media (max-width: 560px) {
    .creds-stats b { font-size: 30px; }
    .cred-programme, .cred-track { padding: 22px 18px; }
    .cred-track-head { flex-direction: column; align-items: flex-start; }
    .cred-ticket { flex-direction: column; align-items: flex-start; }
    .cred-ticket::before, .cred-ticket::after { display: none; }
    .creds-timeline { grid-template-columns: 1fr 1fr; }
}
