:root {
  --obsidian: #050405;
  --lacquer: #11100D;
  --gold: #C8A24A;
  --brass: #F3D57A;
  --glass: #2A2721;
  --leaf: #17261A;
  --rose: #6E2F3A;
  --mist: #E8D8B0;
}

/* IBM Plex Mono* Mono** sparingly for seed IDs: numeric parameter accents only. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--obsidian);
  color: var(--mist);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(200,162,74,.14), transparent 24rem),
    radial-gradient(circle at 82% 42%, rgba(23,38,26,.32), transparent 28rem),
    linear-gradient(115deg, transparent 0 47%, rgba(200,162,74,.12) 47.2% 47.6%, transparent 47.8%),
    repeating-linear-gradient(90deg, rgba(232,216,176,.025) 0 1px, transparent 1px 9vw);
  mix-blend-mode: screen;
  z-index: 1;
}

.font-token { position: fixed; left: -100vw; top: -100vh; }

a { color: inherit; text-decoration: none; cursor: none; }
button { font: inherit; cursor: none; }

#bloomCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cursor-lamp {
  position: fixed;
  width: 18rem;
  height: 18rem;
  margin: -9rem 0 0 -9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,213,122,.26), rgba(200,162,74,.12) 28%, transparent 68%);
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
  transform: translate3d(50vw, 50vh, 0);
}

.pollen-field { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.pollen {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 16px var(--gold);
  opacity: .85;
  animation: pollenFade 1.4s ease-out forwards;
}

@keyframes pollenFade {
  to { transform: translate(var(--dx), var(--dy)) scale(.1); opacity: 0; }
}

.seam-nav {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 9;
  display: flex;
  gap: .35rem;
  padding: .45rem;
  background: rgba(17,16,13,.48);
  border: 1px solid rgba(200,162,74,.28);
  backdrop-filter: blur(18px);
}

.seam-nav a {
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(232,216,176,.68);
  padding: .35rem .55rem;
  font-size: .78rem;
}

.seam-nav a:hover { color: var(--brass); background: rgba(200,162,74,.12); }

.conservatory { position: relative; z-index: 3; }
.chamber {
  position: relative;
  min-height: 100vh;
  padding: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}

.chamber::after {
  content: "";
  position: absolute;
  inset: 8% 5%;
  border: 1px solid rgba(200,162,74,.12);
  transform: skewY(-3deg);
  pointer-events: none;
}

h1, h2 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: .82;
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .035em;
  text-shadow: 0 0 38px rgba(200,162,74,.24);
}

h1 { font-size: clamp(6rem, 18vw, 18rem); }
h2 { font-size: clamp(5rem, 14vw, 14rem); }

p { font-size: clamp(1.16rem, 1.8vw, 1.6rem); line-height: 1.28; }

.eyebrow, .card-label, .rotated-label, .mono-strip, .parameter-row, .climate-row, .brass-seal {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.mono-strip, .parameter-row b, .climate-row b { font-family: "IBM Plex Mono", monospace; }

.glass-card {
  background: linear-gradient(135deg, rgba(42,39,33,.66), rgba(17,16,13,.36));
  border: 1px solid rgba(200,162,74,.26);
  box-shadow: 0 2rem 6rem rgba(0,0,0,.54), inset 0 1px 0 rgba(232,216,176,.14);
  backdrop-filter: blur(22px) saturate(1.2);
  transform-style: preserve-3d;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.glass-card.is-lit {
  border-color: rgba(243,213,122,.55);
  box-shadow: 0 2rem 7rem rgba(0,0,0,.6), 0 0 3rem rgba(200,162,74,.13), inset 0 1px 0 rgba(243,213,122,.24);
}

.card-label { display: block; color: var(--brass); font-size: .86rem; margin-bottom: 1rem; }
.warning { color: #E8D8B0; background: rgba(110,47,58,.45); display: inline-block; padding: .3rem .55rem; }

.threshold { background: radial-gradient(circle at 66% 35%, rgba(42,39,33,.34), transparent 32rem), var(--obsidian); }
.vertical-rule { position: absolute; left: 11%; top: 8%; bottom: 11%; width: 1px; background: linear-gradient(var(--gold), transparent); }
.rotated-label { position: absolute; color: rgba(232,216,176,.48); font-size: .82rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.threshold .rotated-label { left: 8%; top: 18%; }
.title-pane { position: absolute; left: 17%; top: 19%; width: min(68rem, 70vw); }
.title-pane p { width: min(37rem, 80vw); margin-left: 7vw; color: rgba(232,216,176,.82); }
.specimen-card { position: absolute; right: 9%; top: 28%; width: min(26rem, 34vw); padding: 1.25rem; transform: rotate(-3deg); }
.drift-card { animation: drift 7s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-1.2rem) rotate(2deg); } }
.specimen-svg, .future-svg { width: 100%; overflow: visible; }
.specimen-svg path, .future-svg path { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .8; stroke-dasharray: 5 9; animation: trace 9s linear infinite; }
.specimen-svg ellipse, .future-svg ellipse { fill: rgba(243,213,122,.08); stroke: rgba(243,213,122,.55); stroke-width: 1; }
.specimen-svg circle { fill: var(--brass); filter: drop-shadow(0 0 8px var(--gold)); }
@keyframes trace { to { stroke-dashoffset: -120; } }
.parameter-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(200,162,74,.18); padding: .55rem 0; font-size: .8rem; }
.threshold-note { position: absolute; left: 47%; bottom: 12%; width: 16rem; color: rgba(232,216,176,.58); font-style: italic; }

.seed h2 { position: absolute; left: 5%; top: 12%; transform: rotate(-4deg); }
.pane-tall { position: absolute; right: 13%; top: 14%; width: 22rem; min-height: 34rem; padding: 2rem; }
.seed-capsules { position: absolute; left: 16%; bottom: 23%; display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.brass-seal { background: rgba(17,16,13,.7); color: var(--mist); border: 1px solid rgba(200,162,74,.4); padding: .7rem 1rem; }
.brass-seal.active, .brass-seal:hover { color: var(--obsidian); background: var(--gold); }
.seed-display { position: absolute; left: 39%; bottom: 12%; width: min(34rem, 43vw); padding: 1.6rem; }
.mono-strip { color: var(--brass); border-top: 1px solid rgba(200,162,74,.25); padding-top: 1rem; font-size: .78rem; }

.climate { background: linear-gradient(170deg, var(--obsidian), #070806 62%, rgba(23,38,26,.32)); }
.climate .rotated-label { left: 7%; top: 20%; }
.climate h2 { position: absolute; right: 7%; top: 10%; }
.climate-table { position: absolute; left: 18%; top: 17%; width: min(40rem, 55vw); padding: 1.5rem; }
.climate-row { display: grid; grid-template-columns: 11rem 1fr 3rem; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(200,162,74,.16); font-size: .9rem; }
.climate-row i { height: 1px; background: linear-gradient(90deg, var(--gold) var(--w), rgba(232,216,176,.12) var(--w)); box-shadow: 0 0 14px rgba(200,162,74,.4); }
.horizon-panel { position: absolute; right: 12%; bottom: 9%; width: min(43rem, 55vw); min-height: 18rem; border-top: 1px solid rgba(200,162,74,.35); }
.rings { position: absolute; inset: -8rem 0 auto 12rem; width: 23rem; height: 23rem; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 1.3rem, rgba(200,162,74,.2) 1.35rem 1.42rem); opacity: .7; animation: slowSpin 32s linear infinite; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.horizon-panel p { position: relative; margin-top: 8rem; }

.mutation h2 { position: absolute; right: 5%; top: 8%; color: rgba(200,162,74,.9); }
.orchid { position: absolute; left: 13%; top: 18%; width: min(32rem, 43vw); min-height: 34rem; padding: 2rem; }
.orchid-bloom { position: relative; height: 19rem; margin: 1rem 0; }
.orchid-bloom span { position: absolute; left: 50%; top: 50%; width: 11rem; height: 3.6rem; margin: -1.8rem 0 0 -5.5rem; border-radius: 50%; background: radial-gradient(ellipse, rgba(110,47,58,.55), rgba(200,162,74,.16) 55%, transparent 72%); border: 1px solid rgba(232,216,176,.14); transform: rotate(calc(var(--i, 0) * 36deg)); }
.orchid-bloom span:nth-child(1){ --i: 0; }.orchid-bloom span:nth-child(2){ --i: 1; }.orchid-bloom span:nth-child(3){ --i: 2; }.orchid-bloom span:nth-child(4){ --i: 3; }.orchid-bloom span:nth-child(5){ --i: 4; }
.annotation-shelf { position: absolute; right: 12%; bottom: 20%; width: 20rem; padding-left: 4rem; border-top: 1px solid var(--gold); color: rgba(232,216,176,.68); font-style: italic; font-size: 1.35rem; }

.forecast-card { position: absolute; left: 8%; top: 15%; width: min(48rem, 58vw); padding: 1.5rem; }
.forecast h2 { position: absolute; right: 8%; bottom: 25%; }
.forecast-copy { position: absolute; right: 12%; bottom: 11%; width: min(30rem, 38vw); }
.petals ellipse { transform-origin: center; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(1.08); } }

.bloom { background: radial-gradient(circle at 50% 55%, rgba(110,47,58,.16), transparent 24rem), var(--obsidian); }
.bloom h2 { position: absolute; left: 9%; top: 11%; font-size: clamp(7rem, 19vw, 19rem); }
.bloom-seal { position: absolute; right: 13%; top: 28%; width: min(31rem, 42vw); padding: 2rem; }
.quiet-link { display: inline-block; margin-top: 1rem; border: 1px solid rgba(200,162,74,.55); padding: .8rem 1rem; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); }
.quiet-link:hover { background: rgba(200,162,74,.13); }
.root-map { position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 1.1rem, rgba(23,38,26,.6) 1.15rem 1.22rem); opacity: .45; }

@media (max-width: 820px) {
  body { cursor: auto; }
  a, button { cursor: pointer; }
  .cursor-lamp { display: none; }
  .seam-nav { left: .5rem; right: .5rem; overflow-x: auto; }
  .chamber { min-height: auto; padding: 6rem 1.1rem 4rem; display: flex; flex-direction: column; gap: 1.25rem; }
  .title-pane, .specimen-card, .threshold-note, .seed h2, .pane-tall, .seed-capsules, .seed-display, .climate h2, .climate-table, .horizon-panel, .mutation h2, .orchid, .annotation-shelf, .forecast-card, .forecast h2, .forecast-copy, .bloom h2, .bloom-seal { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; width: 100%; transform: none; }
  .rotated-label, .vertical-rule { display: none; }
  h1 { font-size: 5.8rem; }
  h2 { font-size: 5rem; }
  .title-pane p { margin-left: 0; }
  .climate-row { grid-template-columns: 1fr; }
}
