:root {
    --navy-950: #020713;
    --navy-900: #041026;
    --navy-850: #071831;
    --navy-800: #0b2345;
    --blue: #167cff;
    --blue-2: #0d5fd8;
    --cyan: #18d9ff;
    --cyan-soft: #70e9ff;
    --gold: #f2b84b;
    --white: #ffffff;
    --ink: #091629;
    --muted: #66758b;
    --line: #dce6f2;
    --surface: #f7fbff;
    --shadow: 0 24px 70px rgba(4, 16, 38, 0.14);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--navy-950);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    padding: 10px 14px;
    color: var(--navy-950);
    background: var(--cyan);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.site-shell {
    overflow: clip;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid rgba(112, 233, 255, .13);
    background: rgba(2, 7, 19, .78);
    backdrop-filter: blur(20px);
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(2, 7, 19, .95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

.brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 18px rgba(24, 217, 255, .28));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 1.28rem;
    letter-spacing: -.035em;
}

.brand-copy strong span {
    color: var(--cyan);
}

.brand-copy small {
    margin-top: 7px;
    color: var(--cyan-soft);
    font-size: .63rem;
    letter-spacing: .48em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.primary-nav a {
    position: relative;
    color: rgba(255, 255, 255, .76);
    font-size: .91rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -11px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
    color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: 12px 18px;
    color: var(--navy-950) !important;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), #69ecff);
    box-shadow: 0 12px 30px rgba(24, 217, 255, .17);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 5px auto;
    background: var(--white);
    transition: transform .2s ease, opacity .2s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 154px 0 56px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 22%, rgba(22, 124, 255, .18), transparent 35%),
        radial-gradient(circle at 18% 75%, rgba(24, 217, 255, .10), transparent 28%),
        linear-gradient(145deg, #020713 0%, #04142c 52%, #031024 100%);
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -4;
    opacity: .26;
    background-image:
        linear-gradient(rgba(24, 217, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 217, 255, .12) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 96%);
}

.hero-orb {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    filter: blur(6px);
    pointer-events: none;
}

.hero-orb-one {
    width: 460px;
    height: 460px;
    top: 70px;
    right: -140px;
    border: 1px solid rgba(24, 217, 255, .2);
    box-shadow: inset 0 0 120px rgba(22, 124, 255, .12), 0 0 90px rgba(24, 217, 255, .08);
}

.hero-orb-two {
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: 90px;
    background: rgba(242, 184, 75, .08);
    box-shadow: 0 0 80px rgba(242, 184, 75, .12);
}

.hero-side-art {
    position: absolute;
    top: 120px;
    bottom: 72px;
    z-index: -2;
    width: min(24vw, 320px);
    border: 1px solid rgba(24, 217, 255, .14);
    border-radius: 30px;
    background-color: rgba(2, 7, 19, .34);
    background-size: cover;
    background-position: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .18), inset 0 0 40px rgba(24, 217, 255, .06);
    filter: saturate(1.03) brightness(.78) contrast(1.04);
    opacity: .18;
    overflow: hidden;
    pointer-events: none;
}

.hero-side-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 7, 19, .14), rgba(2, 7, 19, .62));
}

.hero-side-art::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(24, 217, 255, .14);
    border-radius: 24px;
}

.hero-side-art-left {
    left: -88px;
    background-image: url("../images/hero-side-tech-left.png");
    background-position: 46% center;
}

.hero-side-art-right {
    right: -88px;
    background-image: url("../images/hero-side-tech-right.png");
    background-position: 58% center;
}

.circuit {
    position: absolute;
    z-index: -1;
    width: 170px;
    opacity: .52;
}

.circuit i {
    position: relative;
    height: 1px;
    display: block;
    margin: 15px 0;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.circuit i::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
    transform: translateY(-50%);
}

.circuit-left {
    top: 24%;
    left: 0;
}

.circuit-right {
    top: 58%;
    right: 0;
    transform: scaleX(-1);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr);
    align-items: center;
    gap: 58px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan-soft);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 28px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(24, 217, 255, .75);
}

.hero h1 {
    max-width: 780px;
    margin: 24px 0 24px;
    font-size: clamp(3.6rem, 6.2vw, 6.35rem);
    line-height: .92;
    letter-spacing: -.065em;
}

.hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #f9fbff 2%, var(--cyan) 52%, #4594ff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 42px rgba(24, 217, 255, .08);
}

.hero-lead {
    max-width: 670px;
    margin: 0;
    color: rgba(232, 241, 255, .74);
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #001128;
    background: linear-gradient(135deg, var(--cyan), #62eaff 50%, #60abff);
    box-shadow: 0 18px 34px rgba(24, 217, 255, .18);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 22px 44px rgba(24, 217, 255, .26);
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
}

.text-link {
    color: var(--cyan-soft);
    font-size: .94rem;
    font-weight: 800;
    text-underline-offset: 5px;
}

.hero-promise {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
}

.promise-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 217, 255, .2);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(24, 217, 255, .07);
}

.hero-promise div {
    display: flex;
    flex-direction: column;
}

.hero-promise strong {
    font-size: .94rem;
}

.hero-promise span:last-child {
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
}

.hero-visual {
    position: relative;
    min-height: 650px;
}

.visual-label {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 10;
    padding: 8px 12px;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 8px;
    color: var(--cyan-soft);
    background: rgba(2, 7, 19, .75);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.ecosystem-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 36px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .06), transparent 38%),
        rgba(3, 14, 33, .72);
    box-shadow: inset 0 0 60px rgba(22, 124, 255, .06), 0 32px 80px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.ecosystem-stage::before,
.ecosystem-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.ecosystem-stage::before {
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 26px;
}

.ecosystem-stage::after {
    width: 230px;
    height: 230px;
    top: -100px;
    right: -80px;
    border-radius: 50%;
    background: rgba(24, 217, 255, .08);
    box-shadow: 0 0 80px rgba(24, 217, 255, .12);
}

.connection-map {
    position: absolute;
    inset: 30px 10px 50px;
    width: calc(100% - 20px);
    height: calc(100% - 80px);
}

.orbit {
    fill: none;
    stroke: rgba(24, 217, 255, .13);
    stroke-width: 1.3;
    stroke-dasharray: 8 13;
    transform-origin: center;
}

.orbit-one {
    animation: orbit-spin 34s linear infinite;
}

.orbit-two {
    animation: orbit-spin-reverse 24s linear infinite;
}

.map-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 7 8;
    animation: line-flow 7s linear infinite;
    filter: drop-shadow(0 0 8px rgba(24, 217, 255, .34));
}

.map-line-soft {
    opacity: .34;
    stroke-width: 1.4;
}

.map-node,
.venture-tag {
    position: absolute;
    z-index: 4;
    color: var(--white);
    border: 1px solid rgba(24, 217, 255, .22);
    background: rgba(4, 16, 38, .9);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .27), inset 0 0 28px rgba(22, 124, 255, .05);
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.map-node:hover,
.map-node:focus-visible,
.map-node.is-active,
.venture-tag:hover,
.venture-tag:focus-visible,
.venture-tag.is-active {
    z-index: 8;
    border-color: var(--cyan);
    background: rgba(7, 31, 67, .98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 0 30px rgba(24, 217, 255, .16);
    transform: translateY(-4px);
}

.map-node {
    min-width: 126px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 23px;
}

.map-node-centre {
    top: 50%;
    left: 50%;
    min-width: 176px;
    min-height: 176px;
    border: 1px solid rgba(24, 217, 255, .48);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 124, 255, .28), rgba(3, 14, 33, .94) 67%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 55px rgba(24, 217, 255, .17), inset 0 0 45px rgba(24, 217, 255, .08);
}

.map-node-centre:hover,
.map-node-centre:focus-visible,
.map-node-centre.is-active {
    transform: translate(-50%, calc(-50% - 4px));
}

.node-pulse {
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 50%;
    animation: pulse-ring 2.8s ease-out infinite;
}

.map-node strong {
    font-size: 1rem;
}

.map-node-centre strong {
    font-size: 1.45rem;
    letter-spacing: -.04em;
}

.map-node small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .58);
    font-size: .7rem;
}

.node-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    border-radius: 50%;
    color: #001229;
    background: var(--cyan);
    font-size: .69rem;
    font-weight: 900;
}

.map-node-institute {
    top: 12%;
    left: 7%;
}

.map-node-innovations {
    top: 12%;
    right: 6%;
}

.map-node-impact {
    right: 50%;
    bottom: 8%;
    transform: translateX(50%);
}

.map-node-impact:hover,
.map-node-impact:focus-visible,
.map-node-impact.is-active {
    transform: translate(50%, -4px);
}

.venture-tag {
    padding: 8px 11px;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 800;
}

.tag-maths { top: 35%; left: 4%; }
.tag-welearn { top: 52%; left: 2%; }
.tag-gado { top: 36%; right: 3%; }
.tag-classlink { top: 54%; right: 2%; }
.tag-think { bottom: 13%; left: 8%; }
.tag-harmony { right: 8%; bottom: 13%; }

.map-status {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 12;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    color: rgba(255, 255, 255, .72);
    background: rgba(1, 8, 19, .75);
    font-size: .78rem;
    backdrop-filter: blur(10px);
}

.map-status span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

.hero-footnote {
    margin-top: 42px;
}

.hero-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24, 217, 255, .42), transparent);
}

.hero-footnote p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .52);
    text-align: center;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-footnote strong {
    color: var(--cyan-soft);
}

.section {
    position: relative;
    padding: 112px 0;
}

.section-light {
    color: var(--ink);
    background: var(--surface);
}

.section-dark {
    color: var(--white);
    background: linear-gradient(145deg, #031025, #071b38 58%, #03112a);
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading-left {
    margin-inline: 0;
    text-align: left;
}

.section-kicker {
    color: var(--blue-2);
}

.section-dark .section-kicker,
.path-panel .section-kicker,
.contact-section .section-kicker {
    color: var(--cyan-soft);
}

.section-heading h2,
.split-heading h2,
.path-copy h2,
.contact-copy h2 {
    margin: 15px 0 18px;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.section-heading p,
.split-heading p,
.path-copy p,
.contact-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-dark .split-heading p,
.path-copy p,
.contact-copy p {
    color: rgba(235, 244, 255, .66);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid #dbe8f5;
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 50px rgba(7, 33, 68, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pillar-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(22, 124, 255, .07);
    transition: transform .25s ease;
}

.pillar-card:hover {
    border-color: rgba(22, 124, 255, .34);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.pillar-card:hover::after {
    transform: scale(1.18);
}

.pillar-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #c9d8e8;
    font-size: 2.3rem;
    font-weight: 900;
}

.pillar-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 62px;
    border-radius: 20px;
    background: #edf6ff;
}

.pillar-icon svg {
    width: 34px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar-card > span {
    color: var(--blue-2);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pillar-card h3 {
    margin: 11px 0 14px;
    font-size: 1.75rem;
    letter-spacing: -.035em;
}

.pillar-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.pillar-card a {
    position: relative;
    z-index: 2;
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
}

.pillar-card a span {
    color: var(--blue);
}

.pillar-impact .pillar-icon {
    background: #fff8e8;
}

.pillar-impact .pillar-icon svg {
    stroke: #c98a11;
}

.pillar-impact > span {
    color: #a66c02;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 60px;
}

.section-network {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        radial-gradient(circle at 10% 30%, rgba(24, 217, 255, .45) 1px, transparent 2px),
        radial-gradient(circle at 90% 70%, rgba(22, 124, 255, .45) 1px, transparent 2px);
    background-size: 42px 42px, 62px 62px;
    mask-image: linear-gradient(to right, black, transparent 48%, black);
}

.pipeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.pipeline::before {
    content: "";
    position: absolute;
    top: 58px;
    right: 8%;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--gold));
    box-shadow: 0 0 16px rgba(24, 217, 255, .42);
}

.pipeline-step {
    position: relative;
    z-index: 2;
    min-height: 320px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(8px);
}

.step-marker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--cyan-soft);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.step-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 40px;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 50%;
    color: var(--cyan);
    background: #051832;
    box-shadow: 0 0 25px rgba(24, 217, 255, .1);
    font-size: 1.2rem;
    font-weight: 900;
}

.pipeline-step h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
}

.pipeline-step p {
    margin: 0;
    color: rgba(235, 244, 255, .58);
    font-size: .89rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.venture-card {
    min-height: 280px;
    padding: 28px;
    border: 1px solid #dce8f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(4, 25, 53, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.venture-card:hover {
    border-color: rgba(22, 124, 255, .35);
    box-shadow: 0 25px 62px rgba(4, 25, 53, .10);
    transform: translateY(-6px);
}

.venture-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 36px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
}

.venture-code {
    min-width: 48px;
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 12px;
    color: var(--blue-2);
    background: #edf6ff;
    font-weight: 900;
}

.venture-card h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.venture-card p {
    margin: 0;
    color: var(--muted);
    font-size: .93rem;
}

.venture-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.venture-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #164c8b;
    background: #eef6ff;
    font-size: .69rem;
    font-weight: 800;
}

.path-section {
    color: var(--white);
    background: var(--surface);
}

.path-panel {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border: 1px solid rgba(24, 217, 255, .24);
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 12%, rgba(24, 217, 255, .15), transparent 27%),
        linear-gradient(135deg, #03132d, #082c5d 55%, #0b4fa6);
    box-shadow: 0 28px 75px rgba(2, 22, 49, .18);
}

.path-panel::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    bottom: -180px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .018);
}

.path-copy {
    max-width: 710px;
    position: relative;
    z-index: 2;
}

.path-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
}

.path-card {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.path-card:hover,
.path-card:focus-visible {
    border-color: var(--cyan);
    background: rgba(24, 217, 255, .10);
    transform: translateY(-5px);
}

.path-card > span {
    color: var(--cyan-soft);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.path-card strong {
    margin-top: auto;
    font-size: 1.07rem;
}

.path-card small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .57);
}

.contact-section {
    color: var(--white);
    background:
        radial-gradient(circle at 10% 10%, rgba(24, 217, 255, .08), transparent 26%),
        linear-gradient(145deg, #020713, #051630);
}

.contact-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: start;
    gap: 72px;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.contact-details a,
.contact-details div {
    display: flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
}

.contact-details span {
    color: var(--cyan-soft);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-form {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 26px 66px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.form-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.form-heading strong {
    font-size: 1.15rem;
}

.form-heading span {
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
}

.contact-form label > span:first-child {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    outline: 0;
    background: rgba(1, 8, 19, .54);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input,
.contact-form select {
    height: 50px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
    padding: 13px 14px;
}

.contact-form select option {
    color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(24, 217, 255, .12);
}

.consent-field {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 9px;
}

.consent-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.consent-field span {
    margin: 0 !important;
    color: rgba(255, 255, 255, .58) !important;
    font-size: .75rem !important;
    font-weight: 500 !important;
}

.form-submit {
    width: 100%;
}

.form-message {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--cyan-soft);
    font-size: .82rem;
}

.site-footer {
    padding: 76px 0 28px;
    color: rgba(255, 255, 255, .72);
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #01050d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, .6fr);
    gap: 46px;
}

.footer-brand p {
    max-width: 330px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .49);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    color: var(--white);
    margin-bottom: 7px;
}

.footer-links a {
    color: rgba(255, 255, 255, .54);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--cyan-soft);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 58px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .37);
    font-size: .75rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes orbit-spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes line-flow {
    to { stroke-dashoffset: -110; }
}

@keyframes pulse-ring {
    0% { opacity: .7; transform: scale(.88); }
    70%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 1100px) {
    .primary-nav {
        gap: 16px;
    }

    .primary-nav a {
        font-size: .82rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-copy {
        max-width: 850px;
    }

    .hero-side-art {
        top: 108px;
        bottom: 58px;
        width: min(20vw, 230px);
        opacity: .12;
    }

    .hero-side-art-left {
        left: -90px;
    }

    .hero-side-art-right {
        right: -90px;
    }

    .hero-visual {
        min-height: 660px;
    }

    .pillar-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline::before {
        display: none;
    }

    .pipeline-step:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .nav-wrap {
        min-height: 74px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-nav {
        position: absolute;
        top: 74px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border: 1px solid rgba(24, 217, 255, .17);
        border-radius: 18px;
        background: rgba(2, 7, 19, .98);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        padding: 13px 12px;
        font-size: .92rem;
    }

    .primary-nav a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 6px;
        text-align: center;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-side-art {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 5.4rem);
    }

    .split-heading,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .path-actions {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-mark {
        width: 45px;
        height: 45px;
    }

    .brand-copy strong {
        font-size: 1.08rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 44px;
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(2.9rem, 15vw, 4.8rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .text-link {
        align-self: center;
        padding: 8px;
    }

    .hero-visual {
        min-height: 610px;
    }

    .visual-label {
        right: 12px;
    }

    .ecosystem-stage {
        border-radius: 26px;
    }

    .map-node {
        min-width: 105px;
        min-height: 92px;
        padding: 10px;
        border-radius: 18px;
    }

    .map-node-centre {
        min-width: 142px;
        min-height: 142px;
    }

    .map-node-centre strong {
        font-size: 1.18rem;
    }

    .map-node strong {
        font-size: .84rem;
    }

    .map-node small {
        font-size: .61rem;
    }

    .venture-tag {
        padding: 6px 8px;
        font-size: .56rem;
    }

    .tag-maths { top: 32%; left: 2%; }
    .tag-welearn { top: 52%; left: 1%; }
    .tag-gado { top: 32%; right: 1%; }
    .tag-classlink { top: 52%; right: 1%; }
    .tag-think { bottom: 16%; left: 4%; }
    .tag-harmony { bottom: 16%; right: 4%; }

    .map-status {
        right: 12px;
        bottom: 12px;
        left: 12px;
        font-size: .68rem;
    }

    .section {
        padding: 82px 0;
    }

    .pillar-grid,
    .portfolio-grid,
    .pipeline {
        grid-template-columns: 1fr;
    }

    .pipeline-step:last-child {
        grid-column: auto;
    }

    .pillar-card {
        min-height: 380px;
        padding: 28px;
    }

    .path-panel {
        padding: 38px 24px;
        border-radius: 24px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}


/* Multi-page extensions. These preserve the original visual system. */
.inner-page main { background: var(--surface); }
.page-hero { position: relative; overflow: hidden; padding: 154px 0 90px; color: var(--white); background: radial-gradient(circle at 82% 20%, rgba(22,124,255,.18),transparent 35%), radial-gradient(circle at 12% 78%,rgba(24,217,255,.08),transparent 28%), linear-gradient(145deg,#020713,#04142c 52%,#031024); isolation:isolate; }
.page-hero-gold { background: radial-gradient(circle at 82% 20%,rgba(242,184,75,.14),transparent 35%),radial-gradient(circle at 15% 80%,rgba(24,217,255,.08),transparent 28%),linear-gradient(145deg,#020713,#071630 52%,#07111f); }
.page-hero-layout { display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:70px; }
.page-hero-copy h1 { max-width:760px; margin:24px 0 22px; font-size:clamp(3.5rem,6.7vw,6.7rem); line-height:.94; letter-spacing:-.065em; }
.page-hero-copy h1 span { color:var(--cyan); }
.page-hero-gold .page-hero-copy h1 span { color:var(--gold); }
.page-hero-copy > p { max-width:700px; margin:0; color:rgba(255,255,255,.68); font-size:1.08rem; }
.page-signal { position:relative; min-height:430px; display:flex; flex-direction:column; justify-content:center; padding:38px; border:1px solid rgba(24,217,255,.18); border-radius:32px; background:radial-gradient(circle at 50% 42%,rgba(24,217,255,.16),transparent 33%),rgba(255,255,255,.04); box-shadow:0 32px 90px rgba(0,0,0,.26), inset 0 0 70px rgba(22,124,255,.06); backdrop-filter:blur(12px); }
.page-signal::before,.page-signal::after { content:""; position:absolute; inset:28px; border:1px solid rgba(24,217,255,.13); border-radius:50%; animation:orbit-spin 22s linear infinite; }
.page-signal::after { inset:80px; border-style:dashed; animation-direction:reverse; animation-duration:16s; }
.signal-label { position:absolute; top:22px; left:26px; color:var(--cyan-soft); font-size:.68rem; font-weight:900; letter-spacing:.18em; }
.signal-core { position:relative; z-index:2; width:230px; height:230px; margin:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px solid rgba(24,217,255,.4); border-radius:50%; background:rgba(2,10,25,.82); box-shadow:0 0 0 16px rgba(24,217,255,.03),0 0 70px rgba(24,217,255,.17); }
.signal-core i { width:14px; height:14px; margin-bottom:20px; border-radius:50%; background:var(--cyan); box-shadow:0 0 24px var(--cyan); }
.signal-core strong { max-width:170px; font-size:1.45rem; line-height:1.12; }
.signal-core small { max-width:150px; margin-top:10px; color:rgba(255,255,255,.48); }
.signal-chips { position:relative; z-index:2; display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:26px; }
.signal-chips span { padding:7px 10px; color:var(--cyan-soft); border:1px solid rgba(24,217,255,.18); border-radius:999px; background:rgba(24,217,255,.06); font-size:.68rem; font-weight:800; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:44px; }
.feature-card { min-height:230px; display:flex; flex-direction:column; padding:28px; color:inherit; border:1px solid var(--line); border-radius:22px; background:var(--white); text-decoration:none; box-shadow:0 18px 45px rgba(8,29,61,.06); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.section-dark .feature-card { color:var(--white); border-color:rgba(255,255,255,.11); background:rgba(255,255,255,.055); box-shadow:none; }
.feature-card:hover,.feature-card:focus-visible { transform:translateY(-5px); border-color:var(--cyan); box-shadow:0 24px 55px rgba(8,29,61,.12); }
.feature-icon { width:58px; min-height:50px; display:grid; place-items:center; padding:6px; color:var(--blue-2); border-radius:14px; background:#edf6ff; font-size:.8rem; font-weight:900; }
.section-dark .feature-icon { color:var(--cyan); background:rgba(24,217,255,.1); }
.feature-card h3 { margin:28px 0 10px; font-size:1.18rem; }
.feature-card p { margin:0; color:var(--muted); font-size:.9rem; }
.section-dark .feature-card p { color:rgba(255,255,255,.58); }
.card-arrow { margin-top:auto; padding-top:22px; color:var(--blue-2); font-size:.78rem; font-weight:900; }
.section-dark .card-arrow { color:var(--cyan-soft); }
.story-grid,.leadership-grid,.two-column-detail { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:42px; }
.story-panel,.leader-card,.info-panel { padding:36px; border:1px solid var(--line); border-radius:26px; background:var(--white); box-shadow:0 18px 50px rgba(8,29,61,.06); }
.story-panel > span,.leader-origin { color:var(--blue-2); font-size:.76rem; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.story-panel h3,.leader-card h3,.info-panel h3 { margin:18px 0 12px; font-size:1.55rem; line-height:1.18; }
.story-panel p,.leader-card p,.info-panel p { color:var(--muted); }
.section-dark .leader-card,.section-dark .info-panel { color:var(--white); border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.055); }
.section-dark .leader-card p,.section-dark .info-panel p { color:rgba(255,255,255,.6); }
.leader-number { color:var(--cyan); font-weight:900; }
.purpose-quote { margin:32px 0 0; padding:34px 38px; color:var(--white); border-left:4px solid var(--cyan); background:rgba(24,217,255,.07); font-size:clamp(1.4rem,3vw,2.4rem); font-weight:800; line-height:1.25; }
.detail-list { display:grid; gap:12px; padding:0; margin:24px 0 0; list-style:none; }
.detail-list li { display:grid; grid-template-columns:22px 1fr; gap:9px; align-items:start; color:inherit; }
.detail-list li span { color:var(--cyan); font-weight:900; }
.accent-panel { color:var(--white)!important; border-color:rgba(24,217,255,.25)!important; background:linear-gradient(135deg,#03132d,#0b3a78)!important; }
.accent-panel p { color:rgba(255,255,255,.65)!important; }
.light-link { color:var(--cyan-soft); }
.audience-strip { display:flex; flex-wrap:wrap; gap:10px; margin-top:36px; }
.audience-strip span { padding:10px 14px; border:1px solid var(--line); border-radius:999px; color:#174f91; background:var(--white); font-size:.76rem; font-weight:800; }
.process-line { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-top:44px; }
.process-line article { position:relative; min-height:220px; padding:28px 22px; border:1px solid var(--line); border-radius:20px; background:var(--white); }
.process-line article:not(:last-child)::after { content:"→"; position:absolute; top:50%; right:-13px; z-index:2; width:26px; height:26px; display:grid; place-items:center; color:var(--blue-2); border-radius:50%; background:var(--surface); font-weight:900; }
.process-line span,.flywheel-grid span { color:var(--blue-2); font-size:.72rem; font-weight:900; letter-spacing:.12em; }
.process-line h3 { margin:42px 0 10px; }
.process-line p { color:var(--muted); font-size:.87rem; }
.flywheel-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:44px; }
.flywheel-grid article { min-height:215px; padding:28px; border:1px solid rgba(255,255,255,.12); border-radius:22px; background:rgba(255,255,255,.055); }
.flywheel-grid h3 { margin:34px 0 10px; color:var(--white); }
.flywheel-grid p { margin:0; color:rgba(255,255,255,.57); }
.cta-panel { display:flex; align-items:center; justify-content:space-between; gap:44px; padding:55px 60px; color:var(--white); border:1px solid rgba(24,217,255,.24); border-radius:30px; background:radial-gradient(circle at 90% 12%,rgba(24,217,255,.15),transparent 27%),linear-gradient(135deg,#03132d,#082c5d 55%,#0b4fa6); box-shadow:0 28px 75px rgba(2,22,49,.18); }
.cta-panel h2 { max-width:690px; margin:12px 0 8px; font-size:clamp(2rem,4vw,3.7rem); line-height:1; }
.cta-panel p { max-width:700px; margin:0; color:rgba(255,255,255,.62); }
.cta-panel-actions { display:flex; flex-wrap:wrap; gap:12px; flex:0 0 auto; }
.content-form { margin:0; }
.content-form input[type=file] { padding:12px; height:auto; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px; }
.stat-grid article { padding:30px; border:1px solid var(--line); border-radius:20px; background:var(--white); }
.stat-grid strong { display:block; color:var(--blue-2); font-size:2.8rem; line-height:1; }
.stat-grid span { display:block; margin-top:10px; color:var(--muted); font-size:.83rem; font-weight:700; }
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; margin:30px 0; }
.filter-bar button,.amount-row button { padding:9px 14px; border:1px solid var(--line); border-radius:999px; color:var(--ink); background:var(--white); cursor:pointer; font-weight:800; }
.filter-bar button.is-active,.filter-bar button:hover,.amount-row button.is-active,.amount-row button:hover { color:var(--navy-950); border-color:var(--cyan); background:var(--cyan); }
.portfolio-item[hidden] { display:none; }
.linked-card { cursor:pointer; }
.pipeline-page { margin-top:44px; }
.insight-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:42px; }
.insight-card { min-height:310px; display:flex; flex-direction:column; padding:30px; border:1px solid var(--line); border-radius:22px; background:var(--white); }
.insight-card > span { color:var(--blue-2); font-size:.7rem; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.insight-card h3 { margin:36px 0 12px; font-size:1.4rem; }
.insight-card p { color:var(--muted); }
.insight-card a { margin-top:auto; color:var(--blue-2); font-weight:900; text-decoration:none; }
.contact-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
.contact-cards a,.contact-cards article { display:flex; flex-direction:column; min-height:180px; padding:28px; color:var(--ink); border:1px solid var(--line); border-radius:22px; background:var(--white); text-decoration:none; }
.contact-cards span { color:var(--blue-2); font-size:.7rem; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.contact-cards strong { margin-top:auto; font-size:1.12rem; }
.contact-cards small { margin-top:8px; color:var(--muted); }
.donation-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:40px; }
.donation-grid article { padding:30px; border:1px solid var(--line); border-radius:22px; background:var(--white); }
.donation-grid article > span { color:var(--gold); font-weight:900; }
.donation-grid h3 { margin:36px 0 10px; font-size:1.4rem; }
.donation-grid p { color:var(--muted); }
.amount-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.legal-content { max-width:900px; margin:auto; padding:45px; border:1px solid var(--line); border-radius:26px; background:var(--white); }
.legal-intro { color:var(--muted); font-size:1.05rem; }
.legal-note { margin-top:30px; padding:18px; color:#6d5522; border:1px solid #f1d38e; border-radius:14px; background:#fff8e8; }
.status-page { min-height:100vh; display:grid; place-items:center; padding:100px 20px; color:var(--white); background:radial-gradient(circle at 50% 30%,rgba(24,217,255,.16),transparent 35%),linear-gradient(145deg,#020713,#04142c); }
.status-card { max-width:650px; padding:55px; text-align:center; border:1px solid rgba(24,217,255,.2); border-radius:30px; background:rgba(255,255,255,.055); }
.status-card > span { width:80px; height:80px; display:grid; place-items:center; margin:0 auto 25px; color:var(--cyan); border:1px solid var(--cyan); border-radius:50%; font-size:2rem; font-weight:900; }
.status-card h1 { margin:0 0 16px; font-size:3rem; }
.status-card p { color:rgba(255,255,255,.65); }
.footer-grid-wide { grid-template-columns:1.35fr repeat(4,.65fr); }
.nav-more { position:relative; }
.nav-more summary { position:relative; color:rgba(255,255,255,.76); font-size:.91rem; font-weight:700; list-style:none; cursor:pointer; }
.nav-more summary::-webkit-details-marker { display:none; }
.nav-more summary::after { content:"+"; margin-left:5px; color:var(--cyan); }
.nav-more summary.is-active { color:var(--white); }
.nav-more-menu { position:absolute; top:34px; right:0; min-width:190px; display:flex; flex-direction:column; padding:10px; border:1px solid rgba(24,217,255,.18); border-radius:14px; background:rgba(2,7,19,.98); box-shadow:0 20px 45px rgba(0,0,0,.38); }
.nav-more-menu a { padding:10px 12px; border-radius:9px; }
.nav-more-menu a:hover { background:rgba(24,217,255,.08); }
.map-page-section .hero-visual { max-width:760px; min-height:690px; margin:40px auto 0; }

@media (max-width:1100px) {
    .page-hero-layout { grid-template-columns:1fr; gap:40px; }
    .page-signal { max-width:720px; width:100%; margin:auto; }
    .feature-grid,.insight-grid { grid-template-columns:repeat(2,1fr); }
    .process-line { grid-template-columns:repeat(2,1fr); }
    .process-line article:not(:last-child)::after { display:none; }
    .stat-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid-wide { grid-template-columns:repeat(3,1fr); }
    .footer-grid-wide .footer-brand { grid-column:1/-1; }
}
@media (max-width:860px) {
    .nav-more summary { padding:13px 12px; font-size:.92rem; }
    .nav-more-menu { position:static; min-width:0; padding:0 0 0 12px; border:0; background:transparent; box-shadow:none; }
    .nav-more-menu a { padding:10px 12px; }
    .page-hero { padding-top:125px; }
    .page-hero-copy h1 { font-size:clamp(3rem,11vw,5.2rem); }
    .cta-panel { align-items:flex-start; flex-direction:column; padding:42px; }
    .story-grid,.leadership-grid,.two-column-detail,.contact-cards,.donation-grid { grid-template-columns:1fr; }
    .flywheel-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:680px) {
    .page-hero { padding:116px 0 68px; }
    .page-hero-copy h1 { font-size:clamp(2.8rem,14vw,4.5rem); }
    .page-signal { min-height:360px; padding:24px; }
    .signal-core { width:190px; height:190px; }
    .feature-grid,.insight-grid,.stat-grid,.flywheel-grid,.process-line { grid-template-columns:1fr; }
    .cta-panel { padding:34px 24px; }
    .cta-panel-actions,.cta-panel-actions .button { width:100%; }
    .legal-content { padding:26px 20px; }
    .footer-grid-wide { grid-template-columns:1fr 1fr; }
}


/* TechTuned story expansion */
.story-feature-section,
.story-foundation-section,
.story-home-section {
    position: relative;
    overflow: hidden;
}

.story-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.story-principles article {
    padding: 30px;
    color: var(--white);
    border: 1px solid rgba(24, 217, 255, .19);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(7, 24, 49, .92), rgba(4, 16, 38, .76));
    box-shadow: inset 0 0 32px rgba(22, 124, 255, .05);
}

.story-principles article > span,
.founder-story-copy > span,
.founder-profile-copy > span {
    color: var(--cyan);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.story-principles h3 {
    margin: 14px 0 8px;
    font-size: 1.35rem;
}

.story-principles p {
    margin: 0;
    color: rgba(255, 255, 255, .6);
}

.founder-story-grid,
.founder-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.founder-story-card,
.founder-profile-card {
    overflow: hidden;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 28px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.founder-image-wrap,
.founder-profile-image {
    position: relative;
    min-height: 420px;
    background: radial-gradient(circle at 50% 35%, rgba(22, 124, 255, .24), transparent 55%), #041026;
}

.founder-image-wrap::after,
.founder-profile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 66%, rgba(2, 7, 19, .9));
    pointer-events: none;
}

.founder-image-wrap img,
.founder-profile-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.founder-story-copy,
.founder-profile-copy {
    padding: 30px;
    color: var(--white);
}

.founder-story-copy h3,
.founder-profile-copy h3 {
    margin: 12px 0 4px;
    font-size: 1.75rem;
}

.founder-story-copy p,
.founder-profile-copy p {
    color: rgba(255, 255, 255, .62);
}

.founder-story-copy .leader-origin,
.founder-profile-copy .leader-origin {
    color: var(--cyan-soft);
}

.story-more-action {
    margin-top: 28px;
}

.story-home-section {
    color: var(--white);
    background:
        radial-gradient(circle at 84% 22%, rgba(22, 124, 255, .18), transparent 32%),
        linear-gradient(145deg, #020713, #05152e 58%, #031024);
}

.story-home-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
}

.story-home-copy h2 {
    max-width: 720px;
    margin: 15px 0 20px;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.story-home-copy p {
    max-width: 690px;
    color: rgba(255, 255, 255, .64);
}

.story-home-copy .button {
    margin-top: 15px;
}

.story-home-portraits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.story-home-portraits article {
    overflow: hidden;
    border: 1px solid rgba(24, 217, 255, .22);
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
}

.story-home-portraits img {
    width: 100%;
    aspect-ratio: .78;
    object-fit: cover;
    object-position: center top;
}

.story-home-portraits div {
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.story-home-portraits strong {
    font-size: 1.08rem;
}

.story-home-portraits span {
    color: var(--cyan-soft);
    font-size: .8rem;
}

.story-page-hero .page-hero-layout {
    grid-template-columns: 1fr 1fr;
}

.story-hero-visual {
    position: relative;
    min-height: 600px;
}

.story-hero-ring {
    position: absolute;
    inset: 10% 9%;
    border: 1px solid rgba(24, 217, 255, .21);
    border-radius: 50%;
    box-shadow: inset 0 0 90px rgba(22, 124, 255, .13), 0 0 80px rgba(24, 217, 255, .08);
}

.story-hero-card {
    position: absolute;
    overflow: hidden;
    width: 53%;
    border: 1px solid rgba(24, 217, 255, .26);
    border-radius: 24px;
    background: #041026;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.story-hero-card-one {
    left: 3%;
    bottom: 2%;
    z-index: 2;
}

.story-hero-card-two {
    top: 2%;
    right: 2%;
}

.story-hero-card img {
    width: 100%;
    aspect-ratio: .83;
    object-fit: cover;
    object-position: center top;
}

.story-hero-card span,
.story-hero-card small {
    display: block;
    padding-inline: 18px;
}

.story-hero-card span {
    padding-top: 14px;
    color: var(--white);
    font-weight: 900;
}

.story-hero-card small {
    padding-bottom: 15px;
    color: var(--cyan-soft);
}

.story-long-copy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 34px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(8, 29, 61, .07);
}

.story-long-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.story-principles-large article {
    min-height: 230px;
}

.founder-profile-card {
    color: var(--white);
    background: linear-gradient(145deg, #041026, #071b39);
}

.story-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.story-journey-grid article {
    padding: 28px 24px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .05);
}

.story-journey-grid span {
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 900;
}

.story-journey-grid h3 {
    margin: 14px 0 8px;
    font-size: 1.25rem;
}

.story-journey-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
}

.story-page-quote {
    margin-top: 36px;
}

.story-ecosystem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.story-ecosystem-cards a {
    min-height: 250px;
    padding: 32px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(8, 29, 61, .07);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.story-ecosystem-cards a:hover,
.story-ecosystem-cards a:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(22, 124, 255, .4);
    box-shadow: 0 28px 70px rgba(8, 29, 61, .12);
}

.story-ecosystem-cards span {
    color: var(--blue-2);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.story-ecosystem-cards h3 {
    margin: 18px 0 10px;
    font-size: 1.55rem;
}

.story-ecosystem-cards p {
    color: var(--muted);
}

.story-ecosystem-cards strong {
    color: var(--blue-2);
}

@media (max-width: 980px) {
    .story-home-layout,
    .story-page-hero .page-hero-layout {
        grid-template-columns: 1fr;
    }

    .story-hero-visual {
        min-height: 560px;
    }

    .story-journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .story-principles,
    .founder-story-grid,
    .founder-profile-grid,
    .story-long-copy,
    .story-ecosystem-cards {
        grid-template-columns: 1fr;
    }

    .story-home-layout {
        gap: 36px;
    }

    .story-home-portraits {
        gap: 10px;
    }

    .founder-image-wrap,
    .founder-profile-image,
    .founder-image-wrap img,
    .founder-profile-image img {
        min-height: 360px;
    }

    .story-hero-visual {
        min-height: 480px;
    }

    .story-hero-card {
        width: 58%;
    }
}

@media (max-width: 540px) {
    .story-home-portraits {
        grid-template-columns: 1fr;
    }

    .story-home-portraits img {
        aspect-ratio: 1 / 1;
    }

    .story-journey-grid {
        grid-template-columns: 1fr;
    }

    .story-hero-visual {
        min-height: 620px;
    }

    .story-hero-card {
        width: 82%;
    }

    .story-hero-card-one {
        left: 0;
        bottom: 0;
    }

    .story-hero-card-two {
        top: 0;
        right: 0;
    }
}

/* =========================================================
   Viewport landing-section fix
   Keeps the complete homepage hero inside the first screen.
   ========================================================= */
.hero {
    height: 100svh;
    min-height: 100svh;
    padding: 104px 0 22px;
    overflow: hidden;
}

.hero-layout {
    height: calc(100svh - 132px);
    min-height: 0;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero h1 {
    margin: 16px 0 16px;
    font-size: clamp(3.15rem, 7.6vh, 5.45rem);
    line-height: .9;
}

.hero-lead {
    font-size: clamp(.94rem, 1.8vh, 1.08rem);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 22px;
}

.hero .button {
    min-height: 46px;
    padding-inline: 19px;
}

.hero-promise {
    margin-top: 20px;
}

.hero-promise .promise-icon {
    width: 38px;
    height: 38px;
}

.hero-visual {
    min-height: 0;
    height: min(68vh, 560px);
    max-height: calc(100svh - 164px);
}

.visual-label {
    top: 8px;
    right: 16px;
    padding: 6px 10px;
}

.ecosystem-stage {
    border-radius: 30px;
}

.map-node {
    min-width: 112px;
    min-height: 94px;
    padding: 12px;
    border-radius: 19px;
}

.map-node-centre {
    min-width: 150px;
    min-height: 150px;
}

.map-node-centre strong {
    font-size: 1.25rem;
}

.map-node strong {
    font-size: .9rem;
}

.map-node small {
    margin-top: 3px;
    font-size: .64rem;
}

.node-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
}

.venture-tag {
    padding: 6px 9px;
    font-size: .61rem;
}

.map-status {
    right: 16px;
    bottom: 14px;
    left: 16px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: .7rem;
}

.hero-footnote {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    margin-top: 0;
}

.hero-footnote p {
    margin-top: 9px;
    font-size: .68rem;
}

.hero-side-art {
    top: 92px;
    bottom: 20px;
    width: min(18vw, 250px);
    opacity: .16;
}

.hero-side-art-left {
    left: -72px;
}

.hero-side-art-right {
    right: -72px;
}

@media (min-width: 861px) and (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
        gap: 24px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 6.7vh, 4.15rem);
    }

    .hero-lead {
        font-size: .92rem;
    }

    .hero-visual {
        height: min(65vh, 510px);
    }

    .hero-side-art {
        display: none;
    }
}

@media (max-width: 860px) {
    .hero {
        height: 100svh;
        min-height: 100svh;
        padding: 88px 0 16px;
    }

    .hero-layout {
        height: calc(100svh - 96px);
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        align-content: start;
        gap: 16px;
    }

    .hero h1 {
        margin: 10px 0 10px;
        font-size: clamp(2.45rem, 8.5vw, 4rem);
        line-height: .92;
    }

    .hero-lead {
        max-width: 680px;
        font-size: .92rem;
        line-height: 1.45;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-promise {
        display: none;
    }

    .hero-visual {
        width: min(100%, 700px);
        height: 100%;
        min-height: 250px;
        max-height: 390px;
        margin-inline: auto;
    }

    .hero-footnote,
    .hero-side-art {
        display: none;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 82px;
        padding-bottom: 10px;
    }

    .hero-layout {
        height: calc(100svh - 88px);
        gap: 12px;
    }

    .eyebrow {
        font-size: .66rem;
        letter-spacing: .11em;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 10.8vw, 3.15rem);
    }

    .hero-lead {
        display: -webkit-box;
        overflow: hidden;
        font-size: .86rem;
        line-height: 1.42;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .hero-actions .button {
        min-height: 43px;
        padding: 0 11px;
        font-size: .78rem;
    }

    .hero-actions .text-link {
        display: none;
    }

    .hero-visual {
        min-height: 210px;
        max-height: 300px;
    }

    .ecosystem-stage {
        border-radius: 22px;
    }

    .visual-label,
    .venture-tag,
    .map-status {
        display: none;
    }

    .connection-map {
        inset: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }

    .map-node {
        min-width: 82px;
        min-height: 66px;
        padding: 7px;
        border-radius: 14px;
    }

    .map-node-centre {
        min-width: 104px;
        min-height: 104px;
    }

    .map-node-centre strong {
        font-size: .9rem;
    }

    .map-node strong {
        font-size: .68rem;
    }

    .map-node small {
        font-size: .5rem;
    }

    .node-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 3px;
        font-size: .52rem;
    }

    .map-node-institute {
        top: 7%;
        left: 4%;
    }

    .map-node-innovations {
        top: 7%;
        right: 4%;
    }

    .map-node-impact {
        bottom: 5%;
    }
}

@media (max-width: 860px) and (max-height: 720px) {
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-lead {
        -webkit-line-clamp: 3;
    }

    .hero-visual {
        min-height: 150px;
        max-height: 190px;
    }
}

@media (min-width: 861px) and (max-height: 700px) {
    .hero {
        padding-top: 88px;
        padding-bottom: 14px;
    }

    .hero-layout {
        height: calc(100svh - 104px);
    }

    .hero h1 {
        margin-block: 10px;
        font-size: clamp(2.65rem, 7vh, 4rem);
    }

    .hero-lead {
        font-size: .88rem;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-promise {
        margin-top: 12px;
    }

    .hero-visual {
        height: min(66vh, 450px);
        max-height: calc(100svh - 118px);
    }

    .hero-footnote {
        display: none;
    }
}

/* Final map-spacing refinements for shorter viewports. */
@media (min-width: 861px) {
    .map-node-impact {
        bottom: 15%;
    }

    .tag-think,
    .tag-harmony {
        bottom: 16%;
    }
}

@media (max-width: 860px) and (max-height: 720px) {
    .map-node {
        min-width: 70px;
        min-height: 54px;
        padding: 5px;
        border-radius: 12px;
    }

    .map-node-centre {
        top: 43%;
        min-width: 82px;
        min-height: 82px;
    }

    .map-node-centre strong {
        font-size: .7rem;
    }

    .map-node strong {
        font-size: .58rem;
    }

    .map-node small {
        font-size: .43rem;
    }

    .node-icon {
        width: 17px;
        height: 17px;
        font-size: .44rem;
    }

    .map-node-impact {
        bottom: 3%;
    }
}

/* =========================================================
   CONSISTENT ONE-SCREEN HERO SYSTEM FOR ALL WEBSITE PAGES
   Keeps every inner-page landing section aligned to the
   approved homepage proportions and heading scale.
   ========================================================= */

@media (min-width: 861px) {
    .inner-page .page-hero {
        height: 100svh;
        min-height: 620px;
        max-height: 980px;
        display: flex;
        align-items: center;
        padding: 96px 0 18px;
    }

    .inner-page .page-hero::before,
    .inner-page .page-hero::after {
        content: "";
        position: absolute;
        top: 96px;
        bottom: 24px;
        z-index: -2;
        width: min(20vw, 275px);
        border: 1px solid rgba(24, 217, 255, .10);
        border-radius: 28px;
        background-repeat: no-repeat;
        background-size: cover;
        opacity: .10;
        filter: saturate(1.02) brightness(.66) contrast(1.05);
        pointer-events: none;
    }

    .inner-page .page-hero::before {
        left: -92px;
        background-image:
            linear-gradient(90deg, rgba(2, 7, 19, .22), rgba(2, 7, 19, .74)),
            url("../images/hero-side-tech-left.png");
        background-position: 48% center;
    }

    .inner-page .page-hero::after {
        right: -92px;
        background-image:
            linear-gradient(270deg, rgba(2, 7, 19, .22), rgba(2, 7, 19, .74)),
            url("../images/hero-side-tech-right.png");
        background-position: 58% center;
    }

    .inner-page .page-hero-layout {
        width: 100%;
        min-height: calc(100svh - 114px);
        max-height: 820px;
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .86fr);
        align-items: center;
        gap: clamp(34px, 4vw, 62px);
    }

    .inner-page .page-hero-copy {
        align-self: center;
    }

    .inner-page .page-hero-copy h1 {
        max-width: 760px;
        margin: 16px 0 16px;
        font-size: clamp(3rem, 4.25vw, 4.75rem);
        line-height: .96;
        letter-spacing: -.058em;
    }

    .inner-page .page-hero-copy > p {
        max-width: 650px;
        font-size: clamp(.92rem, 1.1vw, 1.04rem);
        line-height: 1.55;
    }

    .inner-page .page-hero .eyebrow {
        font-size: .72rem;
        letter-spacing: .135em;
    }

    .inner-page .page-hero .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .inner-page .page-hero .button {
        min-height: 47px;
        padding-inline: 18px;
        font-size: .86rem;
    }

    .inner-page .page-signal {
        width: 100%;
        min-height: 0;
        height: min(58vh, 470px);
        max-height: calc(100svh - 142px);
        padding: 26px;
        border-radius: 28px;
    }

    .inner-page .page-signal::before {
        inset: 22px;
    }

    .inner-page .page-signal::after {
        inset: 66px;
    }

    .inner-page .signal-core {
        width: clamp(172px, 19vw, 218px);
        height: clamp(172px, 19vw, 218px);
    }

    .inner-page .signal-core i {
        margin-bottom: 13px;
    }

    .inner-page .signal-core strong {
        font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    }

    .inner-page .signal-core small {
        margin-top: 7px;
        font-size: .72rem;
    }

    .inner-page .signal-chips {
        margin-top: 18px;
    }

    .inner-page .signal-chips span {
        padding: 6px 9px;
        font-size: .62rem;
    }
}

@media (min-width: 861px) and (max-width: 1100px) {
    .inner-page .page-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
        gap: 28px;
    }

    .inner-page .page-hero-copy h1 {
        font-size: clamp(2.65rem, 5.2vw, 3.9rem);
    }

    .inner-page .page-signal {
        margin: 0;
        height: min(53vh, 420px);
    }
}

@media (min-width: 861px) and (max-height: 760px) {
    .inner-page .page-hero {
        min-height: 560px;
        padding-top: 84px;
        padding-bottom: 10px;
    }

    .inner-page .page-hero-layout {
        min-height: calc(100svh - 94px);
    }

    .inner-page .page-hero-copy h1 {
        margin-block: 10px 12px;
        font-size: clamp(2.45rem, 6.5vh, 3.75rem);
    }

    .inner-page .page-hero-copy > p {
        font-size: .88rem;
        line-height: 1.45;
    }

    .inner-page .page-hero .hero-actions {
        margin-top: 15px;
    }

    .inner-page .page-hero .button {
        min-height: 42px;
        font-size: .79rem;
    }

    .inner-page .page-signal {
        height: min(61vh, 400px);
        max-height: calc(100svh - 112px);
    }

    .inner-page .signal-core {
        width: min(27vh, 190px);
        height: min(27vh, 190px);
    }

    .inner-page .signal-chips {
        margin-top: 12px;
    }
}

@media (max-width: 860px) {
    .inner-page .page-hero {
        min-height: 100svh;
        display: flex;
        align-items: center;
        padding: 88px 0 14px;
    }

    .inner-page .page-hero-layout {
        min-height: calc(100svh - 102px);
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(190px, 1fr);
        align-items: center;
        gap: 14px;
    }

    .inner-page .page-hero-copy h1 {
        margin: 12px 0 12px;
        font-size: clamp(2.25rem, 9.4vw, 3.55rem);
        line-height: .97;
    }

    .inner-page .page-hero-copy > p {
        display: -webkit-box;
        overflow: hidden;
        font-size: .9rem;
        line-height: 1.45;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .inner-page .page-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 14px;
    }

    .inner-page .page-hero .button {
        width: 100%;
        min-height: 43px;
        padding-inline: 10px;
        font-size: .76rem;
    }

    .inner-page .page-signal {
        width: 100%;
        min-height: 190px;
        height: min(34svh, 290px);
        max-height: 300px;
        margin: 0;
        padding: 18px;
        border-radius: 22px;
    }

    .inner-page .page-signal::before {
        inset: 14px;
    }

    .inner-page .page-signal::after {
        inset: 45px;
    }

    .inner-page .signal-label {
        top: 12px;
        left: 15px;
        font-size: .57rem;
    }

    .inner-page .signal-core {
        width: min(22svh, 145px);
        height: min(22svh, 145px);
    }

    .inner-page .signal-core i {
        width: 9px;
        height: 9px;
        margin-bottom: 7px;
    }

    .inner-page .signal-core strong {
        max-width: 118px;
        font-size: .88rem;
    }

    .inner-page .signal-core small {
        max-width: 112px;
        margin-top: 4px;
        font-size: .58rem;
    }

    .inner-page .signal-chips {
        gap: 5px;
        margin-top: 8px;
    }

    .inner-page .signal-chips span {
        padding: 4px 7px;
        font-size: .53rem;
    }
}

@media (max-width: 680px) {
    .inner-page .page-hero {
        padding-top: 78px;
        padding-bottom: 8px;
    }

    .inner-page .page-hero-layout {
        min-height: calc(100svh - 86px);
        grid-template-rows: auto minmax(160px, .9fr);
        gap: 10px;
    }

    .inner-page .page-hero .eyebrow {
        font-size: .61rem;
        letter-spacing: .105em;
    }

    .inner-page .page-hero-copy h1 {
        font-size: clamp(2.05rem, 9.8vw, 3rem);
    }

    .inner-page .page-hero-copy > p {
        font-size: .82rem;
        -webkit-line-clamp: 3;
    }

    .inner-page .page-signal {
        min-height: 160px;
        height: min(29svh, 235px);
    }

    .inner-page .signal-chips {
        display: none;
    }
}

@media (max-width: 430px) and (max-height: 720px) {
    .inner-page .page-hero-copy h1 {
        font-size: clamp(1.85rem, 8.7vw, 2.45rem);
    }

    .inner-page .page-hero-copy > p {
        -webkit-line-clamp: 2;
    }

    .inner-page .page-hero .hero-actions {
        margin-top: 9px;
    }

    .inner-page .page-signal {
        min-height: 135px;
        height: 22svh;
    }

    .inner-page .signal-label,
    .inner-page .signal-core small {
        display: none;
    }

    .inner-page .signal-core {
        width: 105px;
        height: 105px;
    }
}

/* Keep standalone confirmation/legal pages visually consistent. */
.status-card h1,
.legal-content h1 {
    font-size: clamp(2.5rem, 4.25vw, 4.75rem);
    line-height: .96;
    letter-spacing: -.055em;
}

/* Story page uses portrait cards instead of the standard signal graphic. */
@media (min-width: 861px) {
    .inner-page .story-page-hero .page-hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .86fr);
    }

    .inner-page .story-hero-visual {
        min-height: 0;
        height: min(58vh, 470px);
        max-height: calc(100svh - 142px);
    }

    .inner-page .story-hero-card {
        width: 50%;
        border-radius: 20px;
    }

    .inner-page .story-hero-card img {
        max-height: 285px;
        object-fit: cover;
        object-position: center top;
    }
}

@media (min-width: 861px) and (max-height: 760px) {
    .inner-page .story-hero-visual {
        height: min(61vh, 400px);
        max-height: calc(100svh - 112px);
    }

    .inner-page .story-hero-card img {
        max-height: 230px;
    }
}

@media (max-width: 860px) {
    .inner-page .story-page-hero .page-hero-layout {
        grid-template-columns: 1fr;
    }

    .inner-page .story-hero-visual {
        min-height: 190px;
        height: min(34svh, 290px);
        max-height: 300px;
    }

    .inner-page .story-hero-card {
        width: 46%;
        border-radius: 16px;
    }

    .inner-page .story-hero-card img {
        max-height: 155px;
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 430px) and (max-height: 720px) {
    .inner-page .story-hero-visual {
        min-height: 135px;
        height: 22svh;
    }

    .inner-page .story-hero-card img {
        max-height: 105px;
    }
}

/* === TRUE SHARED HOMEPAGE-SIZED HERO SYSTEM V2 ===
   Root-cause fix:
   Inner pages previously used a separate page-hero scale and layout.
   This class now reuses the exact homepage proportions at every breakpoint.
   ================================================================ */
:root {
    --shared-hero-title-size: clamp(3.15rem, 7.6vh, 5.45rem);
    --shared-hero-title-line: .90;
    --shared-hero-copy-size: clamp(.94rem, 1.8vh, 1.08rem);
}

/* The home and every inner-page title now use one shared scale. */
.hero h1,
.hero-match-home .page-hero-copy h1 {
    font-size: var(--shared-hero-title-size) !important;
    line-height: var(--shared-hero-title-line) !important;
    letter-spacing: -.065em !important;
    text-wrap: balance;
}

@media (min-width: 861px) {
    .inner-page .hero-match-home {
        display: block !important;
        width: 100%;
        height: 100vh !important;
        height: 100svh !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        max-height: none !important;
        padding: 104px 0 22px !important;
        overflow: hidden !important;
    }

    .inner-page .hero-match-home .page-hero-layout {
        width: min(var(--container), calc(100% - 40px));
        height: calc(100vh - 132px) !important;
        height: calc(100svh - 132px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-inline: auto;
        display: grid;
        grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr) !important;
        align-items: center !important;
        gap: clamp(24px, 3vw, 48px) !important;
    }

    .inner-page .hero-match-home .page-hero-copy {
        position: relative;
        z-index: 3;
        align-self: center !important;
        min-width: 0;
    }

    .inner-page .hero-match-home .page-hero-copy h1 {
        max-width: 780px !important;
        margin: 16px 0 !important;
    }

    .inner-page .hero-match-home .page-hero-copy > p {
        max-width: 670px !important;
        margin: 0 !important;
        color: rgba(232, 241, 255, .74) !important;
        font-size: var(--shared-hero-copy-size) !important;
        line-height: 1.55 !important;
    }

    .inner-page .hero-match-home .eyebrow {
        font-size: .78rem !important;
        letter-spacing: .15em !important;
    }

    .inner-page .hero-match-home .hero-actions {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px !important;
        margin-top: 22px !important;
    }

    .inner-page .hero-match-home .button {
        width: auto !important;
        min-height: 46px !important;
        padding-inline: 19px !important;
        font-size: inherit !important;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        position: relative;
        width: 100%;
        min-height: 0 !important;
        height: min(68vh, 560px) !important;
        max-height: calc(100vh - 164px) !important;
        max-height: calc(100svh - 164px) !important;
        margin: 0 !important;
        align-self: center;
    }

    .inner-page .hero-match-home .page-signal {
        padding: 30px !important;
        border-radius: 30px !important;
    }

    .inner-page .hero-match-home .page-signal::before {
        inset: 24px !important;
    }

    .inner-page .hero-match-home .page-signal::after {
        inset: 70px !important;
    }

    .inner-page .hero-match-home .signal-core {
        width: clamp(174px, 20vw, 220px) !important;
        height: clamp(174px, 20vw, 220px) !important;
    }

    .inner-page .hero-match-home .signal-core strong {
        font-size: clamp(1.08rem, 1.45vw, 1.35rem) !important;
    }

    .inner-page .hero-match-home .signal-chips {
        margin-top: 18px !important;
    }

    /* Same side-art scale and visibility behaviour as the homepage. */
    .inner-page .hero-match-home::before,
    .inner-page .hero-match-home::after {
        top: 92px !important;
        bottom: 20px !important;
        width: min(18vw, 250px) !important;
        opacity: .16 !important;
    }

    .inner-page .hero-match-home::before { left: -72px !important; }
    .inner-page .hero-match-home::after { right: -72px !important; }
}

/* The homepage's own tablet proportions, applied exactly to inner pages. */
@media (min-width: 861px) and (max-width: 1100px) {
    :root {
        --shared-hero-title-size: clamp(2.8rem, 6.7vh, 4.15rem);
        --shared-hero-copy-size: .92rem;
    }

    .inner-page .hero-match-home .page-hero-layout {
        grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr) !important;
        gap: 24px !important;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        height: min(65vh, 510px) !important;
    }

    .inner-page .hero-match-home::before,
    .inner-page .hero-match-home::after {
        display: none !important;
    }
}

/* The homepage's own mobile hero proportions, applied to every inner page. */
@media (max-width: 860px) {
    :root {
        --shared-hero-title-size: clamp(2.45rem, 8.5vw, 4rem);
        --shared-hero-copy-size: .92rem;
        --shared-hero-title-line: .92;
    }

    .inner-page .hero-match-home {
        display: block !important;
        height: 100vh !important;
        height: 100svh !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding: 88px 0 16px !important;
        overflow: hidden !important;
    }

    .inner-page .hero-match-home .page-hero-layout {
        width: min(var(--container), calc(100% - 40px));
        height: calc(100vh - 96px) !important;
        height: calc(100svh - 96px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-inline: auto;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto minmax(0, 1fr) !important;
        align-content: start !important;
        align-items: start !important;
        gap: 16px !important;
    }

    .inner-page .hero-match-home .page-hero-copy h1 {
        margin: 10px 0 !important;
        font-size: var(--shared-hero-title-size) !important;
    }

    .inner-page .hero-match-home .page-hero-copy > p {
        max-width: 680px !important;
        display: -webkit-box;
        overflow: hidden;
        font-size: var(--shared-hero-copy-size) !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .inner-page .hero-match-home .hero-actions {
        margin-top: 14px !important;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        width: min(100%, 700px) !important;
        height: 100% !important;
        min-height: 210px !important;
        max-height: 390px !important;
        margin-inline: auto !important;
    }

    .inner-page .hero-match-home::before,
    .inner-page .hero-match-home::after {
        display: none !important;
    }
}

@media (max-width: 680px) {
    :root {
        --shared-hero-title-size: clamp(2.15rem, 10.8vw, 3.15rem);
        --shared-hero-copy-size: .86rem;
    }

    .inner-page .hero-match-home {
        padding: 82px 0 10px !important;
    }

    .inner-page .hero-match-home .page-hero-layout {
        width: min(100% - 28px, var(--container));
        height: calc(100vh - 88px) !important;
        height: calc(100svh - 88px) !important;
        gap: 12px !important;
    }

    .inner-page .hero-match-home .page-hero-copy > p {
        -webkit-line-clamp: 4;
    }

    .inner-page .hero-match-home .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .inner-page .hero-match-home .button {
        width: 100% !important;
        min-height: 43px !important;
        padding: 0 11px !important;
        font-size: .78rem !important;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        min-height: 180px !important;
        max-height: 300px !important;
    }

    .inner-page .hero-match-home .signal-chips {
        display: none !important;
    }
}

/* Short screens use the exact compact mode already used by the homepage. */
@media (min-width: 861px) and (max-height: 700px) {
    :root {
        --shared-hero-title-size: clamp(2.65rem, 7vh, 4rem);
        --shared-hero-copy-size: .88rem;
    }

    .inner-page .hero-match-home {
        padding: 88px 0 14px !important;
    }

    .inner-page .hero-match-home .page-hero-layout {
        height: calc(100vh - 104px) !important;
        height: calc(100svh - 104px) !important;
    }

    .inner-page .hero-match-home .page-hero-copy h1 {
        margin-block: 10px !important;
    }

    .inner-page .hero-match-home .hero-actions {
        margin-top: 14px !important;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        height: min(66vh, 450px) !important;
        max-height: calc(100vh - 118px) !important;
        max-height: calc(100svh - 118px) !important;
    }
}

@media (max-width: 860px) and (max-height: 720px) {
    :root {
        --shared-hero-title-size: clamp(2rem, 8vw, 2.8rem);
    }

    .inner-page .hero-match-home .page-hero-copy > p {
        -webkit-line-clamp: 3;
    }

    .inner-page .hero-match-home .page-signal,
    .inner-page .hero-match-home .story-hero-visual {
        min-height: 150px !important;
        max-height: 190px !important;
    }
}

/* Story portraits remain unique content but now occupy the exact same visual box. */
.inner-page .hero-match-home.story-page-hero .story-hero-visual {
    position: relative;
}

@media (min-width: 861px) {
    .inner-page .hero-match-home.story-page-hero .story-hero-card {
        width: 50% !important;
        border-radius: 20px !important;
    }

    .inner-page .hero-match-home.story-page-hero .story-hero-card img {
        max-height: 285px !important;
        object-fit: cover;
        object-position: center top;
    }
}

/* Confirmation pages use the same title scale even though they do not use a menu hero. */
.status-card h1,
.legal-content h1 {
    font-size: var(--shared-hero-title-size) !important;
    line-height: var(--shared-hero-title-line) !important;
    letter-spacing: -.065em !important;
}


/* =========================================================
   About page founder-card sizing
   Keeps Kenneth and Elton portraits equal, compact and aligned.
   ========================================================= */
.story-feature-section .founder-story-grid {
    width: min(860px, 100%);
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin: 30px auto 0;
}

.story-feature-section .founder-story-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.story-feature-section .founder-image-wrap {
    width: 100%;
    min-height: 0;
    height: 300px;
    flex: 0 0 300px;
}

.story-feature-section .founder-image-wrap img {
    width: 100%;
    height: 300px;
    min-height: 0;
    object-fit: cover;
    object-position: center 12%;
}

.story-feature-section .founder-story-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.story-feature-section .founder-story-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .story-feature-section .founder-story-grid {
        width: min(430px, 100%);
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-feature-section .founder-image-wrap,
    .story-feature-section .founder-image-wrap img {
        height: 290px;
        min-height: 0;
    }

    .story-feature-section .founder-image-wrap {
        flex-basis: 290px;
    }
}

@media (max-width: 480px) {
    .story-feature-section .founder-image-wrap,
    .story-feature-section .founder-image-wrap img {
        height: 260px;
    }

    .story-feature-section .founder-image-wrap {
        flex-basis: 260px;
    }

    .story-feature-section .founder-story-copy {
        padding: 21px;
    }
}
