/* =============================================================
   namu.day - A Greenhouse of Ideas
   Glassmorphism + Watercolor + Hexagonal Honeycomb
   ============================================================= */

:root {
    --indigo-night: #1A1A2E;
    --sapphire-depth: #16213E;
    --amethyst-glow: #7B2D8E;
    --emerald-sap: #0D7446;
    --ruby-blush: #9B1B30;
    --antique-gold: #E0C097;
    --warm-ivory: #F0E6D3;
    --warm-stone: #D4CFC8;
    --topaz-amber: #C77F2B;
    --amethyst-tint: #2A1A3E;
    --emerald-tint: #1A2E2A;
    --indigo-text-on-glass: #1A1A2E;
    --muted-indigo: #2C2C44;
    --glass-tint: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-border-hover: rgba(224, 192, 151, 0.45);

    --hex-clip: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    --hex-w: 320px;
    --hex-h: 277px; /* w * sqrt(3)/2 ~ 277.13 */

    --font-display: 'Bebas Neue', 'Inter', sans-serif;
    --font-serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --font-body: 'Nunito Sans', 'Inter', system-ui, sans-serif;
}

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

html {
    background-color: var(--indigo-night);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--warm-stone);
    background: var(--indigo-night);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.65;
    font-weight: 400;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* =============================================================
   WATERCOLOR STAGE - background washes and bloom spots
   ============================================================= */

.watercolor-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--indigo-night) 0%,
        var(--sapphire-depth) 25%,
        var(--amethyst-tint) 50%,
        var(--emerald-tint) 75%,
        var(--indigo-night) 100%);
    background-size: 240% 240%;
    animation: washDrift 60s ease-in-out infinite;
}

@keyframes washDrift {
    0%   { background-position: 0% 0%; }
    25%  { background-position: 60% 30%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 30% 70%; }
    100% { background-position: 0% 0%; }
}

.wash {
    position: absolute;
    inset: -10%;
    pointer-events: none;
    will-change: transform, opacity;
}

.wash-1 {
    background: radial-gradient(ellipse 70% 60% at 30% 20%, rgba(123, 45, 142, 0.35) 0%, transparent 60%),
                radial-gradient(ellipse 50% 50% at 80% 70%, rgba(13, 116, 70, 0.28) 0%, transparent 60%);
    mix-blend-mode: screen;
    filter: url(#watercolor-turbulence);
    animation: washPulse 38s ease-in-out infinite alternate;
}

.wash-2 {
    background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(199, 127, 43, 0.22) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 20% 80%, rgba(155, 27, 48, 0.20) 0%, transparent 65%);
    mix-blend-mode: overlay;
    filter: url(#watercolor-turbulence);
    animation: washPulse 52s ease-in-out -10s infinite alternate;
}

.wash-3 {
    background: radial-gradient(circle at 50% 50%, rgba(224, 192, 151, 0.10) 0%, transparent 60%);
    mix-blend-mode: screen;
    animation: washPulse 70s ease-in-out -20s infinite alternate;
}

@keyframes washPulse {
    from { transform: translate3d(-2%, -1%, 0) scale(1.02); opacity: 0.85; }
    to   { transform: translate3d(2%, 1%, 0) scale(1.06); opacity: 1; }
}

/* Bloom spots - colored radial gradients */
.bloom {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(60px);
    will-change: transform, opacity;
    animation: bloomBreath 24s ease-in-out infinite alternate;
}

.bloom-1 { width: 480px; height: 480px; left: 8%;  top: 6%;
    background: radial-gradient(circle, var(--amethyst-glow) 0%, transparent 65%); opacity: 0.55; animation-delay: -2s; }
.bloom-2 { width: 360px; height: 360px; left: 78%; top: 12%;
    background: radial-gradient(circle, var(--emerald-sap) 0%, transparent 65%); opacity: 0.5; animation-delay: -7s; }
.bloom-3 { width: 540px; height: 540px; left: 30%; top: 38%;
    background: radial-gradient(circle, var(--amethyst-glow) 0%, transparent 65%); opacity: 0.45; animation-delay: -12s; }
.bloom-4 { width: 420px; height: 420px; left: 65%; top: 52%;
    background: radial-gradient(circle, var(--topaz-amber) 0%, transparent 65%); opacity: 0.42; animation-delay: -16s; }
.bloom-5 { width: 320px; height: 320px; left: 12%; top: 62%;
    background: radial-gradient(circle, var(--ruby-blush) 0%, transparent 65%); opacity: 0.40; animation-delay: -4s; }
.bloom-6 { width: 600px; height: 600px; left: 55%; top: 78%;
    background: radial-gradient(circle, var(--emerald-sap) 0%, transparent 65%); opacity: 0.45; animation-delay: -10s; }
.bloom-7 { width: 280px; height: 280px; left: 78%; top: 90%;
    background: radial-gradient(circle, var(--ruby-blush) 0%, transparent 65%); opacity: 0.5; animation-delay: -14s; }
.bloom-8 { width: 360px; height: 360px; left: 18%; top: 92%;
    background: radial-gradient(circle, var(--antique-gold) 0%, transparent 65%); opacity: 0.35; animation-delay: -18s; }

@keyframes bloomBreath {
    from { transform: translate3d(-3%, -2%, 0) scale(0.96); }
    to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

/* Pigment veins SVG */
.pigment-veins {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

/* Particle canvas - between watercolor and glass */
#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* =============================================================
   NAV BAR - sticky frosted glass
   ============================================================= */

.nav-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(26, 26, 46, 0.35);
    -webkit-backdrop-filter: blur(40px) saturate(140%);
    backdrop-filter: blur(40px) saturate(140%);
    border-bottom: 1px solid rgba(224, 192, 151, 0.18);
    transition: background 400ms ease;
}

.nav-bar.scrolled {
    background: rgba(26, 26, 46, 0.55);
}

.nav-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--warm-ivory);
}

.nav-mark svg { display: block; }

.nav-mark-text {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--warm-ivory);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--warm-ivory);
    text-decoration: none;
    position: relative;
    padding: 4px 2px;
    display: inline-block;
    transition: transform 250ms ease, color 250ms ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0%; height: 1px;
    background: var(--antique-gold);
    transition: width 250ms ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--antique-gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* =============================================================
   MAIN LAYOUT / SCENES
   ============================================================= */

main {
    position: relative;
    z-index: 10;
}

.scene {
    position: relative;
    padding: 120px 40px 100px;
    max-width: 1680px;
    margin: 0 auto;
}

.scene-header {
    margin: 0 auto 80px;
    max-width: 920px;
    text-align: center;
}

.scene-meta {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--antique-gold);
    margin-bottom: 18px;
    padding: 6px 14px;
    border: 1px solid rgba(224, 192, 151, 0.28);
    border-radius: 2px;
}

.scene-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 88px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-ivory);
    line-height: 1.05;
    margin-bottom: 16px;
}

.scene-sub {
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.6vw, 26px);
    font-style: italic;
    color: var(--antique-gold);
    letter-spacing: 0.02em;
}

/* =============================================================
   GLASS HEXAGON BASE
   ============================================================= */

.hex {
    position: relative;
    background: var(--glass-tint);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--glass-border);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 24px rgba(255, 255, 255, 0.08),
        0 12px 40px rgba(10, 10, 25, 0.45);
    clip-path: var(--hex-clip);
    -webkit-clip-path: var(--hex-clip);
    transition: background 320ms ease,
                border-color 320ms ease,
                backdrop-filter 320ms ease,
                -webkit-backdrop-filter 320ms ease,
                transform 320ms ease,
                box-shadow 320ms ease;
    cursor: default;
    width: var(--hex-w);
    height: var(--hex-h);
    will-change: transform, opacity;
    opacity: 0;
    transform: scale(0.85);
}

.hex.is-visible {
    opacity: 1;
    transform: scale(1);
}

.hex.is-pulsing {
    animation: hexPulse 200ms ease-in-out;
}

@keyframes hexPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hex { background: rgba(26, 26, 46, 0.85); }
    .nav-bar { background: rgba(26, 26, 46, 0.92); }
}

/* Hex hover state */
.hex:hover {
    border-color: var(--glass-border-hover);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(224, 192, 151, 0.25),
        inset 0 1px 24px rgba(255, 255, 255, 0.12),
        0 16px 60px rgba(10, 10, 25, 0.55);
}

/* Hover bloom by section */
.hex::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--bloom-color, rgba(123, 45, 142, 0.6)) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hex[data-section="amethyst"] { --bloom-color: rgba(123, 45, 142, 0.5); }
.hex[data-section="emerald"]  { --bloom-color: rgba(13, 116, 70, 0.5); }
.hex[data-section="ruby"]     { --bloom-color: rgba(155, 27, 48, 0.45); }

.hex:hover::before { opacity: 0.4; }

/* Hex inner content - inset to keep text inside hex */
.hex-inner {
    position: absolute;
    inset: 0;
    padding: 14% 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.hex-label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--antique-gold);
    padding: 3px 10px;
    border: 1px solid rgba(224, 192, 151, 0.32);
    border-radius: 1px;
    display: inline-block;
}

.hex-icon {
    width: 56px;
    height: 56px;
    margin: 6px 0;
    opacity: 0.85;
}

.hex-caption {
    font-family: var(--font-serif);
    font-size: 13px;
    font-style: italic;
    color: var(--warm-ivory);
    letter-spacing: 0.03em;
    opacity: 0.85;
}

/* =============================================================
   HERO ROSETTE - flat-top hexagon flower
   ============================================================= */

.scene-hero {
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rosette {
    position: relative;
    width: calc(var(--hex-w) * 3 + 24px);
    height: calc(var(--hex-h) * 3);
    margin: 0 auto;
}

/* Rosette positions (flat-top hexagons).
   Center hex at (1.0w, 1.0h). Six neighbors offset by:
     N : (1.0w,  0.0h)  -> directly above (vertically stacked)
     S : (1.0w,  2.0h)
     NE: (1.75w, 0.5h)
     SE: (1.75w, 1.5h)
     NW: (0.25w, 0.5h)
     SW: (0.25w, 1.5h)
   Using the hex grid spacing where neighbors are at 0.75w horizontal and 0.5h vertical.
*/

.hex-rosette {
    position: absolute;
    left: 0; top: 0;
}

.hex-center {
    --hex-w: 460px;
    --hex-h: 398px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
}

.hex-center.is-visible {
    transform: translate(-50%, -50%) scale(1);
}

.hex-center:hover {
    transform: translate(-50%, -50%) scale(1.01);
}

/* Petals positioned around center (in absolute terms relative to .rosette container).
   Container size scaled with --hex-w base 320, so petals fall at the corners of a circle of radius ~0.95w. */
.hex-petal-1 { /* North */
    left: 50%; top: 50%;
    transform: translate(-50%, calc(-50% - var(--hex-h) * 0.78)) scale(0.85);
}
.hex-petal-1.is-visible { transform: translate(-50%, calc(-50% - var(--hex-h) * 0.78)) scale(1); }

.hex-petal-2 { /* Northeast */
    left: 50%; top: 50%;
    transform: translate(calc(-50% + var(--hex-w) * 0.78), calc(-50% - var(--hex-h) * 0.45)) scale(0.85);
}
.hex-petal-2.is-visible { transform: translate(calc(-50% + var(--hex-w) * 0.78), calc(-50% - var(--hex-h) * 0.45)) scale(1); }

.hex-petal-3 { /* Southeast */
    left: 50%; top: 50%;
    transform: translate(calc(-50% + var(--hex-w) * 0.78), calc(-50% + var(--hex-h) * 0.45)) scale(0.85);
}
.hex-petal-3.is-visible { transform: translate(calc(-50% + var(--hex-w) * 0.78), calc(-50% + var(--hex-h) * 0.45)) scale(1); }

.hex-petal-4 { /* Southwest */
    left: 50%; top: 50%;
    transform: translate(calc(-50% - var(--hex-w) * 0.78), calc(-50% + var(--hex-h) * 0.45)) scale(0.85);
}
.hex-petal-4.is-visible { transform: translate(calc(-50% - var(--hex-w) * 0.78), calc(-50% + var(--hex-h) * 0.45)) scale(1); }

.hex-petal-5 { /* West (south of NW) */
    left: 50%; top: 50%;
    transform: translate(-50%, calc(-50% + var(--hex-h) * 0.78)) scale(0.85);
}
.hex-petal-5.is-visible { transform: translate(-50%, calc(-50% + var(--hex-h) * 0.78)) scale(1); }

.hex-petal-6 { /* Northwest */
    left: 50%; top: 50%;
    transform: translate(calc(-50% - var(--hex-w) * 0.78), calc(-50% - var(--hex-h) * 0.45)) scale(0.85);
}
.hex-petal-6.is-visible { transform: translate(calc(-50% - var(--hex-w) * 0.78), calc(-50% - var(--hex-h) * 0.45)) scale(1); }

.hex-inner-center {
    padding: 18% 16%;
    gap: 14px;
}

.hex-label-center {
    font-size: 13px;
    letter-spacing: 0.32em;
    color: var(--antique-gold);
    border-color: rgba(224, 192, 151, 0.4);
    padding: 5px 14px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 112px);
    line-height: 0.92;
    letter-spacing: 0.05em;
    color: var(--warm-ivory);
    text-transform: uppercase;
    margin: 4px 0;
}

.hero-title .dot {
    color: var(--antique-gold);
    margin: 0 0.04em;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.8vw, 26px);
    font-style: italic;
    color: var(--warm-ivory);
    letter-spacing: 0.02em;
    line-height: 1.3;
    opacity: 0.9;
}

.hex-caption-center {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--antique-gold);
    font-style: normal;
    font-family: var(--font-display);
}

/* Hero divider chain */
.hero-divider {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.divider-chain {
    width: min(720px, 70%);
    height: 12px;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(123, 45, 142, 0.9) 0 3px, transparent 4px);
    background-size: 16px 12px;
    background-repeat: repeat-x;
    background-position: center;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    filter: drop-shadow(0 0 6px rgba(224, 192, 151, 0.3));
}

/* =============================================================
   BANDS - horizontal hex rows
   ============================================================= */

.band {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    margin-bottom: 100px;
    position: relative;
}

.band-3 .hex-band {
    /* every other hex shifted vertically for honeycomb stagger */
}
.band-3 .hex-band:nth-child(2n) {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(0.85);
}
.band-3 .hex-band:nth-child(2n).is-visible {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(1);
}

.band-4-stagger .hex-band {
    --hex-w: 240px;
    --hex-h: 208px;
}

.band-4-stagger .hex-band:nth-child(2n) {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(0.85);
}
.band-4-stagger .hex-band:nth-child(2n).is-visible {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(1);
}

.hex-band-sm {
    --hex-w: 240px;
    --hex-h: 208px;
}

.hex-band-xs {
    --hex-w: 200px;
    --hex-h: 173px;
}

.band-roots-dense {
    gap: 14px;
}

.band-heading {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-ivory);
    line-height: 1;
}

.band-heading-sm {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-ivory);
}

.band-heading-xs {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-ivory);
}

.band-body {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    color: var(--warm-stone);
    max-width: 100%;
}

.band-body-sm {
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.5;
    color: var(--warm-stone);
    opacity: 0.9;
}

/* =============================================================
   CANOPY scene-specific
   ============================================================= */

.scene-canopy {
    padding-top: 140px;
    padding-bottom: 140px;
}

/* =============================================================
   ROOTS scene-specific - crystallization, smaller hexagons
   ============================================================= */

.scene-roots {
    padding-top: 140px;
    padding-bottom: 140px;
}

.scene-roots .band-3 .hex-band {
    --hex-w: 280px;
    --hex-h: 243px;
}

.scene-roots .band-3 .hex-band:nth-child(2n) {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(0.85);
}
.scene-roots .band-3 .hex-band:nth-child(2n).is-visible {
    transform: translateY(calc(var(--hex-h) * 0.5)) scale(1);
}

/* =============================================================
   GROUND - footer mosaic of tiny hexagons
   ============================================================= */

.scene-ground {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 46, 0.6) 100%);
}

.ground-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    max-width: 1500px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.mosaic-hex {
    width: 120px;
    height: 104px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    clip-path: var(--hex-clip);
    -webkit-clip-path: var(--hex-clip);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 320ms ease, border-color 320ms ease, transform 320ms ease;
    cursor: default;
    position: relative;
    margin: 0 auto;
}

.mosaic-hex:nth-child(2n) {
    transform: translateY(28px);
}

.mosaic-hex:hover {
    background: rgba(224, 192, 151, 0.12);
    border-color: rgba(224, 192, 151, 0.4);
}

.mosaic-hex:nth-child(2n):hover {
    transform: translateY(28px) scale(1.04);
}

.mosaic-hex:not(:nth-child(2n)):hover {
    transform: scale(1.04);
}

.mosaic-tag {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--antique-gold);
    text-transform: uppercase;
    text-align: center;
    padding: 0 8px;
    line-height: 1.1;
}

.ground-footer {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 40px 0;
    border-top: 1px solid rgba(224, 192, 151, 0.18);
}

.ground-footer-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.ground-footer-col .hex-label {
    margin-bottom: 14px;
    border-color: rgba(224, 192, 151, 0.4);
}

.ground-line {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--warm-stone);
    line-height: 1.55;
    font-style: italic;
}

.ground-line a {
    color: var(--antique-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(224, 192, 151, 0.3);
    transition: color 250ms ease, border-color 250ms ease;
}

.ground-line a:hover {
    color: var(--warm-ivory);
    border-color: var(--warm-ivory);
}

.ground-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}

.ground-mark {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--antique-gold);
    text-transform: uppercase;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1280px) {
    :root { --hex-w: 280px; --hex-h: 242px; }

    .hex-center { --hex-w: 380px; --hex-h: 329px; }

    .scene { padding: 100px 32px 80px; }
}

@media (max-width: 1024px) {
    :root { --hex-w: 240px; --hex-h: 208px; }

    .hex-center { --hex-w: 320px; --hex-h: 277px; }

    .nav-inner { padding: 14px 24px; }
    .nav-links { gap: 24px; }
    .nav-link { font-size: 14px; }

    .scene-roots .band-3 .hex-band { --hex-w: 220px; --hex-h: 191px; }
    .band-4-stagger .hex-band { --hex-w: 200px; --hex-h: 173px; }

    .ground-footer-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --hex-w: 280px; --hex-h: 242px; }

    .hex-center { --hex-w: 320px; --hex-h: 277px; }

    .rosette {
        width: 100%;
        height: auto;
        min-height: calc(var(--hex-h) * 5);
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: flex-start;
        padding: 20px 0;
    }

    .hex-rosette {
        position: relative;
        left: auto !important;
        top: auto !important;
        transform: scale(0.85) !important;
    }

    .hex-rosette.is-visible {
        transform: scale(1) !important;
    }

    .hex-rosette:nth-child(2n).is-visible {
        transform: translateX(24px) scale(1) !important;
    }
    .hex-rosette:nth-child(2n+1).is-visible {
        transform: translateX(-24px) scale(1) !important;
    }
    .hex-center.is-visible {
        transform: scale(1) !important;
    }

    .band {
        flex-direction: column;
        gap: 16px;
    }

    .band-3 .hex-band:nth-child(2n),
    .band-4-stagger .hex-band:nth-child(2n),
    .scene-roots .band-3 .hex-band:nth-child(2n) {
        transform: translateX(24px) scale(0.85);
    }

    .band-3 .hex-band:nth-child(2n).is-visible,
    .band-4-stagger .hex-band:nth-child(2n).is-visible,
    .scene-roots .band-3 .hex-band:nth-child(2n).is-visible {
        transform: translateX(24px) scale(1);
    }

    .band-3 .hex-band:nth-child(2n+1) {
        transform: translateX(-24px) scale(0.85);
    }
    .band-3 .hex-band:nth-child(2n+1).is-visible {
        transform: translateX(-24px) scale(1);
    }

    .nav-mark-text { display: none; }

    .scene { padding: 80px 20px 60px; }

    .ground-footer-row { grid-template-columns: 1fr; }

    .scene-header { margin-bottom: 60px; }

    .ground-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    :root { --hex-w: 240px; --hex-h: 208px; }
    .hex-center { --hex-w: 280px; --hex-h: 242px; }
    .nav-links { gap: 14px; }
    .nav-link { font-size: 12px; letter-spacing: 0.14em; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .watercolor-stage,
    .wash,
    .bloom { animation: none !important; }

    .hex { transition: none; }
}
