/* Hallmark · shape: Tea folio · genre: editorial · theme: Garden (deal 1/3, papyrus treatment by request) · job: visit · draw: 661860
 * hero: Poster, a single printed exchange · nav: wordmark only · footer: letter close · imagery: none · signature: the third offer of tea becomes the headline
 * axes: light/roman-serif/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: E, keeping the entire koan and launch notice readable in one desktop screen */
/* Hallmark · material: user-requested papyrus fibres override Garden's untextured stock; existing EB Garamond and Fira Sans retained */
/* Hallmark · shape swap: the draw's Index-First needs venue information; this temporary page has only a koan and a launch notice */
/* Hallmark · dismissed 77 · the user requested a single-screen coming-soon page; extra sections would be filler around the tea koan */
/* Hallmark · hero-review: in-thread, ship · finish-review: in-thread, increased wordmark touch target to 44px */
@import url("./tokens.css");
@import url("./base.css");

html {
  min-height: 100%;
  background: var(--color-paper);
}

body {
  min-height: 100svh;
  font-synthesis: none;
}

.paper-fibres {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--paper-fibres);
  background-size: 480px 480px;
  opacity: var(--texture-opacity);
  pointer-events: none;
}

.folio {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-xl);
  min-height: 100svh;
  padding-block: var(--gap-columns);
}

.masthead {
  display: flex;
  align-items: center;
  min-height: var(--space-xl);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 var(--text-wordmark)/1.2 var(--font-display);
  letter-spacing: -0.025em;
  text-decoration: none;
}

a:hover {
  text-decoration-color: var(--color-accent);
}

a:active {
  color: var(--color-accent);
}

.reading,
.colophon {
  width: 100%;
  max-width: var(--reading-width);
  margin-inline: auto;
}

.reading {
  align-self: center;
}

.koan,
blockquote {
  margin: 0;
}

blockquote {
  font: 400 var(--text-lead)/1.5 var(--font-display);
  color: var(--color-ink-2);
}

.first-visits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--gap-columns);
}

.exchange {
  min-width: 0;
}

.reply {
  margin-top: var(--space-xs);
  font-style: italic;
}

.last-question {
  margin-bottom: var(--space-sm);
}

.summons {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xs);
}

h1 {
  max-width: 100%;
  color: var(--color-ink);
  line-height: 1.05;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-md);
  row-gap: var(--space-2xs);
  margin-top: var(--space-lg);
  color: var(--color-muted);
  font: 400 var(--text-sm)/1.5 var(--font-body);
}

figcaption a {
  text-decoration-color: var(--color-rule-2);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}

.launch {
  color: var(--color-accent);
  font-size: var(--text-md);
}

.invitation {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

@media (max-width: 40rem) {
  .folio {
    gap: var(--gap-columns);
    padding-block: var(--space-lg);
    padding-inline: var(--space-lg);
  }

  .first-visits {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  blockquote {
    font-size: var(--text-lg);
  }

  figcaption,
  .invitation {
    font-size: var(--text-sm);
  }

  .colophon {
    flex-direction: column;
    padding-top: var(--space-md);
  }
}

@media print {
  .paper-fibres {
    display: none;
  }

  .folio {
    min-height: auto;
  }
}
