/* ======================================================================
   CARGOFUSE — Premium design system
   Palette derived from logo: sand #D4B896 + slate teal #7E9095
   ====================================================================== */

:root {
    --bg: #0A1628;
    --bg-2: #0E1B30;
    --bg-3: #142540;
    --ink: #F7F4EE;
    --ink-dim: #C7CBD1;
    --ink-mute: #8A95A5;
    --line: rgba(247, 244, 238, 0.08);
    --line-2: rgba(247, 244, 238, 0.14);

    --sand: #D4B896;
    --sand-2: #E5D2B0;
    --teal: #7E9095;
    --teal-2: #9AB2B9;
    --gold: #C9A876;
    --accent: #DCBE8A;

    --grad-warm: linear-gradient(135deg, #D4B896 0%, #C9A876 50%, #7E9095 100%);
    --grad-ink: linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,.85) 60%, #0A1628 100%);
    --grad-card: linear-gradient(180deg, rgba(247,244,238,0.04), rgba(247,244,238,0.01));

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 28px;

    --shadow-glow: 0 30px 60px -20px rgba(212, 184, 150, 0.25);
    --shadow-card: 0 24px 48px -24px rgba(0, 0, 0, 0.6);

    --font-display: "Inter Tight", "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    --font-sans: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

    --container: 1280px;
    --section-y: clamp(80px, 12vw, 160px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* Background atmosphere */
.atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.atmosphere::before,
.atmosphere::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}
.atmosphere::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--sand) 0%, transparent 70%);
    top: -200px; right: -100px;
}
.atmosphere::after {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
    bottom: -300px; left: -200px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

/* Grid noise overlay */
.atmosphere .grain {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(247,244,238,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247,244,238,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============================== NAV ============================== */
.nav-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.3s ease;
}
.nav-wrap.scrolled {
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: rgba(10, 22, 40, 0.75);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.nav-brand img.logo-img {
    height: 78px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: height .25s ease;
}
.nav-wrap.scrolled .nav-brand img.logo-img { height: 62px; }
.footer .nav-brand img.logo-img { height: 90px; }
@media (max-width: 600px) {
    .nav-brand img.logo-img { height: 56px; }
    .nav-wrap.scrolled .nav-brand img.logo-img { height: 48px; }
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    background: rgba(247, 244, 238, 0.04);
    border: 1px solid var(--line);
    padding: 6px;
    border-radius: 999px;
    backdrop-filter: blur(20px);
}
.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    color: var(--ink-dim);
    border-radius: 999px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.nav-link:hover { color: var(--ink); background: rgba(247, 244, 238, 0.06); }
.nav-link.active { color: var(--bg); background: var(--ink); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--sand);
    color: var(--bg);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid var(--sand);
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--sand-2);
    border-color: var(--sand-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}
.nav-cta svg { transition: transform 0.25s; }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(247,244,238,0.04);
    align-items: center; justify-content: center;
}
.nav-burger span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
    content: "";
    position: absolute;
    left: 0; width: 20px; height: 2px;
    background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(30px);
    padding: 100px 28px 40px;
    display: none;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: var(--font-display);
    font-size: 32px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.mobile-menu .nav-cta {
    margin-top: 20px;
    align-self: flex-start;
    font-family: var(--font-sans);
    font-size: 16px;
}

/* ============================== HERO (legacy two-column - unused) ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

/* ============================== HERO SLIDER (new) ============================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 720px;
    max-height: 1080px;
    overflow: hidden;
    background: var(--bg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) saturate(0.95);
    will-change: transform;
    /* per-slide transform + transition below */
}

/* TRUCK SLIDE — scale anchored at left, so the truck (centered in photo)
   visually drifts to the right side of the viewport.
   Bigger scale = truck further right. */
.hero-slide[data-slide="road"] .hero-slide-bg {
    transform-origin: 0% 50%;
    transform: scale(1.55);
    transition: transform 9s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero-slide[data-slide="road"].active .hero-slide-bg {
    transform: scale(1.75);
}

/* SEA SLIDE */
.hero-slide[data-slide="sea"] .hero-slide-bg {
    transform-origin: 20% 50%;
    transform: scale(1.18);
    transition: transform 9s ease-out;
}
.hero-slide[data-slide="sea"].active .hero-slide-bg {
    transform: scale(1.32);
}

/* AIR SLIDE — origin top-left + scale drifts the centered plane to bottom-right */
.hero-slide[data-slide="air"] .hero-slide-bg {
    transform-origin: 0% 0%;
    transform: scale(1.18);
    transition: transform 9s ease-out;
}
.hero-slide[data-slide="air"].active .hero-slide-bg {
    transform: scale(1.32);
}

/* Overlay gradients — strong left wedge so text reads, transparent right where vehicles live */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,22,40,.45) 0%, rgba(10,22,40,.2) 35%, rgba(10,22,40,.75) 75%, var(--bg) 100%),
        linear-gradient(90deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.78) 30%, rgba(10,22,40,.25) 65%, transparent 100%);
    z-index: 1;
}

.hero-slide::after {
    /* Speed streaks */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(212,184,150,0.5) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(212,184,150,0.3) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(247,244,238,0.2) 50%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 30% 1px, 22% 1px, 16% 1px;
    background-position: -40% 30%, 130% 55%, -30% 78%;
    opacity: 0;
    z-index: 2;
}
.hero-slide.active::after {
    animation: streaks 1.6s ease-out 0.4s forwards;
}
@keyframes streaks {
    0% { opacity: 0; background-position: -40% 30%, 130% 55%, -30% 78%; }
    50% { opacity: 1; }
    100% { opacity: 0; background-position: 140% 30%, -50% 55%, 130% 78%; }
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 100px;
    padding-bottom: 130px;
}
@media (max-width: 800px) {
    .hero-slide-content { padding-bottom: 130px; padding-top: 110px; }
    .hero-slider { min-height: 680px; }
}

/* Tag row — slides in from left + grows the lead line */
.hero-slide .tag-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--sand);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.hero-slide .tag-row::before {
    content: "";
    width: 0;
    height: 1px;
    background: var(--sand);
    transition: width 0.9s cubic-bezier(.2,.85,.3,1) 0.25s;
}
.hero-slide.active .tag-row { opacity: 1; transform: translateX(0); }
.hero-slide.active .tag-row::before { width: 56px; }

/* Headline — line-by-line stagger via keyframes (replays on every active swap) */
.hero-slide h1 {
    font-family: var(--font-display);
    font-size: clamp(46px, 7.2vw, 104px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    margin-bottom: 26px;
    max-width: 1000px;
}
.hero-slide h1 .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}
.hero-slide h1 .line > span {
    display: inline-block;
    transform: translateY(110%);
}
.hero-slide.active h1 .line:nth-child(1) > span {
    animation: heroLineIn 0.95s cubic-bezier(.2,.85,.3,1) 0.25s forwards;
}
.hero-slide.active h1 .line:nth-child(2) > span {
    animation: heroLineIn 0.95s cubic-bezier(.2,.85,.3,1) 0.4s forwards;
}
.hero-slide.active h1 .line:nth-child(3) > span {
    animation: heroLineIn 0.95s cubic-bezier(.2,.85,.3,1) 0.55s forwards;
}
@keyframes heroLineIn {
    from { transform: translateY(110%); }
    to   { transform: translateY(0); }
}

.hero-slide h1 .accent {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-slide h1 .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
}

/* Subtitle fades up */
.hero-slide-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-dim);
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-slide.active .hero-slide-sub {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.85s;
}

/* Actions stagger fade-up */
.hero-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-slide.active .hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

/* Side meta (mode #) */
.hero-meta {
    position: absolute;
    top: 50%;
    right: 36px;
    transform: translateY(-50%);
    z-index: 5;
    text-align: right;
    pointer-events: none;
}
.hero-meta .big {
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 220px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, rgba(247,244,238,0.18), rgba(247,244,238,0.02));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.9s ease 0.3s;
}
.hero-slide.active + .hero-meta .big,
.hero-slide.active .hero-meta-num .big { opacity: 1; transform: translateX(0); }

@media (max-width: 900px) {
    .hero-meta { display: none; }
}

.slide-meta-num {
    position: absolute;
    top: 50%;
    right: clamp(20px, 4vw, 60px);
    transform: translateY(-50%);
    z-index: 4;
    font-family: var(--font-display);
    font-size: clamp(120px, 18vw, 280px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.06em;
    color: rgba(247,244,238,0.06);
    pointer-events: none;
    user-select: none;
    transform-origin: right center;
    opacity: 0;
    transition: all 1.2s ease;
}
.hero-slide.active .slide-meta-num { opacity: 1; transform: translateY(-50%) translateX(0); }

.slide-side-label {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    z-index: 4;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--ink-mute);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}
@media (max-width: 900px) { .slide-side-label { display: none; } }

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 92px;
    right: clamp(20px, 4vw, 60px);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
}
.slider-arrow {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(247,244,238,0.06);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-2);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition: all 0.25s;
    cursor: pointer;
}
.slider-arrow:hover {
    background: var(--sand);
    color: var(--bg);
    border-color: var(--sand);
}
.slider-arrow svg { width: 18px; height: 18px; }

.slider-dots {
    position: absolute;
    bottom: 110px;
    left: clamp(20px, 4vw, 60px);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}
.slider-dot {
    width: 36px; height: 3px;
    background: rgba(247,244,238,0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s;
}
.slider-dot.active { width: 96px; background: rgba(247,244,238,0.2); }
.slider-dot.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sand);
    animation: slideProgress 6s linear forwards;
}
@keyframes slideProgress {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Bottom hero info bar */
.hero-bottom {
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    z-index: 5;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(10,22,40,0.85));
    backdrop-filter: blur(10px);
}
.hero-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.hero-bottom-cell {
    padding: 22px 28px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-bottom-cell:last-child { border-right: none; }
.hero-bottom-cell .l {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.hero-bottom-cell .v {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.025em;
    font-size: 22px;
    color: var(--ink);
}
.hero-bottom-cell .v .sm { font-size: 14px; color: var(--ink-dim); font-weight: 600; }
@media (max-width: 700px) {
    .hero-bottom-grid { grid-template-columns: 1fr 1fr; }
    .hero-bottom-cell { padding: 14px 20px; }
    .hero-bottom-cell:nth-child(2) { border-right: none; }
}

/* Marquee at very bottom of slide content */
.hero-marquee-band {
    position: absolute;
    bottom: 90px;
    left: 0; right: 0;
    z-index: 4;
    overflow: hidden;
    padding: 0;
    background: rgba(10,22,40,0.4);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
    height: 0;
    visibility: hidden;
}

/* ============================== MAP LIGHTBOX MODAL ============================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 22, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}
.modal-backdrop.open {
    display: flex;
    opacity: 1;
}
.modal {
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    transform: scale(0.96) translateY(12px);
    transition: transform 0.4s cubic-bezier(.2,.85,.3,1);
    display: flex;
    flex-direction: column;
    margin: auto;
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(10,22,40,0.6);
    flex-shrink: 0;
}
.modal-title {
    display: flex; align-items: center; gap: 14px;
    min-width: 0;
}
.modal-title .flag {
    font-size: 28px;
    line-height: 1;
}
.modal-title h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}
.modal-title .sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 2px;
}
.modal-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(247,244,238,0.06);
    border: 1px solid var(--line-2);
    color: var(--ink);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.modal-close:hover { background: var(--sand); color: var(--bg); border-color: var(--sand); }
.modal-close svg { width: 16px; height: 16px; }

.modal-map {
    position: relative;
    aspect-ratio: 16/11;
    background: var(--bg);
    flex-shrink: 0;
}
.modal-map iframe {
    width: 100%; height: 100%;
    border: 0;
    display: block;
}

.modal-info {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}
@media (max-width: 600px) { .modal-info { grid-template-columns: 1fr; } }
.modal-info > div {
    padding: 14px 20px;
    border-right: 1px solid var(--line);
}
.modal-info > div:last-child { border-right: none; }
@media (max-width: 600px) {
    .modal-info > div { border-right: none; border-bottom: 1px solid var(--line); }
    .modal-info > div:last-child { border-bottom: none; }
}
.modal-info .lbl {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 4px;
}
.modal-info .val {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.5;
}
.modal-info a { color: var(--sand); transition: color 0.2s; }
.modal-info a:hover { color: var(--sand-2); }

/* ============================== Updated PIN LABELS ============================== */
.world-pin .pin-label {
    position: absolute;
    background: rgba(10,22,40,0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line-2);
    padding: 12px 16px;
    border-radius: 14px;
    white-space: nowrap;
    font-size: 13px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 3;
}
.world-pin:hover .pin-label,
.world-pin.show .pin-label { opacity: 1; }

.world-pin[data-anchor="right"] .pin-label {
    left: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
}
.world-pin[data-anchor="right"]:hover .pin-label,
.world-pin[data-anchor="right"].show .pin-label {
    transform: translateY(-50%) translateX(0);
}

.world-pin[data-anchor="left"] .pin-label {
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
}
.world-pin[data-anchor="left"]:hover .pin-label,
.world-pin[data-anchor="left"].show .pin-label {
    transform: translateY(-50%) translateX(0);
}

.world-pin[data-anchor="top"] .pin-label {
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
}
.world-pin[data-anchor="top"]:hover .pin-label,
.world-pin[data-anchor="top"].show .pin-label {
    transform: translateX(-50%) translateY(0);
}

.world-pin[data-anchor="bottom"] .pin-label {
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
}
.world-pin[data-anchor="bottom"]:hover .pin-label,
.world-pin[data-anchor="bottom"].show .pin-label {
    transform: translateX(-50%) translateY(0);
}

.pin-label .pin-cta {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--sand);
    text-transform: uppercase;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(247,244,238,0.04);
    font-size: 13px;
    color: var(--ink-dim);
    margin-bottom: 28px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    animation: fadeUp 0.8s ease backwards;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px;
    background: var(--sand);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--sand);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(56px, 9vw, 128px);
    line-height: 0.88;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeUp 1s ease 0.1s backwards;
}
.hero h1 .accent {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero-sub {
    font-size: 19px;
    color: var(--ink-dim);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.55;
    animation: fadeUp 1s ease 0.25s backwards;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeUp 1s ease 0.4s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn-primary {
    background: var(--sand);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--sand-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-ghost {
    background: rgba(247,244,238,0.04);
    color: var(--ink);
    border-color: var(--line-2);
    backdrop-filter: blur(20px);
}
.btn-ghost:hover {
    background: rgba(247,244,238,0.09);
    border-color: var(--sand);
    transform: translateY(-2px);
}
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }
.btn-play svg { transform: none; }
.btn-play .play-icon {
    width: 28px; height: 28px;
    background: var(--sand);
    color: var(--bg);
    border-radius: 50%;
    display: grid; place-items: center;
}
.btn-play .play-icon svg { width: 12px; height: 12px; }

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    animation: fadeUp 1s ease 0.55s backwards;
}
.hero-stat .num {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.hero-stat .num .plus {
    color: var(--sand);
    font-size: 0.7em;
}
.hero-stat .label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero visual — globe + routes */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 560px;
    margin-left: auto;
    animation: fadeIn 1.2s ease 0.3s backwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.globe-orb {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(212,184,150,0.4), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(126,144,149,0.4), transparent 50%),
        conic-gradient(from 0deg, #1a2942, #243957, #1a2942, #2d4869, #1a2942);
    box-shadow:
        inset 0 0 60px rgba(0,0,0,0.5),
        0 0 120px rgba(212,184,150,0.15),
        0 0 0 1px var(--line-2);
    animation: spin 60s linear infinite;
    overflow: hidden;
}
.globe-orb::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(212,184,150,0.05) 24px, rgba(212,184,150,0.05) 25px),
        repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(212,184,150,0.05) 24px, rgba(212,184,150,0.05) 25px);
    border-radius: 50%;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-overlay {
    position: absolute;
    inset: -10%;
    pointer-events: none;
}

.route-pin {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--sand);
    box-shadow: 0 0 0 4px rgba(212,184,150,0.25), 0 0 20px var(--sand);
    transform: translate(-50%, -50%);
    animation: pinPulse 3s ease-in-out infinite;
}
.route-pin .label {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-2);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--ink);
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}
@keyframes pinPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(212,184,150,0.25), 0 0 20px var(--sand); }
    50% { box-shadow: 0 0 0 10px rgba(212,184,150,0.05), 0 0 30px var(--sand); }
}

.route-arc {
    position: absolute;
    inset: 0;
}
.route-arc path {
    fill: none;
    stroke: var(--sand);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: 0.5;
    animation: dash 30s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -200; } }

.hero-floating-card {
    position: absolute;
    background: rgba(14, 27, 48, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-2);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    box-shadow: var(--shadow-card);
    animation: bob 6s ease-in-out infinite;
}
.hero-floating-card .row {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
}
.hero-floating-card .row strong { color: var(--ink); font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
.hero-floating-card .row .badge {
    margin-left: auto;
    padding: 2px 8px;
    background: rgba(212,184,150,0.15);
    color: var(--sand);
    border-radius: 999px;
    font-size: 10px;
}
.hero-floating-card .progress {
    margin-top: 10px;
    height: 4px;
    background: var(--line-2);
    border-radius: 999px;
    overflow: hidden;
}
.hero-floating-card .progress > div {
    height: 100%;
    width: 72%;
    background: var(--grad-warm);
    border-radius: 999px;
    animation: progressGrow 4s ease-in-out infinite;
}
@keyframes progressGrow {
    0%, 100% { width: 65%; }
    50% { width: 85%; }
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-card-1 { top: 8%; left: -8%; }
.hero-card-2 { bottom: 12%; right: -6%; animation-delay: -3s; }
.hero-card-3 { bottom: -2%; left: 14%; animation-delay: -1.5s; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero { padding-top: 120px; }
}

/* ============================== LOGO MARQUEE ============================== */
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(247,244,238,0.015);
    overflow: hidden;
}
.marquee-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-mute);
    margin-bottom: 32px;
}
.marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
    align-items: center;
    padding-right: 80px;
}
.marquee-item {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-dim);
    white-space: nowrap;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    opacity: 0.65;
    display: flex; align-items: center; gap: 16px;
}
.marquee-item .dot { color: var(--sand); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================== SECTION CHROME ============================== */
section { padding: var(--section-y) 0; position: relative; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sand);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: "";
    width: 32px; height: 1px;
    background: var(--sand);
}

.section-head {
    max-width: 760px;
    margin-bottom: 72px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-head h2 em {
    font-style: normal;
    color: var(--sand);
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head p {
    font-size: 19px;
    color: var(--ink-dim);
    line-height: 1.55;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head.center .eyebrow::after {
    content: "";
    width: 32px; height: 1px;
    background: var(--sand);
}

/* ============================== SERVICES GRID ============================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) {
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

.service-card {
    position: relative;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--grad-card);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(212,184,150,0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    border-color: var(--line-2);
    transform: translateY(-4px);
}

.service-card .icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212,184,150,0.2), rgba(126,144,149,0.1));
    border: 1px solid var(--line-2);
    display: grid;
    place-items: center;
    color: var(--sand);
    margin-bottom: 28px;
}
.service-card .icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}
.service-card p {
    color: var(--ink-dim);
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.service-tag {
    padding: 4px 10px;
    background: rgba(247,244,238,0.04);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink-mute);
    font-family: var(--font-mono);
}

.service-card .arrow {
    position: absolute;
    top: 32px; right: 32px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    display: grid; place-items: center;
    color: var(--ink-dim);
    transition: all 0.3s;
}
.service-card:hover .arrow {
    background: var(--sand);
    color: var(--bg);
    border-color: var(--sand);
    transform: rotate(-45deg);
}

/* Featured service — wide */
.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(212,184,150,0.08), rgba(126,144,149,0.04));
    border-color: rgba(212,184,150,0.2);
}
@media (max-width: 960px) { .service-card.featured { grid-column: span 1; } }

/* ============================== METHOD / PROCESS ============================== */
.method {
    background:
        linear-gradient(180deg, transparent, rgba(247,244,238,0.02), transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}
@media (max-width: 960px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .method-grid { grid-template-columns: 1fr; } }

.method-step {
    padding: 32px 24px;
    border-radius: var(--radius);
    background: var(--bg-2);
    border: 1px solid var(--line);
    position: relative;
    transition: all 0.3s;
}
.method-step:hover {
    border-color: var(--sand);
    transform: translateY(-4px);
}
.method-step .step-num {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}
.method-step h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.method-step p {
    color: var(--ink-dim);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ============================== STATS BANNER ============================== */
.stats-banner {
    margin: 60px 0;
    padding: 60px 48px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 0% 0%, rgba(212,184,150,0.1), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(126,144,149,0.1), transparent 50%),
        var(--bg-2);
    border: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
@media (max-width: 800px) { .stats-banner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px; } }

.stat-item .big {
    font-family: var(--font-display);
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.stat-item .lbl {
    margin-top: 12px;
    font-size: 13px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ============================== STORY / ABOUT ============================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 50px; } }

.story-img {
    position: sticky;
    top: 120px;
    align-self: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-2);
}
@media (max-width: 900px) {
    .story-img { position: relative; top: auto; }
}
.story-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2,.7,.3,1);
}
.story-img:hover img { transform: scale(1.05); }
.story-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.6));
    pointer-events: none;
}
.story-img .badge-tile {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line-2);
    z-index: 2;
}
.story-img .badge-tile .num {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--sand);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.story-img .badge-tile .lbl {
    font-size: 12px;
    color: var(--ink-dim);
    margin-top: 4px;
}

.story h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.98;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.story h2 em {
    font-style: normal;
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story p {
    color: var(--ink-dim);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.values-list {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}
.value-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row .num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--sand);
    padding-top: 2px;
}
.value-row h5 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
}
.value-row p {
    font-size: 14.5px;
    color: var(--ink-mute);
    margin: 0;
}

/* ============================== NETWORK / MAP ============================== */
.network-canvas {
    margin-top: 64px;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 30% 50%, rgba(126,144,149,0.15), transparent 50%),
        var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 32px;
}

.world-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.world-svg .country {
    fill: rgba(247,244,238,0.06);
    stroke: rgba(247,244,238,0.08);
    stroke-width: 0.5;
    transition: fill 0.4s;
}
.world-svg .country.lit { fill: rgba(212,184,150,0.25); }

/* Subtle continent silhouettes — glassmorphism tech style */
.world-svg .continents path {
    fill: rgba(247, 244, 238, 0.035);
    stroke: rgba(247, 244, 238, 0.14);
    stroke-width: 0.55;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

/* Dotted bridge arcs connecting clickable pins (overlay in container-% coords) */
.world-arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.world-arcs path {
    fill: none;
    stroke: var(--sand);
    stroke-width: 1.5;
    stroke-dasharray: 4 5;
    stroke-linecap: round;
    opacity: 0.55;
    vector-effect: non-scaling-stroke;
    animation: arcDash 40s linear infinite;
}
@keyframes arcDash { to { stroke-dashoffset: -200; } }

.world-pin {
    position: absolute;
    width: 18px; height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sand);
    box-shadow: 0 0 0 4px rgba(212,184,150,0.25), 0 0 24px var(--sand);
    transform: translate(-50%, -50%);
    animation: pinPulse 3s ease-in-out infinite;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.world-pin:hover {
    transform: translate(-50%, -50%) scale(1.2);
}
.world-pin:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px;
}
/* Base pin-label sizing — positioning handled by [data-anchor] rules below */
.world-pin .pin-label-base {
    /* placeholder removed; see [data-anchor] rules */
}
.world-pin .pin-label strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -0.015em; }
.world-pin .pin-label small { color: var(--ink-mute); font-family: var(--font-mono); font-size: 11px; }

.network-stats {
    position: absolute;
    bottom: 28px; left: 28px;
    display: flex; gap: 32px;
    background: rgba(10,22,40,0.6);
    backdrop-filter: blur(20px);
    padding: 18px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line-2);
}
.network-stats div .n {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--sand);
    line-height: 1;
}
.network-stats div .l {
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

@media (max-width: 700px) {
    .network-canvas { aspect-ratio: 4/5; }
    .network-stats { flex-direction: column; gap: 12px; }
}

/* ============================== TESTIMONIAL ============================== */
.testimonial {
    margin: 60px 0;
    padding: 60px 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(212,184,150,0.06), rgba(126,144,149,0.04));
    border: 1px solid var(--line-2);
    text-align: center;
    position: relative;
}
.testimonial .quote-mark {
    font-family: var(--font-display);
    font-size: 140px;
    color: var(--sand);
    line-height: 0.4;
    height: 40px;
    margin-bottom: 24px;
    opacity: 0.6;
    font-weight: 800;
}
.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.25;
    max-width: 920px;
    margin: 0 auto 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.testimonial cite {
    font-style: normal;
    font-size: 14px;
    color: var(--ink-mute);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================== CTA SECTION ============================== */
.cta {
    text-align: center;
    padding: var(--section-y) 0;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(ellipse at center, rgba(212,184,150,0.12), transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 104px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    max-width: 1000px;
    margin: 0 auto 28px;
}
.cta h2 em {
    font-style: normal;
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta p {
    color: var(--ink-dim);
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto 40px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================== FOOTER ============================== */
.footer {
    border-top: 1px solid var(--line);
    padding: 80px 0 32px;
    background: var(--bg-2);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { max-width: 320px; }
.footer-brand .nav-brand { margin-bottom: 20px; }
.footer-brand p { color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; }

.social-list { display: flex; gap: 10px; }
.social-list a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    display: grid; place-items: center;
    color: var(--ink-dim);
    transition: all 0.2s;
}
.social-list a:hover { background: var(--sand); color: var(--bg); border-color: var(--sand); }
.social-list svg { width: 16px; height: 16px; }

.footer-col h6 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--sand);
    margin-bottom: 20px;
    font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
    color: var(--ink-dim);
    font-size: 14.5px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--sand); }

.footer-bar {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink-mute);
    font-size: 13px;
    font-family: var(--font-mono);
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================== PAGE HEADER (interior pages) ============================== */
.page-hero {
    padding: 180px 0 80px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 0%, rgba(212,184,150,0.08), transparent 60%);
    position: relative;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 104px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    max-width: 1000px;
    margin-bottom: 24px;
}
.page-hero h1 em {
    color: var(--sand);
    font-style: normal;
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p {
    color: var(--ink-dim);
    font-size: 20px;
    max-width: 640px;
    line-height: 1.5;
}
.crumbs {
    display: flex;
    gap: 10px;
    color: var(--ink-mute);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
}
.crumbs a { color: var(--sand); }

/* ============================== OFFICES (contact page) ============================== */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
@media (max-width: 900px) { .offices-grid { grid-template-columns: 1fr; } }

.office-card {
    padding: 36px 32px;
    background: var(--grad-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.office-card:hover { border-color: var(--sand); transform: translateY(-4px); }

.office-card .flag {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 16px;
}
.office-card h3 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 4px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.office-card .role {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 11px;
    color: var(--sand);
    letter-spacing: 0.14em;
    margin-bottom: 24px;
}
.office-card .info {
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.office-card .info-row {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    color: var(--ink-dim);
    font-size: 14.5px;
    align-items: start;
}
.office-card .info-row svg { color: var(--sand); width: 16px; height: 16px; margin-top: 3px; }
.office-card a { color: inherit; transition: color 0.2s; }
.office-card a:hover { color: var(--sand); }
.office-card[data-office] { position: relative; }
.office-card[data-office]:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.office-map-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(212,184,150,0.15);
    border: 1px solid rgba(212,184,150,0.3);
    color: var(--sand);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.office-card:hover .office-map-cta {
    background: var(--sand);
    color: var(--bg);
    border-color: var(--sand);
}

/* ============================== QUOTE FORM ============================== */
.quote {
    margin-top: 80px;
    padding: 60px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(212,184,150,0.1), transparent 50%),
        var(--bg-2);
    border: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; } }

.quote-side h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.quote-side h2 em {
    color: var(--sand);
    font-style: normal;
    font-weight: 800;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.quote-side p { color: var(--ink-dim); margin-bottom: 24px; line-height: 1.6; }
.quote-side ul { list-style: none; display: grid; gap: 14px; }
.quote-side li {
    display: flex; align-items: center; gap: 12px;
    color: var(--ink-dim);
    font-size: 15px;
}
.quote-side li::before {
    content: "";
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--sand);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A1628'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

form.quote-form {
    display: grid;
    gap: 16px;
}
.fld {
    display: grid;
    gap: 6px;
}
.fld label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
}
.fld input,
.fld select,
.fld textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(247,244,238,0.04);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    transition: all 0.2s;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
    outline: none;
    border-color: var(--sand);
    background: rgba(247,244,238,0.07);
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .fld-row { grid-template-columns: 1fr; } }

.mode-pills {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.mode-pill {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(247,244,238,0.04);
    font-size: 13px;
    color: var(--ink-dim);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mode-pill.active, .mode-pill:hover {
    border-color: var(--sand);
    background: rgba(212,184,150,0.15);
    color: var(--ink);
}

/* ============================== CAREERS / LEADERSHIP ============================== */
.leader-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 48px;
    background: var(--grad-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-top: 40px;
    align-items: center;
}
@media (max-width: 720px) { .leader-card { grid-template-columns: 1fr; padding: 32px; } }

.leader-portrait {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
    position: relative;
}
.leader-portrait img { width: 100%; height: 100%; object-fit: cover; }
.leader-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
}

.leader-info .role {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--sand);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.leader-info h3 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 16px;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}
.leader-info p {
    color: var(--ink-dim);
    line-height: 1.65;
    margin-bottom: 16px;
}
.leader-info .creds {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 20px;
}
.leader-info .creds span {
    padding: 6px 12px;
    background: rgba(247,244,238,0.04);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--ink-dim);
}

/* ============================== REVEAL on SCROLL ============================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.2,.7,.3,1), transform 1s cubic-bezier(.2,.7,.3,1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal.d2 { transition-delay: 0.1s; }
.reveal.d3 { transition-delay: 0.2s; }
.reveal.d4 { transition-delay: 0.3s; }
.reveal.d5 { transition-delay: 0.4s; }

/* ============================== UTILITY ============================== */
.text-grad {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================== BACK TO TOP ============================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--bg);
    border: 1px solid var(--sand);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 90;
    box-shadow: 0 12px 30px rgba(212, 184, 150, 0.35), 0 0 0 0 rgba(212, 184, 150, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.2,.85,.3,1), background 0.2s, box-shadow 0.3s;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: btt-pulse 2.4s ease-in-out infinite;
}
.back-to-top:hover {
    background: var(--sand-2);
    border-color: var(--sand-2);
    transform: translateY(-3px) scale(1.05);
}
.back-to-top svg { width: 22px; height: 22px; }
@keyframes btt-pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(212, 184, 150, 0.35), 0 0 0 0 rgba(212, 184, 150, 0.4); }
    50%      { box-shadow: 0 12px 30px rgba(212, 184, 150, 0.45), 0 0 0 12px rgba(212, 184, 150, 0); }
}
@media (max-width: 600px) {
    .back-to-top { width: 46px; height: 46px; right: 16px; bottom: 16px; }
    .back-to-top svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01s !important;
        transition-duration: 0.01s !important;
    }
    .reveal { opacity: 1; transform: none; }
}
