/* ---------- tokens ---------- */
:root {
  --bg:        #fdf6f0;
  --bg-soft:   #f7e8de;
  --surface:   #ffffff;
  --accent:    #e8b4bc;
  --accent-2:  #d99aa4;
  --gold:      #c9a96e;
  --ink:       #2b2b2b;
  --ink-soft:  #4a4340;
  --muted:    #8a7a72;
  --line:     rgba(43, 43, 43, 0.08);
  --shadow-sm: 0 1px 2px rgba(43, 43, 43, 0.06), 0 4px 10px rgba(43, 43, 43, 0.04);
  --shadow-md: 0 6px 18px rgba(43, 43, 43, 0.08);
  --radius:    14px;
  --radius-sm: 8px;
  --serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --script:   'Allura', 'Apple Chancery', 'Snell Roundhand', cursive;
  --container: 1100px;
  --header-h:  72px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  padding-bottom: 4.5rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 0.4em; }
h2 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--accent-2);
  margin: 0 0 0.3em;
}
h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -1000px; top: 0; background: var(--ink); color: #fff;
  padding: 0.6em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  background: rgba(253, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-logo { height: 64px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .brand-logo { height: 52px; max-width: 170px; }
}

.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 0.25rem; align-items: center;
}
.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.primary-nav a:hover { color: var(--ink); background: rgba(232, 180, 188, 0.18); }
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(201, 169, 110, 0.14);
}
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.25rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  margin-left: 0.4rem;
}
.nav-cta:hover { background: var(--accent-2) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: transparent; border: 0;
  width: 44px; height: 44px;
  padding: 8px;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(43, 43, 43, 0.06); }
.nav-toggle-bar {
  display: block; width: 26px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .primary-nav[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    gap: 0;
  }
  .primary-nav a {
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
  }
  .primary-nav a[aria-current="page"]::after { display: none; }
}

/* ---------- tabs ---------- */
.tab-panel { display: none; animation: fadeIn 0.25s ease both; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.section-head { text-align: center; margin: 2.5rem 0 1.5rem; }
.section-sub { color: var(--muted); margin-top: -0.4em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(min(82vh, 760px) - var(--header-h));
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(60% 50% at 50% 35%, #ffffff 0%, var(--bg) 60%, var(--bg-soft) 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
.hero-bg:not([style]),
.hero-bg[style=""] { display: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(253, 246, 240, 0.6), rgba(253, 246, 240, 0.9)),
    linear-gradient(180deg, rgba(253, 246, 240, 0.2), rgba(253, 246, 240, 0.9));
}
.hero-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(86vw, 520px);
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(180, 100, 90, 0.12));
}
.hero-heading {
  font-style: italic;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.hero-sub {
  font-family: var(--script);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--accent-2);
  margin: 0 0 1.6rem;
  max-width: 520px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 0; border-radius: 999px;
  font-weight: 500; letter-spacing: 0.02em;
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-submit { width: 100%; justify-content: center; padding: 1rem 1.4rem; }

/* ---------- about ---------- */
.about-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 3.5rem 0;
}
.about-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-figure img { aspect-ratio: 4/5; object-fit: cover; }
.about-copy p { font-size: 1.05rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; padding: 2rem 0; }
}

/* ---------- services ---------- */
.services-list { display: grid; gap: 2rem; padding-bottom: 3rem; }
.service-category { background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1.5rem 0.75rem; box-shadow: var(--shadow-sm); }
.service-category h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--accent-2);
  margin-top: 0;
  margin-bottom: 0.2em;
}
.service-blurb { color: var(--muted); margin-top: -0.25em; margin-bottom: 0.75em; }
.service-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--line);
  align-items: baseline;
}
.service-row:first-of-type { border-top: 0; }
.service-name { font-weight: 600; }
.service-meta { color: var(--muted); font-size: 0.9rem; }
.service-desc { grid-column: 1 / -1; color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.service-price {
  font-family: var(--serif); font-size: 1.15rem;
  color: var(--ink); white-space: nowrap;
}
.service-price::before { content: ""; }

/* ---------- gallery ---------- */
.gallery-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 1.5rem;
}
.gallery-filter {
  background: transparent; border: 1px solid var(--line);
  padding: 0.4rem 0.95rem; border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.gallery-filter[aria-pressed="true"] {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  padding-bottom: 3rem;
}
.gallery-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card-body {
  padding: 0.75rem 0.85rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.gallery-card-title {
  font-family: var(--script);
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--accent-2);
}
.gallery-card-desc { font-size: 0.85rem; color: var(--muted); }
.gallery-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.5rem;
}
.gallery-card-price {
  font-family: var(--serif); font-size: 1.05rem;
}
.price-badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--gold); color: #fff;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.05em;
}
.btn-buy {
  background: var(--accent); color: var(--ink);
  padding: 0.4rem 0.85rem; font-size: 0.85rem;
}
.btn-buy:hover { background: var(--accent-2); color: #fff; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  padding: 3rem 0;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { padding: 0.4rem 0; display: flex; gap: 1rem; align-items: baseline; }
.contact-label {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); min-width: 70px;
}
.hours-table { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours-table td { padding: 0.4rem 0.25rem; border-top: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-list a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem;
}
.social-list a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; padding: 2rem 0; }
}

/* ---------- booking form ---------- */
.book-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1.1fr;
  padding: 3rem 0;
  align-items: start;
}
.booking-form {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.field-wide { grid-column: 1 / -1; }
.field-label {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent-2);
}
.booking-form textarea { resize: vertical; min-height: 110px; }
.booking-form .btn-submit { grid-column: 1 / -1; }
.booking-form [aria-invalid="true"] { border-color: #c0392b; }
.fs-success {
  grid-column: 1 / -1;
  background: #eef7ee; color: #1f6d2c;
  border: 1px solid #cfe5d2;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
}
.fs-error { color: #c0392b; font-size: 0.85rem; min-height: 1em; }
.fs-error-form { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .book-grid { grid-template-columns: 1fr; padding: 2rem 0; }
  .booking-form { grid-template-columns: 1fr; padding: 1.25rem; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 0.9rem;
  text-align: center;
}
.footer-logo {
  height: 96px; width: auto; max-width: 320px;
  object-fit: contain; display: block;
}
.footer-tagline {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--accent-2);
  line-height: 1.1;
}
.footer-contact-links {
  list-style: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  margin: 0;
  background: rgba(253, 246, 240, 0.92);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(43, 43, 43, 0.07);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(43, 43, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-contact-links a:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.footer-dot { color: var(--gold); }
@media (max-width: 760px) {
  body { padding-bottom: 10.5rem; }
  .footer-logo { height: 78px; max-width: 240px; }
  .footer-contact-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  }
  .footer-contact-links li { width: min(100%, 340px); }
  .footer-contact-links a {
    justify-content: center;
    width: 100%;
    padding-inline: 0.72rem;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
    text-align: center;
  }
}
