:root {
  --ink: #1A2B4A;
  --ink-light: #2A3B5A;
  --brick: #B33A3A;
  --brick-light: #E85D5D;
  --copper: #D97B2E;
  --bone: #F5E6D3;
  --bone-dim: #EBDCC4;
  --soot: #2C2C2A;
  --line: rgba(26, 43, 74, 0.18);
  --line-soft: rgba(26, 43, 74, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background-image:
    radial-gradient(circle at 20% 30%, rgba(179, 58, 58, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(26, 43, 74, 0.04) 0%, transparent 40%);
}

/* Grid paper background layer */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Header / masthead ───────────────────────────── */
header.masthead {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

.wordmark .dot { color: var(--brick); }

.meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  text-align: right;
  line-height: 1.5;
}
.meta .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brick);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

/* ─── Edition strip ───────────────────────────── */
.edition {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.6, 0.2, 1) 0.1s both;
}

/* ─── Hero ───────────────────────────── */
.hero {
  padding: 80px 0 64px;
  position: relative;
}

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.6, 0.2, 1) 0.2s both;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brick);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) 0.3s both;
}

h1 .times {
  font-style: italic;
  font-weight: 400;
  color: var(--brick);
  font-variation-settings: "opsz" 144;
}

h1 .line-break {
  display: block;
}

h1 .small {
  display: block;
  font-size: 0.58em;
  color: var(--ink);
  opacity: 0.72;
  font-style: italic;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.lede {
  font-family: 'Fraunces', serif;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  max-width: 560px;
  margin-top: 40px;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) 0.45s both;
}

.lede::first-letter {
  font-weight: 500;
}

/* ─── What it is (three-column industrial strip) ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 72px 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) 0.6s both;
}

.pillar {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.pillar:last-child { border-right: none; }

.pillar-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--brick);
  margin-bottom: 16px;
}

.pillar-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144;
}

.pillar-body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.78;
}

/* ─── No hype callout ───────────────────────────── */
.callout {
  margin: 72px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.callout-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.callout-quote .accent { color: var(--brick); font-style: normal; font-weight: 500; }

/* ─── Signup ───────────────────────────── */
.signup {
  margin: 72px 0 56px;
  padding: 48px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 200px;
  background-image:
    linear-gradient(rgba(245, 230, 211, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 230, 211, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.signup-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick-light);
  margin-bottom: 14px;
  position: relative;
}

.signup-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 28px;
  max-width: 500px;
  position: relative;
  font-variation-settings: "opsz" 144;
}

form {
  display: flex;
  gap: 12px;
  position: relative;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 16px 18px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(245, 230, 211, 0.3);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease;
}
input[type="email"]::placeholder {
  color: rgba(245, 230, 211, 0.5);
}
input[type="email"]:focus {
  border-color: var(--brick-light);
}

button {
  padding: 16px 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--brick);
  color: var(--bone);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
button:hover { background: var(--brick-light); }
button:active { transform: translateY(1px); }

.signup-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(245, 230, 211, 0.55);
  margin-top: 20px;
  position: relative;
  letter-spacing: 0.05em;
}

.success-msg {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(245, 230, 211, 0.08);
  border-left: 2px solid var(--brick-light);
  font-size: 14px;
  color: var(--bone);
  position: relative;
}
.success-msg.show { display: block; animation: fadeUp 0.4s ease; }

/* ─── Footer ───────────────────────────── */
footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
footer .left { opacity: 0.75; }
footer a {
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1px solid var(--brick);
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}
footer a:hover { opacity: 0.7; }
footer .cols {
  display: flex;
  gap: 32px;
}
footer .col-label {
  opacity: 0.5;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ─── Animations ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ─── Responsive ───────────────────────────── */
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  header.masthead { padding: 20px 0 18px; }
  .wordmark { font-size: 20px; }
  .meta { font-size: 10px; }
  .hero { padding: 48px 0 40px; }
  .pillars { grid-template-columns: 1fr; margin: 48px 0; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .pillar:last-child { border-bottom: none; }
  .signup { padding: 32px 24px; margin: 48px 0 40px; }
  .callout { margin: 48px 0; padding: 32px 0; }
  footer { font-size: 11px; }
  footer .cols { gap: 20px; width: 100%; }
}

@media (max-width: 420px) {
  .edition .edition-right { display: none; }
  input[type="email"], button { width: 100%; min-width: 0; }
}
