/* --- Drifting Spores & Growing Vines Effects --- */
#spore-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: screen;
}

#code-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#fern-canopy {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: screen;
}

.fern {
  position: absolute;
  transform-origin: 50% 0%;
  transform: scale(var(--fern-scale, 1));
  animation: fern-sway var(--fern-sway-duration, 16s) ease-in-out var(--fern-delay, 0s) infinite;
  filter: hue-rotate(var(--fern-hue, 0deg));
  opacity: 0.72;
}

.fern svg {
  display: block;
}

.fern-stem {
  fill: none;
  stroke: rgba(122, 224, 176, 0.74);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(122, 224, 176, 0.46));
}

.fern-frond {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation:
    fern-unfurl var(--fern-unfurl-duration, 32s) cubic-bezier(0.17, 0.84, 0.34, 1) var(--fern-delay, 0s) infinite,
    frond-wave 5s ease-in-out var(--fern-delay, 0s) infinite;
}

.fern-frond path {
  fill: rgba(108, 214, 167, 0.22);
  stroke: rgba(140, 237, 194, 0.65);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(140, 237, 194, 0.35));
}

.fern-frond-a {
  animation-delay: calc(var(--fern-delay, 0s) + 0s), calc(var(--fern-delay, 0s) + 0s);
}

.fern-frond-b {
  animation-delay: calc(var(--fern-delay, 0s) + 2.2s), calc(var(--fern-delay, 0s) + 1s);
  animation-direction: normal, reverse;
}

.fern-frond-c {
  animation-delay: calc(var(--fern-delay, 0s) + 4.3s), calc(var(--fern-delay, 0s) + 2s);
}

@keyframes fern-unfurl {
  0% {
    transform: rotate(-22deg) scaleY(0.08) scaleX(0.54);
    opacity: 0.2;
  }
  34% {
    transform: rotate(-8deg) scaleY(0.55) scaleX(0.84);
    opacity: 0.58;
  }
  62% {
    transform: rotate(6deg) scaleY(0.96) scaleX(1.02);
    opacity: 0.74;
  }
  100% {
    transform: rotate(12deg) scaleY(1.08) scaleX(1.04);
    opacity: 0.68;
  }
}

@keyframes fern-sway {
  0% {
    transform: translateX(-8px) rotate(-4deg) scale(var(--fern-scale, 1));
  }
  25% {
    transform: translateX(2px) rotate(1deg) scale(var(--fern-scale, 1));
  }
  50% {
    transform: translateX(10px) rotate(5deg) scale(var(--fern-scale, 1));
  }
  75% {
    transform: translateX(-1px) rotate(-2deg) scale(var(--fern-scale, 1));
  }
  100% {
    transform: translateX(-8px) rotate(-4deg) scale(var(--fern-scale, 1));
  }
}

@keyframes frond-wave {
  0% {
    transform: rotate(-6deg) scaleY(1) scaleX(1);
  }
  25% {
    transform: rotate(3deg) scaleY(1.06) scaleX(0.96);
  }
  50% {
    transform: rotate(8deg) scaleY(0.94) scaleX(1.04);
  }
  75% {
    transform: rotate(-2deg) scaleY(1.04) scaleX(0.98);
  }
  100% {
    transform: rotate(-6deg) scaleY(1) scaleX(1);
  }
}

.code-snippet {
  position: absolute;
  bottom: -16vh;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.58rem, 1.05vw, 0.76rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  filter: blur(0.15px);
  transform-origin: center;
  animation-name: code-flutter;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes code-flutter {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) skewX(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.44;
  }
  26% {
    transform: translate3d(calc(var(--drift-x) * 0.45), calc(var(--wobble-y) * -0.45), 0) rotate(calc(var(--flutter-amp) * -0.45)) skewX(2deg);
    opacity: 0.66;
  }
  48% {
    transform: translate3d(calc(var(--drift-x) * -0.32), calc(var(--wobble-y) * -1.2), 0) rotate(calc(var(--flutter-amp) * 0.62)) skewX(-3deg);
    opacity: 0.74;
  }
  72% {
    transform: translate3d(calc(var(--drift-x) * 0.7), calc(var(--wobble-y) * -2.2), 0) rotate(calc(var(--flutter-amp) * -0.75)) skewX(1deg);
    opacity: 0.56;
  }
  100% {
    transform: translate3d(calc(var(--drift-x) * -0.4), -122vh, 0) rotate(calc(var(--flutter-amp) * 0.35)) skewX(-1deg);
    opacity: 0;
  }
}
.spore {
  position: absolute;
  bottom: -6vh;
  border-radius: 50%;
  filter: blur(0.3px);
  opacity: 0.82;
}
@keyframes spore-drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  6% {
    opacity: 0.8;
  }
  30% {
    transform: translateY(-30vh) translateX(-30px);
    opacity: 0.92;
  }
  55% {
    transform: translateY(-65vh) translateX(50px);
    opacity: 0.96;
  }
  70% {
    opacity: 0.88;
  }
  100% {
    transform: translateY(-115vh) translateX(0);
    opacity: 0;
  }
}
#vine-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: screen;
}

header,
main,
footer {
  position: relative;
  z-index: 2;
}
.vine-main, .vine-off {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px #7de0b08a);
}
.vine-group {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.vine-tendril {
  filter: drop-shadow(0 0 7px #68d8c08a);
  transform-box: fill-box;
  transform-origin: center;
}
.vine-leaf ellipse {
  filter: drop-shadow(0 0 4px #7de0b088);
  transform-box: fill-box;
  transform-origin: center;
}
/* Get Involved hero action buttons */
.get-involved-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

.gi-btn {
  display: inline-block;
  background: linear-gradient(92deg, #7de0b0 0%, #5dd2ff 100%);
  color: #0d1814;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(125, 224, 176, 0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none;
}

.gi-btn:hover {
  background: linear-gradient(92deg, #5dd2ff 0%, #7de0b0 100%);
  color: #0d1814;
  box-shadow: 0 4px 18px rgba(93, 210, 255, 0.18);
  text-decoration: underline;
}

/* Art + Activities block grid */
.art-ideas-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.1rem;
}

@media (min-width: 700px) {
  .art-ideas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }
}

/* Inline link style for sign-up and form links */
.inline-link {
  color: #7de0b0;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.inline-link:hover {
  color: #5dd2ff;
  text-decoration: underline wavy;
}
:root {
  --bg: #111614;
  --bg-elev: #1a211e;
  --text: #ebf2ed;
  --text-dim: #b8c8bf;
  --accent: #7de0b0;
  --accent-2: #5dd2ff;
  --danger: #ff7f7f;
  --line: rgba(182, 220, 199, 0.22);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --crt-main: #9ce8c3;
  --crt-dim: #9ab3a5;
  --crt-info: #6edcff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(90, 204, 146, 0.2), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(78, 175, 228, 0.17), transparent 26%),
    linear-gradient(180deg, #0f1311 0%, #111614 50%, #0d1110 100%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: 0.018em;
  text-shadow:
    0 0 4px color-mix(in srgb, var(--crt-main) 26%, transparent),
    0 0 10px color-mix(in srgb, var(--crt-main) 14%, transparent);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0) 92%, rgba(108, 160, 130, 0.07) 100%),
    repeating-linear-gradient(90deg, rgba(125, 224, 176, 0.03) 0 1px, transparent 1px 48px);
  z-index: -1;
}

a {
  color: var(--crt-info);
  text-decoration: none;
  text-shadow:
    0 0 5px color-mix(in srgb, var(--crt-info) 58%, transparent),
    0 0 12px color-mix(in srgb, var(--crt-info) 24%, transparent);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 16, 0.82);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.topbar-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  color: var(--text);
  font-family: "VT323", "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.06rem;
  text-shadow:
    0 0 6px color-mix(in srgb, var(--crt-main) 64%, transparent),
    0 0 14px color-mix(in srgb, var(--crt-main) 28%, transparent);
}

.nav-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  font-family: "IBM Plex Mono", monospace;
}

.main-nav {
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.main-nav.show {
  display: flex;
}

.main-nav a {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  color: var(--text-dim);
  font-family: "VT323", "IBM Plex Mono", monospace;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(125, 224, 176, 0.08);
  text-decoration: none;
}

.hero {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: var(--shadow);
  background: linear-gradient(130deg, rgba(18, 30, 25, 0.9), rgba(16, 24, 34, 0.75));
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  align-items: start;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.hero-top-grid > * {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 6.8vw, 3.2rem);
  line-height: 1.1;
  color: #b4f3d2;
  text-shadow:
    0 0 8px color-mix(in srgb, #b4f3d2 76%, transparent),
    0 0 18px color-mix(in srgb, #b4f3d2 34%, transparent);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: "VT323", "IBM Plex Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--crt-main);
  font-size: 0.96rem;
}

.hero-copy p {
  color: #cbe0d4;
  max-width: none;
  margin-top: 0;
}

.hero-description {
  color: #c3dfcd;
  max-width: none;
  margin: 0;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 17, 15, 0.72);
  padding: 1rem;
}

.hero-addon {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem;
  align-self: start;
  justify-self: end;
  text-align: right;
  border-color: rgba(125, 224, 176, 0.42);
  background: linear-gradient(150deg, rgba(16, 28, 24, 0.92), rgba(16, 27, 38, 0.82));
}

.hero-addon .kicker {
  margin: 0;
  color: #7de0b0;
}

.hero-addon .callout {
  margin: 0;
}

.hero-addon .countdown {
  margin-top: 0;
  gap: 0.55rem;
  grid-template-columns: repeat(4, auto);
  justify-content: end;
}

.hero-addon .countdown-item {
  min-height: 68px;
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-addon .countdown-item strong {
  line-height: 1;
  font-size: 1.3rem;
  color: #8de6bc;
}

.hero-addon .countdown-item span {
  color: #9fd0b5;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.crt-countdown {
  position: relative;
  margin-top: 0.8rem;
  padding: 0.72rem 0.86rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  background: #020403;
  font-family: "VT323", "IBM Plex Mono", monospace;
  font-size: clamp(13px, 2.8vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
  overflow: hidden;
  isolation: isolate;
  word-break: break-word;
}

.crt-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 3px,
    transparent 4px
  );
  mix-blend-mode: multiply;
  z-index: 1;
}

.crt-countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
  animation: crt-flicker 7s linear infinite;
  z-index: 2;
}

.hero-image figcaption.crt-caption {
  position: relative;
  margin-top: 0.7rem;
  padding: 0.75rem 0.86rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  background: #020403;
  font-family: "VT323", "IBM Plex Mono", monospace;
  font-size: 1.08rem;
  line-height: 1.58;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-shadow:
    0 0 6px color-mix(in srgb, var(--accent) 76%, transparent),
    0 0 14px color-mix(in srgb, var(--accent) 32%, transparent);
  box-shadow:
    inset 0 0 36px color-mix(in srgb, var(--accent) 16%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
  overflow: hidden;
  isolation: isolate;
}

.hero-image figcaption.crt-caption::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 3px,
    transparent 4px
  );
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero-image figcaption.crt-caption::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
  animation: crt-flicker 7s linear infinite;
  z-index: 2;
}

.crt-caption-text {
  position: relative;
  z-index: 3;
}

.hero-image figcaption.crt-caption .crt-cursor {
  position: relative;
  z-index: 3;
}

.crt-line {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--crt-color);
  text-shadow: 0 0 6px var(--crt-glow-tight), 0 0 14px var(--crt-glow-wide);
  overflow-wrap: break-word;
  word-break: break-word;
}

.crt-system {
  --crt-color: var(--text-dim);
  --crt-glow-tight: color-mix(in srgb, var(--text-dim) 60%, transparent);
  --crt-glow-wide: color-mix(in srgb, var(--text-dim) 28%, transparent);
}

.crt-ok {
  --crt-color: var(--accent);
  --crt-glow-tight: color-mix(in srgb, var(--accent) 72%, transparent);
  --crt-glow-wide: color-mix(in srgb, var(--accent) 32%, transparent);
}

.crt-info {
  --crt-color: var(--accent-2);
  --crt-glow-tight: color-mix(in srgb, var(--accent-2) 74%, transparent);
  --crt-glow-wide: color-mix(in srgb, var(--accent-2) 30%, transparent);
}

.crt-prompt {
  --crt-color: var(--accent);
  --crt-glow-tight: color-mix(in srgb, var(--accent) 72%, transparent);
  --crt-glow-wide: color-mix(in srgb, var(--accent) 30%, transparent);
}

.crt-prefix {
  color: var(--accent-2);
  text-shadow: 0 0 6px color-mix(in srgb, var(--accent-2) 72%, transparent), 0 0 14px color-mix(in srgb, var(--accent-2) 28%, transparent);
  margin-right: 0.25rem;
}

.crt-cursor {
  display: inline-block;
  width: 0.62ch;
  height: 1em;
  margin-left: 0.22rem;
  vertical-align: -0.08em;
  background-color: var(--accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 82%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);
  animation: blink 1.1s steps(2) infinite;
}

/* Keep countdown in true CRT mode regardless of global body typography */
.countdown.crt-countdown {
  font-family: "VT323", "IBM Plex Mono", monospace;
  font-size: clamp(13px, 2.8vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  background: #020403;
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
}

.countdown.crt-countdown .crt-line {
  font-family: "VT323", "IBM Plex Mono", monospace;
  font-size: clamp(0.85rem, 2.5vw, 1.06rem);
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.countdown.crt-countdown .crt-ok,
.countdown.crt-countdown .crt-prompt {
  color: var(--accent);
  text-shadow:
    0 0 6px color-mix(in srgb, var(--accent) 72%, transparent),
    0 0 14px color-mix(in srgb, var(--accent) 32%, transparent);
}

.countdown.crt-countdown .crt-info {
  color: var(--accent-2);
  text-shadow:
    0 0 6px color-mix(in srgb, var(--accent-2) 74%, transparent),
    0 0 14px color-mix(in srgb, var(--accent-2) 30%, transparent);
}

.countdown.crt-countdown .crt-system {
  color: var(--text-dim);
  text-shadow:
    0 0 5px color-mix(in srgb, var(--text-dim) 58%, transparent),
    0 0 12px color-mix(in srgb, var(--text-dim) 24%, transparent);
}

.countdown.crt-countdown .crt-cursor {
  background-color: var(--accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 82%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes red-pulse {
  0%, 100% {
    opacity: 0.4;
    box-shadow: 0 0 4px rgba(255, 60, 60, 0.3);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 60, 60, 0.8), 0 0 24px rgba(255, 60, 60, 0.4);
  }
}

@keyframes red-border-pulse {
  0%, 100% {
    border-color: color-mix(in srgb, var(--accent) 15%, transparent);
    box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
  }
  50% {
    border-color: rgba(255, 60, 60, 0.3);
    box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 12px rgba(255, 60, 60, 0.15);
  }
}

.crt-countdown {
  animation: red-border-pulse 3s ease-in-out infinite;
}

.crt-red-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3c3c;
  margin-right: 0.5em;
  vertical-align: middle;
  animation: red-pulse 2s ease-in-out infinite;
}

@keyframes crt-flicker {
  0%,
  96% {
    opacity: 1;
  }
  97% {
    opacity: 0.88;
  }
  98% {
    opacity: 0.24;
  }
  99% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

.countdown-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.4rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

.countdown-item strong {
  display: block;
  font-size: 1.22rem;
}

.countdown-item span {
  font-size: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* Section vertical rhythm */

.section {
  margin-top: 2.1rem;
  margin-bottom: 0;
}

/* Panel spacing and visual consistency */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 21, 0.76);
  padding: 2.2rem 1.5rem 2.2rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.3rem;
}

/* Heading hierarchy and spacing */
h1, .section-title {
  font-family: "VT323", "IBM Plex Mono", monospace;
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 1.1;
  color: #b4f3d2;
  text-shadow:
    0 0 8px color-mix(in srgb, #b4f3d2 76%, transparent),
    0 0 18px color-mix(in srgb, #b4f3d2 34%, transparent);
}

h2 {
  font-family: "VT323", "IBM Plex Mono", monospace;
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--crt-info);
  text-shadow:
    0 0 7px color-mix(in srgb, var(--crt-info) 68%, transparent),
    0 0 15px color-mix(in srgb, var(--crt-info) 26%, transparent);
  background: none;
}

h3 {
  font-family: "VT323", "IBM Plex Mono", monospace;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
  color: var(--crt-main);
  text-shadow:
    0 0 6px color-mix(in srgb, var(--crt-main) 62%, transparent),
    0 0 12px color-mix(in srgb, var(--crt-main) 24%, transparent);
  background: none;
}

p,
li,
td,
th,
.detail-line,
.detail-note,
.up-next-item,
.kicker,
.footer,
.footer-links {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #c7ddd0;
  font-size: clamp(0.98rem, 1.22vw, 1.06rem);
  text-shadow:
    0 0 3px color-mix(in srgb, var(--crt-main) 24%, transparent),
    0 0 8px color-mix(in srgb, var(--crt-main) 10%, transparent);
}

/* Unified CTA button style */

.btn, .gi-btn {
  display: inline-block;
  background: transparent;
  color: #7de0b0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 2px dashed #7de0b0;
  border-radius: 8px;
  padding: 0.42rem 1.05rem;
  font-size: 0.97rem;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  text-decoration: none;
  margin-top: 1.1rem;
}

.btn:hover, .gi-btn:hover {
  background: rgba(125, 224, 176, 0.1);
  color: #5dd2ff;
  border-color: #5dd2ff;
  text-decoration: none;
}

/* Inline link style for all external/CTA links */
.inline-link, a.inline-link {
  color: #7de0b0;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 0.5rem;
  white-space: nowrap;
  transition: color 0.18s;
}

.inline-link:hover, a.inline-link:hover {
  color: #5dd2ff;
  text-decoration: underline wavy;
}

/* List and grid spacing improvements */
.list-clean {
  margin: 0 0 1.2rem 1rem;
  padding-left: 1rem;
  color: var(--text-dim);
}

.list-clean li + li {
  margin-top: 0.55rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two {
  grid-template-columns: 1fr;
}
.grid.three {
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 21, 0.76);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.mission-panel {
  border-color: rgba(125, 224, 176, 0.42);
  background:
    radial-gradient(circle at 8% 10%, rgba(125, 224, 176, 0.16), transparent 42%),
    linear-gradient(150deg, rgba(19, 35, 28, 0.94), rgba(16, 28, 25, 0.88));
}

.mission-panel .kicker {
  color: #89e7bb;
}

.mission-panel .mission-title {
  color: var(--accent);
  text-shadow:
    0 0 7px color-mix(in srgb, var(--accent) 68%, transparent),
    0 0 15px color-mix(in srgb, var(--accent) 26%, transparent);
}

.mission-panel p {
  color: #d3e9dc;
}

.mission-panel a {
  color: #89e7bb;
}

.location-panel {
  border-color: rgba(102, 218, 182, 0.4);
  background:
    radial-gradient(circle at 88% 12%, rgba(84, 211, 171, 0.2), transparent 44%),
    linear-gradient(150deg, rgba(16, 33, 30, 0.95), rgba(13, 29, 28, 0.88));
}

.location-panel .kicker {
  color: #82e1be;
}

.location-panel h2 a {
  color: #c2f3df;
}

.location-panel .detail-label {
  color: #93e2c4;
}

.location-panel .detail-line,
.location-panel .detail-note {
  color: #cfe8de;
}

.detail-subline {
  margin-left: 1.25rem;
}

.timing-bullets {
  margin: 0.15rem 0 0.55rem 1.6rem;
  padding-left: 0.2rem;
  color: var(--text-dim);
}

.timing-bullets li + li {
  margin-top: 0.35rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: 1fr;
}

.grid.three {
  grid-template-columns: 1fr;
}

.kicker {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-family: "VT323", "IBM Plex Mono", monospace;
}

h2,
h3 {
  line-height: 1.2;
}

.section-title {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: clamp(1.9rem, 6.8vw, 3.2rem);
  line-height: 1.1;
  background: linear-gradient(92deg, #ebf2ed 0%, #9ce8c3 42%, #77d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  margin-bottom: 0.4rem;
}

.list-clean {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-dim);
}

.list-clean li + li {
  margin-top: 0.45rem;
}

.principles-list {
  list-style: none;
  padding-left: 0;
}

.principles-list li {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(125, 224, 176, 0.16);
  border-radius: 10px;
  background: rgba(10, 16, 14, 0.45);
}

.principles-list li + li {
  margin-top: 0.55rem;
}

.principle-glyph {
  display: inline-block;
  width: 1.35rem;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  vertical-align: top;
}

.line-title {
  display: inline;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d6f4e5;
  border: none;
  background: none;
  padding: 0;
  margin-bottom: 0.34rem;
}

.line-description {
  display: block;
  color: var(--text-dim);
  margin-left: 1.35rem;
}

.roles-snapshot .list-clean {
  padding-left: 0;
  list-style: none;
}

.roles-snapshot .list-clean li {
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(125, 224, 176, 0.16);
  border-radius: 10px;
  background: rgba(10, 16, 14, 0.42);
}

.roles-snapshot .list-clean li + li {
  margin-top: 0.55rem;
}

.roles-snapshot .line-title {
  margin-bottom: 0.28rem;
}

.roles-snapshot .line-description {
  margin-left: 0;
}

.tag-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: var(--text-dim);
}

.callout {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 0.8rem;
  color: var(--text-dim);
}

.detail-line,
.detail-note {
  color: var(--text-dim);
  margin: 0 0 0.55rem;
}

.detail-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  font-weight: 700;
}

.detail-note {
  border-left: 3px solid var(--line);
  padding-left: 0.65rem;
  margin-top: 0.85rem;
}

.theme-image {
  margin: 0.6rem 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.theme-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.party-themes-grid {
  display: grid;
  gap: 1rem;
}

.theme-card {
  display: grid;
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
}

.theme-card .theme-copy h3 {
  margin-top: 0;
}

.theme-card .theme-copy p {
  margin-bottom: 0;
}

.theme-card .theme-image {
  margin: 0;
}

.packing-grid {
  gap: 1.2rem;
}

.packing-col h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.packing-col p {
  color: var(--text-dim);
}

.packing-col .list-clean {
  margin-bottom: 1rem;
}

.up-next-list {
  display: grid;
  gap: 0.6rem;
}

.up-next-item {
  margin: 0;
  color: var(--text-dim);
}

.up-next-title {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93e2c4;
  font-weight: 700;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 0.62rem 0.45rem;
  color: var(--text-dim);
}

th {
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.coming-soon {
  border: 1px dashed rgba(125, 224, 176, 0.5);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(20, 44, 34, 0.35);
}

.footer {
  margin-top: 2.8rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-image {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
}

.hero-image-full img {
  width: 100%;
  height: min(56vh, 540px);
  min-height: 300px;
  object-fit: cover;
}

.hero-image figcaption {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .topbar-inner {
    align-items: center;
  }

  .main-nav {
    margin-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .hero-top-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.35rem;
  }

  .hero-copy {
    padding-right: 0.4rem;
  }

  .hero-description {
    margin-top: 0.15rem;
  }

  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}
