/* Bozo's Custom Tailoring — mobile first */
:root {
  --paper: #faf6ef;
  --cream: #f1e9dc;
  --linen: #e6dccb;
  --ink: #2b2420;
  --ink-soft: #5c5047;
  --walnut: #5a3d2b;
  --brass: #b5853f;
  --brass-dark: #8f6527;
  --white: #fff;
  --radius: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-bottom: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
a, button { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  padding-bottom: 64px; /* room for sticky call bar */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 8vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
main:focus { outline: none; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Preview banner */
.preview-banner {
  background: var(--ink);
  color: var(--linen);
  text-align: center;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.preview-banner strong { color: var(--brass); font-weight: 600; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--linen); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--walnut); }
.brand-sub { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px;
  font-weight: 600; text-decoration: none; color: var(--walnut); white-space: nowrap; font-size: .95rem;
}
.header-phone:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  min-height: 48px;
  border: 2px solid transparent; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.btn:active { opacity: .85; }
.btn-lg { padding: 16px 28px; font-size: 1.1rem; }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: #c9984f; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--walnut); color: var(--walnut); }
.btn-outline:hover { background: var(--walnut); color: var(--paper); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,22,17,.55) 0%, rgba(30,22,17,.82) 70%);
}
.hero-content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 64px; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--linen); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; max-width: 36em; color: #efe7da; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 20px; }
.hero-meta { font-size: .95rem; color: var(--linen); margin: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c46b55; margin-right: 6px; vertical-align: 1px; }
.dot-open { background: #6fbf73; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--walnut); color: var(--paper); }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .5rem; }
.section-dark .kicker { color: #e2b56c; }

/* Service cards */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--linen); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; background: var(--linen); }
.card-body { padding: 20px 22px 24px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--linen); }
.card li:first-child { border-top: 0; }
.card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 2px; background: var(--brass); }
.card-accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-accent p { color: #e3d9ca; }
.text-link { color: #e2b56c; font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; margin-top: 4px; }
.text-link:hover { text-decoration: underline; }

/* Why */
.why-grid { display: grid; gap: 36px; }
.why-intro { color: #eadfce; font-size: 1.1rem; max-width: 32em; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.why-list li { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.why-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.why-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #e2b56c; min-width: 3.6em; line-height: 1; }
.why-list h3 { margin-bottom: .25em; }
.why-list p { margin: 0; color: #e3d9ca; }

/* Reviews */
.rating { color: var(--ink-soft); margin-bottom: 0; }
.stars { color: var(--brass); letter-spacing: 2px; }
.reviews { display: grid; gap: 18px; margin-top: 28px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--linen); border-left: 4px solid var(--brass); border-radius: var(--radius); padding: 22px 22px 18px; }
.review blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; font-weight: 500; }
.review figcaption { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.review figcaption::before { content: "— "; }

/* Visit */
.visit-grid { display: grid; gap: 32px; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--linen); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today th, .hours tr.today td { color: var(--brass-dark); font-weight: 600; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; font-size: .85em; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 20px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linen); background: var(--linen); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: var(--linen); padding: 40px 0; font-size: .95rem; }
.footer-inner { display: grid; gap: 16px; }
.site-footer p { margin: 0 0 .3em; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); }
.site-footer a { color: #e2b56c; font-weight: 600; text-decoration: none; }
.footer-small { font-size: .85rem; color: #a99c8c; }

/* Sticky call bar (phones) */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--brass); color: var(--ink);
  text-align: center; font-weight: 600; font-size: 1.05rem; text-decoration: none;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,.18);
  transition: transform .25s ease-out;
}
.call-bar.is-hidden { transform: translateY(110%); }
.call-bar:focus-visible { outline-offset: -4px; transform: none; }

/* Tablet and up */
@media (min-width: 768px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .header-phone { font-size: 1.05rem; }
  .brand-sub { letter-spacing: .12em; }
}

/* Desktop */
@media (min-width: 1024px) {
  html { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .hero-content { padding-top: 120px; padding-bottom: 110px; max-width: 1120px; }
  .hero h1, .lede { max-width: 15em; }
  .lede { max-width: 32em; }
  .section { padding: 88px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .visit-grid { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: end; }
  .footer-small { text-align: right; }
}
