/* ── Brand token ── */
:root {
    --blue:       #2F6FAE;
    --blue-dark:  #1D5490;
    --teal:       #67B0BA;
    --orange:     #F28C26;

    --bg:         #FFFFFF;
    --text:       #1A2433;
    --muted:      #5A6E82;
    --line:       rgba(47, 111, 174, 0.1);

    --blue-a10:   rgba(47, 111, 174, 0.10);
    --blue-a16:   rgba(47, 111, 174, 0.16);
    --blue-a22:   rgba(47, 111, 174, 0.22);
    --teal-a10:   rgba(103, 176, 186, 0.10);
    --orange-a10: rgba(242, 140, 38,  0.10);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1120px;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════
   BACKGROUND — Geometric shapes (brand-matched)
   ═══════════════════════════════════════════ */

.shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

/* Large blue diagonal fill — bottom-right corner */
.shape--blue-tr {
    bottom: 0;
    right: 0;
    width: 58vw;
    height: 58vh;
    background: linear-gradient(
        145deg,
        rgba(47, 111, 174, 0.11) 0%,
        rgba(47, 111, 174, 0.05) 55%,
        transparent 85%
    );
    clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Secondary blue wash — bottom-left band (mirrors brand envelope diagonal) */
.shape--blue-bl {
    bottom: -60px;
    left: -60px;
    width: 380px;
    height: 260px;
    background: linear-gradient(
        135deg,
        rgba(47, 111, 174, 0.09) 0%,
        transparent 70%
    );
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
}

/* Teal wash — top-left (soft ambient) */
.shape--teal-tl {
    top: -80px;
    left: -80px;
    width: 520px;
    height: 400px;
    background: radial-gradient(
        ellipse at top left,
        rgba(103, 176, 186, 0.14) 0%,
        transparent 65%
    );
}

/* Orange accent triangle — top-right corner */
.shape--orange-tr {
    top: 0;
    right: 0;
    width: 180px;
    height: 120px;
    background: rgba(242, 140, 38, 0.11);
    clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
}

/* Precision diagonal line 1 */
.shape--line-1 {
    bottom: 22vh;
    right: -80px;
    width: 55vw;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(47, 111, 174, 0.18), transparent);
    transform: rotate(-22deg);
    transform-origin: right center;
}

/* Precision diagonal line 2 — offset, teal tint */
.shape--line-2 {
    bottom: 18vh;
    right: -80px;
    width: 42vw;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(103, 176, 186, 0.14), transparent);
    transform: rotate(-22deg);
    transform-origin: right center;
}

/* ═══════════════════════════════════════════
   BACKGROUND — Animated brand orbs
   ═══════════════════════════════════════════ */

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(88px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: orbFloat ease-in-out infinite;
}

/* Brand blue — top-left */
.orb--1 {
    width: 680px; height: 680px;
    background: radial-gradient(circle at center, rgba(47, 111, 174, 0.16), transparent 68%);
    top: -250px; left: -150px;
    animation-duration: 28s;
}
/* Brand teal — bottom-right */
.orb--2 {
    width: 560px; height: 560px;
    background: radial-gradient(circle at center, rgba(103, 176, 186, 0.14), transparent 68%);
    bottom: -190px; right: -100px;
    animation-duration: 34s;
    animation-delay: -13s;
}
/* Brand orange — mid-right, very subtle */
.orb--3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle at center, rgba(242, 140, 38, 0.09), transparent 68%);
    top: 38%; right: 4%;
    animation-duration: 22s;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%,  100% { transform: translate(0,     0)    scale(1);    }
    22%        { transform: translate(26px, -30px) scale(1.04); }
    47%        { transform: translate(-16px, 22px) scale(0.97); }
    72%        { transform: translate(-28px,-10px) scale(1.03); }
}

/* ═══════════════════════════════════════════
   BACKGROUND — Dot grid + spotlight
   ═══════════════════════════════════════════ */

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(circle, rgba(47, 111, 174, 0.20) 1px,   transparent 1px),
        radial-gradient(circle, rgba(103,176,186, 0.11) 0.6px, transparent 0.6px);
    background-size: 28px 28px, 28px 28px;
    background-position: 0 0, 14px 14px;
}

.bg-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background-image:
        radial-gradient(circle, rgba(47, 111, 174, 0.60) 1px,   transparent 1px),
        radial-gradient(circle, rgba(103,176,186, 0.40) 0.6px, transparent 0.6px);
    background-size: 28px 28px, 28px 28px;
    background-position: 0 0, 14px 14px;
    -webkit-mask-image: radial-gradient(
        circle 340px at var(--mouse-x) var(--mouse-y),
        black 0%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.2) 65%, transparent 100%
    );
    mask-image: radial-gradient(
        circle 340px at var(--mouse-x) var(--mouse-y),
        black 0%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.2) 65%, transparent 100%
    );
}

/* ═══════════════════════════════════════════
   PAGE LAYOUT
   ═══════════════════════════════════════════ */

.page {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 40px 24px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Header / Logo ── */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 8px;
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    line-height: 0;
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(47, 111, 174, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 14px rgba(47, 111, 174, 0.09);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.logo-link:hover {
    background: #FFFFFF;
    border-color: rgba(47, 111, 174, 0.32);
    box-shadow: 0 4px 24px rgba(47, 111, 174, 0.16);
}

.logo {
    height: 62px;
    width: auto;
    display: block;
    border-radius: 8px;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* ── Hero ── */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 780px;
    padding: clamp(8px, 2vh, 24px) 0 clamp(20px, 5vh, 60px);
    min-height: 0;
}

/* Badge */
.badge-wrap { margin-bottom: 30px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(47, 111, 174, 0.07);
    border: 1px solid rgba(47, 111, 174, 0.22);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: badgePulse 4s ease-in-out infinite;
}

.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 6px 1px rgba(47, 111, 174, 0.7);
    animation: dotBlink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.3; transform: scale(0.75); }
}

@keyframes badgePulse {
    0%,  100% { box-shadow: 0 0 0 0 rgba(47,111,174,0); border-color: rgba(47,111,174,0.22); }
    50%        { box-shadow: 0 0 20px rgba(47,111,174,0.1); border-color: rgba(47,111,174,0.42); }
}

/* Headline */
.headline {
    font-size: clamp(2.1rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 22px;
}

.headline__accent {
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 55%, var(--blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%   { background-position:   0% center; }
    50%  { background-position: 100% center; }
    100% { background-position:   0% center; }
}

/* Lede */
.lede {
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.75;
}

/* Divider — orange brand accent, matching underline in brand mockup */
.divider {
    width: 52px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 30px;
    border-radius: 2px;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    filter: blur(4px);
    opacity: 0.45;
}

/* LinkedIn button */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1.5px solid rgba(47, 111, 174, 0.2);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(47, 111, 174, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,111,174,0.07), rgba(103,176,186,0.05));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.social-link:hover::before { opacity: 1; }

.social-link:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    background: #FFFFFF;
    box-shadow: 0 10px 32px -6px rgba(47,111,174,0.24), 0 2px 8px rgba(47,111,174,0.1);
}

.social-icon { width: 18px; height: 18px; flex-shrink: 0; }

.arrow-icon {
    width: 15px; height: 15px; flex-shrink: 0;
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover .arrow-icon { transform: translateX(4px); opacity: 1; }

/* ── Footer ── */
.footer {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.footer__copy {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 400;
    opacity: 0.65;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
    body { overflow-y: auto; }
    .page { height: auto; min-height: 100vh; padding: 24px 20px 16px; }
    .logo { height: 52px; }
    .bg-spotlight { display: none; }
    .orb { filter: blur(65px); }
    .shape--line-1,
    .shape--line-2 { display: none; }
}

@media (max-height: 680px) {
    .logo       { height: 48px; }
    .badge-wrap { margin-bottom: 18px; }
    .headline   { margin-bottom: 14px; }
    .lede       { margin-bottom: 18px; }
    .divider    { margin-bottom: 18px; }
}

/* ═══════════════════════════════════════════
   ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes enterFadeBlur {
    from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0);    }
}
@keyframes enterFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes enterScale {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
}
@keyframes enterFade {
    from { opacity: 0;   }
    to   { opacity: 0.65; }
}

.logo-link, .badge-wrap, .headline, .lede,
.divider, .social-link, .footer__copy {
    opacity: 0;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link    { animation: enterFadeUp   0.9s  0.1s  both cubic-bezier(0.16,1,0.3,1); }
.badge-wrap   { animation: enterFadeBlur 1.0s  0.3s  both cubic-bezier(0.16,1,0.3,1); }
.headline     { animation: enterFadeBlur 1.1s  0.52s both cubic-bezier(0.16,1,0.3,1); }
.lede         { animation: enterFadeUp   0.9s  0.72s both cubic-bezier(0.16,1,0.3,1); }
.divider      { animation: enterScale    0.7s  0.88s both cubic-bezier(0.16,1,0.3,1); transform-origin: left center; }
.social-link  { animation: enterFadeUp   0.9s  1.0s  both cubic-bezier(0.16,1,0.3,1); }
.footer__copy { animation: enterFade     1.0s  1.2s  both cubic-bezier(0.16,1,0.3,1); }

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .bg-spotlight, .orb { display: none; }

    .badge__dot, .badge { animation: none; }

    .headline__accent {
        animation: none;
        background: none;
        -webkit-text-fill-color: var(--blue);
        color: var(--blue);
    }

    .logo-link, .badge-wrap, .headline, .lede,
    .divider, .social-link {
        animation: none; opacity: 1; transform: none; filter: none;
    }

    .footer__copy { animation: none; opacity: 0.65; }
}
