/* ============================================================
   Companion site — original theme
   Replace colors/fonts here to re-brand the whole site.
   ============================================================ */

/* Self-hosted fonts (OFL) — no third-party requests, keeps
   visitors' IPs private. Variable fonts: one file per family. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/montserrat.woff2") format("woff2");
}

:root {
  --bg:        #faf6f0;   /* warm ivory background        */
  --surface:   #ffffff;   /* cards / panels               */
  --surface-2: #f1e9df;   /* alt section background       */
  --ink:       #382c27;   /* primary text                 */
  --muted:     #75675e;   /* secondary text (AA contrast) */
  --line:      #e7ddd1;   /* hairline borders             */
  --rose:      #9c6b78;   /* primary accent (dusty rose)  */
  --rose-dark: #7a4f5c;
  --rose-soft: #f3e3e6;   /* rose tint for backgrounds    */
  --gold:      #bd9d63;   /* secondary accent (soft gold) */
  --gold-soft: #f0e6d2;
  --ring:      0 0 0 3px rgba(156, 107, 120, .22); /* focus ring */
  --shadow:    0 20px 44px -26px rgba(56, 44, 39, .5);
  --shadow-sm: 0 8px 22px -16px rgba(56, 44, 39, .45);

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

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: .5px;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8rem;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--surface-2); }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  border: 1px solid var(--rose);
  background: var(--rose);
  color: #fff;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--rose); }
.btn--ghost:hover { background: var(--rose); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #3a2f2a; }
.btn--gold:hover { background: #b3996a; border-color: #b3996a; color: #3a2f2a; }

/* ============================================================
   Age gate (index.html)
   ============================================================ */
.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(rgba(58,47,42,.55), rgba(58,47,42,.7)),
    var(--surface-2);
  background-size: cover;
  background-position: center;
}
.gate__inner { max-width: 560px; color: #fff; }
.gate h1 { color: #fff; font-size: clamp(3rem, 9vw, 5rem); }
.gate p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.gate .eyebrow { color: var(--gold); }
.gate__actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.gate__fine { margin-top: 2rem; font-size: .8rem; color: rgba(255,255,255,.65); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
}
.brand span { color: var(--rose); }
.nav__links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav__links a {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.nav__links a:hover,
.nav__links a.active { color: var(--rose); }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    gap: .9rem;
    display: none;
  }
  .nav__links.open { display: flex; }
}

/* ============================================================
   Hero (interior pages)
   ============================================================ */
.hero {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.hero p.lead { max-width: 620px; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }

/* ============================================================
   About / portrait split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.portrait {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* details list */
.details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.details li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.details li span:first-child { color: var(--muted); letter-spacing: .04em; }
.details li span:last-child { font-weight: 500; text-align: right; }

/* ============================================================
   Gallery (portfolio)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  cursor: pointer;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(33, 26, 23, .92);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 86vh; border-radius: 10px; }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer;
}

/* ============================================================
   Cards (rates, gifts, reviews, faq)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}
.card--feature { border-color: var(--gold); position: relative; }
.card--feature::before {
  content: "Most requested";
  position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3a2f2a;
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px;
}
.card h3 { color: var(--rose); }
.price { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); margin: .2rem 0 1rem; }
.price small { font-size: .85rem; color: var(--muted); font-family: var(--sans); }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li { padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.card ul li:last-child { border-bottom: 0; }

/* review cards */
.review { background: var(--surface); border-left: 3px solid var(--gold); }
.review p { font-style: italic; color: var(--ink); }
.review .review__by { font-style: normal; color: var(--muted); font-size: .85rem; margin: 0; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
  padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq__q .plus { color: var(--rose); transition: transform .25s ease; }
.faq__q[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding-bottom: 1.2rem; color: var(--muted); margin: 0; }

/* ============================================================
   Forms (appointment / contact)
   ============================================================ */
.form { max-width: 640px; margin-inline: auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(156,107,120,.15);
}
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 1rem; }

/* ============================================================
   Travel table
   ============================================================ */
.travel-list { list-style: none; margin: 0; padding: 0; max-width: 720px; margin-inline: auto; }
.travel-list li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: .9rem;
}
.travel-list .city { font-family: var(--serif); font-size: 1.3rem; }
.travel-list .dates { color: var(--rose); font-weight: 600; }
.travel-list .status { color: var(--muted); font-size: .85rem; }

/* generic prose block */
.prose { max-width: 760px; margin-inline: auto; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.note {
  background: var(--surface-2);
  border-left: 3px solid var(--rose);
  padding: 1.2rem 1.4rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: var(--ink);
}

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 1.6rem; }
.cta-band .btn--gold { margin-top: .5rem; }

.site-footer {
  background: var(--ink);
  color: #d8ccc3;
  padding: 3rem 0 2rem;
  text-align: center;
}
.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 1rem; }
.site-footer nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.site-footer nav a { color: #d8ccc3; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer small { color: #9b8d83; display: block; }
.socials { margin: 1rem 0; }
.socials a { margin: 0 .5rem; color: #d8ccc3; }
.socials a:hover { color: var(--gold); }

/* utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ============================================================
   ENHANCEMENTS — polish, performance, lightbox, motion, a11y
   ============================================================ */

/* ---- Accessibility: visible focus ring ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* keep sticky anchor jumps clear of the fixed header */
html { scroll-padding-top: 90px; }
body { overflow-x: hidden; }
body.no-scroll { overflow: hidden; }

/* ---- Smooth image fade-in as photos load ---- */
.portrait img,
.gallery img { background: var(--surface-2); }
/* Only fade when JS is active, so no-JS visitors still see every photo */
.js .gallery img { opacity: 0; transition: opacity .6s ease, transform .5s ease; }
.js .gallery img.loaded { opacity: 1; }

/* ---- Scroll-reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Decorative gold rule under eyebrows / section heads ---- */
.section__head .eyebrow::after,
.hero .eyebrow::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin: .7rem auto 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero .eyebrow::after { margin-left: auto; margin-right: auto; }

/* ---- Buttons: subtle depth + shimmer ---- */
.btn { box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn--ghost { box-shadow: none; }

/* ---- Nav: animated active/hover underline ---- */
.nav__links a { position: relative; padding-block: 4px; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--rose);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

/* ---- Cards: gentle hover lift ---- */
.card { transition: transform .28s ease, box-shadow .28s ease; }
.cards .card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(56,44,39,.55); }

/* ---- Gallery: magnify hint on hover ---- */
.gallery figure { position: relative; box-shadow: var(--shadow-sm); }
.gallery figure::after {
  content: "⊕";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.8rem; color: #fff;
  background: linear-gradient(rgba(56,44,39,0), rgba(56,44,39,.32));
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.gallery figure:hover::after { opacity: 1; }

/* ============================================================
   Lightbox v2 — prev / next / counter / caption
   ============================================================ */
.lightbox { flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox__stage { position: relative; display: grid; place-items: center; }
.lightbox img { box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.35); color: #fff;
  font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox__nav:hover { background: var(--rose); transform: translateY(-50%) scale(1.06); }
.lightbox__prev { left: -70px; }
.lightbox__next { right: -70px; }
.lightbox__counter { color: rgba(255,255,255,.8); font-size: .82rem; letter-spacing: .15em; }

@media (max-width: 820px) {
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
  .lightbox__nav { width: 46px; height: 46px; background: rgba(0,0,0,.5); }
}

/* ============================================================
   Mobile polish
   ============================================================ */
@media (max-width: 1024px) {
  /* roomier, finger-friendly nav rows */
  .nav__links { padding: 1rem 1.25rem 1.4rem; }
  .nav__links a { padding: .55rem 0; font-size: .82rem; display: block; }
  .nav__links a::after { display: none; }
  .nav__toggle { padding: .25rem .5rem; line-height: 1; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--maxw)); }
  .gallery { gap: 10px; }
  .btn { display: block; width: 100%; text-align: center; }
  .gate__actions .btn { width: auto; }
  .hero { padding-top: 2.5rem; }
  .details li { font-size: .95rem; }
  .price { font-size: 2rem; }
}
@media (max-width: 420px) {
  .gate__actions { flex-direction: column; }
  .gate__actions .btn { width: 100%; }
}

/* ============================================================
   Respect reduced-motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .js .gallery img { opacity: 1; }
}

/* ============================================================
   Gallery: uniform tiles with a taller 2:3 ratio so tall
   portraits crop far less than the old 3:4 box. Biased to the
   top so faces stay in frame.
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0;
  width: auto;
  display: block;
  aspect-ratio: 2 / 3;       /* taller than 3:4 → less cropping */
  break-inside: auto;
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;  /* keep heads/faces in frame */
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery { gap: 10px; }
}

/* ============================================================
   V2 polish — page fade, scroll progress, header shrink,
   back-to-top, drop cap, signature, gate backdrop
   ============================================================ */
body { animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* thin progress bar along the very top while scrolling */
.progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

/* header slims down once you scroll */
.nav { transition: padding .25s ease; }
.brand { transition: font-size .25s ease; }
.site-header.scrolled .nav { padding: .55rem 0; }
.site-header.scrolled .brand { font-size: 1.35rem; }

/* floating back-to-top button */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--rose); color: #fff; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--rose-dark); }

/* editorial drop cap on the opening bio paragraph */
.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.1em;
  line-height: .82;
  float: left;
  padding: .04em .12em 0 0;
  color: var(--rose);
}

/* composed-message handoff box shown after form submit */
.compose-box {
  width: 100%;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--rose);
  border-radius: 10px;
  background: var(--rose-soft);
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.compose-go {
  display: block;
  width: max-content;
  margin: 1rem auto 0;
}

/* small subtitle under rate-card headings */
.card .sub {
  color: var(--muted);
  font-size: .85rem;
  margin: -.3rem 0 1rem;
}

/* handwritten-style sign-off */
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rose);
  margin: .2rem 0 1.2rem;
}

/* age gate: soft photo backdrop + entrance animation */
.gate {
  background-color: #2d211d;
  background-image:
    linear-gradient(rgba(45, 33, 29, .62), rgba(45, 33, 29, .82)),
    url("../images/gallery-1.jpg");
  background-position: center, center 18%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.gate__inner { animation: gateIn .9s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes gateIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
