/* ── Reset & tokens ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0f0e0d;
  --s1:         #1a1917;
  --s2:         #242220;
  --border:     #2e2c29;
  --amber:      #e8a427;
  --amber-lo:   #e8a42718;
  --text:       #f0ece4;
  --muted:      #6b6760;
  --success:    #1d9e75;
  --open-green: #6BC98A;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ── Reveal animations ──────────────────────────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.r.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .07s }
.d2 { transition-delay: .14s }
.d3 { transition-delay: .21s }
.d4 { transition-delay: .28s }
@media (prefers-reduced-motion: reduce) {
  .r { opacity: 1; transform: none; transition: none; }
}

/* ── Sticky bar ─────────────────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,14,13,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 22px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.sticky-bar.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sticky-info { flex: 1; min-width: 0; overflow: hidden; }
.sticky-shop {
  font-size: 10px; color: var(--muted);
  letter-spacing: .08em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-hint {
  font-size: 11px; color: var(--text);
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-btn {
  flex-shrink: 0;
  padding: 11px 20px;
  background: var(--amber);
  color: #0f0e0d;
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: .05em;
  text-align: center; text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* ── Hero — dark, cinematic ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, #e8a42718 0%, transparent 55%),
    linear-gradient(160deg, #1c1a18 0%, #0f0e0d 100%);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Grain texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Phase 2: full-bleed photo */
.hero.has-photo { min-height: 480px; padding-top: 120px; }
.hero.has-photo .hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero.has-photo .hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45);
}

/* Double scrim — dark at bottom (text zone) and top (badge zone) */
.hero.has-photo .hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, transparent 28%),
    linear-gradient(to top,    rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 55%, transparent 100%);
}

/* Lift muted-grey text to near-white when a photo is behind it */
.hero.has-photo .shop-tagline,
.hero.has-photo .hero-phone-sep,
.hero.has-photo .hero-phone-label,
.hero.has-photo .header-meta-item,
.hero.has-photo .header-meta-item + .header-meta-item::before,
.hero.has-photo .open-badge.closed {
  color: rgba(255, 255, 255, 0.85);
}

/* hero-bottom: centered container, same as .wrap, sits above grain (z-index 2) */
.hero-bottom {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge-row {
  display: flex;
  justify-content: flex-end;
  padding: 0 22px;
  margin-bottom: 14px;
}

/* Amber rule — left-aligned, above hero-content */
.header-rule {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin: 0 22px 20px;
}

/* Hero content — left-aligned */
.hero-content {
  padding: 0 22px;
  max-width: 480px;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 11px; font-weight: 300;
  color: var(--amber);
  letter-spacing: .18em;
  opacity: .55;
  margin-bottom: 14px;
}

/* ── Open/closed badge ──────────────────────────────────────────────────────── */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 2px;
}
.open-badge.open   { color: var(--open-green); border-color: rgba(107,201,138,.2); }
.open-badge.closed { color: var(--muted); }
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%; background: currentColor; flex-shrink: 0;
}
.open-badge.open .badge-dot { animation: breathe 2.5s ease-in-out infinite; }

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}

/* ── Hero phone — AI answering line ────────────────────────────────────────── */
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: .04em;
  margin-bottom: 16px;
  transition: opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.hero-phone:hover { opacity: .75; }
.hero-phone svg {
  width: 12px; height: 12px;
  stroke: var(--amber); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.hero-phone-sep   { color: var(--muted); }
.hero-phone-label { color: var(--muted); letter-spacing: .07em; }

/* ── Shop identity ──────────────────────────────────────────────────────────── */
.shop-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 12vw, 82px);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: .92;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  word-break: break-word;
  hyphens: manual;
}

.shop-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-style: normal;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 4px;
}

/* ── Header meta (dots row) ─────────────────────────────────────────────────── */
.header-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 14px 0 20px;
}
.header-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: .04em;
}
.header-meta-item + .header-meta-item::before {
  content: '·';
  color: var(--muted);
  margin: 0 8px;
  opacity: .5;
}
.meta-icon {
  width: 11px; height: 11px;
  stroke: var(--amber); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.meta-address-link {
  color: var(--amber); text-decoration: none;
  border-bottom: 1px solid rgba(232,164,39,.3);
  transition: border-color .15s;
}
.meta-address-link:hover { border-bottom-color: var(--amber); }

/* ── Hero CTA ───────────────────────────────────────────────────────────────── */
.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  background: var(--amber);
  color: #0f0e0d;
  text-decoration: none;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.hero-cta:hover { background: #f0b030; }
.cta-main {
  font-family: 'DM Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.cta-sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 400;
  letter-spacing: .04em;
  opacity: .75;
  margin-top: 4px;
}

/* ── Section label (amber extending line) ───────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 9px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

/* ── Services section — LIGHT ───────────────────────────────────────────────── */
.services-section {
  background: #F5EFE4;
  padding: 48px 0 40px;
  /* Override dark-theme tokens for light context */
  --text:     #1A1612;
  --muted:    #7A6F62;
  --border:   #D9CEBF;
  --s1:       #EDE5D8;
  --s2:       #E4DAC9;
  --amber-lo: rgba(192,120,8,.08);
}
/* Section label: amber stays, rule line uses light border */
.services-section .section-label::after { background: var(--border); }

/* Service rows — editorial menu */
.service-list { border-top: 1px solid var(--border); }

.service-cat-label {
  font-family: 'DM Mono', monospace;
  font-size: 8px; color: var(--muted);
  letter-spacing: .2em; text-transform: uppercase;
  padding-top: 22px; margin-bottom: 2px;
}

.service-row {
  display: flex; align-items: baseline;
  gap: 10px; padding: 15px 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.service-row:hover { background: #EDE5D8; }
.service-row-left { flex: 1; min-width: 0; }

.service-name {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 600;
  color: var(--text); line-height: 1.2;
}
.service-description {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.deposit-tag {
  display: inline-block;
  margin-top: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 8px; color: var(--amber);
  background: var(--amber-lo);
  border: 1px solid rgba(192,120,8,.25);
  padding: 2px 7px; letter-spacing: .1em; text-transform: uppercase;
}
.service-duration {
  font-family: 'DM Mono', monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: .05em; flex-shrink: 0;
  white-space: nowrap; align-self: center;
}
.service-price {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em; flex-shrink: 0;
  white-space: nowrap; text-align: right;
}

/* ── Staff list ───────────────────────────────────────────────────────────── */
.staff-list { display: flex; flex-direction: column; gap: 10px; }

.staff-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--s1); border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none; color: var(--text);
  transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.staff-card:hover { border-color: var(--amber); background: var(--amber-lo); }
.staff-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
  flex-shrink: 0; color: #0f0e0d;
}
.staff-info { flex: 1; min-width: 0; }
.staff-card-name { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; }
.staff-next-avail { font-size: 11px; color: var(--amber); margin-top: 3px; letter-spacing: .03em; }
.staff-card-arrow { font-size: 16px; color: var(--muted); flex-shrink: 0; }

/* ── Trust section — DARK break ─────────────────────────────────────────────── */
.trust-section {
  background: #1a1917;
  padding: 36px 0 40px;
}
.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.trust-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg {
  width: 14px; height: 14px;
  stroke: var(--amber); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.trust-text { flex: 1; }
.trust-title {
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--text); letter-spacing: .03em;
  margin-bottom: 4px;
}
.trust-desc {
  font-size: 11px; color: var(--muted); line-height: 1.55;
}

@media (min-width: 520px) {
  .trust-grid { flex-direction: row; gap: 0; }
  .trust-item {
    flex: 1; flex-direction: column; align-items: flex-start;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,.06);
  }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child  { border-right: none; padding-right: 0; }
  .trust-icon { margin-bottom: 10px; }
}

/* ── Footer — LIGHT ─────────────────────────────────────────────────────────── */
.shop-footer {
  background: #EDE5D8;
  border-top: 1px solid #D9CEBF;
  padding: 36px 0 52px;
}
.footer-address {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 600;
  color: #1A1612; line-height: 1.5;
  margin-bottom: 12px;
}
.footer-address-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(26,22,18,.2);
  transition: border-color .15s;
}
.footer-address-link:hover { border-bottom-color: #1A1612; }
.footer-phone {
  display: flex; align-items: center; gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: #7A6F62;
  letter-spacing: .05em;
  margin-bottom: 24px;
}
.footer-phone-icon {
  width: 12px; height: 12px;
  stroke: var(--amber); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-phone a { color: var(--amber); text-decoration: none; }
.footer-powered {
  font-family: 'DM Mono', monospace;
  font-size: 9px; color: #C9BEAF;
  letter-spacing: .12em; text-transform: uppercase;
}
.footer-brand { color: var(--amber); }

/* ── Desktop ────────────────────────────────────────────────────────────────── */
@media (min-width: 680px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .hero { min-height: 460px; }
  .hero-cta { margin-top: 8px; }
}
