:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --ink: #18221c;
  --muted: #687269;
  --accent: #e84d2f;
  --line: rgba(24, 34, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 22%, rgba(232, 77, 47, 0.08), transparent 25rem),
    var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

.shell {
  display: flex;
  width: min(100% - 48px, 1440px);
  min-height: 100svh;
  margin-inline: auto;
  flex-direction: column;
}

nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: inherit;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-transform: lowercase;
}

.wordmark span {
  color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d8b59;
  box-shadow: 0 0 0 5px rgba(61, 139, 89, 0.1);
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  display: grid;
  flex: 1;
  padding-block: clamp(60px, 11vh, 140px) 56px;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.8fr);
  grid-template-areas:
    "eyebrow intro"
    "title intro"
    "rule rule"
    ". details";
  column-gap: clamp(48px, 9vw, 150px);
  align-content: center;
}

.eyebrow {
  grid-area: eyebrow;
  margin: 0 0 22px;
  color: var(--accent);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  grid-area: title;
  max-width: 900px;
  margin: 0;
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.intro {
  grid-area: intro;
  max-width: 24rem;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.rule {
  grid-area: rule;
  height: 1px;
  margin-block: clamp(64px, 10vh, 120px) 28px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  animation: draw 900ms 250ms ease-out forwards;
}

.details {
  display: grid;
  grid-area: details;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.details p {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-transform: uppercase;
}

footer {
  padding-block: 20px 28px;
  color: var(--muted);
}

@keyframes draw {
  to { transform: scaleX(1); }
}

@keyframes pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(61, 139, 89, 0.24); }
  75%, 100% { box-shadow: 0 0 0 8px rgba(61, 139, 89, 0); }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 1440px);
  }

  .hero {
    display: block;
    padding-block: 72px 48px;
  }

  h1 {
    margin-left: -0.04em;
    font-size: clamp(4.6rem, 24vw, 8rem);
  }

  .intro {
    margin-top: 56px;
  }

  .rule {
    margin-block: 56px 24px;
  }

  footer span:last-child {
    display: none;
  }
}

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