/* ==============================================================
   alth.ing — Frutiger Aero Icelandic Dreamscape
   Hexagonal honeycomb · Triadic (teal/amber/violet) · Frosted glass
   Typography source notes: Zilla Slab (Google Fonts), Bitter (Google Fonts),
   Source Sans 3 (Google Fonts), IBM Plex Mono (Google Fonts).
   Animation Guidelines: Intersection Observer at 20% visibility threshold.
   ============================================================== */

:root {
    --aurora-teal: #0D7377;
    --volcanic-amber: #D4943A;
    --twilight-violet: #6B4C9A;
    --glacial-frost: #F5F0E8;
    --deep-basalt: #1C2333;
    --obsidian: #0F1520;
    --ice-blue: #88C8FF;
    --parchment: #EDE7D9;

    --hex-clip: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    --font-display: 'Zilla Slab', Georgia, serif;
    --font-sub: 'Bitter', Georgia, serif;
    --font-body: 'Source Sans 3', 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--parchment);
    background: var(--obsidian);
    overflow-x: hidden;
    line-height: 1.65;
    min-height: 100vh;
    position: relative;
}

/* ------- Deep basalt background layer + column pattern ------- */
.basalt-depth {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(28, 35, 51, 1) 0%, rgba(15, 21, 32, 1) 70%, #0a0f18 100%);
}
.basalt-depth::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, transparent 49%, rgba(136,200,255,0.04) 50%, transparent 51%),
        linear-gradient(60deg, transparent 49%, rgba(107,76,154,0.035) 50%, transparent 51%);
    background-size: 140px 80px, 140px 80px;
    opacity: 0.7;
    mix-blend-mode: screen;
}

/* Decorative hex watermarks */
.hex-watermarks {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}
.hex-watermark {
    position: absolute;
    width: 520px;
    height: 520px;
    opacity: 0.55;
    filter: drop-shadow(0 0 22px rgba(136,200,255,0.06));
}
.hw-1 { top: 8%; left: -120px; transform: rotate(18deg); }
.hw-2 { top: 45%; right: -140px; transform: rotate(-22deg); width: 620px; height: 620px; }
.hw-3 { bottom: 8%; left: 30%; transform: rotate(12deg); width: 440px; height: 440px; opacity: 0.35; }

/* Narrative spine */
.narrative-spine {
    position: fixed;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}
.spine-line {
    position: absolute;
    top: 100vh;
    left: 0;
    width: 1px;
    height: calc(100% - 100vh);
    background: linear-gradient(180deg,
        rgba(136,200,255,0) 0%,
        rgba(136,200,255,0.25) 10%,
        rgba(212,148,58,0.3) 50%,
        rgba(107,76,154,0.25) 90%,
        rgba(136,200,255,0) 100%);
}

/* ------- Section base ------- */
.section {
    position: relative;
    min-height: 100vh;
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 720px;
}
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--volcanic-amber);
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid rgba(212,148,58,0.3);
    border-radius: 2px;
    background: rgba(212,148,58,0.06);
}
.section-eyebrow.light { color: var(--ice-blue); border-color: rgba(136,200,255,0.35); background: rgba(136,200,255,0.06); }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: 0.02em;
    color: var(--glacial-frost);
    line-height: 1.1;
    text-shadow: 0 2px 28px rgba(13,115,119,0.25);
}
.section-deck {
    margin-top: 18px;
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: 18px;
    color: var(--parchment);
    opacity: 0.85;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.mono-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ice-blue);
    opacity: 0.85;
    margin-bottom: 14px;
}

/* ============== HERO ============== */
.hero {
    min-height: 100vh;
    padding: 80px 40px;
    overflow: hidden;
}

.aurora-bg {
    position: absolute;
    inset: -10%;
    z-index: -1;
    background: linear-gradient(135deg,
        #0D7377 0%,
        #0D7377 18%,
        #6B4C9A 50%,
        #D4943A 82%,
        #D4943A 100%);
    background-size: 300% 300%;
    animation: aurora-drift 20s linear infinite;
    filter: blur(40px) saturate(1.2);
    opacity: 0.55;
}
.aurora-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(28,35,51,0) 0%, rgba(15,21,32,0.7) 85%);
}
@keyframes aurora-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glossy spheres */
.sphere {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.4px);
}
.sphere-1 {
    width: 90px; height: 90px;
    top: 18%; left: 12%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255,255,255,0.9) 0%, rgba(136,200,255,0.6) 18%, rgba(13,115,119,0.45) 55%, rgba(13,115,119,0.15) 100%);
    box-shadow: 0 10px 30px rgba(13,115,119,0.25), inset -8px -10px 20px rgba(15,21,32,0.25);
    animation: float-a 10s ease-in-out infinite;
}
.sphere-2 {
    width: 64px; height: 64px;
    top: 30%; right: 16%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255,255,255,0.85) 0%, rgba(212,148,58,0.55) 22%, rgba(212,148,58,0.3) 60%, rgba(107,76,154,0.15) 100%);
    box-shadow: 0 8px 24px rgba(212,148,58,0.25), inset -6px -8px 16px rgba(15,21,32,0.2);
    animation: float-b 12s ease-in-out infinite 0.8s;
}
.sphere-3 {
    width: 48px; height: 48px;
    bottom: 22%; left: 22%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255,255,255,0.85) 0%, rgba(136,200,255,0.55) 20%, rgba(107,76,154,0.4) 60%, rgba(107,76,154,0.15) 100%);
    box-shadow: 0 6px 18px rgba(107,76,154,0.3), inset -5px -7px 14px rgba(15,21,32,0.25);
    animation: float-a 8s ease-in-out infinite 1.6s;
}
.sphere-4 {
    width: 110px; height: 110px;
    bottom: 14%; right: 10%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255,255,255,0.8) 0%, rgba(136,200,255,0.45) 20%, rgba(13,115,119,0.35) 55%, rgba(107,76,154,0.15) 100%);
    box-shadow: 0 14px 36px rgba(13,115,119,0.25), inset -10px -12px 24px rgba(15,21,32,0.22);
    animation: float-b 11s ease-in-out infinite 0.4s;
    opacity: 0.85;
}
@keyframes float-a {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-26px) translateX(8px); }
}
@keyframes float-b {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(22px) translateX(-10px); }
}

/* Aurora ribbons */
.aurora-ribbon {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}
.ribbon-1 { top: 12%; height: 260px; animation: ribbon-drift 15s ease-in-out infinite alternate; }
.ribbon-2 { bottom: 12%; height: 240px; animation: ribbon-drift 17s ease-in-out infinite alternate-reverse; }
.section-ribbon { top: 10%; height: 220px; animation: ribbon-drift 18s ease-in-out infinite alternate; opacity: 0.9; }
@keyframes ribbon-drift {
    0%   { transform: translateY(0) scaleY(1); opacity: 0.7; }
    50%  { transform: translateY(-18px) scaleY(1.08); opacity: 0.95; }
    100% { transform: translateY(14px) scaleY(0.96); opacity: 0.8; }
}

/* Hero hexagon */
.hero-hex {
    position: relative;
    width: min(78vmin, 760px);
    aspect-ratio: 1 / 0.866;
    clip-path: var(--hex-clip);
    background: rgba(245, 240, 232, 0.12);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: backdrop-filter 300ms ease, background 300ms ease;
    animation: hero-hex-enter 1400ms cubic-bezier(.19,1,.22,1) both;
}
.hero-hex::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
}
.hero-hex::after {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: var(--hex-clip);
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(136,200,255,0.18);
}
@keyframes hero-hex-enter {
    0%   { transform: scale(0.86); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-hex-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px;
    max-width: 78%;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(56px, 10vw, 128px);
    letter-spacing: 0.02em;
    color: var(--glacial-frost);
    line-height: 1;
    text-shadow: 0 2px 0 rgba(13,115,119,0.3), 0 0 40px rgba(136,200,255,0.3);
    animation: fade-up 1200ms cubic-bezier(.19,1,.22,1) 200ms both;
}
.hero-subtitle {
    margin-top: 18px;
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: clamp(18px, 2.2vw, 28px);
    letter-spacing: 0.04em;
    color: var(--parchment);
    opacity: 0;
    animation: fade-up 1200ms cubic-bezier(.19,1,.22,1) 1200ms forwards;
}
.hero-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--volcanic-amber), transparent);
    margin: 28px auto 20px;
    opacity: 0;
    animation: fade-up 1000ms ease 1800ms forwards;
}
.hero-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--ice-blue);
    opacity: 0;
    animation: fade-up 1000ms ease 2000ms forwards;
}
@keyframes fade-up {
    0%   { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-star-marker {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: fade-up 1000ms ease 2400ms both;
}
.hero-star-marker .star {
    animation: subtle-shake 4s ease-in-out infinite, star-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(212,148,58,0.5));
}
.scroll-hint {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ice-blue);
    opacity: 0.65;
}

@keyframes subtle-shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    25%      { transform: translateX(-2px) rotate(-0.5deg); }
    50%      { transform: translateX(0) rotate(0); }
    75%      { transform: translateX(2px) rotate(0.5deg); }
}
@keyframes star-glow {
    0%, 100% { opacity: 0.65; filter: drop-shadow(0 0 4px rgba(212,148,58,0.3)); }
    50%      { opacity: 1;    filter: drop-shadow(0 0 14px rgba(212,148,58,0.65)); }
}

/* ============== HIVE SECTIONS (hexagonal honeycomb) ============== */
.hive-section { padding: 160px 40px; }

.hive {
    position: relative;
    width: 100%;
    max-width: 1180px;
    display: grid;
    gap: 6px;
}

/* Base cell shape */
.hex-cell {
    position: relative;
    clip-path: var(--hex-clip);
    background: rgba(245, 240, 232, 0.10);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    aspect-ratio: 1 / 0.866;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 300ms ease, transform 300ms ease, backdrop-filter 300ms ease;
    opacity: 0;
    transform: scale(0.85);
    cursor: default;
}
.hex-cell.is-visible {
    animation: hex-enter 520ms cubic-bezier(.19,1,.22,1) forwards;
}
.hex-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 1;
}
.hex-cell::after {
    content: '';
    position: absolute;
    inset: 1px;
    clip-path: var(--hex-clip);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), inset 0 0 40px rgba(136,200,255,0.08);
    pointer-events: none;
    z-index: 1;
}
@keyframes hex-enter {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

.hex-cell:hover {
    background: rgba(245, 240, 232, 0.16);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    animation: seismic-tremor 300ms ease-in-out;
}
.hex-cell:hover::after {
    box-shadow: inset 0 0 0 1px var(--ice-blue), inset 0 0 50px rgba(136,200,255,0.22);
}
@keyframes seismic-tremor {
    0%, 100% { transform: translateX(0) rotate(0); }
    25%      { transform: translateX(-2px) rotate(-0.5deg); }
    50%      { transform: translateX(0) rotate(0); }
    75%      { transform: translateX(2px) rotate(0.5deg); }
}

.hex-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 12% 14%;
    max-width: 78%;
}
.cell-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: block;
}
.cell-title {
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: var(--glacial-frost);
    margin-bottom: 8px;
    line-height: 1.2;
}
.cell-title-lg {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 32px);
    margin-bottom: 14px;
}
.cell-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--parchment);
    opacity: 0.9;
}
.cell-body em {
    color: var(--volcanic-amber);
    font-style: italic;
    font-weight: 600;
}
.cell-stars {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.star-sm {
    animation: star-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(212,148,58,0.4));
}
.star-sm:nth-child(2) { animation-duration: 5s; animation-delay: 0.5s; }
.star-sm:nth-child(3) { animation-duration: 6s; animation-delay: 1s; }

/* ---- Gathering hive (2-2-1 pattern with center large hex) ---- */
.hive-gathering {
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto auto;
    max-width: 1000px;
    gap: 10px 6px;
}
.cell-a { grid-column: 1 / span 2; grid-row: 1; }
.cell-b { grid-column: 6 / span 2; grid-row: 1; }
.cell-center {
    grid-column: 3 / span 3;
    grid-row: 1 / span 2;
    align-self: center;
    transform: scale(1) translateY(34%);
}
.cell-center.is-visible { animation: hex-enter-center 600ms cubic-bezier(.19,1,.22,1) forwards; }
@keyframes hex-enter-center {
    0%   { opacity: 0; transform: scale(0.85) translateY(34%); }
    100% { opacity: 1; transform: scale(1) translateY(34%); }
}
.cell-d { grid-column: 2 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.cell-e { grid-column: 5 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.cell-d.is-visible, .cell-e.is-visible { animation: hex-enter-offset 520ms cubic-bezier(.19,1,.22,1) forwards; }
@keyframes hex-enter-offset {
    0%   { opacity: 0; transform: scale(0.85) translateY(-30%); }
    100% { opacity: 1; transform: scale(1) translateY(-30%); }
}

/* ---- Modern hive (7 cells in 3-4 pattern) ---- */
.hive-modern {
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: auto;
    gap: 10px 6px;
    max-width: 1120px;
}
.hive-modern .modern-cell:nth-child(1) { grid-column: 2 / span 2; grid-row: 1; }
.hive-modern .modern-cell:nth-child(2) { grid-column: 4 / span 2; grid-row: 1; }
.hive-modern .modern-cell:nth-child(3) { grid-column: 6 / span 2; grid-row: 1; }
.hive-modern .modern-cell:nth-child(4) { grid-column: 1 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.hive-modern .modern-cell:nth-child(5) { grid-column: 3 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.hive-modern .modern-cell:nth-child(6) { grid-column: 5 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.hive-modern .modern-cell:nth-child(7) { grid-column: 7 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
.hive-modern .modern-cell:nth-child(n+4).is-visible {
    animation: hex-enter-offset 520ms cubic-bezier(.19,1,.22,1) forwards;
}

/* Spine waypoint */
.spine-waypoint {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.spine-waypoint .star {
    animation: star-glow 4.5s ease-in-out infinite, subtle-shake 5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212,148,58,0.5));
}

/* ============== LAW ROCK SECTION ============== */
.law-rock-section { padding: 160px 40px; }

.law-rock-wrapper {
    position: relative;
    width: min(62vmin, 820px);
    aspect-ratio: 1 / 0.866;
    display: flex;
    align-items: center;
    justify-content: center;
}

.law-rock-hex {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: var(--hex-clip);
    background: rgba(245, 240, 232, 0.12);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: background 300ms ease, backdrop-filter 300ms ease;
}
.law-rock-hex.is-visible { animation: hex-enter 700ms cubic-bezier(.19,1,.22,1) forwards; }
.law-rock-hex::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 1;
}
.law-rock-hex::after {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: var(--hex-clip);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), inset 0 0 80px rgba(13,115,119,0.18);
    pointer-events: none;
    z-index: 1;
}

.law-rock-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6% 10%;
    max-width: 74%;
}
.law-quote {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 48px);
    letter-spacing: 0.01em;
    line-height: 1.22;
    color: var(--aurora-teal);
    animation: triadic-shift 12s ease-in-out infinite;
    margin-bottom: 20px;
}
@keyframes triadic-shift {
    0%, 100% { color: var(--aurora-teal); }
    33%      { color: var(--volcanic-amber); }
    66%      { color: var(--twilight-violet); }
}
.law-attribution {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--parchment);
    opacity: 0.7;
}

/* Orbiting stars */
.orbit-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: orbit-rotate 28s linear infinite;
}
.orbit-star {
    position: absolute;
    filter: drop-shadow(0 0 10px rgba(212,148,58,0.55));
    animation: star-glow 5s ease-in-out infinite;
}
.os-1 { top: -12px; left: 50%; transform: translateX(-50%); }
.os-2 { top: 18%; right: -14px; animation-delay: 0.6s; }
.os-3 { bottom: 18%; right: -10px; animation-delay: 1.2s; }
.os-4 { bottom: -14px; left: 50%; transform: translateX(-50%); animation-delay: 1.8s; }
.os-5 { bottom: 18%; left: -14px; animation-delay: 2.4s; }
.os-6 { top: 18%; left: -10px; animation-delay: 3s; }
@keyframes orbit-rotate {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

/* ============== CELESTIAL SECTION ============== */
.celestial-section {
    background: var(--obsidian);
    padding: 180px 40px 120px;
    overflow: hidden;
}
.celestial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(107,76,154,0.18) 0%, transparent 55%);
    pointer-events: none;
}

.starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.starfield .sf-star {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}
.starfield .sf-star.is-lit {
    animation: sf-fade-in 1200ms ease forwards, star-glow 5s ease-in-out infinite 1.2s, subtle-shake 6s ease-in-out infinite 1.2s;
}
@keyframes sf-fade-in {
    0%   { opacity: 0; transform: scale(0.6); }
    100% { opacity: 0.9; transform: scale(1); }
}

.celestial-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
.celestial-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(42px, 6vw, 72px);
    color: var(--glacial-frost);
    letter-spacing: 0.02em;
    margin: 20px 0 40px;
    text-shadow: 0 0 40px rgba(136,200,255,0.25);
}
.celestial-message {
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--parchment);
    letter-spacing: 0.04em;
    margin-bottom: 72px;
    line-height: 1.5;
}

/* Contemplative prompt hexagons */
.contemplative-prompts {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.prompt-hex {
    position: relative;
    width: 160px;
    height: 138px;
    background: rgba(245, 240, 232, 0.1);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    clip-path: var(--hex-clip);
    border: 0;
    cursor: pointer;
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--glacial-frost);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 300ms ease, transform 300ms ease;
}
.prompt-hex::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
}
.prompt-hex::after {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: var(--hex-clip);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
    pointer-events: none;
}
.prompt-teal   { box-shadow: 0 0 32px rgba(13,115,119,0.35); }
.prompt-amber  { box-shadow: 0 0 32px rgba(212,148,58,0.35); }
.prompt-violet { box-shadow: 0 0 32px rgba(107,76,154,0.4); }
.prompt-hex:hover { animation: seismic-tremor 300ms ease-in-out; }
.prompt-teal:hover   { background: rgba(13,115,119,0.25); }
.prompt-amber:hover  { background: rgba(212,148,58,0.22); }
.prompt-violet:hover { background: rgba(107,76,154,0.25); }
.prompt-hex.is-active {
    background: rgba(245,240,232,0.22);
    box-shadow: 0 0 48px rgba(136,200,255,0.4);
}
.prompt-label { position: relative; z-index: 2; padding: 0 14px; text-align: center; }

.site-foot {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--ice-blue);
    opacity: 0.75;
    padding-top: 40px;
    border-top: 1px solid rgba(136,200,255,0.12);
}
.foot-mark { color: var(--glacial-frost); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.foot-divider { opacity: 0.5; }
.foot-meta { font-family: var(--font-sub); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: none; color: var(--parchment); }
.foot-mono { color: var(--volcanic-amber); opacity: 0.85; }

/* ============== COMPASS NAV ============== */
.compass {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    z-index: 100;
}
.compass-core {
    position: relative;
    width: 56px;
    height: 56px;
    clip-path: var(--hex-clip);
    background: rgba(13, 115, 119, 0.35);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border: 0;
    color: var(--glacial-frost);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 300ms ease, transform 300ms ease;
    box-shadow: 0 0 24px rgba(13,115,119,0.35), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.compass-core:hover { background: rgba(13, 115, 119, 0.55); animation: subtle-shake 0.6s ease-in-out; }
.compass-core::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
}

.compass-petals {
    position: absolute;
    list-style: none;
    inset: 0;
    pointer-events: none;
}
.petal {
    position: absolute;
    width: 72px;
    height: 62px;
    clip-path: var(--hex-clip);
    background: rgba(245,240,232,0.1);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--glacial-frost);
    cursor: pointer;
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
    transition: transform 400ms cubic-bezier(.19,1,.22,1), opacity 300ms ease, background 200ms ease;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
    top: -3px;
    left: -8px;
}
.petal:hover { background: rgba(136,200,255,0.2); animation: subtle-shake 0.4s ease-in-out; }

.compass.is-open .petal { opacity: 1; pointer-events: auto; }
.compass.is-open .petal:nth-child(1) { transform: translate(-98px, -40px) scale(1); }
.compass.is-open .petal:nth-child(2) { transform: translate(-98px, 40px) scale(1); }
.compass.is-open .petal:nth-child(3) { transform: translate(-36px, -96px) scale(1); }
.compass.is-open .petal:nth-child(4) { transform: translate(-36px, 96px) scale(1); }
.compass.is-open .petal:nth-child(5) { transform: translate(28px, -96px) scale(1); }

/* ============== RESPONSIVE ============== */
@media (max-width: 820px) {
    .section { padding: 100px 20px; }
    .hive-gathering { grid-template-columns: repeat(4, 1fr); max-width: 520px; }
    .cell-a { grid-column: 1 / span 2; }
    .cell-b { grid-column: 3 / span 2; }
    .cell-center { grid-column: 1 / span 4; grid-row: 2; transform: scale(1) translateY(0); }
    .cell-center.is-visible { animation: hex-enter 600ms cubic-bezier(.19,1,.22,1) forwards; }
    .cell-d { grid-column: 1 / span 2; grid-row: 3; transform: scale(0.85) translateY(-30%); }
    .cell-e { grid-column: 3 / span 2; grid-row: 3; transform: scale(0.85) translateY(-30%); }

    .hive-modern { grid-template-columns: repeat(4, 1fr); max-width: 520px; }
    .hive-modern .modern-cell:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
    .hive-modern .modern-cell:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
    .hive-modern .modern-cell:nth-child(3) { grid-column: 2 / span 2; grid-row: 2; transform: scale(0.85) translateY(-30%); }
    .hive-modern .modern-cell:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
    .hive-modern .modern-cell:nth-child(5) { grid-column: 3 / span 2; grid-row: 3; }
    .hive-modern .modern-cell:nth-child(6) { grid-column: 1 / span 2; grid-row: 4; transform: scale(0.85) translateY(-30%); }
    .hive-modern .modern-cell:nth-child(7) { grid-column: 3 / span 2; grid-row: 4; transform: scale(0.85) translateY(-30%); }

    .cell-body { font-size: 12px; }
    .compass { bottom: 18px; right: 18px; }
    .compass.is-open .petal:nth-child(1) { transform: translate(-82px, -30px) scale(0.9); }
    .compass.is-open .petal:nth-child(2) { transform: translate(-82px, 30px) scale(0.9); }
    .compass.is-open .petal:nth-child(3) { transform: translate(-28px, -84px) scale(0.9); }
    .compass.is-open .petal:nth-child(4) { transform: translate(-28px, 84px) scale(0.9); }
    .compass.is-open .petal:nth-child(5) { transform: translate(24px, -84px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
