:root {
  color-scheme: dark;
  color: #f8f1de;
  background: #050403;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Syncopate", "Space Grotesk", sans-serif;
  --accent: #d7a94b;
  --accent-strong: #f0cf7a;
  --alert: #d95a43;
  --vital: #49a56d;
  --accent-soft: rgba(215, 169, 75, 0.16);
  --accent-ember: rgba(255, 187, 76, 0.28);
  --regalia: #f0cf7a;
  --ink: #050403;
  --panel: rgba(18, 11, 6, 0.72);
  --panel-strong: rgba(10, 7, 4, 0.9);
  --line: rgba(240, 207, 122, 0.16);
}

@keyframes reactor-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes reactor-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes reactor-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes hud-sweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes nebula-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5%, -1.5%, 0) scale(1.03);
  }
}

@keyframes grain-pulse {
  0%,
  100% {
    opacity: 0.04;
  }
  50% {
    opacity: 0.075;
  }
}

@keyframes sigil-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f6e7c0;
  font-family: var(--font-body);
  background-color: #050403;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(236, 187, 91, 0.16), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(217, 90, 67, 0.18), transparent 22%),
    radial-gradient(circle at 14% 86%, rgba(73, 165, 109, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(173, 110, 35, 0.22), transparent 34%),
    radial-gradient(circle at 46% 24%, rgba(239, 217, 164, 0.08), transparent 18%),
    linear-gradient(180deg, #090604 0%, #050403 42%, #080503 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 280 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23e5b75e' stroke-opacity='.16' stroke-width='1.15'%3E%3Cpath d='M12 62h54l20 18h34l18 24h38l30 30h62'/%3E%3Cpath d='M24 228h62l20-16h30l28-30h34l22-24h42'/%3E%3Cpath d='M140 18v44l18 18v28l22 24v24l20 22'/%3E%3Cpath d='M72 58c16 10 26 18 32 34 4 12 12 22 24 30'/%3E%3Cpath d='M190 150c10 8 18 18 22 34'/%3E%3Ccircle cx='12' cy='62' r='4' fill='%23e5b75e' fill-opacity='.34'/%3E%3Ccircle cx='268' cy='134' r='4' fill='%23e5b75e' fill-opacity='.24'/%3E%3Ccircle cx='24' cy='228' r='5' fill='%2349a56d' fill-opacity='.18'/%3E%3Ccircle cx='220' cy='86' r='5' fill='%23d95a43' fill-opacity='.16'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.22;
  animation: nebula-drift 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain-pulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 30px 140px;
}

.page-shell::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -80px;
  width: 340px;
  height: 340px;
  background:
    radial-gradient(circle, rgba(244, 223, 178, 0.18) 0%, rgba(244, 223, 178, 0.06) 34%, transparent 66%),
    url("assets/latimerWoodslogovideo.png") center / contain no-repeat;
  opacity: 0.16;
  filter: saturate(1.08) blur(0.4px);
  animation: sigil-float 14s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  margin-bottom: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -36px -24px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 210, 122, 0.08), rgba(12, 8, 4, 0) 30%),
    linear-gradient(180deg, rgba(12, 8, 4, 0.8), rgba(12, 8, 4, 0.25));
  box-shadow: inset 0 0 0 1px rgba(255, 216, 132, 0.04), 0 42px 100px rgba(0, 0, 0, 0.38);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(240, 207, 122, 0.08) 0 32%, transparent 32% 66%, rgba(73, 165, 109, 0.07) 66% 100%),
    linear-gradient(180deg, transparent 0 78%, rgba(217, 90, 67, 0.08) 78% 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-copy {
  max-width: 720px;
  padding: 28px 0;
}

.hero-mark {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 238, 194, 0.3), rgba(255, 238, 194, 0.06) 38%, transparent 62%),
    url("assets/latimerWoodslogovideo.png") center / 86% auto no-repeat;
  border: 1px solid rgba(240, 207, 122, 0.22);
  box-shadow: 0 0 0 1px rgba(240, 207, 122, 0.06) inset, 0 22px 52px rgba(0, 0, 0, 0.36);
}

.eyebrow,
.section-eyebrow,
.card-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 700;
  }

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff7e3;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 6.2vw, 6.4rem);
  line-height: 0.88;
  max-width: 10ch;
  text-transform: none;
}

h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.3rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.65rem;
  line-height: 1.02;
}

.subtitle {
  color: #d8c9a3;
  max-width: 680px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.06);
}

.button-primary {
  background: linear-gradient(180deg, #f3d48d 0%, #c89233 100%);
  color: #170d05;
  border: 1px solid rgba(255, 222, 146, 0.5);
  box-shadow: 0 14px 38px rgba(176, 111, 26, 0.35);
}

.button-secondary {
  background:
    linear-gradient(90deg, rgba(217, 90, 67, 0.08) 0 16%, rgba(22, 14, 6, 0.82) 16% 84%, rgba(73, 165, 109, 0.08) 84% 100%);
  color: #f4dfb3;
  border: 1px solid rgba(240, 207, 122, 0.18);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .hero-visual {
    justify-content: center;
  }
}

.visual-card {
  width: 100%;
  max-width: 430px;
  padding: 0;
  border-radius: 30px;
  border: 1px solid rgba(240, 207, 122, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 219, 146, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(18, 10, 6, 0.98), rgba(7, 4, 2, 1));
  overflow: hidden;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(240, 207, 122, 0.05) inset;
  position: relative;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 20px auto;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 234, 188, 0.2), transparent 68%);
  filter: blur(4px);
}

.visual-sigil {
  position: absolute;
  left: 22px;
  bottom: 72px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 38%, rgba(255, 241, 212, 0.3), rgba(255, 241, 212, 0.02) 42%, transparent 62%),
    url("assets/latimerWoodslogovideo.png") center / 84% auto no-repeat;
  border: 1px solid rgba(240, 207, 122, 0.16);
  opacity: 0.72;
  box-shadow: 0 0 0 1px rgba(240, 207, 122, 0.04) inset;
}

.reactor-core {
  position: absolute;
  inset: 24px 24px auto auto;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}

.reactor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 207, 122, 0.22);
  box-shadow: 0 0 0 1px rgba(240, 207, 122, 0.04) inset;
}

.reactor-ring-outer {
  width: 112px;
  height: 112px;
  border-top-color: rgba(217, 90, 67, 0.42);
  border-right-color: rgba(73, 165, 109, 0.34);
  animation: reactor-spin 14s linear infinite;
}

.reactor-ring-mid {
  width: 82px;
  height: 82px;
  border-left-color: rgba(240, 207, 122, 0.44);
  border-bottom-color: rgba(217, 90, 67, 0.28);
  animation: reactor-spin-reverse 10s linear infinite;
}

.reactor-ring-inner {
  width: 48px;
  height: 48px;
  border-color: rgba(240, 207, 122, 0.5);
  animation: reactor-pulse 2.8s ease-in-out infinite;
}

.reactor-center {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe8ac 0%, #d7a94b 60%, rgba(215, 169, 75, 0) 100%);
  box-shadow: 0 0 22px rgba(240, 207, 122, 0.46), 0 0 44px rgba(217, 90, 67, 0.18);
}

.visual-hud {
  position: absolute;
  left: 22px;
  top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: min(220px, calc(100% - 160px));
  z-index: 2;
  pointer-events: none;
}

.visual-hud span {
  display: inline-flex;
  width: 42px;
  height: 14px;
  border-radius: 999px;
  background: rgba(10, 7, 4, 0.62);
  border: 1px solid rgba(240, 207, 122, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 171, 0.04);
}

.hud-node-gold {
  background: linear-gradient(90deg, rgba(240, 207, 122, 0.88), rgba(240, 207, 122, 0.18));
}

.hud-node-red {
  background: linear-gradient(90deg, rgba(217, 90, 67, 0.82), rgba(217, 90, 67, 0.16));
}

.hud-node-green {
  background: linear-gradient(90deg, rgba(73, 165, 109, 0.86), rgba(73, 165, 109, 0.16));
}

.hero-readout {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 430px;
}

.readout-card {
  position: relative;
  padding: 18px 20px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 10, 5, 0.92), rgba(7, 4, 2, 0.96));
  border: 1px solid rgba(240, 207, 122, 0.08);
  overflow: hidden;
}

.readout-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(240, 207, 122, 0.5);
}

.readout-card-gold::before {
  background: rgba(240, 207, 122, 0.68);
}

.readout-card-red::before {
  background: rgba(217, 90, 67, 0.78);
}

.readout-card-green::before {
  background: rgba(73, 165, 109, 0.82);
}

.readout-label {
  display: block;
  margin-bottom: 8px;
  color: #c4a15b;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.readout-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff0cf;
  font-size: 1rem;
}

.readout-card p {
  margin: 0;
  color: #cdbb93;
  font-size: 0.92rem;
  line-height: 1.55;
}

.logo-video {
  width: 100%;
  display: block;
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.08) brightness(0.92);
}

.visual-card strong {
  display: block;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 206, 120, 0.06), rgba(7, 4, 2, 0.88));
  border-top: 1px solid rgba(240, 207, 122, 0.1);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f7e9c5;
  text-align: center;
}

.section {
  margin-top: 160px;
}

.section-pulse {
  margin-top: 70px;
}

.section-manifesto {
  margin-top: 110px;
}

.mission-lead {
  max-width: 860px;
  margin: 0 0 34px;
  color: #ddcfac;
  font-size: 1.14rem;
  line-height: 1.75;
}

.manifesto-shell {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background:
    linear-gradient(120deg, rgba(20, 12, 6, 0.96), rgba(8, 5, 3, 0.98) 54%, rgba(18, 10, 6, 0.96)),
    linear-gradient(90deg, rgba(240, 207, 122, 0.06), transparent 38%, rgba(73, 165, 109, 0.05));
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

.manifesto-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 207, 122, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(73, 165, 109, 0.1), transparent 20%),
    radial-gradient(circle at 72% 18%, rgba(217, 90, 67, 0.12), transparent 18%);
  pointer-events: none;
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-bottom: 30px;
}

.manifesto-copy p:last-child {
  color: #d8c8a7;
  font-size: 1.08rem;
  line-height: 1.7;
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.manifesto-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(240, 207, 122, 0.1);
  background: linear-gradient(180deg, rgba(25, 16, 8, 0.88), rgba(8, 5, 3, 0.94));
}

.manifesto-card:nth-child(2) {
  transform: translateY(28px);
}

.manifesto-card:nth-child(3) {
  transform: translateY(-18px);
}

.manifesto-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(240, 207, 122, 0.16);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #f2d698;
}

.manifesto-card h3 {
  max-width: 10ch;
}

.manifesto-card p {
  margin: 0;
  color: #d0c09a;
}

.manifesto-card-red {
  border-color: rgba(217, 90, 67, 0.16);
}

.manifesto-card-green {
  border-color: rgba(73, 165, 109, 0.16);
}

.section-heading {
  position: relative;
  margin-bottom: 60px;
  padding-left: 96px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 38%, rgba(255, 239, 204, 0.26), rgba(255, 239, 204, 0.04) 40%, transparent 62%),
    url("assets/latimerWoodslogovideo.png") center / 84% auto no-repeat;
  border: 1px solid rgba(240, 207, 122, 0.18);
  opacity: 0.74;
  box-shadow: 0 0 0 1px rgba(240, 207, 122, 0.05) inset;
}

.pulse-heading {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
}

.pulse-intro {
  margin: 0;
  color: #d9c8a1;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pulse-shell {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 212, 130, 0.12), transparent 30%),
    linear-gradient(140deg, rgba(18, 10, 6, 0.92), rgba(9, 6, 3, 0.96) 62%, rgba(26, 15, 7, 0.92));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.pulse-shell::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px solid rgba(240, 207, 122, 0.07);
  pointer-events: none;
}

.pulse-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 232, 171, 0.08), transparent 25%, transparent 75%, rgba(255, 210, 133, 0.04)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23f0cf7a' stroke-opacity='.1' stroke-width='1'%3E%3Cpath d='M0 90h44l16-16h36l20-20h44l18-18h62'/%3E%3Cpath d='M8 126h66l14-14h42l18-18h30l14-14h48'/%3E%3Ccircle cx='44' cy='90' r='4' fill='%23f0cf7a' fill-opacity='.18'/%3E%3Ccircle cx='116' cy='54' r='4' fill='%23f0cf7a' fill-opacity='.18'/%3E%3Ccircle cx='192' cy='36' r='4' fill='%23f0cf7a' fill-opacity='.18'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pulse-shell [data-pulse-stats],
.pulse-shell [data-pulse-health],
.pulse-shell [data-pulse-surfaces],
.pulse-shell [data-pulse-vectors] {
  position: relative;
}

.pulse-shell [data-pulse-stats]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 184, 0.06), transparent);
  transform: translateX(-120%);
  animation: hud-sweep 8s linear infinite;
  pointer-events: none;
}

.pulse-status-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  color: #e5d6b0;
  z-index: 1;
}

.pulse-status,
.pulse-updated {
  margin: 0;
  font-size: 0.95rem;
}

.pulse-updated {
  color: #ab9873;
  text-align: right;
}

.pulse-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 28px;
}

.pulse-kpi {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background: linear-gradient(180deg, rgba(31, 18, 8, 0.82), rgba(10, 7, 4, 0.92));
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 232, 171, 0.05);
}

.pulse-kpi:nth-child(1) {
  border-top: 2px solid rgba(240, 207, 122, 0.42);
}

.pulse-kpi:nth-child(2) {
  border-top: 2px solid rgba(73, 165, 109, 0.4);
}

.pulse-kpi:nth-child(3) {
  border-top: 2px solid rgba(217, 90, 67, 0.38);
}

.pulse-kpi:nth-child(4) {
  border-top: 2px solid rgba(240, 207, 122, 0.24);
}

.pulse-kpi-label,
.surface-category {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #c8a55a;
}

.pulse-kpi-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff2d2;
}

.pulse-kpi-context,
.pulse-footnote,
.surface-card span {
  color: #cfbe98;
  font-size: 0.95rem;
}

.pulse-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 20px;
}

.pulse-panel {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 122, 0.08);
  background: linear-gradient(180deg, rgba(21, 12, 5, 0.9), rgba(8, 5, 3, 0.92));
}

.pulse-panel:nth-child(2) {
  transform: translateY(14px);
}

.pulse-panel-wide {
  position: relative;
  z-index: 1;
}

.pulse-panel-header h3 {
  margin-bottom: 12px;
}

.pulse-list {
  margin: 0;
  padding-left: 20px;
  color: #eadbbe;
}

.pulse-list li + li {
  margin-top: 12px;
}

.pulse-health {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.pulse-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 207, 122, 0.14);
  background: rgba(255, 213, 135, 0.08);
  color: #f5e7c4;
  font-size: 0.85rem;
}

.pulse-chip[data-tone="warning"] {
  border-color: rgba(255, 180, 84, 0.26);
  color: #ffd58f;
}

.pulse-chip[data-tone="good"] {
  border-color: rgba(240, 207, 122, 0.18);
}

.pulse-chip[data-tone="neutral"] {
  border-color: rgba(73, 165, 109, 0.26);
  color: #a6dfba;
}

.pulse-surfaces {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pulse-vectors {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.surface-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background: linear-gradient(180deg, rgba(31, 18, 8, 0.78), rgba(8, 5, 3, 0.92));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.surface-card strong {
  font-size: 1.1rem;
  color: #fff3d3;
}

.surface-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.surface-card a:hover,
.surface-card a:focus-visible {
  text-decoration: underline;
}

.vector-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 223, 162, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(31, 18, 8, 0.84), rgba(8, 5, 3, 0.94));
  display: grid;
  gap: 8px;
}

.vector-card[data-tone="good"] {
  border-color: rgba(240, 207, 122, 0.24);
}

.vector-card[data-tone="neutral"] {
  border-color: rgba(73, 165, 109, 0.22);
}

.vector-card[data-tone="warning"] {
  border-color: rgba(217, 90, 67, 0.26);
}

.vector-name,
.vector-state {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.vector-name {
  color: #f6e6bf;
  font-size: 0.74rem;
}

.vector-value {
  font-size: 2.1rem;
  line-height: 0.95;
  color: #fff2d0;
}

.vector-state {
  color: #c8a55a;
  font-size: 0.62rem;
}

.vector-context {
  margin: 0;
  color: #cfbe98;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mission-grid,
.grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.section-projects .grid {
  grid-auto-flow: dense;
}

.section-projects .card:nth-child(1),
.section-projects .card:nth-child(6) {
  grid-column: span 2;
}

.roadmap-grid {
  align-items: stretch;
}

.roadmap-card-now {
  border-color: rgba(240, 207, 122, 0.2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background: linear-gradient(180deg, rgba(24, 14, 7, 0.9), rgba(8, 5, 3, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 232, 171, 0.04);
}

.contact-card-primary {
  min-height: 100%;
}

.contact-card p {
  color: #d4c39e;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8a55a;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(240, 207, 122, 0.14);
  background: rgba(255, 223, 162, 0.03);
  color: #f4e7c4;
  padding: 14px 16px;
  font: inherit;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(240, 207, 122, 0.34);
  outline-offset: 2px;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.contact-status {
  margin: 0;
  color: #cfbe98;
  font-size: 0.95rem;
}

.contact-status[data-tone="good"] {
  color: #9fdfb6;
}

.contact-status[data-tone="warning"] {
  color: #f2afa2;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mission-card {
  padding: 40px;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 122, 0.12);
  background: linear-gradient(180deg, rgba(25, 15, 7, 0.88), rgba(10, 6, 3, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 232, 171, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 207, 122, 0.28);
  background: linear-gradient(180deg, rgba(33, 19, 9, 0.92), rgba(10, 6, 3, 0.96));
}

.mission-card p {
  color: #ceb98f;
  margin: 0;
}

.card {
  padding: 32px;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 122, 0.1);
  background: linear-gradient(180deg, rgba(21, 13, 6, 0.92), rgba(8, 5, 3, 0.96));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 232, 171, 0.04);
}

.card:hover {
  border-color: rgba(240, 207, 122, 0.24);
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(29, 17, 8, 0.94), rgba(10, 6, 3, 0.98));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.card p {
  color: #d4c39e;
  margin: 0;
  font-size: 1.05rem;
}

.card-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.card-points li {
  position: relative;
  padding: 10px 12px 10px 28px;
  border-radius: 12px;
  border: 1px solid rgba(240, 207, 122, 0.08);
  background: rgba(255, 221, 155, 0.04);
  color: #e5d5b2;
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(240, 207, 122, 0.72);
  box-shadow: 0 0 12px rgba(240, 207, 122, 0.32);
}

.card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.card-future {
  opacity: 0.82;
  border-style: solid;
}

.status-pill {
  display: inline-flex;
  margin-top: 20px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-warning {
  background: rgba(212, 175, 55, 0.14);
  color: var(--regalia);
}

.status-muted {
  background: rgba(255, 213, 135, 0.08);
  color: #bb9a58;
}

.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card {
  padding: 0;
}

.about-card p {
  color: #d1bf97;
}

.section-footnote {
  margin-top: 140px;
  padding-top: 60px;
  border-top: 1px solid rgba(240, 207, 122, 0.12);
  text-align: center;
}

.section-footnote p {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.5;
  margin: 0 auto;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #110903;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Link interactions */
.card a {
  transition: all 0.2s ease;
}

.card a:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* Focus states for accessibility */
.button:focus-visible,
.card a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .pulse-heading {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-readout {
    max-width: 100%;
  }

  .visual-sigil {
    width: 92px;
    height: 92px;
    left: 16px;
    bottom: 64px;
  }

  .section-heading {
    padding-left: 0;
    padding-top: 88px;
  }

  .section-heading::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .pulse-status-row {
    flex-direction: column;
  }

  .pulse-updated {
    text-align: left;
  }

  .section-projects .card:nth-child(1),
  .section-projects .card:nth-child(6) {
    grid-column: span 1;
  }

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

  .card {
    padding: 24px;
  }

  .page-shell::before {
    width: 240px;
    height: 240px;
    top: 30px;
    right: -70px;
  }
}

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

/* Tertiary nav button (Stack link). Quieter than secondary so it doesn't
   crowd the primary mission/pulse CTAs but still meets contrast for legibility. */
.button-ghost {
  background: transparent;
  color: #d8c9a3;
  border: 1px solid rgba(240, 207, 122, 0.22);
  box-shadow: none;
}
.button-ghost:hover {
  color: #fff7e3;
  border-color: rgba(240, 207, 122, 0.45);
}

/* Domain label inside the hero visual-card. Sits below the reactor/sigil
   stack as a quiet attribution of the live URL — not a CTA. */
.visual-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(240, 207, 122, 0.78);
  z-index: 3;
}

/* /stack page — annotated architecture diagram + decisions list.
   Reuses page-shell, hero typography, and the card system so the page
   feels native to the brand without a second stylesheet. */
.stack-hero {
  padding-top: 12px;
  margin-bottom: 64px;
}
.stack-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  max-width: 18ch;
}
.stack-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 28px;
}
.stack-back:hover {
  color: var(--accent-strong);
}
.stack-diagram {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 11, 6, 0.84), rgba(7, 4, 2, 0.92));
  padding: 36px;
  margin: 48px 0;
  overflow-x: auto;
}
.stack-diagram svg {
  width: 100%;
  height: auto;
  max-width: 920px;
  display: block;
  margin: 0 auto;
}
.stack-decisions {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 32px 0;
}
.stack-decision {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 28px;
}
.stack-decision h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.stack-decision-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.stack-decision p {
  color: #d8c9a3;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}
.stack-decision code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.84em;
  background: rgba(240, 207, 122, 0.08);
  color: var(--accent-strong);
  padding: 1px 6px;
  border-radius: 4px;
}
.stack-bans {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid rgba(217, 90, 67, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(217, 90, 67, 0.06), rgba(7, 4, 2, 0.4));
}
.stack-bans h2 {
  font-size: 1.8rem;
}
.stack-bans ul {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #d8c9a3;
  font-size: 0.96rem;
  line-height: 1.7;
}
.stack-bans li {
  margin-bottom: 6px;
}
.stack-bans li code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.84em;
  color: var(--accent-strong);
}

/* /status page — JSON-driven readout of build-time HTTP probes against every
   PUBLIC_SURFACES entry. Card tone follows the same semantic palette as the
   rest of the site: vital (green) for alive, alert (red) for any failure. */
.status-overall {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.status-overall strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff7e3;
}
.status-overall-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vital);
  box-shadow: 0 0 0 4px rgba(73, 165, 109, 0.18);
  flex-shrink: 0;
}
.status-overall-dot[data-tone="warning"] {
  background: var(--alert);
  box-shadow: 0 0 0 4px rgba(217, 90, 67, 0.18);
}
.status-overall-meta {
  color: #8a7f69;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: auto;
}
.status-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.status-card {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.status-card[data-tone="good"] {
  border-color: rgba(73, 165, 109, 0.38);
}
.status-card[data-tone="warning"] {
  border-color: rgba(217, 90, 67, 0.45);
  background: linear-gradient(180deg, rgba(217, 90, 67, 0.05), var(--panel));
}
.status-card strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff7e3;
}
.status-card-detail {
  color: #d8c9a3;
  font-size: 0.9rem;
}
.status-card a {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 6px;
}
.status-card a:hover {
  color: var(--accent-strong);
}
.status-card-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(73, 165, 109, 0.18);
  color: var(--vital);
}
.status-card-pill[data-tone="warning"] {
  background: rgba(217, 90, 67, 0.16);
  color: var(--alert);
}
.status-card-placeholder {
  opacity: 0.6;
}
