:root {
  --bg: #040607;
  --bg-soft: #091012;
  --panel: rgba(7, 16, 18, 0.84);
  --text: #e8f7f7;
  --muted: #a9c2c3;
  --cyan: #8ee8e5;
  --cyan-dim: #3e8f91;
  --red: #ff2d5f;
  --red-dim: #7b112d;
  --line: rgba(142, 232, 229, 0.22);
  --shadow: rgba(0, 0, 0, 0.72);
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 45, 95, 0.11), transparent 26rem),
    radial-gradient(circle at 85% 20%, rgba(142, 232, 229, 0.10), transparent 30rem),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(4, 6, 7, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 7rem 1.25rem 5rem;
  overflow: hidden;
  background-image: url("assets/panopticon-hero.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -12rem 8rem rgba(4, 6, 7, 0.92);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 7, 0.78) 0%, rgba(4, 6, 7, 0.30) 48%, rgba(4, 6, 7, 0.52) 100%),
    radial-gradient(circle at 46% 55%, rgba(255, 45, 95, 0.10), transparent 32rem);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(142, 232, 229, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 232, 229, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  transform: translate(-2.35rem, -1rem);
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  margin: 0 0 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.65rem);
  line-height: 0.90;
  letter-spacing: 0.07em;
  color: var(--text);
  text-shadow:
    0 0 30px rgba(142, 232, 229, 0.34),
    0 0 4px rgba(255, 255, 255, 0.85);
}

.tagline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  color: var(--red);
  letter-spacing: 0.035em;
  text-shadow: 0 0 22px rgba(255, 45, 95, 0.45);
}

.hero-copy {
  max-width: 640px;
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  color: #031011;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button:hover {
  color: #031011;
  background: white;
  border-color: white;
}

.button.ghost {
  color: var(--text);
  background: rgba(4, 6, 7, 0.50);
  border-color: var(--line);
}

.button.ghost:hover {
  color: var(--cyan);
  background: rgba(4, 6, 7, 0.78);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  border-top: 1px solid rgba(142, 232, 229, 0.10);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 820px;
}

h2 {
  max-width: 880px;
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

p {
  font-size: 1.05rem;
}

.intro p {
  max-width: 850px;
  color: var(--muted);
}

.pull {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
  color: var(--text) !important;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.22;
}

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

.card {
  min-height: 250px;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(142, 232, 229, 0.08), rgba(255, 45, 95, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 2rem 4rem var(--shadow);
}

.card h3 {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 1.5rem;
}

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

.quote-strip {
  background:
    linear-gradient(90deg, rgba(255, 45, 95, 0.13), rgba(142, 232, 229, 0.09)),
    rgba(9, 16, 18, 0.60);
}

.quote-strip p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.author p,
.updates p {
  color: var(--muted);
}

.contact-box {
  margin-top: 1.6rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 2rem 1.25rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 84vh;
    background-position: center bottom;
  }

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

@media (max-width: 520px) {
  .brand,
  nav a,
  .eyebrow,
  .section-kicker,
  .button {
    letter-spacing: 0.11em;
  }

  h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.65rem);
  line-height: 0.90;
  letter-spacing: 0.07em;
  color: var(--text);
  text-shadow:
    0 0 30px rgba(142, 232, 229, 0.34),
    0 0 4px rgba(255, 255, 255, 0.85);
}

  .hero-copy {
  max-width: 640px;
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}
}


/* Finished hero polish: keep the desktop left-shift from hurting smaller screens. */
@media (max-width: 900px) {
  .hero-content {
    transform: translateY(-0.5rem);
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 5.4rem);
  }
}
