/* ============================================================
   Beauty Lodge by Anna — shared styles
   Brand palette pulled from the official logo files:
   burgundy #422328 · blush #F4E3E3 · charcoal #403F41
   ============================================================ */

:root {
  --burgundy: #422328;
  --wine: #5a2f37;
  --blush: #f4e3e3;
  --blush-soft: #fbf0ee;
  --porcelain: #fbf5f3;
  --rosegold: #c9a27e;
  --rosegold-deep: #b0855c;
  --charcoal: #403f41;
  --ink: #2a181b;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(42, 24, 27, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--porcelain);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1rem; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rosegold-deep);
  margin: 0 0 1.1rem;
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section-head p { color: var(--charcoal); font-size: 1.08rem; margin-top: 0.75rem; }

/* ---- chain divider: the signature motif ---- */
.chain {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.4rem;
  color: var(--rosegold);
}
.chain.center { justify-content: center; }
.chain::before,
.chain::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 5rem;
  background: linear-gradient(90deg, transparent, currentColor);
}
.chain::after { background: linear-gradient(90deg, currentColor, transparent); }
.chain svg { width: 58px; height: 16px; opacity: 0.9; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary { background: var(--burgundy); color: var(--blush); }
.btn-primary:hover { background: var(--wine); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--burgundy); }
.btn-ghost:hover { background: var(--burgundy); color: var(--blush); transform: translateY(-2px); }
.btn-light { border-color: var(--blush); color: var(--blush); }
.btn-light:hover { background: var(--blush); color: var(--burgundy); transform: translateY(-2px); }
.btn-sm { padding: 0.7em 1.4em; font-size: 0.72rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 240, 238, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(66, 35, 40, 0.09);
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--burgundy);
  line-height: 0.98;
  display: flex;
  flex-direction: column;
}
.brand small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--rosegold-deep);
  margin-top: 0.4rem;
  padding-left: 0.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-ig { display: inline-flex; }
.nav-ig svg { width: 19px; height: 19px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--burgundy);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Ensure the nav Book button keeps its own colors (override .nav-links a) */
.nav-links a.btn-primary,
.nav-links a.btn-primary:link,
.nav-links a.btn-primary:visited {
  color: var(--blush);
  background: var(--burgundy);
}
.nav-links a.btn-primary:hover {
  color: var(--blush);
  background: var(--wine);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--blush);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(42, 24, 27, 0.55), rgba(42, 24, 27, 0.78));
}
.hero-inner { padding: 6rem var(--gutter); max-width: 60rem; }
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.hero h1 em { font-style: italic; color: var(--blush); }
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 34rem;
  margin: 1.6rem auto 2.4rem;
  color: rgba(244, 227, 227, 0.9);
  font-weight: 300;
}
.hero .chain { color: var(--rosegold); justify-content: center; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-group { margin-bottom: 3.5rem; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-title {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosegold-deep);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(66, 35, 40, 0.12);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}
.svc-card {
  background: #fff;
  border: 1px solid rgba(66, 35, 40, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.svc-img {
  display: block;
  width: calc(100% + 3.8rem);
  height: 210px;
  object-fit: cover;
  margin: -2rem -1.9rem 1.5rem;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 126, 0.55);
}
.svc-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.svc-card .desc { color: var(--charcoal); font-size: 0.97rem; flex: 1; }
.svc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(66, 35, 40, 0.18);
}
.svc-price {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--burgundy);
}
.svc-dur {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.svc-card .btn { align-self: flex-start; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--blush-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.about-text p { color: var(--charcoal); font-size: 1.06rem; }
.about-sign {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--burgundy);
  margin-top: 1.4rem;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events {
  position: relative;
  color: var(--blush);
  overflow: hidden;
}
.events-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.events::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(66, 35, 40, 0.9) 35%, rgba(66, 35, 40, 0.62));
}
.events-inner { max-width: 40rem; }
.events h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.events p { color: rgba(244, 227, 227, 0.9); font-size: 1.08rem; }
.events .chain { color: var(--rosegold); }
.events-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 0.6rem; }
.events-list li { padding-left: 1.5rem; position: relative; color: rgba(244,227,227,0.92); }
.events-list li::before { content: "◆"; position: absolute; left: 0; color: var(--rosegold); font-size: 0.7rem; top: 0.35rem; }

/* ============================================================
   JEWELRY TEASER (on home)
   ============================================================ */
.teaser { background: var(--burgundy); color: var(--blush); text-align: center; }
.teaser h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.teaser p { max-width: 38rem; margin-inline: auto; color: rgba(244, 227, 227, 0.88); }
.teaser .chain { color: var(--rosegold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  border: 1px solid rgba(66, 35, 40, 0.12);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--burgundy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .mark { color: var(--rosegold); transition: transform 0.3s var(--ease); flex-shrink: 0; font-family: var(--sans); font-weight: 300; }
.faq-item[open] .mark { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--charcoal); font-size: 0.98rem; }

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--blush); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 227, 227, 0.16);
}
.footer .flogo { width: 190px; margin-bottom: 1.2rem; }
.footer h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rosegold);
  margin-bottom: 1rem;
}
.footer p, .footer a { color: rgba(244, 227, 227, 0.82); font-size: 0.95rem; }
.footer a:hover { color: var(--blush); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-tag { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--blush); margin-bottom: 0.8rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
  flex-wrap: wrap;
}
.footer-bottom small { color: rgba(244, 227, 227, 0.55); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer-ig { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-ig svg { width: 18px; height: 18px; }

/* ============================================================
   JEWELRY PAGE
   ============================================================ */
.jhero {
  position: relative;
  min-height: min(70vh, 620px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--blush);
  overflow: hidden;
}
.jhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.jhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 24, 27, 0.5), rgba(42, 24, 27, 0.82));
}
.jhero-inner { padding: 5rem var(--gutter); max-width: 46rem; }
.jhero .jlogo { width: min(260px, 60vw); margin: 0 auto 2rem; }
.jhero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
.jhero p { color: rgba(244, 227, 227, 0.9); font-size: 1.1rem; margin-top: 1.2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--blush-soft);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.05); }

.jcta { text-align: center; background: var(--blush-soft); }
.jcta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.jcta p { max-width: 34rem; margin: 0 auto 2rem; color: var(--charcoal); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--porcelain);
    border-bottom: 1px solid rgba(66, 35, 40, 0.1);
    padding: 0.5rem var(--gutter) 1.4rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s var(--ease);
  }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 0; width: 100%; border-bottom: 1px solid rgba(66,35,40,0.07); }
  .nav-links .btn { margin-top: 0.9rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---- accessibility ---- */
:focus-visible { outline: 2px solid var(--rosegold-deep); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc-card:hover, .gallery-grid figure:hover img { transform: none; }
}

/* native <summary> marker cleanup for FAQ */
.faq-q { list-style: none; }
.faq-q::-webkit-details-marker { display: none; }

/* ---- Recent work gallery (home) ---- */
.work { background: var(--porcelain); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.work-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--blush-soft);
}
.work-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-grid figure:hover img { transform: scale(1.05); }
@media (max-width: 780px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

/* Footer book button keeps light text on dark footer */
.footer a.btn-light, .footer a.btn-light:hover { color: var(--blush); }

/* ============================================================
   PHONE-ONLY: center content & show full card photos
   (desktop layout is unaffected)
   ============================================================ */
@media (max-width: 600px) {
  /* center section intros and their chain dividers */
  .section-head { text-align: center; margin-inline: auto; }
  .section-head .chain,
  .about-text .chain,
  .events-inner .chain,
  #faq .chain { justify-content: center; }

  /* service group labels */
  .svc-group-title { text-align: center; }

  /* service cards: center text, center button, show whole photo */
  .svc-card { text-align: center; align-items: center; }
  .svc-card .btn { align-self: center; }
  .svc-img {
    height: auto;
    object-fit: contain;
    background: var(--blush-soft);
  }

  /* about: center text, divider, signature, and photo */
  .about-text { text-align: center; }
  .about-photo { margin-inline: auto; }

  /* events */
  .events-inner { text-align: center; }
  .events-list { display: inline-grid; text-align: left; }

  /* faq intro column */
  #faq > .wrap > .reveal:first-child { text-align: center; }
  #faq > .wrap > .reveal:first-child .chain { justify-content: center; }

  /* footer: center all columns and content */
  .footer-grid { text-align: center; }
  .footer .flogo { margin-inline: auto; }
  .footer ul { justify-items: center; }
  .footer-ig { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
