/* ============================================================
   Beauty by Jany — style.css
   Palette: espresso ink / warm porcelain / blush rose / henna bronze
   Type:    Fraunces (display) + Outfit (body)
   Signature: the "mapping arc" — a fine arched stroke drawn from
   brow mapping, used as the recurring motif across the site.
   ============================================================ */

/* ---------- self-hosted fonts (no third-party requests) ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../images/fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../images/fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../images/fonts/fraunces-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../images/fonts/outfit-300.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../images/fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../images/fonts/outfit-500.woff2") format("woff2");
}

:root {
  --ink:    #2a1f19;
  --deep:   #503628;
  --bronze: #a5764a;
  --bronze-dark: #8c5f38;
  --rose:   #ebd8cf;
  --rose-soft: #f4e8e1;
  --paper:  #fbf6f2;
  --white:  #ffffff;
  --line:   rgba(42, 31, 25, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(80, 54, 40, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }

a { color: var(--bronze-dark); text-decoration: none; }
a:hover { color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }

/* Inner pages carry an <h1> for search engines and screen readers, but it is
   sized like the <h2> it replaced so the pages look unchanged. */
h1.page-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: 0; }
h3 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 0.8rem;
}

.lede { font-size: 1.08rem; max-width: 34em; color: var(--deep); }

em.brand-it { font-style: italic; font-weight: 400; }

/* the mapping arc — signature motif */
.arc {
  display: block;
  width: 84px;
  height: 18px;
  margin-top: 1.1rem;
  color: var(--bronze);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  display: block;
  height: 170px;
  width: auto;
  transition: height 0.28s ease;
}

/* once the visitor scrolls past the top, the header logo steps down
   so the sticky bar stops eating the screen */
.site-header.is-scrolled .logo-img { height: 72px; }

/* footer logo can run a touch larger since it has room */
.footer-logo-img { height: 178px; transition: none; }

nav.main-nav { display: flex; gap: 26px; align-items: center; }

nav.main-nav a {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

nav.main-nav a:hover { color: var(--bronze-dark); }

nav.main-nav a.active {
  color: var(--bronze-dark);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 3px;
}

.lang-toggle {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  background: transparent;
  color: var(--bronze-dark);
  border: 1px solid var(--bronze);
  border-radius: 999px;
  min-height: 44px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  flex: none;
}

.lang-toggle:hover { background: var(--bronze); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
}

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--deep); color: var(--white); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-bronze { background: var(--bronze); color: var(--white); }
.btn-bronze:hover { background: var(--bronze-dark); color: var(--white); }

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}

.hero-copy .lede { margin-top: 1.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-note { font-size: 0.86rem; color: var(--deep); margin-top: 1.3rem; }

.hero-photo {
  border-radius: 160px 160px var(--radius) var(--radius); /* arched frame */
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }

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

.hero-slider { position: relative; }

.hero-slider .slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transform: scale(1.04);           /* slight overscan hides any hairline edge */
  transition: opacity 0.8s ease-in-out;
  aspect-ratio: auto; /* override base rule */
}

.hero-slider .slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: heroKenBurns 6s ease-out forwards; /* subtle zoom-in */
}

@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide.is-active { animation: none; transform: scale(1.04); }
}

.slider-dots {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  z-index: 2;
}

/* The button is a 44px-tall invisible tap target; the visible dot is the
   ::before. Negative side margins pull the row back to its original pitch. */
.slider-dots button {
  width: 30px;
  height: 44px;
  margin: 0 -7px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}

.slider-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(251, 246, 242, 0.55);
  transition: background 0.18s ease, transform 0.18s ease;
}

.slider-dots button:hover::before { background: rgba(251, 246, 242, 0.9); }
.slider-dots button.is-active::before { background: var(--white); transform: scale(1.35); }

/* faint mapping threads behind hero */
.hero-threads {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--rose);
  opacity: 0.55;
  pointer-events: none;
}

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

section.band { padding: 72px 0; }

section.band.tint { background: var(--rose-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 2.4rem; }

.section-head .more { font-size: 0.9rem; }

/* ---------- service cards / price list ---------- */

.svc-groups { display: grid; gap: 40px; }

.svc-group h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.svc-group h3 .arc { width: 54px; height: 12px; margin: 0; flex: none; }

.svc-list { margin-top: 1.1rem; display: grid; gap: 2px; }

.svc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: baseline;
  background: var(--white);
  padding: 16px 20px;
  border: 1px solid var(--line);
}

.svc-row:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.svc-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.svc-row:only-child { border-radius: var(--radius); }

.svc-name { font-weight: 400; font-size: 1rem; }
.svc-note { display: block; font-size: 0.8rem; color: var(--bronze-dark); margin-top: 2px; }
.svc-time { font-size: 0.82rem; color: var(--deep); letter-spacing: 0.04em; white-space: nowrap; }
.svc-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; white-space: nowrap; }

/* compact preview cards on home */
.svc-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-card .svc-price { color: var(--bronze-dark); }
.svc-card p { font-size: 0.88rem; color: var(--deep); }

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

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.8rem; }

.filter-bar button {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-bar button:hover { border-color: var(--bronze); color: var(--bronze-dark); }
.filter-bar button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-grid figure {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: zoom-in;
  position: relative;
}

.gallery-grid figure img { width: 100%; transition: transform 0.3s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }

.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(42, 31, 25, 0.65));
}

.gallery-grid figure.hidden { display: none; }

/* photos are operable by keyboard, so they need a visible focus ring */
.gallery-grid figure:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

/* stop the page behind the lightbox from scrolling */
body.no-scroll { overflow: hidden; }

/* home gallery strip */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-strip a { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease; }
.gallery-strip a:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 25, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }

.lightbox button.close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

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

.book-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.steps { display: grid; gap: 0; counter-reset: step; position: relative; }

.step {
  position: relative;
  padding: 0 0 26px 54px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--bronze);
  color: var(--bronze-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px; top: 40px; bottom: 4px;
  width: 1px;
  background: var(--line);
}

.step h3 { margin-bottom: 4px; }
.step p { font-size: 0.94rem; color: var(--deep); }

.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.92rem;
  color: var(--deep);
  margin-top: 1.6rem;
}

.policy-card strong { color: var(--ink); font-weight: 500; }

/* form */
.book-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.book-form h3 { margin-bottom: 1.2rem; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: var(--white);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.book-form .btn { width: 100%; margin-top: 6px; }

.form-hint { font-size: 0.8rem; color: var(--deep); margin-top: 12px; text-align: center; }

.hours-note {
  font-size: 0.8rem;
  color: var(--bronze-dark);
  margin: -6px 0 16px;
}

/* hours + areas */
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2.2rem; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card h3 { margin-bottom: 0.8rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--deep); }
.hours-table tr:last-child td { border-bottom: none; }

.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.area-tags span {
  font-size: 0.82rem;
  border: 1px solid var(--line);
  background: var(--rose-soft);
  border-radius: 999px;
  padding: 6px 14px;
}

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

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stars { color: var(--bronze); letter-spacing: 3px; font-size: 0.95rem; }

.review-card blockquote { font-size: 0.95rem; color: var(--deep); font-style: italic; }

.review-card cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.placeholder-flag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  border: 1px dashed var(--bronze);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 1rem;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--bronze);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list .answer { padding: 0 22px 20px; font-size: 0.95rem; color: var(--deep); }

/* ---------- mobile-service band ---------- */

.travel-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.travel-band img { border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow); }

/* ---------- social ---------- */

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  transition: all 0.18s ease;
}

.social-btn:hover { border-color: var(--bronze); color: var(--bronze-dark); transform: translateY(-1px); }

.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: var(--paper); text-align: center; padding: 80px 0; }
.cta-band h2 { color: var(--paper); }
.cta-band .arc { margin: 1.2rem auto 0; color: var(--bronze); }
.cta-band p { color: var(--rose); max-width: 34em; margin: 1rem auto 0; }
.cta-band .btn { margin-top: 2rem; }

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

.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }

.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }

.site-footer h3 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--deep); margin-bottom: 0.9rem; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; font-size: 0.92rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--bronze-dark); }

.footer-brand p { font-size: 0.9rem; color: var(--deep); max-width: 26em; margin-top: 0.8rem; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--deep);
  text-align: center;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-photo { max-width: 440px; }
  .svc-preview { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .book-layout { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .travel-band .wrap { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .info-cols { grid-template-columns: 1fr; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 24px;
    gap: 16px;
  }

  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-time { grid-column: 1; font-size: 0.78rem; }
  .svc-price { grid-row: 1; grid-column: 2; }
  .gallery-grid { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .logo-img { height: 112px; }
  .site-header.is-scrolled .logo-img { height: 52px; }
  .lang-toggle { padding: 6px 14px; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
