/* ==========================================================================
   Fabri Fine Jewelry — Main Stylesheet
   All color/type/space values reference tokens.css. No hex outside :root.
   ========================================================================== */

/* --- RESET ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* --- TYPE ----------------------------------------------------------------- */

.display, h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  font-weight: var(--fw-medium);
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-medium);
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 24;
}

h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-semi);
  font-variation-settings: "SOFT" 12, "opsz" 18;
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--text-muted);
  max-width: var(--measure);
}

p { max-width: var(--measure); }
p + p { margin-top: var(--sp-4); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-accent);
  display: block;
  margin-bottom: var(--sp-4);
}

.small { font-size: var(--fs-small); }
.muted { color: var(--text-muted); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* --- ACCESSIBILITY -------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: var(--z-toast);
  padding: var(--sp-3) var(--sp-4);
  background: var(--brass);
  color: var(--pitch);
  font-weight: var(--fw-semi);
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- LAYOUT --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--tall { padding-block: var(--section-pad-lg); }
.section--light { background: var(--bg); color: var(--text); }

/* Asymmetric split. Alternates direction so the page never settles into a
   predictable rhythm. */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 900px) {
  .split          { grid-template-columns: 7fr 5fr; gap: var(--sp-6); }
  .split--reverse { grid-template-columns: 5fr 7fr; }
  .split--reverse > .split__media { order: -1; }
}

/* --- TOP BAR -------------------------------------------------------------- */

.topbar {
  background: var(--bench);
  border-bottom: 1px solid var(--rule-soft);
  font-size: var(--fs-small);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--topbar-h);
  padding-block: var(--sp-1);
}

.topbar__group { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--daylight-dim);
  text-decoration: none;
  padding-block: var(--sp-1);
  transition: color var(--dur-fast) var(--ease);
}
.topbar__item:hover { color: var(--daylight); text-decoration: underline; }
.topbar__item svg { width: 15px; height: 15px; flex: none; }

.topbar__socials { display: flex; gap: var(--sp-1); }
.topbar__social {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  color: var(--daylight-dim);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.topbar__social:hover { color: var(--brass-lift); background: rgba(242, 238, 230, 0.07); }
.topbar__social svg { width: 17px; height: 17px; }

@media (max-width: 767px) {
  .topbar__hours, .topbar__email { display: none; }
}

/* --- HEADER --------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--pitch);
  border-bottom: 1px solid var(--rule-soft);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}
.header.is-scrolled .header__inner { min-height: var(--header-h-shrunk); }

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  text-decoration: none;
  flex: none;
}
.logo__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--daylight);
  font-variation-settings: "SOFT" 30, "opsz" 20;
}
.logo__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
@media (max-width: 560px) { .logo__sub { display: none; } }

/* --- NAV ------------------------------------------------------------------ */

.nav { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__list { display: flex; align-items: center; gap: var(--sp-1); }
  .nav__link {
    display: inline-block;
    padding: var(--sp-3) var(--sp-3);
    font-size: var(--fs-small);
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--text-muted);
    position: relative;
    transition: color var(--dur-fast) var(--ease);
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: var(--sp-3); right: var(--sp-3);
    bottom: 10px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav__link:hover,
  .nav__link[aria-current="page"] { color: var(--daylight); }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }
}

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* --- BUTTONS — all five states -------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--brass);
  --btn-fg: var(--pitch);
  --btn-bd: var(--brass);
}
.btn--primary:hover  { --btn-bg: var(--brass-lift); --btn-bd: var(--brass-lift); }
.btn--primary:active { --btn-bg: var(--brass); }

.btn--ghost { --btn-bd: var(--rule); }
.btn--ghost:hover  { --btn-bd: var(--patina-lift); background: rgba(242, 238, 230, 0.05); }
.btn--ghost:active { background: rgba(242, 238, 230, 0.09); }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--sm { min-height: 44px; padding: var(--sp-2) var(--sp-4); }

/* Text link with arrow — used in place of a sixth "Shop Now" button */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  font-weight: var(--fw-semi);
  font-size: var(--fs-small);
  letter-spacing: 0.03em;
  color: var(--text-accent);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- MOBILE NAV ----------------------------------------------------------- */

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.menu-toggle:hover { border-color: var(--patina-lift); }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1024px) { .menu-toggle { display: none; } }

.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--pitch);
  padding: var(--sp-4) 0 var(--sp-6);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule-soft);
}

.drawer__link {
  display: block;
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur) var(--ease);
}
.drawer__link:hover { color: var(--brass-lift); padding-left: var(--sp-2); }

.drawer__footer { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }

/* --- HERO ----------------------------------------------------------------- */
/* Grid breaks here: the media column bleeds off the right viewport edge. */

.hero { position: relative; padding-block: var(--sp-6) var(--sp-7); overflow: hidden; }

.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--sp-5);
    align-items: center;
  }
  /* Bleed to the viewport edge, not the container edge. */
  .hero__media {
    margin-right: calc((100vw - min(100vw, var(--container))) / -2 - var(--gutter));
  }
}

.hero__title { margin-bottom: var(--sp-4); }
.hero__title em {
  font-style: normal;
  color: var(--brass);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 40;
}

.hero__lead { margin-bottom: var(--sp-5); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-5);
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  color: var(--text-muted);
  text-decoration: none;
}
.hero__phone:hover { color: var(--daylight); text-decoration: underline; }
.hero__phone svg { width: 15px; height: 15px; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bench);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* --- RATING STRIP --------------------------------------------------------- */

.rating {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule-soft);
}
.rating__stars { display: flex; gap: 2px; color: var(--brass); }
.rating__stars svg { width: 17px; height: 17px; }
.rating__text {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  color: var(--text-muted);
}
.rating__text strong { color: var(--text); font-weight: var(--fw-semi); }

/* --- CREDENTIAL ROW ------------------------------------------------------- */

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-5);
  border-block: 1px solid var(--rule-soft);
}
.cred {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}
.cred svg { width: 16px; height: 16px; color: var(--brass); flex: none; }

/* --- HUB GRID (34 collections → 5 hubs) ----------------------------------- */

.hubs {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .hubs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .hubs { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; }
  /* Deliberately uneven: the first tile is larger. Not a 3-up icon grid. */
  .hubs > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .hubs > :nth-child(2) { grid-column: span 3; }
  .hubs > :nth-child(3) { grid-column: span 3; }
  .hubs > :nth-child(4) { grid-column: span 2; }
  .hubs > :nth-child(5) { grid-column: span 2; }
  .hubs > :nth-child(6) { grid-column: span 2; }
}

.hub {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--sp-4);
  background: var(--bench);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.hub:hover { border-color: var(--brass); }

.hub__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease);
}
.hub:hover .hub__img { transform: scale(1.04); opacity: 0.75; }

.hub__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 26, 23, 0.94) 0%,
    rgba(28, 26, 23, 0.62) 42%,
    rgba(28, 26, 23, 0.18) 100%
  );
}

.hub__body { position: relative; }
.hub__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  color: var(--daylight);
  margin-bottom: var(--sp-1);
}
.hub__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--brass);
}

/* --- SIGNATURE: THE LOUPE -------------------------------------------------
   A 10x jeweler's loupe. Real magnification from a high-res source, not a
   zoom animation. Trails the cursor at 90ms — it has weight, never locks.
   ONE per page. Reduced-motion keeps magnification, drops the trail.      */

.loupe-field { position: relative; cursor: none; touch-action: none; }
.loupe-field img { pointer-events: none; }

/* JS owns --loupe-x / --loupe-y (already centre-compensated in px).
   CSS owns --loupe-scale so the entry animation survives per-frame updates. */
.loupe {
  position: absolute;
  top: 0; left: 0;
  --loupe-x: 0px;
  --loupe-y: 0px;
  --loupe-scale: 0.86;
  width: 168px; height: 168px;
  border-radius: var(--radius-pill);
  border: 3px solid var(--brass);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(28, 26, 23, 0.5);
  background-repeat: no-repeat;
  background-color: var(--pitch);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--loupe-x), var(--loupe-y), 0) scale(var(--loupe-scale));
  transition: opacity var(--dur) var(--ease), scale var(--dur) var(--ease-out);
  will-change: transform, opacity;
  z-index: var(--z-dropdown);
}
.loupe.is-active { opacity: 1; --loupe-scale: 1; }

.loupe__hint {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  z-index: var(--z-dropdown);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(28, 26, 23, 0.86);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--daylight-dim);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.loupe__hint svg { width: 14px; height: 14px; color: var(--brass); }
.loupe-field.is-inspecting .loupe__hint { opacity: 0; }

/* --- BENCH SECTION (the story) -------------------------------------------- */

.bench-rule {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--rule) 0 14px,
    transparent 14px 24px
  );
  margin-block: var(--sp-5);
}

.stat-row { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }

.stat__num {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1;
  color: var(--brass);
  font-variation-settings: "SOFT" 40, "opsz" 40;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

/* --- REVIEWS -------------------------------------------------------------- */

.reviews { display: grid; gap: var(--sp-4); }
@media (min-width: 768px)  { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.review {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-raised);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.review__stars { display: flex; gap: 2px; color: var(--brass); }
.review__stars svg { width: 15px; height: 15px; }
.review__body { font-size: var(--fs-body); }
.review__meta {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--ls-mono);
  color: var(--text-muted);
}

/* --- CTA BAND ------------------------------------------------------------- */
/* The one centered thing on the site — precisely because nothing else is. */

.cta-band { text-align: center; background: var(--bench); }
.cta-band .lead,
.cta-band p { margin-inline: auto; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* --- FORM ----------------------------------------------------------------- */

.form { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) {
  .form { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: var(--sp-2); }

.field__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}
.field__req { color: var(--brass); }

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field__textarea { min-height: 132px; resize: vertical; }

.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: var(--patina-lift); }

.field__input:focus-visible,
.field__select:focus-visible,
.field__textarea:focus-visible { border-color: var(--focus); }

.field__input[aria-invalid="true"],
.field__select[aria-invalid="true"],
.field__textarea[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }

/* Error is never color alone — icon + text below the field. */
.field__error {
  display: none;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--danger);
}
.field__error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.field__error.is-shown { display: flex; }

.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__status {
  display: none;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid;
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.form__status.is-shown { display: flex; }
.form__status[data-state="ok"]    { border-color: var(--ok);     color: var(--ok); }
.form__status[data-state="error"] { border-color: var(--danger); color: var(--danger); }
.form__status svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.btn.is-busy { pointer-events: none; opacity: 0.7; }
.btn__spinner { display: none; width: 16px; height: 16px; animation: spin 800ms linear infinite; }
.btn.is-busy .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- MAP / VISIT ---------------------------------------------------------- */

.hours { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
}
.hours__row[data-closed] { color: var(--text-muted); }
.hours__day { text-transform: uppercase; }

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bench);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- FOOTER --------------------------------------------------------------- */

.footer {
  background: var(--bench);
  border-top: 1px solid var(--rule-soft);
  padding-block: var(--sp-6) var(--sp-5);
}

.footer__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

.footer__title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-3);
}

.footer__list { display: grid; gap: var(--sp-1); }
.footer__link {
  display: inline-block;
  padding-block: var(--sp-2);
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color var(--dur-fast) var(--ease);
}
.footer__link:hover { color: var(--text); text-decoration: underline; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule-soft);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.footer__credit a { color: var(--text-muted); }
.footer__credit a:hover { color: var(--text); }

/* --- MOBILE STICKY BAR ---------------------------------------------------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bench);
  border-top: 1px solid var(--rule);
}

.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: var(--mobilebar-h);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--daylight);
  transition: background var(--dur-fast) var(--ease);
}
.mobile-bar__btn:active { background: rgba(242, 238, 230, 0.09); }
.mobile-bar__btn svg { width: 18px; height: 18px; }
.mobile-bar__btn + .mobile-bar__btn { border-left: 1px solid var(--rule); }
.mobile-bar__btn--call { color: var(--brass-lift); }

@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: var(--mobilebar-h); } }

/* --- BREADCRUMB ----------------------------------------------------------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs li[aria-current="page"] { color: var(--text-accent); }

/* --- PAGE HEAD ------------------------------------------------------------ */

.page-head { padding-block: var(--sp-6) var(--sp-5); }
.page-head__lead { margin-top: var(--sp-4); }

/* --- PROCESS STEPS --------------------------------------------------------
   Numbered ONLY because the custom design process is genuinely sequential —
   the client's own copy describes it as three ordered stages.              */

.steps { display: grid; gap: var(--sp-4); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: var(--bg-raised);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono);
  color: var(--text-accent);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-2);
}
.step__body { font-size: var(--fs-small); color: var(--text-muted); max-width: none; }

/* --- SERVICE LIST --------------------------------------------------------- */

.services { display: grid; gap: var(--sp-4); }
@media (min-width: 760px)  { .services { grid-template-columns: repeat(2, 1fr); } }

.service {
  padding: var(--sp-5) var(--sp-4);
  background: var(--bg-raised);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  border-left: 2px solid var(--brass);
}
.service__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-2);
}
.service p { max-width: none; color: var(--text-muted); }

/* --- CATEGORY LIST (collection landing pages) ----------------------------- */

.cats { display: grid; gap: var(--sp-3); }
@media (min-width: 560px)  { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }

.cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 64px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-raised);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cat:hover { border-color: var(--brass); background: var(--bench); }
.cat__name { font-weight: var(--fw-semi); font-size: var(--fs-small); }
.cat svg { width: 16px; height: 16px; color: var(--text-accent); flex: none; }

/* --- PROSE (privacy policy, long-form) ------------------------------------ */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p { margin-bottom: var(--sp-4); }
.prose ul { margin-bottom: var(--sp-4); display: grid; gap: var(--sp-2); }
.prose li {
  position: relative;
  padding-left: var(--sp-4);
  color: var(--text-muted);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 1px;
  background: var(--brass);
}

/* --- NOTE / CALLOUT ------------------------------------------------------- */

.note {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--brass);
  border-radius: var(--radius);
}
.note svg { width: 20px; height: 20px; color: var(--text-accent); flex: none; margin-top: 2px; }
.note p { max-width: none; font-size: var(--fs-small); }

/* --- EXTERNAL TOOL FRAME -------------------------------------------------- */

.tool-frame {
  position: relative;
  min-height: 640px;
  background: var(--bg-raised);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.tool-frame iframe { width: 100%; height: 100%; min-height: 640px; border: 0; display: block; }

.tool-placeholder {
  display: grid;
  place-items: center;
  gap: var(--sp-4);
  min-height: 640px;
  padding: var(--sp-5);
  text-align: center;
}
.tool-placeholder svg { width: 40px; height: 40px; color: var(--text-accent); }

/* --- REVEAL (transform + opacity only) ------------------------------------ */

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* --- REDUCED MOTION — final state immediately, not a shortened duration --- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hub:hover .hub__img { transform: none; }
  .btn:hover { transform: none; }
}

/* --- PRINT ---------------------------------------------------------------- */

@media print {
  .topbar, .header, .mobile-bar, .loupe, .loupe__hint, .cta-band__actions { display: none; }
  body { background: var(--print-bg); color: var(--print-fg); }
}
