/* Self-hosted fonts (SIL OFL, see /assets/fonts/OFL-*.txt) */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond-MediumItalic.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --bg: #0F1F1A;
  --bg-deep: #0A1612;
  --surface: #1E4D3F;
  --surface-2: #2F6B57;
  --gold: #C9A86A;
  --gold-soft: rgba(201, 168, 106, .35);
  --text: #EDE6D6;
  --text-muted: #C9C2B0;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 9vw, 5.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); text-align: center; }
h3 { font-size: 1.45rem; }

/* Layout */
main > section { padding: clamp(64px, 10vw, 120px) var(--gutter); max-width: var(--max); margin: 0 auto; position: relative; }
main > section + section::before {
  content: ""; display: block; width: 44px; height: 44px; margin: 0 auto clamp(40px, 6vw, 64px);
  background: url("/assets/img/ornament-star.svg") center / contain no-repeat; opacity: .8;
}
main > section:nth-of-type(3n)::before { background-image: url("/assets/img/ornament-moon.svg"); }
.section-lede { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: rgba(10, 22, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 106, .15);
}
.logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); text-decoration: none; letter-spacing: .06em; }
.site-header nav { display: flex; gap: clamp(12px, 2.5vw, 28px); }
.site-header nav a { color: var(--text-muted); text-decoration: none; font-size: .9rem; }
.site-header nav a:hover { color: var(--gold); }
@media (max-width: 640px) { .site-header nav a:not(:first-child) { display: none; } }

/* Hero */
.hero {
  min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  isolation: isolate; overflow: hidden; max-width: none !important;
}
.hero > * { position: relative; z-index: 2; max-width: 760px; }
.mist {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 35% at 30% 40%, rgba(47, 107, 87, .55), transparent 70%),
    radial-gradient(35% 30% at 70% 60%, rgba(30, 77, 63, .7), transparent 70%),
    radial-gradient(25% 25% at 55% 30%, rgba(201, 168, 106, .12), transparent 70%);
  filter: blur(20px);
  animation: drift 26s ease-in-out infinite alternate;
}
.stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, var(--gold), transparent),
    radial-gradient(1px 1px at 28% 78%, var(--text), transparent),
    radial-gradient(1.5px 1.5px at 46% 14%, var(--text), transparent),
    radial-gradient(1px 1px at 63% 84%, var(--gold), transparent),
    radial-gradient(1.5px 1.5px at 81% 30%, var(--gold), transparent),
    radial-gradient(1px 1px at 90% 66%, var(--text), transparent),
    radial-gradient(1px 1px at 6% 58%, var(--text), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
.hero .glass {
  width: clamp(120px, 28vw, 180px); aspect-ratio: 1; margin-bottom: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(237, 230, 214, .35), rgba(47, 107, 87, .6) 35%, rgba(15, 31, 26, .9) 75%);
  box-shadow: 0 0 60px rgba(47, 107, 87, .6), inset 0 0 30px rgba(201, 168, 106, .25);
  border: 1px solid var(--gold-soft);
  animation: glow 7s ease-in-out infinite alternate;
}
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.lede { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--text-muted); margin: 0 auto 36px; max-width: 560px; }
.cta-primary, .book-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 12px 28px;
  border-radius: 999px; background: var(--gold); color: #13241E; font-weight: 600; text-decoration: none;
  border: 1px solid var(--gold); transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.cta-primary:hover, .book-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201, 168, 106, .25); }

@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: .85; } }
@keyframes glow { from { box-shadow: 0 0 40px rgba(47, 107, 87, .5), inset 0 0 24px rgba(201, 168, 106, .2); } to { box-shadow: 0 0 80px rgba(47, 107, 87, .8), inset 0 0 36px rgba(201, 168, 106, .35); } }

/* Services */
.service-group + .service-group { margin-top: 56px; }
.group-title { text-align: center; font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; perspective: 1200px; max-width: 880px; margin: 0 auto; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--surface-2) 140%);
  border: 1px solid var(--gold-soft); box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease;
}
.service-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 168, 106, .18); border-radius: 10px; pointer-events: none; }
.service-card h3 { font-size: 1.5rem; margin-bottom: .3em; }
.price { margin: 0 0 12px; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.desc { color: var(--text); margin: 0 0 22px; flex: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.book-btn { padding: 10px 20px; min-height: 44px; font-size: .95rem; }
.book-btn--ghost { background: transparent; color: var(--text); border-color: var(--gold-soft); }
.book-btn--ghost:hover { border-color: var(--gold); }
.addon { color: var(--gold); font-weight: 600; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-3deg); border-color: var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, .35), 0 0 30px rgba(201, 168, 106, .15); }
}
.delivery-note { text-align: center; color: var(--text-muted); margin-top: 36px; font-size: .95rem; }

.badge-soon { align-self: flex-start; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); background: rgba(15, 31, 26, .35); }
.badge-soon[hidden] { display: none; }
.book-btn[data-cal-link] { cursor: pointer; }
.cal-inline { width: 100%; min-height: 560px; border-radius: var(--radius); overflow: hidden; }

/* How */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: none; }
.steps li { text-align: center; padding: 8px 12px; }
.step-num { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-bottom: 14px; }
.steps p { color: var(--text-muted); margin: 0; }

/* About */
.about { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.about h2 { text-align: left; }
.about::before { grid-column: 1 / -1; }
.about-art { justify-self: center; width: clamp(140px, 30vw, 220px); }
.about-art img { width: 100%; animation: glow-rotate 60s linear infinite; }
.about-text p { color: var(--text); }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 2fr; } }
@keyframes glow-rotate { to { transform: rotate(360deg); } }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(201, 168, 106, .2); padding: 6px 0; max-width: 760px; margin: 0 auto; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-family: var(--font-display); font-size: 1.3rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--gold); font-size: 1.5rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--text-muted); }

/* Booking */
.booking { text-align: center; }
.booking .booking-note { color: var(--text-muted); max-width: 560px; margin: 0 auto 24px; }

/* Footer */
.site-footer { text-align: center; padding: 56px var(--gutter) 40px; background: var(--bg-deep); border-top: 1px solid rgba(201, 168, 106, .15); color: var(--text-muted); font-size: .9rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); margin: 0 0 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 16px 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--gold); }
.copy { opacity: .7; }
.footer-contact a { color: var(--gold); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal h2 { text-align: left; font-size: 1.6rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--text-muted); font-size: .9rem; }
.legal .placeholder { background: rgba(201, 168, 106, .15); padding: 0 4px; border-radius: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .92rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 10px; border-bottom: 1px solid rgba(201, 168, 106, .2); }
.not-found { text-align: center; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 640px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px;
  background: rgba(10, 22, 18, .96); border: 1px solid var(--gold-soft); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45); font-size: .9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 260px; color: var(--text); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  min-height: 44px; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid var(--gold);
}
.cookie-btn:hover { background: rgba(201, 168, 106, .12); }

/* Reveal: hidden only when JS is running */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
/* If motion.js never runs (blocked, failed), show everything after 3 s */
.js:not(.motion-ready) .reveal { animation: reveal-fallback .6s ease 3s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
