/* =========================================================================
   EURASIAN NEXUS — GLOBAL STYLESHEET
   Tokens sourced from brand profile: deep navy + sky blue on white
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    /* Navy scale */
    --navy-950: #081525;
    --navy-900: #0c1d34;
    --navy-800: #132c4a;
    --navy-700: #1c3d63;
    --navy-600: #2b5178;

    /* Sky scale */
    --sky-600: #3d6f96;
    --sky-500: #4f80a8;
    --sky-400: #6fa0c4;
    --sky-300: #9cc0dc;
    --sky-100: #e9f2f8;

    /* Neutrals */
    --ink: #0f2137;
    --slate: #52697e;
    --slate-light: #8296a8;
    --bg: #ffffff;
    --bg-alt: #f5f8fb;
    --line: rgba(15, 33, 55, 0.09);
    --white: #ffffff;

    /* Type */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--sky-500);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* -------------------------------------------------------------------------
   Shared section chrome
   ------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky-600);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1.5px;
    background: var(--sky-500);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: 18px;
}

.section-title em {
    font-style: normal;
    color: var(--sky-500);
}

.section-desc {
    font-size: 16.5px;
    color: var(--slate);
    max-width: 620px;
    line-height: 1.75;
}

.section-desc.center { margin: 0 auto; }

section { position: relative; }

.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 70px 0; }

.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy .slate-on-navy { color: rgba(255,255,255,0.68); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.01em;
    border-radius: var(--radius);
    padding: 15px 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-900);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--sky-500);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 128, 168, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: rgba(15, 33, 55, 0.18);
    color: var(--navy-900);
}
.btn-outline:hover {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-sky {
    background: var(--sky-500);
    color: var(--white);
}
.btn-sky:hover {
    background: var(--sky-600);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 128, 168, 0.35);
}

/* =========================================================================
   HEADER / NAVBAR
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: all 0.35s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(8, 21, 37, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

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

.brand-word .b1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18.5px;
    letter-spacing: 0.04em;
    color: var(--navy-900);
}

.brand-word .b2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18.5px;
    letter-spacing: 0.3em;
    color: var(--sky-500);
    margin-top: 3px;
}

/* Nav */
.nav-menu { display: flex; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy-900);
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--sky-500);
    transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active { color: var(--sky-600); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.dropdown { position: relative; }

.dropdown-icon { transition: transform 0.3s var(--ease); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 21, 37, 0.14);
    border: 1px solid var(--line);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-icon { transform: rotate(180deg); }

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-800);
    transition: background 0.2s;
}

.dropdown-menu li a:hover { background: var(--sky-100); color: var(--sky-600); }

.dd-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--sky-500);
    width: 22px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.btn-header { padding: 12px 24px; font-size: 13.5px; }

.mobile-nav {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-toggle .bar {
    height: 2px;
    width: 100%;
    background: var(--navy-900);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.mobile-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   PAGE HERO (inner pages)
   ========================================================================= */
.page-hero {
    padding: 190px 0 90px;
    background: var(--navy-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 0%, black 0%, transparent 70%);
}

.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--sky-300);
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.page-hero-title em { font-style: normal; color: var(--sky-400); }

.page-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    line-height: 1.75;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 90px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sky-300);
    margin-bottom: 22px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-brand-logo .b1, .footer-brand-logo .b2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.04em;
    color: var(--white);
    display: block;
}
.footer-brand-logo .b2 { letter-spacing: 0.3em; color: var(--sky-400); margin-top: 2px; }

.footer-tagline {
    font-size: 14.5px;
    line-height: 1.75;
    max-width: 320px;
    margin-bottom: 26px;
}

.social-links { display: flex; gap: 10px; }

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: all 0.3s var(--ease);
}
.social-icon:hover { background: var(--sky-500); transform: translateY(-3px); }

.footer-links li { margin-bottom: 13px; }
.footer-links a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.66);
    transition: color 0.25s, padding-left 0.25s;
}
.footer-links a:hover { color: var(--sky-300); padding-left: 4px; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--sky-400); }
.footer-contact a { color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: var(--sky-300); }

.footer-bottom { padding: 26px 0; }
.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}
.footer-bottom-flex a { color: rgba(255,255,255,0.55); }
.footer-bottom-flex a:hover { color: var(--sky-300); }
.footer-legal { display: flex; gap: 22px; }

/* =========================================================================
   CTA BAND (shared across pages)
   ========================================================================= */
.cta-band {
    background: var(--navy-900);
    color: var(--white);
    border-radius: 18px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111,160,196,0.28) 0%, transparent 70%);
    top: -180px; right: -120px;
}
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    max-width: 460px;
    position: relative;
    z-index: 1;
}
.cta-actions { display: flex; gap: 14px; position: relative; z-index: 1; flex-wrap: wrap; }

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* =========================================================================
   GLOBAL — Eurasian Nexus
   Design tokens + base elements shared across every page.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    /* colour */
    --navy-900: #0a1e36;
    --navy-800: #123058;
    --navy-700: #1c4573;
    --sky-100:  #eaf2f9;
    --sky-300:  #9cc0dc;
    --sky-400:  #7aa7c9;
    --sky-500:  #4f80a8;
    --sky-600:  #3c6488;
    --slate:       #56697d;
    --slate-light: #8998a9;
    --bg:      #ffffff;
    --bg-alt:  #f5f8fb;
    --line:    #e6ebf1;

    /* type */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body:    'Inter', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;

    /* motion / elevation */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 6px 18px -10px rgba(10, 30, 54, 0.16);
    --shadow-md: 0 26px 54px -22px rgba(10, 30, 54, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--navy-900);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
svg { display: block; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 100px 0; }
.bg-alt { background: var(--bg-alt); }

.section-header { max-width: 640px; margin: 0 auto 20px; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sky-600);
    background: var(--sky-100);
    padding: 7px 15px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: var(--navy-900);
}
.section-title em { font-style: normal; color: var(--sky-500); }
.section-desc { margin-top: 16px; font-size: 15.5px; color: var(--slate); line-height: 1.7; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    padding: 14px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
                background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.3s;
}
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--navy-800); }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn-outline:hover { border-color: var(--sky-400); color: var(--sky-600); transform: translateY(-2px); }
.btn-sky { background: var(--sky-500); color: #fff; }
.btn-sky:hover { background: var(--sky-600); transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(79,128,168,0.55); }
.btn-outline-light { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ---- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Site header --------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
    padding: 14px 0;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(10,30,54,0.3);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy-900); }
.brand-mark { width: 34px; height: 34px; }
.brand span { color: var(--sky-500); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900);
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: '';
    position: absolute; left: 0; right: 100%; bottom: -2px;
    height: 2px; background: var(--sky-500);
    transition: right 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle { display: none; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content:''; display:block; width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; }
.nav-toggle { flex-direction: column; gap: 4px; }

@media (max-width: 900px) {
    .nav-links, .nav-cta .btn-outline { display: none; }
    .nav-toggle { display: flex; }
}

/* ---- Site footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.62); padding: 76px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.75; max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--sky-500); border-color: var(--sky-500); color: #fff; transform: translateY(-3px); }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: rgba(255,255,255,0.58); line-height: 1.6; transition: color 0.25s, padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--sky-300); padding-left: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--sky-300); }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; }
    .section-pad { padding: 68px 0; }
}