/* Bozo's Custom Tailoring — warm neutral, old-school craftsman made modern */
:root {
  --bg: #f5efe4;          /* linen */
  --paper: #fbf8f2;       /* card / paper */
  --sand: #e9dfcd;        /* soft divider ground */
  --ink: #2a211b;         /* espresso */
  --ink-2: #5a4c40;       /* muted text, 7:1 on bg */
  --line: #d9ccb6;
  --accent: #9a5b2a;      /* tobacco / thread, 5.2:1 on bg */
  --accent-ink: #7d4720;
  --accent-soft: #c98a4b;
  --dark: #241c17;
  --dark-2: #33281f;
  --on-dark: #f3ebdd;
  --on-dark-2: #cbbba6;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --shadow: 0 1px 2px rgba(42,33,27,.06), 0 8px 24px -12px rgba(42,33,27,.18);
  --shadow-up: 0 2px 4px rgba(42,33,27,.08), 0 16px 32px -14px rgba(42,33,27,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: 20px;
  --banner-h: 30px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for mobile call bar */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
svg { flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }

/* Kitebuild preview banner */
.kb-banner {
  height: var(--banner-h); display: flex; align-items: center; justify-content: center;
  background: #111; color: #e8e2d8; font: 500 .75rem/1 var(--sans); letter-spacing: .04em;
}
.kb-banner strong { color: #fff; margin-left: .3em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,239,228,.92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand__mark { width: 36px; height: 36px; color: var(--ink); }
.brand__name { font: 700 1.25rem/1 var(--serif); display: flex; flex-direction: column; }
.brand__name small { font: 500 .65rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.nav__links { display: none; gap: 28px; }
.nav .btn--sm { display: none; }
@media (min-width: 960px) { .nav .btn--sm { display: inline-flex; } }
.nav__links a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: 10px 0; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; touch-action: manipulation;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(154,91,42,.7); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }

.eyebrow { font: 600 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--banner-h) - var(--nav-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; animation: heroZoom 1.6s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,11,.35) 0%, rgba(20,15,11,.55) 40%, rgba(20,15,11,.9) 100%); }
.hero__in { padding-top: 64px; padding-bottom: 40px; }
.hero .eyebrow { color: #e6b98a; }
.hero h1 { font-size: clamp(2.25rem, 8.5vw, 4.5rem); font-weight: 600; max-width: 14ch; }
.hero__lead { margin-top: 18px; font-size: 1.075rem; line-height: 1.6; color: #efe6d8; max-width: 40ch; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 20px 0 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; color: #d9cdbb; }
.hero__facts strong { font: 600 1.15rem/1 var(--serif); color: #fff; margin-right: 4px; }

.enter { opacity: 0; transform: translateY(14px); animation: enter .7s var(--ease) forwards; }
.enter:nth-child(2) { animation-delay: .08s; }
.enter:nth-child(3) { animation-delay: .16s; }
.enter:nth-child(4) { animation-delay: .24s; }
.enter:nth-child(5) { animation-delay: .32s; }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Sections */
.section { padding: 72px 0; }
.section__head { margin-bottom: 36px; max-width: 720px; }
.section__head h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.section__lead { margin-top: 14px; font-size: 1.05rem; color: var(--ink-2); max-width: 58ch; }
.section__head--row { max-width: none; display: flex; flex-direction: column; gap: 24px; }

/* Service cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-2); }
.tags { list-style: none; padding: 0; margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 500; color: var(--accent-ink); background: #f1e4d2; border-radius: 999px; padding: 4px 10px; }

.rush { margin-top: 28px; display: grid; gap: 16px; align-items: center; background: var(--ink); color: var(--on-dark); border-radius: var(--r); padding: 26px 22px; }
.rush > svg { width: 40px; height: 40px; fill: none; stroke: var(--accent-soft); stroke-width: 1.6; stroke-linecap: round; }
.rush h3 { font-size: 1.5rem; color: #fff; }
.rush p { color: var(--on-dark-2); margin-top: 4px; }

/* Why */
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #e6b98a; }
.section--dark .section__lead { color: var(--on-dark-2); }
.why { display: grid; gap: 40px; }
.why__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__text h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.why__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.why__list li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(243,235,221,.14); }
.why__list li:last-child { border-bottom: 1px solid rgba(243,235,221,.14); }
.why__num { font: 600 2.4rem/1 var(--serif); color: #e6b98a; }
.why__num sup { font-size: .5em; vertical-align: top; }
.why__num small { font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-left: 3px; }
.why__list h3 { font-size: 1.25rem; margin-bottom: 4px; }
.why__list p { color: var(--on-dark-2); }

/* Reviews */
.ratings { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.rating strong { grid-row: span 2; font: 600 2rem/1 var(--serif); }
.rating .stars { color: var(--accent); letter-spacing: 2px; font-size: .95rem; }
.rating span:last-child { font-size: .85rem; color: var(--ink-2); }
.reviews { display: grid; gap: 16px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 18px; font: 700 4rem/1 var(--serif); color: #ead9c2; }
.review blockquote { margin: 0; font: 500 1.1rem/1.5 var(--serif); position: relative; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption span { color: var(--ink-2); font-size: .82rem; }
.review--feature { background: var(--accent); border-color: var(--accent); color: #fff; }
.review--feature::before { color: rgba(255,255,255,.25); }
.review--feature blockquote { font-size: 1.35rem; }
.review--feature figcaption span { color: #f3dcc3; }

/* Visit */
.section--paper { background: var(--sand); }
.address-big { font-size: clamp(2.4rem, 10vw, 5.5rem) !important; line-height: 1; }
.address-big span { display: block; font: 500 clamp(1rem, 2.5vw, 1.4rem)/1.4 var(--sans); color: var(--ink-2); margin-top: 14px; letter-spacing: 0; }
.visit { display: grid; gap: 28px; }
.visit__info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours tr:last-child td { color: var(--accent-ink); }
.visit__note { margin-top: 18px; color: var(--ink-2); }
.visit__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.visit__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 4 / 3; }
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 48px 0 28px; font-size: .95rem; }
.footer__in { display: grid; gap: 20px; }
.footer__name { font: 600 1.4rem/1.2 var(--serif); color: #fff; margin-bottom: 8px; }
.footer__name em { font-weight: 500; color: #e6b98a; }
.footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; display: inline-block; padding: 10px 0; }
.footer a:hover { text-decoration-color: #e6b98a; }
.footer__fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(243,235,221,.12); font-size: .8rem; color: #a8977f; }

/* Mobile sticky call bar */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  background: var(--accent); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(42,33,27,.6);
}
.callbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.callbar { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.callbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.callbar:active { transform: scale(.98); }

/* ≥ 640 */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__actions, .visit__actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review--feature { grid-column: span 2; }
  .rush { grid-template-columns: auto 1fr auto; padding: 28px 32px; gap: 24px; }
  .footer__in { grid-template-columns: 1fr auto; align-items: end; }
}

/* ≥ 960 */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .nav__links { display: flex; }
  .section { padding: 112px 0; }
  .hero__in { padding-bottom: 72px; }
  .hero::after { background: linear-gradient(90deg, rgba(20,15,11,.88) 0%, rgba(20,15,11,.6) 45%, rgba(20,15,11,.2) 100%); }
  .hero__lead { font-size: 1.2rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review--feature { grid-column: span 1; grid-row: span 2; justify-content: flex-end; }
  .review--feature blockquote { font-size: 1.75rem; }
  .why { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .why__img { aspect-ratio: 4 / 5; }
  .visit { grid-template-columns: 5fr 7fr; gap: 56px; align-items: stretch; }
  .visit__map { aspect-ratio: auto; min-height: 420px; }
}

@media (hover: none) {
  .card:hover, .btn:hover { transform: none; }
  .card:hover .card__img img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enter { opacity: 1; transform: none; }
}
