/* Styles specific to the /locations/ archive hub.
   Aug 2026: rebuilt against the client's new layout (photo hero, a
   horizontal numbered stepper, three-column alternating cafe rows).
   Every color, font and radius below is one of the theme's existing
   tokens from site.css — nothing here introduces a new value. */

.loc-hero { padding: clamp(64px, 9vw, 128px) 0 var(--space-12); }
.loc-hero h1 { font-family: var(--font-display); font-size: clamp(48px, 7.5vw, 120px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.005em; }
.loc-hero h1 em { font-family: var(--font-script); font-style: normal; color: var(--secondary); font-size: 0.7em; display: inline-block; transform: translateY(-0.12em) rotate(-3deg); }
/* Inherit the sitewide 16/9 hero ratio. This used to force 5/4, which
   was fine for the 5/4 card photos but crops the wide storefront banner
   the hero now uses. */
.loc-hero .lp-hero-photo { align-self: center; }

/* One real quickfact under the hero copy — hours, not a stat tile. */
.loc-hero-hours { display: flex; align-items: center; gap: 8px; margin-top: var(--space-6); font-weight: 700; color: var(--fg1); }
.loc-hero-hours svg { color: var(--accent); flex-shrink: 0; }

/* Stepper — replaces the illustrated coastline map with a plain,
   scannable "01 → 05" jump list in the same red/cream/Anton language
   the map pins already used. */
.loc-stepper-wrap { position: relative; padding: var(--space-12) 0; background: var(--surface-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.loc-stepper { position: relative; display: flex; justify-content: space-between; gap: var(--space-2); max-width: 900px; margin: 0 auto; }
.loc-stepper::before { content: ''; position: absolute; top: 20px; left: 6%; right: 6%; height: 2px; background: var(--bf-yellow-deep); z-index: 0; }
.loc-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-decoration: none; }
.loc-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--bf-white);
  font-family: var(--font-display);
  font-size: 15px;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.loc-step:hover .loc-step-num,
.loc-step:focus-visible .loc-step-num { background: var(--secondary-deep); transform: scale(1.12); }
.loc-step-label { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg1); text-align: center; }
@media (max-width: 640px) {
  .loc-stepper { flex-wrap: wrap; justify-content: center; row-gap: var(--space-6); }
  .loc-stepper::before { display: none; }
  .loc-step { flex: 0 0 28%; }
}

/* Location row — three columns: photo / name+copy / address+phone+services.
   Alternates which side the photo sits on; the name+copy column always
   stays in the middle, matching the client's reference layout. */
.loc-section { padding: var(--space-20) 0; border-bottom: 1px solid var(--border); }
.loc-section:nth-child(even) { background: var(--surface-warm); }
.loc-row { display: grid; grid-template-columns: 1fr 1.3fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.loc-col-photo { order: 1; }
.loc-col-title { order: 2; }
.loc-col-meta  { order: 3; }
.loc-row.is-flipped .loc-col-photo { order: 3; }
.loc-row.is-flipped .loc-col-meta  { order: 1; }
@media (max-width: 920px) {
  .loc-row { grid-template-columns: 1fr; }
  .loc-col-photo, .loc-col-title, .loc-col-meta,
  .loc-row.is-flipped .loc-col-photo,
  .loc-row.is-flipped .loc-col-meta { order: initial; }
}

.loc-photo { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
body.theme-playful .loc-photo { border: 3px solid var(--bf-charcoal); box-shadow: 10px 10px 0 var(--bf-charcoal); }

.loc-num { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.loc-section h2 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 58px); text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; margin-bottom: var(--space-3); }
.loc-section .lead { margin-bottom: var(--space-4); }

/* Bold uppercase arrow link — same idiom as .mega-card-cta, just sized
   for body copy instead of a nav card. */
.link-cta { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); text-decoration: none; }
.link-cta:hover { color: var(--secondary-deep); text-decoration: underline; }

.loc-col-meta { display: flex; flex-direction: column; gap: var(--space-4); }
.loc-meta-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; }
.loc-meta-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.loc-services { display: flex; gap: 8px; flex-wrap: wrap; }

.loc-hours-toggle summary { cursor: pointer; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; color: var(--accent); }
.loc-hours-toggle > div { margin-top: var(--space-3); max-width: 320px; }

/* hours table */
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { font-weight: 700; color: var(--accent); }
