/* Dollar Beauty — concept redesign by Tempany Web Studios.
   Direction: the salon's own monochrome identity (black crest, ivory) with a
   dusty rose lifted from the pedicure cushions. The opening is built around
   two things that are genuinely theirs: the week's opening hours and the
   Timely booking system that already works. */

:root {
  --ink: #17171a;
  --ink-soft: #2b2a2e;
  --ivory: #f4eee6;
  --paper: #fbf8f3;
  --rose: #c4878a;
  --rose-deep: #9a5d61;
  --rose-wash: #f1e1e0;
  --gold: #b39160;
  --muted: #6d6660;
  --line: rgba(23, 23, 26, 0.14);
  --line-strong: rgba(23, 23, 26, 0.32);
  --font-head: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * clamp(18px, 5vw, 64px)); margin: 0 auto; }

.concept-banner {
  margin: 0; text-align: center;
  background: var(--ink); color: var(--paper);
  font-size: 0.72rem; letter-spacing: 0.12em; padding: 9px 12px;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700;
  color: var(--rose-deep); margin: 0 0 0.9em;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid var(--ink); transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--ink-soft); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ivory); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { border-bottom-color: var(--rose-deep); color: var(--rose-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 10px clamp(18px, 5vw, 64px);
  background: rgba(251, 248, 243, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-name { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: 0.14em; text-transform: uppercase; }
.main-nav { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 32px); }
.main-nav a { text-decoration: none; font-size: 0.86rem; font-weight: 600; padding: 12px 2px; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--rose-deep); }
.menu-toggle { display: none; }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 0.82rem; }

/* Hero: built from what is real — their welcome copy on the left, the week's
   opening hours on the right, with today picked out by script.js. */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 26px; }
.hero-note { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

.hours-card { background: var(--ivory); border: 1px solid var(--line); padding: 26px 26px 20px; }
.hours-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.hours-status { margin: 0 0 16px; font-size: 0.9rem; color: var(--muted); min-height: 1.4em; }
.hours-status strong { color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--rose-deep); font-weight: 800; }
.hours tr.today th::after { content: " · today"; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hours-card .button { width: 100%; margin-top: 18px; }

/* Panorama strip: their photos are wide, letterboxed shots, so the strip
   uses that shape rather than fighting it. */
.strip { padding: clamp(28px, 4vw, 48px) 0 0; }
.strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 721 / 258; object-fit: cover; border: 1px solid var(--line); background: var(--ivory); }
.strip figcaption { font-size: 0.78rem; color: var(--muted); padding: 8px 2px 0; letter-spacing: 0.02em; }

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Treatments as a salon menu, not a card grid. */
.menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.menu li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 18px 32px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.menu h3 { margin: 0; font-size: 1.6rem; }
.menu p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.menu small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.84rem; }
.menu .text-link { justify-self: end; white-space: nowrap; }
.menu-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); max-width: 64ch; }

/* Bridal: two portraits from their site, copy alongside. */
.bridal { background: var(--ink); color: var(--paper); }
.bridal .eyebrow { color: var(--rose); }
.bridal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bridal-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bridal-photos img { width: 100%; aspect-ratio: 186 / 241; object-fit: cover; filter: grayscale(1); border: 1px solid rgba(251, 248, 243, 0.2); }
.bridal-photos img:last-child { transform: translateY(28px); }
.bridal p { color: rgba(251, 248, 243, 0.86); }
.bridal .price { font-family: var(--font-head); font-size: 1.6rem; color: var(--paper); margin: 22px 0 6px; }
.bridal .button-outline { border-color: rgba(251, 248, 243, 0.6); color: var(--paper); }
.bridal .button-outline:hover { background: rgba(251, 248, 243, 0.1); }

/* Reflexology */
.reflex-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.reflex-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.reflex-facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 0.95rem; }
.reflex-facts li strong { color: var(--rose-deep); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; padding-top: 3px; }
.reflex-photo { margin: 0; }
.reflex-photo img { width: 100%; aspect-ratio: 721 / 258; object-fit: cover; border: 1px solid var(--line); }
.reflex-photo figcaption { font-size: 0.78rem; color: var(--muted); padding-top: 8px; }

/* Gift vouchers */
.vouchers { background: var(--rose-wash); }
.vouchers-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.vouchers h2 { margin-bottom: 0.3em; }
.vouchers p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 8px; }
.visit-grid h3 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep); font-weight: 800; margin-bottom: 10px; }
.visit-grid p { margin: 0 0 6px; }
.visit-grid a { display: inline-block; padding: 10px 0; margin: -10px 0; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.visit-grid .hours { font-size: 0.92rem; }
.visit-photo { margin: clamp(28px, 4vw, 48px) 0 0; }
.visit-photo img { width: 100%; aspect-ratio: 721 / 258; object-fit: cover; object-position: center 30%; border: 1px solid var(--line); }
.visit-photo figcaption { font-size: 0.78rem; color: var(--muted); padding-top: 8px; }
.socials { display: flex; gap: 22px; margin-top: 10px; }
.socials a { min-height: 44px; display: inline-flex; align-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251, 248, 243, 0.8); padding: 40px 0 34px; font-size: 0.86rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
.footer-crest { height: 120px; width: auto; opacity: 0.92; margin-bottom: 14px; }
.footer-brand { font-family: var(--font-head); color: var(--paper); font-size: 1.4rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 8px; }
.footer-legal { margin: 0 0 14px; }
.footer-disclaimer { margin: 0; padding: 14px 16px; border: 1px solid rgba(251, 248, 243, 0.25); color: var(--paper); max-width: 64ch; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--rose); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 520ms ease, transform 520ms ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hours-card { max-width: 520px; }
  .strip-track { grid-template-columns: repeat(2, 1fr); }
  .menu li { grid-template-columns: minmax(0, 1fr) auto; }
  .menu li p { grid-column: 1 / -1; }
  .bridal-grid, .reflex-grid { grid-template-columns: 1fr; }
  .bridal-photos { max-width: 460px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; padding: 8px 16px; }
  .brand-name { font-size: 0.98rem; letter-spacing: 0.1em; white-space: nowrap; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; order: 3;
    min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: transparent; font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--ink);
  }
  .header-cta { order: 2; }
  .main-nav { display: none; grid-column: 1 / -1; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; font-size: 1rem; }
  .hero { padding-top: 32px; }
  .hero-actions .button { flex: 1 1 100%; }
  .strip-track { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .strip figure { flex: 0 0 86%; scroll-snap-align: start; }
  .menu li { grid-template-columns: 1fr; gap: 6px; }
  .menu .text-link { justify-self: start; }
  .menu h3 { font-size: 1.45rem; }
  .bridal-photos img:last-child { transform: translateY(16px); }
  .reflex-facts li { grid-template-columns: 1fr; gap: 4px; }
  .vouchers-inner { grid-template-columns: 1fr; }
  .vouchers .button { width: 100%; }
  .visit-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
