/* ═══════════════════════════════════════════════════════════════════════
   maxhuisman.space — section-based layout · 3D protagonist
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --bg:          #0A1220;
    --bg-2:        #0F1C30;
    --bg-3:        #14253E;
    --slate:       #1F4E79;
    --slate-light: #3A6FA0;
    --slate-faint: #76C8FF;
    --coral:       #E55934;
    --coral-soft:  #FF7A57;
    --cream:       #F5F7FA;
    --green:       #1A7F37;
    --green-light: #95F2A8;
    --gold:        #F0B429;

    --dim:    rgba(245, 247, 250, 0.50);
    --dimmer: rgba(245, 247, 250, 0.25);
    --line:   rgba(118, 200, 255, 0.10);
    --line-2: rgba(118, 200, 255, 0.20);

    --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --sans:  'Inter', system-ui, -apple-system, sans-serif;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

    --pad-x: clamp(20px, 5vw, 80px);
    --section-y: clamp(80px, 12vh, 160px);

    --topbar-h: 56px;
    --max-w: 1200px;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button, input, a { font: inherit; color: inherit; }

html { scroll-behavior: smooth; background: var(--bg); }
body {
    background: var(--bg);
    color: var(--cream);
    font-family: var(--sans);
    line-height: 1.55;
    overflow-x: hidden;
    /* iOS Safari: prevent rubber-band bounce that messes with ScrollTrigger */
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* subtle grid background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(229, 89, 52, 0.07), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(118, 200, 255, 0.05), transparent 60%);
    pointer-events: none;
    z-index: -2;
}

::selection { background: var(--coral); color: var(--bg); }

a { color: var(--slate-faint); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral); }

.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.accent { color: var(--coral); }
.hl { color: var(--cream); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════
   3D CANVAS — fixed full-viewport, behind content
   ═══════════════════════════════════════════════════════════════════════ */
#stage-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   BOOT SPLASH — removed once 3D scene ready
   ═══════════════════════════════════════════════════════════════════════ */
#boot {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--bg);
    transition: opacity 0.6s ease;
}
#boot.gone { opacity: 0; pointer-events: none; }
.boot-text {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.boot-bar {
    width: 200px; height: 1px;
    background: var(--line);
    overflow: hidden;
    position: relative;
}
.boot-bar > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    background: var(--coral);
    animation: bootSlide 1.2s ease-in-out infinite;
}
@keyframes bootSlide {
    0%   { left: -30%; }
    100% { left: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TOPBAR — minimal sticky header
   ═══════════════════════════════════════════════════════════════════════ */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    background: rgba(10, 18, 32, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
}
.brand-mark {
    color: var(--coral);
    font-size: 12px;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
.brand-name { letter-spacing: 0.02em; }

.nav {
    display: flex;
    gap: 26px;
    font-family: var(--mono);
    font-size: 12.5px;
}
.nav a {
    color: var(--dim);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.nav a:hover { color: var(--cream); }

.topbar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
}
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    box-shadow: 0 0 12px var(--green-light);
    animation: statusPulse 1.6s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 12px var(--green-light); transform: scale(1); }
    50%      { box-shadow: 0 0 18px var(--green-light); transform: scale(1.2); }
}

/* scroll progress at very top edge */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--slate-faint), var(--coral));
    z-index: 100;
    transition: width 0.05s linear;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAIN + SECTIONS
   ═══════════════════════════════════════════════════════════════════════ */
main {
    position: relative;
    z-index: 1;
    padding-top: var(--topbar-h);
}
.section {
    position: relative;
    min-height: 80vh;
    padding: var(--section-y) 0;
    display: flex;
    align-items: center;
}
.section-hero {
    min-height: calc(100vh - var(--topbar-h));
    /* iOS Safari toolbar: svh = "small viewport height" with toolbar
       visible. Prevents the layout-shift jank when bar collapses on
       scroll. Falls back to vh on browsers without svh support. */
    min-height: calc(100svh - var(--topbar-h));
    padding-top: clamp(40px, 8vh, 100px);
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.kicker-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--slate-faint);
    box-shadow: 0 0 10px var(--slate-faint);
    animation: pulse 2s ease-in-out infinite;
}
.kicker-dot.kd-coral { background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.kicker-dot.kd-green { background: var(--green-light); box-shadow: 0 0 10px var(--green-light); }

.h-section {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0 0 24px;
    max-width: 920px;
}

.body {
    font-size: clamp(15px, 1.15vw, 17px);
    color: var(--cream);
    max-width: 640px;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
    gap: 40px;
    align-items: center;
}
.hero-text { padding-right: 20px; }
.display {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--cream);
    margin: 0 0 28px;
}
.d-line { display: block; }
.display .d-line:first-child {
    font-size: clamp(56px, 9.5vw, 130px);
    font-weight: 500;
}
.display .d-line:last-child {
    font-size: clamp(40px, 7vw, 95px);
    font-weight: 300;
    font-style: italic;
}
.display em { font-style: italic; }
.display .accent { color: var(--coral); }

.lead {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--cream);
    margin: 0 0 36px;
    max-width: 580px;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--cream);
    background: transparent;
    transition: all 0.2s;
    letter-spacing: 0.04em;
}
@media (hover: hover) {
    .btn:hover {
        border-color: var(--coral);
        background: rgba(229, 89, 52, 0.08);
        color: var(--coral);
        transform: translateY(-2px);
    }
}
.btn:active {
    transform: translateY(0);
    background: rgba(229, 89, 52, 0.15);
}
.btn-primary {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--bg);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--coral-soft);
    border-color: var(--coral-soft);
    color: var(--bg);
}

.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.scroll-arrow { color: var(--slate-faint); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}
.stats-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--line);
    overflow: hidden;
}
.stat {
    padding: clamp(20px, 3vw, 32px);
    background: rgba(15, 28, 48, 0.85);
    text-align: left;
}
.stat-num {
    display: block;
    font-family: var(--mono);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--coral);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-lbl {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.06em;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOOLKIT
   ═══════════════════════════════════════════════════════════════════════ */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
    max-width: 920px;
}
.tool-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 28, 48, 0.85);
    color: var(--cream);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(229, 89, 52, 0) 0%, rgba(229, 89, 52, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
@media (hover: hover) {
    .tool-card:hover {
        border-color: rgba(229, 89, 52, 0.4);
        transform: translateY(-3px);
        color: var(--cream);
    }
    .tool-card:hover::before { opacity: 1; }
}
.tool-card:active { background: rgba(15, 28, 48, 0.95); }
.tool-verb {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--slate-faint);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.tool-name {
    font-family: var(--mono);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
}
.tool-desc {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--cream);
    line-height: 1.4;
}
.tool-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURE (rewind)
   ═══════════════════════════════════════════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}
.feature-title {
    font-family: var(--mono);
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    color: var(--cream);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.feature-pitch {
    font-family: var(--serif);
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--cream);
    margin: 0 0 28px;
    font-weight: 400;
    line-height: 1.25;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checklist li {
    position: relative;
    padding-left: 26px;
    font-size: clamp(14px, 1.05vw, 15.5px);
    line-height: 1.55;
    color: var(--cream);
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0;
    color: var(--green-light);
    font-family: var(--mono);
    font-weight: 700;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11.5px;
}
.chips.chips-center { justify-content: center; }
.chips span {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(15, 28, 48, 0.6);
    color: var(--slate-faint);
}

.terminal-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(10, 18, 32, 0.85);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 28, 48, 0.7);
}
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.r { background: #FF5F56; }
.td.y { background: #FFBD2E; }
.td.g { background: #27C93F; }
.terminal-title {
    margin-left: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--dim);
}
.terminal-body {
    padding: 16px 18px;
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--cream);
}
.tline { white-space: pre-wrap; }
.tline.dim { color: var(--dim); }
.tline.ok  { color: var(--green-light); }
.prompt { color: var(--coral); font-weight: 700; }
.prompt.arrow { color: var(--slate-faint); }

.feature-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 28, 48, 0.5);
}
.feature-stats > div { text-align: center; }
.fs-num {
    display: block;
    font-family: var(--mono);
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}
.fs-lbl {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: 0.06em;
    margin-top: 5px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════
   STRATUM
   ═══════════════════════════════════════════════════════════════════════ */
.section-stratum .container { text-align: center; }
.section-stratum .kicker { justify-content: center; }
.stratum-title {
    font-family: var(--mono);
    font-size: clamp(56px, 10vw, 130px);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: transparent;
    background: linear-gradient(135deg, var(--cream) 0%, var(--slate-faint) 50%, var(--cream) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin: 0 0 12px;
    line-height: 1;
}
.stratum-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: min(1000px, 100%);
    margin: 40px auto 32px;
}
.sn {
    text-align: center;
    padding: 22px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 28, 48, 0.5);
}
.sn-num {
    display: block;
    font-family: var(--mono);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--coral);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.sn-lbl {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: 0.08em;
    margin-top: 8px;
    text-transform: uppercase;
}
.stratum-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.store {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 28, 48, 0.5);
}
.store-tag {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--slate-faint);
    letter-spacing: 0.18em;
}
.store-name {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--cream);
}
.store-arrow {
    color: var(--coral);
    font-family: var(--mono);
    font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════
   OTHERS
   ═══════════════════════════════════════════════════════════════════════ */
.others-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}
.other-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 28, 48, 0.5);
    color: var(--cream);
    transition: all 0.3s;
}
@media (hover: hover) {
    .other-card:hover {
        border-color: rgba(229, 89, 52, 0.4);
        transform: translateY(-4px);
        color: var(--cream);
    }
}
.oc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.oc-name {
    font-family: var(--mono);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.01em;
}
.oc-version {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--coral);
    border: 1px solid rgba(229, 89, 52, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}
.oc-pitch {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--cream);
    line-height: 1.35;
}
.oc-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--dim);
    line-height: 1.45;
}
.oc-bullets li::before {
    content: "·";
    color: var(--slate-faint);
    margin-right: 8px;
    font-weight: 700;
}
.oc-stack {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--slate-faint);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════════════════════ */
.career {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    width: min(900px, 100%);
    position: relative;
}
.career::before {
    content: "";
    position: absolute;
    left: 110px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--slate-light), transparent);
    opacity: 0.5;
}
.evt {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 12px 0;
    align-items: baseline;
}
.evt-dot {
    position: absolute;
    left: 106px;
    top: 22px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--slate-faint);
    box-shadow: 0 0 12px rgba(118, 200, 255, 0.4);
}
.evt-live .evt-dot {
    background: var(--coral);
    box-shadow: 0 0 14px var(--coral);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 14px var(--coral); }
    50%      { box-shadow: 0 0 22px var(--coral); }
}
.evt-distinction .evt-dot {
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold);
}
.evt-when {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--slate-faint);
    text-align: right;
    padding-right: 20px;
    letter-spacing: 0.04em;
}
.evt-what {
    font-size: clamp(14px, 1.15vw, 15.5px);
    color: var(--cream);
    line-height: 1.5;
    padding-left: 20px;
}
.evt-what strong {
    color: var(--coral);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════════════ */
.section-process .container { text-align: center; }
.section-process .kicker { justify-content: center; }
.manifesto {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.15;
    color: var(--cream);
    max-width: 1000px;
    margin: 0 auto 60px;
    font-weight: 400;
    padding: 0;
    position: relative;
}
.m-quote {
    color: var(--coral);
    font-size: 1.3em;
    line-height: 0;
    position: relative;
    top: 0.2em;
    margin-right: 4px;
}
.tenets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: min(1100px, 100%);
    margin: 0 auto;
}
.tenet {
    text-align: left;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 28, 48, 0.5);
}
.tenet-num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--coral);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.tenet-h {
    font-family: var(--mono);
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 700;
    color: var(--cream);
    margin: 0 0 8px;
}
.tenet p {
    font-size: clamp(13px, 1.05vw, 14.5px);
    color: var(--dim);
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════ */
.section-contact .container { text-align: center; }
.section-contact .kicker { justify-content: center; }
.contact-cta {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 110px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0 0 50px;
}
.contact-cta .accent {
    font-style: italic;
    font-weight: 500;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(720px, 100%);
    margin: 0 auto 40px;
}
.ci {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 28, 48, 0.5);
    text-align: left;
    color: var(--cream);
    transition: all 0.2s;
}
@media (hover: hover) {
    .ci:hover {
        border-color: rgba(229, 89, 52, 0.4);
        background: rgba(15, 28, 48, 0.75);
        transform: translateY(-2px);
    }
}
.ci:active { background: rgba(15, 28, 48, 0.85); }
.ci-key {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.ci-val {
    font-family: var(--mono);
    font-size: clamp(12px, 1.05vw, 14px);
    color: var(--cream);
    text-align: right;
}
.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1px solid rgba(149, 242, 168, 0.3);
    border-radius: 999px;
    background: rgba(26, 127, 55, 0.08);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--cream);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 36px var(--pad-x) 50px;
    border-top: 1px solid var(--line);
    background: rgba(10, 18, 32, 0.6);
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--dim);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    :root { --topbar-h: 50px; --section-y: clamp(60px, 9vh, 100px); }
    .topbar-status { display: none; }
    .nav { gap: 16px; font-size: 11.5px; }
    .hero-grid, .about-grid, .feature-grid { grid-template-columns: 1fr; gap: 32px; }
    .toolkit-grid { grid-template-columns: 1fr; }
    .others-grid { grid-template-columns: 1fr; }
    .tenets { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stratum-numbers { grid-template-columns: repeat(2, 1fr); }
    .stratum-stack { gap: 10px; }
    .store-arrow { display: none; }
    .career::before { left: 14px; }
    .evt { grid-template-columns: 14px 1fr; gap: 12px; }
    .evt-dot { left: 10px; }
    .evt-when {
        text-align: left;
        padding-right: 0;
        grid-column: 2;
        margin-bottom: -4px;
    }
    .evt-what { grid-column: 2; padding-left: 0; }
}
@media (max-width: 600px) {
    .nav { display: none; }
    .stats-card { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0s !important; transition: none !important; }
    #stage-canvas { display: none; }
}
