/* ============================================================
   NorthPeak Digital Infrastructure — main.css
   Aesthetic: industrial editorial / dark modernist
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
:root {
    --ink-base: #0B0E0D;
    --ink-paper: #11161A;
    --ink-elevated: #161C20;
    --ink-line: #232B30;
    --ink-line-strong: #3A444A;

    --fog-100: #F6F4EE;
    --fog-200: #E5E1D6;
    --fog-300: #B6B0A2;
    --fog-400: #6E6A60;

    /* Semi-transparent variants — used for section backgrounds so the
       page-wide parallax illustration dominates. Lower alpha = more bg. */
    --fog-100-trans: rgba(246, 244, 238, 0.55);
    --ink-base-trans: rgba(11, 14, 13, 0.68);
    --ink-paper-trans: rgba(17, 22, 26, 0.68);

    --accent-primary: #E8C547;
    --accent-cool: #4FB3D9;
    --accent-warm: #E07A3C;
    --accent-success: #7FD8A8;

    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    --container-max: 1440px;
    --container-pad: clamp(20px, 4vw, 64px);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--ink-base);
}

/* ---------- 1b. Page-wide parallax background ---------- */
/* One isometric scene SVG fixed behind everything. JS translates it slowly
   as the user scrolls the whole page, so the same world drifts in the
   background from top to bottom (Hut-8 ambient world). All section
   backgrounds use rgba alpha 0.9-0.94 so this layer is faintly visible
   throughout the page. */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Opacity is scroll-driven by JS via --bg-alpha (0.18 → 0.65). */
    opacity: var(--bg-alpha, 0.28);
    transition: opacity 0.15s linear;
}
.page-bg-img {
    position: absolute;
    top: 50%;
    left: 0;
    height: 145vh;
    width: auto;
    max-width: none;
    transform: translate3d(0, -50%, 0) scale(var(--bg-scale, 1));
    transform-origin: 50% 50%;
    will-change: transform;
}

/* Stack content above the bg */
main, .site-header, .site-footer { position: relative; z-index: 1; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fog-200);
    background: var(--ink-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0; }

/* ---------- 2. Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: rgba(11, 14, 13, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, background 0.3s ease;
}

.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: rgba(11, 14, 13, 0.92); }

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 18px var(--container-pad);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fog-100);
}

.brand-mark { width: 32px; height: 32px; color: var(--accent-primary); }

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

.brand-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.brand-suffix {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--fog-400);
    margin-top: 3px;
}

.primary-nav {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.primary-nav a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--fog-200);
    padding: 8px 0;
    transition: color 0.2s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.primary-nav a:hover { color: var(--fog-100); }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

.primary-nav a.is-active { color: var(--fog-100); }
.primary-nav a.is-active::after { transform: scaleX(1); }

.header-meta { display: flex; align-items: center; gap: 16px; }

.ticker-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fog-200);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 0 0 rgba(127, 216, 168, 0.6);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(127, 216, 168, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(127, 216, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(127, 216, 168, 0); }
}

.ticker-symbol { font-weight: 500; letter-spacing: 0.05em; }
.ticker-price { color: var(--fog-100); }
.ticker-delta.is-up { color: var(--accent-success); }
.ticker-delta.is-down { color: var(--accent-warm); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--fog-100); }

/* ---------- 3. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 140px var(--container-pad) 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 75% 30%, #1B2127 0%, #0B0E0D 60%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
    position: relative;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(232, 197, 71, 0.06);
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-primary);
    margin-bottom: 40px;
    cursor: pointer;
    transition: background 0.2s ease;
    animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow:hover { background: rgba(232, 197, 71, 0.12); }

.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(232, 197, 71, 0.6);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(48px, 8vw, 124px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--fog-100);
    margin-bottom: 40px;
}

.hero-title .line-1, .hero-title .line-2 { display: block; }
.hero-title .line-1 { animation: fadeInUp 0.8s 0.1s ease both; }
.hero-title .line-2 { animation: fadeInUp 0.8s 0.25s ease both; }

.hero-title em {
    font-style: italic;
    color: var(--accent-primary);
    font-weight: 400;
}

.hero-lede {
    max-width: 580px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--fog-300);
    margin-bottom: 48px;
    animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 100px;
    animation: fadeInUp 0.8s 0.55s ease both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 100px;
    transition: all 0.25s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-large { padding: 18px 32px; font-size: 15px; }

.btn-primary {
    background: var(--fog-100);
    color: var(--ink-base);
}

.btn-primary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 197, 71, 0.25);
}

.btn-primary svg { transition: transform 0.25s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--ink-line-strong);
    color: var(--fog-100);
}

.btn-ghost:hover {
    border-color: var(--fog-200);
    background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink-line);
    padding-top: 32px;
    animation: fadeInUp 0.8s 0.7s ease both;
}

.hero-stat {
    padding: 0 24px;
    border-right: 1px solid var(--ink-line);
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }

.hero-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    color: var(--fog-100);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-value em {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.45em;
    color: var(--fog-400);
    margin-left: 4px;
    font-weight: 400;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fog-400);
    text-transform: uppercase;
}

.hero-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 0;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--fog-400);
    animation: marquee 38s linear infinite;
}

.marquee-track span { flex-shrink: 0; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- 4. Section primitives ---------- */
section { position: relative; }

.section-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px var(--container-pad) 64px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--fog-400);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 5.5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--fog-100);
    max-width: 1100px;
    margin-bottom: 24px;
}

.title-accent {
    font-style: italic;
    color: var(--fog-400);
    font-weight: 300;
}

.section-lede {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fog-300);
}
/* ---------- 4b. Light-on-light text variants (for white-bg sections) ---------- */
.section-eyebrow--dark { color: rgba(11, 14, 13, 0.5); }
.section-title--dark { color: var(--ink-base); }
.title-accent--dark { color: rgba(11, 14, 13, 0.4); }
.section-lede--dark { color: rgba(11, 14, 13, 0.7); }

/* ---------- 4d. Chip reveal (sticky-pinned PCB build-up) ---------- */
/* The .chip section is 600vh tall. Inside, .chip-sticky stays pinned for the
   whole scroll. A top-down PCB SVG fills the viewport. JS reads scroll
   progress (0..1) and toggles .is-on on each <g class="chip-part"
   data-reveal="0.NN"> inside the SVG when progress >= reveal threshold —
   so each component fades-in / pops-in one at a time, building up the whole
   board. Apple M-series chip page energy. */
.chip {
    position: relative;
    height: 800vh;
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
    border-top: 1px solid rgba(11, 14, 13, 0.08);
}

.chip-sticky {
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
}

.chip-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--fog-100);
    display: flex;
    flex-direction: column;
}

.chip-frame {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(140px, 22vh, 240px) clamp(28px, 6vw, 80px) clamp(80px, 10vh, 110px);
}

.chip-svg {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    pointer-events: none;
}

.chip-hud {
    position: absolute;
    top: clamp(60px, 9vh, 110px);
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
    text-align: center;
    color: var(--ink-base);
    padding: 0 clamp(28px, 6vw, 80px);
}

.chip-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: rgba(11, 14, 13, 0.55);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.chip-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    color: var(--ink-base);
}

.chip-title em {
    font-style: italic;
    color: rgba(11, 14, 13, 0.4);
    font-weight: 300;
}

.chip-lede {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(11, 14, 13, 0.6);
    max-width: 520px;
    margin: 0 auto 0;
}

.chip-progress {
    position: absolute;
    bottom: clamp(44px, 6vh, 70px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: clamp(220px, 36vw, 480px);
    height: 1px;
    background: rgba(11, 14, 13, 0.14);
    overflow: hidden;
    pointer-events: none;
}

.chip-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-warm);
    transition: width 0.1s linear;
}

.chip-progress-label {
    position: absolute;
    bottom: clamp(28px, 4vh, 48px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: rgba(11, 14, 13, 0.55);
    text-transform: uppercase;
    pointer-events: none;
}

.chip-progress-current {
    color: var(--ink-base);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.chip-progress-divider { color: rgba(11, 14, 13, 0.3); margin: 0 4px; }
.chip-progress-total { color: rgba(11, 14, 13, 0.4); }
.chip-progress-label small { display: inline-block; margin-left: 10px; opacity: 0.7; }

@media (max-width: 1024px) {
    .chip { height: 500vh; }
    .chip-title { font-size: clamp(28px, 5.5vw, 44px); }
}

@media (max-width: 640px) {
    .chip { height: 420vh; }
    .chip-frame { padding: 130px 16px 80px; }
    .chip-lede { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .chip { height: auto; }
    .chip-sticky { position: static; height: 90vh; }
}

/* ---------- 4c. Dual statement (mission + strategy on white) ---------- */
.dual-statement {
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
    color: var(--ink-base);
    padding: clamp(80px, 12vh, 140px) var(--container-pad);
}

.dual-statement-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.dual-statement-card {
    border-top: 1px solid rgba(11, 14, 13, 0.12);
    padding-top: 24px;
}

.dual-statement-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(11, 14, 13, 0.5);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.dual-statement-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}

.dual-statement-title em {
    font-style: italic;
    color: var(--accent-warm);
    font-weight: 400;
}

.dual-statement-body {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(11, 14, 13, 0.72);
    max-width: 480px;
}

/* ---------- 5. Platform: Layer 1.0 / 2.0 / 3.0 ---------- */
.platform {
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
    color: var(--ink-base);
    padding-bottom: 120px;
    border-top: 1px solid rgba(11, 14, 13, 0.08);
}

.platform-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(11, 14, 13, 0.08);
    border: 1px solid rgba(11, 14, 13, 0.08);
}

.platform-layer {
    background: var(--fog-100);
    padding: 56px 40px;
    position: relative;
    transition: background 0.3s ease;
}

.platform-layer:hover { background: rgba(11, 14, 13, 0.025); }

.platform-layer-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.platform-layer-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(11, 14, 13, 0.45);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.platform-layer-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(11, 14, 13, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-base);
}

.platform-layer-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 32px;
    color: var(--ink-base);
    letter-spacing: -0.025em;
    margin: 0 0 6px;
}

.platform-layer-tagline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-warm);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.platform-layer-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(11, 14, 13, 0.7);
    margin: 0 0 28px;
}

.platform-layer-items {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
    border-top: 1px solid rgba(11, 14, 13, 0.1);
}

.platform-layer-items li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(11, 14, 13, 0.62);
    letter-spacing: 0.04em;
    padding: 8px 0 8px 20px;
    position: relative;
}

.platform-layer-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 10px;
    height: 1px;
    background: var(--accent-primary);
}

/* ---------- 6. Capacity dashboard (white) ---------- */
.capacity {
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
    color: var(--ink-base);
    padding: 0 var(--container-pad) 120px;
    border-top: 1px solid rgba(11, 14, 13, 0.08);
}

.capacity-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 100px;
}

.capacity-headline {
    margin-bottom: 80px;
}

.capacity-headline .section-eyebrow {
    margin-bottom: 0;
}

.capacity-bigstat {
    display: flex;
    align-items: baseline;
    gap: 32px;
    margin: 32px 0 16px;
    flex-wrap: wrap;
}

.capacity-bigstat-value {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(96px, 16vw, 220px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--ink-base);
}

.capacity-bigstat-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 18px;
}

.capacity-bigstat-unit {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--accent-warm);
    line-height: 1;
}

.capacity-bigstat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(11, 14, 13, 0.5);
    max-width: 220px;
    line-height: 1.5;
}

.capacity-asof {
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(11, 14, 13, 0.55);
    letter-spacing: 0.04em;
}

.capacity-asof strong {
    color: var(--ink-base);
    font-weight: 500;
}

.capacity-section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: rgba(11, 14, 13, 0.5);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.capacity-energy-mix {
    margin-bottom: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(11, 14, 13, 0.1);
}

.capacity-energy-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.energy-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid rgba(11, 14, 13, 0.1);
    border-radius: var(--radius-md);
    background: var(--fog-100);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.energy-pill:hover {
    border-color: var(--accent-warm);
    transform: translateY(-2px);
    background: #fff;
}

.energy-pill svg { color: rgba(11, 14, 13, 0.7); flex-shrink: 0; }
.energy-pill[data-source="hydro"] svg { color: var(--accent-cool); }
.energy-pill[data-source="nuclear"] svg { color: var(--accent-success); }
.energy-pill[data-source="wind"] svg { color: rgba(11, 14, 13, 0.55); }
.energy-pill[data-source="grid"] svg { color: var(--accent-primary); }

.energy-pill > span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(11, 14, 13, 0.6);
    text-transform: uppercase;
}

.energy-pill strong {
    margin-left: auto;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink-base);
}

.capacity-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.capacity-section-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(11, 14, 13, 0.4);
    text-transform: uppercase;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(11, 14, 13, 0.14);
}

.facility-row {
    display: grid;
    grid-template-columns: 220px 1fr 150px 110px 140px;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(11, 14, 13, 0.08);
    transition: padding 0.25s ease, background 0.2s ease;
}

.facility-row:hover {
    padding-left: 12px;
    background: rgba(11, 14, 13, 0.02);
}

.facility-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink-base);
    letter-spacing: -0.015em;
}

.facility-region {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(11, 14, 13, 0.55);
    letter-spacing: 0.05em;
}

.facility-energy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(11, 14, 13, 0.55);
    text-transform: uppercase;
}

.facility-energy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-warm);
}

.facility-row[data-energy="hydro"] .facility-energy-dot { background: var(--accent-cool); }
.facility-row[data-energy="nuclear"] .facility-energy-dot { background: var(--accent-success); }
.facility-row[data-energy="wind"] .facility-energy-dot { background: rgba(11, 14, 13, 0.5); }
.facility-row[data-energy="grid"] .facility-energy-dot { background: var(--accent-primary); }

.facility-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(11, 14, 13, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facility-mw {
    text-align: right;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink-base);
}

.facility-mw strong {
    font-size: 30px;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.facility-mw span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(11, 14, 13, 0.5);
    margin-left: 6px;
    letter-spacing: 0.05em;
}

/* ---------- 7. Businesses (deep dive on white) ---------- */
.businesses {
    background-color: var(--fog-100-trans);
    background-image: url("/images/pcb-pattern.svg");
    background-repeat: repeat;
    background-size: 320px 320px;
    color: var(--ink-base);
    padding-bottom: 120px;
    border-top: 1px solid rgba(11, 14, 13, 0.08);
}

.businesses-list {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(11, 14, 13, 0.08);
    border: 1px solid rgba(11, 14, 13, 0.08);
}

.business-card {
    --business-accent: var(--accent-primary);
    background: var(--fog-100);
    padding: 56px 48px;
    position: relative;
    transition: background 0.3s ease;
}

.business-card:hover { background: rgba(11, 14, 13, 0.025); }

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--business-accent);
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.business-card:hover::before { width: 100%; }

.business-card-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(11, 14, 13, 0.4);
    letter-spacing: 0.14em;
    margin-bottom: 32px;
    display: block;
}

.business-card-icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(11, 14, 13, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--business-accent);
    margin-bottom: 32px;
    transition: border-color 0.3s ease;
}

.business-card:hover .business-card-icon {
    border-color: var(--business-accent);
}

.business-card-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 32px;
    color: var(--ink-base);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.business-card-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--business-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.business-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(11, 14, 13, 0.65);
    margin: 0 0 36px;
}

.business-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-base);
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.business-card-link:hover {
    gap: 14px;
    border-bottom-color: var(--business-accent);
}

/* ---------- 7b. Shared icon mask (used by platform-layer-icon, business-card-icon) ---------- */
.platform-layer-icon::before,
.business-card-icon::before {
    content: '';
    width: 22px;
    height: 22px;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

[data-icon="hash"]::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><line x1='4' y1='9' x2='20' y2='9'/><line x1='4' y1='15' x2='20' y2='15'/><line x1='10' y1='3' x2='8' y2='21'/><line x1='16' y1='3' x2='14' y2='21'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><line x1='4' y1='9' x2='20' y2='9'/><line x1='4' y1='15' x2='20' y2='15'/><line x1='10' y1='3' x2='8' y2='21'/><line x1='16' y1='3' x2='14' y2='21'/></svg>");
}

[data-icon="server"]::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='3' y='4' width='18' height='6' rx='1'/><rect x='3' y='14' width='18' height='6' rx='1'/><line x1='7' y1='7' x2='7' y2='7'/><line x1='7' y1='17' x2='7' y2='17'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='3' y='4' width='18' height='6' rx='1'/><rect x='3' y='14' width='18' height='6' rx='1'/><line x1='7' y1='7' x2='7' y2='7'/><line x1='7' y1='17' x2='7' y2='17'/></svg>");
}

[data-icon="cpu"]::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='4' y='4' width='16' height='16' rx='2'/><rect x='9' y='9' width='6' height='6'/><line x1='9' y1='1' x2='9' y2='4'/><line x1='15' y1='1' x2='15' y2='4'/><line x1='9' y1='20' x2='9' y2='23'/><line x1='15' y1='20' x2='15' y2='23'/><line x1='20' y1='9' x2='23' y2='9'/><line x1='20' y1='14' x2='23' y2='14'/><line x1='1' y1='9' x2='4' y2='9'/><line x1='1' y1='14' x2='4' y2='14'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='4' y='4' width='16' height='16' rx='2'/><rect x='9' y='9' width='6' height='6'/><line x1='9' y1='1' x2='9' y2='4'/><line x1='15' y1='1' x2='15' y2='4'/><line x1='9' y1='20' x2='9' y2='23'/><line x1='15' y1='20' x2='15' y2='23'/><line x1='20' y1='9' x2='23' y2='9'/><line x1='20' y1='14' x2='23' y2='14'/><line x1='1' y1='9' x2='4' y2='9'/><line x1='1' y1='14' x2='4' y2='14'/></svg>");
}

[data-icon="bolt"]::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'><polygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'><polygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/></svg>");
}

/* ---------- 7c. Responsive overrides for new sections ---------- */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: 1fr; }
    .dual-statement-inner { grid-template-columns: 1fr; gap: 48px; }
    .capacity-energy-icons { grid-template-columns: repeat(2, 1fr); }
    .facility-row { grid-template-columns: 160px 1fr 110px 80px 100px; gap: 16px; }
    .facility-name { font-size: 18px; }
    .facility-mw strong { font-size: 24px; }
    .businesses-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .capacity-energy-icons { grid-template-columns: 1fr; }
    .facility-row {
        grid-template-columns: 1fr auto;
        gap: 6px 16px;
        padding: 20px 0;
    }
    .facility-region { grid-column: 1 / -1; font-size: 11px; }
    .facility-energy { grid-column: 1 / 2; }
    .facility-status { grid-column: 1 / 2; }
    .facility-mw { grid-row: 1 / 2; grid-column: 2 / 3; }
    .business-card { padding: 40px 28px; }
    .platform-layer { padding: 40px 28px; }
}
/* ---------- 6. Metrics ---------- */
.metrics {
    background: var(--ink-base-trans);
    padding-bottom: 120px;
}

.metrics-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    position: relative;
    padding: 32px 28px 36px;
    background: var(--ink-paper);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--ink-line-strong);
}

.metric-index {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fog-400);
    opacity: 0.6;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fog-400);
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 80%;
}

.metric-value-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    color: var(--fog-100);
    line-height: 1;
    letter-spacing: -0.025em;
}

.metric-unit {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--fog-300);
}

.metric-trend {
    display: inline-block;
    font-size: 12px;
    color: var(--accent-success);
    background: rgba(127, 216, 168, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.metric-description {
    font-size: 13px;
    color: var(--fog-400);
    line-height: 1.5;
}

.metrics-disclaimer {
    max-width: var(--container-max);
    margin: 48px auto 0;
    padding: 0 var(--container-pad);
    font-size: 12px;
    color: var(--fog-400);
}

.metrics-disclaimer a { color: var(--fog-200); text-decoration: underline; text-decoration-color: var(--ink-line-strong); }

/* ---------- 8. News ---------- */
.news {
    background: var(--ink-paper-trans);
    padding-bottom: 120px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fog-200);
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--ink-line-strong);
    padding-bottom: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow:hover { gap: 14px; color: var(--fog-100); }

.news-list {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    border-top: 1px solid var(--ink-line);
}

.news-row {
    display: grid;
    grid-template-columns: 140px 200px 1fr 32px;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--ink-line);
    transition: padding 0.3s ease;
}

.news-row:hover { padding-left: 12px; }

.news-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fog-400);
    letter-spacing: 0.05em;
}

.news-category {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-headline {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--fog-100);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.news-arrow {
    color: var(--fog-400);
    transition: transform 0.25s ease, color 0.25s ease;
}

.news-row:hover .news-arrow {
    color: var(--fog-100);
    transform: translateX(6px);
}

/* ---------- 9. CTA ---------- */
.cta {
    background: var(--ink-base-trans);
    padding: 160px var(--container-pad);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(232, 197, 71, 0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(79, 179, 217, 0.06), transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(40px, 6vw, 88px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--fog-100);
    margin-bottom: 32px;
}

.cta-title em {
    font-style: italic;
    color: var(--accent-primary);
    font-weight: 400;
}

.cta-lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--fog-300);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 10. Footer ---------- */
.site-footer {
    background: var(--ink-base);
    border-top: 1px solid var(--ink-line);
    padding: 80px var(--container-pad) 32px;
}

.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--ink-line);
}

.footer-brand .brand-mark { width: 36px; height: 36px; color: var(--accent-primary); margin-bottom: 24px; }

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--fog-200);
    line-height: 1.4;
    max-width: 280px;
    margin-bottom: 16px;
}

.footer-listing {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fog-400);
    letter-spacing: 0.08em;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fog-400);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--fog-200);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent-primary); }

.footer-address {
    font-size: 13px;
    color: var(--fog-300);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-bar {
    max-width: var(--container-max);
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fog-400);
    letter-spacing: 0.05em;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--fog-200); }

/* ---------- 11. Inner page hero variant ---------- */
.page-hero {
    padding: 200px var(--container-pad) 100px;
    background: linear-gradient(180deg, var(--ink-paper) 0%, var(--ink-base) 100%);
    border-bottom: 1px solid var(--ink-line);
}

.page-hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.page-hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--fog-100);
    margin-bottom: 32px;
    max-width: 1100px;
}

.page-hero-lede {
    max-width: 680px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--fog-300);
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1024px) {
    .header-inner { grid-template-columns: auto auto; }
    .primary-nav { display: none; }
    .nav-toggle { display: flex; }
    .ticker-chip { display: none; }

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

    .news-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }
}

@media (max-width: 640px) {
    .hero { padding-top: 120px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hero-stat { padding: 0; border-right: 0; }
    .metrics-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track { animation: none; }
}
