/* Hallmark · shape: Catalogue (design.md) · genre: modern-minimal · theme: custom (design.md, locked) · job: buy · idea: "the shop window made of his own light: what the shop sells in one screen, then the door to The University" · vibe: "daylight counter, lamp-lit reading room"
 * paper: oklch(98.2% 0.005 250) · accent: oklch(45% 0.18 12) · display: Archivo 700 at 75% width · body: Archivo 400 · hero: custom, the title, the lede and the order button on columns 1 to 6, sixteen of his gel tiles four by four on 7 to 12; under 60rem a strip of tiles off the right edge · nav: edge-aligned bar under a top rule · footer: two plain columns, facts and menu · imagery: the shop's own photographs, true colour · signature: the shop window is made of his own light
 * axes: light-cool/condensed-grotesk/chromatic-red · posture: restrained · contrast: pass · fold: pass · copy: verbatim · deal: none, design.md found · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S4 R5 V4 · weakest: S, three shelf rows carry names and no count while the catalogue data is not built; design/home.md's own state leaves the figure out */
/* The token block ships as its own file, tokens.css; site.css holds the shared parts. This file is the home page's own. */

/* ---------- hero (design/home.md, Hero at 390 and at 1440) ---------- */
.home-hero { padding-top: var(--space-lg); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.home-hero__lede { margin-top: var(--space-sm); max-width: var(--measure); font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); text-wrap: pretty; }

/* The swatch strip: one row of tiles 6rem square from the gutter off the right edge of the screen, clipped, one link. */
.swatches { display: block; margin-top: var(--space-lg); color: var(--color-ink); text-decoration: none; }
.swatches__tiles { display: flex; gap: var(--space-xs); overflow: hidden; margin-inline-end: calc(-1 * var(--gutter)); }
.swatches__tile { flex: none; display: block; width: 6rem; aspect-ratio: 1; }
.swatches__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--tile-fill);
  border-radius: var(--radius-card);
  outline: var(--rule-hair) solid var(--color-keyline);
  outline-offset: calc(-1 * var(--rule-hair));
}
.swatches__caption { display: block; margin-top: var(--space-2xs); font-size: var(--text-label); line-height: var(--leading-label); color: var(--color-muted); }
.swatches:hover .swatches__caption { text-decoration: underline; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.2em; }

@media (min-width: 60rem) {
  .home-hero { padding-block: var(--space-2xl); }
  .home-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-lg); align-items: start; }
  .home-hero__text { grid-column: 1 / 7; }
  .home-hero__lede { margin-top: var(--space-md); }
  .home-hero__order { margin-top: var(--space-lg); }
  .swatches { grid-column: 7 / 13; margin-top: 0; }
  .swatches--16 .swatches__tiles, .swatches--9 .swatches__tiles { display: grid; gap: var(--space-sm); margin-inline-end: 0; overflow: visible; }
  .swatches--16 .swatches__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .swatches--9 .swatches__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swatches--16 .swatches__tile, .swatches--9 .swatches__tile { width: auto; }
}

/* ---------- the shelves: three rows, each a link across the container, hairlines (design/home.md, Sections 1) ---------- */
.shelves { margin-top: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.shelves__item { border-top: var(--rule-hair) solid var(--color-rule); }
.shelf { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); color: var(--color-ink); text-decoration: none; }
.shelf__name {
  min-width: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: var(--text-display-s);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.shelf__name--long { font-stretch: var(--display-stretch-long); }
.shelf:hover .shelf__name { text-decoration: underline; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.2em; }
@media (min-width: 60rem) { .shelves { margin-top: 0; } }

/* ---------- how to order, and from 60rem one film photograph he shot (design/home.md, Sections 2) ---------- */
.how { margin-top: var(--space-3xl); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.how__grid .how__photo { display: none; }
@media (min-width: 60rem) {
  .how__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-lg); align-items: start; }
  .how__text { grid-column: 1 / 8; }
  .how__grid .how__photo { display: block; grid-column: 8 / 13; }
}

/* ---------- the University, in its own mood under the hinge (design/home.md, Sections 4) ---------- */
/* The band and this section share the lamp paper, so the band's own bottom padding is part of the gap: together they
   make the --space-3xl between sections, not two of them (finish review, 28 Nov, finding 1). */
.uni-home { padding-top: calc(var(--space-3xl) - var(--space-2xl)); padding-bottom: var(--space-3xl); }
@media (min-width: 60rem) { .uni-home { padding-top: 0; } }
