/* mei skin studio — main stylesheet
   ───────────────────────────────────────────────────────────
   palette inspired by the mei skin logo:
   - warm cream background (matches logo paper tone)
   - dark warm brown text (matches the wordmark)
   - soft sage accent (echoes the botanical line illustration)
   - elegant high-contrast serif (Cormorant Garamond) for display
   ─────────────────────────────────────────────────────────── */

:root {
  /* palette */
  --bg:        #f5f0e8;      /* warm cream */
  --bg-2:      #ebe3d6;      /* deeper cream, cards & recess */
  --bg-3:      #e0d4be;      /* deepest, hover */
  --line:      #ddd1bc;      /* warm hairline */

  --fg:        #2d2622;      /* dark warm brown */
  --fg-2:      #5a4f47;      /* medium brown — body text */
  --fg-3:      #8a7e74;      /* light brown — labels, captions */

  --accent:        #7a8a6e;  /* soft sage — echoes the botanical leaves */
  --accent-soft:   #a8b29d;  /* lighter sage */
  --accent-deep:   #4f5e44;  /* deeper sage for emphasis */

  /* type — Fraunces is a modern variable serif with optical-size + softness axes,
     paired with DM Sans for a warmer-than-Inter body */
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --maxw:  1340px;
  --pad:   clamp(20px, 4vw, 50px);

  /* easing */
  --ease:      cubic-bezier(.2, .6, .2, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
}

/* reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, fieldset {
  margin: 0; padding: 0;
}
ul { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.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: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--fg); color: var(--bg); padding: .75rem 1rem;
  border-radius: 4px; z-index: 1000; transition: top .2s var(--ease);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* body ──────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* typography ────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--fg);
  margin-top: .6em;
  max-width: 20ch;
  /* Fraunces variable-font tuning: large optical size, slightly softer terminals */
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.section-title em,
.atmosphere-title em,
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

.section-lede {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin-top: 1.4em;
  max-width: 56ch;
  font-weight: 400;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  white-space: nowrap;
  font-family: var(--font-sans);
  transition: background .3s var(--ease),
              color .3s var(--ease),
              border-color .3s var(--ease),
              transform .4s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); }

.btn-pill {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--fg-3);
  border-radius: 999px;
  padding: 0 28px;
  height: 44px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.btn-pill:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.btn-block { width: 100%; justify-content: center; }

.link {
  display: inline-block;
  color: var(--fg);
  padding-bottom: 2px;
  position: relative;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--fg-3);
  transform-origin: left;
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.link:hover { color: var(--accent-deep); }
.link:hover::after { background: var(--accent-deep); }

/* header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  /* solid (not translucent) so mix-blend-mode on the logo composites
     cleanly against the cream rather than against a blurred page */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease);
}
.site-header.scrolled { border-color: var(--line); }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-inner .brand { margin-right: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 72px;
  width: auto;
  display: block;
  /* the logo jpg has a cream background — multiply blends it into the page
     so only the wordmark + leaf illustration remain visible */
  mix-blend-mode: darken;
}
.brand-word { display: none; }

.primary-nav ul {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.primary-nav a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.primary-nav a:hover { color: var(--accent-deep); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--accent-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  height: 38px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  color: var(--fg);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.book-btn:hover { background: var(--fg); color: var(--bg); }

/* nav toggle — three dots stacked vertically (no inline nav, this is the primary trigger) */
.nav-toggle {
  display: flex;
  width: 40px; height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  z-index: 110;
  transition: transform .3s var(--ease);
}
.nav-toggle:hover { transform: scale(1.08); }
.nav-toggle span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--fg);
  transition: transform .4s var(--ease-out), opacity .2s var(--ease), width .4s var(--ease-out), height .4s var(--ease-out), border-radius .3s var(--ease);
  position: relative;
}
.nav-toggle:hover span { background: var(--accent-deep); }
/* dots morph into an X when the overlay opens */
.nav-toggle[aria-expanded="true"] span {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--fg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
/* subtle hint label that appears under the X when the menu is open */
.nav-toggle::after {
  content: "close";
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--fg-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease) .2s;
  white-space: nowrap;
}
.nav-toggle[aria-expanded="true"]::after { opacity: 1; }

/* glass overlay nav — three-dots toggle opens this on every viewport.
   uses transform for the in/out animation (GPU-accelerated, works reliably on iOS Safari) */
.overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  /* frosted glass: translucent cream + backdrop blur of the page underneath */
  background: rgba(245, 240, 232, .72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transform: translateY(-100%);
  pointer-events: none;
  transition: transform .55s var(--ease-out);
  will-change: transform;
}
.overlay-nav[hidden] { display: flex; }
.overlay-nav.open {
  transform: translateY(0);
  pointer-events: auto;
}

.overlay-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--pad) 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* room to scroll if menu is taller than viewport (very small screens) */
  overflow-y: auto;
  overscroll-behavior: contain;
}

.overlay-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: auto 0;
  padding: 24px 0;
  align-items: flex-start;
}
.overlay-nav a {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.025em;
  color: var(--fg);
  padding: 6px 0;
  transition: color .3s var(--ease), transform .4s var(--ease-out);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  /* slide-in stagger when open */
  transform: translateY(20px);
  opacity: 0;
}
.overlay-nav.open a {
  transform: translateY(0);
  opacity: 1;
}
.overlay-nav.open li:nth-child(1) a { transition-delay: .12s; }
.overlay-nav.open li:nth-child(2) a { transition-delay: .18s; }
.overlay-nav.open li:nth-child(3) a { transition-delay: .24s; }
.overlay-nav.open li:nth-child(4) a { transition-delay: .30s; }
.overlay-nav.open li:nth-child(5) a { transition-delay: .36s; }
.overlay-nav.open li:nth-child(6) a { transition-delay: .42s; }
.overlay-nav.open li:nth-child(7) a { transition-delay: .50s; }

.overlay-nav a span {
  display: inline-block;
  position: relative;
}
.overlay-nav a span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.overlay-nav a:hover span::after { transform: scaleX(1); }
.overlay-nav a:hover { color: var(--accent-deep); }

.overlay-nav a.overlay-book em {
  font-style: italic;
  color: var(--accent-deep);
}
.overlay-nav a.overlay-book {
  margin-top: 16px;
}

.overlay-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 32px;
  border-top: 1px solid rgba(45, 38, 34, .12);
  font-weight: 500;
  font-family: var(--font-sans);
  flex-wrap: wrap;
}

/* hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-img {
  /* blank cream block — image slot */
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 42vw;
  height: 80vh;
  max-height: 800px;
  background: var(--bg-2);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 35%, transparent 60%);
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--fg);
  margin: .35em 0 .55em;
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 44ch;
}

.hero-ctas {
  margin-top: 2.5em;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-3);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--fg-3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 30%;
  background: var(--accent-deep);
  animation: scroll-dot 2.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(330%); }
  100% { transform: translateY(330%); }
}

@media (max-width: 767px) { .scroll-cue { display: none; } }

/* philosophy section ───────────────────────────────────── */
.philosophy {
  padding: clamp(100px, 16vh, 180px) 0;
  border-top: 1px solid var(--line);
}
.triad {
  margin-top: clamp(60px, 8vh, 100px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.triad-card {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  transition: border-color .35s var(--ease);
}
.triad-card:hover { border-color: var(--accent); }
.triad-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent-deep);
  margin-bottom: 28px;
}
.triad-card h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  color: var(--fg);
}
.triad-card h3 em { font-style: italic; color: var(--accent-deep); }
.triad-card p { color: var(--fg-2); font-size: 15px; line-height: 1.6; max-width: 32ch; }

@media (max-width: 991px) {
  .triad { grid-template-columns: 1fr; gap: 32px; }
}

/* experience split ──────────────────────────────────────── */
.experience-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: min(780px, 80vh);
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.exp-img {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  min-height: 60vh;
}
.exp-text {
  padding: clamp(60px, 10vh, 130px) clamp(28px, 6vw, 90px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.exp-text p { color: var(--fg-2); max-width: 52ch; font-size: 16px; line-height: 1.65; }
.exp-text .btn { align-self: flex-start; margin-top: 16px; }

@media (max-width: 991px) {
  .experience-split { grid-template-columns: 1fr; }
  .exp-img { min-height: 50vh; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* menu ─────────────────────────────────────────────────── */
.menu {
  padding: clamp(100px, 16vh, 180px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.menu-grid {
  margin-top: clamp(50px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}
.menu-card {
  background: transparent;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  transition: border-color .35s var(--ease);
}
.menu-card:hover { border-color: var(--accent); }
.menu-card-img {
  height: 280px;
  background: var(--bg);
  margin-bottom: 24px;
  overflow: hidden;
}
.menu-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.menu-card-body h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.005em;
  color: var(--fg);
}
.menu-card-meta {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  white-space: nowrap;
}
.menu-card-body p { color: var(--fg-2); font-size: 15px; line-height: 1.6; }

.menu-footnote {
  margin-top: clamp(50px, 8vh, 90px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.menu-footnote p { color: var(--fg-2); max-width: 52ch; font-size: 15px; }

@media (max-width: 1024px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .menu-grid { grid-template-columns: 1fr; } }

/* atmosphere ───────────────────────────────────────────── */
.atmosphere {
  position: relative;
  padding: clamp(140px, 24vh, 260px) 0;
  overflow: hidden;
  isolation: isolate;
}
.atmosphere-img {
  position: absolute; inset: 0;
  z-index: -2;
  background: var(--bg-2);
}
.atmosphere-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(245,240,232,.5), rgba(245,240,232,.85));
}
.atmosphere-inner {
  position: relative;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.atmosphere-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: .65em;
  color: var(--fg);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.atmosphere-title em { font-style: italic; color: var(--accent-deep); }
.atmosphere-title span { display: block; }
.atmosphere-inner p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 55ch;
  margin: 0 auto;
}

/* testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: clamp(100px, 16vh, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.reflections {
  margin-top: clamp(50px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.reflection {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color .35s var(--ease);
}
.reflection:hover { border-color: var(--accent); }
.reflection blockquote {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}
.reflection figcaption {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}

@media (max-width: 1024px) { .reflections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .reflections { grid-template-columns: 1fr; gap: 32px; } }

/* locations ───────────────────────────────────────────── */
.locations {
  padding: clamp(100px, 16vh, 180px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.loc-grid {
  margin-top: clamp(50px, 7vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 32px;
}
.loc-card {
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .35s var(--ease);
}
.loc-card:hover { background: var(--bg-3); }
.loc-img {
  height: 360px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.loc-body {
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.loc-city-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  height: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1.5px solid var(--accent-deep);
  border-radius: 999px;
  background: transparent;
}

.loc-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -.015em;
  color: var(--fg);
}
.loc-body h3 em { font-style: italic; color: var(--accent-deep); }
.loc-address {
  color: var(--fg-2);
  line-height: 1.6;
  font-size: 15px;
}
.loc-hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 28px;
  row-gap: 10px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 6px 0 4px;
}
.loc-hours dt { color: var(--fg-3); text-transform: uppercase; letter-spacing: .15em; font-weight: 600; font-size: 11px; }
.loc-hours dd { color: var(--fg); }
.loc-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.hours-line {
  margin-top: clamp(40px, 6vh, 60px);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: center;
  font-weight: 600;
}
.hours-line a { color: var(--fg-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.hours-line a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

@media (max-width: 991px) { .loc-grid { grid-template-columns: 1fr; } }

/* newsletter ──────────────────────────────────────────── */
.newsletter {
  padding: clamp(100px, 16vh, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.newsletter-text p { color: var(--fg-2); margin-top: 1.4em; max-width: 44ch; font-size: 16px; line-height: 1.6; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 4px;
  border: 1px solid var(--line);
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
  color: var(--fg);
  font-size: 16px;
  transition: border-color .25s var(--ease);
}
.newsletter-form input::placeholder { color: var(--fg-3); }
.newsletter-form input:focus { border-color: var(--accent-deep); outline: none; }

.loc-pick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.loc-pick legend {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
  width: 100%;
  font-weight: 600;
}
.loc-pick label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--fg-2);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.loc-pick label:hover { border-color: var(--fg-3); color: var(--fg); }
.loc-pick input { accent-color: var(--accent-deep); }
.loc-pick label:has(input:checked) {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: rgba(122, 138, 110, .08);
}

.form-msg { font-size: 14px; color: var(--accent-deep); margin-top: 4px; }

@media (max-width: 991px) {
  .newsletter-grid { grid-template-columns: 1fr; }
}

/* footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  color: var(--fg-2);
  padding: clamp(60px, 10vh, 100px) 0 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr .6fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(50px, 8vh, 80px);
}
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.footer-brand .brand img { height: 96px; }

.footer-nav h4,
.footer-social h4 {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-nav ul,
.footer-social ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a,
.footer-social a {
  font-size: 14px;
  color: var(--fg-2);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer-nav a:hover,
.footer-social a:hover { color: var(--accent-deep); padding-left: 4px; }

.footer-social ul {
  flex-direction: row;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1.5px solid var(--fg-3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 0 !important;
}
.footer-social a:hover { border-color: var(--accent-deep); color: var(--accent-deep); padding-left: 0; }

.footer-base {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-2);
}
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}
.footer-base small a { color: var(--fg-3); }
.footer-base small a:hover { color: var(--accent-deep); }
.mock-tag {
  color: var(--fg-3);
  font-style: italic;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 400;
  font-family: var(--font-serif);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand, .footer-social { grid-column: 1 / -1; }
}

/* scroll-reveal — only hide if JS is active */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-line::after { animation: none; }
}

/* responsive — tablet & below ────────────────────────── */
@media (max-width: 991px) {
  .book-btn { display: none; }
  .hero-img { width: 100%; opacity: .4; }
  .hero-vignette { background: linear-gradient(180deg, var(--bg) 30%, transparent 50%, var(--bg) 90%); }
}

@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand img { height: 52px; }

  .hero { padding: 110px 0 80px; }
  .hero-title { font-size: clamp(40px, 12vw, 60px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .section-title { font-size: clamp(34px, 10vw, 48px); }
  .atmosphere-title { font-size: clamp(40px, 12vw, 64px); }
  .reflection blockquote { font-size: 19px; }

  .menu-card-img { height: 220px; }
  .menu-card-body h3 { font-size: 26px; }
  .menu-card-head { flex-direction: column; gap: 6px; align-items: flex-start; }

  .loc-img { height: 240px; }
  .loc-body { padding: 32px 28px 36px; }
  .loc-ctas { flex-direction: column; align-items: stretch; }
  .loc-ctas .btn { width: 100%; justify-content: center; }
  .loc-ctas .btn-pill { padding: 0 32px; }

  .menu-footnote { flex-direction: column; align-items: stretch; }
  .menu-footnote .btn { width: 100%; justify-content: center; }

  .triad-card h3 { font-size: 28px; }
  .exp-text { padding: 60px 28px 70px; }
}

@media (min-width: 1600px) { :root { --pad: 80px; } }

body.nav-open { overflow: hidden; }

/* when the overlay is open, raise the header above it so the X (and logo) stay visible.
   the header itself goes transparent so the overlay's cream-glass shows through. */
body.nav-open .site-header {
  z-index: 106;
  background: transparent;
  border-bottom-color: transparent;
}
body.nav-open .book-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
