/* =========================================================================
   West 57th Shoe Repair — cold-pitch redesign
   Design system + page styles
   ========================================================================= */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Palette: SADDLE LEATHER (default) */
  --bg:        #f3ede1;   /* warm cream */
  --bg-2:      #ece2d2;   /* deeper cream for alternating bands */
  --paper:     #faf6ec;   /* card paper */
  --espresso:  #241b14;   /* dark section / deep ink */
  --ink:       #2a2017;   /* primary text */
  --ink-soft:  #5e5043;   /* secondary text */
  --line:      rgba(42,32,23,0.16);
  --line-soft: rgba(42,32,23,0.09);
  --accent:    #9a5a30;   /* cognac */
  --accent-2:  #7a4322;   /* saddle */
  --on-dark:   #efe6d6;   /* text on espresso */
  --on-dark-soft: rgba(239,230,214,0.62);

  /* Type */
  --font-display: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono:    'Spline Sans Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Shape */
  --radius: 3px;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

/* Palette: CHARCOAL & BRASS */
:root[data-palette="charcoal"] {
  --bg:        #f0eee9;
  --bg-2:      #e4e1d9;
  --paper:     #f8f7f3;
  --espresso:  #1b1c1e;
  --ink:       #232425;
  --ink-soft:  #595b5d;
  --line:      rgba(30,32,34,0.16);
  --line-soft: rgba(30,32,34,0.09);
  --accent:    #a9842f;   /* brass */
  --accent-2:  #8a6a22;
  --on-dark:   #ece9e1;
  --on-dark-soft: rgba(236,233,225,0.6);
}

/* Palette: HUNTER & TAN */
:root[data-palette="hunter"] {
  --bg:        #f2efe4;
  --bg-2:      #e7e2d2;
  --paper:     #f9f6ec;
  --espresso:  #1f2a23;
  --ink:       #232a24;
  --ink-soft:  #51594f;
  --line:      rgba(31,42,35,0.16);
  --line-soft: rgba(31,42,35,0.09);
  --accent:    #9a6a38;   /* tan */
  --accent-2:  #2f5641;   /* hunter */
  --on-dark:   #e9e7d8;
  --on-dark-soft: rgba(233,231,216,0.6);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Optional paper grain */
body[data-grain="on"]::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Type scale --------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1.display { font-size: clamp(31px, 6.4vw, 74px); }
h2.display { font-size: clamp(29px, 5vw, 60px); line-height: 1.04; }
h3.display { font-size: clamp(23px, 3vw, 34px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--on-dark-soft); }

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 56ch;
}

/* ---- Layout primitives -------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: clamp(72px, 11vh, 132px) 0; }
.band-2  { background: var(--bg-2); }
.band-dark {
  background: var(--espresso);
  color: var(--on-dark);
}
.band-dark .lede { color: var(--on-dark-soft); }
.band-dark .section-index { color: var(--on-dark-soft); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .eyebrow { white-space: nowrap; }
.band-dark .section-head { border-color: rgba(239,230,214,0.18); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.band-dark .btn-ghost { color: var(--on-dark); border-color: rgba(239,230,214,0.32); }
.band-dark .btn-ghost:hover { border-color: var(--on-dark); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Top nav ------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1.5px; background: var(--accent); transition: right .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Hamburger toggle — hidden on desktop, shown ≤640 */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0; flex: none;
}
.nav-toggle .nav-toggle-bars {
  display: flex; flex-direction: column; gap: 5px;
  width: 22px;
}
.nav-toggle .nav-toggle-bars span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-down mobile panel */
.nav-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 18px;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height .34s ease, opacity .26s ease, padding .34s ease;
}
.nav-panel.open { opacity: 1; max-height: 70vh; }
.nav-panel a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
  min-height: 44px; display: flex; align-items: center;
}
.nav-panel a:last-of-type { border-bottom: none; }
.nav-panel .nav-panel-hours {
  font-family: var(--font-body); font-size: 14px;
  justify-content: center; margin-top: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-panel .nav-panel-phone {
  font-family: var(--font-body); font-size: 15px;
  justify-content: center; margin-top: 16px;
  border-bottom: none; min-height: 48px;
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(48px, 7vh, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-eyebrow .rule { height: 1px; width: 48px; background: var(--accent); opacity: .5; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-media .ph { height: 100%; }
.hero-media .stamp {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--espresso); color: var(--on-dark);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 9px 14px; border-radius: 2px;
  text-transform: uppercase;
}

/* trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 76px);
}
.trust .cell {
  padding: 26px 22px 4px 0;
  border-right: 1px solid var(--line-soft);
}
.trust .cell:last-child { border-right: none; }
.trust .num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}
.trust .lbl {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 10px;
}

/* ---- Image placeholder -------------------------------------------------- */
.ph {
  position: relative;
  width: 100%;
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(
    45deg,
    var(--line-soft) 0, var(--line-soft) 1px,
    transparent 1px, transparent 11px
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph .ph-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 2px;
  text-transform: uppercase;
  text-align: center;
  max-width: 78%;
}
/* Filled image slots */
.ph.filled { background: var(--espresso); border-color: transparent; }
.ph.filled .ph-tag { display: none; }
.ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Services ----------------------------------------------------------- */
.svc-intro {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px,4vw,64px);
  align-items: end;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: clamp(36px, 5vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc {
  background: var(--bg);
  padding: clamp(26px, 2.5vw, 36px);
  display: flex; flex-direction: column;
  min-height: 230px;
  transition: background .25s ease;
}
.svc:hover { background: var(--paper); }
.svc .svc-no {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.12em; margin-bottom: 18px;
}
.svc h3 { font-family: var(--font-display); font-size: 25px; margin-bottom: 12px; line-height: 1.05; }
.svc p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.svc .price {
  margin-top: auto; padding-top: 18px;
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.04em; color: var(--ink);
}
.svc .price b { color: var(--accent); font-weight: 600; }

/* ---- Craft / story ------------------------------------------------------ */
.craft-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.craft-media { aspect-ratio: 3 / 4; }
.craft-media .ph { height: 100%; }
.craft-body h2 { margin-bottom: 26px; }
.craft-body p { color: var(--on-dark-soft); margin-bottom: 20px; max-width: 52ch; }
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  color: var(--on-dark);
  border-left: 2px solid var(--accent);
  padding-left: 26px;
  margin: 34px 0;
  text-wrap: balance;
}
.signature {
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; color: var(--on-dark);
}
.signature small {
  display: block; font-family: var(--font-mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-soft); margin-top: 6px;
}

/* ---- Before/After slider ------------------------------------------------ */
.ba-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.ba {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  cursor: ew-resize;
}
.ba .layer { position: absolute; inset: 0; }
.ba .after  { z-index: 1; }
.ba .before { z-index: 2; width: 50%; border-right: 2px solid var(--paper); }
.ba .before .ph, .ba .after .ph { height: 100%; border: none; border-radius: 0; }
.ba .before .ph { background-color: #b9ac95; }
.ba .corner {
  position: absolute; top: 14px; z-index: 4;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px; border-radius: 2px;
  background: color-mix(in srgb, var(--espresso) 80%, transparent);
  color: var(--on-dark);
}
.ba .corner.l { left: 14px; }
.ba .corner.r { right: 14px; }
.ba .handle {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: 2px; background: var(--paper);
  left: 50%; transform: translateX(-1px);
  pointer-events: none;
}
.ba .handle .grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); color: var(--espresso);
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  font-size: 15px;
}
.ba-side h2 { margin-bottom: 18px; }
.ba-thumbs { display: flex; gap: 12px; margin-top: 26px; }
.ba-thumbs .t {
  flex: 1; aspect-ratio: 1; border-radius: 2px;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.ba-thumbs .t:hover { transform: translateY(-2px); border-color: var(--accent); }
.ba-thumbs .t.active { border-color: var(--accent); border-width: 2px; }

/* ---- Materials spec sheet ---------------------------------------------- */
.spec-sheet { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.spec-sheet .spec {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 20px;
}
.materials-note {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-soft); margin-top: 22px; max-width: 52ch; line-height: 1.6;
}

/* ---- Review evidence ---------------------------------------------------- */
.evidence {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.evidence-rating { margin-bottom: clamp(36px, 5vw, 56px); }
.evidence-rating .stars { color: var(--accent); letter-spacing: 6px; font-size: 18px; margin-bottom: 16px; }
.evidence-figure {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.04em; color: var(--ink-soft);
}
.evidence-figure b { color: var(--ink); font-weight: 500; }
.evidence-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-top: 12px;
}
.evidence-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05; font-style: italic;
  text-wrap: balance; color: var(--ink);
  margin-bottom: 22px;
}
.evidence-attr {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-soft); max-width: 46ch; margin: 0 auto; line-height: 1.5;
}

/* ---- Testimonials (legacy) ---------------------------------------------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px,4vw,52px); }
.tst {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.tst .stars { color: var(--accent); letter-spacing: 3px; font-size: 13px; margin-bottom: 18px; }
.tst blockquote {
  font-family: var(--font-display); font-size: 20px; line-height: 1.32;
  margin-bottom: 22px; text-wrap: pretty;
}
.tst .who { margin-top: auto; font-size: 14px; }
.tst .who b { display: block; }
.tst .who span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- Visit -------------------------------------------------------------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,4vw,56px); align-items: start; }
.map { aspect-ratio: 16 / 12; min-width: 0; }
.map-frame {
  width: 100%; height: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.map .ph { height: 100%; }
.visit-info h2 { margin-bottom: 28px; }
.info-row {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.info-row:first-of-type { border-top: none; }
.info-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.info-row .v { font-size: 16px; }
.info-row .v .day { display: flex; justify-content: space-between; max-width: 280px; padding: 3px 0; }
.info-row .v .day.closed { color: var(--ink-soft); }
.info-row .v .day b { font-weight: 500; }

/* ---- Quote form --------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: start; }
.quote-aside h2 { margin-bottom: 22px; }
.quote-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.quote-steps .step { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(239,230,214,0.16); }
.quote-steps .step .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  width: 28px; flex: none; padding-top: 2px;
}
.quote-steps .step h4 { font-size: 16px; margin-bottom: 4px; }
.quote-steps .step p { font-size: 14px; color: var(--on-dark-soft); }

.form {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: clamp(28px, 3vw, 44px);
  color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field.err input, .field.err select, .field.err textarea { border-color: #b3402e; }
.field .msg { font-family: var(--font-mono); font-size: 11px; color: #b3402e; margin-top: 6px; display: none; }
.field.err .msg { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; padding: 9px 15px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink-soft); transition: all .18s ease; user-select: none;
}
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--espresso); color: var(--on-dark); border-color: var(--espresso); }

.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.form-actions .note { font-size: 13px; color: var(--ink-soft); }

.form-success {
  display: none;
  text-align: center; padding: clamp(36px,5vw,64px) 24px;
}
.form-success.show { display: block; }
.form.sent .form-body { display: none; }
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 28px;
}
.form-success h3 { font-family: var(--font-display); font-size: 30px; margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); max-width: 40ch; margin: 0 auto 24px; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--espresso); color: var(--on-dark); padding: clamp(56px,7vw,84px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(239,230,214,0.16); }
.footer .brand { color: var(--on-dark); }
.footer .brand small { color: var(--on-dark-soft); }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; color: var(--on-dark); opacity: .85; margin-bottom: 10px; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-tagline { font-family: var(--font-display); font-size: 20px; margin: 18px 0; max-width: 30ch; line-height: 1.3; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--on-dark-soft); text-transform: uppercase; }

/* ---- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Pitch ribbon ------------------------------------------------------- */
.pitch-ribbon {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--espresso); color: var(--on-dark);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center;
  padding: 9px 16px;
  border-top: 1px solid rgba(239,230,214,0.18);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.pitch-ribbon b { color: var(--accent); font-weight: 600; }
.pitch-ribbon button {
  background: none; border: none; color: var(--on-dark-soft);
  font-family: inherit; font-size: 13px; line-height: 1; padding: 2px 4px;
}
.pitch-ribbon button:hover { color: var(--on-dark); }

/* ---- Responsive --------------------------------------------------------- */

/* tap-to-dial links inherit surrounding color */
.tel-link { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tel-link:hover { color: var(--accent); }

/* Below 1024 — hero stacks (text above, photo below) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .nav-hours { display: none; }
}

/* Below 900 — secondary two-column sections relax */
@media (max-width: 900px) {
  .svc-intro, .craft-grid, .ba-wrap, .visit-grid, .quote-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-media { aspect-ratio: 16/11; }
  .craft-media { aspect-ratio: 16/11; max-width: 460px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust .cell:nth-child(2) { border-right: none; }
}

/* Below 768 — single column site-wide */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  /* Map ~300px tall on mobile */
  .map { aspect-ratio: auto; height: 300px; }
  .map-frame { height: 300px; }
}

/* Below 640 — hamburger nav */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: flex; }
  /* compact phone pill keeps tap-to-dial visible in the bar */
  .nav-phone { padding: 11px 14px; font-size: 13px; gap: 6px; }
  .nav-phone .arrow { display: none; }
  .nav-cta { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Below 480 — narrowest: drop subtitle for room, phone moves to panel */
@media (max-width: 420px) {
  .brand small { display: none; }
}
@media (max-width: 359px) {
  .nav-phone { display: none; }
}

/* Reduced motion — settle everything, no transitions or smooth scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
