/* ============ Amelia Hydro Dynamics — light professional revamp ============ */

:root {
    --ink: #16233b;
    --ink-dim: #45576f;
    --ink-faint: #6b7d94;
    --page: #eef3f9;
    --navy: #0f2a52;
    --blue: #2563eb;
    --blue-deep: #1e3a8a;
    --cyan: #0891b2;
    --green: #16a34a;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-brd: rgba(15, 42, 82, 0.10);
    --glass-brd-top: rgba(255, 255, 255, 0.95);
    --radius: 20px;
    --radius-sm: 12px;
    --font-body: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

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

img { max-width: 100%; }

/* ============ ambient background ============ */

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 640px at 80% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
        radial-gradient(850px 560px at 8% 108%, rgba(8, 145, 178, 0.09), transparent 60%),
        linear-gradient(160deg, #f4f8fc 0%, #eef3f9 50%, #e9f0f7 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: drift 26s var(--ease) infinite alternate;
}

.blob-1 {
    width: 44vmax; height: 44vmax;
    top: -18vmax; right: -12vmax;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.30), transparent 65%);
}

.blob-2 {
    width: 38vmax; height: 38vmax;
    bottom: -16vmax; left: -12vmax;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 65%);
    animation-delay: -9s;
    animation-duration: 32s;
}

.blob-3 {
    width: 28vmax; height: 28vmax;
    top: 42%; left: 58%;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.22), transparent 65%);
    animation-delay: -17s;
    animation-duration: 38s;
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(5vmax, -3vmax, 0) scale(1.12); }
}

.bg-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 26vh;
    min-height: 120px;
}

/* ============ glass primitives ============ */

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    border-top-color: var(--glass-brd-top);
    border-radius: var(--radius);
    box-shadow:
        0 20px 50px rgba(15, 42, 82, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(255, 255, 255, 0.96); }
}

.glass-inset {
    background: rgba(238, 243, 249, 0.7);
    border: 1px solid rgba(15, 42, 82, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 2px 12px rgba(15, 42, 82, 0.05);
}

/* ============ nav ============ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: clamp(10px, 2vw, 18px) clamp(12px, 3vw, 28px) 0;
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px clamp(14px, 2.5vw, 24px);
    border-radius: 16px;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 36px rgba(15, 42, 82, 0.14);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.nav-logo {
    height: 34px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-name {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 30px);
}

.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
    color: #ffffff !important;
    background: var(--navy);
    border: 1px solid var(--navy);
    padding: 8px 18px;
    border-radius: 999px;
    transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    background: var(--blue-deep);
    box-shadow: 0 6px 18px rgba(15, 42, 82, 0.25);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-brd);
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ hero ============ */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(96px, 13vh, 130px) clamp(18px, 4vw, 40px) clamp(60px, 9vh, 100px);
    position: relative;
}

.hero-content {
    max-width: 1180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(16px, 3vh, 26px);
    font-size: clamp(0.72rem, 1.6vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    animation: hero-in 1s var(--ease) 0.08s both;
}

.meta-dot { color: var(--cyan); }

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5.4vw, 3.9rem);
    font-weight: 700;
    line-height: 1.14;
    margin: 0 0 clamp(14px, 2.5vh, 24px);
    padding-bottom: 0.18em; /* room for descenders under background-clip:text */
    letter-spacing: 0.01em;
    background: linear-gradient(120deg, var(--navy) 30%, var(--blue-deep) 70%, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-in 1s var(--ease) 0.16s both;
}

.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    color: var(--ink-dim);
    max-width: 1120px;
    margin: 0 0 clamp(24px, 4vh, 40px);
    animation: hero-in 1s var(--ease) 0.24s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.8vh, 16px);
}

.sub-divider {
    width: 56px;
    height: 1px;
    background: rgba(15, 42, 82, 0.22);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    animation: hero-in 1s var(--ease) 0.32s both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ buttons ============ */

.btn {
    display: inline-block;
    padding: clamp(13px, 1.6vw, 16px) clamp(24px, 3.2vw, 36px);
    border-radius: 999px;
    font-weight: 600;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    color: #ffffff;
    background: linear-gradient(120deg, var(--navy), var(--blue-deep));
    box-shadow: 0 10px 26px rgba(15, 42, 82, 0.28);
}

.btn-primary:hover { box-shadow: 0 16px 36px rgba(15, 42, 82, 0.36); }

.btn-ghost {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(15, 42, 82, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 42, 82, 0.3);
}

/* ============ sections & panels ============ */

.section {
    padding: clamp(20px, 4vh, 44px) clamp(14px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel {
    width: 100%;
    max-width: 1360px;
    padding: clamp(26px, 4.5vw, 56px);
}

.panel-narrow { max-width: 1000px; }

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(18px, 3vw, 28px);
}

.panel-head h2 { margin: 0; }

h2 {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 clamp(14px, 2.5vw, 22px);
    letter-spacing: 0.01em;
}

.lead {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: var(--ink);
    margin: 0 0 clamp(18px, 3vw, 26px);
    max-width: 75ch;
}

.muted { color: var(--ink-dim); }

.tag {
    font-size: clamp(0.68rem, 1.5vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag-green { color: var(--green); }
.tag-blue  { color: var(--blue); }

/* ============ timeline ============ */

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 26px);
    margin: clamp(22px, 4vw, 34px) 0 clamp(26px, 4vw, 40px);
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 2.5vw, 24px);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 42, 82, 0.09);
    box-shadow: 0 6px 20px rgba(15, 42, 82, 0.05);
}

.timeline-year {
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--blue-deep);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.timeline-item p { margin: 0 0 6px; color: var(--ink-dim); font-size: clamp(0.9rem, 1.8vw, 0.98rem); }

.timeline-item .sprayed {
    font-style: italic;
    font-weight: 700;
    color: var(--blue-deep);
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 10px;
}

/* ============ breakthrough ============ */

.breakthrough {
    border-radius: var(--radius-sm);
    padding: clamp(24px, 4vw, 38px);
    text-align: center;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue) 60%, #0284c7);
    box-shadow: 0 18px 44px rgba(30, 58, 138, 0.28);
}

.breakthrough h3 {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.28;
    margin: 0 0 12px;
    color: #ffffff;
}

.breakthrough em {
    font-style: normal;
    color: #a5f3fc;
}

.breakthrough p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: clamp(0.95rem, 2vw, 1.08rem); }

/* ============ negation chips ============ */

.neg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.neg {
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 42, 82, 0.09);
    font-size: clamp(0.92rem, 1.8vw, 1rem);
    color: var(--ink-dim);
}

.neg strong { color: #dc2626; font-weight: 700; }

/* ============ product figure ============ */

.product {
    margin: clamp(22px, 4vw, 34px) 0;
    padding: clamp(18px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2.5vw, 22px);
}

.spotlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--blue-deep);
    font-size: clamp(0.72rem, 1.6vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(30, 58, 138, 0.25);
}

.spotlight svg {
    width: 16px;
    height: 16px;
    fill: var(--green);
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    max-width: 760px;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 42, 82, 0.1);
    box-shadow: 0 18px 44px rgba(15, 42, 82, 0.14);
    display: block;
}

.product-caption {
    font-size: clamp(0.78rem, 1.6vw, 0.88rem);
    color: var(--ink-faint);
    letter-spacing: 0.04em;
}

/* ============ features ============ */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: clamp(14px, 2.5vw, 22px);
    margin-top: clamp(20px, 3.5vw, 30px);
}

.feature {
    padding: clamp(18px, 3vw, 26px);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 42, 82, 0.09);
    box-shadow: 0 6px 20px rgba(15, 42, 82, 0.05);
    transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 14px 32px rgba(15, 42, 82, 0.12);
}

.feature h3 {
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 700;
    color: var(--blue-deep);
    margin: 0 0 8px;
    line-height: 1.35;
}

.feature p { margin: 0; color: var(--ink-dim); font-size: clamp(0.9rem, 1.8vw, 0.97rem); }

/* ============ performance band (full-bleed) ============ */

.band {
    position: relative;
    margin: clamp(20px, 4vh, 44px) 0;
    padding: clamp(64px, 11vh, 130px) clamp(20px, 4vw, 48px);
    min-height: 92svh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(56, 189, 248, 0.18), transparent 60%),
        linear-gradient(150deg, #0d2148 0%, #16356b 55%, #10455c 100%);
    overflow: hidden;
}

.band-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.band-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin-bottom: clamp(30px, 5vh, 54px);
    max-width: 16ch;
}

.bigstat { display: flex; flex-direction: column; gap: 14px; }

.bigstat-num {
    display: block;
    font-size: clamp(4.5rem, 9vw, 8.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #7dd3fc, #22d3ee 60%, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bigstat h3 {
    color: #ffffff;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    margin: 0 0 6px;
}

.bigstat p {
    color: rgba(226, 240, 252, 0.72);
    margin: 0;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    max-width: 42ch;
}

.band-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.band-row {
    display: flex;
    gap: clamp(16px, 2.5vw, 28px);
    align-items: baseline;
    padding: clamp(18px, 3vh, 28px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.band-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

.band-num {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #67e8f9;
    flex-shrink: 0;
    min-width: 2ch;
}

.band-row h3 {
    color: #ffffff;
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.35;
}

.band-row p {
    margin: 0;
    color: rgba(226, 240, 252, 0.72);
    font-size: clamp(0.88rem, 1.8vw, 0.97rem);
}

/* ============ consulting grove (full-bleed light band) ============ */

.grove {
    margin: clamp(20px, 4vh, 44px) 0;
    padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 48px);
    background:
        radial-gradient(1000px 520px at 90% 0%, rgba(45, 212, 191, 0.18), transparent 60%),
        radial-gradient(700px 420px at 5% 100%, rgba(22, 163, 74, 0.10), transparent 60%),
        linear-gradient(155deg, #e9f5ee 0%, #ddeee7 55%, #d7eae4 100%);
}

.grove-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

.grove-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: clamp(18px, 3vh, 28px);
    border-bottom: 1px solid rgba(15, 42, 82, 0.12);
}

.grove-head h2 { margin: 0; }

.grove-launch {
    font-size: clamp(0.8rem, 1.7vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0f766e;
    white-space: nowrap;
}

.grove-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--ink-dim);
    max-width: 78ch;
    margin: clamp(22px, 4vh, 34px) 0 clamp(26px, 4vh, 40px);
}

.grove-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(14px, 2vw, 22px);
}

.grove-tile {
    position: relative;
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 42, 82, 0.09);
    box-shadow: 0 8px 24px rgba(15, 42, 82, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.grove-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 16px 36px rgba(15, 42, 82, 0.12);
}

.grove-tile.span-3 { grid-column: span 3; }
.grove-tile.span-2 { grid-column: span 2; }

.grove-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #0f766e;
    margin-bottom: 12px;
}

.grove-tile h3 {
    font-size: clamp(1.02rem, 2vw, 1.18rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.35;
}

.grove-tile p { margin: 0; color: var(--ink-dim); font-size: clamp(0.9rem, 1.8vw, 0.97rem); }

/* ============ partnerships (full-bleed triptych) ============ */

.partner {
    margin: clamp(20px, 4vh, 44px) 0;
    padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(15, 42, 82, 0.1);
    border-bottom: 1px solid rgba(15, 42, 82, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.partner-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    text-align: center;
}

.partner-kicker {
    display: block;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.partner-head h2 { margin: 0 0 10px; }

.partner-lead {
    color: var(--ink-faint);
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    margin: 0;
}

.partner-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: clamp(34px, 6vh, 58px) 0 clamp(26px, 4vh, 40px);
    text-align: left;
}

.partner-col {
    padding: clamp(18px, 2.5vw, 30px) clamp(20px, 3vw, 40px);
    border-left: 1px solid rgba(15, 42, 82, 0.14);
}

.partner-col:first-child { border-left: 0; }

.partner-col-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--blue);
    margin-bottom: 14px;
    opacity: 0.85;
}

.partner-col h3 {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.partner-col p {
    margin: 0;
    color: var(--ink-dim);
    font-size: clamp(0.9rem, 1.8vw, 0.96rem);
}

.partner-nda {
    margin: 0 auto;
    color: var(--ink-faint);
    font-size: clamp(0.82rem, 1.7vw, 0.92rem);
    letter-spacing: 0.02em;
    padding-top: clamp(18px, 3vh, 26px);
    border-top: 1px solid rgba(15, 42, 82, 0.1);
}

/* ============ contact & footer ============ */

.contact { text-align: center; }

.contact-name { font-size: clamp(1rem, 2vw, 1.15rem); margin: 0 0 8px; }
.contact-name .divider { color: var(--ink-faint); margin: 0 6px; }

.link {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.link:hover { color: var(--navy); border-color: var(--navy); }

.btn-email {
    margin-top: 18px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.footer {
    text-align: center;
    color: var(--ink-faint);
    font-size: clamp(0.78rem, 1.6vw, 0.9rem);
    margin-top: clamp(30px, 5vh, 50px);
    padding-bottom: clamp(24px, 4vh, 40px);
}

.footer p { margin: 4px 0; }

/* ============ reveal animation ============ */

.js .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ responsive ============ */

.br-desktop { display: none; }

@media (min-width: 900px) {
    .br-desktop { display: block; }
}

@media (max-width: 899px) {
    .timeline { grid-template-columns: 1fr; }
    .band { min-height: auto; }
    .band-grid { grid-template-columns: 1fr; gap: 8px; }
    .band-title { max-width: none; margin-bottom: clamp(22px, 4vh, 36px); }
    .bigstat { margin-bottom: clamp(24px, 4vh, 40px); }
    .grove-grid { grid-template-columns: 1fr; }
    .grove-tile.span-3, .grove-tile.span-2 { grid-column: auto; }
    .partner-cols { grid-template-columns: 1fr; }
    .partner-col { border-left: 0; border-top: 1px solid rgba(15, 42, 82, 0.14); padding-left: 0; padding-right: 0; }
    .partner-col:first-child { border-top: 0; }
}

@media (min-width: 700px) and (max-width: 1099px) {
    .grove-grid { grid-template-columns: repeat(6, 1fr); }
    .grove-tile.span-3, .grove-tile.span-2 { grid-column: span 3; }
    .grove-tile:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .nav-name { font-size: 1.05rem; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: clamp(12px, 3vw, 28px);
        right: clamp(12px, 3vw, 28px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid var(--glass-brd);
        box-shadow: 0 24px 60px rgba(15, 42, 82, 0.18);
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .nav-links a:hover { background: rgba(15, 42, 82, 0.06); }

    .nav-cta { text-align: center; margin-top: 6px; }
}

@media (max-width: 480px) {
    .hero-actions .btn { width: 100%; max-width: 320px; text-align: center; }
    .panel-head { flex-direction: column; align-items: flex-start; }
    .nav-name { white-space: normal; line-height: 1.15; }
}

/* landscape phones / short viewports: keep hero breathable */
@media (max-height: 560px) {
    .hero { min-height: auto; padding-top: 110px; padding-bottom: 60px; }
}

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