/* George's Shoe Comfort & Repair — skill v1.24
   GROUND: warm cream #f7f2e9 — a cobbler's world is leather, wood and old paper;
   cream is the world's own color here, not a habit (his card ground is cream too).
   PALETTE (default path, sources in build-log): ink brown #33241a, muted #6f5d4e,
   tint #efe6d6, card white #fffdf8. ACTION: oxblood maroon #7b2331 sampled from the
   banner of his own printed business card — appears NOWHERE but CTAs. One dark hue
   (the ink brown); the closer band uses it. */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-var.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-var.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ground: #f7f2e9;
  --tint: #efe6d6;
  --card: #fffdf8;
  --ink: #33241a;
  --muted: #6f5d4e;
  --line: #e0d4c0;
  --action: #7b2331;
  --action-dark: #641c28;
  --display: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Rubik", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
}

.shell { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 18px; }
h3 { font-size: 19px; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding-top: 10px; padding-bottom: 10px;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 20px;
  color: var(--ink); text-decoration: none; line-height: 1.05;
  white-space: nowrap;
}
.wordmark span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.site-nav { display: none; }
.btn-header { margin-left: auto; padding: 10px 22px; min-width: 104px; text-align: center; }
@media (min-width: 900px) {
  .site-nav { display: flex; gap: 20px; margin-left: 26px; }
  .site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
  .site-nav a:hover { text-decoration: underline; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 500;
  font-size: 16.5px; text-decoration: none; text-align: center;
  border-radius: 10px; padding: 14px 26px; border: 2px solid transparent;
}
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-dark); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: rgba(51, 36, 26, .06); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: #fff; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.cta-row.center { justify-content: center; }
@media (max-width: 640px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 46px; }
.hero-grid { display: grid; gap: 30px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--action);
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 16px; }
.subtitle { font-size: 18.5px; color: var(--ink); max-width: 46ch; }
.hours { margin-top: 6px; }
.hours-status { display: flex; align-items: center; gap: 8px; font-size: 16.5px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.dot.open { background: #1d8a3c; }
.dot.closed { background: #c22c2c; }
.hours-table { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.hours-table p { margin: 0; }
.hero-photo img { border-radius: 14px; }
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

/* ---------- proof strip (quiet) ---------- */
.proof { padding: 8px 0 4px; }
.proof-inner { max-width: 760px; }
.proof blockquote p {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 2.6vw, 23px); line-height: 1.35;
}
.proof blockquote footer { margin-top: 8px; color: var(--muted); font-size: 15px; }
.quiet-link { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 54px 0; }
.section-tint { background: var(--tint); }
.section-lede { color: var(--muted); margin: -8px 0 20px; }

/* ---------- service cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; padding-bottom: 20px;
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card h3 { margin: 16px 18px 8px; }
.card p { margin: 0 18px; font-size: 16px; color: var(--ink); }
@media (min-width: 700px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ---------- the claim ticket (signature element) ---------- */
.ticket {
  background: var(--card); border: 1.5px dashed var(--muted); border-radius: 6px;
  max-width: 720px; padding: 26px 28px 20px; position: relative;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ground); border: 1.5px dashed var(--muted); top: 50%;
}
.ticket::before { left: -14px; transform: translateY(-50%); clip-path: inset(0 0 0 50%); }
.ticket::after { right: -14px; transform: translateY(-50%); clip-path: inset(0 50% 0 0); }
.ticket-head {
  display: flex; justify-content: space-between; gap: 10px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px;
  font-family: var(--display); font-weight: 700;
}
.ticket-no { color: var(--muted); letter-spacing: .06em; }
.ticket-steps { list-style: none; counter-reset: step; }
.ticket-steps li {
  counter-increment: step; padding: 10px 0 10px 44px; position: relative;
  border-bottom: 1px dotted var(--line); font-size: 16.5px;
}
.ticket-steps li:last-child { border-bottom: 0; }
.ticket-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--ground);
  font-family: var(--display); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ticket-foot { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- work gallery ---------- */
.ba-pair { display: grid; gap: 16px; margin-bottom: 20px; }
.ba-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ba-item img { width: 100%; height: 300px; object-fit: cover; }
.ba-item figcaption { padding: 10px 14px; font-size: 15px; color: var(--muted); }
@media (min-width: 700px) { .ba-pair { grid-template-columns: 1fr 1fr; } }
.work-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.work-grid figure { border-radius: 12px; overflow: hidden; }
.work-grid img { width: 100%; height: 240px; object-fit: cover; }
@media (min-width: 820px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px;
}
.review p { font-size: 16.5px; }
.review footer { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .review-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 28px; }
.about-copy p { margin-bottom: 14px; max-width: 56ch; }
.about-photo img { border-radius: 14px; }
@media (min-width: 820px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

/* ---------- faq ---------- */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
summary {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  cursor: pointer; list-style-position: outside;
}
summary:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
details p { margin-top: 10px; color: var(--ink); }

/* ---------- closer (the one heavy band) ---------- */
.closer {
  background: var(--ink); color: #fff; padding: 60px 0;
  text-align: center;
}
.closer h2 { color: #fff; }
.closer > .shell > p { color: #e8ddcf; }
.visit-grid {
  display: grid; gap: 26px; margin-top: 36px; text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 32px;
}
.visit-info h3 { color: #fff; font-size: 16px; margin: 18px 0 6px; }
.visit-info h3:first-child { margin-top: 0; }
.visit-info p, .visit-info .hours-table { color: #e8ddcf; font-size: 16px; }
.visit-link { color: #fff; }
.visit-note { font-size: 15px; color: #cbbba7; }
.visit-photo img { border-radius: 12px; width: 100%; }
@media (min-width: 760px) {
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- footer ---------- */
.site-footer { padding: 22px 0 30px; color: var(--muted); font-size: 14.5px; }

/* ---------- reveal animation (gated on html.js) ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- focus ---------- */
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.closer a:focus-visible { outline-color: #fff; }
