/* Hallmark · shape: Stage with a playable stamp card · genre: editorial · theme: custom · job: join · idea: "A tap on the table stand collects the stamp, and the cafe sees who comes back." · vibe: "warm, quiet, rose and blackberry, handmade"
 * paper: oklch(87% 0.03 55) · accent: oklch(60% 0.08 20) · display: Playfair Display · body: Manrope · hero: head left on 6 columns, the stamp card right, playable · nav: wordmark left, one action right · footer: mark, tagline, two links · imagery: the product, built (stamp card) · signature: a stamp card the visitor fills by tapping
 * axes: rose/serif/terracotta · posture: split stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V3 · weakest: P, argument stays soft; the copy takes one position (returning guests beat new ones) and the playable card carries it */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-style: normal; font-display: swap; }

body { font-weight: 450; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-lg); }
.nav img { height: 40px; width: auto; }

/* buttons: one primary style */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-weight: 700; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 3px; }
.btn:disabled, .field:disabled { opacity: 0.5; cursor: not-allowed; }
.nav .btn { white-space: nowrap; min-height: 44px; padding: 0 var(--space-lg); }
.btn-quiet { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-ink); }
.btn-quiet:hover { background: var(--color-paper-2); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: center; padding-block: var(--space-2xl) var(--space-lg);  }
.hero h1 { font-size: var(--text-display); line-height: 1.04; letter-spacing: var(--tracking-display); font-weight: 600; }
.hero .lead { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }

/* stamp card */
.stage { position: relative; display: grid; place-items: center; min-width: 0; }

.card { position: relative; width: min(100%, 500px); padding: var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-card); box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--color-ink) 45%, transparent); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.card-head img { height: 30px; width: auto; }
.card-head span { font-size: var(--text-sm); color: var(--color-muted); }
.stamps { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
.stamp { aspect-ratio: 1; border-radius: var(--radius-pill); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--color-paper-3); color: var(--color-paper); }
.stamp svg { width: 62%; height: 62%; }
.js .stamp:not(.on) svg { opacity: 0; transform: scale(0.6); transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.stamp svg { transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.stamp.on { background: var(--color-ink); box-shadow: none; }

.stamp.gift { box-shadow: inset 0 0 0 2px var(--color-accent); }
.stamp.gift.on { background: var(--color-accent); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); }
.card-foot p { font-weight: 700; min-width: 0; }
.card-foot .btn { width: 100%; min-height: 52px; }

/* sections */
.section { padding-block: var(--section-gap-s); }
.section h2 { font-size: var(--text-section); line-height: 1.08; font-weight: 600; letter-spacing: var(--tracking-display); max-width: 18ch; }
.section .sub { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 36ch; }

.flow { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.flow li { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); }
.flow h3 { font-size: var(--text-2xl); font-weight: 600; line-height: 1.15; }
.flow p { margin-top: var(--space-sm); color: var(--color-ink-2); }

.band { background: var(--color-ink); color: var(--color-paper); }
.band h2 { max-width: 20ch; }
.band .sub { color: var(--color-paper-3); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: start; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { padding-block: var(--space-lg); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 30%, transparent); }
.features li:last-child { border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 30%, transparent); }
.features h3 { font-size: var(--text-xl); font-weight: 600; }
.features p { margin-top: var(--space-2xs); color: var(--color-paper-3); }

/* sign-up */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }
.form { display: grid; gap: var(--space-md); }
.form label { font-size: var(--text-sm); font-weight: 700; }
.field { width: 100%; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-muted); transition: box-shadow var(--dur-short) var(--ease-out); }
.field:hover { box-shadow: inset 0 0 0 2px var(--color-ink); }
.field:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field::placeholder { color: var(--color-muted); }
.area { min-height: 140px; padding-block: var(--space-md); border-radius: 24px; resize: vertical; line-height: 1.5; }
.form .btn { width: 100%; }
.note { font-size: var(--text-sm); color: var(--color-muted); }
.note[data-state="done"] { color: var(--color-ink); font-weight: 700; }

/* footer */
.footer { padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.footer img { height: 36px; width: auto; }
.footer p { color: var(--color-muted); font-size: var(--text-sm); }
.footer nav { display: flex; gap: var(--space-lg); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .hero, .band-grid, .signup { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-block: var(--space-lg) var(--space-2xl); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  }

/* legal pages */
.legal { padding-block: var(--space-2xl) var(--section-gap-s); }
.legal h1 { font-size: var(--text-display-s); line-height: 1.08; font-weight: 600; letter-spacing: var(--tracking-display); }
.legal h2 { margin-top: var(--space-2xl); font-size: var(--text-xl); font-weight: 600; }
.legal p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.legal .stand { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.legal a { text-decoration-thickness: 1.5px; }
.todo { background: var(--color-paper-3); color: var(--color-ink); padding: 0 var(--space-xs); border-radius: var(--space-xs); }
