/* ==============================================================
   luminous.day  v2  --  bioluminescent botanical-tech field journal
   Palette:
     #0A1A12  Deep Forest      hero background, darkness before dawn
     #0F2318  Night Garden     main content background
     #39FF14  Neon Electric    primary accent, bioluminescent glow
     #C8E0D0  Soft Leaf        body text, gentle green-white
     #A8E6CF  Warm Glow        secondary accent, hover states
     #1A3A28  Deep Moss        card shadows, depth
     rgba(255,255,255,0.08)  Frosted Glass card background
     rgba(255,255,255,0.15)  Glass Border
   Fonts: "Cormorant Garamond" (Google Fonts), "Inter" (Google Fonts), "Space Mono" (Google Fonts)
   ============================================================== */

/* -------------------------------------------------------------
   Tokens
   ------------------------------------------------------------- */
:root {
    --c-deep:        #0A1A12;
    --c-night:       #0F2318;
    --c-neon:        #39FF14;
    --c-leaf:        #C8E0D0;
    --c-warm:        #A8E6CF;
    --c-moss:        #1A3A28;
    --c-glass:       rgba(255, 255, 255, 0.08);
    --c-glass-strong:rgba(255, 255, 255, 0.12);
    --c-border:      rgba(255, 255, 255, 0.15);
    --c-border-soft: rgba(255, 255, 255, 0.08);
    --c-neon-soft:   rgba(57, 255, 20, 0.7);
    --c-neon-faint:  rgba(57, 255, 20, 0.4);
    --c-neon-veil:   rgba(57, 255, 20, 0.2);

    --f-display: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --f-body:    'Inter', system-ui, -apple-system, sans-serif;
    --f-mono:    'Space Mono', 'SFMono-Regular', ui-monospace, monospace;

    --shadow-card: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px var(--c-border);
    --shadow-glow: 0 0 24px rgba(57,255,20,0.18);

    --rad-card: 16px;
    --rad-pill: 999px;

    --max: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.7;
    color: var(--c-leaf);
    background: var(--c-deep);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

::selection {
    background: var(--c-neon);
    color: var(--c-deep);
}

/* -------------------------------------------------------------
   Ambient glow halos (bioluminescent atmosphere)
   ------------------------------------------------------------- */
.ambient-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: halo-drift 24s ease-in-out infinite;
}
.halo-a {
    width: 540px; height: 540px;
    top: -120px; left: -160px;
    background: radial-gradient(circle, rgba(57,255,20,0.32), transparent 65%);
}
.halo-b {
    width: 720px; height: 720px;
    bottom: -260px; right: -200px;
    background: radial-gradient(circle, rgba(168,230,207,0.24), transparent 70%);
    animation-delay: -8s;
}
.halo-c {
    width: 460px; height: 460px;
    top: 40%; left: 55%;
    background: radial-gradient(circle, rgba(57,255,20,0.18), transparent 70%);
    animation-delay: -16s;
}
@keyframes halo-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50%      { transform: translate(40px, -30px) scale(1.08); opacity: 0.75; }
}

/* -------------------------------------------------------------
   Background botanical SVGs
   ------------------------------------------------------------- */
.botanical {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    fill: none;
    stroke: var(--c-neon);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 3px rgba(57,255,20,0.4)) drop-shadow(0 0 8px rgba(57,255,20,0.2));
    opacity: 0.4;
    animation: bio-pulse 5.5s ease-in-out infinite;
}
.botanical-fern {
    width: 320px; height: auto;
    top: 6vh; left: -60px;
}
.botanical-monstera {
    width: 380px; height: auto;
    top: 18vh; right: -90px;
    animation-delay: -2s;
}
.botanical-ivy {
    width: 220px; height: auto;
    bottom: 0; left: 38%;
    opacity: 0.28;
    animation-delay: -4s;
}
@keyframes bio-pulse {
    0%, 100% { opacity: 0.30; }
    50%      { opacity: 0.55; }
}

/* The "draw-line" animation: stroke-dasharray reveal */
.draw-line path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: draw 2s ease-out forwards;
}
.draw-line path:nth-child(2)  { animation-delay: 0.10s; }
.draw-line path:nth-child(3)  { animation-delay: 0.18s; }
.draw-line path:nth-child(4)  { animation-delay: 0.26s; }
.draw-line path:nth-child(5)  { animation-delay: 0.34s; }
.draw-line path:nth-child(6)  { animation-delay: 0.42s; }
.draw-line path:nth-child(7)  { animation-delay: 0.50s; }
.draw-line path:nth-child(8)  { animation-delay: 0.58s; }
.draw-line path:nth-child(9)  { animation-delay: 0.66s; }
.draw-line path:nth-child(10) { animation-delay: 0.74s; }
.draw-line path:nth-child(11) { animation-delay: 0.82s; }
.draw-line path:nth-child(12) { animation-delay: 0.90s; }
.draw-line path:nth-child(13) { animation-delay: 0.98s; }
.draw-line path:nth-child(14) { animation-delay: 1.06s; }
.draw-line path:nth-child(15) { animation-delay: 1.14s; }
.draw-line path:nth-child(16) { animation-delay: 1.22s; }
.draw-line path:nth-child(17) { animation-delay: 1.30s; }
.draw-line path:nth-child(18) { animation-delay: 1.38s; }
.draw-line path:nth-child(19) { animation-delay: 1.46s; }
.draw-line path:nth-child(20) { animation-delay: 1.54s; }

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

.line-stem    { stroke-width: 1.8; }
.line-leaf    { stroke-width: 1.4; }
.line-vine    { stroke-width: 1.6; }
.line-leaflet { stroke-width: 1.3; }
.line-hole    { stroke-width: 1.2; }
.line-vein    { stroke-width: 1.1; }

/* -------------------------------------------------------------
   Top bar / logotype
   ------------------------------------------------------------- */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 20px clamp(20px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(10,26,18,0.85), rgba(10,26,18,0.0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logotype {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--c-leaf);
    letter-spacing: 0.005em;
    text-shadow: 0 0 18px rgba(57,255,20,0.18);
}
.logotype-mark {
    color: var(--c-neon);
    text-shadow: 0 0 4px rgba(57,255,20,0.5), 0 0 12px rgba(57,255,20,0.2);
}
.logotype-dot {
    color: var(--c-neon);
    text-shadow: 0 0 4px rgba(57,255,20,0.5), 0 0 12px rgba(57,255,20,0.2);
}
.logotype-day {
    color: var(--c-warm);
    font-style: italic;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 32px);
}
.nav-link {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-leaf);
    opacity: 0.78;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.nav-link:hover {
    color: var(--c-neon);
    opacity: 1;
    border-color: var(--c-neon-faint);
    transform: translateY(-1px);
}

.top-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 8px rgba(57,255,20,0.3);
}
.meta-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-neon);
    box-shadow: 0 0 10px var(--c-neon), 0 0 20px rgba(57,255,20,0.4);
    animation: pulse 1.6s ease-in-out infinite;
}
.meta-divider {
    width: 28px; height: 1px;
    background: var(--c-border);
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

/* -------------------------------------------------------------
   Section shells
   ------------------------------------------------------------- */
section {
    position: relative;
    z-index: 5;
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 80px);
    max-width: var(--max);
    margin: 0 auto;
}

.section-headline {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 28px;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.section-index {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
}
.section-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
    color: var(--c-leaf);
    letter-spacing: -0.005em;
}
.section-title em {
    font-style: italic;
    color: var(--c-warm);
    text-shadow: 0 0 14px rgba(168,230,207,0.18);
}
.section-line {
    width: clamp(40px, 9vw, 120px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-neon), transparent);
    box-shadow: 0 0 8px rgba(57,255,20,0.4);
}

/* -------------------------------------------------------------
   HERO
   ------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    padding-top: clamp(120px, 14vh, 180px);
    padding-bottom: clamp(40px, 6vw, 96px);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
    position: relative;
}
.hero-text { max-width: 560px; }
.eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(38px, 6vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.012em;
    color: var(--c-leaf);
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(0,0,0,0.6);
}
.hero-title em {
    font-style: italic;
    color: var(--c-warm);
    text-shadow: 0 0 16px rgba(168,230,207,0.22);
}
.hero-lede {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--c-leaf);
    opacity: 0.86;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.cta-glass {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    background: var(--c-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--rad-pill);
    color: var(--c-leaf);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.cta-glass:hover {
    color: var(--c-neon);
    border-color: var(--c-neon-faint);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(57,255,20,0.18), 0 0 0 1px var(--c-neon-faint);
}
.cta-arrow {
    width: 18px; height: 18px;
    transition: transform 0.3s ease;
}
.cta-glass:hover .cta-arrow { transform: translateX(4px); }

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Hero cards cluster */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-self: stretch;
    perspective: 1200px;
}

/* -------------------------------------------------------------
   Glassmorphic card system
   ------------------------------------------------------------- */
.glass-card {
    position: relative;
    background: var(--c-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--rad-card);
    padding: 22px 22px 20px;
    color: var(--c-leaf);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.18s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--light-x, 50%) var(--light-y, 50%),
        rgba(255,255,255,0.14) 0%,
        rgba(255,255,255,0.05) 30%,
        transparent 60%
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}
.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(57,255,20,0.05), transparent 50%);
    pointer-events: none;
    mix-blend-mode: screen;
}
.glass-card:hover {
    border-color: var(--c-neon-faint);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 24px rgba(57,255,20,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

.card-tilt[data-tilt] {
    transform: perspective(800px)
               rotateX(var(--rotate-x, 0deg))
               rotateY(var(--rotate-y, 0deg))
               translateZ(0);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.card-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
}
.card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-warm);
    opacity: 0.85;
}
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-neon);
    box-shadow: 0 0 6px var(--c-neon);
    animation: pulse 1.8s ease-in-out infinite;
}
.card-icon {
    width: 42px; height: 42px;
    color: var(--c-neon);
    margin-bottom: 14px;
    filter: drop-shadow(0 0 4px rgba(57,255,20,0.4));
}
.card-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 22px;
    color: var(--c-leaf);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.card-body {
    font-size: 14px;
    color: var(--c-leaf);
    opacity: 0.82;
    margin-bottom: 16px;
}

.card-meter {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}
.meter-label, .meter-value {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
}
.meter-bar {
    height: 4px;
    border-radius: var(--rad-pill);
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    border: 1px solid var(--c-border-soft);
}
.meter-fill {
    display: block;
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, var(--c-neon), var(--c-warm));
    box-shadow: 0 0 10px rgba(57,255,20,0.5);
    border-radius: var(--rad-pill);
    transform-origin: left center;
    animation: meter-glow 3.6s ease-in-out infinite;
}
@keyframes meter-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(57,255,20,0.45); }
    50%      { box-shadow: 0 0 18px rgba(57,255,20,0.75); }
}

/* -------------------------------------------------------------
   Hero floor (scroll indicator)
   ------------------------------------------------------------- */
.hero-floor {
    grid-column: 1 / -1;
    margin-top: clamp(36px, 6vh, 72px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    opacity: 0.85;
}
.floor-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.floor-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
}
.floor-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    display: grid;
    place-items: center;
    color: var(--c-leaf);
    background: var(--c-glass);
    backdrop-filter: blur(10px);
    animation: floor-bob 2.4s ease-in-out infinite;
}
.floor-arrow svg { width: 16px; height: 16px; }
@keyframes floor-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* -------------------------------------------------------------
   Observatory (f-pattern: reading column + side cards)
   ------------------------------------------------------------- */
.observatory { background: linear-gradient(180deg, transparent, rgba(15,35,24,0.55) 35%, rgba(15,35,24,0.65)); border-radius: 0; }

.observatory-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
.reading-column {
    max-width: 640px;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.78;
}
.reading-column p { margin-bottom: 18px; color: var(--c-leaf); opacity: 0.92; }
.lead-paragraph {
    font-family: var(--f-display);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.45;
    font-weight: 500;
    color: var(--c-leaf);
    opacity: 1;
    margin-bottom: 28px !important;
}
.lead-paragraph::first-letter {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 3.4em;
    line-height: 0.85;
    float: left;
    padding: 6px 12px 0 0;
    color: var(--c-neon);
    text-shadow: 0 0 12px rgba(57,255,20,0.4);
}

.quote-block {
    position: relative;
    margin: 32px 0;
    padding: 24px 28px 24px 64px;
    background: var(--c-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    border-left: 2px solid var(--c-neon);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}
.quote-mark {
    position: absolute;
    left: 16px;
    top: 6px;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 64px;
    line-height: 1;
    color: var(--c-neon);
    text-shadow: 0 0 12px rgba(57,255,20,0.5);
}
.quote-block p {
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.45;
    color: var(--c-leaf);
    margin-bottom: 8px;
}
.quote-attribution {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
}

.side-cards {
    display: grid;
    gap: 18px;
    perspective: 1100px;
    position: sticky;
    top: 100px;
}
.side-card-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 20px;
    color: var(--c-leaf);
    margin: 12px 0 8px;
    letter-spacing: -0.005em;
}
.side-card-body {
    font-size: 14px;
    color: var(--c-leaf);
    opacity: 0.82;
}
.side-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}
.side-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed var(--c-border-soft);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-leaf);
    opacity: 0.86;
}
.side-list li:last-child { border-bottom: none; }
.side-value {
    color: var(--c-neon);
    text-shadow: 0 0 6px rgba(57,255,20,0.4);
}

/* -------------------------------------------------------------
   FIELD NOTES - plates with botanical wrap
   ------------------------------------------------------------- */
.field-notes { padding-top: clamp(80px, 10vw, 140px); }
.plates {
    display: grid;
    gap: clamp(48px, 8vw, 96px);
}
.plate {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    position: relative;
}
.plate-reverse { grid-template-columns: 1.2fr 1fr; }
.plate-reverse .plate-illustration { order: 2; }
.plate-reverse .plate-text { order: 1; }

.plate-illustration {
    position: relative;
    display: grid;
    place-items: center;
    padding: 32px;
    border-radius: 24px;
    background: radial-gradient(ellipse at center, rgba(57,255,20,0.06) 0%, transparent 70%);
}
.plate-illustration::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed var(--c-border-soft);
    border-radius: 20px;
    pointer-events: none;
}
.plate-illustration svg {
    width: 100%;
    height: auto;
    max-width: 360px;
    fill: none;
    stroke: var(--c-neon);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(57,255,20,0.4)) drop-shadow(0 0 12px rgba(57,255,20,0.2));
    animation: bio-pulse 6s ease-in-out infinite;
}

.plate-tag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 18px;
}
.plate-title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.05;
    color: var(--c-leaf);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.plate-deck {
    font-size: clamp(15px, 1.1vw, 17px);
    color: var(--c-leaf);
    opacity: 0.86;
    margin-bottom: 22px;
    max-width: 520px;
}
.plate-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
    border-top: 1px solid var(--c-border);
    padding-top: 18px;
    max-width: 480px;
}
.plate-meta li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    padding: 6px 0;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-leaf);
    opacity: 0.84;
    border-bottom: 1px dashed var(--c-border-soft);
}
.plate-meta li span:last-child {
    color: var(--c-warm);
}

/* -------------------------------------------------------------
   CULTIVARS - card grid
   ------------------------------------------------------------- */
.cultivars { padding-top: clamp(80px, 10vw, 140px); }
.cultivar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    perspective: 1200px;
}
.cultivar { padding: 24px 22px 22px; }
.cultivar-no {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
}
.cultivar-name {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    color: var(--c-leaf);
    margin: 10px 0 10px;
    letter-spacing: -0.005em;
}
.cultivar-blurb {
    font-size: 14px;
    color: var(--c-leaf);
    opacity: 0.82;
    margin-bottom: 16px;
    min-height: 60px;
}
.cultivar-bar {
    height: 3px;
    border-radius: var(--rad-pill);
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}
.cultivar-bar span {
    display: block;
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, var(--c-neon), var(--c-warm));
    box-shadow: 0 0 8px rgba(57,255,20,0.5);
    border-radius: var(--rad-pill);
}

/* -------------------------------------------------------------
   ALMANAC - tabular index
   ------------------------------------------------------------- */
.almanac { padding-top: clamp(80px, 10vw, 140px); }
.almanac-table {
    background: var(--c-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--rad-card);
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(0,0,0,0.5);
}
.almanac-row {
    display: grid;
    grid-template-columns: 80px 80px 1.4fr 1fr 1.6fr;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--c-border-soft);
    transition: background 0.3s ease, transform 0.3s ease;
}
.almanac-row:last-child { border-bottom: none; }
.almanac-row:not(.almanac-head):hover {
    background: rgba(57,255,20,0.04);
}
.almanac-head {
    background: rgba(255,255,255,0.04);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
}
.alm-day, .alm-plate {
    font-family: var(--f-mono);
    font-size: 14px;
    color: var(--c-warm);
}
.alm-spec {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    color: var(--c-leaf);
}
.alm-glow {
    display: block;
}
.alm-meter {
    display: block;
    height: 4px;
    border-radius: var(--rad-pill);
    width: var(--fill);
    background: linear-gradient(90deg, var(--c-neon), var(--c-warm));
    box-shadow: 0 0 8px rgba(57,255,20,0.45);
}
.alm-note {
    font-size: 13px;
    color: var(--c-leaf);
    opacity: 0.82;
}

/* -------------------------------------------------------------
   FOOTER - dense botanical garden
   ------------------------------------------------------------- */
.footer {
    position: relative;
    z-index: 5;
    margin-top: clamp(80px, 10vw, 140px);
    padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 80px) 32px;
    background: linear-gradient(180deg, transparent, var(--c-deep) 40%);
    overflow: hidden;
}
.footer-garden {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    height: 320px;
    pointer-events: none;
    z-index: 0;
}
.footer-layer path { fill: currentColor; }
.footer-far  { color: var(--c-neon); opacity: 0.10; }
.footer-mid  { color: var(--c-neon); opacity: 0.18; }
.footer-near { color: var(--c-neon); opacity: 0.28;
    filter: drop-shadow(0 0 6px rgba(57,255,20,0.3));
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: clamp(20px, 4vw, 56px);
    max-width: var(--max);
    margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-logotype {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 600;
    font-size: 28px;
    color: var(--c-leaf);
    text-shadow: 0 0 14px rgba(57,255,20,0.18);
    margin-bottom: 6px;
}
.footer-tag {
    font-size: 14px;
    color: var(--c-leaf);
    opacity: 0.78;
    margin-bottom: 10px;
}
.footer-heading {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-neon-soft);
    text-shadow: 0 0 6px rgba(57,255,20,0.3);
    margin-bottom: 10px;
}
.footer-col a {
    font-size: 14px;
    color: var(--c-leaf);
    opacity: 0.82;
    transition: color 0.25s ease, transform 0.25s ease;
    width: fit-content;
}
.footer-col a:hover {
    color: var(--c-neon);
    transform: translateX(3px);
}
.footer-line {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--c-leaf);
    opacity: 0.82;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-base {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--max);
    margin: 56px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--c-leaf);
    opacity: 0.7;
}

/* -------------------------------------------------------------
   Reveal animations on scroll
   ------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance: fade in logotype, slide cards from right */
.logotype { animation: fade-in 1s ease-out 0.6s backwards; }
@keyframes fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-cards .glass-card {
    animation: slide-in-right 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.hero-cards .glass-card:nth-child(1) { animation-delay: 1.5s; }
.hero-cards .glass-card:nth-child(2) { animation-delay: 1.65s; }
.hero-cards .glass-card:nth-child(3) { animation-delay: 1.8s; }
@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(60px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-text > * {
    animation: fade-in 0.9s ease-out backwards;
}
.hero-text .eyebrow      { animation-delay: 0.8s; }
.hero-text .hero-title   { animation-delay: 1.0s; }
.hero-text .hero-lede    { animation-delay: 1.25s; }
.hero-text .hero-actions { animation-delay: 1.45s; }

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
    .top-nav { display: none; }
    .top-bar { grid-template-columns: 1fr auto; }
    .hero { grid-template-columns: 1fr; }
    .hero-cards { margin-top: 36px; }
    .observatory-grid { grid-template-columns: 1fr; }
    .side-cards { position: relative; top: 0; }
    .plate, .plate-reverse {
        grid-template-columns: 1fr;
    }
    .plate-reverse .plate-illustration { order: 0; }
    .plate-reverse .plate-text { order: 0; }
    .almanac-row {
        grid-template-columns: 50px 50px 1fr 80px;
    }
    .alm-note { display: none; }
    .almanac-head span:nth-child(5) { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .botanical-monstera { width: 280px; right: -120px; }
}

@media (max-width: 720px) {
    section { padding-left: 18px; padding-right: 18px; }
    .top-bar { padding: 16px 18px; }
    .top-meta { display: none; }
    .hero-title { font-size: clamp(34px, 11vw, 56px); }
    .section-headline { grid-template-columns: 1fr; gap: 12px; }
    .section-line { width: 60px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .almanac-row { grid-template-columns: 40px 1fr 60px; }
    .almanac-row span:nth-child(2) { display: none; }
    .almanac-head span:nth-child(2) { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-base { flex-direction: column; align-items: flex-start; }
    .botanical-fern { width: 200px; left: -90px; }
    .botanical-monstera { width: 220px; right: -150px; opacity: 0.25; }
    .botanical-ivy { display: none; }
    .quote-block { padding-left: 48px; }
    .lead-paragraph::first-letter { font-size: 3em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .draw-line path { stroke-dashoffset: 0; }
}
