/* Hallmark · shape: Bento Grid · genre: editorial · theme: Sport (deal 1/3, seed selling-done-for-you-shopify-online-b88a·b67e45aa·2026-11-11·r0) · job: buy · draw: a4612b
 * hero: Ledge · nav: slab · footer: index columns · imagery: photographs, Burst 2, duotone · product captures 2 · signature: the hours board in the hero photograph against the headline
 * axes: light/display-condensed/chromatic-volt · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · finish-review: subagent, 8 findings, 8 resolved · Floor 0 FAIL · Reflex 0 */
/* Hallmark · dismissed 23 · .hero-price is a corner plate of about 180 by 90px, near 2% of a 1440 by 900 viewport, not a field */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: E, the duotone flattened the first hero frame; recropped to the shop wall so the head has clean ink to sit on */
@import url("./tokens.css");
@import url("./base.css");

:root { --slab-h: 72px; }

/* ---- page chrome ---------------------------------------------------- */

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); max-width: 20ch; }
h2 { font-size: var(--text-section); max-width: 30ch; }
h3 { font-size: var(--text-title); max-width: 40ch; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 46ch; }
small, figcaption { font-size: var(--text-sm); color: var(--color-muted); }
a { color: inherit; }

.figure {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--text-display-s);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-display);
}
.figure .unit { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }

/* controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: var(--space-sm) var(--space-lg);
  border: var(--rule-bar) solid transparent;
  border-radius: var(--radius-card);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--text-md);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--secondary { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--on-photo { border-color: var(--color-paper); color: var(--color-paper); background: transparent; }
.btn:hover { transform: translateY(-1px); }
.btn--primary:hover { background: var(--color-accent-deep); color: var(--color-accent-ink); }
.btn--secondary:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--on-photo:hover { background: var(--color-paper); color: var(--color-ink); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:not(.btn):hover { text-decoration-color: var(--color-accent-deep); }
::selection { background: var(--color-accent); color: var(--color-ink); }

/* nav: slab */
.slab {
  background: var(--color-ink);
  color: var(--color-paper);
  position: relative;
  z-index: var(--z-sticky-nav);
}
.slab .container {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-lg);
}
.slab-mark {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.slab-links { display: flex; gap: var(--space-lg); align-items: center; list-style: none; margin: 0; padding: 0; }
.slab-links a { font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.slab-links a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.slab .btn--primary { min-height: 44px; }
@media (max-width: 60rem) {
  .slab-links { display: none; }
  .slab .container { min-height: 64px; }
}

/* ---- hero: Ledge ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(calc(100dvh - var(--slab-h)), 880px);
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
}
.hero-field { position: absolute; inset: 0; z-index: 0; }
.hero-field::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(to top, color-mix(in oklab, var(--color-ink) 88%, transparent) 20%, color-mix(in oklab, var(--color-ink) 45%, transparent) 55%, transparent 80%);
  pointer-events: none;
}
.hero-field img { object-position: 70% 26%; }
.hero-price {
  position: absolute; top: 0; right: 0; z-index: 3;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  text-align: right;
}
.hero-price .figure { display: block; font-size: var(--text-3xl); font-variant-numeric: tabular-nums; }
.hero-price small { color: var(--color-accent-ink); display: block; }
.hero-base {
  position: relative; z-index: 3;
  align-self: end;
  padding-block: var(--space-3xl) var(--space-2xl);
  color: var(--color-paper);
}
.hero-base h1 { color: var(--color-paper); max-width: 14ch; }
.hero-copy { max-width: 1312px; }
.hero-base .lead { margin-top: var(--space-lg); color: var(--color-paper); max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.hero-note { margin-top: var(--space-lg); color: var(--color-paper); font-size: var(--text-sm); opacity: 0.86; }
@media (max-width: 60rem) {
  .hero { min-height: auto; }
  .hero-base { padding-block: var(--space-4xl) var(--space-xl); }
  .hero-price { padding: var(--space-xs) var(--space-md) var(--space-sm); }
  .hero-price .figure { font-size: var(--text-2xl); }
}

/* ---- shared section furniture ---------------------------------------- */

.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.section--roomy { padding-block: var(--section-gap-l); }
.band-well { background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-rule-2); }
.band-ink { background: var(--color-ink); color: var(--color-paper); }
.band-ink h2, .band-ink h3 { color: var(--color-paper); }
.band-ink .lead, .band-ink p { color: var(--color-paper); }
.band-ink small, .band-ink figcaption { color: var(--color-paper-3); }

.head-block { max-width: 46rem; }
.head-block .lead { margin-top: var(--space-md); color: var(--color-muted); }
.band-ink .head-block .lead { color: var(--color-paper-3); }
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-columns);
  align-items: end;
}
@media (max-width: 60rem) { .head-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* ---- showcase: the two stores ---------------------------------------- */

.showcase-lead { margin-top: var(--space-2xl); display: block; text-decoration: none; }
.shot {
  display: block;
  border-radius: var(--radius-card);
  outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent);
  outline-offset: -1px;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.shot-frame { aspect-ratio: 1200 / 681; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.shot-frame--tall { aspect-ratio: 1200 / 644; }
.showcase-meta {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-columns);
  align-items: start;
  border-top: var(--rule-hair) solid var(--color-rule);
  padding-top: var(--space-md);
}
.showcase-meta p { color: var(--color-muted); max-width: 54ch; }
.band-ink .showcase-meta { border-color: var(--color-rule-2); }
.band-ink .showcase-meta p { color: var(--color-paper-3); }
.visit { font-weight: 500; text-decoration: underline; text-decoration-color: currentColor; }
.showcase-pair {
  margin-top: var(--space-3xl);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-columns);
  align-items: stretch;
}
.showcase-pair > * { display: flex; flex-direction: column; }
.showcase-pair figure { margin: 0; }
/* the portrait is a photograph, so it takes the slack and both columns
   close on the same line instead of leaving a hole under the caption. */
.showcase-pair figure .shot-frame { flex: 1; aspect-ratio: auto; min-height: 420px; }
.showcase-pair figcaption { margin-top: var(--space-sm); }
@media (max-width: 60rem) {
  .showcase-meta, .showcase-pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .showcase-pair { margin-top: var(--space-2xl); }
  .showcase-pair figure .shot-frame { min-height: 320px; }
}
@media (max-width: 48rem) {
  /* the stores are the page's only proof, so hold their own type legible:
     a taller frame on the left of each capture rather than the whole width. */
  .shot-frame, .shot-frame--tall { aspect-ratio: 3 / 2; }
  .shot { object-position: left top; }
}

/* ---- bento ------------------------------------------------------------ */

.bento {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-columns);
}
.tile {
  grid-column: span 4;
  border-top: var(--rule-bar) solid var(--color-rule-2);
  padding-top: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-sm);
  min-width: 0;
}
.tile--lead { grid-column: span 8; }
.tile--wide { grid-column: span 6; }
.tile svg { flex-shrink: 0; }
.tile-head { display: flex; align-items: flex-start; gap: var(--space-sm); }
.tile p { color: var(--color-muted); max-width: 52ch; }
.tile-fill { background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-lg); border-top: 0; }
.tile-fill p { color: var(--color-accent-ink); }
@media (max-width: 60rem) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xl); }
  .tile, .tile--lead, .tile--wide { grid-column: span 6; }
}

/* ---- statement -------------------------------------------------------- */

.statement {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--text-display-s);
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  max-width: 32ch;
  overflow-wrap: break-word;
  min-width: 0;
}
.statement-note { margin-top: var(--space-lg); color: var(--color-paper-3); max-width: 48ch; }

/* ---- the care sheet --------------------------------------------------- */

.sheet { width: 100%; border-collapse: collapse; margin-top: var(--space-2xl); }
.sheet caption { text-align: left; color: var(--color-muted); font-size: var(--text-sm); padding-bottom: var(--space-sm); }
.sheet thead th { border-top: var(--rule-bar) solid var(--color-rule-2); border-bottom: var(--rule-bar) solid var(--color-rule-2); }
.sheet th, .sheet td {
  text-align: left;
  padding: var(--space-md) var(--space-md) var(--space-md) 0;
  border-top: var(--rule-hair) solid var(--color-rule);
  vertical-align: baseline;
}
.sheet th { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.sheet td:first-child { font-weight: 500; color: var(--color-ink); width: 34%; }
.sheet td:last-child { color: var(--color-muted); }
.sheet tbody tr:last-child td { border-bottom: var(--rule-bar) solid var(--color-rule-2); }
.sheet .count { font-family: var(--font-outlier); font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--text-lg); color: var(--color-ink); }
.sheet .count--word { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.sheet tr.is-free td { background: var(--color-accent); }
.sheet tr.is-free td, .sheet tr.is-free .count { color: var(--color-accent-ink); }
@media (max-width: 48rem) {
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sheet tr { display: grid; grid-template-columns: minmax(0, 1fr); border-top: var(--rule-bar) solid var(--color-rule-2); padding-block: var(--space-sm); }
  .sheet td { border: 0; padding: var(--space-2xs) 0; width: auto !important; }
  .sheet tbody tr:last-child td { border-bottom: 0; }
}

/* ---- the offer and the enquiry ---------------------------------------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-3xl);
  align-items: start;
}
.prices { display: grid; gap: var(--space-xl); }
.price-line { border-top: var(--rule-bar) solid var(--color-rule-2); padding-top: var(--space-md); }
.price-line .figure { color: var(--color-paper); }
.price-line p { color: var(--color-paper-3); margin-top: var(--space-xs); max-width: 36ch; }
.price-line--accent { border-top-color: var(--color-accent); }

form { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); color: var(--color-paper-3); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-ink);
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  padding: var(--space-sm) var(--space-md);
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.form-note { font-size: var(--text-sm); color: var(--color-paper-3); min-height: 1lh; }
.form-note a { color: var(--color-paper); }
.thanks { border-top: var(--rule-bar) solid var(--color-accent); padding-top: var(--space-md); color: var(--color-paper); }
@media (max-width: 60rem) {
  .offer { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .two-col { grid-template-columns: minmax(0, 1fr); }
}

/* ---- footer: index columns -------------------------------------------- */

.site-foot { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl) var(--space-xl); }
.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: var(--gap-columns);
  border-top: var(--rule-bar) solid var(--color-rule-2);
  padding-top: var(--space-xl);
}
.foot-mark { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.foot-cols h2 { font-size: var(--text-sm); font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--color-paper-3); }
.foot-cols ul { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: grid; gap: var(--space-xs); }
.foot-cols a { font-size: var(--text-sm); }
.foot-legal { margin-top: var(--space-xl); color: var(--color-paper-3); font-size: var(--text-xs); display: grid; gap: var(--space-2xs); }
@media (max-width: 60rem) { .foot-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---- the one reveal ---------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .enters { opacity: 0; transform: translateY(8px); }
  .js .enters.is-in {
    opacity: 1; transform: none;
    transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
}
