:root {
  --paper: #f2ead8;
  --paper-deep: #ded2bb;
  --ink: #11110f;
  --red: #d94832;
  --line: rgba(17, 17, 15, .24);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.site-header {
  min-height: 76px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink); position: relative; z-index: 10; background: rgba(242,234,216,.94);
}
.brand { text-decoration: none; font-weight: 900; letter-spacing: -.04em; font-size: 1.18rem; display: flex; gap: .55rem; align-items: center; }
.brand em { font-family: var(--serif); font-weight: 400; }
.brand-mark { font-size: .85rem; }
nav { display: flex; gap: 2rem; }
nav a, .mini-cta { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mini-cta { background: var(--ink); color: var(--paper); padding: .7rem 1rem; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.18fr .82fr; border-bottom: 2px solid var(--ink); }
.hero-copy { padding: clamp(3rem, 8vw, 8rem) 4vw 3rem; display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .kicker { font-size: .74rem; font-weight: 900; letter-spacing: .13em; }
.eyebrow span { background: var(--red); color: var(--paper); padding: .3rem .45rem; margin-right: .35rem; }
h1, h2 { margin: 0; font-size: clamp(4.2rem, 8.8vw, 9.6rem); line-height: .78; letter-spacing: -.08em; font-weight: 950; text-transform: uppercase; }
h1 { margin-top: 1.6rem; max-width: 1100px; }
h1 i { font-family: var(--serif); font-weight: 400; color: var(--red); }
.lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 2rem); max-width: 700px; line-height: 1.2; margin: 2.3rem 0; }
.hero-actions, .final-actions, .stamp-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 51px; padding: .9rem 1.3rem; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); text-decoration: none; font-weight: 900; letter-spacing: .06em; font-size: .8rem; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(-3px,-3px); box-shadow: 4px 4px 0 var(--ink); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: transparent; color: var(--ink); }
.field-note { margin-top: auto; padding-top: 3rem; max-width: 580px; display: grid; grid-template-columns: 120px 1fr; gap: 1rem; border-top: 1px solid var(--line); }
.field-note span { font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.field-note p { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.hero-mark { border-left: 2px solid var(--ink); position: relative; display: grid; place-items: center; overflow: hidden; background: #eee4cf; }
.hero-mark::before, .hero-mark::after { content: ''; position: absolute; border: 1px solid var(--line); border-radius: 50%; width: 82%; aspect-ratio: 1; }
.hero-mark::after { width: 64%; }
.hero-mark img { width: 92%; mix-blend-mode: multiply; filter: contrast(1.15); transform: rotate(-5deg); position: relative; z-index: 2; }
.mark-ticket { position: absolute; right: 1.5rem; bottom: 1.5rem; background: var(--red); color: var(--paper); padding: .85rem 1.1rem; font-size: .72rem; font-weight: 900; letter-spacing: .08em; transform: rotate(3deg); z-index: 3; }
.orbit-copy { position: absolute; top: 2rem; left: 2rem; right: 2rem; text-align: center; font-size: .72rem; letter-spacing: .32em; font-weight: 900; }
section:not(.hero) { border-bottom: 2px solid var(--ink); }
.section-number { font-size: .7rem; font-weight: 900; letter-spacing: .15em; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 3.5rem; }
.mission { padding: 6rem 4vw; }
.mission-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; }
.mission h2 { font-size: clamp(3.7rem, 7vw, 8rem); }
.mission h2 span, .join h2 span { color: var(--red); font-family: var(--serif); font-weight: 400; }
.mission-copy { padding-top: .4rem; }
.mission-copy p { max-width: 640px; }
.big-copy { margin-top: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.1rem); line-height: 1.08; }
.fine-print { font-size: .78rem; border-top: 1px solid var(--line); padding-top: 1rem; opacity: .75; }

.nine-lives { display: grid; grid-template-columns: .72fr 1.28fr; background: var(--ink); color: var(--paper); }
.lives-intro { padding: 6rem 4vw; border-right: 1px solid rgba(242,234,216,.25); }
.lives-intro h2 { color: var(--paper); font-size: clamp(3.8rem, 6.3vw, 7rem); margin: 1.5rem 0 2rem; }
.lives-intro p:last-child { font-family: var(--serif); font-size: 1.25rem; max-width: 520px; }
.life-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); }
.life-grid li { min-height: 190px; padding: 1.5rem; border-right: 1px solid rgba(242,234,216,.22); border-bottom: 1px solid rgba(242,234,216,.22); display: flex; flex-direction: column; }
.life-grid b { font-family: var(--serif); font-size: 2rem; color: var(--red); }
.life-grid span { margin-top: auto; font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.life-grid small { margin-top: .35rem; opacity: .62; }
.life-grid .unlocked { background: var(--red); }
.life-grid .unlocked b { color: var(--paper); }
.placeholder-note { grid-column: 2; margin: 0; padding: 1rem 1.5rem; font-size: .72rem; opacity: .6; }

.manifesto { padding: 6rem 4vw 0; }
.manifesto-head { display: grid; grid-template-columns: 1fr .62fr; gap: 6vw; align-items: end; }
.manifesto h2 { font-size: clamp(4.1rem, 8.5vw, 9rem); }
.manifesto-head p { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2.5rem); line-height: 1.08; margin: 0 0 .6rem; }
.rules { margin: 6rem -4vw 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 2px solid var(--ink); }
.rules article { padding: 2.2rem 4vw 3rem; min-height: 270px; border-right: 2px solid var(--ink); }
.rules article:last-child { border-right: 0; }
.rules span { font-family: var(--serif); font-size: 1.4rem; color: var(--red); }
.rules h3 { font-size: 1.35rem; margin-top: 4rem; letter-spacing: -.03em; }
.rules p { font-family: var(--serif); max-width: 390px; }

.stamp-section { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 760px; }
.stamp-copy { padding: 6rem 4vw; display: flex; flex-direction: column; align-items: flex-start; }
.stamp-copy h2 { font-size: clamp(3.8rem, 6.5vw, 7rem); margin: 1.2rem 0 2rem; }
.stamp-copy > p:not(.kicker) { font-family: var(--serif); font-size: 1.16rem; max-width: 560px; }
.counter-card { width: 100%; margin: 2rem 0; padding: 1.3rem 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.counter-card span { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.counter-card strong { display: block; font-size: clamp(3.2rem, 5vw, 5.8rem); line-height: 1; letter-spacing: -.05em; }
.text-button { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: .78rem; font-weight: 800; }
.stamp-pad { position: relative; overflow: hidden; border-left: 2px solid var(--ink); background-color: #e7dcc6; background-image: linear-gradient(rgba(17,17,15,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,15,.08) 1px, transparent 1px); background-size: 34px 34px; cursor: crosshair; touch-action: manipulation; }
.stamp-pad:focus-visible { outline: 5px solid var(--red); outline-offset: -5px; }
.stamp-pad > p { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.5rem, 4vw, 4rem); font-weight: 900; opacity: .1; pointer-events: none; }
.pad-label { position: absolute; top: 1.5rem; left: 1.5rem; font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.pad-signature { position: absolute; right: 1.5rem; bottom: 1.5rem; font-size: .7rem; font-weight: 900; text-align: right; letter-spacing: .12em; }
.paw-drop { position: absolute; width: clamp(58px, 8vw, 106px); height: auto; mix-blend-mode: multiply; transform: translate(-50%,-50%) rotate(var(--r)); animation: thump .22s ease-out both; pointer-events: none; user-select: none; }
@keyframes thump { from { opacity: 0; scale: 1.8; } to { opacity: .88; scale: 1; } }

.join { padding: 6rem 4vw; }
.join h2 { font-size: clamp(4.5rem, 10vw, 11rem); }
.join-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4vw; align-items: end; margin-top: 4rem; }
.ca-box label { display: block; font-size: .7rem; letter-spacing: .12em; font-weight: 900; margin-bottom: .65rem; }
.ca-row { display: flex; border: 2px solid var(--ink); }
.ca-row input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 1.1rem; font-family: monospace; font-size: .85rem; }
.ca-row button { border: 0; border-left: 2px solid var(--ink); background: var(--red); color: white; padding: 0 1.5rem; font-weight: 900; cursor: pointer; }
.ca-box p { font-size: .72rem; opacity: .7; }
.final-actions { justify-content: flex-end; }
footer { padding: 3rem 4vw; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.footer-brand { font-size: 2rem; font-weight: 900; }
.footer-brand span { color: var(--red); font-family: var(--serif); }
footer p { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
footer small { grid-column: 1 / -1; opacity: .6; max-width: 850px; }
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 30px); background: var(--red); color: #fff; padding: .85rem 1.1rem; font-weight: 900; font-size: .78rem; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 920px) {
  nav { display: none; }
  .hero, .mission-grid, .nine-lives, .manifesto-head, .stamp-section, .join-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 680px; }
  .hero-mark { border-left: 0; border-top: 2px solid var(--ink); min-height: 620px; }
  .mission-grid { gap: 3rem; }
  .lives-intro { border-right: 0; border-bottom: 1px solid rgba(242,234,216,.25); }
  .placeholder-note { grid-column: 1; }
  .manifesto-head { gap: 3rem; }
  .stamp-pad { min-height: 650px; border-left: 0; border-top: 2px solid var(--ink); }
  .final-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; }
  .mini-cta { padding: .55rem .7rem; }
  .brand { font-size: 1rem; }
  .hero-copy { min-height: 620px; padding-top: 4rem; }
  h1 { font-size: clamp(3.45rem, 16vw, 5rem); }
  .hero-mark { min-height: 500px; }
  .field-note { grid-template-columns: 1fr; }
  .mission, .manifesto, .join, .lives-intro, .stamp-copy { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .manifesto h2 { font-size: 13vw; line-height: .82; }
  .life-grid { grid-template-columns: 1fr 1fr; }
  .life-grid li { min-height: 155px; }
  .rules { grid-template-columns: 1fr; }
  .rules article { border-right: 0; border-bottom: 2px solid var(--ink); min-height: auto; }
  .rules article:last-child { border-bottom: 0; }
  .rules h3 { margin-top: 2rem; }
  .stamp-pad { min-height: 520px; }
  .ca-row { display: grid; }
  .ca-row button { border-left: 0; border-top: 2px solid var(--ink); padding: .9rem; }
  .button { width: 100%; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .toast, .paw-drop { transition: none; animation: none; }
}
