@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* ═══════════════════════════════════════════════════════════
   DL GROWTH — Design System v2.0
   Scandinavian Minimalism × High-end Tech
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

/* ── Design Tokens ── */
:root {
    /* Neutrals — Cool Scandinavian */
    --white: #ffffff;
    --off-white: #FAFAFA;
    --snow: #F5F5F7;
    --stone: #E8E8ED;
    --mist: #D2D2D7;
    --ash: #86868B;
    --slate: #6E6E73;
    --ink: #1D1D1F;
    --ink-soft: #2C2C2E;

    /* Accent — Luminous Purple */
    --accent: #0EA5E9;
    --accent-light: #38BDF8;
    --accent-dim: rgba(14,165,233,0.06);
    --accent-border: rgba(14,165,233,0.15);
    --accent-glow: rgba(14,165,233,0.25);

    /* Legacy aliases for JS-bound classes using --gold */
    --gold: #0EA5E9;
    --gold-light: #38BDF8;
    --gold-dim: rgba(14,165,233,0.06);
    --gold-border: rgba(14,165,233,0.15);

    /* Semantic */
    --green: #30D158;
    --red: #FF453A;
    --blue: #0A84FF;
    --purple: #0EA5E9;

    /* Borders */
    --border: rgba(0,0,0,0.04);
    --border-strong: rgba(0,0,0,0.08);

    /* Radius */
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

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


/* ── Page Transition ── */
.dl-page-content {
    animation: dlPageIn 0.7s var(--ease-out) both;
}
@keyframes dlPageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fade-in utility */
.fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade.in {
    opacity: 1;
    transform: none;
}
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUpIn 0.6s var(--ease-out) both;
}
@keyframes fadeUpIn { to { opacity: 1; transform: translateY(0); } }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--ash); }

/* ── Selection ── */
::selection { background: rgba(14,165,233,0.15); color: var(--ink); }

/* ═══════════════════════════
   FLOATING DOCK NAV — Site pages
   ═══════════════════════════ */

/* ── Hamburger Button (shared) ── */
.nav-hamburger {
    display: none;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 10001;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.88);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    cursor: pointer;
    padding: 9px 11px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.35s var(--ease-out);
    transform-origin: center;
    border-radius: 2px;
}
.nav-hamburger.open span { background: var(--ink); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Nav Panel (shared) ── */
.nav-mobile-panel {
    position: fixed; inset: 0;
    z-index: 10000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out);
    pointer-events: none;
}
.nav-mobile-panel.open {
    transform: translateY(0);
    pointer-events: auto;
}
.nav-mobile-panel a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.nav-mobile-panel a:hover,
.nav-mobile-panel a.active { opacity: 1; }
.mob-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 10;
}
.mob-close-btn:hover { background: var(--off-white); }
.mob-close-btn svg { pointer-events: none; }

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
}


/* Accent Typography — Playfair Display for emphasis */
h1 em, h2 em, h3 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--dl-accent, #0EA5E9);
}
