/* ==========================================================================
   SKINSOURCER, PHASE 1
   Shared stylesheet for all pages.

   DESIGN TOKENS
   Values below implement the SkinSourcer Visual Identity, Developer
   Style Guide V1 (July 2026): Libre Caslon Display for headlines,
   Hanken Grotesk for body, IBM Plex Mono for provenance details,
   warm paper palette with a single stamp-red accent. Fonts load from
   Google Fonts via the link tag in each page head. To retheme the
   site, edit this block only.
   ========================================================================== */

:root {
  /* ----- Typography ----- */
  --font-display: "Libre Caslon Display", Georgia, serif;  /* headlines, product names, wordmark. Weight 400 only, never bold, never italic */
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Helvetica, Arial, sans-serif;   /* body 400/500/600 */
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace; /* edition markers, manifests, prices, addresses, stamps */

  --text-hero: clamp(2.4rem, 6.5vw, 4.75rem);  /* H1 76px desktop */
  --text-h1: clamp(2.1rem, 5.5vw, 3.6rem);
  --text-h2: clamp(1.7rem, 4vw, 2.875rem);     /* H2 46px */
  --text-h3: 1.6875rem;                        /* H3 27px */
  --text-body: 1.03125rem;                     /* 16.5px */
  --text-subhead: 1.1875rem;                   /* 19px */
  --text-small: 0.875rem;
  --text-button: 0.78125rem;                   /* 12.5px */
  --text-marker: 0.75rem;                      /* 12px */

  --leading-hero: 1.06;
  --leading-h2: 1.14;
  --leading-h3: 1.3;
  --leading-body: 1.68;
  --leading-subhead: 1.6;

  --tracking-button: 0.18em;
  --tracking-marker: 0.22em;
  --tracking-wordmark: 0.3em;

  /* ----- Color (style guide section 02) ----- */
  --color-bg: #f4efe7;            /* PAPER, page background */
  --color-surface: #eae3d6;       /* IVORY, alt section background */
  --color-ink: #221d17;           /* INK, text and buttons */
  --color-ink-body: #443e36;      /* SOFT INK, long-form body */
  --color-ink-soft: #6e6459;      /* TAUPE, secondary text */
  --color-line: #d9d0c1;          /* HAIRLINE, rules and borders */
  --color-accent: #8f3b2c;        /* STAMP RED, the only accent */
  --color-on-accent: #f4efe7;     /* text on dark or red backgrounds */
  --color-sold-border: #c9bfae;   /* sold-out button border */
  --color-sold-text: #9a9083;     /* sold-out button text */

  /* ----- Spacing and layout ----- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --page-max: 74rem;
  --measure: 38rem;
  --radius: 0;                    /* square corners everywhere */
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--color-ink-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* decorative overhangs (customs stamp) must never cause sideways scroll */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400; /* never bold, never italic */
  color: var(--color-ink);
}

h1 { line-height: var(--leading-hero); }
h2 { line-height: var(--leading-h2); }
h3 { line-height: var(--leading-h3); }

.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-3); }

.measure { max-width: var(--measure); }

/* Edition marker, inline variant (style guide section 04) */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 8px 14px;
  border-radius: var(--radius);
}

/* Visible placeholder for content only Lauren can supply */
.todo-placeholder {
  border: 1px dashed var(--color-accent);
  background: var(--color-surface);
  color: var(--color-ink-soft);
  padding: var(--space-3);
  font-size: var(--text-small);
  border-radius: var(--radius);
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--color-ink); }

.site-nav a {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  text-decoration: none;
  margin-left: var(--space-3);
}
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover { color: var(--color-accent); }
.site-nav a[aria-current="page"] { color: var(--color-ink); }

/* Mobile header: without these rules the four nav links wrap raggedly under
   the wordmark (three on one line, REQUEST orphaned beneath). Stack the
   wordmark over a single centred nav row and tighten the tracking so all
   four labels fit a 375px viewport on one line. */
@media (max-width: 600px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }
  .wordmark {
    font-size: 1.15rem;
  }
  .site-nav {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
  }
  .site-nav a {
    margin-left: 0;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: var(--space-6) 0 var(--space-5); }

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: end;
}

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 300px; gap: 6rem; }
}

.hero h1 {
  font-size: var(--text-hero);
  letter-spacing: -0.01em;
  max-width: 15ch;
  text-wrap: balance;
  margin-bottom: var(--space-3);
}

.hero .subhead {
  font-size: var(--text-subhead);
  line-height: var(--leading-subhead);
  color: var(--color-ink-soft);
  max-width: 560px;
  margin-bottom: var(--space-4);
}

.hero .btn .glyph { font-family: var(--font-mono); font-weight: 400; margin-left: 14px; }

/* Import manifest, quiet provenance (design handoff, hero right column) */
.manifest {
  border-top: 1px solid var(--color-ink);
  padding-top: 14px;
}

.manifest-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 12px;
}

.manifest-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  border-bottom: 1px dotted var(--color-sold-border);
  padding: 8px 0;
}

.manifest-row:last-child { border-bottom: none; }
.manifest-row .val { color: var(--color-ink); }
.manifest-row .val-cleared { color: var(--color-accent); }

/* ==========================================================================
   Buttons (style guide section 03)
   All buttons: Hanken Grotesk 600, 12.5px, uppercase, 0.18em tracking,
   square corners, min touch height 44px, full width on mobile.
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-button);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 19px 36px;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--color-ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--color-ink); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }

.btn-secondary { background: transparent; color: var(--color-ink); }
.btn-secondary:hover { color: var(--color-accent); border-color: var(--color-accent); }

@media (max-width: 540px) {
  .btn { display: block; width: 100%; }
}

/* ==========================================================================
   Drop 001 product section
   ========================================================================== */

.drop { padding: var(--space-5) 0; border-top: 1px solid var(--color-line); }

.drop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 760px) {
  .drop-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.drop-photo-wrap { position: relative; }

.drop-photo {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-3);
}

/* Customs stamp, overlaps the plate's top-right corner */
.stamp {
  position: absolute;
  top: -30px;
  right: -18px;
  width: 128px;
  height: 128px;
  transform: rotate(8deg);
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* The SVG must track its wrapper's size, or it overflows the viewport on phones */
.stamp svg { width: 100%; height: 100%; }

@media (max-width: 540px) {
  .stamp { width: 92px; height: 92px; top: -22px; right: -8px; }
}

.drop-photo img { margin: 0 auto; max-height: 560px; width: auto; }

.drop-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding-top: var(--space-2);
}

.drop-details .eyebrow { margin-bottom: var(--space-3); }

.product-name { font-size: var(--text-h2); margin-bottom: var(--space-1); }

.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}

.drop-headline { font-size: var(--text-h3); margin-bottom: var(--space-2); }

.drop-details p { max-width: var(--measure); margin-bottom: var(--space-3); }

.how-to-use {
  border-left: 2px solid var(--color-line);
  padding-left: var(--space-2);
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin: var(--space-3) 0 var(--space-2);
}

@media (max-width: 540px) {
  .buy-row { display: block; }
  .buy-row .btn { margin-bottom: var(--space-1); }
}

.scarcity {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* Shipping facts, styled like the import manifest */
.logistics {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* ----- Sold-out state ---------------------------------------------------
   Toggle by adding class "sold-out" to the <body> tag of index.html:
   <body class="sold-out">
   The Buy button becomes "Drop 001: Sold Out" and the email capture
   section becomes the visually primary call to action.
   ------------------------------------------------------------------------ */

.buy-btn .label-sold { display: none; }

body.sold-out .buy-btn .label-live { display: none; }
body.sold-out .buy-btn .label-sold { display: inline; }

body.sold-out .buy-btn {
  pointer-events: none;
  cursor: not-allowed;
  background: transparent;
  border-color: var(--color-sold-border);
  color: var(--color-sold-text);
}

body.sold-out .scarcity { display: none; }

body.sold-out .email-cta {
  background: var(--color-accent);
}
body.sold-out .email-cta h2,
body.sold-out .email-cta p { color: var(--color-on-accent); }
body.sold-out .email-cta .email-form button {
  background: var(--color-bg);
  color: var(--color-accent);
  border-color: var(--color-bg);
}
body.sold-out .email-cta .email-form input[type="email"] {
  border-bottom-color: var(--color-on-accent);
  color: var(--color-on-accent);
}
body.sold-out .email-cta .cta-eyebrow { color: var(--color-on-accent); }

/* ==========================================================================
   Three pillars
   ========================================================================== */

.pillars { padding: var(--space-5) 0; border-top: 1px solid var(--color-line); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 760px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar { border-top: 1px solid var(--color-ink); padding-top: var(--space-2); }

.pillar-index {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.pillar h3 { font-size: 1.6rem; margin-bottom: var(--space-1); }
.pillar p { font-size: var(--text-small); color: var(--color-ink-soft); }

/* ==========================================================================
   Email capture
   ========================================================================== */

.email-cta {
  background: var(--color-surface);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-line);
}

.email-cta .cta-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.email-cta h2 { font-size: var(--text-h2); margin-bottom: var(--space-2); }
.email-cta p { max-width: var(--measure); margin-bottom: var(--space-3); color: var(--color-ink-soft); }

@media (min-width: 900px) {
  .email-cta .wrap { text-align: center; }
  .email-cta p, .email-cta .email-form { margin-left: auto; margin-right: auto; }
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  max-width: 28rem;
}

.email-form input[type="email"] {
  flex: 1 1 14rem;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  padding: 0.85em 0.5em;
  min-height: 44px;
  border: none;
  border-bottom: 1px solid var(--color-ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-ink);
}

.email-form input[type="email"]::placeholder { color: var(--color-sold-text); }

.email-form input[type="email"]:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.email-form button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-button);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  padding: 0.85em 1.6em;
  min-height: 44px;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-on-accent);
  cursor: pointer;
}

.email-form button:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* ==========================================================================
   Inner pages (Source Report, Criteria, Founder)
   ========================================================================== */

.page { padding: var(--space-5) 0 var(--space-6); }

.page-title { font-size: var(--text-h1); max-width: 24ch; margin-bottom: var(--space-4); }

.page section { margin-bottom: var(--space-4); }

.page h2 { font-size: var(--text-h3); margin-bottom: var(--space-1); }

.page p, .page li { max-width: var(--measure); }

.page ol { padding-left: 1.4em; max-width: var(--measure); }
.page ol li { margin-bottom: var(--space-2); }

/* ----- Source Report dossier ------------------------------------------
   The report reads as a physical file: bordered card, file tab, subject
   identification on the left, numbered entries on the right, and the
   five-criteria "Sourcing checks" panel as the report card. ----- */

.file-card {
  position: relative;
  border: 1px solid var(--color-ink);
  background: var(--color-bg);
  padding: var(--space-4);
  margin-top: 16px;
}

.file-tab {
  position: absolute;
  top: -15px;
  left: var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-ink);
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
}

.file-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* min 0 so the product image can shrink below its natural width */
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 900px) {
  .file-grid { grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-5); }
}

.file-title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin: 6px 0 var(--space-3);
}

.subject-manifest {
  border-top: 1px solid var(--color-ink);
  padding-top: 6px;
  margin-bottom: var(--space-3);
}

.file-entry { margin-bottom: var(--space-4); }
.file-entry:last-child { margin-bottom: 0; }

.entry-no {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  color: var(--color-accent);
  margin-right: 12px;
  position: relative;
  top: -3px;
}

/* The report card: the verification ledger. Every check names its evidence. */
.checks-panel {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: var(--space-3);
}

.checks-intro {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-2);
}

.verif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px dotted var(--color-sold-border);
  padding: 10px 0;
}

.verif-row:last-of-type { border-bottom: none; }

.verif-no {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-right: 8px;
}

.verif-name {
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--color-ink);
}

.verif-evidence {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-top: 3px;
}

.chip {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.checks-panel .checks-note {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* Chain of custody: four stops from the maker to the customer's shelf */
.custody-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

@media (min-width: 900px) {
  .custody-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stop { border-top: 1px solid var(--color-ink); padding-top: 10px; }

.stop-label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.stop h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.stop-detail {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

.custody-note {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* Closing band: the file signs itself off */
.filed-band {
  border-top: 1px solid var(--color-ink);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
}

.filed-band h2 { font-size: var(--text-h3); }

.filed-line {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.report-photo {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin-bottom: 0;
}

/* Buy module inside the photo card: the report's only purchase point */
.report-photo .buy-btn {
  display: block;
  width: 100%;
  margin-top: var(--space-2);
  padding-left: 12px;
  padding-right: 12px;
}

.report-photo .scarcity {
  text-align: center;
  margin-top: var(--space-1);
}

.report-photo .logistics {
  text-align: center;
  margin-top: 6px;
}

.inci {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-3);
  max-width: var(--measure);
  overflow-wrap: anywhere; /* slash-joined INCI names have no spaces and must be allowed to break */
}

.key-ingredients {
  max-width: var(--measure);
  margin-bottom: var(--space-3);
}

.inci-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-1);
}

.import-trail {
  list-style: none;
  padding: 0;
  max-width: var(--measure);
}

.import-trail li {
  padding: var(--space-1) 0 var(--space-1) var(--space-3);
  border-left: 1px solid var(--color-line);
  position: relative;
}

.import-trail li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 1.1em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.founder-note {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-ink);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-3);
  max-width: var(--measure);
}

/* Attribution under the criteria-page quote; the only route to /founder */
.founder-attrib {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* ==========================================================================
   Request page (interactive sourcing-request form)
   ========================================================================== */

.request-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 900px) {
  .request-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 5rem; }
}

.request-grid > div > p { margin-bottom: var(--space-4); }

.request-form .field { margin-bottom: var(--space-3); }

.request-form label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 8px;
}

.request-form label .req { color: var(--color-accent); }

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"],
.request-form textarea {
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--color-ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-ink);
  border-radius: var(--radius);
  padding: 0.85em 0.5em;
  min-height: 44px;
}

.request-form textarea {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  min-height: 7.5em;
  line-height: 1.6;
  resize: vertical;
}

.request-form input::placeholder,
.request-form textarea::placeholder { color: var(--color-sold-text); }

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  margin-top: 6px;
}

/* Live request manifest, assembles as the form is filled */
.request-manifest { position: sticky; top: var(--space-3); }

.request-manifest .manifest-row .val:empty::before { content: "\00b7\00b7\00b7"; color: var(--color-sold-text); }

/* ==========================================================================
   Founder page
   ========================================================================== */

.founder-banner {
  border-bottom: 1px solid var(--color-line);
}

.founder-banner img {
  width: 100%;
  height: clamp(180px, 32vw, 340px);
  object-fit: cover;
  display: block;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 760px) {
  .founder-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.founder-photo {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-2);
  max-width: 22rem;
}

.founder-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding-top: var(--space-2);
}

.founder-bio p { margin-bottom: var(--space-3); }

/* ==========================================================================
   Footer (global, on every page)
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg);
  padding: var(--space-5) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 3fr 2fr; }
}

.footer-signup p {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-2);
}

.footer-social { font-size: var(--text-small); }
.footer-social a {
  display: inline-block;
  margin-right: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.routing-line {
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sold-text);
  margin-bottom: var(--space-3);
}

.footer-legal {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

.footer-legal .disclaimer { margin-top: var(--space-1); max-width: 60rem; }


.form-msg {
  margin-top: var(--space-1);
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  min-height: 1.2em;
}


/* ==========================================================================
   Wholesale page
   Reuses the site's page, eyebrow, pillars, manifest, and request-form
   components; the styles below are only what wholesale adds on top.
   ========================================================================== */

.lede {
  font-size: var(--text-subhead);
  line-height: var(--leading-subhead);
  color: var(--color-ink-soft);
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

/* Terms ledger: manifest rows on an ivory plate */
.wholesale-terms {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: var(--space-3);
  max-width: 46rem;
  margin-bottom: var(--space-5);
}

.wholesale-terms .terms-note {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* Application layout: intro column + form */
.wholesale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 900px) {
  .wholesale-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 5rem; }
}

/* Two-column form on wider screens */
.wholesale-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }

@media (min-width: 760px) {
  .wholesale-form { grid-template-columns: 1fr 1fr; column-gap: var(--space-3); }
  .wholesale-form .span-2 { grid-column: 1 / -1; }
}

.wholesale-form .field { margin-bottom: 0; }

.request-form select {
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--color-ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-ink);
  border-radius: var(--radius);
  padding: 0.85em 0.5em;
  min-height: 44px;
}

.request-form select:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }

.row-city {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2);
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--color-ink-body);
}

.agree input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

/* Nested field text must not inherit the label's mono-uppercase voice */
.wholesale-form .field-hint,
.wholesale-form .agree,
.wholesale-form .agree span {
  font-family: var(--font-body);
  letter-spacing: normal;
  text-transform: none;
}

.wholesale-form .field-hint { font-size: 0.8rem; color: var(--color-ink-soft); }

/* Honeypot: invisible to humans, irresistible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Post-submit confirmation, in the file-card voice */
.wholesale-success {
  border: 1px solid var(--color-ink);
  padding: var(--space-4);
}

.wholesale-success h3 {
  font-size: var(--text-h3);
  margin: var(--space-1) 0 var(--space-2);
}

.wholesale-success p {
  color: var(--color-ink-body);
  max-width: var(--measure);
  margin: 0;
}

/* social feed */
.social-feed {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-line);
}

.social-feed .feed-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.social-feed h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-2);
}

.social-feed .feed-sub {
  color: var(--color-ink-soft);
  max-width: var(--measure);
  margin-bottom: var(--space-3);
}

.feed-panel {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  padding: var(--space-3);
  min-height: 320px;
}

.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.feed-links a {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   The Shelf
   Editorial index of products already within reach in America. Two page
   types share this block: the index of Edits, and an individual Edit.
   ========================================================================== */

/* ----- Index ----------------------------------------------------------- */

.shelf-wordmark {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-explainer {
  max-width: var(--measure);
  margin: var(--space-3) 0 var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

/* ----- Index masthead, centred -----------------------------------------
   Scoped to .shelf-index so only the index masthead is affected. Every Edit
   page and every department page keeps the left-aligned header it has now. */

/* The eyebrow is inline-block elsewhere, so text-align on it would only centre
   its own text. Block-level is what actually centres the element here. */
.shelf-index .eyebrow {
  display: block;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.shelf-index > .wrap > .eyebrow,
.shelf-index > .wrap > .page-title,
.shelf-index > .wrap > .lede,
.shelf-index .shelf-explainer {
  text-align: center;
}

.shelf-index > .wrap > .lede,
.shelf-index .shelf-explainer {
  margin-left: auto;
  margin-right: auto;
}

/* .page-title is capped at 24ch, so centring its TEXT still left the block
   itself sitting at the left edge of the wrap. The auto margins centre the box. */
.shelf-index > .wrap > .page-title {
  margin-top: var(--space-2);
  margin-left: auto;
  margin-right: auto;
}

.shelf-index .shelf-departments-inner {
  justify-content: center;
}

.shelf-drops {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-5);
}

.shelf-drops h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  color: var(--color-ink);
  margin: var(--space-1) 0 var(--space-2);
}

.shelf-drops p { max-width: var(--measure); }

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-5) var(--space-4);
  margin-top: var(--space-4);
}

.shelf-tile {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--space-3);
}

.shelf-tile-img {
  display: block;
  background: var(--color-surface);
  overflow: hidden;
}

.shelf-tile-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 400ms ease;
}

.shelf-tile:hover .shelf-tile-img img { transform: scale(1.02); }

.shelf-tile-eyebrow {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
}

.shelf-tile-title {
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-ink);
}

.shelf-tile:hover .shelf-tile-title { color: var(--color-accent); }

.shelf-tile-deck {
  display: block;
  margin-top: 0.6rem;
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  line-height: 1.55;
}

/* ----- An Edit --------------------------------------------------------- */

.shelf-crumb {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* No plate behind the artwork. The cabinet already has its own edges, so a
   surface panel around it read as a second frame with beige bands either side. */
.shelf-hero {
  margin: var(--space-4) 0;
}

.shelf-hero img {
  display: block;
  width: 100%;
  max-width: 40rem;
  height: auto;
  margin: 0 auto;
}

.shelf-intro {
  max-width: var(--measure);
  margin-bottom: var(--space-5);
}

.shelf-intro p + p { margin-top: var(--space-2); }

.shelf-disclosure {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

/* One product: image plate on the left, the case for it on the right */
.shelf-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
}

.shelf-item:first-child { border-top: 1px solid var(--color-ink); }

@media (min-width: 48rem) {
  .shelf-item {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: var(--space-4);
    align-items: start;
  }
}

.shelf-item-media img,
.shelf-item-noimg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
}

.shelf-item-index {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  color: var(--color-accent);
}

.shelf-item-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-ink);
  margin: 0.35rem 0 var(--space-2);
}

.shelf-brand { display: block; font-size: 1rem; color: var(--color-ink-soft); }

.shelf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-2);
}

.shelf-meta span:not(:last-child)::after {
  content: " ·";
  color: var(--color-line);
}

.shelf-likes {
  list-style: none;
  margin: var(--space-2) 0;
  padding: 0;
}

.shelf-likes li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-small);
  line-height: 1.6;
}

.shelf-likes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 1px;
  background: var(--color-accent);
}

.shelf-spec {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.35rem var(--space-2);
  margin: var(--space-2) 0;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--text-small);
}

.shelf-spec dt {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.shelf-spec dd { margin: 0; overflow-wrap: anywhere; }

.shelf-verdict {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--color-ink);
  margin: var(--space-2) 0;
}

.shelf-buy { margin-top: var(--space-1); }

.shelf-buy-note {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
}

.shelf-buy-pending {
  padding: 0.6rem 0.8rem;
  border: 1px dashed var(--color-sold-border);
  background: var(--color-surface);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}

/* Products we will not link until we trust the listing */
.shelf-pending {
  margin-top: var(--space-5);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.shelf-pending p { max-width: var(--measure); font-size: var(--text-small); }

.shelf-pending ul {
  margin: var(--space-2) 0 0;
  padding-left: 1.1rem;
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

.shelf-related {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-ink);
}

.shelf-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-2);
}

.shelf-footnote {
  margin-top: var(--space-5);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.05em;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

/* The Shelf teaser on the homepage: the route into the editorial index */
.shelf-teaser {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.shelf-teaser h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  color: var(--color-ink);
  margin: var(--space-2) 0;
  max-width: 22ch;
}

.shelf-teaser p {
  max-width: var(--measure);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   THE SHELF, DEPARTMENTS
   Editorial section navigation for SKIN · MAKEUP · HAIR · WELLNESS · OBJECTS.
   Built from the existing vocabulary only: IBM Plex Mono caps at marker size,
   hairline rules, stamp red for the active section. No pills, no boxes, no
   buttons, nothing that reads as store navigation.
   ========================================================================== */

.shelf-departments {
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}

.shelf-departments-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-3);
  padding: var(--space-2) 0;
}

.shelf-dept-link {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-ink-soft);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.18s ease;
}

/* The separator is drawn, not typed, so it never wraps onto its own line. */
.shelf-dept-link + .shelf-dept-link::before {
  content: "";
  position: absolute;
  left: calc(var(--space-3) / -2);
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--color-line);
}

.shelf-dept-link:hover,
.shelf-dept-link:focus-visible {
  color: var(--color-ink);
}

.shelf-dept-link.is-active {
  color: var(--color-accent);
}

/* A rule under the active section rather than a filled shape. */
.shelf-dept-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--color-accent);
}

/* Mobile: same type, edge to edge, scrolls horizontally rather than stacking
   into an app menu. The scrollbar is hidden; the fade edge signals more. */
@media (max-width: 40rem) {
  .shelf-departments-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0 var(--space-3);
  }
  .shelf-departments-inner::-webkit-scrollbar { display: none; }
  .shelf-dept-link { white-space: nowrap; }
}

/* Related Edits shown with their covers. Reuses .shelf-grid so the tiles are
   identical to the index; only the column count is tighter. */
.shelf-grid-related {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: var(--space-4) var(--space-3);
}

/* A department with nothing in it yet. Says so, in the site's own voice. */
.shelf-empty {
  margin-top: var(--space-4);
  padding: var(--space-4) 0 var(--space-5);
  border-top: 1px solid var(--color-line);
}

.shelf-empty p {
  max-width: var(--measure);
  margin-top: var(--space-2);
  color: var(--color-ink-soft);
}

.shelf-empty p:first-of-type {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-ink);
}

/* ==========================================================================
   The Shelf: product pages
   Every product now has its own address at /shelf/p/<id>. The page is the
   reference entry behind the Edit, so it reuses the Edit's vocabulary
   (.shelf-spec, .shelf-likes, .shelf-verdict) rather than inventing a second
   one, and adds only what a page about one product needs.
   ========================================================================== */

/* The product name on an Edit is now the way through to its page. It must not
   start looking like a link: same face, same weight, accent only on hover,
   exactly as the tile titles behave. */
.shelf-item-body h3 a,
.shelf-sibling {
  color: inherit;
  text-decoration: none;
}

.shelf-item-body h3 a:hover,
.shelf-item-body h3 a:focus-visible { color: var(--color-accent); }

.shelf-item-media a { display: block; }

/* ----- The head: plate left, the case for it right ---------------------- */
.shelf-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-ink);
}

@media (min-width: 48rem) {
  .shelf-product-head {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
  }
}

.shelf-product-media { margin: 0; }

.shelf-product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
}

/* The brand sits above the product name at reading size, the way it does in an
   Edit entry, so the two read as the same object seen twice. */
.shelf-product .page-title {
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  max-width: 20ch;
}

.shelf-product .page-title .shelf-brand {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.shelf-product .lede { margin-bottom: var(--space-3); }

.shelf-product-buy { margin-top: var(--space-3); }

.shelf-product-body {
  max-width: var(--measure);
}

.shelf-product-body .manifest-label { margin-bottom: var(--space-1); }

.shelf-product-body .shelf-spec { margin: var(--space-3) 0; }

.shelf-product-body .shelf-verdict { margin-bottom: var(--space-3); }

.shelf-sourcing {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  padding-left: var(--space-2);
  border-left: 2px solid var(--color-line);
}

/* ----- The rest of the Edit -------------------------------------------- */
.shelf-siblings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.shelf-sibling-img {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
}

.shelf-sibling-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  transition: transform 0.5s ease;
}

.shelf-sibling:hover .shelf-sibling-img img { transform: scale(1.03); }

.shelf-sibling-brand {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.shelf-sibling-name {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--color-ink);
}

.shelf-sibling:hover .shelf-sibling-name { color: var(--color-accent); }

/* ----- Every product, by brand ----------------------------------------- */
.shelf-catalog-wrap {
  columns: 3 16rem;
  column-gap: var(--space-5);
  margin-top: var(--space-4);
}

/* A brand and its products must never be split across two columns. */
.shelf-catalog-group {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
}

.shelf-catalog-brand {
  font-family: var(--font-mono);
  font-size: var(--text-marker);
  letter-spacing: var(--tracking-marker);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.shelf-catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shelf-catalog-list li {
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.shelf-catalog-list a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-ink);
  text-decoration: none;
}

.shelf-catalog-list a:hover { color: var(--color-accent); }

.shelf-catalog-edit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* The section labels on a product page are real headings, not decorative divs:
   an h2 that names the product is the structure a search engine reads, and it
   is also what makes a one-line verdict readable on its own. "The July swap."
   means something under "Our verdict on the Isntree Hyaluronic Acid Aqua Gel
   Cream" and nothing under a bare "The verdict".
   Nothing here restyles the label. It only undoes what `.page h2` and the
   browser's own h2 defaults would impose on it: a display size, bold weight and
   a margin. Every value below is the one .manifest-label already sets, so the
   two render identically whether they are a div or an h2. */
.page h2.manifest-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
  padding-bottom: 12px;
  max-width: var(--measure);
}

.shelf-product-body h2.manifest-label { margin-top: var(--space-4); }
.shelf-product-body h2.manifest-label:first-child { margin-top: 0; }
