:root {
  color-scheme: dark;
  --black: #050607;
  --ink: #0a0c0d;
  --iron: #141819;
  --steel: #697174;
  --mist: #e8ebe6;
  --muted: #a4aaa5;
  --blood: #a41625;
  --ember: #df2d3d;
  --verdigris: #5fc0a6;
  --line: rgba(232, 235, 230, 0.14);
  --glass: rgba(8, 10, 10, 0.62);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--mist);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(rgba(232, 235, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 235, 230, 0.018) 1px, transparent 1px),
    #050607;
  background-size: 72px 72px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 50%, rgba(0, 0, 0, 0.08) 50%),
    radial-gradient(circle at 50% 12%, transparent 0 28%, rgba(0, 0, 0, 0.58) 72%),
    radial-gradient(circle at 74% 43%, rgba(164, 22, 37, 0.16), transparent 30%);
  background-size: 100% 5px, 100% 100%, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.42;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.cursor-haze {
  position: fixed;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  z-index: -1;
  width: 440px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(164, 22, 37, 0.18), transparent 68%);
  opacity: 0.75;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--mist);
  background: linear-gradient(rgba(5, 6, 7, 0.82), rgba(5, 6, 7, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: lowercase;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(232, 235, 230, 0.32);
  background: rgba(5, 6, 7, 0.72);
  color: var(--mist);
  font-family: Georgia, serif;
  font-size: 1.18rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  color: rgba(232, 235, 230, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--mist);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  padding: 132px clamp(20px, 5vw, 64px) 78px;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.18) brightness(0.52);
  transform: scale(1.012);
}

.hero-shade {
  z-index: -3;
  background:
    radial-gradient(circle at 74% 45%, rgba(164, 22, 37, 0.26), transparent 24%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.97) 0%, rgba(5, 6, 7, 0.7) 48%, rgba(5, 6, 7, 0.42) 100%),
    linear-gradient(0deg, #050607 0%, rgba(5, 6, 7, 0.3) 28%, rgba(5, 6, 7, 0.62) 100%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(232, 235, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 235, 230, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 68%, transparent);
}

.hero-content {
  align-self: end;
  width: min(680px, 100%);
  padding-bottom: clamp(18px, 4vw, 42px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--verdigris);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #f4f5ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 17vw, 13.6rem);
  font-weight: 500;
  line-height: 0.78;
  text-transform: lowercase;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(232, 235, 230, 0.94);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.4vw, 5.4rem);
  line-height: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(223, 45, 61, 0.68);
  background: linear-gradient(135deg, rgba(164, 22, 37, 0.96), rgba(35, 9, 12, 0.96));
  box-shadow: 0 22px 70px rgba(164, 22, 37, 0.18);
}

.button-quiet {
  background: rgba(5, 6, 7, 0.58);
  color: rgba(232, 235, 230, 0.84);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 62px;
  width: min(350px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(232, 235, 230, 0.17);
  background:
    linear-gradient(145deg, rgba(164, 22, 37, 0.08), transparent 44%),
    var(--glass);
  backdrop-filter: blur(18px);
}

.panel-kicker {
  margin-bottom: 18px;
  color: rgba(232, 235, 230, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 235, 230, 0.1);
}

dt {
  color: rgba(232, 235, 230, 0.58);
  font-size: 0.78rem;
}

dd {
  margin: 0;
  color: var(--mist);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(164, 22, 37, 0.1), transparent 28%, rgba(95, 192, 166, 0.045)),
    #050606;
}

.signal-strip div {
  min-height: 160px;
  padding: clamp(22px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--mist);
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.signal-strip span {
  display: block;
  max-width: 330px;
  color: rgba(232, 235, 230, 0.38);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.6;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 11vw, 138px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 0;
  color: #f1f2ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 0.96;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.system-card {
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(164, 22, 37, 0.07), rgba(232, 235, 230, 0)),
    #050707;
}

.system-index {
  display: block;
  margin-bottom: 72px;
  color: var(--ember);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
}

.system-card h3 {
  margin-bottom: 14px;
  color: var(--mist);
  font-size: 1.15rem;
}

.system-card p,
.protocol-copy p,
.protocol-list p {
  color: rgba(232, 235, 230, 0.54);
  line-height: 1.65;
}

.protocol {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.protocol-copy p {
  max-width: 650px;
  margin-top: 26px;
  font-size: 1.05rem;
}

.protocol-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.protocol-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--mist);
  font-size: 1.14rem;
  font-weight: 800;
}

.protocol-list p {
  margin-bottom: 0;
}

.final-call {
  display: grid;
  min-height: 62svh;
  place-items: center;
  padding: clamp(72px, 10vw, 128px) 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(164, 22, 37, 0.34), transparent 30%),
    linear-gradient(180deg, #050607, #0b0d0d 48%, #050607);
}

.final-call h2 {
  max-width: 920px;
  margin-bottom: 30px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: rgba(232, 235, 230, 0.52);
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .hero-content {
    align-self: center;
    padding-bottom: 0;
  }

  .signal-strip,
  .section-heading,
  .system-grid,
  .protocol {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .system-card {
    min-height: 250px;
  }

  .system-index {
    margin-bottom: 44px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 84svh;
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: clamp(4rem, 21.5vw, 6.4rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, var(--max));
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .cursor-haze {
    display: none;
  }
}
