/* ============================================================================
 *  layout.css — sections, header/nav, hero, bands, menu, footer.
 * ========================================================================== */

:where(section[id], div[id].anchor) { scroll-margin-top: var(--header-h, 5.25rem); }

/* ====================== HEADER / NAV ===================================== */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.site-header.is-scrolled { background: color-mix(in oklab, var(--oat) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(10px); border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.nav { display: flex; align-items: center; gap: var(--space-m); padding-block: var(--space-s); }
.brand { display: inline-flex; align-items: center; gap: 0.55em; text-decoration: none; color: var(--espresso);
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.brand:hover { color: var(--espresso); }
.brand__mark { width: 1.85em; height: 1.85em; flex: none; color: var(--clay); }
.brand small { display: block; font-family: var(--font); font-size: 0.46em; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay-700); margin-top: 0.4em; }
.nav__links { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.6rem); margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--espresso); font-weight: 500; font-size: var(--step-0); padding: 0.4em 0.2em; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0.2em; right: 0.2em; bottom: 0.05em; height: 2px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__links a:hover { color: var(--clay-700); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: clamp(0.25rem, 1vw, 0.75rem); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 2.9rem; height: 2.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--espresso); cursor: pointer; }
  .nav__toggle svg { width: 1.3rem; height: 1.3rem; }
  .nav__toggle .icon-close { display: none; }
  .nav__toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav__toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: stretch;
    gap: 0.25rem; margin: 0; padding: 6rem var(--space-l) var(--space-l); background: var(--oat); border-left: 1px solid var(--line);
    box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform var(--dur) var(--ease); overflow-y: auto; }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: var(--step-1); padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__links .nav__cta { margin: var(--space-s) 0 0; }
  .nav__links .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav__scrim { position: fixed; inset: 0; z-index: 40; background: oklch(24% 0.018 70 / 0.42);
    opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
  .nav__scrim.is-open { opacity: 1; visibility: visible; }
}

/* ====================== HERO (type-forward) ============================= */
.hero { background: linear-gradient(178deg, var(--clay-50), var(--oat) 60%); overflow: clip; }
.hero__inner { padding-block: clamp(2.8rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero__eyebrow { margin-bottom: var(--space-m); }
.hero h1 { max-width: 16ch; margin-bottom: var(--space-l); }
.hero h1 .hl { color: var(--clay-700); }
.hero h1 .hl::after { content: ""; display: block; width: 2.6em; height: 4px; margin-top: 0.12em;
  background: var(--brass); border-radius: 3px; }
.hero__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.hero__lede { max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; justify-self: start; }
.hero__facts { margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5em 1.6rem; font-size: var(--step--1); color: var(--muted); }
.hero__facts b { color: var(--espresso); font-weight: 700; }
.hero__facts .stars { font-size: var(--step-0); vertical-align: -0.15em; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.4em; }
@media (max-width: 760px) { .hero__row { grid-template-columns: 1fr; align-items: start; } }

/* ====================== TRUST STRIP ===================================== */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-m); padding-block: var(--space-m); }
.trust__item { display: flex; align-items: center; gap: 0.6em; font-size: var(--step-0); font-weight: 500; }
.trust__item svg { width: 1.3em; height: 1.3em; color: var(--clay-700); flex: none; }

/* ====================== SECTION HEAD ==================================== */
.sec-head { max-width: 60ch; margin-bottom: var(--space-xl); }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { margin-bottom: var(--space-s); }
.sec-head p { margin-top: var(--space-s); color: var(--muted); font-size: var(--step-1); }

/* ====================== INSIDE-THE-SALON (split) ======================= */
.inside { background: var(--clay-50); }
.inside__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.inside__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 16/10; }
.inside__media img { width: 100%; height: 100%; object-fit: cover; }
.inside__body .lede { margin-bottom: var(--space-m); }
.inside__body p + p { margin-top: var(--space-s); }
@media (max-width: 820px) { .inside__grid { grid-template-columns: 1fr; } .inside__media { order: -1; } }

/* ====================== SERVICES MENU =================================== */
.menu { background: var(--surface-sink); }
.menu__cols { columns: 2 280px; column-gap: clamp(2rem, 5vw, 4.5rem); }
.menu__note { margin-top: var(--space-l); color: var(--muted); font-size: var(--step--1); }

/* ====================== REVIEWS ========================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); align-items: start; }
@media (max-width: 880px) { .reviews__grid { grid-template-columns: 1fr; max-width: 40rem; margin-inline: auto; } }

/* ====================== CTA BAND ======================================== */
.cta-band { background: var(--espresso); color: #fff; }
.cta-band__inner { padding-block: var(--space-3xl); text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: oklch(86% 0.012 80); margin: var(--space-s) auto var(--space-l); font-size: var(--step-1); }
.cta-band .btn--ghost { --_fg: #fff; border-color: oklch(100% 0 0 / 0.45); }
.cta-band .btn--ghost:hover { --_bg: oklch(100% 0 0 / 0.12); color: #fff; border-color: #fff; }

/* ====================== VISIT (hours + store + form) ==================== */
.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }
.store-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-1); margin-bottom: var(--space-l); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.6em 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.hours th { font-weight: 500; color: var(--muted); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--clay-700); font-weight: 700; }
.hours tr.is-today th::after { content: " · Today"; font-weight: 600; font-size: 0.82em; }
.hours td.closed { color: var(--muted); }
.visit__facts { display: grid; gap: var(--space-m); margin-top: var(--space-l); }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 0.9em; align-items: start; }
.fact svg { width: 1.35em; height: 1.35em; color: var(--clay-700); margin-top: 0.15em; }
.fact a { color: var(--espresso); text-decoration: none; }
.fact a:hover { color: var(--clay-700); }
.fact .k { font-weight: 600; }
.fact .v { color: var(--muted); font-size: var(--step--1); }
.form { display: grid; gap: var(--space-s); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-1); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ====================== FOOTER ========================================== */
.site-footer { background: var(--espresso); color: oklch(90% 0.012 80); }
.site-footer a { color: oklch(90% 0.012 80); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xl); padding-block: var(--space-2xl) var(--space-xl); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-l); } }
.footer__brand { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; color: #fff; }
.footer__brand .brand__mark { color: var(--clay-300); }
.footer__col h4 { color: #fff; font-size: var(--step-0); font-family: var(--font); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-s); }
.footer__col p, .footer__col li { color: oklch(84% 0.014 80); font-size: var(--step-0); margin-bottom: 0.45em; }
.footer__nap { font-style: normal; line-height: 1.7; }
.footer__bottom { border-top: 1px solid oklch(100% 0 0 / 0.12); padding-block: var(--space-m);
  display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-l); justify-content: space-between; font-size: var(--step--1); color: oklch(76% 0.02 80); }
.footer__bottom .demo-credit { color: oklch(82% 0.05 45); }
.footer__bottom .demo-credit a { color: var(--clay-300); }
