/* ========================================================
   v2.travelminds.com — modern static
   ======================================================== */

:root {
    --bg: #0a0d12;
    --bg-2: #0f141b;
    --ink: #f5f3ef;
    --ink-soft: #b6bcc6;
    --ink-mute: #6b7280;
    --line: #1c2230;
    --accent: #2bb3a2;
    --accent-2: #4cd9c5;
    --gold: #ff8806;
    --navy: #082754;
    --serif: 'Instrument Serif', ui-serif, Georgia, serif;
    --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
    --radius: 18px;
    --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-feature-settings: 'ss01'; letter-spacing: 0.01em; }
.italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
}
.kicker::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (max-width: 700px) { .container { padding: 0 20px; } }

/* (custom cursor removed — too distracting) */

/* === Scroll progress === */
.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 1000;
    width: 0%;
    box-shadow: 0 0 14px var(--accent);
    will-change: width;
}

/* === Animated mesh background === */
.mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg);
}
.mesh__blob {
    position: absolute;
    width: 50vw; height: 50vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    will-change: transform;
}
.mesh__blob--1 {
    background: radial-gradient(circle, #1e4f6f, transparent 70%);
    top: -10vw; left: -10vw;
    animation: blob1 22s ease-in-out infinite;
}
.mesh__blob--2 {
    background: radial-gradient(circle, #2bb3a2, transparent 70%);
    bottom: -20vw; right: -10vw;
    opacity: 0.35;
    animation: blob2 28s ease-in-out infinite;
}
.mesh__blob--3 {
    background: radial-gradient(circle, #ff8806, transparent 70%);
    top: 40vh; right: 30vw;
    opacity: 0.18;
    width: 30vw; height: 30vw;
    animation: blob3 32s ease-in-out infinite;
}
@keyframes blob1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30vw, 20vh) scale(1.1); } 66% { transform: translate(-10vw, 40vh) scale(0.95); } }
@keyframes blob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30vw, -30vh) scale(1.2); } }
@keyframes blob3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20vw, -25vh) scale(1.15); } }
.mesh__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* === Nav === */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 13, 18, 0.55);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: padding 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled { padding: 14px 40px; background: rgba(10, 13, 18, 0.85); }
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.nav__mark { width: 24px; height: 24px; color: var(--accent); }
.nav__menu {
    display: flex;
    gap: 36px;
}
.nav__menu a {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}
.nav__menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { width: 100%; }
@media (max-width: 700px) {
    .nav { padding: 16px 20px; }
    .nav__menu { display: none; }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
    white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary {
    background: var(--ink);
    color: var(--bg);
}
.btn--primary:hover {
    background: var(--accent-2);
    color: var(--bg);
    box-shadow: 0 18px 40px -12px rgba(76, 217, 197, 0.45);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: rgba(255,255,255,0.18);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.btn--lg { padding: 18px 30px; font-size: 15px; }

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 0 120px;
    display: flex;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 36px;
}
.hero__eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
.hero__eyebrow .meta { color: var(--ink-mute); margin-left: 6px; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero__headline {
    font-family: var(--sans);
    font-size: clamp(2.4rem, 7vw, 6rem);
    line-height: 0.96;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 0 0 40px;
    max-width: 16ch;
}
.word { display: inline-block; overflow: hidden; vertical-align: top; margin-right: 0.18em; }
.word > span { display: inline-block; }

.hero__sub {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0 0 44px;
}
.hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    max-width: 700px;
}
.hero__meta-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.hero__meta-value {
    font-family: var(--sans);
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 500;
}
.hero__meta-value.mono { font-family: var(--mono); font-size: 1rem; }
@media (max-width: 700px) {
    .hero__meta { grid-template-columns: 1fr; gap: 20px; }
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.7;
}
.hero__scroll svg { width: 16px; height: 24px; }
.hero__scroll circle { animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { cy: 8; opacity: 1; } 50% { cy: 16; opacity: 0.3; } }

/* === Reveal === */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* === Problem section (sticky big stat) === */
.problem {
    position: relative;
    min-height: 140vh;
}
.problem__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
}
.problem__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 900px) { .problem__inner { grid-template-columns: 1fr; gap: 56px; } }
.problem__h {
    font-family: var(--sans);
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 32px;
}
.problem__h .hl {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.problem__copy {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 50ch;
}

.stat-pair {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.stat-pair__row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.stat-pair__row--alt { margin-top: 32px; }
.stat-pair__big {
    font-family: var(--sans);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.stat-pair__big--alt { color: var(--ink-mute); }
.pct {
    font-family: var(--sans);
    font-size: 2rem;
    color: var(--ink);
    font-weight: 300;
}
.pct.alt { color: var(--ink-mute); }
.stat-pair__label {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.45;
    max-width: 38ch;
}
.stat-pair__gap {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px dashed var(--line);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.stat-pair__gap svg { width: 100%; height: 6px; color: var(--accent); }

/* === Services (pinned horizontal scroll) === */
.services { position: relative; padding-top: 80px; }
.services__intro {
    text-align: center;
    margin: 0 auto 80px;
    max-width: 760px;
}
.services__intro .kicker { justify-content: center; }
.services__h {
    font-family: var(--sans);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}
.services__sub {
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.6;
}
.services__pin {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.services__track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 32px;
    padding: 0 8vw;
    will-change: transform;
}
.svc-card {
    flex: 0 0 min(560px, 78vw);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 540px;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.svc-card:hover { border-color: rgba(43, 179, 162, 0.4); }
.svc-card--alt { background: linear-gradient(180deg, rgba(43, 179, 162, 0.08), rgba(43, 179, 162, 0.02)); border-color: rgba(43, 179, 162, 0.2); }
.svc-card__index {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
}
.svc-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(43, 179, 162, 0.4);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.svc-card h3 {
    font-family: var(--sans);
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
}
.svc-card p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.svc-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.svc-card__list li {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.4;
    padding-left: 24px;
    position: relative;
}
.svc-card__list .bullet {
    color: var(--accent);
    position: absolute;
    left: 0;
    font-family: var(--mono);
    font-weight: 500;
}
.svc-card__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.services__bar {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 70vw);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink-mute);
}
.services__bar-track {
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 1px;
    overflow: hidden;
}
.services__bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    box-shadow: 0 0 10px var(--accent);
}
.services__bar-meta {
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
@media (max-width: 700px) {
    .services__pin { height: auto; padding-bottom: 60px; }
    .services__track { position: relative; transform: none; flex-direction: column; padding: 0 20px; }
    .svc-card { flex: 0 0 auto; min-height: 0; padding: 32px; }
    .services__bar { display: none; }
}

/* === Products === */
.products { padding: 140px 0 120px; }
.products__head { max-width: 760px; margin: 0 0 64px; }
.products__head .kicker { justify-content: flex-start; }
.products__h {
    font-family: var(--sans);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}
.products__sub {
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 56ch;
}
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .products__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .products__grid { grid-template-columns: 1fr; } }

.pcard {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 320px;
    transition: border-color 0.3s ease, background 0.3s ease;
    transform-style: preserve-3d;
    transform: perspective(800px);
    position: relative;
}
.pcard::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(43,179,162,0.5), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.pcard:hover::before { opacity: 1; }
.pcard:hover { border-color: rgba(43,179,162,0.3); }
.pcard--wide { grid-column: span 2; }
@media (max-width: 900px) { .pcard--wide { grid-column: span 2; } }
@media (max-width: 600px) { .pcard--wide { grid-column: span 1; } }
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard__mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
}
.pcard__badge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 4px 10px;
    border: 1px solid rgba(43,179,162,0.3);
    border-radius: 999px;
}
.pcard__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.pcard h3 {
    font-family: var(--sans);
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0;
}
.pcard p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* === Proof === */
.proof { padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__h {
    font-family: var(--sans);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 80px;
    max-width: 18ch;
}
.proof__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}
@media (max-width: 900px) { .proof__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .proof__grid { grid-template-columns: repeat(2, 1fr); } }
.proof__item {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.proof__n {
    font-family: var(--sans);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
}
.proof__n .suffix { font-size: 0.45em; color: var(--accent); margin-left: 4px; }
.proof__lbl { margin-top: 12px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.4; }

/* === Quote === */
.quote { padding: 180px 0; }
.quote__fig { max-width: 980px; margin: 0 auto; position: relative; padding-left: 80px; }
.quote__mark {
    position: absolute;
    left: 0; top: -30px;
    font-family: var(--serif);
    font-size: 9rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
}
.quote__text {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.35;
    color: var(--ink);
    margin: 0 0 40px;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.quote__attr {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.quote__author { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--ink); }
.quote__org { color: var(--ink-mute); font-size: 0.85rem; }

/* === Lines === */
.lines { padding: 120px 0; border-top: 1px solid var(--line); }
.lines__h {
    font-family: var(--sans);
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 64px;
    max-width: 22ch;
}
.lines__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 800px) { .lines__grid { grid-template-columns: 1fr; } }
.line {
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.line__no {
    color: var(--ink-mute);
    font-size: 1rem;
    margin-bottom: 14px;
}
.line__no s { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.2); }
.line__yes {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.005em;
}

/* === CTA === */
.cta { padding: 80px 0 160px; }
.cta__band {
    background: linear-gradient(135deg, #0a2a4c 0%, #04111f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta__band::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(43,179,162,0.2) 0%, transparent 70%);
    top: -300px; right: -200px;
    pointer-events: none;
}
.cta__h {
    font-family: var(--sans);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    color: var(--ink);
    position: relative;
}
.cta__sub {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 60ch;
    margin: 0 auto 40px;
    position: relative;
}
.cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* === Footer === */
.foot {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}
.foot__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.foot__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}
.foot__meta { color: var(--ink-mute); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .word > span { transform: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   HERO v2 — denser, two-column with terminal aside
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 80px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero .container.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
    flex: 1;
}
@media (max-width: 1000px) {
    .hero .container.hero__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

.hero__col { display: flex; flex-direction: column; }

.hero__eyebrow { margin-bottom: 28px !important; }

.hero__headline {
    font-size: clamp(2.2rem, 5vw, 4.3rem) !important;
    line-height: 1 !important;
    margin: 0 0 28px !important;
    max-width: 13ch !important;
}

.hero__sub {
    font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
    margin: 0 0 32px !important;
    max-width: 50ch;
}

.hero__ctas { margin-bottom: 48px !important; }

.hero__meta {
    grid-template-columns: repeat(4, auto) !important;
    gap: 36px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
    .hero__meta { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}

/* === Right-side aside: glass terminal === */
.hero__aside {
    position: relative;
    width: 100%;
    max-width: 580px;
    justify-self: end;
}

.term {
    background: linear-gradient(180deg, rgba(15, 20, 27, 0.85) 0%, rgba(10, 13, 18, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(43, 179, 162, 0.08), 0 0 60px -10px rgba(43, 179, 162, 0.15);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transform-origin: right center;
    transition: transform 0.6s ease;
}
.term:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }

@media (max-width: 1000px) {
    .term { transform: none !important; max-width: 100%; }
    .hero__aside { max-width: 100%; }
}

.term__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}
.term__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.term__dot--r { background: #ff5f57; }
.term__dot--y { background: #febc2e; }
.term__dot--g { background: #28c840; }
.term__title {
    margin-left: 8px;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.02em;
    flex: 1;
}
.term__status {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 3px 8px;
    border: 1px solid rgba(43, 179, 162, 0.3);
    border-radius: 4px;
    position: relative;
    padding-left: 18px;
}
.term__status::before {
    content: '';
    position: absolute;
    left: 8px; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.6s ease-in-out infinite;
}

.term__body {
    padding: 22px 24px 26px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.term__line { margin-bottom: 8px; word-break: break-word; }
.term__line--muted { color: var(--ink-mute); font-size: 11.5px; }
.term__line--out { color: var(--ink-soft); }
.term__line .prompt { color: var(--accent); margin-right: 6px; }
.term__line .cmd { color: var(--ink); font-weight: 500; }
.term__line .arg { color: var(--ink-soft); }
.term__line .ok { color: var(--accent); margin-right: 6px; }
.term__line .ok::before {
    content: '';
    display: inline-block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    margin-right: 6px;
    vertical-align: middle;
}

.term__answer {
    margin-top: 18px;
    padding: 16px;
    background: rgba(43, 179, 162, 0.06);
    border: 1px solid rgba(43, 179, 162, 0.25);
    border-radius: 10px;
}
.term__answer-h {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
}
.term__answer-b {
    font-family: var(--sans);
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.5;
}
.term__answer-b strong { color: var(--accent-2); font-weight: 500; }
.term__cite {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 10px;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
}

/* === Floating chips around the terminal === */
.hero__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(15, 20, 27, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6);
    font-size: 11px;
    color: var(--ink-soft);
    z-index: 2;
    will-change: transform;
    animation: chipFloat 6s ease-in-out infinite;
}
.hero__chip--1 { top: -14px; left: -20px; }
.hero__chip--2 { bottom: -14px; right: -10px; animation-delay: -3s; animation-duration: 7s; }
.chip__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
.chip__dot--gold { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.chip__lbl { color: var(--ink-mute); font-family: var(--sans); }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) {
    .hero__chip { position: static; display: none; }
}

/* === Marquee at bottom of hero === */
.hero__marquee {
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.marquee__item {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
    text-transform: uppercase;
}
.marquee__sep { color: var(--accent); opacity: 0.4; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hide the old hero__scroll indicator now that marquee fills the space */
.hero__scroll { display: none !important; }

/* ============================================
   v2 responsive fixes (2026-06-21)
   ============================================ */

/* Prevent any element from forcing horizontal scroll */
* { min-width: 0; }
.hero, .hero .container, .hero__col, .hero__aside { max-width: 100%; }

/* Mobile menu hint when no nav items shown */
@media (max-width: 700px) {
    .nav { padding: 14px 18px; }
    .nav__brand { font-size: 14px; }
}

/* Body text + meta on small screens */
@media (max-width: 700px) {
    .container { padding: 0 18px !important; }

    .hero {
        padding: 110px 0 60px !important;
        min-height: 0 !important;
    }
    .hero__eyebrow { font-size: 11px !important; margin-bottom: 20px !important; flex-wrap: wrap; gap: 6px; }
    .hero__eyebrow .meta { margin-left: 0; }

    .hero__headline {
        font-size: clamp(1.85rem, 9vw, 2.4rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 22px !important;
        max-width: 100% !important;
    }
    .hero__sub {
        font-size: 0.95rem !important;
        margin-bottom: 26px !important;
        max-width: 100% !important;
    }
    .hero__ctas { gap: 10px !important; margin-bottom: 32px !important; }
    .hero__ctas .btn { flex: 1; justify-content: center; min-width: 0; }

    .hero__meta {
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
        padding-top: 18px !important;
    }
    .hero__meta-value { font-size: 0.95rem !important; }
    .hero__meta-value.mono { font-size: 0.9rem !important; }
}

/* Terminal — must wrap, can't overflow */
.term, .term__body, .term__line { max-width: 100%; min-width: 0; }
.term__line { white-space: normal !important; word-break: break-word; overflow-wrap: anywhere; }
.term__line .mono { word-break: break-all; }

@media (max-width: 1000px) {
    .hero__aside { margin-top: 8px; }
    .term { transform: none !important; }
    .term__body { padding: 18px 16px 22px; font-size: 12px; }
    .term__bar { padding: 10px 14px; }
    .term__title { font-size: 10px; }
}

@media (max-width: 700px) {
    .term__body { padding: 16px 14px 18px; font-size: 11.5px; }
    .term__answer { padding: 14px; margin-top: 14px; }
    .term__answer-b { font-size: 12.5px; }
    .term__cite { font-size: 9.5px; }
    .hero__chip { display: none !important; }
}

/* Marquee — ensure it fits */
.hero__marquee { margin-top: 40px; padding: 12px 0; }
.marquee__item { font-size: 10px !important; }

/* Problem section on mobile */
@media (max-width: 900px) {
    .problem { min-height: auto; }
    .problem__sticky { position: relative; min-height: 0; padding: 80px 0; }
    .stat-pair { padding: 28px; }
    .stat-pair__big { font-size: clamp(3rem, 12vw, 5rem); }
}

/* Services pinned scroll — disable on mobile, stack instead */
@media (max-width: 900px) {
    .services { padding-top: 60px; }
    .services__intro { margin-bottom: 48px; }
    .services__pin {
        position: relative;
        height: auto;
        overflow: visible;
        padding-bottom: 40px;
    }
    .services__track {
        position: relative;
        transform: none !important;
        flex-direction: column;
        padding: 0 18px;
        gap: 20px;
    }
    .svc-card {
        flex: 0 0 auto;
        min-height: 0;
        padding: 28px;
        max-width: 100%;
    }
    .svc-card h3 { font-size: 1.3rem; }
    .services__bar { display: none; }
}

/* Products grid on mobile */
@media (max-width: 700px) {
    .products { padding: 80px 0 60px; }
    .products__head { margin-bottom: 40px; }
    .pcard {
        padding: 24px;
        min-height: 0;
        transform: none !important;
    }
    .pcard h3 { font-size: 1.15rem; }
    .pcard--wide { grid-column: span 1 !important; }
}

/* Proof grid on mobile */
@media (max-width: 600px) {
    .proof { padding: 60px 0; }
    .proof__h { margin-bottom: 40px; }
    .proof__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .proof__n { font-size: 1.8rem; }
    .proof__lbl { font-size: 0.8rem; }
}

/* Quote on mobile */
@media (max-width: 700px) {
    .quote { padding: 80px 0; }
    .quote__fig { padding-left: 0; }
    .quote__mark { font-size: 5rem; top: -20px; left: 0; }
    .quote__text { font-size: 1.25rem !important; padding-top: 24px; }
}

/* Lines on mobile */
@media (max-width: 700px) {
    .lines { padding: 60px 0; }
    .lines__h { margin-bottom: 36px; }
    .lines__grid { gap: 14px; }
    .line { padding: 22px; }
}

/* CTA on mobile */
@media (max-width: 700px) {
    .cta { padding: 60px 0 80px; }
    .cta__band { padding: 48px 24px; }
    .cta__h { font-size: 1.5rem !important; }
    .cta__sub { font-size: 0.95rem; }
    .cta__actions { flex-direction: column; gap: 10px; }
    .cta__actions .btn { width: 100%; justify-content: center; }
}

/* Footer */
@media (max-width: 600px) {
    .foot__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Tablet-specific tweaks (768-1000) */
@media (min-width: 701px) and (max-width: 1000px) {
    .hero__headline { font-size: clamp(2.4rem, 6vw, 3.6rem) !important; }
    .hero__meta { grid-template-columns: repeat(4, auto) !important; }
}

/* === HARD wrap fixes for narrow viewports === */
@media (max-width: 700px) {
    /* Allow word breaks even mid-word if needed */
    .hero__headline, .hero__sub, .term__line, .term__answer-b {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    /* Spans inside headline shouldn't lock layout */
    .word, .word > span {
        white-space: normal !important;
        max-width: 100% !important;
    }
    /* Ensure no element forces horizontal scroll */
    .hero, .hero__col, .hero__aside, .term, .hero__grid {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    /* Drop the inline-block flush behavior on word spans so they flow naturally */
    .word { overflow: visible !important; }
    /* CTAs full-width and centered */
    .hero__ctas .btn { flex: 1 1 0; min-width: 0; padding: 14px 16px !important; font-size: 14px !important; }
}

/* === Force viewport-bound width on EVERYTHING (mobile rescue) === */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}
@media (max-width: 700px) {
    body, main, .hero, .hero__grid, .hero__col, .hero__aside, .term, .hero__marquee,
    .problem, .services, .products, .proof, .quote, .lines, .cta, .foot {
        max-width: 100vw !important;
        overflow-x: clip !important;
    }
    /* Force container to never exceed viewport */
    .container { max-width: 100vw !important; }
    /* Headline must wrap at any cost */
    .hero__headline {
        font-size: clamp(1.6rem, 8vw, 2rem) !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    .hero__headline .word { display: inline; overflow: visible; margin-right: 0.25em; }
    .hero__headline .word > span { display: inline; }
    /* Hero body sub - tight wrap */
    .hero__sub {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }
    /* Buttons - never overflow */
    .hero__ctas {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .hero__ctas .btn {
        flex: 0 0 calc(50% - 4px) !important;
        padding: 13px 8px !important;
        font-size: 13px !important;
        min-width: 0 !important;
    }
    /* Terminal text MUST wrap, no horizontal scroll */
    .term { width: 100% !important; max-width: 100% !important; }
    .term__body { width: 100% !important; max-width: 100% !important; }
    .term__line, .term__line *, .term__answer-b, .term__answer-b * {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: break-all !important;
        white-space: normal !important;
    }
}

/* ============================================
   LIGHT THEME (2026-06-21)
   Overrides at end of cascade — flips palette + patches dark-only elements
   ============================================ */

:root {
    --bg: #fafaf7;
    --bg-2: #f3f3ef;
    --ink: #0a0d12;
    --ink-soft: #4a5260;
    --ink-mute: #8a93a3;
    --line: #e5e8ed;
    --accent: #0a8a7c;
    --accent-2: #2bb3a2;
    --gold: #d97706;
    --navy: #082754;
}

body {
    background: var(--bg);
    color: var(--ink);
}

/* === Mesh background — soften for light bg === */
.mesh { background: var(--bg); }
.mesh__blob--1 {
    background: radial-gradient(circle, rgba(11, 86, 114, 0.18), transparent 70%);
    opacity: 0.7;
}
.mesh__blob--2 {
    background: radial-gradient(circle, rgba(43, 179, 162, 0.16), transparent 70%);
    opacity: 0.55;
}
.mesh__blob--3 {
    background: radial-gradient(circle, rgba(255, 136, 6, 0.1), transparent 70%);
    opacity: 0.4;
}
.mesh__grain {
    opacity: 0.035;
    mix-blend-mode: multiply;
}

/* === Progress bar === */
.progress {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 14px rgba(43, 179, 162, 0.4);
}

/* === Nav === */
.nav {
    background: rgba(250, 250, 247, 0.7);
    border-bottom: 1px solid rgba(10, 13, 18, 0.06);
}
.nav.is-scrolled { background: rgba(250, 250, 247, 0.92); }
.nav__brand { color: var(--ink); }
.nav__mark { color: var(--accent); }
.nav__menu a { color: var(--ink-soft); }
.nav__menu a:hover { color: var(--ink); }

/* === Buttons === */
.btn--primary {
    background: var(--ink);
    color: #ffffff;
}
.btn--primary:hover {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 18px 40px -12px rgba(10, 138, 124, 0.4);
}
.btn--ghost {
    color: var(--ink);
    border-color: rgba(10, 13, 18, 0.18);
}
.btn--ghost:hover {
    background: rgba(10, 13, 18, 0.04);
    border-color: rgba(10, 13, 18, 0.4);
}

/* === Hero === */
.hero__meta { border-top: 1px solid var(--line); }

/* === Glass terminal — keep DARK for tech feel === */
.term {
    background: linear-gradient(180deg, #0f141b 0%, #0a0d12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px -20px rgba(10, 39, 84, 0.25),
                0 0 0 1px rgba(43, 179, 162, 0.1),
                0 0 60px -10px rgba(43, 179, 162, 0.18);
}
/* Terminal interior text colors don't change — they're scoped inside dark term */

/* === Floating chips on light bg === */
.hero__chip {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px -10px rgba(10, 39, 84, 0.15);
    color: var(--ink);
}
.hero__chip .chip__lbl { color: var(--ink-mute); }

/* === Marquee === */
.hero__marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.marquee__item { color: var(--ink-mute); }
.marquee__sep { color: var(--accent); opacity: 0.5; }

/* === Problem section: sticky big stat === */
.problem__h { color: var(--ink); }
.problem__copy { color: var(--ink-soft); }
.stat-pair {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px -16px rgba(10, 39, 84, 0.1);
}
.stat-pair__big { color: var(--ink); }
.stat-pair__big--alt { color: var(--ink-mute); }
.pct { color: var(--ink); }
.pct.alt { color: var(--ink-mute); }
.stat-pair__label { color: var(--ink-soft); }
.stat-pair__gap {
    border-top: 1px dashed var(--line);
    color: var(--accent);
}

/* === Services pinned section === */
.services__h { color: var(--ink); }
.services__sub { color: var(--ink-soft); }
.svc-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px -25px rgba(10, 39, 84, 0.12);
}
.svc-card:hover { border-color: rgba(10, 138, 124, 0.4); }
.svc-card--alt {
    background: linear-gradient(180deg, rgba(43, 179, 162, 0.08), rgba(255, 255, 255, 0.6));
    border-color: rgba(43, 179, 162, 0.25);
}
.svc-card h3 { color: var(--ink); }
.svc-card p { color: var(--ink-soft); }
.svc-card__index { color: var(--ink-mute); }
.svc-card__list li { color: var(--ink-soft); }
.svc-card__list .bullet { color: var(--accent); }
.svc-card__footer { border-top: 1px solid var(--line); color: var(--ink-mute); }

.services__bar-track { background: rgba(10, 13, 18, 0.08); }
.services__bar-fill { background: var(--accent); box-shadow: 0 0 10px rgba(43, 179, 162, 0.4); }
.services__bar-meta { color: var(--ink-mute); }

/* === Products === */
.products__h { color: var(--ink); }
.products__sub { color: var(--ink-soft); }
.pcard {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 20px 50px -25px rgba(10, 39, 84, 0.12);
}
.pcard::before {
    background: linear-gradient(135deg, rgba(43,179,162,0.6), transparent 60%);
}
.pcard:hover { border-color: rgba(43,179,162,0.4); }
.pcard__mono {
    color: var(--ink-soft);
    background: rgba(10, 13, 18, 0.06);
}
.pcard__badge { color: var(--accent); border-color: rgba(10, 138, 124, 0.3); }
.pcard__icon { background: rgba(10, 13, 18, 0.03); border: 1px solid var(--line); }
.pcard h3 { color: var(--ink); }
.pcard p { color: var(--ink-soft); }

/* === Proof === */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__h { color: var(--ink); }
.proof__item { border-top: 1px solid var(--line); }
.proof__n { color: var(--ink); }
.proof__n .suffix { color: var(--accent); }
.proof__lbl { color: var(--ink-soft); }

/* === Quote === */
.quote__mark { color: var(--accent); opacity: 0.45; }
.quote__text { color: var(--ink); }
.quote__attr { border-top: 1px solid var(--line); }
.quote__author { color: var(--ink); }
.quote__org { color: var(--ink-mute); }

/* === Lines === */
.lines { border-top: 1px solid var(--line); }
.lines__h { color: var(--ink); }
.line {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
}
.line__no { color: var(--ink-mute); }
.line__no s { text-decoration-color: rgba(10, 13, 18, 0.25); }
.line__yes { color: var(--ink); }

/* === CTA banner — light gradient with teal accent === */
.cta__band {
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -30px rgba(10, 39, 84, 0.15);
}
.cta__band::after {
    background: radial-gradient(circle, rgba(43, 179, 162, 0.18) 0%, transparent 70%);
}
.cta__h { color: var(--ink); }
.cta__sub { color: var(--ink-soft); }

/* === Footer === */
.foot { border-top: 1px solid var(--line); }
.foot__brand { color: var(--ink); }
.foot__meta { color: var(--ink-mute); }

/* === Kicker === */
.kicker { color: var(--accent); }
.kicker::before { background: var(--accent); }

/* === Hero eyebrow === */
.hero__eyebrow { color: var(--accent); }
.hero__eyebrow .dot { background: var(--accent); box-shadow: 0 0 12px rgba(43, 179, 162, 0.5); }
.hero__eyebrow .meta { color: var(--ink-mute); }

.hero__meta-label { color: var(--ink-mute); }
.hero__meta-value { color: var(--ink); }

/* Hero headline italic accent */
.italic { color: var(--accent); }
.problem__h .italic { color: var(--accent); }
.problem__h .hl {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* === Product icon img sizing === */
.pcard__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* background set inline per product */
    border: 1px solid rgba(10, 39, 84, 0.06) !important;
}
.pcard__icon img {
    max-width: 44px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ============================================
   Tighten padding everywhere (2026-06-21)
   ============================================ */

/* Hero — kill min-height, reduce padding so it sizes to content */
html body .hero {
    min-height: 0 !important;
    padding: 90px 0 50px !important;
}
@media (max-width: 700px) {
    html body .hero { padding: 80px 0 30px !important; }
}
html body .hero__ctas { margin-bottom: 28px !important; }
html body .hero__meta { padding-top: 18px !important; }
html body .hero__marquee { margin-top: 36px !important; padding: 12px 0 !important; }

/* Problem section — was 140vh, now sized to content */
html body .problem { min-height: 0 !important; }
html body .problem__sticky {
    position: relative !important;
    min-height: 0 !important;
    padding: 80px 0 !important;
}
@media (max-width: 700px) {
    html body .problem__sticky { padding: 56px 0 !important; }
}

/* Services */
html body .services { padding-top: 60px !important; }
html body .services__intro { margin-bottom: 56px !important; }
html body .services__pin { height: 100vh; }
@media (max-width: 900px) {
    html body .services__pin { height: auto !important; padding-bottom: 30px !important; }
}

/* Products */
html body .products { padding: 90px 0 80px !important; }
html body .products__head { margin-bottom: 44px !important; }

/* Proof */
html body .proof { padding: 80px 0 !important; }
html body .proof__h { margin-bottom: 56px !important; }

/* Quote */
html body .quote { padding: 110px 0 !important; }

/* Lines */
html body .lines { padding: 80px 0 !important; }
html body .lines__h { margin-bottom: 44px !important; }

/* CTA */
html body .cta { padding: 60px 0 100px !important; }
html body .cta__band { padding: 60px 50px !important; }
@media (max-width: 700px) {
    html body .cta { padding: 40px 0 60px !important; }
    html body .cta__band { padding: 40px 24px !important; }
}

/* Footer */
html body .foot { padding: 24px 0 !important; }

/* === Combined product card: two icons side-by-side === */
.pcard__icon--duo {
    display: flex !important;
    gap: 12px;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.pcard__icon-sub {
    width: 64px; height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(10, 39, 84, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gap: 2px;
}
.pcard__icon-sub img {
    max-width: 36px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.pcard__icon-tag {
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-top: 1px;
}

/* ============================================
   Sizing fixes (2026-06-22)
   ============================================ */

/* Italic glyph swashes were getting clipped by .word overflow:hidden */
html body .word { overflow: visible !important; }
html body .word > span.italic,
html body .hero__headline .italic {
    padding-right: 0.12em;
}

/* Headline shouldn't be max-width: 13ch on desktop (too narrow, forces awkward wraps) */
@media (min-width: 1001px) {
    html body .hero__headline {
        max-width: 20ch !important;
    }
}

/* Section headings should also breathe */
html body .problem__h,
html body .services__h,
html body .products__h,
html body .proof__h,
html body .lines__h,
html body .cta__h {
    overflow-wrap: break-word;
}

/* Quote text — large serif italic, ensure swashes visible */
html body .quote__text { overflow: visible; padding-right: 0.1em; }
html body .quote__fig { overflow: visible; }

/* Products grid — when product--wide spans 2 cols on small grid, ensure it wraps correctly */
@media (max-width: 900px) {
    html body .products__grid { grid-template-columns: 1fr 1fr !important; }
    html body .pcard--wide { grid-column: span 2 !important; }
}
@media (max-width: 600px) {
    html body .products__grid { grid-template-columns: 1fr !important; }
    html body .pcard--wide { grid-column: span 1 !important; }
}

/* Aboard duo icon - ensure it doesn't push card width */
html body .pcard__icon--duo { max-width: 100%; flex-wrap: wrap; }

/* ============================================
   MOBILE — final overflow rescue (2026-06-22)
   ============================================ */

/* Force viewport-bound width on the page */
html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
}

@media (max-width: 700px) {
    /* Every section MUST stay within viewport */
    html body main,
    html body .hero,
    html body .hero__grid,
    html body .hero__col,
    html body .hero__aside,
    html body .term,
    html body .products,
    html body .products__grid,
    html body .pcard,
    html body .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Headline — make words wrap unconditionally */
    html body .hero__headline {
        font-size: clamp(1.6rem, 7.5vw, 1.95rem) !important;
        line-height: 1.1 !important;
        max-width: 100% !important;
        width: 100% !important;
        word-spacing: -0.05em;
    }
    /* Each word inline (not inline-block) so they wrap with the line, no overflow:hidden */
    html body .hero__headline .word {
        display: inline !important;
        overflow: visible !important;
        margin-right: 0 !important;
        white-space: normal !important;
    }
    html body .hero__headline .word > span {
        display: inline !important;
        white-space: normal !important;
    }
    /* Body sub */
    html body .hero__sub {
        font-size: 0.95rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* CTAs - force stack instead of trying to flex */
    html body .hero__ctas {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    html body .hero__ctas .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        flex: none !important;
    }
    /* Terminal — limit width strictly */
    html body .term {
        width: 100% !important;
        max-width: 100% !important;
    }
    html body .term__body,
    html body .term__body * {
        max-width: 100% !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }
    /* Products grid - 1 column */
    html body .products__grid {
        grid-template-columns: 1fr !important;
    }
    html body .pcard--wide { grid-column: span 1 !important; }
    /* Nav padding */
    html body .nav { padding: 14px 18px !important; }
}

/* ============================================
   Whitespace reduction pass 2 (2026-06-22)
   Tighten EVERYTHING
   ============================================ */

/* Hero */
html body .hero { padding: 60px 0 30px !important; }
html body .hero__eyebrow { margin-bottom: 18px !important; }
html body .hero__headline { margin-bottom: 20px !important; }
html body .hero__sub { margin-bottom: 22px !important; }
html body .hero__ctas { margin-bottom: 24px !important; }
html body .hero__meta { padding-top: 16px !important; gap: 32px !important; }
html body .hero__marquee { margin-top: 24px !important; padding: 10px 0 !important; }
@media (max-width: 700px) {
    html body .hero { padding: 50px 0 20px !important; }
    html body .hero__marquee { margin-top: 18px !important; }
}

/* Products */
html body .products { padding: 56px 0 56px !important; }
html body .products__head { margin-bottom: 32px !important; }
html body .products__h { margin-bottom: 14px !important; }
html body .products__grid { gap: 16px !important; }
html body .pcard { padding: 24px !important; min-height: 0 !important; gap: 12px !important; }

/* Problem */
html body .problem__sticky { padding: 56px 0 !important; }
html body .problem__h { margin-bottom: 20px !important; }
html body .problem__copy { margin-bottom: 12px !important; }
html body .stat-pair { padding: 28px !important; }
html body .stat-pair__row--alt { margin-top: 20px !important; }
html body .stat-pair__label { margin-top: 6px !important; }
html body .stat-pair__gap { margin-top: 24px !important; padding-top: 16px !important; }

/* Services */
html body .services { padding-top: 48px !important; }
html body .services__intro { margin-bottom: 40px !important; }
html body .services__h { margin-bottom: 16px !important; }
html body .svc-card { padding: 32px !important; min-height: 0 !important; gap: 14px !important; }

/* Proof */
html body .proof { padding: 56px 0 !important; }
html body .proof__h { margin-bottom: 40px !important; }
html body .proof__grid { gap: 24px !important; }

/* Quote */
html body .quote { padding: 80px 0 !important; }
html body .quote__text { margin-bottom: 28px !important; }
html body .quote__attr { padding-top: 18px !important; }

/* Lines */
html body .lines { padding: 56px 0 !important; }
html body .lines__h { margin-bottom: 32px !important; }
html body .lines__grid { gap: 20px !important; }
html body .line { padding: 24px !important; }
html body .line__no { margin-bottom: 10px !important; }

/* CTA */
html body .cta { padding: 40px 0 64px !important; }
html body .cta__band { padding: 48px 40px !important; }
html body .cta__h { margin-bottom: 14px !important; }
html body .cta__sub { margin-bottom: 28px !important; }

/* Footer */
html body .foot { padding: 20px 0 !important; }

/* Generic kicker margin */
html body .kicker { margin-bottom: 16px !important; }
html body .section__head, html body .products__head, html body .services__intro { margin-bottom: 32px !important; }

/* ============================================
   Services pinned scroll — kill empty space above cards
   ============================================ */
html body .services__intro { margin-bottom: 24px !important; }
html body .services__pin { height: 80vh !important; }

/* Move cards to top of the pin instead of vertically centered */
html body .services__track {
    top: 60px !important;
    transform: translateY(0) !important;
}
html body .services__bar { bottom: 28px !important; }

@media (max-width: 900px) {
    /* Mobile: not pinned anymore, just stack */
    html body .services__pin { height: auto !important; }
    html body .services__track { top: 0 !important; }
}

/* ============================================
   Nav logo as image (real TM mark)
   ============================================ */
html body .nav__mark {
    width: auto !important;
    height: 28px !important;
    max-width: 80px;
    color: unset;
}
html body .nav.is-scrolled .nav__mark { height: 24px !important; }

/* ============================================
   FOOTER — full sitemap
   ============================================ */
html body .foot {
    padding: 64px 0 0 !important;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 39, 84, 0.03) 100%);
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

.foot__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
@media (max-width: 1000px) {
    .foot__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .foot__col--brand { grid-column: span 2; }
}
@media (max-width: 600px) {
    .foot__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
    .foot__col--brand { grid-column: span 1; }
}

.foot__col { min-width: 0; }

.foot__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
}
.foot__mark { height: 32px; width: auto; max-width: 90px; }

.foot__tag {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 36ch;
}

.foot__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.foot__badge {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    color: var(--ink-mute);
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.4);
}

.foot__h {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.foot__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.foot__list li {
    font-size: 14px;
    line-height: 1.45;
}
.foot__list a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.foot__list a:hover { color: var(--accent); }
.foot__list a .ext { font-size: 10px; color: var(--ink-mute); transition: color 0.15s ease; }
.foot__list a:hover .ext { color: var(--accent); }
.foot__list-meta { color: var(--ink-mute); font-size: 13px; font-style: italic; }

.foot__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 32px !important;
    border-top: 1px solid var(--line);
    margin-top: 0;
}
@media (max-width: 600px) {
    .foot__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px !important;
    }
}
.foot__copy { color: var(--ink-mute); font-size: 12px; }
.foot__meta { color: var(--ink-mute); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Logo height a bit larger now that it's standalone (PNG contains wordmark) */
html body .nav__mark { height: 36px !important; max-width: 110px !important; }
html body .nav.is-scrolled .nav__mark { height: 30px !important; }
html body .foot__mark { height: 44px; max-width: 130px; }

/* ============================================
   Contact section (replaces old CTA)
   ============================================ */
html body .contact {
    padding: 80px 0 100px;
    position: relative;
}
@media (max-width: 700px) {
    html body .contact { padding: 56px 0 64px; }
}

.contact__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.contact__head .kicker { justify-content: center; }
.contact__h {
    font-family: var(--sans);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 18px;
}
.contact__sub {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; gap: 28px; }
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact__card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 28px;
    text-decoration: none;
    color: var(--ink);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.contact__card:not(.contact__card--passive):hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -14px rgba(10, 138, 124, 0.25);
}
.contact__card-h {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    grid-column: 1;
}
.contact__card-v {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    grid-column: 1;
    grid-row: 2;
    word-break: break-word;
}
.contact__card-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.18s ease;
}
.contact__card:hover .contact__card-arrow { transform: translateX(4px); }
.contact__card--passive { cursor: default; opacity: 0.85; }

/* Form */
.contact__form {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 700px) {
    .contact__form { padding: 24px; }
}
.contact__field {
    margin-bottom: 18px;
}
.contact__field label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.contact__field input,
.contact__field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    font-family: var(--sans);
    font-size: 16px; /* prevents iOS zoom */
    color: var(--ink);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact__field textarea { resize: vertical; min-height: 130px; }
.contact__field input:focus,
.contact__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 179, 162, 0.18);
}
.contact__submit {
    margin-top: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
}
.contact__note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--ink-mute);
    line-height: 1.5;
}

/* ============================================
   Quad icon variant for Aboard·Arrived·Visit·Guide
   ============================================ */
html body .pcard__icon--quad {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 6px 0 8px;
}
html body .pcard__icon--quad .pcard__icon-sub {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.1;
    border-radius: 14px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}
html body .pcard__icon--quad .pcard__icon-name {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
html body .pcard__icon--quad .pcard__icon-sub img {
    max-width: 28px;
    max-height: 28px;
    width: auto;
    height: auto;
}
html body .pcard__icon--quad .pcard__icon-tag {
    font-family: var(--mono);
    font-size: 8.5px;
    font-weight: 600;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: none;
}
@media (max-width: 600px) {
    html body .pcard__icon--quad { grid-template-columns: 1fr 1fr; gap: 8px; }
    html body .pcard__icon--quad .pcard__icon-sub { aspect-ratio: auto; padding: 10px 8px; }
}

/* === Quad icons - unique SVG per edition with thematic colors === */
html body .pcard__icon--quad .pcard__icon-svg {
    width: 30px;
    height: 30px;
    color: var(--ed, var(--ink));
    flex-shrink: 0;
    margin: 4px 0;
}
@media (max-width: 600px) {
    html body .pcard__icon--quad .pcard__icon-svg { width: 26px; height: 26px; }
}

/* ============================================
   Executive Briefing card (replaces terminal in hero)
   ============================================ */
.brief {
    background: linear-gradient(180deg, rgba(15, 20, 27, 0.96) 0%, rgba(10, 13, 18, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(43, 179, 162, 0.08),
                0 0 60px -10px rgba(43, 179, 162, 0.15);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transform-origin: right center;
    transition: transform 0.6s ease;
    color: #f5f3ef;
}
.brief:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
@media (max-width: 1000px) {
    .brief { transform: none !important; max-width: 100%; }
}

.brief__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}
.brief__title {
    margin-left: 8px;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.02em;
    flex: 1;
}

.brief__body { padding: 26px 28px 22px; }
@media (max-width: 700px) { .brief__body { padding: 22px 18px 18px; } }

.brief__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.brief__eyebrow .mono { color: var(--accent-2); }
.brief__sep { color: var(--ink-mute); opacity: 0.5; }

.brief__h {
    font-family: var(--sans);
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 22px;
    letter-spacing: -0.015em;
}
@media (max-width: 700px) { .brief__h { font-size: 1.2rem; } }
.brief__up {
    color: var(--accent-2);
    font-weight: 600;
}

.brief__row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-bottom: 22px;
    align-items: center;
}
@media (max-width: 700px) {
    .brief__row { grid-template-columns: 1fr; gap: 18px; }
}

.brief__stat {}
.brief__stat-n {
    font-family: var(--sans);
    font-size: 2.6rem;
    font-weight: 200;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.brief__stat-l {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.4;
}

.brief__bars { display: flex; flex-direction: column; gap: 8px; }
.brief__bar-row {
    display: grid;
    grid-template-columns: 70px 1fr 50px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}
.brief__bar-label { color: var(--ink-mute); }
.brief__bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.brief__bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 4px;
    transition: width 1.2s ease 0.3s;
}
.brief__bar-fill--mid { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.brief__bar-fill--top { background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.7)); }
.brief__bar-val { color: #ffffff; font-size: 10.5px; text-align: right; }

.brief__action {
    background: rgba(43, 179, 162, 0.08);
    border: 1px solid rgba(43, 179, 162, 0.22);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.brief__action-icon {
    color: var(--accent-2);
    font-weight: 700;
    font-family: var(--mono);
    flex-shrink: 0;
    line-height: 1.4;
}
.brief__action strong { color: #ffffff; font-weight: 600; }

.brief__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 10.5px;
    color: var(--ink-mute);
}
.brief__footer-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.04em;
}
.brief__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}
.brief__dot--gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

/* ============================================
   Sector trust strip (below hero, before products)
   ============================================ */
.sectors {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.sectors__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.sectors__label {
    font-size: 10.5px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
}
.sectors__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
}
.sector {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: -0.005em;
}
.sector__dot { color: var(--accent); opacity: 0.4; font-size: 14px; }
@media (max-width: 700px) {
    .sectors { padding: 16px 0; }
    .sectors__list { gap: 8px 12px; font-size: 12px; }
    .sector { font-size: 12px; }
}

/* ============================================
   Product card — outcome line + secondary detail
   ============================================ */
html body .pcard__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--ink-mute);
    line-height: 1.5;
}
html body .pcard p { font-weight: 500; color: var(--ink); }
html body .pcard p .pcard__sub { font-weight: 400; }

/* ============================================
   Services pinned scroll — CLEAN reset (2026-06-22)
   Overrides all previous conflicting rules
   ============================================ */
@media (min-width: 901px) {
    html body .services__pin {
        position: relative !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    html body .services__track {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 32px !important;
        padding: 0 6vw !important;
        transform: none;
        will-change: transform;
    }
    html body .services__bar {
        position: absolute !important;
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Mobile: no pin, just stack */
@media (max-width: 900px) {
    html body .services__pin {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 40px !important;
    }
    html body .services__track {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 16px !important;
    }
    html body .services__bar { display: none !important; }
}

/* ============================================
   Services pinned scroll — CANONICAL flex layout
   ============================================ */
@media (min-width: 901px) {
    html body .services__pin {
        position: relative !important;
        height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    html body .services__track {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 32px !important;
        padding: 0 8vw !important;
        width: max-content !important;
        will-change: transform;
    }
    html body .svc-card {
        flex: 0 0 min(560px, 78vw) !important;
        width: min(560px, 78vw) !important;
        max-width: none !important;
    }
}

/* ============================================
   Services pinned scroll v5 — STICKY approach
   (avoids ScrollTrigger pin conflict with Lenis)
   ============================================ */
@media (min-width: 901px) {
    html body .services__pin {
        position: relative !important;
        height: auto !important; /* JS sets pin height */
        overflow: visible !important;
        padding: 0 !important;
        display: block !important;
    }
    html body .services__sticky {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    html body .services__track {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 32px !important;
        padding: 0 8vw !important;
        width: max-content !important;
        will-change: transform;
    }
    html body .svc-card {
        flex: 0 0 min(560px, 78vw) !important;
        width: min(560px, 78vw) !important;
        max-width: none !important;
        min-height: 480px !important;
    }
    html body .services__bar {
        position: absolute !important;
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(420px, 70vw) !important;
    }
}

@media (max-width: 900px) {
    html body .services__pin {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 40px !important;
    }
    html body .services__sticky {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    html body .services__track {
        position: relative !important;
        transform: none !important;
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 16px !important;
        width: 100% !important;
    }
    html body .services__bar { display: none !important; }
}

/* ============================================
   Services v6 — native horizontal scroll
   (abandoning sticky/pin entirely)
   ============================================ */
html body .services__pin {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    display: block !important;
}
html body .services__sticky {
    position: relative !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    display: block !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    padding-bottom: 24px;
}
html body .services__sticky::-webkit-scrollbar { height: 6px; }
html body .services__sticky::-webkit-scrollbar-track { background: transparent; }
html body .services__sticky::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

html body .services__track {
    position: relative !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 24px !important;
    padding: 16px 6vw !important;
    width: max-content !important;
    will-change: auto;
}
html body .svc-card {
    flex: 0 0 min(560px, 82vw) !important;
    width: min(560px, 82vw) !important;
    max-width: none !important;
    min-height: 0 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
html body .services__bar {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 24px auto 0 !important;
    width: min(420px, 70vw) !important;
}

@media (max-width: 900px) {
    html body .services__sticky {
        scroll-snap-type: x mandatory;
        padding: 0 0 16px;
    }
    html body .services__track {
        padding: 8px 5vw !important;
        gap: 16px !important;
    }
    html body .svc-card {
        flex: 0 0 88vw !important;
        width: 88vw !important;
    }
    html body .services__bar { display: none !important; }
}

/* ============================================
   Services v7 — restore ORIGINAL GSAP pin layout
   Clean reset of all prior service CSS
   ============================================ */
@media (min-width: 901px) {
    /* Outer section — full-bleed, normal flow */
    html body .services { position: relative !important; }

    /* PIN container — relative, height comes from GSAP pinSpacer */
    html body .services__pin {
        position: relative !important;
        height: 100vh !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
        overflow-anchor: none !important;
    }

    /* STICKY wrapper — neutralize (we want GSAP pin, not CSS sticky) */
    html body .services__sticky {
        position: relative !important;
        top: auto !important;
        height: 100% !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    html body .services__sticky::-webkit-scrollbar { display: none !important; }

    /* TRACK — flex row, GSAP translates this */
    html body .services__track {
        position: relative !important;
        transform: translate3d(0, 0, 0);
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 32px !important;
        padding: 0 8vw !important;
        width: max-content !important;
        will-change: transform;
    }

    html body .svc-card {
        flex: 0 0 min(560px, 78vw) !important;
        width: min(560px, 78vw) !important;
        max-width: none !important;
        scroll-snap-align: none !important;
        min-height: 0 !important;
    }

    html body .services__bar {
        position: absolute !important;
        bottom: 32px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        width: min(420px, 70vw) !important;
        z-index: 5;
    }
}

@media (max-width: 900px) {
    html body .services__pin { height: auto !important; overflow: visible !important; }
    html body .services__sticky { overflow: visible !important; display: block !important; }
    html body .services__track {
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 16px !important;
        width: 100% !important;
        transform: none !important;
    }
    html body .svc-card { flex: 0 0 auto !important; width: 100% !important; }
    html body .services__bar { display: none !important; }
}

/* CRITICAL: prevent any global overflow-clip on ancestors from breaking pin */
html body main { overflow: visible !important; }

/* DEBUG: remove overflow-x clip from html/body to test pin */
html, body {
    overflow-x: hidden !important;
}

/* ============================================
   Services v8 — FINAL: clean 3-column grid
   No pin, no sticky, no horizontal scroll. Just works.
   ============================================ */
html body .services {
    position: relative !important;
    padding: 80px 0 !important;
}
@media (max-width: 700px) {
    html body .services { padding: 56px 0 !important; }
}

/* Kill all old services__pin / __sticky / __track / __bar styles */
html body .services__pin,
html body .services__sticky,
html body .services__track,
html body .services__bar {
    all: unset !important;
    display: block !important;
}

html body .services__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: stretch;
}
@media (max-width: 1100px) {
    html body .services__grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
    html body .services__grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

html body .svc-card {
    flex: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 32px !important;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 40px -20px rgba(10, 39, 84, 0.12);
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    scroll-snap-align: none !important;
}
html body .svc-card--alt {
    background: linear-gradient(180deg, rgba(43, 179, 162, 0.06), rgba(255, 255, 255, 0.7));
    border-color: rgba(43, 179, 162, 0.25);
}

/* === Contact form status messages === */
html body .contact__status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
}
html body .contact__status--loading { background: rgba(43, 179, 162, 0.08); color: var(--accent); }
html body .contact__status--ok { background: rgba(43, 179, 162, 0.12); color: var(--accent); border: 1px solid rgba(43, 179, 162, 0.3); }
html body .contact__status--err { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border: 1px solid rgba(220, 38, 38, 0.25); }
html body .contact__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* === Footer legal links === */
html body .foot__legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--ink-mute);
}
html body .foot__legal a {
    color: var(--ink-mute);
    text-decoration: none;
    transition: color 0.15s ease;
}
html body .foot__legal a:hover { color: var(--accent); }
@media (max-width: 600px) {
    html body .foot__bottom { gap: 12px !important; }
    html body .foot__legal { font-size: 11px; }
}

/* === Product card external link icon === */
.pcard__ext {
    position: absolute;
    top: 22px;
    right: 22px;
    font-family: var(--mono);
    font-size: 16px;
    line-height: 1;
    color: var(--ink-mute);
    transition: color 0.2s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(10, 13, 18, 0.04);
    border: 1px solid var(--line);
    z-index: 2;
    pointer-events: none;
}
.pcard:hover .pcard__ext {
    color: var(--accent);
    background: rgba(10, 138, 124, 0.08);
    border-color: rgba(10, 138, 124, 0.3);
    transform: translate(2px, -2px);
}
@media (max-width: 700px) {
    .pcard__ext { top: 16px; right: 16px; width: 28px; height: 28px; font-size: 15px; }
}

/* Sub-icon link styling (Aboard / Arrived in the multi-edition card) */
a.pcard__icon-sub {
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.pcard__icon-sub:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px rgba(10, 39, 84, 0.18);
}
a.pcard__icon-sub::after {
    content: "↗";
    position: absolute;
    top: 6px;
    right: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
a.pcard__icon-sub:hover::after {
    color: var(--accent);
    opacity: 1;
    transform: translate(1px, -1px);
}

/* === Fix: prevent fixed .nav from covering anchor section headings === */
#top, #products, #services, #proof, #contact { scroll-margin-top: 90px; }

/* === Fix: nav fully opaque so scrolling content doesn t bleed through === */
.nav, .nav.is-scrolled { background: #fafaf7; border-bottom: 1px solid rgba(10,13,18,0.06); }

/* === Fix: hero top padding must clear the fixed nav (was 60px, nav is ~67-75px tall) === */
html body .hero { padding-top: 100px !important; }
@media (max-width: 700px) { html body .hero { padding-top: 70px !important; } }

/* === Logo: 70% of nav height; tighten nav padding === */
/* Use html body specificity to beat the line 2053/2054 overrides */
html body .nav { padding: 10px 40px !important; }
html body .nav.is-scrolled { padding: 8px 40px !important; }
html body .nav__mark { width: auto !important; height: 48px !important; max-width: none !important; display: block !important; }
html body .nav.is-scrolled .nav__mark { height: 40px !important; }
@media (max-width: 700px) {
    html body .nav { padding: 8px 18px !important; }
    html body .nav.is-scrolled { padding: 6px 18px !important; }
    html body .nav__mark { height: 40px !important; }
    html body .nav.is-scrolled .nav__mark { height: 34px !important; }
}
