/* ============================================================================
   visual-hierarchy.css · L'Ateleir sitewide visual hierarchy update
   ----------------------------------------------------------------------------
   Shared utilities for the de-numbering work. Tokens only from design-system.css
   + themes/theme-1-plum.css — no new brand colors, no gradients, no shadows.

   LOAD ORDER (every page, after the theme so nothing here is overridden):
     design-system.css → site.css → collection-links.css → themes/theme-1-plum.css
     → visual-hierarchy.css

   ONE new token is required (see §0). Everything else references existing ones.
   ========================================================================== */

/* ---- §0 · New token -------------------------------------------------------
   --blush-lite is --blush-nude lifted to --cream's luminance. Going darker
   than cream for a section background pushes the 11–12px gold labels below
   their current contrast (gold-deep on cream is already only ~3.5:1), so the
   blush step separates by HUE, not by weight. Add the plum value to
   themes/theme-1-plum.css and the espresso fallback to design-system.css. */
/* The token itself lives in design-system.css (#FAF0EA, espresso fallback) and
   themes/theme-1-plum.css (#FAEEEB). It is NOT declared here: this file loads
   after the theme, so a :root rule here would override the Plum value. */

/* ---- §1 · Section shell --------------------------------------------------- */
.sec-pad     { padding: clamp(72px, 7.5vw, 112px) 28px; }  /* 112 desktop → 72 mobile */
.sec--ivory  { background: var(--porcelain); }             /* #FCF9F6 */
.sec--blush  { background: var(--blush-lite); }            /* #FAEEEB */
.sec--white  { background: var(--marble); }                /* #FFFFFF  */
.sec--plum   { background: var(--espresso); }              /* #46213D  */

/* ---- §2 · Non-numbered section kicker + gold rule ------------------------- */
.sec-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 0 18px;
  background: var(--gold-antique);
}
.sec-rule--center { margin-left: auto; margin-right: auto; }

.sec-kicker {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.sec-title {
  margin: 22px 0 18px;
  font-family: var(--font-display);
  font-weight: 600;                 /* was 500 — confident, not heavy */
  font-size: var(--fs-h2);
  line-height: 1.12;
  color: var(--espresso);
}
.sec--plum .sec-kicker { color: var(--accent-band); }
.sec--plum .sec-title  { color: var(--text-band-hi); }

/* ---- §3 · Non-numbered treatment row -------------------------------------- */
.tx-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 4px;
  border-top: 1px solid rgba(147, 124, 74, 0.45);   /* gold-deep hairline */
}
.tx-row:last-of-type { border-bottom: 1px solid rgba(147, 124, 74, 0.45); }
.tx-row__head { flex: 1 1 280px; }
.tx-row__body { flex: 2 1 380px; }
.tx-row__name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem);  /* 24 → 30px */
  line-height: 1.16;
  color: var(--espresso);
}
.tx-row__products {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
@media (max-width: 720px) {
  .tx-row { gap: 14px; padding: 30px 0; }
  .tx-row__products { margin-bottom: 14px; }
}

/* ---- §4 · Non-numbered pillar card ---------------------------------------- */
.pillar-card {
  display: block;
  height: 100%;
  padding: 30px 26px 28px;
  background: var(--marble);
  border: var(--hairline);
  border-top: 2px solid var(--gold-antique);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.pillar-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--espresso);
}

/* ---- §5 · Progression (sequential content, numbers hidden) ----------------
   Option 1a: one continuous hairline behind the row, gold dots sitting on it.
   Keep the <ol> so the order stays in the accessibility tree. */
.seq {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.seq::before {                       /* the connector */
  content: "";
  position: absolute;
  top: 4px;
  left: 16.666%;                     /* inset to the first and last dot */
  right: 16.666%;
  height: 1px;
  background: rgba(147, 124, 74, 0.45);
}
.seq > li { position: relative; text-align: center; }
.seq__dot {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gold-antique);
}
.seq__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--espresso);
}
@media (max-width: 720px) {          /* vertical rail, same marks */
  .seq { grid-template-columns: 1fr; gap: 0; }
  .seq::before { display: none; }
  .seq > li { display: flex; gap: 18px; text-align: left; padding-bottom: 34px; }
  .seq > li:last-child { padding-bottom: 0; }
  .seq > li::before {                /* per-item vertical line */
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    bottom: 0;
    width: 1px;
    background: rgba(147, 124, 74, 0.45);
  }
  .seq > li:last-child::before { display: none; }
  .seq__dot { margin: 0 18px 0 0; flex: none; }
  .seq__title { margin-top: -4px; font-size: 1.4rem; }
}

/* ---- §6 · Labelled vertical progression (Your first visit) ---------------- */
.fv-step { display: flex; gap: 20px; }
.fv-step__rail { flex: none; width: 9px; display: flex; flex-direction: column; align-items: center; }
.fv-step__dot  { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-antique); }
.fv-step__line { flex: 1; width: 1px; background: rgba(147, 124, 74, 0.5); }
.fv-step__body { flex: 1; margin-top: -5px; padding-bottom: 30px; }
.fv-step:last-child .fv-step__body { padding-bottom: 0; }
.fv-step__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---- §7 · Dark tile rule (ICOONE three actions) --------------------------- */
.tile-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 0 20px;
  background: var(--gold-leaf);
}

/* ---- §8 · Hidden ordinals -------------------------------------------------
   For any remaining <ol> whose order is meaningful but whose numerals are not
   a design device. */
.ol-unnumbered { list-style: none; margin: 0; padding: 0; }


/* --------------------------------------------------------------------------
   5. Real Results band (added 2026-09-18, v0.42.0)
   The homepage copy of the services results strip. Same treatment as
   [data-service-results] in site.css — dark rounded band, tiles keep their
   deeper backing — but on its own hook so add-service-results.mjs never
   mistakes it for something it generated. No bleed margins here: the band
   sits inside the section's own padding.
   -------------------------------------------------------------------------- */
.la-results {
  padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2.4vw, 32px);
  background: var(--bg-band-dark, #252019);
  border-radius: var(--radius-lg, 16px);
}
.la-results .result-tile { background: var(--bg-band-deep, #1B1712); }

