/* style.css — Liza G. | design tokens + components
   Concept: quiet luxury for a boutique colorist — warm ivory & espresso surfaces,
   a rose-gold accent lifted from Liza's own live logo, an elegant serif display
   paired with a refined grotesque body face. */

@import url('https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root, [data-theme='light'] {
  /* Surfaces — warm ivory / champagne */
  --color-bg: #faf6f1;
  --color-surface: #ffffff;
  --color-surface-2: #fffdfb;
  --color-surface-offset: #f2e9de;
  --color-surface-offset-2: #eaddcc;
  --color-divider: #e3d5c2;
  --color-border: #d8c5aa;

  /* Text — soft espresso */
  --color-text: #241d17;
  --color-text-muted: #6f6153;
  --color-text-faint: #a99b89;
  --color-text-inverse: #faf6f1;

  /* Primary accent — rose-gold, lifted from the live brand mark */
  --color-primary: #a5714f;
  --color-primary-hover: #895b3d;
  --color-primary-active: #6d4830;
  --color-primary-highlight: #ecdbc9;

  --color-success: #4c7a4f;
  --color-success-highlight: #dbe6da;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 45 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.25 0.02 45 / 0.10);
  --shadow-lg: 0 20px 48px oklch(0.25 0.02 45 / 0.16);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1220px;
  --content-full: 100%;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Switzer', 'Work Sans', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1a1512;
  --color-surface: #211a15;
  --color-surface-2: #261e18;
  --color-surface-offset: #2b2119;
  --color-surface-offset-2: #35281d;
  --color-divider: #3c2f23;
  --color-border: #4a3a2b;
  --color-text: #efe6da;
  --color-text-muted: #baa892;
  --color-text-faint: #816e5b;
  --color-text-inverse: #221a14;
  --color-primary: #dcaa7d;
  --color-primary-hover: #e7bd97;
  --color-primary-active: #f0cdae;
  --color-primary-highlight: #3d2f22;
  --color-success: #8fbb8f;
  --color-success-highlight: #263424;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
}

/* Fluid type scale */
:root {
  --text-xs: clamp(0.75rem, 0.71rem + 0.2vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 0.975rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.6vw, 4.6rem);
  --text-hero: clamp(2.75rem, 1.2rem + 5.5vw, 6.4rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-5), 5vw, var(--space-12)); }
.wrap-narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section-tight { padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }

main { display: block; overflow-x: clip; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
}
.header--hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-3); }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.brand img { width: 40px; height: 40px; border-radius: var(--radius-full); }
.brand-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.brand-name span { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav-links { display: flex; gap: var(--space-6); list-style: none; }
.nav-links a { color: var(--color-text-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em; padding-block: var(--space-2); border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-text); border-bottom-color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-full); color: var(--color-text-muted); }
.icon-btn:hover { background: var(--color-surface-offset); color: var(--color-text); }

.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-book-label { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 90; background: color-mix(in oklab, var(--color-bg) 97%, transparent);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: var(--space-6);
  transform: translateY(-100%); opacity: 0; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.35s;
  pointer-events: none;
}
.mobile-drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-10); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: var(--space-6); }
.mobile-drawer nav a { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; text-decoration: none;
  white-space: nowrap; border: 1px solid transparent; }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost { background: transparent; color: var(--color-text-muted); padding-inline: var(--space-3); }
.btn-ghost:hover { color: var(--color-text); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ---------- Type ---------- */
.eyebrow { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-primary); font-weight: 600; }
h1, .h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); }
h2, .h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); }
h3, .h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.lede { font-size: var(--text-lg); color: var(--color-text-muted); font-weight: 400; }
.text-muted { color: var(--color-text-muted); }
.text-faint { color: var(--color-text-faint); }
.serif-quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); line-height: 1.35; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-12), 8vw, var(--space-24)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.hero-copy h1 { font-size: var(--text-hero); margin-bottom: var(--space-6); }
.hero-copy .lede { max-width: 46ch; margin-bottom: var(--space-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-8); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); }
.hero-meta strong { color: var(--color-text); font-family: var(--font-display); font-size: var(--text-lg); display: block; }
.hero-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-tag { position: absolute; left: var(--space-5); bottom: var(--space-5); background: color-mix(in oklab, var(--color-surface) 88%, transparent); backdrop-filter: blur(8px); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); box-shadow: var(--shadow-md); }
.hero-media-tag .stars { color: var(--color-primary); letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 5/4; order: -1; }
}

/* ---------- Marquee strip ---------- */
.marquee { border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); background: var(--color-surface-offset); overflow: hidden; }
.marquee-track { display: flex; gap: var(--space-16); padding-block: var(--space-4); white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-display); font-size: var(--text-base); color: var(--color-text-muted); letter-spacing: 0.02em; }
.marquee-track span em { color: var(--color-primary); font-style: normal; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: var(--space-8); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); }
.card:hover { box-shadow: var(--shadow-md); }

.section-head { max-width: 640px; margin-bottom: clamp(var(--space-8), 5vw, var(--space-12)); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: var(--space-3); }

/* Feature (image + text) rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: center; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .feature-row, .feature-row.reverse .feature-media { grid-template-columns: 1fr; order: -1; } }

/* Service list */
.service-group { border-bottom: 1px solid var(--color-divider); padding-block: var(--space-10); }
.service-group:first-of-type { padding-top: 0; }
.service-group:last-of-type { border-bottom: none; }
.service-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.service-item { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-top: 1px dashed var(--color-divider); }
.service-item:first-of-type { border-top: none; }
.service-name { font-weight: 600; }
.service-desc { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-1); max-width: 52ch; }
.service-price { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); white-space: nowrap; text-align: right; flex-shrink: 0; }

/* Focus list (editorial numbered rows, avoids generic 3-card grid) */
.service-focus-list { display: flex; flex-direction: column; }
.service-focus-row { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-6); align-items: baseline; padding-block: var(--space-8); border-top: 1px solid var(--color-divider); }
.service-focus-row:first-child { border-top: none; }
.service-focus-num { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); color: var(--color-primary); opacity: 0.55; }
@media (max-width: 620px) { .service-focus-row { grid-template-columns: 56px 1fr; } .service-focus-num { font-size: var(--text-xl); } }

/* Testimonial */
.testimonial { background: var(--color-surface-offset); border-radius: var(--radius-xl); padding: clamp(var(--space-8), 6vw, var(--space-16)); text-align: center; }
.testimonial .stars { color: var(--color-primary); font-size: var(--text-lg); margin-bottom: var(--space-5); letter-spacing: 0.1em; }
.testimonial-name { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); }

/* Gallery grid */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.photo-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-sm); position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.photo-grid a:hover img { transform: scale(1.06); }
@media (max-width: 980px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: color-mix(in oklab, black 82%, transparent); display: none; align-items: center; justify-content: center; padding: var(--space-6); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 84vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: var(--space-6); right: var(--space-6); color: #fff; width: 44px; height: 44px; border-radius: var(--radius-full); background: color-mix(in oklab, white 15%, transparent); display: flex; align-items: center; justify-content: center; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item:first-child { border-top: 1px solid var(--color-divider); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-6); text-align: left; font-family: var(--font-display); font-size: var(--text-lg); }
.faq-q .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--radius-full); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; transition: transform var(--transition-interactive); }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); border-color: var(--color-primary); color: var(--color-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1); }
.faq-a p { padding-bottom: var(--space-6); color: var(--color-text-muted); max-width: 68ch; }

/* Promo banner */
.promo-bar { background: var(--color-primary); color: var(--color-text-inverse); text-align: center; font-size: var(--text-sm); font-weight: 500; padding-block: var(--space-2); }
.promo-bar a { color: var(--color-text-inverse); text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--color-divider); background: var(--color-surface-offset); padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); text-decoration: none; color: var(--color-text); }
.footer-brand img { width: 36px; height: 36px; border-radius: var(--radius-full); }
.footer h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer a { color: var(--color-text-muted); text-decoration: none; font-size: var(--text-sm); }
.footer a:hover { color: var(--color-primary); }
.footer-bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); }
.social-row { display: flex; gap: var(--space-3); }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.social-row a:hover { color: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Sticky mobile book bar */
.sticky-book { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: var(--color-surface); border-top: 1px solid var(--color-divider); padding: var(--space-3) var(--space-5); display: none; align-items: center; justify-content: space-between; gap: var(--space-3); box-shadow: 0 -4px 20px oklch(0.2 0.02 40 / 0.08); }
@media (max-width: 640px) { .sticky-book { display: flex; } body { padding-bottom: 76px; } }
.sticky-book .btn { flex: 1; }
.sticky-book a.icon-btn { border: 1px solid var(--color-border); }

/* Small helpers */
.pill { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--color-primary-highlight); color: var(--color-primary); border-radius: var(--radius-full); padding: var(--space-1) var(--space-3); font-size: var(--text-xs); font-weight: 600; }
.divider { height: 1px; background: var(--color-divider); border: none; }
.center { text-align: center; }

/* ---------- Gallery categories ---------- */
.gallery-nav { position: sticky; top: 76px; z-index: 20; background: color-mix(in oklab, var(--color-bg) 92%, transparent); backdrop-filter: blur(8px); border-block: 1px solid var(--color-divider, rgba(0,0,0,.08)); margin-top: var(--space-10); }
.gallery-nav .wrap { display: flex; gap: var(--space-2); overflow-x: auto; padding-block: var(--space-3); scrollbar-width: none; justify-content: center; }
.gallery-nav .wrap::-webkit-scrollbar { display: none; }
.gallery-nav .chip { flex: none; padding: 0.5rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--color-border, rgba(0,0,0,.14)); font-size: var(--text-sm); color: var(--color-text); text-decoration: none; transition: background .2s, color .2s; white-space: nowrap; }
.gallery-nav .chip:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.gallery-group { scroll-margin-top: 140px; }
.gallery-group + .gallery-group { margin-top: var(--space-16); }
.gallery-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider, rgba(0,0,0,.08)); }
.gallery-group-head h2 { font-size: var(--text-xl); margin: 0; }
.gallery-group-head p { margin: 0; max-width: 46ch; color: var(--color-text-muted); font-size: var(--text-sm); }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 620px) { .photo-grid--3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); } .gallery-nav .wrap { justify-content: flex-start; } .gallery-group + .gallery-group { margin-top: var(--space-12); } }
@media (max-width: 620px) { .gallery-nav { top: 65px; } }
.gallery-nav { transition: top 0.3s cubic-bezier(0.16,1,0.3,1); }
body:has(.header--hidden) .gallery-nav { top: 0; }
@media (max-width: 620px) {
  .photo-grid--3 a:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .photo-grid--3 a:first-child:nth-last-child(odd) img { object-position: center 30%; }
}
