/* =========================================================
   Sairy — page additions
   shared nav links + home + contact + closing CTA
   loaded after styles.css
   ========================================================= */

/* --- shared nav additions (used across home/booking/contact) --- */
.b-nav-end { display: inline-flex; gap: 18px; align-items: center; }
.b-nav-links {
  display: inline-flex; gap: 22px; align-items: center;
  padding: 0; margin: 0; list-style: none;
}
.b-nav-pri {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color .15s var(--ease);
}
.b-nav-pri::after {
  content: ""; position: absolute;
  bottom: 0; inset-inline: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease);
}
.b-nav-pri:hover { color: var(--ink); }
.b-nav-pri:hover::after { transform: scaleX(1); }
.b-nav-pri.is-active { color: var(--rose-deep); }
.b-nav-pri.is-active::after { transform: scaleX(1); background: var(--rose); }

@media (max-width: 600px) {
  .b-nav-end { gap: 10px; }
  .b-nav-links { gap: 14px; }
  .b-nav-pri { font-size: 13px; }
  .b-nav-link span { display: none; }
}

/* --- shared CTA banner (used on home + contact) --- */
.s-cta {
  margin: 96px 0 0;
  padding: 72px 32px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--bg-rose), transparent),
    var(--bg-paper);
  border-block: 1px solid var(--gold);
  text-align: center;
  position: relative;
}
.s-cta::before, .s-cta::after {
  content: "";
  position: absolute; inset-inline: 50%; width: 1px; height: 32px;
  background: var(--gold);
  transform: translateX(-50%);
}
.s-cta::before { top: -16px; }
.s-cta::after  { bottom: -16px; }
.s-cta-num {
  color: var(--gold-deep); font-family: var(--font-accent);
  letter-spacing: 0.08em; font-size: 13px;
  display: inline-block; margin-bottom: 12px;
}
.s-cta-title {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 16px;
  line-height: 1.1;
}
.s-cta-title .brand { font-family: var(--font-display); }
.s-cta-sub {
  color: var(--ink-soft); max-width: 480px;
  margin: 0 auto 32px; line-height: 1.7;
  font-size: 15px;
}
.s-cta .btn { padding: 14px 32px; font-size: 15px; }

/* =========================================================
   HOME page
   ========================================================= */
.h-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 86vh, 760px);
  padding: 112px 0 96px;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}
.h-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("images/hero-salon.png") center/cover no-repeat;
  z-index: -2;
}
.h-hero::after {
  /* cream gradient over the right side (RTL inline-start) where the
     content sits. left side stays photographic. */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to left,
      var(--bg-paper) 0%,
      color-mix(in oklch, var(--bg-paper) 92%, transparent) 18%,
      color-mix(in oklch, var(--bg-paper) 60%, transparent) 42%,
      color-mix(in oklch, var(--bg-paper) 18%, transparent) 70%,
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0%,
      transparent 70%,
      color-mix(in oklch, var(--ink) 18%, transparent) 100%);
  z-index: -1;
}
.h-hero .b-page { width: 100%; }
.h-hero-num {
  color: var(--gold-deep); font-family: var(--font-accent);
  font-size: 14px; letter-spacing: 0.08em; margin-bottom: 24px;
  display: inline-block;
}
.h-hero-num::before { content: "00 · "; color: var(--gold); }
.h-hero-headline {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(72px, 14vw, 168px);
  line-height: 0.92; letter-spacing: -0.01em;
  margin: 0; text-align: start; color: var(--ink);
}
.h-hero-headline .brand {
  font-family: var(--font-display);
  display: inline-block;
  letter-spacing: 0.02em;
}
.h-hero-rule {
  width: 96px; height: 1px;
  background: var(--gold);
  margin: 32px 0 28px;
  transform-origin: right;
  animation: hr-grow 800ms var(--ease) 320ms both;
}
.h-hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--ink-soft);
  max-width: 520px; margin: 0; text-align: start;
}
.h-hero-sub b { color: var(--ink); font-weight: 500; }
.h-hero-cta {
  display: flex; gap: 20px; align-items: center;
  justify-content: flex-start;
  margin-top: 40px; flex-wrap: wrap;
}
.h-hero-cta .btn { padding: 14px 28px; font-size: 15px; }

/* small caption pill anchored to the photo side (RTL inline-end = visual left) */
.h-hero-cap {
  position: absolute;
  bottom: 28px;
  inset-inline-end: 32px;
  background: color-mix(in oklch, var(--bg-paper) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  z-index: 1;
}
.h-hero-cap b { color: var(--ink); font-weight: 500; }
.h-hero-cap-dot { color: var(--gold-deep); }

.h-hero-meta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft); font-size: 14px;
}
.h-hero-meta b { color: var(--ink); font-weight: 500; }

/* marquee strip below hero */
.h-strip {
  border-block: 1px solid var(--rule);
  padding: 18px 0;
  background: color-mix(in oklch, var(--bg-rose) 50%, var(--bg-paper));
  overflow: hidden;
}
.h-strip-track {
  display: flex; gap: 56px;
  flex-wrap: wrap;
  white-space: nowrap;
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.06em;
  align-items: center; justify-content: center;
}
.h-strip-item { display: inline-flex; align-items: center; gap: 8px; }
.h-strip-item b { color: var(--ink); font-weight: 500; }
.h-strip-dot { color: var(--gold); font-size: 14px; }

/* generic home section */
.h-section { padding: 88px 0; }
.h-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; margin-bottom: 40px;
  padding-bottom: 16px; border-bottom: 1px solid var(--gold);
  flex-wrap: wrap;
}
.h-section-num {
  color: var(--gold-deep); font-family: var(--font-accent);
  font-size: 14px; letter-spacing: 0.08em;
}
.h-section-title {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0; line-height: 1.1;
}
.h-section-link {
  color: var(--ink-soft); font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s var(--ease);
}
.h-section-link:hover { color: var(--rose-deep); }

/* services preview grid (smaller than booking page) */
.h-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .h-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .h-services-grid { grid-template-columns: 1fr; } }

.h-svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: all .2s var(--ease);
  text-align: start;
  cursor: pointer;
  text-decoration: none;
}
.h-svc:hover { border-color: var(--rose); transform: translateY(-1px); }
.h-svc::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.h-svc:hover::after { transform: scaleX(1); }
.h-svc-img {
  display: block; width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--rule);
  transition: transform .5s var(--ease);
}
.h-svc:hover .h-svc-img { transform: scale(1.03); }
.h-svc-content {
  padding: 18px 20px 20px;
  display: grid; gap: 6px;
  flex: 1;
}
.h-svc-icon { color: var(--gold-deep); }
.h-svc-name {
  font-size: 17px; font-weight: 500; margin: 0; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.h-svc-name-icon { color: var(--gold-deep); flex-shrink: 0; }
.h-svc-desc { color: var(--ink-soft); font-size: 13px; margin: 0; line-height: 1.5; flex: 1; }
.h-svc-meta {
  margin-top: 10px;
  padding-top: 12px; border-top: 1px dashed var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
}
.h-svc-from { color: var(--ink-mute); }
.h-svc-price-num { font-family: var(--font-accent); font-size: 17px; color: var(--ink); }
.h-svc-price-unit { color: var(--ink-soft); font-size: 12px; margin-inline-start: 4px; }

/* hero atmospheric photo strip (between hero typography and marquee) */
.h-hero-photo {
  position: relative;
  margin: 24px 0 0;
  background: var(--bg-elev);
  border-block: 1px solid var(--gold);
  overflow: hidden;
}
.h-hero-photo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64vh;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.h-hero-photo-cap {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  background: color-mix(in oklch, var(--bg-paper) 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.h-hero-photo-cap b { color: var(--ink); font-weight: 500; }
.h-hero-photo-cap-dot { color: var(--gold-deep); }

/* Override: contact find-us illustration becomes a real photo */
.c-find-illust img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  border-radius: var(--r-md);
  border: 1px solid var(--gold);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* team cards */
.h-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .h-team-grid { grid-template-columns: 1fr; } }

.h-member {
  padding: 36px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  display: grid; gap: 14px; justify-items: center;
  text-align: center;
  position: relative;
}
.h-member::before {
  content: ""; position: absolute; top: 14px; inset-inline-start: 14px;
  width: 24px; height: 1px; background: var(--gold);
}
.h-member-mono {
  width: 88px; height: 88px;
  border-radius: 999px;
  background: var(--bg-rose);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  display: grid; place-items: center;
  font-size: 36px; font-weight: 500;
}
.h-member-name { font-size: 22px; font-weight: 500; margin: 0; color: var(--ink); }
.h-member-role { font-size: 13px; color: var(--ink-soft); margin: 0; letter-spacing: 0.04em; }
.h-member-quote {
  font-size: 14px; line-height: 1.7; color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: 14px; margin: 8px 0 0;
  position: relative;
}

/* =========================================================
   CONTACT page
   ========================================================= */
.c-hero { padding: 88px 0 56px; }
.c-hero-num {
  color: var(--gold-deep); font-family: var(--font-accent);
  font-size: 14px; letter-spacing: 0.08em; margin-bottom: 16px;
  display: inline-block;
}
.c-hero-num::before { content: "00 · "; color: var(--gold); }
.c-hero-title {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1; margin: 0;
  text-align: end;
}
.c-hero-rule {
  width: 96px; height: 1px;
  background: var(--gold);
  margin: 28px 0 28px auto;
  transform-origin: right;
  animation: hr-grow 800ms var(--ease) 320ms both;
}
.c-hero-sub {
  font-size: 17px; line-height: 1.7; color: var(--ink-soft);
  max-width: 480px; margin: 0 0 0 auto; text-align: end;
}

/* contact cards grid */
.c-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding-top: 56px;
}
@media (max-width: 720px) { .c-grid { grid-template-columns: 1fr; } }

.c-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px;
  display: grid; gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.c-card:hover { border-color: var(--rose); transform: translateY(-1px); }
.c-card::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.c-card:hover::after { transform: scaleX(1); }
.c-card-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--gold);
}
.c-card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bg-rose);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.c-card-label {
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.06em; margin: 0;
}
.c-card-title { font-size: 16px; font-weight: 500; color: var(--ink); margin: 2px 0 0; }
.c-card-body { font-size: 15px; line-height: 1.7; color: var(--ink); }
.c-card-body b { font-weight: 500; }
.c-card-link {
  font-size: 14px; color: var(--rose-deep);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  transition: color .15s var(--ease);
}
.c-card-link:hover { color: var(--rose); }

/* hours table */
.c-hours-list { display: grid; gap: 4px; }
.c-hours-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
}
.c-hours-row:last-child { border-bottom: 0; }
.c-hours-day { color: var(--ink-soft); }
.c-hours-time { font-family: var(--font-accent); color: var(--ink); }
.c-hours-time.is-closed { color: var(--bad); }

/* find-us block */
.c-find {
  margin-top: 48px;
  padding: 36px;
  background: var(--bg-elev);
  border: 1px solid var(--gold);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) { .c-find { grid-template-columns: 1fr; } }
.c-find-mark {
  color: var(--gold-deep); font-family: var(--font-accent);
  font-size: 13px; letter-spacing: 0.08em;
}
.c-find-title {
  font-size: 28px; font-weight: 500; margin: 8px 0 14px; color: var(--ink);
  font-family: var(--font-body);
}
.c-find-addr { color: var(--ink-soft); line-height: 1.7; font-size: 15px; }
.c-find-addr b { color: var(--ink); font-weight: 500; }
.c-find-illust { display: grid; place-items: center; }
.c-find-illust svg { width: 100%; height: auto; max-width: 220px; color: var(--gold-deep); }

/* =========================================================
   Mobile polish (phones, ≤ 600px)
   ========================================================= */
@media (max-width: 600px) {
  /* type scaling */
  html { font-size: 14px; }

  /* shared container padding */
  .b-page { padding: 0 16px; }

  /* nav: brand smaller, primary links wrap, admin pill icon-only */
  .b-nav-inner { padding: 12px 16px; gap: 10px; }
  .b-mark { font-size: 24px; }
  .b-nav-end { gap: 8px; }
  .b-nav-links { gap: 14px; }
  .b-nav-link {
    padding: 6px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    width: 32px; height: 32px;
    display: grid; place-items: center;
  }
  .b-nav-link span { display: none; }

  /* hero (home) — heavier cream haze on mobile so text is readable everywhere
     (the horizontal gradient compresses too much on narrow screens) */
  .h-hero {
    padding: 72px 0 56px;
    min-height: clamp(520px, 76vh, 680px);
  }
  .h-hero::after {
    background:
      linear-gradient(to bottom,
        color-mix(in oklch, var(--bg-paper) 88%, transparent) 0%,
        color-mix(in oklch, var(--bg-paper) 65%, transparent) 50%,
        color-mix(in oklch, var(--bg-paper) 88%, transparent) 100%);
  }
  .h-hero-headline { font-size: clamp(64px, 24vw, 96px); }
  .h-hero-sub { font-size: 16px; max-width: 100%; }
  .h-hero-cta {
    gap: 14px; flex-direction: column;
    align-items: flex-start; width: 100%;
  }
  .h-hero-cta .btn { width: 100%; justify-content: center; }
  .h-hero-meta { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .h-hero-cap {
    bottom: 16px; inset-inline-end: 16px;
    padding: 6px 10px; font-size: 11px; gap: 6px;
  }

  /* marquee strip — tighter on mobile */
  .h-strip { padding: 14px 0; }
  .h-strip-track { gap: 18px; font-size: 12px; }

  /* home section heads stack */
  .h-section { padding: 56px 0; }
  .h-section-head { flex-direction: column; align-items: flex-end; gap: 8px; }
  .h-section-link { align-self: flex-start; }
  .h-section-title { font-size: clamp(28px, 7vw, 36px); }

  /* services grid is already 1-col below 520; tighten card padding */
  .h-svc { padding: 18px 16px; }
  .h-member { padding: 28px 20px; }

  /* booking page hero */
  .b-hero { padding: 64px 0 48px; }
  .b-hero h1 { font-size: clamp(56px, 18vw, 88px); }
  .b-hero-meta { font-size: 13px; }

  /* booking flow card */
  .b-flow-card { padding: 20px 16px; }
  .b-step-title { font-size: 24px; }
  .b-step-counter { display: none; }
  .b-step-nav { flex-direction: column-reverse; gap: 8px; }
  .b-step-nav .btn { width: 100%; justify-content: center; }
  .b-step-nav > span { display: none; }

  /* services & staff in booking 1-col */
  .b-services { gap: 10px; }
  .b-service { padding: 16px; }

  /* calendar a touch tighter */
  .b-cal-day { height: 36px; font-size: 15px; }
  .b-cal-weekday { font-size: 10px; padding: 4px 0; }

  /* time chips larger tap target */
  .b-time { padding: 10px 16px; font-size: 15px; }

  /* summary panel not sticky on mobile */
  .b-summary { position: static; padding: 18px; }

  /* success */
  .b-success h2 { font-size: 28px; }

  /* contact */
  .c-hero { padding: 56px 0 32px; }
  .c-hero-title { font-size: clamp(48px, 14vw, 64px); }
  .c-card { padding: 20px; }
  .c-find { padding: 24px; gap: 24px; }
  .c-find-title { font-size: 22px; }
  .c-find-illust svg { max-width: 160px; }

  /* CTA banner */
  .s-cta { margin: 56px 0 0; padding: 48px 16px; }
  .s-cta-title { font-size: clamp(28px, 7vw, 40px); }
  .s-cta-sub { font-size: 14px; }
  .s-cta .btn { padding: 12px 24px; }

  /* footer */
  .b-footer { padding: 40px 0 24px; }
  .b-footer-mark { font-size: 26px; }

  /* tweaks panel — slimmer */
  .tw-panel { bottom: 16px; left: 16px; }
  .tw-trigger { width: 40px; height: 40px; }
  .tw-body { width: calc(100vw - 32px); max-width: 280px; }

  /* admin top bar */
  .a-topbar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; }
  .a-date { font-size: 12px; }
  .a-stats { display: flex; gap: 12px; flex-wrap: wrap; }
  .a-stat { padding: 0 12px; }
  .a-stat-label { font-size: 10px; }
  .a-stat-num { font-size: 18px; }

  .a-view { padding: 16px; }
  .a-view-title { font-size: 24px; }
  .a-view-head { flex-direction: column; align-items: flex-end; gap: 4px; padding-bottom: 8px; }

  /* admin tools wrap; pills full-width-ish */
  .a-tools { gap: 8px; }
  .a-search { max-width: 100%; min-width: 0; width: 100%; flex: 1 1 100%; }
  .a-pills { width: 100%; }

  .a-stat-cards { gap: 10px; }
  .a-stat-card { padding: 16px; }
  .a-stat-card-num { font-size: 26px; }

  .a-cal-day { min-height: 56px; padding: 6px; }
  .a-cal-day-num { font-size: 14px; }
  .a-cal-day-badge { font-size: 11px; padding: 0 6px; min-width: 18px; }
}

/* extra-tight phones */
@media (max-width: 360px) {
  .b-mark { font-size: 22px; }
  .b-nav-links { gap: 10px; }
  .b-nav-pri { font-size: 12px; }
  .h-hero-headline { font-size: 64px; }
  .b-hero h1 { font-size: 48px; }
}
