/* ============ TOKENS ============ */
:root {
  --bg: #0A0A0A;
  --bg-alt: #171411;
  --card: #1A1A1A;
  --border: #262626;
  --text: #F7F5F0;
  --muted: #A1A1AA;
  --gold: #C5A059;
  --gold-soft: rgba(197, 160, 89, 0.14);
  --gold-glow: rgba(197, 160, 89, 0.35);

  --font-serif: 'Gilda Display', Georgia, serif;
  --font-sans: 'Clash Grotesk', -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --section-pad-y: 100px;
}

@media (max-width: 960px) {
  :root { --section-pad-y: 64px; }
}
@media (max-width: 560px) {
  :root { --section-pad-y: 48px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-sans); letter-spacing: 0.02em; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1.15;
}

section { position: relative; padding: var(--section-pad-y) 6vw; background: var(--bg); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-sub { color: var(--muted); font-size: 17px; }

/* ============ REVEAL ANIMATION ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-solid-gold {
  background: var(--gold);
  color: #0A0A0A;
}
.btn-solid-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--gold-glow);
}
.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-soft); }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-glass {
  background: rgba(247, 245, 240, 0.05);
  border: 1px solid rgba(247, 245, 240, 0.18);
  backdrop-filter: blur(10px);
  color: var(--text);
}
.btn-glass:hover {
  background: rgba(247, 245, 240, 0.1);
  border-color: rgba(247, 245, 240, 0.35);
}
.btn-white {
  background: var(--text);
  color: var(--bg);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(247, 245, 240, 0.25);
}
.btn-full { width: 100%; margin-top: 28px; padding: 18px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============ NAV ============ */
.nav-group { display: flex; align-items: center; gap: 28px; }
.nav-group a {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.3s var(--ease);
}
.nav-group a:hover { opacity: 1; }
.nav-pill {
  background: var(--text);
  color: var(--bg) !important;
  opacity: 1 !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-burger span { width: 22px; height: 1px; background: var(--text); }
.nav-brand {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}
.nav-brand img { height: 92px; width: auto; display: block; }

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 6vw;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}
.site-nav.scrolled { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* ============ HERO ============ */
.hero-wrap { padding: 0; }
.hero-frame {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(10%) contrast(1.05) brightness(0.85);
  transform: scale(1.08);
  transition: transform 8s var(--ease);
}
.hero-frame.loaded .hero-bg img { transform: scale(1); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.15) 25%, rgba(10,10,10,0.35) 65%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.1) 35%, rgba(10,10,10,0.1) 65%, rgba(10,10,10,0.45) 100%);
}

.hero-nav {
  position: absolute;
  top: 28px; left: 32px; right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
}
.hero-word {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-sub {
  color: rgba(247,245,240,0.75);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0 auto;
}
.hero-center .cta-row { margin-top: 36px; }

.hero-br {
  position: absolute;
  right: 32px; bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.scroll-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(247,245,240,0.2);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  animation: bounceCue 2.2s ease-in-out infinite;
}
.scroll-circle svg { width: 18px; height: 18px; }
@keyframes bounceCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============ CREDENTIAL BAR ============ */
.credential-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.credential-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.badge { text-align: center; flex: 1; min-width: 180px; }
.badge-icon {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.badge-icon svg { width: 19px; height: 19px; }
.badge-title { font-size: 15px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 6px; }
.badge-sub { font-size: 11px; color: var(--muted); }
.badge-divider { width: 1px; height: 32px; background: var(--border); }

/* ============ SERVICES ============ */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.card-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.service-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 16px; max-width: 85%; }
.card-tag { color: var(--gold); font-size: 11px; display: block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.card-desc { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.card-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.card-link span { transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ============ POSITIONING MATRIX ============ */
.matrix { background: var(--bg-alt); }
.matrix-columns {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.matrix-col-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.matrix-col-header-highlight {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.matrix-brand-icon { width: 16px; height: 16px; }
.matrix-col-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.matrix-col-highlight .matrix-col-body {
  background: linear-gradient(180deg, rgba(197,160,89,0.12), rgba(197,160,89,0.04));
  border-color: var(--gold-soft);
}
.matrix-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text);
}
.matrix-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  line-height: 1;
}
.matrix-icon-x { background: rgba(166, 92, 72, 0.16); color: #C97B62; }
.matrix-icon-check { background: rgba(197, 160, 89, 0.22); color: var(--gold); }
.matrix-col:not(.matrix-col-highlight) .matrix-row span:last-child { color: var(--muted); }

/* ============ MOAT (interactive spotlight rows) ============ */
.moat-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.moat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 28px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: padding 0.4s var(--ease);
}
.moat-row:hover { padding-left: 40px; }
.moat-row-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(197,160,89,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.moat-row:hover .moat-row-spot { opacity: 1; }
.moat-icon {
  position: relative;
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.moat-icon svg { width: 26px; height: 26px; }
.moat-row:hover .moat-icon {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.08) rotate(-8deg);
}
.moat-row-text { position: relative; flex: 1; min-width: 0; }
.moat-row-text h3 { font-size: 24px; margin-bottom: 8px; transition: color 0.4s var(--ease); }
.moat-row:hover .moat-row-text h3 { color: var(--gold); }
.moat-row-text p { color: var(--muted); font-size: 15px; max-width: 640px; }
.moat-row-num {
  position: relative;
  font-family: var(--font-serif);
  font-size: 40px;
  color: rgba(247,245,240,0.1);
  flex-shrink: 0;
  transition: color 0.4s var(--ease);
}
.moat-row:hover .moat-row-num { color: rgba(197,160,89,0.35); }

/* ============ GALLERY / TABS ============ */
.gallery { background: var(--bg-alt); }
.tabs {
  position: relative;
  display: flex;
  width: fit-content;
  gap: 4px;
  justify-content: center;
  margin: 0 auto 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
}
.tabs-slider {
  position: absolute;
  top: 6px; bottom: 6px;
  border-radius: 999px;
  background: var(--gold);
  transition: left 0.4s var(--ease), width 0.4s var(--ease);
  z-index: 0;
}
.tab-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.tab-btn.active { color: var(--bg); font-weight: 600; }
.tab-panel {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.6s var(--ease);
}
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Plated Aesthetics continuous marquee ---- */
.image-marquee {
  overflow: hidden;
  max-width: 1320px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.image-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.image-marquee:hover .image-marquee-track { animation-play-state: paused; }
.marquee-card {
  flex: 0 0 340px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.marquee-card img { width: 100%; height: 100%; object-fit: cover; }
.marquee-card img.glass-shot-img { filter: brightness(0.62) contrast(1.15) saturate(0.9) sepia(0.12); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-340px * 4 - 24px * 4)); }
}

/* ---- Clinical Sample Menu carousel ---- */
.menu-carousel { max-width: 1180px; margin: 0 auto; }
.menu-carousel-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: none;
}
.menu-carousel-track::-webkit-scrollbar { display: none; }
.menu-dish-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.menu-dish-card:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.menu-dish-media { position: relative; aspect-ratio: 4/3; }
.menu-dish-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.8);
}
.menu-dish-media img.dessert-img { filter: brightness(0.68) contrast(1.1); }
.menu-course-num {
  position: absolute;
  top: 14px; left: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(4px);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.menu-dish-body { padding: 24px; }
.menu-dish-body h4 { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.menu-course-desc { color: var(--muted); font-size: 13.5px; font-style: italic; margin-bottom: 16px; }
.menu-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-spec-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 6px 13px;
}
/* ============ DISCRETION ============ */
.discretion-stage {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 16px;
  overflow: hidden;
}
.discretion-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.discretion-bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
}
.discretion-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.45), rgba(10,10,10,0.6));
}

.discretion-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.discretion-card {
  position: relative;
  aspect-ratio: 1 / 1.15;
  padding: 32px;
  background: rgba(15, 15, 15, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.discretion-card.card-down { margin-top: 57.5%; }
.discretion-card-top {
  position: relative;
  z-index: 2;
  max-width: 75%;
}
.discretion-card-top h4 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
.discretion-num {
  position: absolute;
  top: 4px; right: 18px;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 9vw, 100px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.discretion-card p {
  position: absolute;
  left: 32px; right: 32px; bottom: 30px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ============ INTAKE PROMPT ============ */
.intake-prompt { background: var(--bg-alt); }
.intake-banner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  background: #000;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: 80px 6vw;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(197,160,89,0.06);
}
.intake-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.intake-banner-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.intake-banner-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}
.intake-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.intake-banner-headline {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.intake-banner-content p { color: var(--muted); font-size: 15.5px; margin-bottom: 32px; }
.btn-pill { border-radius: 999px; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 6vw;
}
.footer-illustration {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: flex;
  justify-content: center;
}
.footer-illustration img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.footer-row {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-tag { color: var(--muted); font-size: 13px; }
.footer-nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-nav a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { color: var(--muted); font-size: 12px; }
.footer-contact { display: flex; gap: 24px; }
.footer-contact a { font-size: 12px; color: var(--muted); transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.modal-backdrop.open .modal-panel { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--text); }
.modal-lock { color: var(--gold); font-size: 11px; margin-bottom: 16px; }
.modal-panel h3 { font-size: 26px; margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.field .optional { text-transform: none; opacity: 0.6; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 22px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; border-radius: 22px; padding: 16px 22px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 21px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.checkbox-row, .radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.checkbox-pill, .radio-pill {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.checkbox-pill input, .radio-pill input {
  position: absolute; opacity: 0; pointer-events: none;
}
.checkbox-pill:has(input:checked), .radio-pill:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 0;
}
.form-success.show { display: block; animation: fadeIn 0.5s var(--ease); }
.success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.form-success h4 { font-size: 20px; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 14px; }

/* ============ MOBILE NAV FULLSCREEN ============ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10,10,10,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.6s var(--ease), opacity 0.35s var(--ease), visibility 0s linear 0.6s;
}
.mobile-nav.open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.6s var(--ease), opacity 0.35s var(--ease);
}
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.15;
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 6vw;
  background: none; border: none;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-group a { display: none; }
  .nav-burger { display: flex; }
  .matrix-columns { grid-template-columns: 1fr; }
  .nav-brand {
    position: static;
    transform: none;
    order: -1;
  }
  .nav-brand img { height: 46px; }
  .hero-wrap { padding: 0; }
  .hero-frame { min-height: 100vh; }
  .hero-br { right: 20px; bottom: 20px; }
  .hero-center .cta-row { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .service-cards { grid-template-columns: 1fr; }
  .moat-row { flex-wrap: wrap; gap: 20px; padding: 32px 12px; }
  .moat-row:hover { padding-left: 12px; }
  .moat-row-num { display: none; }
  .moat-icon { width: 52px; height: 52px; }
  .moat-icon svg { width: 22px; height: 22px; }
  .moat-row-text h3 { font-size: 20px; }
  .discretion-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .discretion-card.card-down { margin-top: 0; }
  .discretion-card { aspect-ratio: 1 / 0.85; }
  .menu-dish-card { flex-basis: 280px; }
  .credential-inner { justify-content: center; }
  .badge-divider { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .intake-banner { padding: 56px 6vw; }
  .footer-row { justify-content: center; text-align: center; flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
@media (max-width: 560px) {
  .discretion-stage { padding: 16px; }
  .discretion-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .discretion-card { aspect-ratio: auto; min-height: 200px; }
  .discretion-card.card-down { margin-top: 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .modal-panel { padding: 32px 24px; }
  .footer-nav { gap: 16px 24px; justify-content: center; }
  .footer-illustration { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  .nav-inner { gap: 12px; }
  .btn-small { padding: 9px 16px; font-size: 11px; }
}

/* ============ INNER PAGES (private-dining, meal-prep) ============ */
.sp-hero .hero-frame { min-height: 82vh; }
.sp-hero .hero-word { font-size: clamp(38px, 5.2vw, 72px); }
.sp-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(197,160,89,0.25);
  background: var(--gold-soft);
  border-radius: 999px;
}
.sp-section { background: var(--bg); }
.sp-grid-3, .sp-grid-4 { display: grid; gap: 24px; max-width: 1200px; margin: 0 auto; }
.sp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sp-grid-3 .service-card { padding: 36px; }
.sp-grid-3 .service-card h3 { max-width: 100%; font-size: 23px; }
.sp-grid-3 .service-card .feature-list { margin-bottom: 0; }
.sp-tile {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.sp-tile:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.sp-tile-num { display: block; font-family: var(--font-serif); font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.sp-tile-icon { margin: 0 0 20px; }
.sp-tile h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.sp-tile p { color: var(--muted); font-size: 14.5px; }
.sp-menu-track { overflow: visible; }

@media (max-width: 960px) {
  .sp-grid-3, .sp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-grid-3, .sp-grid-4 { grid-template-columns: 1fr; }
  .sp-hero .hero-frame { min-height: 88vh; }
  .sp-grid-3 .service-card { padding: 28px; }
}
.sp-hero .hero-bg img { filter: grayscale(10%) contrast(1.05) brightness(0.5); }
.sp-hero .hero-scrim {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.45) 40%, rgba(10,10,10,0.6) 70%, rgba(10,10,10,0.9) 100%),
    radial-gradient(60% 50% at 50% 50%, rgba(10,10,10,0.45), transparent 75%);
}

/* Top menu now has five links — switch to the burger a little earlier */
.nav-group { gap: 24px; }
@media (max-width: 1100px) {
  .nav-group a { display: none; }
  .nav-burger { display: flex; }
  .nav-brand { position: static; transform: none; order: -1; }
  .nav-brand img { height: 46px; }
}

/* ============ ABOUT + CONTACT ============ */
.ab-section { padding-top: 90px; padding-bottom: 90px; }
.ab-alt { background: var(--bg-alt); }
.ab-row { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ab-flip .ab-media { order: 2; }
.ab-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 5; }
.ab-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
.ab-kicker { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.ab-text h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; margin-bottom: 24px; }
.ab-text p { color: var(--muted); font-size: 16px; margin-bottom: 18px; max-width: 520px; }
.ab-text .card-link { margin-top: 10px; }

.ct-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.ct-info h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.ct-lead { color: var(--muted); margin-bottom: 28px; max-width: 420px; }
.ct-card { padding: 20px 22px; border: 1px solid var(--border); background: var(--card); border-radius: 12px; margin-bottom: 14px; }
.ct-card-gold { border-color: rgba(197,160,89,0.25); background: var(--gold-soft); }
.ct-label { color: var(--gold); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.ct-link { display: block; font-size: 18px; color: var(--text); }
a.ct-link:hover { color: var(--gold); }
.ct-note { color: var(--muted); font-size: 14px; margin-top: 4px; }
.ct-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 40px; }
.ct-form-wrap h3 { font-size: 26px; margin-bottom: 26px; }
.ct-form-wrap .btn-full { margin-top: 28px; }

@media (max-width: 960px) {
  .ab-row, .ct-grid { grid-template-columns: 1fr; gap: 36px; }
  .ab-flip .ab-media { order: 0; }
  .ab-media { aspect-ratio: 16 / 10; }
  .ab-section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .ct-form-wrap { padding: 26px 20px; }
  .ct-form-wrap .form-grid { grid-template-columns: 1fr; }
}

/* Client portal login button in the top menu */
.nav-group a.nav-login {
  border: 1px solid var(--gold);
  color: var(--gold);
  opacity: 1;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-group a.nav-login:hover { background: var(--gold); color: var(--bg); }

/* ============ INQUIRY FLOW (modal + contact page) ============ */
.iq-title { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 10px; }
.iq-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; max-width: 480px; }
.iq-back { background: none; border: 0; color: var(--muted); font-family: var(--font-sans); font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 18px; transition: color 0.3s; }
.iq-back:hover { color: var(--gold); }
.iq-choices { display: flex; flex-direction: column; gap: 14px; }
.iq-choice {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 60px 22px 26px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  color: var(--text); font-family: var(--font-sans);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.iq-choice:hover { border-color: var(--gold); transform: translateY(-2px); background: var(--gold-soft); }
.iq-choice-t { font-family: var(--font-serif); font-size: 21px; }
.iq-choice-d { color: var(--muted); font-size: 14px; }
.iq-choice-a { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; transition: transform 0.3s var(--ease); }
.iq-choice:hover .iq-choice-a { transform: translate(4px, -50%); }
.iq-form .btn-full { margin-top: 26px; }
.iq-trust { margin-top: 14px; text-align: center; color: var(--muted); font-size: 12.5px; }
.field .fm-error { min-height: 0; color: #D9826B; font-size: 12.5px; }
.field .fm-error:empty { display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #D9826B; }
.field.is-invalid .radio-pill { border-color: rgba(217,130,107,0.5); }
.iq-success { text-align: center; padding: 10px 0 0; }
.iq-success h4 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; margin-bottom: 8px; }
.iq-success > p { color: var(--muted); margin-bottom: 26px; }
.iq-steps { list-style: none; text-align: left; margin: 0 0 28px; border-top: 1px solid var(--border); }
.iq-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text); }
.iq-steps li span { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 12px; }
@media (max-width: 640px) {
  .iq-title { font-size: 24px; }
  .iq-choice { padding: 18px 48px 18px 20px; }
  .modal-panel { padding: 32px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============ SCROLLBARS ============ */
:root { color-scheme: dark; }
.modal-panel { scrollbar-width: thin; scrollbar-color: rgba(197,160,89,0.45) transparent; }
@supports selector(::-webkit-scrollbar) {
  .modal-panel { scrollbar-width: auto; scrollbar-color: auto; }
  .modal-panel::-webkit-scrollbar { width: 10px; }
  .modal-panel::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
  .modal-panel::-webkit-scrollbar-thumb { background: rgba(197,160,89,0.4); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
  .modal-panel::-webkit-scrollbar-thumb:hover { background: rgba(197,160,89,0.75); background-clip: content-box; }
}

/* ============ NUMBER STEPPER (replaces the native spinner) ============ */
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.iq-num { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px; transition: border-color 0.3s var(--ease); }
.iq-num:focus-within { border-color: var(--gold); }
.field .iq-num input { flex: 1; min-width: 0; border: 0; background: transparent; text-align: center; padding: 9px 0; border-radius: 0; }
.field .iq-num input:focus { outline: none; }
.iq-num button {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.iq-num button:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }

/* ============ SURVEY STEPS ============ */
.iq-step { animation: iqIn 0.4s var(--ease); }
@keyframes iqIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.iq-progress { display: flex; gap: 6px; margin-bottom: 28px; padding-right: 36px; }
.iq-progress span { flex: 1; height: 3px; border-radius: 999px; background: var(--border); transition: background 0.4s var(--ease); }
.iq-progress span.on { background: var(--gold); }
.iq-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.iq-nav .btn { min-width: 180px; }
.iq-nav .iq-back { margin: 0; font-size: 14px; }
.iq-form .form-grid { gap: 16px; }
.iq-form .radio-row, .iq-form .checkbox-row { gap: 10px; }
.iq-form .radio-pill, .iq-form .checkbox-pill { padding: 12px 20px; font-size: 13.5px; }
@media (max-width: 640px) { .iq-nav .btn { min-width: 0; flex: 1; } }

/* ============ SURVEY: back button + confidentiality footer ============ */
.modal-panel { --pad-x: 48px; --pad-b: 48px; }
.ct-form-wrap { --pad-x: 40px; --pad-b: 40px; }
.iq-nav .iq-back {
  margin: 0; padding: 13px 26px; font-size: 14px;
  border: 1px solid rgba(247,245,240,0.4); border-radius: 999px;
  background: transparent; color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.iq-nav .iq-back:hover { border-color: #fff; background: rgba(247,245,240,0.06); color: var(--text); }
.iq-trust {
  margin: 32px calc(var(--pad-x) * -1) calc(var(--pad-b) * -1);
  padding: 18px var(--pad-x);
  border-top: 1px solid rgba(247,245,240,0.16);
  background: rgba(247,245,240,0.025);
  text-align: center; color: var(--muted); font-size: 12.5px;
}
@media (max-width: 640px) {
  .modal-panel { --pad-x: 22px; --pad-b: 32px; }
  .ct-form-wrap { --pad-x: 20px; --pad-b: 26px; }
}

/* Tighter gap between the question and its description */
.iq-step .iq-title { margin-bottom: 6px; }
.iq-step .iq-sub { margin-bottom: 22px; }

/* ============ THEMED DATE PICKER ============ */
.iq-date { position: relative; }
.iq-date > input { width: 100%; cursor: pointer; }
.iq-cal {
  position: fixed; z-index: 1000; top: 0; left: 0;
  width: 360px; max-width: calc(100vw - 16px);
  background: #1f1f1f; border: 1px solid rgba(197,160,89,0.35); border-radius: 20px;
  padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  animation: iqIn 0.25s var(--ease);
}
.iq-cal[hidden] { display: none; }
.iq-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.iq-cal-title { font-family: var(--font-serif); font-size: 19px; }
.iq-cal-nav {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 20px; line-height: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.iq-cal-nav:hover:not([disabled]) { border-color: var(--gold); color: var(--gold); }
.iq-cal-nav[disabled] { opacity: 0.3; cursor: not-allowed; }
.iq-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.iq-cal-dow { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 0 8px; }
.iq-cal-day {
  aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: var(--text);
  font-family: var(--font-sans); font-size: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.iq-cal-day:hover:not([disabled]) { border-color: var(--gold); }
.iq-cal-day.today { border-color: rgba(197,160,89,0.5); color: var(--gold); }
.iq-cal-day.sel, .iq-cal-day.sel:hover { background: var(--gold); border-color: var(--gold); color: #0A0A0A; font-weight: 600; }
.iq-cal-day[disabled] { color: rgba(161,161,170,0.3); cursor: not-allowed; }
.iq-cal-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); text-align: center; }
.iq-cal-flex {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(247,245,240,0.3); background: transparent; color: var(--text);
  font-family: var(--font-sans); font-size: 13px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.iq-cal-flex:hover { border-color: #fff; background: rgba(247,245,240,0.06); }
@media (max-width: 640px) { .iq-cal { max-width: none; } }

/* calendar icon inside the date field */
.iq-date > input { padding-right: 56px; }
.iq-date-ico { position: absolute; right: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
@keyframes iqFade { from { opacity: 0; } to { opacity: 1; } }
.iq-cal { animation: iqFade 0.2s var(--ease); }

/* sticky top bar: give the logo breathing room above and below */
@media (min-width: 961px) {
  .site-nav { padding-top: 16px; padding-bottom: 16px; }
  .site-nav .nav-inner { min-height: 80px; }
  .site-nav .nav-brand img { height: 80px; }
}

/* credential strip: tighter top and bottom */
section.credential-bar { padding-top: 44px; padding-bottom: 44px; }
@media (max-width: 960px) { section.credential-bar { padding-top: 36px; padding-bottom: 36px; } }
