/* =========================================================
   Joseph's Barber Shop — demo site styles
   Built for older eyes and thumbs: 19px base text, 56px tap targets, strong contrast.
   ========================================================= */

:root {
  --navy-950: #0b1422;
  --navy-900: #101c2e;
  --navy-800: #16243a;
  --navy-700: #22365a;
  --cream-50: #fcfaf5;
  --cream-100: #f6f0e4;
  --cream-200: #ebdfc9;
  --line: #dccdb1;
  --ink: #1b1f27;
  --muted: #535966;
  --red-600: #b3202a;
  --red-700: #921922;
  --red-50: #fdf1f1;
  --blue-600: #1d4f91;
  --brass-300: #e6c88a;
  --brass-500: #c49a4a;
  --brass-700: #7d5f22;
  --green-700: #17643b;
  --green-50: #e5f3ea;
  --amber-800: #7a4f00;
  --amber-50: #fdf2d9;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 28, 46, 0.06), 0 10px 30px rgba(16, 28, 46, 0.08);
  --tap: 56px;
  --gutter: 16px;
  --ribbon-h: 0px; /* no demo ribbon in production */
  --bar-h: 86px;
  --header-h: calc(var(--ribbon-h) + var(--bar-h));
  --content-max: 1060px;
}

@media (min-width: 1100px) {
  :root {
    --gutter: 132px; /* room for the side poles */
    --bar-h: 78px;
  }
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 3px;
}

section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white);
  padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.fatal { padding: 24px; background: var(--red-50); color: var(--red-700); font-weight: 700; }

.icon { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--lg { min-height: var(--tap); padding: 0 26px; font-size: 1.08rem; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--red-600); color: var(--white); }
.btn--primary:hover { background: var(--red-700); color: var(--white); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-950); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--ink); background: var(--white); }
.btn--light { background: var(--cream-50); color: var(--navy-900); }
.btn--light:hover { background: var(--white); color: var(--navy-900); }
.btn--brass { background: var(--brass-500); color: var(--navy-950); }
.btn--brass:hover { background: var(--brass-300); color: var(--navy-950); }
.btn--danger { background: var(--white); border-color: var(--red-600); color: var(--red-700); }
.btn--danger:hover { background: var(--red-50); color: var(--red-700); }
.btn--text { background: none; color: var(--muted); }
.btn--text:hover { color: var(--ink); }

.link-btn {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--blue-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--red-700); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 2px solid var(--line); cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--cream-100); }
.icon-btn--lg { width: 54px; height: 54px; }
.icon-btn .icon { width: 26px; height: 26px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 245, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 28, 46, 0.06);
}


.site-header__bar {
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 24px;
}

.brand {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--navy-900); line-height: 1;
}
.brand:hover { color: var(--navy-900); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: .01em; }
.brand__sub {
  margin-top: 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brass-700);
}

@media (max-width: 420px) {
  .brand__town { display: none; }
}

.header-nav, .header-actions { display: none; }

@media (min-width: 1100px) {
  .site-header__bar { justify-content: space-between; }
  .brand { align-items: flex-start; }
  .header-nav { display: flex; gap: 26px; }
  .header-nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
  .header-nav a:hover { border-bottom-color: var(--red-600); color: var(--ink); }
  .header-actions { display: flex; gap: 10px; }
}

/* ---------- barber poles ---------- */

.pole-dock {
  position: fixed; z-index: 50;
  top: calc(var(--ribbon-h) + 6px);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.pole-dock--left { left: 10px; }
.pole-dock--right { right: 10px; }

.pole {
  --pole-w: 24px;
  --pole-h: 44px;
  --tile: 24px;
  --cap-h: 8px;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 6px; border: 0; background: none; cursor: grab; /* side padding: 44px+ tap target on phones */
  touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pole-dock.is-dragging .pole { cursor: grabbing; }

.pole__cap {
  display: block;
  width: calc(var(--pole-w) + 8px);
  height: var(--cap-h);
  background: linear-gradient(90deg, #5e4a22 0%, #e9cf93 32%, #c49a4a 55%, #7a5d26 85%, #4e3c19 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.pole__cap--top {
  height: calc(var(--cap-h) + 4px);
  border-radius: 999px 999px 3px 3px;
}
.pole__cap--bottom { border-radius: 3px 3px 6px 6px; }

.pole__glass {
  position: relative; display: block; overflow: hidden;
  width: var(--pole-w); height: var(--pole-h);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

.pole__stripes {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(100% + var(--tile));
  /* 45° stripes repeat every half of the tile diagonal, so square tiles join seamlessly. */
  background-image: linear-gradient(45deg,
    var(--red-600) 0 12.5%, #fff 12.5% 25%, var(--blue-600) 25% 37.5%, #fff 37.5% 50%,
    var(--red-600) 50% 62.5%, #fff 62.5% 75%, var(--blue-600) 75% 87.5%, #fff 87.5% 100%);
  background-size: var(--tile) var(--tile);
  animation: pole-spin 1.6s linear infinite;
  will-change: transform;
}

@keyframes pole-spin {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-1 * var(--tile))); }
}

.pole__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 22%, rgba(255, 255, 255, .6) 36%,
    rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .42) 100%);
}

.pole:hover .pole__glass,
.pole-dock.is-open .pole__glass { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--brass-300); }

.pole-label {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800); line-height: 1;
}

@media (min-width: 1100px) {
  /* Desktop poles float over both dark and light sections, so the label gets its own chip. */
  .pole-label {
    padding: 5px 9px 4px; border-radius: 999px;
    background: var(--cream-50); border: 1px solid var(--line);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  }
}

.pole-menu {
  position: absolute; top: calc(100% + 8px);
  width: 270px; max-width: calc(100vw - 20px);
  padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(11, 20, 34, .28);
  transform-origin: top center;
  animation: menu-drop .2s ease-out;
}
.pole-dock--left .pole-menu { left: 0; }
.pole-dock--right .pole-menu { right: 0; }

@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-8px) scaleY(.94); }
  to { opacity: 1; transform: none; }
}

.pole-menu__title {
  padding: 8px 14px 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.pole-menu a {
  display: flex; align-items: center; min-height: 52px; padding: 0 14px;
  border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none;
}
.pole-menu a:hover, .pole-menu a:focus-visible { background: var(--cream-100); color: var(--ink); }
.pole-menu__owner { border-top: 1px solid var(--cream-200); margin-top: 6px; color: var(--muted) !important; font-size: .95rem; }

@media (min-width: 1100px) {
  .pole-dock { top: 50%; transform: translateY(-40%); gap: 8px; }
  .pole-dock--left { left: 34px; }
  .pole-dock--right { right: 34px; }
  .pole { --pole-w: 46px; --pole-h: 270px; --tile: 46px; --cap-h: 16px; }
  .pole__cap--top { height: calc(var(--cap-h) + 8px); }
  .pole-label { font-size: 12px; }
  .pole-menu { top: 0; }
  .pole-dock--left .pole-menu { left: calc(100% + 16px); }
  .pole-dock--right .pole-menu { right: calc(100% + 16px); }
  .pole-menu { transform-origin: top left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole__stripes { animation: none; }
  .pole-menu { animation: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(196, 154, 74, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--cream-50);
  padding: 44px 0 52px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 26px);
}

.hero__grid { position: relative; display: grid; gap: 32px; align-items: center; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--brass-300); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
}
@media (min-width: 560px) {
  .hero__eyebrow::before, .hero__eyebrow::after { content: ""; height: 1px; width: 36px; background: var(--brass-500); }
}

.hero__title {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em;
}
.hero__lead { margin-top: 18px; max-width: 34ch; font-size: 1.2rem; color: #d7deea; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__address { margin-top: 20px; color: #b9c3d3; font-size: 1rem; }

.status-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(230, 200, 138, .35);
  border-radius: 20px; padding: 24px;
  display: grid; gap: 10px;
}
.status-line { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #f4d6d6; }
.status-line.is-open { color: #bdf0cf; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #e05a5a; box-shadow: 0 0 0 4px rgba(224, 90, 90, .2); }
.status-line.is-open .status-dot { background: #3ccf7a; box-shadow: 0 0 0 4px rgba(60, 207, 122, .2); }
.status-card__label { margin-top: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-300); }
.status-card__value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.status-card__walkin { display: flex; align-items: center; gap: 8px; color: #d7deea; font-weight: 600; }
.status-card__walkin .icon { color: #3ccf7a; }
.status-card__rating { display: inline-flex; align-items: center; gap: 10px; color: #d7deea; font-weight: 600; text-decoration: none; }
.status-card__rating:hover { color: var(--white); }

@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}

/* ---------- stars ---------- */

.stars { position: relative; display: inline-flex; line-height: 0; }
.stars__base, .stars__fill { display: inline-flex; gap: 1px; }
.stars .icon { width: 20px; height: 20px; }
.stars__base { color: rgba(130, 130, 130, .35); }
.stars__fill {
  position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap;
  width: var(--fill, 100%); color: #e8a317;
}

/* ---------- sections ---------- */

.section { padding: 64px 0; }
.section--cream { background: var(--cream-100); }
.section--navy { background: var(--navy-900); color: var(--cream-50); }

.section-head { margin-bottom: 32px; max-width: 46rem; }
.eyebrow {
  color: var(--red-700); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
}
.section-title {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem);
}
.section-sub { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.section-head--light .eyebrow { color: var(--brass-300); }
.section-head--light .section-sub { color: #c9d2e0; }

/* ---------- price list ---------- */

.price-list {
  list-style: none; margin: 0; padding: 8px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.price-row { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row__top { display: flex; align-items: baseline; gap: 12px; }
.price-row__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.price-row__leader { flex: 1; min-width: 20px; border-bottom: 3px dotted var(--cream-200); transform: translateY(-5px); }
.price-row__price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--red-700); }
.price-row__bottom { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-row__desc { color: var(--muted); font-size: 1rem; }

/* ---------- booking ---------- */

.booking-root { scroll-margin-top: calc(var(--header-h) + 12px); }

.booker {
  max-width: 860px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  overflow: hidden;
}

.booker__head {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: 22px 24px 18px; background: var(--cream-100); border-bottom: 1px solid var(--line);
}
.booker__step { font-weight: 700; color: var(--red-700); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.booker__title { margin-top: 4px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; outline: none; }
.booker__call { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 1rem; flex-wrap: wrap; }
.booker__call a { font-weight: 700; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress__bar { height: 7px; border-radius: 99px; background: var(--cream-200); }
.progress__bar.is-done { background: var(--navy-700); }
.progress__bar.is-current { background: var(--red-600); }

@media (min-width: 760px) {
  .booker__head { grid-template-columns: 1fr auto; align-items: end; }
  .progress { grid-column: 1 / -1; }
}

.summary {
  display: grid; gap: 2px;
  padding: 12px 24px; background: #fbf7ee; border-bottom: 1px solid var(--line);
}
.summary__item { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.summary__label { width: 72px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.summary__value { flex: 1; min-width: 12rem; }

.booker__notice {
  margin: 16px 24px 0; padding: 14px 16px;
  background: var(--amber-50); border: 1px solid #ecd39a; border-radius: var(--radius-sm);
  color: var(--amber-800); font-weight: 700;
}

.booker__body { padding: 24px; }
.step-help { color: var(--muted); margin-bottom: 18px; }

.step-actions {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cream-200);
}

.choice-list { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 80px; padding: 16px 20px;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--brass-500); background: #fffdf8; }
.choice.is-selected { border-color: var(--red-600); background: var(--red-50); }
.choice__main { display: grid; gap: 4px; }
.choice__title { font-size: 1.2rem; font-weight: 700; }
.choice__sub { color: var(--muted); font-size: 1rem; }
.choice__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--red-700); }

.choice--pay { justify-content: flex-start; }
.choice__radio {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white);
}
.choice--pay.is-selected .choice__radio { border-color: var(--red-600); box-shadow: inset 0 0 0 6px var(--white); background: var(--red-600); }

@media (min-width: 760px) {
  .choice-list { grid-template-columns: 1fr 1fr; }
}

/* day + time pickers */
.day-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.day-btn {
  flex: 0 0 auto; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 2px;
  min-width: 88px; padding: 12px 10px;
  background: var(--white); border: 2px solid var(--line); border-radius: 14px; cursor: pointer;
}
.day-btn:hover:not(:disabled) { border-color: var(--brass-500); }
.day-btn__name { font-weight: 700; font-size: 1rem; }
.day-btn__date { font-size: 1.05rem; }
.day-btn__status { font-size: .85rem; color: var(--green-700); font-weight: 700; }
.day-btn.is-full .day-btn__status { color: var(--muted); }
.day-btn.is-closed { background: var(--cream-100); color: var(--muted); cursor: not-allowed; }
.day-btn.is-closed .day-btn__status { color: var(--muted); }
.day-btn.is-selected { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }
.day-btn.is-selected .day-btn__status { color: var(--brass-300); }

@media (min-width: 760px) {
  .day-strip { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; }
  .day-btn { min-width: 0; }
}

.times { margin-top: 18px; }
.times__day { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.time-group { margin-top: 16px; }
.time-group__label { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.time-btn {
  min-height: 60px; padding: 0 10px;
  background: var(--white); border: 2px solid var(--line); border-radius: 12px;
  font-size: 1.15rem; font-weight: 700; cursor: pointer;
}
.time-btn:hover { border-color: var(--red-600); background: var(--red-50); }
.time-btn.is-selected { border-color: var(--red-600); background: var(--red-600); color: var(--white); }

.empty-note {
  padding: 18px 20px; background: var(--cream-100); border-radius: var(--radius-sm);
  display: grid; gap: 6px;
}

/* form fields */
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field__label { font-weight: 700; font-size: 1.05rem; }
.field__hint { color: var(--muted); font-size: .95rem; margin-top: -2px; }
.field input {
  width: 100%; min-height: 58px; padding: 0 16px;
  background: var(--white); border: 2px solid var(--line); border-radius: 12px;
  font-size: 1.15rem;
}
.field input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29, 79, 145, .18); }
.field.has-error input { border-color: var(--red-600); }
.field__error { color: var(--red-700); font-weight: 700; font-size: 1rem; }
.field__error:empty { display: none; }

.check {
  display: flex; align-items: center; gap: 14px; min-height: var(--tap);
  font-weight: 600; cursor: pointer;
}
.check input { width: 28px; height: 28px; accent-color: var(--red-600); flex: none; }

/* payment */
.pay-panel {
  margin-top: 20px; padding: 22px;
  background: #fbf7ee; border: 1px solid var(--line); border-radius: var(--radius);
}
.sheet-label { font-weight: 700; margin-bottom: 10px; }
.tip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip-btn {
  min-height: 54px; background: var(--white); border: 2px solid var(--line); border-radius: 12px;
  font-weight: 700; font-size: 1.05rem; cursor: pointer;
}
.tip-btn.is-selected { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.totals { margin: 18px 0; display: grid; gap: 6px; }
.totals__row { display: flex; justify-content: space-between; gap: 12px; }
.totals__row--total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.25rem; }

.wallets { display: grid; gap: 10px; }
.wallet-btn {
  min-height: var(--tap); border-radius: 12px; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.wallet-btn--apple { background: #000; color: #fff; border: 2px solid #000; }
.wallet-btn--apple:hover { background: #222; }
.wallet-btn--google { background: #fff; color: #202124; border: 2px solid #dadce0; }
.wallet-btn--google:hover { background: #f8f9fa; }
@media (min-width: 560px) { .wallets { grid-template-columns: 1fr 1fr; } }

.divider-text {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 14px;
  color: var(--muted); font-size: .95rem; font-weight: 600;
}
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
.card-grid .field:first-child { grid-column: 1 / -1; }
.card-form__errors { margin: -6px 0 12px; }

.pay-status { min-height: 1.5em; margin-top: 12px; font-weight: 700; color: var(--navy-700); }
.pay-status.is-busy::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px;
  border: 3px solid var(--cream-200); border-top-color: var(--red-600); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.secure-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.secure-note .icon { margin-top: 3px; }

/* done */
.booker--done { padding: 36px 24px; }
.done { display: grid; justify-items: center; text-align: center; gap: 12px; }
.done__check {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-50); color: var(--green-700);
}
.done__check .icon { width: 48px; height: 48px; }
.done__title { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; outline: none; }
.done__when { font-size: 1.25rem; font-weight: 700; }
.done__facts { width: 100%; max-width: 520px; margin: 10px 0; padding: 0; display: grid; gap: 0; text-align: left; }
.done__fact { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--cream-200); }
.done__fact dt { color: var(--muted); font-weight: 600; }
.done__fact dd { margin: 0; font-weight: 600; }
.done__note { color: var(--green-700); font-weight: 700; }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.done__change { color: var(--muted); }

/* ---------- gallery ---------- */

.seg {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(127, 127, 127, .14); border-radius: 14px;
}
.seg__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  background: transparent; font-weight: 700; cursor: pointer; color: inherit;
}
.seg__btn.is-active { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.seg--wide { display: flex; }
.seg--wide .seg__btn { flex: 1; }
.seg--gallery { margin-bottom: 24px; background: rgba(255, 255, 255, .1); }
.seg--gallery .seg__btn { color: var(--cream-50); }
.seg--gallery .seg__btn.is-active { color: var(--navy-900); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.gallery-item {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: 0; padding: 0; border-radius: 14px; background: var(--navy-800); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: var(--white); font-weight: 700; text-align: left; font-size: 1rem;
}

.gallery-item--placeholder {
  cursor: default; display: grid; place-items: center; align-content: center; gap: 6px;
  border: 1px dashed rgba(230, 200, 138, .45); color: var(--brass-300);
}
.gallery-item--placeholder.tone-0 { background: linear-gradient(160deg, #1d2e4a, #142238); }
.gallery-item--placeholder.tone-1 { background: linear-gradient(160deg, #2a2234, #1a1626); }
.gallery-item--placeholder.tone-2 { background: linear-gradient(160deg, #20323a, #142228); }
.gallery-item--placeholder.tone-3 { background: linear-gradient(160deg, #33261c, #211912); }
.gallery-item__icon { width: 46px; height: 46px; opacity: .85; }
.gallery-item--placeholder .gallery-item__caption {
  position: static; background: none; padding: 0 12px; text-align: center; color: var(--cream-50);
}
.gallery-item__soon { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0c8; }
.gallery-note { margin-top: 18px; color: #c9d2e0; font-size: 1rem; }
.gallery-note a { color: var(--brass-300); }

.lightbox {
  padding: 0; border: 0; border-radius: 16px; background: var(--navy-950); color: var(--cream-50);
  max-width: min(96vw, 1000px); max-height: 94vh;
}
.lightbox::backdrop { background: rgba(5, 10, 18, .85); }
.lightbox__inner { position: relative; display: grid; }
.lightbox__inner img { max-height: calc(94vh - 90px); width: auto; margin: 0 auto; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  background: rgba(0, 0, 0, .55); color: var(--white); border-color: rgba(255, 255, 255, .4); font-size: 1.1rem;
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.lightbox__text { text-align: center; flex: 1; }
.lightbox__text span { color: #9fb0c8; font-size: .9rem; }

/* ---------- reviews ---------- */

.rating-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.rating-badge {
  display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 14px;
  padding: 16px 22px; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
}
.rating-badge:hover { border-color: var(--brass-500); color: var(--ink); }
.rating-badge__source { grid-column: 1 / -1; font-weight: 700; color: var(--muted); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.rating-badge__score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.rating-badge__count { grid-column: 1 / -1; color: var(--blue-600); font-weight: 600; font-size: .95rem; }

.review-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.review-card__top { display: flex; justify-content: space-between; align-items: center; }
.review-card__source { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.review-card__quote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; }
.review-card__summary { font-size: 1.05rem; }
.review-card__tag {
  display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px;
  background: var(--cream-100); color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: 2px;
}
.review-card__author { margin-top: auto; color: var(--muted); font-size: .95rem; }
.review-card__author strong { color: var(--ink); }
.reviews-more { margin-top: 24px; font-weight: 600; }

/* ---------- visit ---------- */

.visit-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }

.visit-address { margin-top: 18px; font-style: normal; font-size: 1.15rem; }
.visit-phone {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--red-700); text-decoration: none;
}
.visit-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }

.hours-table { margin-top: 28px; width: 100%; border-collapse: collapse; font-size: 1.08rem; }
.hours-table th, .hours-table td { padding: 12px 10px; border-bottom: 1px solid var(--cream-200); text-align: left; }
.hours-table td { text-align: right; }
.hours-table tr.is-closed td { color: var(--muted); }
.hours-table tr.is-today { background: var(--amber-50); font-weight: 700; }
.today-tag {
  margin-left: 10px; padding: 2px 8px; border-radius: 6px;
  background: var(--red-600); color: var(--white); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px;
}

.map-wrap {
  overflow: hidden; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--cream-100); min-height: 320px;
}
.map { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-950); color: #c9d2e0; padding: 48px 0 28px; }
.site-footer a { color: var(--brass-300); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--cream-50); margin-bottom: 8px; }
.footer-head { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-500); margin-bottom: 8px; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #8d9ab0; }

/* ---------- mobile call/book bar ---------- */

.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 28, 46, .97); box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
}
.mobile-actions .btn { min-height: 54px; font-size: 1.1rem; }
body:not(.is-owner) { padding-bottom: 80px; }
@media (min-width: 1100px) {
  .mobile-actions { display: none; }
  body:not(.is-owner) { padding-bottom: 0; }
}

/* ---------- toasts ---------- */

.toasts {
  position: fixed; left: 50%; bottom: 100px; z-index: 60; transform: translateX(-50%);
  display: grid; gap: 10px; width: min(92vw, 440px); pointer-events: none;
}
.toast {
  padding: 14px 18px; border-radius: 12px; font-weight: 700;
  background: var(--navy-900); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: toast-in .2s ease-out; transition: opacity .3s, transform .3s;
}
.toast--success { background: var(--green-700); }
.toast--error { background: var(--red-700); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- booking hand-off to Square ---------- */

.progress--two { grid-template-columns: repeat(2, 1fr); }
.handoff { display: grid; gap: 20px; }
.handoff__summary {
  display: grid; gap: 4px; padding: 18px 20px;
  background: var(--cream-100); border: 1px solid var(--line); border-radius: var(--radius);
}
.handoff__label { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.handoff__service { font-family: var(--font-display); font-size: 1.5rem; }
.handoff__meta { color: var(--muted); }
.handoff__limit {
  margin-top: 6px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--amber-50); color: var(--amber-800); font-weight: 600;
}
.handoff__action { display: grid; gap: 12px; }
.handoff__note { color: var(--muted); }
.handoff__soon { font-weight: 700; font-size: 1.15rem; }
.handoff__walkin { color: var(--muted); }

/* ---------- owner photo uploader (owner-photos.html) ---------- */

.uploader-page { background: #eef1f5; padding-bottom: 0; }
.uploader { max-width: 620px; margin: 0 auto; padding: 24px 16px 64px; display: grid; gap: 16px; }
.uploader__head { display: grid; gap: 6px; }
.uploader__panels { display: grid; gap: 16px; }
.uploader-card {
  background: var(--white); border-radius: 18px; padding: 20px;
  box-shadow: 0 1px 3px rgba(16, 28, 46, .08); display: grid; gap: 14px;
}
.uploader-card__title { font-size: 1.2rem; font-weight: 700; font-family: var(--font-body); }
.uploader-form { display: grid; gap: 14px; }
.uploader-form .field, .uploader-card .field { margin-bottom: 0; }
.uploader__status { min-height: 1.4em; font-weight: 700; color: var(--navy-700); }
.uploader__note { color: var(--muted); font-size: .95rem; }
.uploader__list { display: grid; gap: 18px; }
.uploader__album { display: grid; gap: 10px; }
.uploader__album-title { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.upload-btn { cursor: pointer; }
.upload-btn.is-busy { opacity: .6; pointer-events: none; }
#photo-input:focus-visible + .upload-btn { outline: 3px solid var(--brass-500); outline-offset: 3px; }
.thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #dfe3ea; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__delete {
  position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(0, 0, 0, .65); color: var(--white);
}
.thumb__delete .icon { width: 22px; height: 22px; }
.muted { color: var(--muted); }

.closures-note {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--amber-50); color: var(--amber-800); font-weight: 600;
}

.services-note {
  margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px dashed var(--brass-500); font-weight: 600;
}
@media (min-width: 1000px) {
  .gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Meet Joe ---------- */
.about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-copy { display: grid; gap: 14px; }
.about-text { font-size: 1.15rem; max-width: 36rem; }
.about-photo { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- website numbers (owner-stats.html) ---------- */
.stats-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .stats-summary { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 2px; }
.stat-tile__value { font: 700 1.8rem/1.1 var(--font-display); color: var(--navy-800); }
.stat-tile__label { color: var(--muted); font-size: .95rem; font-weight: 600; }
.stats-ads { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--green-50); color: var(--green-700); font-weight: 700; }
.stats-table-wrap { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.stats-table th, .stats-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stats-table th:first-child, .stats-table td:first-child { text-align: left; white-space: normal; }
.stats-table thead th { color: var(--muted); font-size: .9rem; }
.stats-table tfoot td { font-weight: 700; border-bottom: 0; }
.prose-card p { line-height: 1.6; }
.prose-card .uploader-card__title { margin-top: 6px; }
