:root {
  --ink: #1a1410;
  --paper: #f3e6c8;
  --paper-2: #e8d4a8;
  --mustard: #e2a010;
  --ketchup: #c43c2c;
  --mint: #6f9e7a;
  --muted: #5c5348;
  --line: rgba(26, 20, 16, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

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

body.week2-intro {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  position: relative;
  overflow-x: hidden;
}

.verse-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 10% 0%, rgba(226, 160, 16, 0.35), transparent 55%), radial-gradient(ellipse 60% 40% at 90% 100%, rgba(196, 60, 44, 0.22), transparent 50%), repeating-linear-gradient(-12deg, transparent, transparent 11px, rgba(26, 20, 16, 0.03) 11px, rgba(26, 20, 16, 0.03) 12px), var(--paper);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(12deg);
  }
}
.intro-shell {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rise 0.6s ease both;
}
.eyebrow a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.eyebrow a:hover {
  color: var(--ketchup);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  animation: rise 0.7s ease 0.05s both;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 32rem;
  color: var(--muted);
  animation: rise 0.7s ease 0.1s both;
}
.lead em {
  color: var(--ink);
  font-style: italic;
}

.mode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: rise 0.75s ease 0.18s both;
}

.mode-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.mode-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: rgba(255, 255, 255, 0.7);
}
.mode-card:nth-child(1) {
  border-color: var(--mint);
  box-shadow: 4px 4px 0 var(--mint);
}
.mode-card:nth-child(1):hover {
  box-shadow: 6px 6px 0 var(--mint);
}
.mode-card:nth-child(2) {
  border-color: var(--mustard);
  box-shadow: 4px 4px 0 var(--mustard);
}
.mode-card:nth-child(2):hover {
  box-shadow: 6px 6px 0 var(--mustard);
}
.mode-card:nth-child(3) {
  border-color: var(--ketchup);
  box-shadow: 4px 4px 0 var(--ketchup);
}
.mode-card:nth-child(3):hover {
  box-shadow: 6px 6px 0 var(--ketchup);
}

.mode-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.mode-desc {
  font-size: 0.95rem;
  color: var(--muted);
}

.foot-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  animation: rise 0.7s ease 0.25s both;
}
.foot-note code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8em;
  background: rgba(26, 20, 16, 0.06);
  padding: 0.1em 0.35em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .verse-bg {
    animation: none;
  }
  .eyebrow, .brand, .lead, .mode-list, .foot-note {
    animation: none;
  }
}