/* ===================== THE 613 STANDARD — tokens ===================== */
/* Clean, professional, minimalist 1940s: aged ivory + espresso ink,
   one muted oxblood accent, antique-brass hairlines. */
:root {
  /* Paper / background (warm aged ivory) */
  --paper: #f2ead9;
  --paper-2: #e9dec8;
  --paper-edge: #ddcfb4;

  /* Ink / text — one warm near-black, reused for dark surfaces */
  --ink: #221813;
  --ink-soft: #6b5a48;
  --ink-faint: rgba(154, 136, 113, .56);
  --surface-deep: #1a1009;

  /* Accent — single muted oxblood (the logo red, desaturated) */
  --accent: #7e2a2a;
  --accent-dark: #5e1f1f;
  --accent-tint: rgba(126, 42, 42, .08);

  /* Brass — antique metallic neutral */
  --brass: #a6802f;
  --brass-soft: #c8a24a;
  --line: rgba(34, 24, 19, .14);
  --line-dark: rgba(242, 234, 217, .16);

  /* Shape & shadow — squared, flat, period */
  --radius: 2px;
  --shadow: 0 10px 30px rgba(34, 24, 19, .12);
  --shadow-sm: 0 4px 14px rgba(34, 24, 19, .08);
  --maxw: 1080px;
  --nav-h: 56px;

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-label: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
}
p { margin: 0 0 1rem; }
a { color: inherit; }
img, iframe { max-width: 100%; }

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

/* Visible keyboard focus */
:where(a, button, [tabindex], iframe):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  text-decoration: none;
  padding: .9rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--book { background: var(--accent); color: var(--paper); }
.btn--book:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--brass); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 1.05rem 2.6rem; font-size: .9rem; }
.btn--nav { padding: .6rem 1.25rem; font-size: .76rem; }

/* The single primary hero CTA — loud through colour + scale, not motion */
.btn--hero {
  font-size: clamp(.92rem, 2.4vw, 1.05rem);
  padding: 1.15rem 3rem;
  letter-spacing: .2em;
}

/* ===================== Opening ribbon ===================== */
.ribbon {
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  text-align: center;
  padding: .5rem 1rem;
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
/* Branding is the logo image. On desktop it's hidden over the hero (the hero
   carries the logo) and fades into the nav once you scroll past the hero. */
.brand__name, .brand__sub { display: none; }
.brand__logo {
  display: block;
  height: 40px;
  width: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.nav.is-scrolled .brand__logo { opacity: 1; transform: none; }

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) {
  text-decoration: none;
  color: rgba(242, 234, 217, .82);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav__links a:not(.btn):hover { color: var(--paper); border-color: var(--accent); }

.nav.is-scrolled {
  border-bottom-color: rgba(166, 128, 47, .5);
  box-shadow: 0 4px 18px rgba(26, 16, 9, .35);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(34, 24, 19, .65) 0%, rgba(34, 24, 19, .68) 45%, rgba(26, 16, 9, .88) 100%),
    url('../images/storefront.jpg') center 32% / cover no-repeat;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.5rem) 1.25rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__logo {
  width: min(420px, 78vw);
  height: auto;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .55));
  margin-bottom: 1.6rem;
}
.hero__eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: clamp(.66rem, 2.2vw, .78rem);
  font-weight: 600;
  color: var(--brass-soft);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  margin-bottom: 1.9rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.hero__eyebrow::after {
  content: "";
  width: 52px; height: 1px;
  background: var(--brass);
}
.hero__viewlink {
  display: inline-block;
  margin-top: 1.2rem;
  color: rgba(242, 234, 217, .8);
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.hero__viewlink:hover { color: var(--paper); border-color: var(--paper); }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.8rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(26, 16, 9, .68);
  border: 1px solid var(--brass);
  padding: .45rem 1.05rem;
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero__status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass-soft);
}
.hero__status.is-closed::before { background: var(--accent); }
.hero__status.is-preopen::before { background: var(--brass-soft); box-shadow: 0 0 0 3px rgba(200, 162, 74, .22); }
.hero__trust {
  margin: 1.5rem 0 0;
  font-family: var(--font-label);
  font-size: clamp(.72rem, 2.4vw, .82rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(242, 234, 217, .72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.hero__cue {
  position: absolute;
  bottom: .6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brass-soft);
  font-size: 1.6rem;
  line-height: 1;
  padding: .3rem .8rem;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.hero__cue:hover { color: var(--paper); }

/* ===================== Sections ===================== */
/* Full-bleed sections with centered content, so adjacent sections can carry
   alternating backgrounds and read as self-contained (no bleed). */
.section {
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 1.5rem;
}
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
/* Alternating warm bands so each section is visually contained */
.about { background: var(--paper-2); }
.visit { background: var(--paper); }
.section__head { text-align: center; margin-bottom: 2rem; }
.section__eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.section__head .section__eyebrow { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.section__head .section__eyebrow::after { content: ""; width: 52px; height: 1px; background: var(--brass); }
.section__title { font-size: clamp(2.1rem, 5vw, 3rem); color: var(--ink); }
.section__lead { color: var(--ink-soft); margin-top: 1rem; }

/* ===================== Services ===================== */
.svc-group { margin-bottom: 1.8rem; }
.svc-group__title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink);
  padding-bottom: .6rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.svc-group__title::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--brass);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: .7rem;
}
/* Service card = a link straight to the Fresha booking menu. */
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.svc-card:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.svc-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.svc-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}
.svc-card__price {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: clamp(.9rem, 2vw, 1rem);
  letter-spacing: .02em;
  color: var(--accent);
  white-space: nowrap;
}
.svc-card__time {
  font-family: var(--font-label);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: .3rem 0 .55rem;
}
.svc-card__desc { font-family: var(--font-body); font-size: .84rem; line-height: 1.5; color: var(--ink-soft); margin: 0; flex: 1 1 auto; }
.svc-card__book {
  margin-top: .75rem;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
  color: var(--accent);
}
.svc-card__book span { display: inline-block; transition: transform .2s ease; }
.svc-card:hover .svc-card__book span { transform: translateX(4px); }

.services__cta { text-align: center; margin-top: 1.6rem; }
.services__cta-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

/* ===================== About / Bio ===================== */
/* Fill the viewport so navigating to About shows only this section */
.about {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 3.2rem;
  align-items: center;
}
.about__photo { position: relative; margin: 0; }
.about__photo img {
  display: block;
  width: 100%;
  height: auto;            /* override the width/height attrs so aspect-ratio wins */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--brass);
  box-shadow: var(--shadow);
}
/* brass deco corner ticks framing the portrait */
.about__photo::before, .about__photo::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--brass);
  z-index: 1;
}
.about__photo::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.about__photo::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.about__text .section__eyebrow,
.about__text .section__title { text-align: left; }
.about__text .section__title { margin-bottom: 1.4rem; }
.about__text p { color: var(--ink-soft); }
.about__text p:last-child { margin-bottom: 0; }

/* ===================== Hours (inside the Visit section) ===================== */
.visit__hours { margin-top: 0; }
.visit__subhead {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--ink-soft);
  margin: 0 0 .9rem;
}
.hours__table {
  background: var(--paper-2);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .68rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.hours__row:nth-child(even) { background: var(--paper); }
.hours__row:last-child { border-bottom: 0; }
.hours__row--today {
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
}
.hours__day {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: var(--ink-soft);
}
.hours__day .tag {
  font-family: var(--font-label);
  font-size: .6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .16em;
  margin-left: .7rem;
}
.hours__time { font-family: var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.hours__time--closed { color: var(--ink-faint); }
.hours__note { color: var(--ink-soft); margin-top: 1rem; font-size: .82rem; }

/* ===================== Visit ===================== */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.visit__info .section__eyebrow,
.visit__info .section__title { text-align: left; }
.visit__info .section__title { margin-bottom: 1.3rem; }
.visit__address { font-style: normal; font-size: 1.1rem; line-height: 1.7; color: var(--ink); margin-bottom: .7rem; }
.visit__hint { color: var(--ink-soft); margin-bottom: 1.3rem; }
.visit__directions { display: inline-flex; }
/* Prominent booking CTA at the top of the Visit section */
.visit__book {
  border-bottom: 1px solid var(--brass);
  margin-bottom: 2.6rem;
  padding-bottom: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 2rem;
  flex-wrap: wrap;
  text-align: center;
}
.visit__book-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.visit__book .btn { flex: 0 0 auto; }
.visit__map {
  position: relative;
  height: 380px;
  margin-top: 2.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--paper-edge);
}
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: sepia(.18) saturate(.92); }
.visit__map:not(.is-active) iframe { pointer-events: none; }
.visit__map__activate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: .9rem;
  background: linear-gradient(transparent 70%, rgba(26, 16, 9, .4));
  cursor: pointer;
  border: 0;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.visit__map.is-active .visit__map__activate { display: none; }

/* ===================== Footer ===================== */
.footer { background: var(--surface-deep); color: rgba(242, 234, 217, .7); padding: 2.4rem 1.5rem; border-top: 1px solid rgba(166, 128, 47, .45); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer__logo { display: block; width: min(220px, 58vw); height: auto; margin: 0 auto 1.3rem; }
.footer__addr { margin: 0 0 1.2rem; font-size: .95rem; }
.footer__links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.3rem; }
.footer__links a {
  text-decoration: none; color: var(--paper);
  font-family: var(--font-label); text-transform: uppercase;
  letter-spacing: .12em; font-size: .76rem; font-weight: 600;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.footer__links a:hover { border-color: var(--accent); }
.footer__fine { font-size: .76rem; color: rgba(242, 234, 217, .5); margin: 0; letter-spacing: .04em; }

/* ===================== Fixed mobile book bar ===================== */
.bookbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: none;
  align-items: center;
  gap: .9rem;
  min-height: 60px;
  background: var(--ink);
  border-top: 1px solid var(--brass);
  box-shadow: 0 -6px 18px rgba(26, 16, 9, .3);
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
}
.bookbar__label {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  color: var(--paper);
  white-space: nowrap;
}
.bookbar__book { flex: 1; }

/* ===================== Responsive ===================== */
@media (max-width: 860px) {
  .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 320px; margin-inline: auto; }
  .visit__map { order: -1; }
  .visit__book { flex-wrap: wrap; }   /* allow prompt + button to stack if tight */

  /* Mobile: one branding only — the logo moves to the nav top-left and the big
     hero logo is dropped (the storefront photo already shows the painted sign).
     Reserve the fixed book-bar's height so nothing is clipped. */
  .hero__logo { display: none; }
  .hero__content { padding-top: 1.5rem; padding-bottom: calc(76px + 1.5rem); }
  .hero__eyebrow { margin-bottom: 1.1rem; }
  .hero__viewlink { display: none; }
  .hero__status { margin-top: 1.2rem; }
  .hero__trust { margin-top: 1.1rem; }

  .bookbar { display: flex; }
  body.nav-open .bookbar { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 0 1.5rem;              /* no vertical padding when closed, or it leaks past max-height:0 */
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.is-open {
    max-height: 420px;
    padding-top: .5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(166, 128, 47, .4);
  }
  .nav__links a:not(.btn) { padding: .9rem .25rem; border-bottom: 1px solid var(--line-dark); }
  .nav__links .btn--nav { margin-top: .9rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .btn:hover, .svc-card:hover { transform: none; }
}
