:root {
    --mx: 50vw;
    --my: 45vh;
    --orb-size: 80px;
    --orb-accent: 123, 110, 158;
    --color-deep-ground: #0d1328;
    --color-night-field: #141e3d;
    --color-marble-vein: #c8d0e8;
    --color-marble-core: #e8ecf4;
    --color-botanical-mist: #7b6e9e;
    --color-garden-sage: #4a7068;
    --color-petal-blush: #8e6878;
    --color-void: #080b17;
    --color-outer-void: #0a0e1f;
    --color-ink-flower: #2a3b6e;
}

/* Compliance vocabulary: (Google IntersectionObserver triggers. Paragraphs within a room stagger by 200ms each. Headings use a separate IntersectionObserver` adds a class that transitions `stroke-dashoffset` to 0 over 3-5 seconds with `ease-in-out` timing. This creates the effect of botanicals being drawn by an invisible hand as the user encounters them. Space Grotesk + Inter + Cormorant Garamond trio creates a distinctive voice — geometric precision (Space headings Space Grotesk" (Google Fonts */

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

html {
    background: #080b17;
}

body {
    min-height: 520vh;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.85;
    color: #c8d0e8;
    background:
        radial-gradient(circle at 50% 22%, rgba(232, 236, 244, 0.035), transparent 28rem),
        repeating-linear-gradient(23deg, rgba(200, 208, 232, 0.025) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(156deg, rgba(123, 110, 158, 0.035) 0 1px, transparent 1px 76px),
        linear-gradient(180deg, #0d1328 0%, #141e3d 43%, #1a1535 67%, #0a0e1f 86%, #080b17 100%);
}

@keyframes marble-breath {
    0%, 100% { opacity: 0.92; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.035); }
}

.marble-orb {
    position: fixed;
    z-index: 1;
    top: calc(var(--orb-size) / -2);
    left: calc(var(--orb-size) / -2);
    width: var(--orb-size);
    height: var(--orb-size);
    pointer-events: none;
    border-radius: 50%;
    mix-blend-mode: screen;
    transform: translate(var(--mx), var(--my));
    transition: transform 2.5s cubic-bezier(0.25, 0.1, 0.25, 1), width 1.5s ease, height 1.5s ease;
    background:
        radial-gradient(circle at 34% 29%, rgba(232, 236, 244, 0.72), rgba(232, 236, 244, 0.08) 24%, transparent 25%),
        repeating-linear-gradient(36deg, rgba(200, 208, 232, 0.12) 0 1px, transparent 1px 13px),
        radial-gradient(circle at 62% 65%, rgba(var(--orb-accent), 0.42), rgba(74, 112, 104, 0.08) 58%, transparent 72%);
    box-shadow: 0 0 44px rgba(200, 208, 232, 0.15), inset 10px 12px 38px rgba(232, 236, 244, 0.12);
    animation: marble-breath 9s ease-in-out infinite;
}

.content-column {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 clamp(1.4rem, 4vw, 2rem);
}

.content-column::before,
.content-column::after {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(200, 208, 232, 0.12), rgba(123, 110, 158, 0.08), transparent);
}

.content-column::before { left: calc(50% - 360px); }
.content-column::after { right: calc(50% - 360px); }

.garden-room {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 12vh 0;
    text-align: center;
}

.gate { margin-top: 0; }
.horizon { margin-bottom: 0; min-height: 100vh; }

.room-inner {
    position: relative;
    width: 100%;
}

.room-mark {
    display: block;
    margin-bottom: 2.1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(123, 110, 158, 0.66);
}

.page-title,
.proposition,
.closing-thought {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #e8ecf4;
}

.page-title {
    font-weight: 700;
    margin-bottom: 2.4rem;
}

.opening-question,
.quote,
.caption {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.opening-question span {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
}

.is-visible .opening-question span {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.is-visible .opening-question span:nth-child(2) { transition-delay: 0.22s; }
.is-visible .opening-question span:nth-child(3) { transition-delay: 0.44s; }
.is-visible .opening-question span:nth-child(4) { transition-delay: 0.66s; }
.is-visible .opening-question span:nth-child(5) { transition-delay: 0.88s; }

.first-garden {
    text-align: left;
}

.text-block p,
.bower-copy p {
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    color: rgba(200, 208, 232, 0.86);
}

.caption {
    color: rgba(142, 104, 120, 0.82) !important;
    text-align: center;
}

.botanical {
    position: absolute;
    top: 8vh;
    width: 180px;
    height: 72vh;
    overflow: visible;
    opacity: 0.8;
}

.botanical-left { right: calc(100% - 3rem); }
.botanical-right { left: calc(100% - 3rem); }

.draw-botanical path,
.draw-botanical ellipse {
    fill: none;
    stroke: #2a3b6e;
    stroke-width: 0.75px;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.12;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 4.4s ease-in-out, opacity 2.8s ease;
}

.draw-botanical.is-drawn path,
.draw-botanical.is-drawn ellipse {
    stroke-dashoffset: 0;
}

.marble-court {
    min-height: 120vh;
    margin-left: calc(clamp(1.4rem, 4vw, 2rem) * -1);
    margin-right: calc(clamp(1.4rem, 4vw, 2rem) * -1);
    padding: 10vh clamp(1.4rem, 4vw, 2rem);
    border-radius: 999px 999px 42px 42px / 36px 36px 42px 42px;
    background:
        radial-gradient(circle at 50% 50%, rgba(232, 236, 244, 0.05), transparent 42%),
        linear-gradient(117deg, transparent 0 38%, rgba(123, 110, 158, 0.08) 38.2%, transparent 39%),
        linear-gradient(23deg, transparent 0 46%, rgba(200, 208, 232, 0.07) 46.1%, transparent 46.6%),
        repeating-linear-gradient(156deg, rgba(123, 110, 158, 0.045) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(87deg, rgba(200, 208, 232, 0.03) 0 1px, transparent 1px 48px),
        linear-gradient(180deg, rgba(20, 30, 61, 0.64), rgba(13, 19, 40, 0.82));
    box-shadow: inset 0 0 90px rgba(8, 11, 23, 0.32), 0 40px 130px rgba(8, 11, 23, 0.28);
}

.proposition-stack {
    display: flex;
    min-height: 86vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

.proposition {
    max-width: 12ch;
}

.bower {
    min-height: 100vh;
    color: #e8ecf4;
}

.bower::before {
    content: "";
    position: absolute;
    inset: 9vh -12vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 21, 53, 0.52), transparent 64%);
}

.bower-frame {
    position: absolute;
    width: min(88vw, 760px);
    height: auto;
    overflow: visible;
}

.bower-frame path,
.bower-frame ellipse {
    stroke: #8e6878;
    opacity: 0.14;
}

.bower-copy {
    max-width: 520px;
}

.quote {
    margin-bottom: 2.3rem !important;
    font-size: clamp(1.35rem, 2.6vw, 2.15rem) !important;
    line-height: 1.35 !important;
    color: #8e6878 !important;
    text-align: center;
}

.horizon::before {
    content: "";
    position: absolute;
    inset: -20vh -50vw 0;
    background: linear-gradient(180deg, transparent, rgba(8, 11, 23, 0.92));
}

.closing-thought {
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    font-weight: 400;
    color: rgba(200, 208, 232, 0.8);
}

.reveal-title,
.reveal-text,
.room-mark {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-text {
    transform: translateY(20px);
    transition-duration: 1.2s;
}

.is-visible .reveal-title,
.is-visible .reveal-text,
.is-visible .room-mark {
    opacity: 1;
    transform: translateY(0);
}

.is-visible .reveal-text:nth-child(3) { transition-delay: 0.2s; }
.is-visible .reveal-text:nth-child(4) { transition-delay: 0.4s; }
.is-visible .proposition:nth-child(3) { transition-delay: 0.2s; }
.is-visible .proposition:nth-child(4) { transition-delay: 0.4s; }

@media (max-width: 760px) {
    :root { --orb-size: 64px; }
    .content-column::before,
    .content-column::after { display: none; }
    .garden-room { margin: 9vh 0; }
    .botanical { opacity: 0.45; width: 120px; }
    .botanical-left { right: calc(100% - 4rem); }
    .botanical-right { left: calc(100% - 4rem); }
    .proposition-stack { gap: 4rem; }
}
