/* ==========================================================================
   Local Business Design System v2 — sections
   One block per section family in sections.mjs. Structure (rules, columns,
   type) carries the design; boxes and shadows are rare and deliberate.
   ========================================================================== */

/* --- Header: bar ---------------------------------------------------------- */
.ds-utility { background: var(--band); color: var(--band-ink); font-size: var(--step--1); }
.ds-utility__inner { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-block: 0.5rem; }
.ds-utility a { color: var(--band-ink); font-weight: 600; }
.ds-utility__hide-sm { display: none; }
@media (min-width: 40rem) { .ds-utility__hide-sm { display: inline; } }

.ds-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.ds-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; padding-block: 0.6rem; }
.ds-brand {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  font-size: var(--step-1);
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
}
.ds-nav { display: none; gap: 1.75rem; }
.ds-nav a { color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.ds-nav a:hover { color: var(--accent); }
@media (min-width: 52rem) { .ds-nav { display: flex; } }
.ds-header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.ds-header .ds-btn { min-height: 2.6rem; padding: 0.5rem 0.9rem; font-size: var(--step--1); white-space: nowrap; flex-shrink: 0; }

/* --- Header: stacked ------------------------------------------------------ */
.ds-header--stacked .ds-header__inner { flex-direction: column; justify-content: center; text-align: center; padding-block: 1.25rem 0; gap: 0.75rem; }
.ds-header--stacked .ds-brand { font-size: var(--step-2); }
.ds-header--stacked .ds-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem;
  width: 100%; border-top: 1px solid var(--line); padding-block: 0.7rem;
}

/* Name already leads the hero: the header is just navigation */
.ds-header--bare .ds-header__inner { padding-top: 0; }
.ds-header--bare .ds-nav { border-top: 0; }

/* --- Hero (shared) --------------------------------------------------------- */
.ds-hero { padding-block: calc(var(--section-y) * 1.1); }
.ds-hero__title { max-width: 20ch; }
.ds-hero__lede { font-size: var(--step-1); color: var(--ink-2); max-width: var(--measure); margin-top: 1.25rem; }
.ds-hero .ds-actions { margin-top: 2rem; }
.ds-hero__place { margin-top: 1.25rem; color: var(--ink-2); }

/* phone-first: the phone number is the one loud element */
.ds-phone-panel {
  background: var(--paper-2);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  padding: 1.5rem;
  align-self: start;
}
.ds-phone-panel__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: var(--heading-tracking);
  color: var(--ink);
  text-decoration: none;
  margin-block: 0.25rem 1rem;
  white-space: nowrap;
}
.ds-phone-panel dl { display: grid; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.ds-phone-panel dt { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }

/* headline-left: facts row under a rule */
.ds-facts { display: grid; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (min-width: 44rem) { .ds-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-facts a { color: var(--ink); font-weight: 600; }

/* band: dark, dense, workshop feel */
.ds-hero--band { background: var(--band); color: var(--band-ink); }
.ds-hero--band .ds-hero__title { font-size: var(--step-5); text-transform: var(--hero-case, none); line-height: 1.02; }
.ds-hero--band .ds-hero__lede { color: color-mix(in srgb, var(--band-ink) 82%, var(--band)); }
.ds-hero--band .ds-label { color: var(--band-2); }
.ds-hero__hours { border-left: 1px solid color-mix(in srgb, var(--band-ink) 25%, transparent); padding-left: 1.5rem; align-self: end; }
.ds-hero__hours dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; font-size: var(--step--1); }
.ds-hero__hours dt { font-weight: 600; }

/* editorial: big type, quiet everything else */
.ds-hero--editorial .ds-hero__title { font-size: var(--step-5); max-width: 18ch; }
.ds-hero--editorial .ds-cols { margin-top: 2.5rem; align-items: end; }
.ds-hero--editorial .ds-hero__lede { margin-top: 0; }
.ds-contact-block { display: grid; gap: 0.75rem; }
.ds-contact-block a { color: var(--ink); font-weight: 600; }

/* centered: the name is the headline (food, retail, salons) */
.ds-hero--centered { background: var(--paper-2); text-align: center; }
.ds-hero--centered .ds-hero__title { font-size: var(--step-5); max-width: none; }
.ds-hero__tagline { font-family: var(--font-heading); font-size: var(--step-2); margin: 0.75rem auto 0; max-width: 30ch; line-height: 1.3; text-wrap: balance; }
.ds-hero--centered .ds-hero__lede { margin-inline: auto; }
.ds-hero--centered .ds-actions { justify-content: center; }

/* statement: one oversized sentence for project-based trades */
.ds-hero--statement .ds-hero__title { font-size: var(--step-5); max-width: 16ch; }
.ds-hero--statement .ds-hero__lede { border-left: 3px solid var(--accent); padding-left: 1rem; }

/* booking: hours next to the ask */
.ds-hours-mini { font-size: var(--step--1); }
.ds-hours-mini table { width: 100%; border-collapse: collapse; }
.ds-hours-mini th, .ds-hours-mini td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.ds-hours-mini th { font-weight: 600; padding-right: 1rem; }

/* --- Trust strip ------------------------------------------------------------ */
.ds-trust { border-block: 1px solid var(--line); }
.ds-trust__list { display: flex; flex-wrap: wrap; gap: 1rem 0; padding-block: 1.5rem; }
.ds-trust__item { padding-inline: 0 2rem; margin-right: 2rem; border-right: 1px solid var(--line); }
.ds-trust__item:last-child { border-right: 0; }
/* A single item (usually just the rating) reads as one centered line, not a stranded tile */
.ds-trust__list:has(> :only-child) { justify-content: center; }
.ds-trust__item:only-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.25rem 0.75rem; padding: 0; margin: 0; text-align: center; }
@media (max-width: 40rem) {
  .ds-trust__list { flex-direction: column; }
  .ds-trust__item { border-right: 0; margin-right: 0; padding-inline: 0; }
}
.ds-trust__value { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--step-2); line-height: 1.1; display: block; }
.ds-stars { color: var(--accent); letter-spacing: 0.08em; font-size: var(--step--1); }

/* --- Services --------------------------------------------------------------- */
.ds-svc-columns { display: grid; gap: 0 var(--gap); }
@media (min-width: 40rem) { .ds-svc-columns { grid-template-columns: 1fr 1fr; } }
.ds-svc-columns li { border-top: 1px solid var(--line); padding-block: 1rem; }

.ds-svc-grid { display: grid; gap: 1.25rem var(--gap); }
@media (min-width: 40rem) { .ds-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .ds-svc-grid { grid-template-columns: repeat(3, 1fr); } .ds-svc-grid--pairs { grid-template-columns: repeat(2, 1fr); } }
.ds-svc-grid li { border-left: 3px solid var(--accent); padding: 0.35rem 0 0.35rem 1rem; font-weight: 600; }

.ds-svc-menu { max-width: 40rem; }
.ds-svc-menu li { font-family: var(--font-heading); font-size: var(--step-2); padding-block: 0.8rem; border-bottom: 1px solid var(--line); }

.ds-svc-sentence { font-family: var(--font-heading); font-size: var(--step-2); line-height: 1.35; max-width: 34ch; }

/* --- About ----------------------------------------------------------------- */
.ds-about__body { font-size: var(--step-1); line-height: 1.55; }
.ds-dl { display: grid; gap: 1rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.ds-dl dt { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }

/* --- Service areas ------------------------------------------------------------ */
.ds-areas { columns: 2; column-gap: var(--gap); max-width: 44rem; }
@media (min-width: 44rem) { .ds-areas { columns: 3; } }
.ds-areas li { padding-block: 0.35rem; break-inside: avoid; }

/* --- Visit (hours + location) --------------------------------------------------- */
.ds-hours { width: 100%; border-collapse: collapse; }
.ds-hours th, .ds-hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ds-hours th { font-weight: 600; width: 45%; }
.ds-hours td { color: var(--ink-2); }
.ds-contact { display: grid; gap: 1.25rem; align-content: start; }
.ds-contact a { color: var(--ink); font-weight: 600; font-size: var(--step-1); }
.ds-visit-compact { display: grid; gap: 1.5rem var(--gap); }
@media (min-width: 48rem) { .ds-visit-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-visit-compact a { color: var(--ink); font-weight: 600; }

/* --- CTA ---------------------------------------------------------------------- */
.ds-cta { padding-block: var(--section-y); }
.ds-cta--band { background: var(--accent); color: var(--accent-ink); }
.ds-cta--band p { margin-top: 0.75rem; max-width: var(--measure); opacity: 0.92; }
.ds-cta--band .ds-actions { margin-top: 1.75rem; }
.ds-cta--quiet { border-top: 1px solid var(--line); }
.ds-cta--quiet.ds-section--alt { border-top: 0; }
.ds-cta--quiet .ds-cta__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 52rem) { .ds-cta--quiet .ds-cta__inner { grid-template-columns: 1fr auto; } }
.ds-cta--quiet p { margin-top: 0.5rem; color: var(--ink-2); }

/* --- Footer ------------------------------------------------------------------- */
.ds-footer { background: var(--band); color: var(--band-ink); padding-block: 2.5rem; font-size: var(--step--1); }
.ds-footer a { color: var(--band-ink); }
.ds-footer__inner { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .ds-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.ds-footer__name { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--step-1); }
.ds-footer__note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--band-ink) 20%, transparent); color: color-mix(in srgb, var(--band-ink) 70%, var(--band)); }
