/* Goddess Gia — stark white, bold black lettering, photos veiled in a thin drifting mist.
   To restyle the whole site, change the variables in :root. */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #555555;
  --line: #0a0a0a;
  --hair: #e6e6e6;
  --accent: #8e1b2e;        /* garnet red: buttons, header line, small details */
  --display: "Sorts Mill Goudy", Georgia, serif;   /* headings, logo */
  --body: "Sorts Mill Goudy", Georgia, serif;   /* body text */
  --script: "Great Vibes", "Snell Roundhand", cursive;   /* big titles: cursive */
  --mist: 255, 255, 255;     /* mist color (RGB). Try 245, 242, 240 for a warmer haze. */
  --mist-blur: 5px;          /* how soft the misty edges of photos are */
  --max: 1150px;
  --col: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-synthesis: none; }  /* Sorts Mill Goudy has no bold: never fake it */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: .04em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); letter-spacing: .06em; }
h3 { font-size: 1.25rem; letter-spacing: .14em; font-weight: 400; }
p { margin: 0 0 1.2em; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .01em; }
.center { text-align: center; }
.muted { color: var(--muted); }
.placeholder { outline: 1px dashed rgba(0, 0, 0, .35); outline-offset: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--hair);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.5rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem; position: relative;
}
.brand {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: .14em; line-height: 1;
  color: var(--text); text-decoration: none;
}
.brand:hover { opacity: 1; }
.nav-links { display: flex; gap: 2.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.nav-links a {
  color: var(--text); text-decoration: none; font-weight: 400;
  font-size: .9rem; letter-spacing: .28em; text-transform: uppercase; padding-bottom: 3px;
}
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
  display: none; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--text); font-size: 1.7rem; cursor: pointer; padding: .2rem .5rem;
}
@media (max-width: 760px) {
  .nav-wrap { padding: 1.1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 1.1rem; border-top: 1px solid var(--hair); }
  .nav-links a[aria-current="page"] { border-bottom: 0; color: var(--accent); }
}

/* ---------- Layout ---------- */
main { min-height: 60vh; }
.band { padding: 5.5rem 1.5rem; position: relative; }
.band.rule::before {   /* thin black line between sections */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 3rem)); border-top: 1px solid var(--line);
}
.col { max-width: var(--col); margin: 0 auto; }
.page-title { text-align: center; padding: 4.5rem 1.5rem 1rem; }
.page-title h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--accent); margin: 1.6rem auto 0; }
.page-title p { color: var(--muted); max-width: 560px; margin: 1.2rem auto 0; font-style: italic; }

.pullquote {
  font-family: var(--body); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4; text-align: center; max-width: 760px; margin: 0 auto; border: 0; padding: 0;
}
.pullquote cite {
  color: var(--accent);
  display: block; margin-top: 1.4rem; font-style: normal; font-weight: 400;
  font-size: .9rem; letter-spacing: .28em; text-transform: uppercase;
}
.signature { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2.2rem; line-height: 1; margin-top: 1.8rem; color: var(--accent); }

.facts { list-style: none; padding: 0; margin: 0 auto; max-width: 560px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: right; }
.facts li span:first-child { font-weight: 400; font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; text-align: left; padding-top: .25rem; }

/* ---------- Mist: a thin veil over photos ----------
   Wrap an <img> in <figure class="mist">. Edges blur and fade to white, the centre stays clear,
   and a faint haze drifts slowly across. Gallery thumbnails get the same veil, which lifts on hover. */
.mist, .gallery button { position: relative; overflow: hidden; isolation: isolate; }
.mist { margin: 0 auto; }
.mist img { width: 100%; height: 100%; object-fit: cover; }
.mist::before, .gallery button::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(var(--mist-blur)); backdrop-filter: blur(var(--mist-blur));
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 45%, transparent 38%, #000 100%);
          mask-image: radial-gradient(ellipse 72% 68% at 50% 45%, transparent 38%, #000 100%);
  transition: opacity .8s ease;
}
.mist::after, .gallery button::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 25% 30%, rgba(var(--mist), .38), transparent 42%),
    radial-gradient(circle at 75% 72%, rgba(var(--mist), .30), transparent 46%),
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(var(--mist), 0) 45%, rgba(var(--mist), .55) 82%, rgba(var(--mist), .92) 100%),
    linear-gradient(rgba(var(--mist), .10), rgba(var(--mist), .10));
  background-size: 160% 160%, 160% 160%, 100% 100%, 100% 100%;
  background-position: 0% 0%, 100% 100%, center, center;
  animation: mist-drift 22s ease-in-out infinite alternate;
  transition: opacity .8s ease;
}
@keyframes mist-drift {
  to { background-position: 35% 20%, 65% 80%, center, center; }
}
@media (prefers-reduced-motion: reduce) {
  .mist::after, .gallery button::after { animation: none; }
}

.feature { width: 100%; max-width: var(--max); aspect-ratio: 16 / 9; }
.portrait { width: 100%; max-width: 560px; aspect-ratio: 4 / 5; }

/* A full-width band over a blurred, misted photo. Set the photo with style="--photo: url(...)". */
.band.statement { overflow: hidden; text-align: center; padding: 8rem 1.5rem; }
.band.statement::before {
  content: ""; position: absolute; inset: -30px; z-index: -2;
  background: var(--photo) center / cover no-repeat; filter: blur(8px);
}
.band.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--mist), .62); }
.band.statement { isolation: isolate; }
.bg-intro { --photo: url("../images/pages/04.jpg"); }
.bg-protocol { --photo: url("../images/pages/13.jpg"); }
.bg-wishlist { --photo: url("../images/pages/21.jpg"); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 1.05rem 2.8rem;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font-family: var(--body); font-weight: 400; font-size: .9rem; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--accent); opacity: 1; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* ---------- Age gate (entry page) ---------- */
.gate {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 3rem 1.5rem; overflow: hidden; isolation: isolate;
}
.gate-bg {
  position: absolute; inset: -40px; z-index: -2;
  background: url("../images/pages/10.jpg") center / cover no-repeat;
  filter: blur(7px);
}
.gate::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(var(--mist), .72) 0%, rgba(var(--mist), .55) 60%, rgba(var(--mist), .8) 100%);
}
.gate-inner { max-width: 720px; }
.gate .brand { display: block; font-size: clamp(2.6rem, 9vw, 5.6rem); letter-spacing: .05em; line-height: .95; margin-bottom: 2.2rem; }
.gate .disclaimer { font-style: italic; font-size: 1.25rem; line-height: 1.8; margin-bottom: 2.6rem; }
.gate .leave { display: block; margin-top: 1.6rem; font-size: 1rem; }

/* ---------- Gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: 28px; max-width: 880px; margin: 0 auto; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: #f2f2f2; cursor: zoom-in; }
.gallery img { display: block; width: 100%; height: auto; transition: transform 1.2s ease; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.02); }
.gallery button:hover::before, .gallery button:hover::after,
.gallery button:focus-visible::before, .gallery button:focus-visible::after { opacity: .25; }  /* the mist lifts */
.gallery button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; }
.lb-btn {
  position: absolute; background: none; border: 0; color: var(--text);
  font-size: 2.8rem; cursor: pointer; padding: 1rem; font-family: var(--display); line-height: 1;
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: .5; }
.lb-close { top: .5rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); font-weight: 400; letter-spacing: .24em; font-size: .9rem; }

/* ---------- Rates & policies ---------- */
.rates { list-style: none; padding: 0; margin: 0 auto; text-align: center; }
.rates li { margin-bottom: 2rem; }
.rates strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .1em; }
.policy { margin-top: 3.5rem; }
.policy:first-child { margin-top: 0; }
.policy h3 { text-align: center; }
ul.fine { padding-left: 1.2rem; }
ul.fine li { margin-bottom: .6rem; }
ul.fine strong { font-weight: 400; }

/* ---------- Booking form ---------- */
.form { display: grid; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend {
  display: block; margin-bottom: .5rem;
  font-weight: 400; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 1.15rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--text); outline-offset: 0; }
.field .hint { font-size: 1.05rem; color: var(--muted); margin: .4rem 0 0; font-style: italic; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.field .radio-row label.check { margin: 0; cursor: pointer; font-size: 1.15rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.15rem; }
.check input { width: 18px; height: 18px; margin-top: .45rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.2rem; border: 2px solid var(--line); display: none; }
.form-status.show { display: block; }
.form-status.err { border-color: #8b1a1a; color: #8b1a1a; }

.note { font-style: italic; color: var(--muted); text-align: center; margin: 2.5rem auto 0; }

/* ---------- Wishlist ---------- */
.wish-links { list-style: none; padding: 0; margin: 2rem 0 0; text-align: center; }
.wish-links li { margin-bottom: 1rem; }
.wish-links a { font-weight: 400; font-size: 1rem; letter-spacing: .26em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { padding: 4.5rem 1.5rem 2.5rem; text-align: center; border-top: 1px solid var(--line); margin-top: 2rem; }
.site-footer .brand { display: inline-block; margin-bottom: .8rem; font-size: 2.2rem; }
.site-footer p { margin: 0 0 1rem; font-style: italic; }
.socials { display: flex; gap: 1.4rem; justify-content: center; margin: 1.4rem 0; }
.socials a { display: inline-flex; width: 24px; height: 24px; color: var(--text); }
.socials svg { width: 100%; height: 100%; fill: currentColor; }
.socials svg.line, .wish-links svg.line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wish-links a { display: inline-flex; align-items: center; gap: .7rem; }
.wish-links svg { width: 1.5rem; height: 1.5rem; flex: none; }
.site-footer nav { display: flex; gap: 1.8rem; justify-content: center; margin: 1.4rem 0; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; font-weight: 400; font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; }
.site-footer small { display: block; margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }

/* ---------- Big titles in cursive ----------
   Page titles, section titles, the logo and the signature use the script font in normal case.
   Small labels (h3, menu, buttons) stay in Sorts Mill Goudy. */
h1, h2, .display, .brand, .signature, .rates strong {
  font-family: var(--script); text-transform: none; letter-spacing: 0; line-height: 1.15; font-weight: 400;
}
h1 { font-size: clamp(3.4rem, 10vw, 6rem); }
h2 { font-size: clamp(2.5rem, 6.5vw, 3.9rem); }
.brand { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.gate .brand { font-size: clamp(3.8rem, 13vw, 8rem); line-height: 1; letter-spacing: 0; }
.site-footer .brand { font-size: 2.6rem; }
.signature { font-style: normal; font-size: 3.2rem; }
.rates strong { font-size: 2rem; }
.page-title h1::after { margin-top: 1.2rem; }
.page-title p, .pullquote, .gate .disclaimer { font-style: italic; }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0 0 3.5rem; padding: 0 0 3.5rem; border-bottom: 1px solid var(--hair); text-align: center; }
.testimonial:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.testimonial p { font-style: italic; font-size: 1.4rem; line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial cite { display: block; color: var(--accent); font-style: normal; font-size: .9rem; letter-spacing: .24em; text-transform: uppercase; }
