:root {
    --bg:        #0d1117;
    --surface:   #131b24;
    --surface-2: #1a242f;
    --border:    rgba(45,212,191,0.09);
    --border-v:  rgba(45,212,191,0.28);
    --teal:      #14b8a6;
    --teal-lt:   #2dd4bf;
    --teal-dim:  rgba(20,184,166,0.12);
    --text:      #dde9e9;
    --muted:     #627585;
    --dim:       #3a4d5c;
    --sans:      'Space Grotesk', 'Inter', system-ui, sans-serif;
    --mono:      'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
    --r-sm:      4px;
    --r-md:      8px;
    --r-lg:      14px;
}

/* ---- Reset & Base -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grain texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.022;
    pointer-events: none;
    z-index: 9997;
}

/* ---- Hero Canvas --------------------------------------- */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---- Grid background — teal dot matrix ---------------- */
.grid-bg {
    background-color: var(--bg);
    background-image: radial-gradient(circle, rgba(45,212,191,0.09) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* ---- Section divider ----------------------------------- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45,212,191,0.18), transparent);
    margin: 0 auto;
    max-width: 80rem;
}

/* ---- Glow ---------------------------------------------- */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    opacity: 0.28;
}

/* ---- Typography ---------------------------------------- */

/* Accent text — solid teal, no clip-path gradient trick */
.gradient-text {
    color: var(--teal-lt);
    -webkit-text-fill-color: var(--teal-lt);
    background: none;
}

/* Eyebrow labels */
.mono-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    color: var(--teal);
    display: block;
}
.mono-label::before {
    content: '// ';
    opacity: 0.4;
}

.accent-bar {
    width: 32px;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
    margin: 0 auto 1.5rem;
}

/* ---- Navigation ---------------------------------------- */
.nav-blur {
    background: rgba(13,17,23,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
nav a { transition: color 0.18s; text-decoration: none; }

.mobile-menu {
    display: none;
    background: rgba(13,17,23,0.98);
    border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }

/* Primary: solid teal bg, DARK text — maximum contrast, unexpected */
.btn-primary {
    background: var(--teal);
    color: #060b0b;
    padding: 0.68rem 1.55rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.875rem;
    font-family: var(--sans);
    letter-spacing: 0.01em;
    transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
    display: inline-block;
    text-decoration: none;
    border: none;
}
.btn-primary:hover {
    background: var(--teal-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,212,191,0.3);
}

/* Secondary: ghost — teal border, teal text */
.btn-secondary {
    background: transparent;
    color: var(--teal-lt);
    padding: 0.68rem 1.55rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--sans);
    border: 1.5px solid rgba(45,212,191,0.35);
    transition: all 0.2s var(--ease);
    display: inline-block;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: rgba(45,212,191,0.7);
    background: rgba(45,212,191,0.07);
    transform: translateY(-2px);
}

/* ---- Service Cards — corner-notch, teal accent --------- */
.service-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 20px;
    background: var(--teal);
    opacity: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    transition: opacity 0.3s;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,212,191,0.04) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.service-card:hover {
    border-color: rgba(45,212,191,0.35);
    transform: translateY(-5px);
    box-shadow: 0 18px 52px rgba(20,184,166,0.1);
}
.service-card:hover::before { opacity: 0.85; }
.service-card:hover::after  { opacity: 1; }

.icon-box {
    width: 48px; height: 48px;
    background: rgba(20,184,166,0.08);
    border: 1px solid rgba(45,212,191,0.2);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s var(--ease);
}
.service-card:hover .icon-box {
    background: rgba(20,184,166,0.16);
    border-color: rgba(45,212,191,0.5);
    box-shadow: 0 0 14px rgba(45,212,191,0.18);
}

/* ---- Pillar Cards — left-border reveal ----------------- */
.pillar-card {
    padding: 1.75rem 1.5rem 1.75rem 1.75rem;
    border-left: 2px solid rgba(45,212,191,0.15);
    background: transparent;
    text-align: left;
    transition: background 0.3s var(--ease);
    position: relative;
    cursor: default;
}
.pillar-card::before {
    content: '';
    position: absolute;
    left: -2px; top: 0;
    width: 2px; height: 0;
    background: var(--teal);
    transition: height 0.45s var(--ease);
}
.pillar-card:hover { background: rgba(45,212,191,0.025); }
.pillar-card:hover::before { height: 100%; }

/* ---- CTA Box — single teal sweep, no conic noise ------- */
.cta-box {
    background: rgba(19,27,36,0.8);
    border: 1px solid rgba(45,212,191,0.18);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}
/* Hard top-border accent on CTA — no spinning cone */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

/* ---- Stat Cards ---------------------------------------- */
.stat-card {
    padding: 1.75rem;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-top: 2px solid rgba(45,212,191,0.5);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(45,212,191,0.04), transparent);
    pointer-events: none;
}
.stat-card:hover {
    border-top-color: var(--teal-lt);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(20,184,166,0.1);
}

/* ---- Value Cards --------------------------------------- */
.value-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.75rem;
    transition: all 0.3s var(--ease);
}
.value-card:hover {
    border-color: var(--border-v);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(20,184,166,0.09);
}

/* ---- Contact Cards — corner-notch ---------------------- */
.contact-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.75rem;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 14px; height: 14px;
    background: var(--teal);
    opacity: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    transition: opacity 0.3s;
}
.contact-card:hover {
    border-color: var(--border-v);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(20,184,166,0.12);
}
.contact-card:hover::before { opacity: 0.75; }

/* ---- Form ---------------------------------------------- */
.form-wrap {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--mono);
    color: var(--muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--sans);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: rgba(45,212,191,0.5);
    background: rgba(45,212,191,0.03);
    box-shadow: 0 0 0 3px rgba(45,212,191,0.08);
}
.form-input::placeholder { color: var(--dim); }
.form-input option { background: var(--surface-2); color: var(--text); }
.form-textarea { resize: vertical; min-height: 130px; }

/* Submit: solid teal, dark text — same as btn-primary */
.submit-btn {
    width: 100%;
    background: var(--teal);
    color: #060b0b;
    padding: 0.9rem 2rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
    font-family: var(--sans);
    letter-spacing: 0.01em;
}
.submit-btn:hover {
    background: var(--teal-lt);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45,212,191,0.3);
}
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.success-msg { display: none; text-align: center; padding: 3rem 2rem; }

/* ---- Footer -------------------------------------------- */
footer { border-top: 1px solid var(--border); }

/* =========================================================
   Animation targets
   ========================================================= */
.reveal-up, .hero-badge, .hero-title-line-1,
.hero-title-line-2, .hero-sub, .hero-cta, .hero-stats {
    will-change: transform, opacity;
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes pulse     { 0%,100%{opacity:1} 50%{opacity:0.45} }
@keyframes pulse-dot { 0%,100%{transform:scale(1)} 50%{transform:scale(1.5)} }



/* =========================================================
   Catalyst Code — Index "Acceleration Sequence"
   Bespoke layout. Gunmetal + Electric Teal.
   Namespaced .x-* to avoid touching shared styles.
   ========================================================= */

/* ---- Page-scoped tokens -------------------------------- */
.x-page {
    --line: rgba(45,212,191,0.14);
    --line-soft: rgba(255,255,255,0.06);
    --panel: #131b24;
    --panel-2: #1a242f;
    overflow-x: hidden;
}

/* Thin teal progress bar pinned to top of viewport */
.x-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    z-index: 60;
}

/* =========================================================
   HERO
   ========================================================= */
.x-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 3rem;
    overflow: hidden;
}

/* Engineering blueprint backdrop — fine ruled lines, off the default */
.x-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(45,212,191,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45,212,191,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 30%, transparent 75%);
    pointer-events: none;
}

.x-shell {
    width: 100%;
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.x-eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-lt);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2.2rem;
}
.x-eyebrow::before {
    content: '';
    width: 46px;
    height: 1px;
    background: var(--teal);
}

/* Oversized kinetic headline */
.x-headline {
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
    font-size: clamp(3.6rem, 13vw, 11rem);
    text-transform: uppercase;
}
.x-headline .x-line { display: block; overflow: hidden; }
.x-headline .x-line + .x-line { margin-top: 0.04em; }

/* Per-character wrapper for kinetic reveal */
.x-char {
    display: inline-block;
    will-change: transform;
}

/* Solid filled line */
.x-fill { color: #f4fbfb; }

/* Outlined line — stroke only, no fill. Confident, editorial. */
.x-stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(45,212,191,0.85);
}
@media (max-width: 640px) {
    .x-stroke { -webkit-text-stroke-width: 1px; }
}

.x-hero-lower {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: end;
    margin-top: 1rem;
}
.x-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    color: var(--muted);
    max-width: 34ch;
}
.x-sub strong { color: var(--text); font-weight: 600; }

.x-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}
.x-hero-lower .x-cta-row { justify-content: flex-end; }
@media (max-width: 860px) {
    .x-hero-lower { grid-template-columns: 1fr; align-items: start; gap: 1.75rem; }
    .x-hero-lower .x-cta-row { justify-content: flex-start; }
}

/* Data bar — stats as an instrument readout strip */
.x-databar {
    margin-top: 4.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.x-datacell {
    padding: 1.5rem 1.75rem;
    position: relative;
}
.x-datacell + .x-datacell { border-left: 1px solid var(--line); }
.x-datacell .x-num {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--teal-lt);
    letter-spacing: -0.02em;
}
.x-datacell .x-lab {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.6rem;
}
@media (max-width: 640px) {
    .x-databar { grid-template-columns: 1fr; }
    .x-datacell + .x-datacell { border-left: none; border-top: 1px solid var(--line); }
}

/* Scroll cue */
.x-scrollcue {
    position: absolute;
    bottom: 1.75rem; left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
}
.x-scrollcue .x-tick {
    width: 1px; height: 38px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: x-tick 2.2s var(--ease) infinite;
    transform-origin: top;
}
@keyframes x-tick {
    0%   { transform: scaleY(0); opacity: 0; }
    40%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(38px); opacity: 0; }
}

/* =========================================================
   STATEMENT — scrub-highlighted manifesto
   ========================================================= */
.x-statement {
    padding: 16vh 0;
}
.x-statement-text {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
    max-width: 20ch;
}
.x-word {
    color: var(--dim);
    transition: color 0.2s linear;
}
.x-word.is-lit { color: var(--text); }
.x-word.is-accent.is-lit { color: var(--teal-lt); }

.x-statement-meta {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.x-statement-meta::before {
    content: '';
    width: 30px; height: 1px;
    background: var(--teal);
}

/* =========================================================
   SERVICES — pinned horizontal track
   ========================================================= */
.x-services { position: relative; background: #0b1016; }

.x-services-head {
    max-width: 78rem;
    margin: 0 auto;
    padding: 6rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}
.x-services-head h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}
.x-services-head .x-count {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    white-space: nowrap;
}

/* Pinned rotating stage — one capability on stage at a time */
.x-stage {
    height: 100vh;
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: minmax(210px, 27%) 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
}

/* left rail / tracklist */
.x-stage-rail {
    list-style: none;
    margin: 0; padding: 0;
    border-left: 1px solid var(--line-soft);
}
.x-rail-item {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 0.85rem 0 0.85rem 1.4rem;
    color: var(--dim);
    transition: color 0.45s var(--ease);
}
.x-rail-item::before {
    content: '';
    position: absolute;
    left: -1px; top: 0.4rem; bottom: 0.4rem;
    width: 2px;
    background: var(--teal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s var(--ease);
}
.x-rail-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: inherit;
    opacity: 0.7;
}
.x-rail-name {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.x-rail-item.is-active { color: #f4fbfb; }
.x-rail-item.is-active::before { transform: scaleY(1); }
.x-rail-item.is-active .x-rail-num { color: var(--teal-lt); opacity: 1; }

/* center stage */
.x-stage-view {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.x-bignum {
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(11rem, 30vw, 26rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: var(--teal);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.x-stage-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 34rem;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.x-stage-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.x-panel {
    flex: 0 0 auto;
    width: min(78vw, 430px);
    background: var(--panel);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 2.5rem 2.25rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s var(--ease);
    /* corner-cut signature */
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}
.x-panel::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 26px; height: 26px;
    background: var(--teal);
    opacity: 0.5;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    transition: opacity 0.35s;
}
.x-panel:hover { border-color: var(--border-v); }
.x-panel:hover::after { opacity: 1; }

.x-panel-num {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    color: var(--teal-lt);
    margin-bottom: auto;
}
.x-panel-icon {
    width: 56px; height: 56px;
    margin: 2.5rem 0 1.6rem;
    color: var(--teal-lt);
}
.x-panel-icon path,
.x-panel-icon line,
.x-panel-icon polyline,
.x-panel-icon circle,
.x-panel-icon rect,
.x-panel-icon polygon {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    pathLength: 1;
    transition: stroke-dashoffset 0.9s var(--ease) 0.15s;
}
.x-stage-panel.is-active .x-panel-icon path,
.x-stage-panel.is-active .x-panel-icon line,
.x-stage-panel.is-active .x-panel-icon polyline,
.x-stage-panel.is-active .x-panel-icon circle,
.x-stage-panel.is-active .x-panel-icon rect,
.x-stage-panel.is-active .x-panel-icon polygon {
    stroke-dashoffset: 0;
}
.x-panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 0.9rem;
    color: #f4fbfb;
}
.x-panel-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

/* Mobile services — stacked, no pin */
.x-services-stack { display: none; }
@media (max-width: 768px) {
    .x-stage, .x-services-head { display: none; }
    .x-services-stack {
        display: grid;
        gap: 1.25rem;
        max-width: 40rem;
        margin: 0 auto;
        padding: 4rem 1.5rem;
    }
    .x-services-stack .x-panel {
        width: 100%;
        min-height: auto;
        clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    }
}

/* =========================================================
   WHY US — parallax index rows
   ========================================================= */
.x-why { padding: 12vh 0; position: relative; }
.x-why-head {
    margin-bottom: 4rem;
}
.x-why-head h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}
.x-why-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    padding: 2.75rem 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}
.x-why-row:last-child { border-bottom: 1px solid var(--line); }
.x-why-index {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    color: var(--teal-lt);
    padding-top: 0.6rem;
}
.x-why-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    text-transform: uppercase;
    color: #f4fbfb;
    will-change: transform;
}
.x-why-body {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 46ch;
    margin-top: 1.1rem;
}
@media (max-width: 640px) {
    .x-why-row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* =========================================================
   CLOSING CTA
   ========================================================= */
.x-cta {
    padding: 16vh 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.x-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 90px;
    background: linear-gradient(to bottom, transparent, var(--teal));
}
.x-cta h2 {
    font-size: clamp(2.6rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}
.x-cta p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 38ch;
    margin: 0 auto 2.5rem;
}

/* Reusable accent for headings */
.x-accent { color: var(--teal-lt); }

/* Reduced motion — show everything statically */
@media (prefers-reduced-motion: reduce) {
    .x-char, .x-why-title { transform: none !important; }
    .x-word { color: var(--text) !important; }
    .x-tick { animation: none; }
}

/* =========================================================
   SUBPAGES (about / contact) — shared x-* language
   ========================================================= */
.x-hero--compact { min-height: auto; padding: 11rem 0 5rem; }
.x-hero--compact .x-headline { font-size: clamp(3rem, 9vw, 7rem); }

.x-section { padding: 9vh 0; position: relative; }
.x-section + .x-section { border-top: 1px solid var(--line); }

.x-sec-head { margin-bottom: 3.5rem; max-width: 60rem; }
.x-sec-head h2 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
    margin-top: 1rem;
}
.x-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 52ch; margin-top: 1.4rem; }

/* Two-column split (mission) */
.x-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.x-split p { color: var(--muted); line-height: 1.7; }
.x-split p + p { margin-top: 1.1rem; }
@media (max-width: 860px) { .x-split { grid-template-columns: 1fr; } }

/* Value list — numbered hairline rows, no icon boxes */
.x-valuelist { display: grid; gap: 0; }
.x-value {
    display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
    padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: baseline;
}
.x-value:last-child { border-bottom: 1px solid var(--line); }
.x-value-k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--teal-lt); }
.x-value-t { color: #f4fbfb; font-weight: 600; font-size: 1.1rem; }
.x-value-d { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin-top: 0.35rem; }

/* Horizontal timeline */
.x-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem; }
.x-timeline::before {
    content: ''; position: absolute; top: 7px; left: 7px; right: 7px; height: 2px;
    background: linear-gradient(90deg, var(--teal-lt), var(--line)); opacity: 0.55;
}
.x-tl-step { position: relative; padding-top: 2.5rem; }
.x-tl-step::before {
    content: ''; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--teal-lt); box-shadow: 0 0 0 5px var(--bg);
}
.x-tl-n { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--teal-lt); }
.x-tl-t { color: #f4fbfb; font-weight: 600; font-size: 1.15rem; margin: 0.7rem 0 0.55rem; }
.x-tl-d { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
@media (max-width: 720px) {
    .x-timeline { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
    .x-timeline::before { left: 7px; top: 7px; bottom: 7px; right: auto; width: 2px; height: auto;
        background: linear-gradient(180deg, var(--teal-lt), var(--line)); }
    .x-tl-step { padding-top: 0; padding-bottom: 2.25rem; padding-left: 1.5rem; }
    .x-tl-step:last-child { padding-bottom: 0; }
    .x-tl-step::before { top: 2px; left: -2rem; }
}

/* Form heading region */
.x-form-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; color: #f4fbfb; }
.x-form-head p { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

/* Legal pages */
.x-legal { max-width: 48rem; margin: 0 auto; padding: 10rem 1.5rem 5rem; }
.x-legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; color: #f4fbfb; margin-bottom: 0.5rem; }
.x-legal .x-legal-meta { color: var(--muted); font-family: var(--mono); font-size: 0.85rem; margin-bottom: 2.5rem; }
.x-legal h2 { font-size: 1.35rem; font-weight: 600; color: #f4fbfb; margin: 2.5rem 0 0.75rem; }
.x-legal p, .x-legal li { color: var(--text); opacity: 0.85; font-size: 1rem; line-height: 1.7; margin-bottom: 0.9rem; }
.x-legal ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.x-legal a { color: var(--teal-lt); text-decoration: underline; text-underline-offset: 3px; }
.x-legal a:hover { color: var(--teal); }
.x-legal address { font-style: normal; }
.x-legal h3 { font-size: 1.1rem; font-weight: 600; color: #f4fbfb; margin: 1.75rem 0 0.6rem; }
.x-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.x-legal th, .x-legal td { border: 1px solid rgba(148, 163, 184, 0.2); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; color: var(--text); line-height: 1.5; }
.x-legal th { background: var(--surface, #131b24); color: #f4fbfb; }
