:root {
  /* Design typography notes retained for compliance: IBM Plex Mono** sparingly; ink is drying. A tiny gold point should pulse once; Playfair Display** primary voice: elegant titles carry the emotion. For tiny numeric annotations and counter readouts; Playfair typography with duotone cloud photography and organic blob masks; Source Sans 3** clear instrument labels and body copy. */
  --paper: #F4EFE6;
  --coral: #D86F5A;
  --gold: #C7A63A;
  --ink: #19233A;
  --lavender: #B9A7D8;
  --gray: #6E7885;
  --cobalt: #3778B8;
  --display: "Playfair Display", Playfair, Georgia, serif;
  --sans: "Source Sans 3", Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(216,111,90,.18), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(55,120,184,.18), transparent 28%),
    radial-gradient(circle at 42% 70%, rgba(185,167,216,.2), transparent 32%),
    linear-gradient(110deg, rgba(25,35,58,.06), transparent 35%, rgba(199,166,58,.08));
  mix-blend-mode: multiply;
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .42;
  background-image:
    repeating-radial-gradient(circle at 10% 20%, rgba(25,35,58,.08) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(96deg, rgba(110,120,133,.08) 0 1px, transparent 1px 9px);
  filter: blur(.15px);
}

.cursor-cloud {
  position: fixed;
  left: 0;
  top: 0;
  width: 140px;
  height: 110px;
  border-radius: 49% 51% 60% 40% / 42% 58% 42% 58%;
  background: radial-gradient(circle at 35% 35%, rgba(185,167,216,.26), transparent 60%), rgba(55,120,184,.08);
  transform: translate3d(-200px, -200px, 0);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

.storm-console { position: relative; z-index: 3; }

.board {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 64px);
  border-bottom: 1px solid rgba(25,35,58,.15);
}

.board::after {
  content: attr(data-board);
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: 22px;
  color: rgba(25,35,58,.22);
  font: 500 12px/1 var(--mono);
  letter-spacing: .18em;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0; line-height: 1.55; }

.opening-board { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; }

.archive-label {
  position: relative;
  z-index: 7;
  max-width: 720px;
  align-self: end;
  margin-bottom: 8vh;
  animation: inkDry 2.4s ease both .35s;
}

.file-mark, .pane-kicker, .board-heading span, .chamber-title span, .small-register span, .caption {
  display: inline-block;
  color: var(--gray);
  font: 500 12px/1.1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(64px, 11vw, 168px);
  letter-spacing: -.065em;
  line-height: .82;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(244,239,230,.8);
}

.archive-label p { max-width: 410px; margin-top: 24px; color: rgba(25,35,58,.72); font-size: 20px; }

.watercolor {
  position: absolute;
  filter: blur(.3px) saturate(.9);
  mix-blend-mode: multiply;
  will-change: transform, border-radius;
  animation: blobMorph 14s ease-in-out infinite alternate;
}

.watercolor::before,
.watercolor::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  background: inherit;
  opacity: .42;
  filter: blur(18px);
}

.bloom-a {
  width: min(54vw, 760px);
  height: min(48vw, 640px);
  right: -4vw;
  top: 4vh;
  border-radius: 42% 58% 41% 59% / 52% 36% 64% 48%;
  background:
    radial-gradient(circle at 58% 36%, rgba(25,35,58,.35), transparent 28%),
    radial-gradient(circle at 36% 54%, rgba(55,120,184,.52), transparent 58%),
    rgba(185,167,216,.34);
}

.bloom-b {
  width: 290px;
  height: 230px;
  left: 50%;
  bottom: 11vh;
  border-radius: 62% 38% 54% 46% / 42% 60% 40% 58%;
  background: radial-gradient(circle, rgba(216,111,90,.34), transparent 66%), rgba(199,166,58,.2);
  animation-duration: 17s;
}

.bloom-c {
  width: 420px;
  height: 330px;
  right: 6vw;
  bottom: 5vh;
  border-radius: 36% 64% 46% 54% / 58% 42% 58% 42%;
  background: radial-gradient(circle at 35% 40%, rgba(185,167,216,.45), transparent 60%), rgba(55,120,184,.2);
}

.duotone-photo {
  position: absolute;
  background:
    radial-gradient(ellipse at 24% 40%, rgba(244,239,230,.22), transparent 18%),
    radial-gradient(ellipse at 70% 28%, rgba(216,111,90,.22), transparent 12%),
    repeating-linear-gradient(128deg, rgba(25,35,58,.38) 0 5px, rgba(55,120,184,.26) 5px 13px, rgba(244,239,230,.12) 13px 22px),
    linear-gradient(145deg, var(--cobalt), var(--ink));
  opacity: .46;
  mix-blend-mode: multiply;
}

.hero-photo {
  width: 46vw;
  height: 36vw;
  right: 5vw;
  top: 12vh;
  clip-path: path("M363 20C491 54 558 137 541 260C523 390 413 475 269 456C119 436 23 351 31 224C39 99 210-20 363 20Z");
}

.isobar-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(25,35,58,.26);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
  pointer-events: none;
  animation: isobarDrift 18s linear infinite;
}

.opening-isobars { opacity: .7; }

.monopole-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(199,166,58,.45), 0 0 24px rgba(199,166,58,.8);
  z-index: 8;
  animation: dotPulse 4.8s ease-in-out infinite;
}

.main-dot { right: 32vw; top: 47vh; animation-delay: .8s; }
.board-dot { right: 31vw; bottom: 32vh; }
.chamber-dot { left: calc(50% - 7px); top: calc(50% - 7px); }
.final-dot { left: calc(50% - 7px); top: 42vh; }

.pane {
  position: relative;
  background: rgba(244,239,230,.64);
  border: 1px solid rgba(25,35,58,.24);
  box-shadow: 0 18px 46px rgba(25,35,58,.12), inset 0 0 32px rgba(255,255,255,.24);
  backdrop-filter: blur(3px);
}

.pane::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 18px;
  background: rgba(216,111,90,.28);
  border: 1px solid rgba(216,111,90,.22);
  top: -10px;
  left: 26px;
  transform: rotate(-6deg);
}

.small-register {
  position: absolute;
  right: 8vw;
  bottom: 11vh;
  width: 260px;
  padding: 24px;
  transform: rotate(-3deg);
  z-index: 7;
}

.small-register strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 24px; font-weight: 600; }

.altitude-strip {
  position: absolute;
  right: 28px;
  top: 13vh;
  height: 64vh;
  width: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--gray);
  font: 500 11px var(--mono);
  border-left: 1px solid rgba(25,35,58,.35);
}

.altitude-strip span { padding-left: 12px; position: relative; }
.altitude-strip span::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; border-top: 1px solid rgba(25,35,58,.35); }

.readings-board {
  display: grid;
  grid-template-columns: .9fr .75fr .85fr;
  grid-template-rows: auto 1fr 1fr;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: stretch;
}

.board-heading { grid-column: 1 / 3; max-width: 790px; z-index: 5; }
.board-heading h2, .chamber-title h2, .closing-log h2 { font-size: clamp(38px, 6vw, 82px); line-height: .95; letter-spacing: -.035em; margin-top: 12px; }

.gauge-pane { grid-column: 1; grid-row: 2 / 4; padding: 30px; transform: rotate(-2deg); }
.log-pane { grid-column: 2; grid-row: 2; padding: 30px; transform: rotate(1.5deg); }
.photo-pane { grid-column: 3; grid-row: 1 / 3; min-height: 440px; transform: rotate(3deg); overflow: hidden; }
.ruler-pane { grid-column: 2 / 4; grid-row: 3; padding: 30px 36px; transform: rotate(-1deg); display: grid; grid-template-columns: 70px 170px 1fr; gap: 26px; align-items: center; }

.round-gauge { margin: 34px auto 20px; width: min(88%, 320px); position: relative; }
.round-gauge svg { width: 100%; stroke: var(--ink); fill: none; stroke-width: 2; }
.round-gauge circle { stroke: rgba(25,35,58,.35); stroke-dasharray: 3 8; }
.round-gauge path { stroke: var(--cobalt); }
.needle { stroke: var(--gold); stroke-width: 4; transform-origin: 90px 90px; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.round-gauge .counter { position: absolute; inset: auto 0 26%; text-align: center; font: 500 28px var(--mono); color: var(--coral); }

.log-pane h3 { font-size: 36px; line-height: 1; margin: 18px 0; }
.mono-row { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(25,35,58,.18); font-family: var(--mono); font-size: 13px; }
.mono-row b { color: var(--coral); font-weight: 500; }

.puddle-photo { inset: 24px; opacity: .66; clip-path: ellipse(42% 48% at 50% 49%); border-radius: 45% 55% 59% 41% / 40% 57% 43% 60%; animation: blobMorph 16s ease-in-out infinite alternate; }
.caption { position: absolute; left: 28px; bottom: 28px; right: 28px; }

.vertical-ruler { height: 170px; border-left: 2px solid rgba(25,35,58,.42); display: flex; flex-direction: column; justify-content: space-between; }
.vertical-ruler i { width: 46px; border-top: 1px solid rgba(25,35,58,.36); display: block; }
.ruler-pane > .counter { font: 500 56px var(--mono); color: var(--cobalt); }

.chamber-board { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: center; }
.chamber-shell { position: relative; min-height: 78vh; border: 1px solid rgba(25,35,58,.16); background: rgba(244,239,230,.2); }
.chamber-isobars { inset: 5%; width: 90%; height: 90%; stroke: rgba(25,35,58,.3); stroke-dasharray: 2 10; animation-duration: 30s; }
.chamber-cloud { left: 50%; top: 50%; border-radius: 52% 48% 44% 56% / 44% 58% 42% 56%; }
.cloud-one { width: 52vw; height: 38vw; max-width: 760px; max-height: 560px; transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 50%, rgba(55,120,184,.42), transparent 58%), rgba(185,167,216,.24); }
.cloud-two { width: 38vw; height: 30vw; transform: translate(-56%, -44%) rotate(18deg); background: radial-gradient(circle at 62% 44%, rgba(216,111,90,.24), transparent 54%), rgba(55,120,184,.28); animation-duration: 19s; }
.cloud-three { width: 28vw; height: 20vw; transform: translate(-42%, -58%) rotate(-12deg); background: rgba(199,166,58,.18); animation-duration: 12s; }
.chamber-title { position: absolute; left: 6%; bottom: 7%; max-width: 640px; z-index: 6; }
.annotation-pane { padding: 28px; transform: rotate(2deg); }

.closing-board { display: grid; place-items: center; }
.closing-log { max-width: 720px; padding: 42px; transform: rotate(-1deg); z-index: 5; }
.closing-log p { margin-top: 20px; font-size: 21px; color: rgba(25,35,58,.72); }
.release-isobars { opacity: .72; }
.windbarbs { position: absolute; inset: 16vh 8vw auto auto; width: 230px; height: 160px; transform: rotate(-8deg); }
.windbarbs span { position: absolute; width: 90px; border-top: 1px solid rgba(25,35,58,.42); }
.windbarbs span::after { content: ""; position: absolute; right: 12px; top: -1px; width: 22px; transform: rotate(45deg); border-top: 1px solid rgba(25,35,58,.42); transform-origin: right; }
.windbarbs span:nth-child(1) { left: 0; top: 18px; }
.windbarbs span:nth-child(2) { left: 54px; top: 64px; }
.windbarbs span:nth-child(3) { left: 22px; top: 112px; }
.windbarbs span:nth-child(4) { left: 110px; top: 136px; }

@keyframes inkDry { from { opacity: 0; filter: blur(8px); transform: translateY(12px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes dotPulse { 0%, 78%, 100% { box-shadow: 0 0 0 0 rgba(199,166,58,.45), 0 0 24px rgba(199,166,58,.8); transform: scale(1); } 10% { box-shadow: 0 0 0 18px rgba(199,166,58,0), 0 0 34px rgba(199,166,58,.95); transform: scale(1.15); } }
@keyframes blobMorph { 0% { border-radius: 42% 58% 41% 59% / 52% 36% 64% 48%; } 50% { border-radius: 58% 42% 62% 38% / 42% 61% 39% 58%; } 100% { border-radius: 48% 52% 38% 62% / 61% 44% 56% 39%; } }
@keyframes isobarDrift { from { transform: translateX(-2%) translateY(0); stroke-dashoffset: 0; } to { transform: translateX(2%) translateY(-1%); stroke-dashoffset: -140; } }

@media (max-width: 900px) {
  .opening-board, .readings-board, .chamber-board { display: block; }
  .board { padding: 28px; min-height: auto; }
  .opening-board { min-height: 100vh; }
  .archive-label { margin-top: 46vh; }
  .small-register, .altitude-strip { display: none; }
  .pane { margin: 24px 0; }
  .photo-pane { min-height: 360px; }
  .ruler-pane { display: block; }
  .vertical-ruler { display: none; }
  .chamber-shell { min-height: 620px; }
  .cloud-one { width: 88vw; height: 70vw; }
  .cloud-two { width: 68vw; height: 54vw; }
  .cloud-three { width: 48vw; height: 36vw; }
}
