/* ==========================================================================
   HOME — a landing page with one job: get a stranger to book.
   Light ground with dark anchors, alternating down the page. Every number on
   this page is rendered from config by home.js.
   ========================================================================== */

[hidden] { display: none !important; }
.nojs-phone { font-family: var(--font-mono); font-weight: 600; text-decoration: underline; }

/* --------------------------------------------------------------------------
   CONTRAST FLOOR — read this before reaching for --fg-muted.
   --fg-muted is --steel-500 (#6B767E). It only clears WCAG AA (4.5:1) against
   --paper-raised (#FFF → 4.65:1). On --paper it measures 4.16:1 and on
   --paper-sunk 3.77:1, both failures. So on this page --fg-muted RESOLVES TO
   --steel-700 (8.5:1 on paper, 7.7:1 on paper-sunk) everywhere on the light
   ground, and is only allowed back to --steel-500 inside a white .card — and
   not in the sunk bands that live inside those cards.
   Dark sections are untouched: .on-dark already remaps --fg-muted to
   --steel-300, which is well clear on ink.
   -------------------------------------------------------------------------- */
.section:not(.on-dark) { --fg-muted: var(--steel-700); }
.section:not(.on-dark) .card { --fg-muted: var(--steel-500); }
.section:not(.on-dark) .member-card__math { --fg-muted: var(--steel-700); }

/* Brief floor: every tap target ≥44px. .btn--sm computes to 38px, which is
   fine under a mouse and not under a thumb. */
@media (max-width: 47.99em) {
  .btn--sm { min-height: 44px; padding-block: var(--s-3); }
}

/* --------------------------------------------------------------------------
   HERO — the price and the CTA clear the fold at 390px and at 1440px.
   -------------------------------------------------------------------------- */
.home-hero {
  padding-block: clamp(2rem, 1rem + 4.5vw, 4.25rem) clamp(2.5rem, 1rem + 6vw, 5.5rem);
  /* Neutral lift, not a tinted glow: --signal is reserved for actions and
     availability, never for decoration. */
  background:
    radial-gradient(78% 110% at 4% -12%, var(--ink-700) 0%, transparent 60%),
    url('../../img/pattern-grid.svg') 0 0 / 80px 80px repeat,
    var(--ink-900);
}
.home-hero__inner { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 62em) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: var(--s-9); }
}
.home-hero__lede { min-width: 0; }

.home-hero h1 {
  margin-top: var(--s-3);
  font-size: clamp(2.9rem, 1.5rem + 5vw, 5.25rem);
  line-height: 0.9;
}
.home-hero .lead { margin-top: var(--s-5); max-width: 46ch; }

/* The price rail: an instrument readout, not a marketing badge. */
.price-rail {
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-4) var(--s-7);
}
.price-rail__main { display: flex; align-items: baseline; gap: 0.4rem; }
.price-rail__amt {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 3.1vw, 3.75rem);
  line-height: 0.86; letter-spacing: -0.045em; color: var(--paper);
}
.price-rail__per {
  font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-muted);
}
.price-rail__alt { display: flex; flex-wrap: wrap; gap: 0.35rem var(--s-5); font-size: var(--t-xs); color: var(--fg-muted); }
.price-rail__alt li { display: flex; align-items: baseline; gap: 0.4rem; }
.price-rail__alt .num { color: var(--paper); font-weight: 600; font-size: var(--t-sm); }

.home-hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 33.99em) { .home-hero__cta .btn { width: 100%; } }

.home-hero__fine { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--fg-muted); max-width: 58ch; }

.home-hero__art {
  border: 1px solid var(--ink-500); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--e-4); background: var(--ink-800);
}
.home-hero__art img { width: 100%; }

/* --------------------------------------------------------------------------
   BOOKING CALL TO ACTION
   Replaced the live-availability teaser — its slot grid, duration chips and
   "N of 4 bays open today" ticker are all gone with it. The scheduler owns the
   calendar now, and this page has no way to read it.
   -------------------------------------------------------------------------- */
.bookcta {
  display: grid; gap: var(--s-6); padding: var(--s-6);
  border-color: var(--rule-strong);
}
@media (min-width: 52em) { .bookcta { padding: var(--s-7); } }

.bookcta__facts {
  display: grid; gap: var(--s-5);
  padding-bottom: var(--s-6); border-bottom: 1px solid var(--rule);
}
@media (min-width: 44em) {
  .bookcta__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
}
.bookcta__facts li { display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
.bookcta__n {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 800;
  line-height: var(--lh-tight); letter-spacing: var(--tr-display); color: var(--fg);
}
.bookcta__l { font-size: var(--t-sm); color: var(--fg-muted); line-height: 1.45; max-width: 24ch; }

.bookcta__act { display: grid; gap: var(--s-4); justify-items: start; }
@media (min-width: 44em) {
  .bookcta__act { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-6); }
}
.bookcta__fine { max-width: 46ch; }

/* The four steps, absorbed from the deleted how-it-works band. One line each
   with a numbered chip — the illustrated version lives on its own page. */
.bookcta__steps {
  display: grid; gap: var(--s-3);
  padding-top: var(--s-6); border-top: 1px solid var(--rule);
}
@media (min-width: 62em) { .bookcta__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); } }
.bookcta__steps li {
  display: flex; gap: var(--s-3); align-items: baseline; min-width: 0;
  font-size: var(--t-sm); line-height: 1.5; color: var(--fg-muted);
}
.bookcta__steps li > span:last-child { min-width: 0; }
.bookcta__step {
  flex: none; display: inline-grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: var(--r-pill);
  background: var(--ink-900); color: var(--paper);
  font-size: var(--t-micro); font-weight: 700; line-height: 1;
  align-self: start;
}

.bookcta__note {
  display: flex; gap: var(--s-3); font-size: var(--t-xs);
  color: var(--fg-muted); max-width: 72ch;
  padding-top: var(--s-5); border-top: 1px solid var(--rule);
}
.bookcta__note [data-icon] { flex: none; display: block; }
/* currentColor, not --signal: this is a sentence, not an action. */
.bookcta__note svg { color: currentColor; margin-top: 1px; }

/* --------------------------------------------------------------------------
   FAQ — the five objections that stop a booking, sitting with the booking CTA.
   -------------------------------------------------------------------------- */
.home-faq { margin-top: var(--s-8); display: grid; gap: var(--s-5); justify-items: start; }
/* Same lede / content rhythm as the trust and jobs bands, so the accordion
   does not float in an empty right half. */
@media (min-width: 62em) {
  .home-faq {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    grid-template-areas: 'head list' 'cta list';
    grid-template-rows: auto 1fr;
    column-gap: var(--s-9); row-gap: var(--s-5); align-items: start;
  }
  .home-faq__head { grid-area: head; }
  .home-faq .accordion { grid-area: list; }
  .home-faq__all { grid-area: cta; align-self: start; }
}
.home-faq .accordion { justify-self: stretch; }
.home-faq__t { font-size: 1.5rem; }
.home-faq__lede { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--steel-700); max-width: 34ch; }
.home-faq .accordion { border-top-color: var(--rule-strong); }
/* .accordion__a is --fg-muted at 15px; on --paper that is 4.16:1, so it is
   pinned to --steel-700 like everything else on this ground. */
.home-faq .accordion__a { color: var(--steel-700); }
.home-faq .accordion__q { padding-block: var(--s-4); }

/* --------------------------------------------------------------------------
   AMENITIES — what is in the bay.
   Replaced a six-item trust band and a three-column scope table. The three
   hard numbers sit beside the lede; the amenity list is a plain icon grid; and
   the two expectation-setting lists are one sentence each rather than columns.
   -------------------------------------------------------------------------- */
.amen-head { display: grid; gap: var(--s-7); margin-bottom: var(--s-8); }
@media (min-width: 66em) {
  .amen-head { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--s-9); align-items: end; }
}
.amen-head .section-head { margin-bottom: 0; }
.amen-head .lead { margin-top: var(--s-4); }

.amen-specs { display: grid; gap: var(--s-4); }
.amen-specs li {
  display: grid; gap: var(--s-1);
  border-top: 1px solid var(--rule); padding-top: var(--s-3);
}
.amen-specs__n {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 800;
  line-height: var(--lh-tight); letter-spacing: var(--tr-display); color: var(--fg);
}
.amen-specs__l { font-size: var(--t-xs); color: var(--fg-muted); line-height: 1.45; }

/* The bay row was orphaned when the trust band went. It belongs here — it is
   the amenity, photographed. Wide strip so it reads as the room, not a card. */
.amen-art {
  margin-bottom: var(--s-7);
  border: 1px solid var(--ink-500); border-radius: var(--r-md);
  overflow: hidden; background: var(--ink-800);
}
/* Capped, not just proportional: at full width a 16:7 ratio ran ~430px tall on
   a desktop and turned the brief section into a photo with notes under it. */
.amen-art img {
  width: 100%; display: block;
  aspect-ratio: 16 / 7; max-height: 17rem; object-fit: cover; object-position: center;
}

.amen { display: grid; gap: var(--s-5); }
@media (min-width: 42em) { .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-7); } }
@media (min-width: 72em) { .amen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amen__i {
  display: flex; gap: var(--s-3); align-items: start;
  border-top: 1px solid var(--rule); padding-top: var(--s-4); min-width: 0;
}
.amen__ico { flex: none; display: block; color: var(--signal-lit); }
.amen__t { font-size: var(--t-sm); line-height: 1.5; color: var(--fg); }

.amen-foot {
  display: grid; gap: var(--s-4);
  margin-top: var(--s-8); padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
@media (min-width: 62em) { .amen-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); } }
.amen-bring, .amen-not {
  display: flex; gap: var(--s-3); align-items: start;
  font-size: var(--t-xs); line-height: 1.6; color: var(--fg-muted);
}
.amen-bring [data-icon], .amen-not [data-icon] { flex: none; display: block; margin-top: 1px; }
.amen-bring strong, .amen-not strong { color: var(--fg); font-weight: 650; }

.amen-cta {
  display: grid; gap: var(--s-4); justify-items: start;
  margin-top: var(--s-7);
}
@media (min-width: 44em) {
  .amen-cta { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-6); }
}
.amen-cta__fine { max-width: 48ch; }

/* --------------------------------------------------------------------------
   JOBS — concrete work, each one a duration-preset deep link.
   -------------------------------------------------------------------------- */
.jobs-section__inner { display: grid; gap: var(--s-7); }
@media (min-width: 66em) {
  .jobs-section__inner { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: var(--s-9); align-items: start; }
}
.jobs-section__lede .lead { margin-top: var(--s-4); }
.jobs-section__art {
  margin-top: var(--s-6); max-width: 20rem;
  border: 1px solid var(--rule-strong); border-radius: var(--r-md);
  overflow: hidden; background: var(--ink-800);
}

.jobs { border-top: 1px solid var(--rule-strong); margin-inline: calc(var(--s-4) * -1); }
.job { border-bottom: 1px solid var(--rule); }
.job__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center; gap: 0.35rem var(--s-4);
  padding: var(--s-5) var(--s-4);
  transition: background-color var(--fast) var(--ease);
}
.job__link:hover { background: color-mix(in srgb, var(--signal-wash) 60%, transparent); }
.job__h { grid-column: 1; grid-row: 1; display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.job__name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: var(--tr-display); line-height: 1;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.625rem);
}
.job__hours {
  font-family: var(--font-mono); font-size: var(--t-micro); font-weight: 600;
  letter-spacing: 0.04em; color: var(--fg-muted);
  border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
  padding: 0.15rem 0.5rem;
}
.job__d { grid-column: 1; grid-row: 2; font-size: var(--t-sm); color: var(--fg-muted); max-width: 62ch; line-height: 1.5; }
.job__price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-muted); white-space: nowrap;
}
.job__arrow {
  grid-column: -2; grid-row: 1 / span 2; align-self: center;
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border: 1.5px solid var(--rule-strong); border-radius: 50%; color: var(--fg-muted);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease),
              color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.job__link:hover .job__arrow { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper); transform: translateX(2px); }

/* The money anchor stays on the phone — it is the whole point of the row for
   someone standing in a parts-store parking lot. It moves to its own line
   under the description rather than disappearing. */
@media (max-width: 29.99em) {
  .job__link { grid-template-columns: minmax(0, 1fr) 34px; }
  .job__price { grid-column: 1; grid-row: 3; align-self: start; margin-top: var(--s-2); }
  .job__arrow { grid-row: 1 / span 3; }
}

.jobs-foot {
  margin-top: var(--s-6); font-size: var(--t-sm); color: var(--fg-muted); max-width: 62ch;
}

/* --------------------------------------------------------------------------
   VISIT
   -------------------------------------------------------------------------- */
.visit { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 46em) {
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: var(--s-7); }
  .visit__where { grid-column: 1 / -1; }
}
@media (min-width: 62em) {
  .visit { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 18rem); gap: var(--s-8); align-items: stretch; }
  .visit__where { grid-column: auto; }
  /* The hours panel closes level with the figure instead of floating 200px
     above it. */
  .visit__hours { align-self: stretch; }
}
.visit__where h2 { margin-top: var(--s-3); }
.visit__addr { margin-top: var(--s-4); font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; }
.visit__where .lead { margin-top: var(--s-4); }
.visit__actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.visit__actions [data-icon] { display: block; flex: none; }
.visit__art { max-width: 19rem; align-self: start; }
.visit__art img { border: 1px solid var(--rule-strong); border-radius: var(--r-md); }
/* Capped: at 550px square the lift-detail crop reads as an abstract disc
   rather than as a pad under a pinch weld. */
@media (min-width: 62em) { .visit__art { max-width: 22rem; } }
.visit__cap { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--fg-muted); line-height: 1.5; }

.visit__hoursT { font-size: 1.25rem; }
.hours { margin-top: var(--s-4); border-top: 1px solid var(--rule-strong); }
.hours__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: 0.625rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-sm);
}
.hours__d { font-weight: 650; }
.hours__t { font-size: var(--t-xs); color: var(--fg-muted); white-space: nowrap; }
.hours__row.is-today .hours__d::after {
  content: ' · today'; font-family: var(--font-mono); font-size: var(--t-micro);
  font-weight: 600; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--fg-muted);
}
.visit__hoursNote { margin-top: var(--s-4); }

/* --------------------------------------------------------------------------
   CLOSING CTA
   -------------------------------------------------------------------------- */
.close-cta {
  background:
    radial-gradient(70% 130% at 96% 0%, var(--ink-700) 0%, transparent 62%),
    url('../../img/pattern-grid.svg') 0 0 / 80px 80px repeat,
    var(--ink-900);
}
.close-cta__inner { display: grid; gap: var(--s-6); align-items: center; }
/* End-aligned, not centred: the button's bottom edge lands on the last line of
   the lead instead of floating diagonally opposite the headline. */
@media (min-width: 62em) { .close-cta__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-9); align-items: end; } }
.close-cta h2 { font-size: var(--t-d1); }
.close-cta .lead { margin-top: var(--s-4); max-width: 48ch; }
.close-cta .lead strong { color: var(--paper); font-weight: 600; }
.close-cta__act { display: grid; gap: var(--s-3); justify-items: start; }
@media (max-width: 33.99em) { .close-cta__act { justify-items: stretch; } }
/* Ragged-left body copy is a craft error, and this is the cancellation policy
   we actually want read. */
.close-cta__fine { max-width: 34ch; text-align: left; }
