:root {
    --ink: #061a3a;
    --blue: #2f6bff;
    --blue-deep: #1d4ed8;
    --gold: #c8882a;
    --paper: #f4f7fc;
    --card: #fcfdff;
    --line: #d7e3f4;
    --muted: #3e5270;
    --text: #122033;
    --ok: #047857;
    --warn: #92400e;
    --bad: #9f1239;
    --shadow: 0 18px 40px rgba(6, 26, 58, .08);
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(47, 107, 255, .16), transparent 55%),
        radial-gradient(680px 380px at -10% 8%, rgba(228, 177, 90, .18), transparent 50%),
        var(--paper);
    color: var(--text);
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.55;
}

h1, h2, h3, .word strong {
    font-family: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
    font-weight: 560;
    letter-spacing: -.03em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.7rem, 5.5vw, 5.05rem);
    line-height: .96;
    margin: .35rem 0 .8rem;
}

h1 em { font-style: italic; font-weight: 560; }

h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; margin: 0 0 .6rem; }

h3 { font-size: 1.25rem; margin: 0 0 .35rem; }

p { margin: 0 0 .8rem; }

a { color: var(--blue-deep); }

img, svg { display: block; }

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

button { cursor: pointer; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: white;
    padding: .5rem .8rem;
    border-radius: 8px;
    z-index: 80;
}

.skip:focus { top: .6rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

h1:focus { outline: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(244, 247, 252, .82);
    border-bottom: 1px solid rgba(215, 227, 244, .9);
}

.bar, .foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: inherit;
}

.mark { width: 36px; height: 36px; flex: none; }

.word { display: flex; flex-direction: column; line-height: 1.05; }

.word strong { font-size: 1.2rem; }

.word small {
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.site-header nav { display: flex; align-items: center; gap: .25rem; }

.site-header nav a {
    text-decoration: none;
    color: #1e3a5f;
    font-weight: 600;
    padding: .55rem .85rem;
    border-radius: 999px;
}

.site-header nav a.active { background: white; color: var(--ink); }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: .5rem .9rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    text-decoration: none;
    border-radius: 999px;
    padding: .8rem 1.15rem;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1.1;
}

.btn-primary {
    background: linear-gradient(180deg, #3c7bff, #1d4ed8);
    color: white;
    box-shadow: 0 10px 24px rgba(47, 107, 255, .28);
}

.btn-ghost { background: white; color: var(--ink); border-color: var(--line); }

.btn-small { padding: .55rem .8rem; font-size: .88rem; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2.2rem 0 1rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .4rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold);
}

.eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #e4b15a, transparent);
}

.lede { font-size: 1.12rem; max-width: 40rem; color: #24344c; }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.1rem 0 .9rem; }

.pills { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }

.pills li, .chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .6rem;
    background: white;
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 600;
    color: #16325c;
}

.campus-frame {
    position: relative;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .85);
    background:
        radial-gradient(420px 200px at 50% 80%, rgba(228, 177, 90, .2), transparent 70%),
        linear-gradient(180deg, #f8fbff, #e7eef8);
    box-shadow: 0 30px 70px rgba(6, 26, 58, .12), inset 0 1px 0 white;
}

.campus-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 26, 58, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 26, 58, .05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at 50% 45%, black, transparent 75%);
    pointer-events: none;
}

.campus-frame canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.campus-caption { color: var(--muted); font-size: .86rem; margin: .7rem .2rem 0; }

.diorama { position: absolute; inset: 10% 8% 12%; perspective: 800px; }

.d-ground {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 6%;
    height: 46%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #1f5a42, #10203d 72%);
    transform: rotateX(66deg);
}

.d-hall, .d-wing, .d-tower {
    position: absolute;
    bottom: 28%;
    background: linear-gradient(180deg, #3a5f98, #14284f);
    border-radius: 6px 6px 2px 2px;
    box-shadow: 0 16px 28px rgba(6, 26, 58, .25);
}

.d-hall {
    left: 32%;
    width: 36%;
    height: 42%;
    background-image:
        linear-gradient(180deg, transparent 18%, rgba(243, 215, 162, .85) 18% 24%, transparent 24%),
        repeating-linear-gradient(90deg, transparent 0 10px, rgba(243, 215, 162, .7) 10px 16px, transparent 16px 28px);
}

.d-wing { width: 18%; height: 28%; bottom: 24%; }
.d-wing.left { left: 14%; }
.d-wing.right { right: 16%; }
.d-tower { width: 10%; height: 58%; right: 30%; bottom: 30%; background: linear-gradient(180deg, #e4b15a, #17325f 28%); }

.campus-frame.has-webgl .diorama { visibility: hidden; }

.floaters { list-style: none; margin: 0; padding: 0; }

.floaters li {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(215, 227, 244, .95);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    color: #16325c;
    box-shadow: 0 10px 24px rgba(6, 26, 58, .08);
    pointer-events: none;
    animation: bob 7s ease-in-out infinite;
}

.floaters li:nth-child(1) { top: 8%; left: 6%; }
.floaters li:nth-child(2) { top: 16%; right: 5%; animation-delay: -2.2s; }
.floaters li:nth-child(3) { bottom: 10%; left: 8%; animation-delay: -4s; }

@keyframes bob {
    50% { transform: translateY(-8px); }
}

.facts, .process, .bento, .split, .plans, .role-grid, .cycles {
    display: grid;
    gap: 14px;
}

.facts { grid-template-columns: repeat(4, 1fr); margin: .4rem auto 2rem; }

.facts article, .card, .plan, .panel, .sheet {
    background: rgba(252, 253, 255, .94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.facts article { padding: 1rem 1.05rem 1.15rem; }

.facts strong, .kpi strong {
    display: block;
    font-family: Fraunces, Palatino, serif;
    font-size: 1.7rem;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1.1;
}

.facts span, .kpi span, .muted { color: var(--muted); }

.band { padding: 3.2rem 0; }

.band.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .28));
    border-block: 1px solid rgba(215, 227, 244, .85);
}

.section-head { max-width: 40rem; margin-bottom: 1.4rem; }

.process { grid-template-columns: repeat(5, 1fr); perspective: 1000px; }

.process article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.process article:nth-child(2) { transform: translateY(14px); }
.process article:nth-child(3) { transform: translateY(28px); }
.process article:nth-child(4) { transform: translateY(14px); }

.process .no {
    font-family: Fraunces, Palatino, serif;
    color: #b7c8e2;
    font-size: 1.4rem;
}

.bento { grid-template-columns: 1.35fr 1fr 1fr; perspective: 1200px; }

.card {
    padding: 1.2rem 1.25rem 1.3rem;
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.tilt-grid .card:hover {
    transform: translateY(-6px) rotateX(4deg) rotateY(-6deg);
    box-shadow: 0 24px 50px rgba(16, 42, 84, .12);
}

.card .group {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
}

.bento .feature { grid-row: span 2; background: linear-gradient(180deg, #fff, #f3f7ff); }

.field-list { columns: 2; padding-left: 1.1rem; margin: .8rem 0 0; }

.field-list li { margin: .2rem 0; }

.split { grid-template-columns: 1.1fr .9fr; align-items: center; }

.stack { position: relative; min-height: 280px; }

.sheet { padding: 1.2rem 1.25rem 1.3rem; }

.sheet.back {
    position: absolute;
    inset: 22px -6px auto 28px;
    height: 210px;
    transform: rotate(4deg);
    z-index: 0;
}

.sheet.front { position: relative; z-index: 1; transform: rotate(-1.6deg); }

.sheet dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: .8rem 0 0; }

.sheet dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.sheet dd { margin: .1rem 0 0; font-weight: 600; }

.role-grid { grid-template-columns: repeat(3, 1fr); }

.role-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.close {
    margin: .5rem auto 4rem;
    padding: 1.8rem 2rem;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    align-items: center;
    color: white;
    background:
        radial-gradient(480px 160px at 100% 0%, rgba(228, 177, 90, .38), transparent 60%),
        linear-gradient(145deg, #0b3b76, #061a3a);
}

.close h2, .close p { color: white; }

.close p { margin: 0; max-width: 40rem; color: #d6e4f6; }

.page-intro { padding: 2.4rem 0 1rem; max-width: 46rem; }

.orbit-wrap {
    height: 460px;
    display: grid;
    place-items: center;
    perspective: 1100px;
}

.orbit {
    position: relative;
    width: 200px;
    height: 112px;
    transform-style: preserve-3d;
    animation: orbit-spin 36s linear infinite;
}

.orbit-wrap:hover .orbit { animation-play-state: paused; }

.orbit article {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .85rem 1rem;
    background: white;
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: 16px;
    box-shadow: var(--shadow);
    backface-visibility: hidden;
    transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(300px);
}

.orbit article strong { font-size: 1rem; }
.orbit article span { color: var(--muted); font-size: .82rem; }

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

.group-block { margin: 0 0 1.8rem; }

.group-block h2 { font-size: 1.7rem; }

.module-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.module-list article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.05rem;
}

.report-cloud { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }

.plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; perspective: 1200px; }

.plan {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    text-decoration: none;
    color: inherit;
    padding: 1.25rem 1.25rem 1.3rem;
    min-height: 100%;
    transition: transform .3s ease;
}

.plan:hover { transform: translateY(-8px); }

.plan.featured {
    background: linear-gradient(180deg, #0d3f7d, #061a3a);
    color: white;
    border-color: transparent;
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(6, 26, 58, .25);
}

.plan.featured:hover { transform: translateY(-18px); }

.plan.featured h3, .plan.featured p, .plan.featured li { color: white; }

.plan .tag {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
}

.plan ul { margin: .2rem 0 .6rem; padding-left: 1.1rem; }

.plan .go { margin-top: auto; font-weight: 700; }

.cycles { grid-template-columns: 1fr 1fr; margin: 1rem 0 1.6rem; }

.cycles a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.cycles strong { display: block; font-size: 1.15rem; }

.compare { width: 100%; border-collapse: collapse; background: white; border-radius: 18px; overflow: hidden; }

.compare th, .compare td, .data th, .data td {
    text-align: left;
    padding: .75rem .7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; }

.enquiry { margin-top: .4rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }

.field { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; font-weight: 700; color: #1e3a5f; }

.field input, .field select, .field textarea, .desk input, .desk select, .desk textarea {
    font-weight: 500;
    color: var(--text);
    background: white;
    border: 1px solid #d5e2f2;
    border-radius: 12px;
    padding: .7rem .8rem;
    width: 100%;
}

.span-2 { grid-column: span 2; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.note, .fine { color: var(--muted); font-size: .86rem; }

.confirm {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.3rem;
    box-shadow: var(--shadow);
}

.validation-message, .validation-summary { color: var(--bad); font-size: .78rem; font-weight: 600; }

.validation-summary ul { margin: .2rem 0 .6rem; padding-left: 1.1rem; }

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }

.invalid { outline: 1px solid #e50000; }

.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; margin-top: 1rem; }

.foot { align-items: start; min-height: 0; }

.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

.site-footer nav a { color: #1e3a5f; font-weight: 600; text-decoration: none; }

.desk-page { width: min(1280px, calc(100% - 1.25rem)); margin: 0 auto 3rem; }

.desk-intro {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding: 1.6rem 0 1rem;
}

.desk-intro h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }

.script { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .8rem 0 0; list-style: none; }

.script li {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .45rem .65rem;
    font-size: .86rem;
}

.desk-shell {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 740px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #d5e2f2;
    background: #eef4ff;
    box-shadow: 0 30px 60px rgba(6, 26, 58, .14);
}

.desk-side {
    background: linear-gradient(165deg, #061a3a 0%, #0b3b76 56%, #12285c 100%);
    color: #e7f0ff;
    display: flex;
    flex-direction: column;
    padding: 16px 12px 12px;
    gap: 8px;
}

.side-brand { display: flex; gap: .6rem; align-items: center; padding: 0 6px 8px; }

.side-brand .mark { width: 40px; height: 40px; }

.side-brand strong { display: block; color: white; font-family: Outfit, "Segoe UI", sans-serif; letter-spacing: 0; font-size: .95rem; line-height: 1.2; }

.side-brand small { color: #b9cce8; }

.nav-label {
    margin: .7rem 8px .15rem;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8fa9c9;
    font-weight: 700;
}

.desk-side button.nav-item {
    width: 100%;
    text-align: left;
    background: transparent;
    color: #e5f0ff;
    border: 0;
    border-radius: 12px;
    padding: .62rem .75rem;
    font-weight: 600;
}

.desk-side button.nav-item:hover { background: rgba(255, 255, 255, .08); }

.desk-side button.nav-item.on { background: #2f6bff; color: white; font-weight: 700; }

.who {
    margin-top: auto;
    background: #062246;
    border: 1px solid #17416f;
    border-radius: 12px;
    padding: .7rem .75rem;
}

.who strong { color: white; display: block; font-size: .86rem; }

.who span { color: #9fb8d9; font-size: .78rem; }

.desk-main { display: flex; flex-direction: column; min-width: 0; }

.desk-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fbff;
    border-bottom: 1px solid #d7e3f4;
}

.desk-top h2 { font-family: Outfit, "Segoe UI", sans-serif; font-size: 1.15rem; letter-spacing: 0; margin: 0; }

.desk-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.seg { display: flex; background: white; border: 1px solid #d7e3f4; border-radius: 999px; padding: 3px; }

.seg button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: .38rem .7rem;
    font-weight: 700;
    color: #1e3a5f;
}

.seg button.on { background: #2f6bff; color: white; }

.desk-search { position: relative; min-width: min(240px, 100%); }

.search-pop {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(6, 26, 58, .12);
    padding: .3rem;
}

.search-pop button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 10px;
    padding: .5rem .65rem;
}

.search-pop button:hover { background: #eef4ff; }

.desk-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }

.flash {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    align-items: center;
    background: #eaf8f1;
    color: #065f46;
    border: 1px solid #b7ebD0;
    border-radius: 12px;
    padding: .55rem .75rem;
    font-weight: 600;
}

.flash button { border: 0; background: transparent; color: inherit; font-weight: 700; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.kpi {
    background: white;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    padding: .85rem .9rem;
    box-shadow: 0 10px 24px rgba(75, 101, 132, .08);
}

.kpi span { font-size: .78rem; font-weight: 700; }

.panel { padding: 1rem; background: white; }

.panel h3 { font-family: Outfit, "Segoe UI", sans-serif; letter-spacing: 0; font-size: 1rem; }

.bars { display: flex; align-items: end; gap: 10px; height: 180px; }

.bars .col { flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; height: 100%; gap: .3rem; }

.bar-fill {
    width: 100%;
    max-width: 46px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, #60a5fa, #1d4ed8);
    min-height: 6px;
}

.bars small { color: var(--muted); font-size: .75rem; text-align: center; }

.table-wrap { overflow: auto; }

.desk table { width: 100%; border-collapse: collapse; font-size: .92rem; }

.desk th {
    text-align: left;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    padding: .45rem .4rem;
}

.desk td { padding: .62rem .4rem; border-top: 1px solid #e6eef8; vertical-align: top; }

.person small, .muted { display: block; color: var(--muted); font-weight: 500; }

.quick { display: flex; flex-wrap: wrap; gap: .5rem; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 12px; align-items: start; }

.stack-form { display: flex; flex-direction: column; gap: .7rem; }

.check { flex-direction: row; align-items: center; gap: .5rem; font-weight: 600; }

.check input { width: auto; }

.err { color: var(--bad); font-size: .84rem; font-weight: 700; margin: 0; }

.slip {
    background: #fffdf8;
    border: 1px dashed #e4b15a;
    border-radius: 16px;
    padding: .9rem 1rem;
}

.slip dl { display: grid; grid-template-columns: 8rem 1fr; gap: .25rem .4rem; margin: .4rem 0 0; }

.slip dt { color: var(--muted); font-size: .78rem; }

.tabs { display: flex; flex-wrap: wrap; gap: .35rem; }

.tabs button {
    border: 1px solid #d5e2f2;
    background: white;
    border-radius: 999px;
    padding: .4rem .75rem;
    font-weight: 700;
    color: #1e3a5f;
}

.tabs button.on { background: #12325f; color: white; border-color: #12325f; }

.chip.ok { background: #e7f8ef; color: var(--ok); border-color: transparent; }
.chip.warn { background: #fff4df; color: var(--warn); border-color: transparent; }
.chip.bad { background: #fee2e2; color: var(--bad); border-color: transparent; }
.chip.quiet { background: #eef4ff; color: #1d4ed8; border-color: transparent; }

.blazor-error-boundary {
    background: #9f1239;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
}

.blazor-error-boundary::after { content: "An error has occurred."; }

@media (max-width: 980px) {
    h1 { font-size: clamp(2.15rem, 4.6vw, 3.3rem); }
    .hero, .facts, .bento, .split, .plans, .role-grid, .work-grid, .kpi-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bento .feature { grid-row: auto; }
    .process { grid-template-columns: 1fr 1fr; }
    .process article { transform: none; }
    .orbit-wrap { display: none; }
    .plan.featured { transform: none; }
    .module-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .site-header .bar { flex-wrap: wrap; min-height: 68px; padding: .6rem 0; }
    .site-header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: .7rem;
    }
    .site-header nav.open { display: flex; }
    .hero, .facts, .process, .bento, .split, .plans, .role-grid, .cycles, .form-grid, .work-grid, .kpi-row, .desk-shell, .gallery, .contact-split {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-copy, .gallery figure, .banner, .wrap { min-width: 0; }
    .span-2 { grid-column: auto; }
    .campus-frame { min-height: 420px; }
    .close, .desk-intro, .foot { flex-direction: column; align-items: start; }
    .field-list, .sheet dl { columns: 1; grid-template-columns: 1fr; }
    .desk-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .desk-side .nav-label, .who { display: none; }
    .desk-side button.nav-item { width: auto; }
    .side-brand { padding-bottom: 0; }
    .floaters li:nth-child(2), .floaters li:nth-child(3) { display: none; }
}

.icon3d {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 12px 14px rgba(109, 40, 217, .28));
}

.icon3d.sm { width: 36px; height: 36px; }

.mark { width: 44px; height: 44px; object-fit: contain; }

.gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 12px;
    margin: 0 auto 2rem;
}

.gallery figure {
    margin: 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(109, 40, 217, .18);
}

.gallery figure:first-child { grid-row: span 2; }

.gallery img, .banner img, .file-stage > img, .contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    color: white;
    background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(236, 72, 153, .85));
    border-radius: 999px;
    padding: .28rem .7rem;
    font-size: .78rem;
    font-weight: 700;
}

.banner {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 320px;
    margin: 1.2rem auto 1.4rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(109, 40, 217, .2);
}

.banner img { position: absolute; inset: 0; }

.banner div {
    position: relative;
    z-index: 1;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem 2rem;
    background: linear-gradient(100deg, rgba(76, 29, 149, .88) 0%, rgba(219, 39, 119, .55) 58%, rgba(245, 158, 11, .15) 100%);
}

.banner h1, .banner .lede, .banner .eyebrow { color: white; }

.banner .lede { max-width: 40rem; }

.banner.slim { min-height: 180px; margin-bottom: .4rem; }

.banner.slim div { min-height: 180px; }

.file-stage {
    position: relative;
    min-height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(109, 40, 217, .18);
}

.file-stage > img { position: absolute; inset: 0; }

.file-stage .sheet.front {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 8%;
    background: rgba(255, 255, 255, .94);
}

.contact-split {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 16px;
    align-items: stretch;
    padding-bottom: 3rem;
}

.contact-photo {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    min-height: 460px;
    height: 100%;
    position: sticky;
    top: 92px;
    box-shadow: 0 18px 40px rgba(109, 40, 217, .18);
}

.contact-photo img { position: absolute; inset: 0; }

.module-list article, .role-grid article, .process article, .cycles a {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2));
}

body {
    background:
        radial-gradient(900px 520px at -10% -10%, rgba(236, 72, 153, .45), transparent 55%),
        radial-gradient(800px 480px at 110% 0%, rgba(34, 211, 238, .45), transparent 50%),
        radial-gradient(700px 420px at 80% 30%, rgba(124, 58, 237, .28), transparent 55%),
        radial-gradient(640px 420px at 0% 80%, rgba(245, 158, 11, .35), transparent 50%),
        radial-gradient(500px 360px at 70% 100%, rgba(16, 185, 129, .22), transparent 50%),
        #f6f3ff;
}

h1 em {
    background: linear-gradient(90deg, #7c3aed, #db2777 45%, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow { color: #c026d3; }

.site-header {
    background: linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 241, 242, .78) 40%, rgba(237, 233, 254, .82));
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #ec4899 58%, #f59e0b);
    box-shadow: 0 12px 28px rgba(219, 39, 119, .32);
}

.facts article:nth-child(1) { background: linear-gradient(160deg, #ddd6fe, #fff 70%); }
.facts article:nth-child(2) { background: linear-gradient(160deg, #fbcfe8, #fff 70%); }
.facts article:nth-child(3) { background: linear-gradient(160deg, #a5f3fc, #fff 70%); }
.facts article:nth-child(4) { background: linear-gradient(160deg, #fde68a, #fff 70%); }

.process article:nth-child(1) { background: linear-gradient(180deg, #ede9fe, #fff); }
.process article:nth-child(2) { background: linear-gradient(180deg, #fce7f3, #fff); }
.process article:nth-child(3) { background: linear-gradient(180deg, #cffafe, #fff); }
.process article:nth-child(4) { background: linear-gradient(180deg, #d1fae5, #fff); }
.process article:nth-child(5) { background: linear-gradient(180deg, #ffedd5, #fff); }

.card, .role-grid article, .module-list article, .cycles a, .panel {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #c4b5fd, #f9a8d4, #67e8f9) border-box;
    border: 1px solid transparent;
}

.bento .feature {
    background:
        linear-gradient(180deg, #f5f3ff, #fff) padding-box,
        linear-gradient(135deg, #7c3aed, #ec4899, #f59e0b) border-box;
}

.close {
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(250, 204, 21, .7), transparent 60%),
        linear-gradient(120deg, #6d28d9, #db2777 55%, #ea580c);
}

.campus-frame {
    background:
        radial-gradient(420px 220px at 20% 20%, rgba(236, 72, 153, .35), transparent 60%),
        radial-gradient(380px 220px at 80% 10%, rgba(34, 211, 238, .4), transparent 60%),
        linear-gradient(180deg, #efe9ff, #ffe4f1);
    box-shadow: 0 30px 70px rgba(109, 40, 217, .2), inset 0 1px 0 white;
}

.plan.featured {
    background: linear-gradient(165deg, #6d28d9, #db2777 58%, #f59e0b);
    color: white;
}

.plan.featured .tag, .plan.featured .go { color: #fff7ed; }

.eyebrow::before { background: linear-gradient(90deg, #7c3aed, #ec4899, #f59e0b); }

.pills li:nth-child(6n + 1) { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }
.pills li:nth-child(6n + 2) { background: #fce7f3; border-color: #f9a8d4; color: #9d174d; }
.pills li:nth-child(6n + 3) { background: #cffafe; border-color: #67e8f9; color: #155e75; }
.pills li:nth-child(6n + 4) { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.pills li:nth-child(6n + 5) { background: #ffedd5; border-color: #fdba74; color: #9a3412; }
.pills li:nth-child(6n + 6) { background: #fef9c3; border-color: #fde047; color: #854d0e; }

.site-header nav a.active {
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    color: #6d28d9;
}

.band.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(237, 233, 254, .35));
}

body { background-attachment: fixed; }

.plan:not(.featured) { background: linear-gradient(180deg, #fff, #faf5ff); }

.desk-side {
    background: linear-gradient(168deg, #4c1d95 0%, #7c3aed 46%, #db2777 100%);
}

.desk-side button.nav-item {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.desk-side .icon3d { width: 28px; height: 28px; filter: none; flex: none; }

.desk-side button.nav-item.on {
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.who {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .3);
}

.desk-shell {
    border: 0;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, .7),
        0 24px 50px rgba(109, 40, 217, .28);
}

@media (max-width: 980px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .gallery figure:first-child { grid-row: auto; grid-column: span 2; height: 220px; }
    .contact-split { grid-template-columns: 1fr; }
    .contact-photo { position: static; min-height: 220px; }
}

.foot {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.15fr);
    gap: 1.2rem 1.6rem;
}

.legal-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

.legal-links span {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c026d3;
}

.legal-links a { font-weight: 600; text-decoration: none; }

.legal {
    width: min(740px, calc(100% - 2rem));
    margin: 0 auto 3.5rem;
}

.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.legal h2 { font-size: 1.35rem; margin: 1.55rem 0 .4rem; }

.legal ul { margin: 0 0 .9rem; padding-left: 1.15rem; }

.legal li { margin: .22rem 0; }

.legal .legal-links { margin-top: 2.2rem; }

@media (max-width: 980px) {
    .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    h1 { font-size: clamp(2.05rem, 8.2vw, 2.55rem); }
    .foot { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: minmax(0, 1fr); }
    .gallery figure:first-child { grid-column: auto; }
    .banner div, .banner.slim div { min-height: 220px; }
    .file-stage { min-height: 460px; }
    .contact-photo { height: 240px; min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
}
