/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Stone palette (Tailwind parity) ── */
:root {
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --header-h: 64px;
  --max-w: 1280px;
  --section-px: clamp(1.25rem, 5vw, 3rem);
  --section-py: 6rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--stone-900);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Typography ── */
.serif { font-family: var(--font-serif); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.15; }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--section-px); }
.section { padding-block: var(--section-py); }
.section--dark { background: var(--stone-900); color: var(--white); }
.section--soft { background: var(--stone-50); }

.label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 1rem;
  display: block;
}
.label--light { color: var(--stone-500); }

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-family: var(--font-serif);
  font-weight: 300;
  margin-bottom: 4rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  transition: background 0.2s, color 0.2s;
}
.btn--dark {
  background: var(--stone-900);
  color: var(--white);
}
.btn--dark:hover { background: var(--stone-700); }

.btn--outline-white {
  border: 1px solid var(--white);
  color: var(--white);
}
.btn--outline-white:hover { background: var(--white); color: var(--stone-900); }

/* ── Placeholder image boxes ── */
.placeholder-img {
  background: var(--stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-400);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-logo img { height: 40px; width: auto; object-fit: contain; }
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .header-logo img { height: 64px; }
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--stone-700);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--stone-900); }

/* Right controls */
.header-controls { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone-500);
  transition: color 0.2s;
}
.lang-toggle:hover { color: var(--stone-900); }

.book-btn-header {
  display: none;
}
@media (min-width: 1024px) {
  .book-btn-header { display: inline-block; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 28px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--stone-900);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  padding: 2rem var(--section-px);
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--stone-800);
}
.mobile-menu a:hover { color: var(--stone-900); }
.mobile-menu .book-btn-mobile {
  margin-top: 1rem;
  text-align: center;
}
.mobile-menu .book-btn-mobile .btn--dark { color: var(--white); }

/* ── Main content offset ── */
main { flex: 1; padding-top: var(--header-h); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone-900);
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-inline: var(--section-px);
}
.hero-logo {
  width: 240px;
  height: auto;
  filter: invert(1);
  opacity: 0.9;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-300);
}

/* ════════════════════════════════
   ABOUT (home)
════════════════════════════════ */
.about-grid {
  display: grid;
  gap: 4rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-text-block { display: flex; flex-direction: column; gap: 2rem; }
.about-text-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.about-text-block p {
  color: var(--stone-600);
  line-height: 1.75;
}
.about-text-block p.muted { color: var(--stone-400); font-style: italic; }
.about-photo-col { display: flex; flex-direction: column; gap: 1.5rem; }
.about-photo { width: 100%; aspect-ratio: 3/4; }
.about-intro { color: var(--stone-400); font-style: italic; font-size: 0.9rem; line-height: 1.75; }

/* ── About section (home) updates ── */
.about-intro {
  max-width: 780px;
  color: var(--stone-600);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.about-coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-500);
  border-left: 2px solid var(--stone-300);
  padding-left: 0.875rem;
  margin-bottom: 3.5rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--stone-200);
  border: 1px solid var(--stone-200);
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .about-pillars { grid-template-columns: 1fr 1fr; }
}
.pillar-card {
  background: var(--white);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--stone-900);
}
.pillar-card p {
  font-size: 0.875rem;
  color: var(--stone-500);
  line-height: 1.75;
}
.about-philosophy {
  border-top: 1px solid var(--stone-200);
  padding-top: 3rem;
  max-width: 680px;
}
.about-philosophy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--stone-800);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.about-philosophy p {
  color: var(--stone-500);
  line-height: 1.85;
  font-size: 0.9375rem;
}

/* ════════════════════════════════
   SERVICES PREVIEW (home)
════════════════════════════════ */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.services-header .section-title { margin-bottom: 0; }
.view-all-link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  border-bottom: 1px solid var(--stone-300);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.view-all-link:hover { color: var(--stone-900); }

.services-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--stone-200);
}
.service-card .num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--stone-300);
}
.service-card h3 { font-size: 1.4rem; }
.service-card p { font-size: 0.85rem; color: var(--stone-500); line-height: 1.7; }

/* ════════════════════════════════
   GALLERY PREVIEW (home)
════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid .placeholder-img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-grid img { object-fit: cover; display: block; }

/* Grayscale-to-color hover effect only on devices with a real cursor (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .gallery-grid .placeholder-img,
  .gallery-grid img {
    filter: grayscale(100%);
    transition: filter 0.15s ease;
  }
  .gallery-grid .placeholder-img:hover,
  .gallery-grid img:hover {
    filter: grayscale(0%);
  }
}

/* ════════════════════════════════
   CTA SECTION
════════════════════════════════ */
.cta-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
.cta-section .sub { color: var(--stone-400); letter-spacing: 0.08em; }

/* ════════════════════════════════
   STAFF PAGE
════════════════════════════════ */
.staff-grid {
  display: grid;
  gap: 4rem;
  margin-top: 4rem;
}
@media (min-width: 768px) { .staff-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.staff-card { display: flex; flex-direction: column; gap: 1rem; }
.staff-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; cursor: pointer; }

/* Grayscale-to-color hover effect only on devices with a real cursor (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .staff-photo {
    filter: grayscale(100%);
    transition: filter 0.15s ease;
  }
  .staff-photo:hover {
    filter: grayscale(0%);
  }
}
.staff-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; }
.staff-title { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone-400); }
.staff-bio { display: flex; flex-direction: column; gap: 0.75rem; }
.staff-bio p { font-size: 0.9rem; color: var(--stone-500); line-height: 1.8; }

/* ════════════════════════════════
   SERVICES PAGE
════════════════════════════════ */
.services-page-sub {
  color: var(--stone-500);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 3rem;
}
.services-categories { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) {
  .services-categories, .services-note { max-width: 800px; margin-inline: auto; }
}
.services-category h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}
.category-note {
  font-size: 0.78rem;
  color: var(--stone-400);
  font-style: italic;
  margin-bottom: 1rem;
}
.item-subheader {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--stone-600);
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--stone-100);
}
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--stone-100);
  font-size: 0.9rem;
}
.service-item .price { color: var(--stone-500); white-space: nowrap; }
.services-note {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--stone-400);
  font-style: italic;
}

/* ════════════════════════════════
   GALLERY PAGE
════════════════════════════════ */
.gallery-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 3rem;
}
@media (min-width: 480px) { .gallery-page-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .gallery-page-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-page-grid .placeholder-img,
.gallery-page-grid img {
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-page-grid img { object-fit: cover; display: block; }

/* Grayscale-to-color hover effect only on devices with a real cursor (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .gallery-page-grid .placeholder-img,
  .gallery-page-grid img {
    filter: grayscale(100%);
    transition: filter 0.15s ease;
  }
  .gallery-page-grid .placeholder-img:hover,
  .gallery-page-grid img:hover {
    filter: grayscale(0%);
  }
}

/* ════════════════════════════════
   GETTING HERE PAGE
════════════════════════════════ */
.getting-here-layout {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .getting-here-layout { grid-template-columns: 1fr 1fr; } }

.info-block { display: flex; flex-direction: column; gap: 2rem; }
.info-group h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.5rem;
}
.info-group p, .info-group address {
  font-style: normal;
  color: var(--stone-700);
  line-height: 1.7;
  font-size: 0.95rem;
}
.address-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--stone-300);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.address-link:hover { color: var(--stone-900); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding-block: 0.35rem;
  font-size: 0.9rem;
  color: var(--stone-700);
}
.hours-table td:last-child { text-align: right; color: var(--stone-500); }

.parking-trigger {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stone-700);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--stone-300);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
}
.parking-trigger:hover { color: var(--stone-900); }

.map-block { display: flex; flex-direction: column; gap: 1rem; }
.map-iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: none;
}

/* ── Parking lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.8);
}
.lightbox-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  background: var(--white);
  padding: 2.5rem 1rem 1rem;
}
.lightbox-content img { width: 100%; height: auto; display: block; }
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: var(--stone-900);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */
.contact-layout {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 640px;
  margin-inline: auto;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.direct-email {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--stone-500);
}
.direct-email a { color: var(--stone-700); text-decoration: underline; text-underline-offset: 3px; }
.direct-email a:hover { color: var(--stone-900); }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--stone-900);
  background: var(--white);
  border: 1px solid var(--stone-200);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--stone-500); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  background: var(--stone-900);
  color: var(--white);
  padding-block: 3rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; }
.footer-logo { height: 112px; width: auto; align-self: center; filter: invert(1); opacity: 0.85; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

@media (min-width: 640px) {
  .footer-brand { align-items: flex-start; width: auto; }
  .footer-logo { align-self: flex-start; }
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--stone-400);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--stone-800);
  font-size: 0.75rem;
  color: var(--stone-600);
}

/* ════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════ */
.page-hero {
  background: var(--stone-900);
  color: var(--white);
  padding-block: 5rem 4rem;
  text-align: center;
}
.page-hero .label { color: var(--stone-500); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
.page-hero .sub { color: var(--stone-400); line-height: 1.7; max-width: 560px; margin-inline: auto; font-size: 0.95rem; }

/* ════════════════════════════════
   MOBILE SPACING (tighten only below tablet)
════════════════════════════════ */
@media (max-width: 767px) {
  :root { --section-py: 3.5rem; }
  .page-hero { padding-block: 3rem 2.5rem; }
  .section-title { margin-bottom: 2.5rem; }
  .hero-content { gap: 1.5rem; }

  .about-grid { gap: 2.5rem; margin-top: 2.5rem; }
  .about-coming-soon { margin-bottom: 2rem; }
  .about-pillars { margin-bottom: 2.5rem; }
  .pillar-card { padding: 1.5rem; }
  .about-philosophy { padding-top: 2rem; }

  .services-header { margin-bottom: 2rem; }
  .services-page-sub { margin-bottom: 2rem; }
  .services-categories { gap: 2rem; }

  .staff-grid { gap: 2.5rem; margin-top: 2.5rem; }

  .gallery-page-grid { margin-top: 2rem; }

  .getting-here-layout { gap: 2rem; margin-top: 2rem; }

  .contact-layout { gap: 2rem; margin-top: 2rem; }
}
