:root {
  --bg: #0a0a0a;
  --ink: #f1efe9;
  --muted: #9f9c95;
  --hairline: rgba(241, 239, 233, 0.16);
  --glow: rgba(255, 255, 255, 0.045);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 36%, rgba(255,255,255,.035), transparent 24rem),
    #0a0a0a;
}

.topbar,
.footer {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  height: 96px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-word {
  font-size: 21px;
  letter-spacing: .28em;
  font-weight: 600;
}

.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .8;
}

.top-note,
.footer {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .2em;
}

.hero {
  position: relative;
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto;
  min-height: calc(100svh - 160px);
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 83vw);
  padding: 74px 0 96px;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .28em;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(56px, 7.7vw, 132px);
  line-height: .92;
  letter-spacing: -.055em;
}

.intro {
  max-width: 660px;
  margin: 42px 0 0;
  color: #d1cec7;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.62;
  font-weight: 300;
}

.rule {
  width: 78px;
  height: 1px;
  margin: 34px 0 28px;
  background: var(--ink);
  opacity: .44;
}

.mission {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  font-style: italic;
}

.status {
  position: absolute;
  right: 0;
  bottom: 76px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(241,239,233,.75);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(241,239,233,.18);
  animation: pulse 3.2s ease-out infinite;
}

.grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to left, #000 0%, transparent 61%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 61%);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 1.3s cubic-bezier(.22,.61,.36,1);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: .45;
}

.ambient-one {
  width: 420px;
  height: 420px;
  right: -110px;
  top: 4%;
  border: 1px solid rgba(255,255,255,.06);
}

.ambient-two {
  width: 760px;
  height: 760px;
  right: -420px;
  bottom: -390px;
  border: 1px solid rgba(255,255,255,.035);
}

.footer {
  min-height: 64px;
  border-top: 1px solid var(--hairline);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(241,239,233,.16); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(241,239,233,0); }
}

@media (max-width: 780px) {
  .topbar,
  .hero,
  .footer {
    width: min(100% - 34px, 1500px);
  }

  .topbar { height: 78px; }
  .brand-word { font-size: 17px; letter-spacing: .22em; }
  .top-note { display: none; }

  .hero {
    min-height: calc(100svh - 132px);
    align-items: flex-start;
  }

  .hero-inner {
    width: 100%;
    padding: 16vh 0 120px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 82px);
    line-height: .95;
  }

  .intro { margin-top: 34px; }
  .status { left: 0; right: auto; bottom: 40px; }
  .grid { background-size: 62px 62px; }

  .footer {
    padding: 18px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
}

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