:root {
  --charcoal: #080c10;
  --bunker: #0b1724;
  --steel: #a7b0b8;
  --concrete: #59626b;
  --amber: #dca55c;
  --amber-bright: #ffd18a;
  --red: #bb2628;
  --text: #f5f1e9;
  --muted: #c2c6c9;
  --panel: rgba(11, 18, 27, 0.82);
  --line: rgba(255, 209, 138, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(220, 165, 92, 0.16), transparent 34rem),
    linear-gradient(135deg, var(--charcoal), var(--bunker) 52%, #120d0c);
  background-size: 54px 54px, 54px 54px, auto, auto;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.hero-safe,
body.hero-bunker {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  background: var(--amber-bright);
  color: #15100a;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(6, 9, 13, 0.88), rgba(6, 9, 13, 0));
}

.brand {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand span span {
  color: var(--red);
  font-size: inherit;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-header nav a {
  padding: 0.65rem 0.8rem;
  color: #efe7db;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.split-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #080c10 url("images/panic-pods-hero.png") center / cover no-repeat;
}

.split-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 209, 138, 0.16), transparent 24rem),
    radial-gradient(circle at 84% 78%, rgba(187, 38, 40, 0.12), transparent 26rem),
    linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.34));
  pointer-events: none;
}

.hero-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/panic-pods-hero.png");
  background-size: cover;
  transition: clip-path 0.52s ease, opacity 0.52s ease, transform 0.52s ease, filter 0.52s ease;
}

.safe-panel {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background-position: 32% center;
}

.bunker-panel {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background-position: 68% center;
}

.diagonal-line {
  position: absolute;
  inset: -10% auto auto 50%;
  z-index: 3;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(255, 209, 138, 0.95), rgba(187, 38, 40, 0.62), transparent);
  box-shadow: 0 0 26px rgba(255, 209, 138, 0.65);
  transform: rotate(54deg);
  transform-origin: center;
  transition: opacity 0.45s ease;
}

body.hero-safe .safe-panel {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: scale(1.05);
  background-position: 20% center;
}

body.hero-safe .bunker-panel {
  opacity: 0;
}

body.hero-bunker .bunker-panel {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: scale(1.05);
  background-position: 82% center;
}

body.hero-bunker .safe-panel {
  opacity: 0;
}

body.hero-safe .diagonal-line,
body.hero-bunker .diagonal-line {
  opacity: 0.25;
}

.choice-zone {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 0.45rem;
  width: min(28rem, 38vw);
  padding: 1.35rem;
  color: var(--text);
  background: rgba(8, 12, 16, 0.62);
  border: 1px solid rgba(255, 209, 138, 0.35);
  border-radius: 0.5rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.choice-zone span {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.choice-zone small {
  color: var(--muted);
  font-size: 1rem;
}

.choice-zone strong {
  color: var(--amber-bright);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-zone:hover,
.choice-zone:focus-visible {
  border-color: var(--amber-bright);
  outline: 0;
}

.safe-zone {
  top: 18%;
  left: max(1rem, calc((100vw - 1180px) / 2));
}

.bunker-zone {
  right: max(1rem, calc((100vw - 1180px) / 2));
  bottom: 12%;
}

.back-choice {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 6;
  display: none;
  transform: translateX(-50%);
  padding: 0.75rem 1rem;
  color: var(--text);
  background: rgba(8, 12, 16, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-band,
.solution-section,
.assessment-section,
.resource-section,
.revenue-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.55rem;
}

p {
  color: var(--muted);
}

.intro p,
.providers p,
.section-heading p,
.assessment-copy p {
  max-width: 44rem;
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.15rem;
  border-radius: 0.28rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: #160f09;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  box-shadow: 0 1rem 2rem rgba(220, 165, 92, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.solution-section,
.assessment-section,
.resource-section,
.revenue-section {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 56rem;
  margin-bottom: 1.5rem;
}

.card-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid article,
.resource-grid article,
.capability-list article,
.systems-panel,
.assessment-section,
.revenue-section {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
}

.card-grid article,
.resource-grid article,
.capability-list article,
.systems-panel {
  padding: 1.25rem;
}

.card-grid article {
  min-height: 13rem;
}

.card-grid article::before,
.resource-grid article::before,
.capability-list article::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--amber-bright), var(--red));
  border-radius: 999px;
}

.card-grid h3,
.resource-grid h3,
.capability-list h3,
.systems-panel h3 {
  margin-bottom: 0.65rem;
}

.card-grid p,
.resource-grid p,
.capability-list p,
.systems-panel li {
  margin: 0;
  color: var(--muted);
}

.bunker-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.systems-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(187, 38, 40, 0.18), transparent 18rem),
    var(--panel);
}

.systems-panel ul {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.assessment-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2rem;
  padding: 2rem;
}

.assessment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.assessment-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
  width: 100%;
  min-height: 2.95rem;
  padding: 0.82rem 0.9rem;
  color: var(--text);
  background: rgba(3, 7, 10, 0.74);
  border: 1px solid rgba(255, 209, 138, 0.28);
  border-radius: 0.32rem;
  font: inherit;
}

.assessment-form textarea {
  resize: vertical;
}

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

.providers {
  padding-top: 2rem;
}

.revenue-section {
  margin-bottom: 4rem;
  padding: 2rem;
}

footer {
  display: grid;
  gap: 1rem;
  padding: 2.5rem max(1rem, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: #05070a;
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 64rem;
  margin: 0;
}

footer strong {
  color: var(--amber-bright);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(6, 9, 13, 0.92), rgba(6, 9, 13, 0.18));
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .split-hero {
    min-height: 760px;
  }

  .choice-zone {
    width: min(27rem, calc(100% - 2rem));
  }

  .safe-zone {
    top: 22%;
  }

  .section-band,
  .feature-layout,
  .assessment-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header nav a {
    font-size: 0.72rem;
    padding: 0.55rem 0.65rem;
  }

  .split-hero {
    min-height: 720px;
    background-position: center;
  }

  .hero-panel {
    display: none;
  }

  .diagonal-line {
    display: none;
  }

  .split-hero::after {
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.34), rgba(5, 7, 10, 0.68));
  }

  .choice-zone {
    position: absolute;
    width: calc(100% - 2rem);
    padding: 1rem;
  }

  .choice-zone span {
    font-size: 2rem;
  }

  .choice-zone small {
    font-size: 0.9rem;
  }

  .safe-zone {
    top: auto;
    left: 1rem;
    bottom: 11rem;
  }

  .bunker-zone {
    right: 1rem;
    bottom: 3.5rem;
  }

  body.hero-safe .split-hero,
  body.hero-bunker .split-hero {
    background-size: auto 112%;
  }

  body.hero-safe .split-hero {
    background-position: 28% center;
  }

  body.hero-bunker .split-hero {
    background-position: 74% center;
  }

  body.hero-safe .bunker-zone,
  body.hero-bunker .safe-zone {
    opacity: 0;
    pointer-events: none;
  }

  body.hero-safe .back-choice,
  body.hero-bunker .back-choice {
    display: inline-flex;
  }

  .section-band,
  .solution-section,
  .assessment-section,
  .resource-section,
  .revenue-section {
    width: min(100% - 1rem, 1180px);
  }

  .section-band,
  .solution-section,
  .resource-section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .card-grid,
  .resource-grid,
  .capability-list,
  .assessment-form {
    grid-template-columns: 1fr;
  }

  .assessment-section,
  .revenue-section {
    padding: 1.1rem;
  }
}
