/* Hallmark · shape: Index-First · genre: editorial · theme: Carnival (deal 3/3, seed entirely-newly-conceived-next-2877·9567de4c·2026-11-22·r0) · job: subscribe · draw: ec7769
 * hero: Counter · nav: slab · footer: mast · imagery: none · signature: this morning's four real headlines in poster capitals, refreshed with every issue · carnival: pressroom
 * axes: light/display-heavy/chromatic-yellow · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: S, a poster head about four stories could front any digest; the page is built on the day's real headlines and a real story from the issue instead of claims about the format */
/* Hallmark · dismissed 23 · the amber and slate fields are the declared full-palette posture: each fills one whole band, never mixed inside a surface */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- shared ---------- */
h1, h2, h3, .display { text-transform: uppercase; line-height: 1; }
a { text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); }
a:hover { color: var(--color-accent-2); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); background: var(--color-paper); color: var(--color-ink); font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { box-shadow: 1px 1px 0 var(--color-ink); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); color: var(--color-paper); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- nav: a slab ---------- */
.slab { background: var(--color-ink); color: var(--color-paper); }
.slab .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { font: var(--display-weight) var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; }
.slab nav { display: flex; align-items: center; gap: var(--space-lg); }
.slab nav a { font-size: var(--text-md); font-weight: 500; text-decoration: none; padding-block: var(--space-xs); }
.slab a:hover { color: var(--color-accent); }
.slab :focus-visible, .mast :focus-visible, .band--b :focus-visible { outline-color: var(--color-focus-dark); }

/* ---------- hero: a counter ---------- */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero h1 { max-width: none; font-size: clamp(3.25rem, 11.2vw, 10.25rem); }
.hero__row { margin-top: var(--space-xl); align-items: center; row-gap: var(--space-lg); }
.hero__pitch { grid-column: 1 / span 5; grid-row: 1; align-self: end; font-size: var(--text-2xl); line-height: 1.25; max-width: 22ch; }
.hero__counter { grid-column: 7 / -1; grid-row: 1 / span 2; }
.today { grid-column: 1 / span 5; grid-row: 2; align-self: start; font-size: var(--text-md); color: var(--color-ink-2); }
.today a { font-weight: 500; color: var(--color-ink); }

.well { border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: var(--color-paper-2); padding: var(--space-xl); }
.signup label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-md); font-weight: 500; }
.signup__row { display: flex; gap: var(--space-sm); }
.signup input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-lg); caret-color: var(--color-ink); outline: 2px solid transparent; outline-offset: -5px; }
.signup input[type="email"]::placeholder { color: var(--color-muted); }
.signup input[type="email"]:focus-visible { outline-color: var(--color-focus); }
.signup input[aria-invalid] { border-color: var(--color-error); }
.signup__help { min-height: 1lh; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.signup__help.is-error { color: var(--color-error); font-weight: 500; }
.done h2 { font-size: var(--text-section); }
.done p { margin-top: var(--space-sm); font-size: var(--text-lead); }
.done p + p { font-size: var(--text-md); }

/* ---------- the issue: an index ---------- */
.issue { padding-block: var(--space-xl) var(--section-gap); }
.issue__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-2xl); }
.issue__head h2 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); max-width: none; }
.issue__meta { display: flex; align-items: center; gap: var(--space-lg); }
.issue__meta time { font-weight: 500; }
.rows { list-style: none; margin: 0; padding: 0; counter-reset: story; border-bottom: var(--rule-bar) solid var(--color-rule); }
.rows li { counter-increment: story; align-items: start; padding-block: var(--space-xl); border-top: var(--rule-bar) solid var(--color-rule); }
.rows li::before { content: counter(story); grid-column: 1; font: var(--display-weight) clamp(2.5rem, 3.4vw, 3.25rem)/1 var(--font-display); color: var(--color-accent-2); font-variant-numeric: tabular-nums; }
.rows h3 { grid-column: 2 / -1; max-width: none; font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1; }
.rows li:first-child h3 { grid-column: 2 / span 7; font-size: clamp(2.25rem, 5.6vw, 5.25rem); }
.rows li:first-child::before { font-size: clamp(2.25rem, 5.6vw, 5.25rem); }
.rows p { grid-column: 9 / -1; font-size: var(--text-lead); line-height: 1.45; }

/* ---------- a story as it arrives: the amber field ---------- */
.band--a { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--section-gap-s); }
.band--a a:hover { color: var(--color-ink-2); }
.arrives__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.arrives__head h2 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); max-width: none; }
.sheet { border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: var(--color-paper); padding: var(--space-xl) var(--space-xl) var(--space-2xl); }
.sheet figcaption { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.sheet h3 { margin-top: var(--space-sm); max-width: 24ch; font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1; }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-xl) 0 0; }
.parts > div { padding-inline: var(--space-lg); border-left: var(--rule-bar) solid var(--color-ink); }
.parts > div:first-child { padding-left: 0; border-left: 0; }
.parts > div:last-child { padding-right: 0; }
.parts dt { font-weight: 500; font-size: var(--text-md); color: var(--color-accent-2); }
.parts dd { margin: var(--space-xs) 0 0; font-size: var(--text-lead); line-height: 1.45; }

/* ---------- the promise: the slate field ---------- */
.band--b { background: var(--color-accent-2); color: var(--color-paper); padding-block: var(--section-gap-s); }
.band--b .display { margin: 0; max-width: none; font: var(--display-weight) clamp(3rem, 8.6vw, 7.75rem)/1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; }
.promise__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-paper); }
.promise__foot p { font-size: var(--text-lead); max-width: 46ch; }

/* ---------- the close ---------- */
.close { padding-block: var(--section-gap); }
.close .grid { align-items: center; }
.close h2 { grid-column: 1 / span 6; font-size: clamp(2.5rem, 5.6vw, 5.25rem); max-width: 12ch; }
.close .well { grid-column: 7 / -1; }

/* ---------- footer: a mast ---------- */
.mast { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl) var(--space-xl); }
.mast__name { margin: 0; font: var(--display-weight) clamp(4rem, 16.5vw, 14.5rem)/0.9 var(--font-display); letter-spacing: -0.005em; text-transform: uppercase; white-space: nowrap; }
.mast__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-paper); }
.mast nav { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.mast a { text-decoration-color: var(--color-accent); }
.mast a:hover { color: var(--color-accent); }
.mast small { font-size: var(--text-sm); }

/* ---------- smaller screens ---------- */
@media (max-width: 60rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero__row { margin-top: var(--space-lg); row-gap: var(--space-xl); }
  .hero__pitch, .hero__counter, .today, .close h2, .close .well { grid-column: 1 / -1; grid-row: auto; }
  .hero__pitch { max-width: 30ch; font-size: var(--text-xl); }
  .well { padding: var(--space-lg); }
  .issue__head { margin-bottom: var(--space-xl); }
  .rows li { row-gap: var(--space-sm); padding-block: var(--space-lg); }
  .rows li:first-child h3 { grid-column: 2 / -1; }
  .rows p { grid-column: 2 / -1; }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .parts > div { padding: var(--space-md) 0 0; margin-top: var(--space-md); border-left: 0; border-top: var(--rule-bar) solid var(--color-ink); }
  .parts > div:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  .close .grid { row-gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .slab nav { gap: var(--space-md); }
  .slab nav .wide { display: none; }
  .signup__row { flex-direction: column; }
  .btn { width: 100%; }
  .issue__meta { width: 100%; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .rows li::before { grid-column: 1 / span 2; }
  .rows h3, .rows li:first-child h3, .rows p { grid-column: 3 / -1; }
  .sheet { padding: var(--space-lg); }
  .promise__foot .btn { width: 100%; }
}
