/* ── French Table · Shared styles ──────────────────────────── */

@font-face {
  font-family: 'Jimmy Script';
  src: url('../fonts/jimmy-script.ttf') format('truetype');
  font-display: block;
}


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

:root {
  /* Quiet Cobalt — locked palette
     Two faces only: Jimmy Script (display) + Roboto Mono (everything else).
     One accent: cobalt. No red. */
  --bg:        #FFFFFF;
  --bg-soft:   #F5F6FA;
  --bg-soft2:  #FAFAFC;
  --accent:    #1A38F2;  /* Klein cobalt — buttons, links, brand script */
  --accent-lt: #5269F5;
  --accent-xl: #DEE3FC;
  --accent-2:  #1A38F2;  /* Script color = cobalt (was vermillion red) */
  --ink:       #0F0F12;
  --mid:       #5C5C66;
  --lt:        #9999A6;

  --script:    'Jimmy Script', cursive;
  /* --serif is kept as a token name for back-compat. It now resolves
     to Roboto Mono — the single workhorse face for body, UI, captions,
     eyebrows, and prices. */
  --serif:     'Roboto Mono', ui-monospace, monospace;
  --mono:      'Roboto Mono', ui-monospace, monospace;

  /* Type scale. Body bumped slightly from the original 13px to 15px
     for comfortable reading at long form, but kept mono-native. */
  --fs-body:   15px;
  --fs-body-sm: 13px;
  --fs-lead:   15px;
  --fs-ui:     12px;
  --fs-meta:   11px;
  --fs-eyebrow: 10px;

  --pad-x:     64px;
  --pad-x-sm:  28px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}
em, i { font-style: italic; }
strong, b { font-weight: 500; }
body.fonts-ready { opacity: 1; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ───────────────────────────────────────────────────── */
nav.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--accent-xl);
}

.nav-logo {
  font-family: var(--script);
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── Page padding ──────────────────────────────────────────── */
main { padding-top: 72px; }

.section {
  padding: 90px var(--pad-x);
  border-top: 1px solid var(--accent-xl);
}
.section.no-border { border-top: none; }
.section.alt { background: var(--bg-soft); }
.section.dark {
  background: var(--accent);
  color: var(--bg);
  border-top: none;
}

/* ── Typography ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-lt);
}

.section-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--script);
  font-size: clamp(52px, 7vw, 88px);
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 32px;
}

.section-title.dark { color: var(--bg); }

.lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mid);
  max-width: 640px;
}

.lead.dark { color: rgba(255,255,255,0.7); }

.script-accent {
  font-family: var(--script);
  color: var(--accent);
}

/* ── Hero (page-level intro) ──────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--pad-x);
  overflow: hidden;
}

/* Homepage hero — full above-the-fold stack: photo (logo+subtext overlaid) + desc + CTA */
body.home .hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 24px var(--pad-x) 0;
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  min-height: 560px;
  overflow: hidden;
}

body.home .hero .hero-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 62vh;
  width: 100%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  overflow: hidden;
}
body.home .hero .hero-photo > .hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.home .hero .hero-photo > .hero-bg img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}
body.home .hero.has-bg .hero-photo > .hero-bg { opacity: 1; }

body.home .hero .hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px var(--pad-x);
  gap: 12px;
  color: #fff;
}
/* Per-line vertical positions for the home hero. Dialed in via ?edit=1
   at 1200px viewport, then converted to vw so the whole composition
   scales proportionally on phones and large monitors. clamp() floors
   and ceilings keep things sane at the extremes.
   At 1200px: 1vw = 12px → 3.25vw = 39px, -6vw = -72px, etc. */
body.home .hero .hero-overlay .hero-eyebrow {
  margin: clamp(18px, 3.25vw, 50px) 0 0;
  color: rgba(255,255,255,0.85);
}
body.home .hero .hero-overlay .hero-logo {
  margin: clamp(-92px, -6vw, -32px) 0 0;
}
body.home .hero .hero-overlay .hero-logo .logo-the,
body.home .hero .hero-overlay .hero-logo .logo-french,
body.home .hero .hero-overlay .hero-logo .logo-table { color: #fff; }
body.home .hero .hero-overlay .tagline-lockup {
  margin: 0;
  color: rgba(255,255,255,0.9);
}
body.home .hero .hero-overlay .tagline-lockup .sep { color: rgba(255,255,255,0.5); }

/* Tighter logo so it fits comfortably inside the photo at all sizes. */
body.home .hero .hero-logo .logo-french,
body.home .hero .hero-logo .logo-table {
  font-size: clamp(56px, 10vw, 150px);
}
body.home .hero .hero-logo .logo-the {
  font-size: clamp(11px, 1.2vw, 16px);
  margin-top: 0;
  margin-bottom: clamp(-32px, -4.5vw, -56px);
}
body.home .hero .hero-logo .logo-french {
  margin-top: clamp(-76px, -5vw, -26px);
}
body.home .hero .hero-logo .logo-table {
  margin-top: clamp(-14px, -0.83vw, -4px);
}
body.home .hero .hero-h1-sub--home {
  margin-top: clamp(6px, 1.08vw, 20px);
}

body.home .hero .hero-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 28px 0 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--accent-xl);
}
body.home .hero .hero-foot .hero-desc {
  margin: 0;
  max-width: 640px;
  color: var(--mid);
}
body.home .hero.has-bg .hero-foot .hero-desc { color: var(--mid); }
body.home .hero .hero-foot .btn,
body.home .hero.has-bg .hero-foot .btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
body.home .hero .hero-foot .btn:hover,
body.home .hero.has-bg .hero-foot .btn:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

/* Dark scrim only behind the overlay so the logo reads on any photo */
body.home .hero .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.50) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 720px) {
  body.home .hero {
    min-height: 520px;
  }
  body.home .hero .hero-foot {
    padding: 20px var(--pad-x) 24px;
    gap: 14px;
  }
  body.home .hero .hero-foot .hero-desc { font-size: 15px; line-height: 1.5; }
}

/* Hero background photo (homepage preview) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero.has-bg .hero-bg { opacity: 1; }
.hero > *:not(.hero-bg) { position: relative; z-index: 1; }
.hero.has-bg .hero-eyebrow { color: rgba(255,255,255,0.85); }
.hero.has-bg .hero-logo .logo-the { color: #fff; }
.hero.has-bg .hero-logo .logo-french,
.hero.has-bg .hero-logo .logo-table { color: #fff; }
.hero.has-bg .tagline-lockup { color: rgba(255,255,255,0.85); }
.hero.has-bg .tagline-lockup .sep { color: rgba(255,255,255,0.5); }
.hero.has-bg .hero-desc { color: rgba(255,255,255,0.92); }
.hero.has-bg .btn { background: #fff; color: var(--accent); border-color: #fff; }
.hero.has-bg .btn:hover { background: rgba(255,255,255,0.9); }

/* Hero preview picker (dev-style floating control) */
.hero-picker {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 200;
  background: rgba(20,20,24,0.92);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}
.hero-picker button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font: inherit;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
}
.hero-picker button:hover { background: rgba(255,255,255,0.18); }
.hero-picker .hp-label {
  min-width: 180px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-picker .hp-tag {
  font-size: 9px;
  opacity: 0.55;
  letter-spacing: 0.16em;
  margin-right: 4px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--script);
  font-size: clamp(80px, 12vw, 152px);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 28px;
}

/* H1 with French script word + keyword sub-line (SEO + brand) */
.hero-h1-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-h1-stack .hero-h1-script {
  font: inherit;
  display: block;
  line-height: 0.9;
}
.hero-h1-sub {
  font-family: var(--mono);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mid);
  line-height: 1.4;
  display: block;
}
.hero.has-bg .hero-h1-sub,
body.home .hero .hero-h1-sub--home { color: rgba(255,255,255,0.88); }
.hero-h1-sub--home {
  margin-top: 6px;
}

/* Homepage hero logo lockup — stacked, offset, slight hand-stamped rotation */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 32px;
  transform: rotate(-2.5deg);
  transform-origin: center;
}
.hero-logo .logo-the {
  font-family: var(--mono);
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: clamp(-12px, -1.4vw, -22px);
  padding-left: 0.36em; /* offset to optical-center after letter-spacing */
  transform: rotate(2.5deg); /* counter the parent rotation so THE sits level */
  transform-origin: center;
}
.hero-logo .logo-french,
.hero-logo .logo-table {
  font-family: var(--script);
  font-size: clamp(96px, 18vw, 240px);
  color: var(--accent-2);
  line-height: 0.82;
  display: block;
}
.hero-logo .logo-french {
  margin-right: clamp(40px, 7vw, 110px);
}
.hero-logo .logo-table {
  margin-left: clamp(40px, 7vw, 110px);
  margin-top: clamp(-14px, -1.8vw, -28px);
}
@media (max-width: 600px) {
  .hero-logo .logo-french { margin-right: 32px; }
  .hero-logo .logo-table { margin-left: 32px; margin-top: -8px; }

  /* Tighten tagline globally on mobile */
  .tagline-lockup {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .tagline-lockup .sep { margin: 0 4px; }

  /* Constrain hero overlay to photo width so tagline can't escape */
  body.home .hero .hero-overlay {
    width: 100%;
    box-sizing: border-box;
  }
  /* Hero tagline: tiny + no nowrap so it wraps cleanly to 2 lines max */
  body.home .hero .hero-overlay .tagline-lockup {
    font-size: 7px;
    letter-spacing: 0.04em;
    white-space: normal;
    max-width: 100%;
  }

  /* Tighten hero sub-heading letter-spacing on mobile */
  .hero-h1-sub {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  /* All other vertical offsets scale via vw — see the home hero block above. */
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 36px;
}
.hero-tagline span { margin: 0 12px; color: var(--accent-xl); }

.hero-desc {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mid);
  max-width: 620px;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* Compact hero for inner pages */
.hero.compact {
  min-height: auto;
  padding: 120px var(--pad-x) 60px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 13px 32px;
  border: 1px solid var(--accent);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--accent); }

.btn-ghost {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--accent); color: var(--bg); }

/* Tertiary text-link CTA (for footer/contact only — never primary surfaces) */
.btn-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--accent); }

.btn-light {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
  padding: 13px 32px;
  border: 1px solid var(--bg);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-light:hover { background: transparent; color: var(--bg); }

/* ── Service cards (home) ─────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--accent-xl);
  border: 1px solid var(--accent-xl);
}

.service-card {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-soft2); }

.service-card .card-script {
  font-family: var(--script);
  font-size: 38px;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 4px;
}
.service-card .card-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.service-card .card-price {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}
.service-card .card-desc {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.55;
  color: var(--mid);
  margin-bottom: 18px;
  flex: 1;
}
.service-card .card-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-card .card-link:hover { color: var(--accent-lt); }

/* ── Tier cards (deeper pages) ────────────────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.tier-card {
  background: var(--bg);
  border: 1px solid var(--accent-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.tier-card.featured {
  border-color: var(--accent);
}
.tier-card .tier-script {
  font-family: var(--script);
  font-size: 42px;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 6px;
}
.tier-card .tier-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.tier-card .tier-format {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 18px;
}
.tier-card .tier-price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tier-card .tier-price-unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lt);
  margin-bottom: 20px;
}
.tier-card .tier-desc {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.55;
  color: var(--mid);
  flex: 1;
}
.tier-card .tier-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-xl);
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* ── Sample menu table ────────────────────────────────────── */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 32px;
}
.menu-table th,
.menu-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--accent-xl);
  vertical-align: top;
  line-height: 1.5;
}
.menu-table th {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lt);
  background: var(--bg-soft2);
}
.menu-table td.course {
  font-family: var(--script);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  padding-top: 18px;
  width: 110px;
}
.menu-table td.dish {
  color: var(--ink);
  font-weight: 500;
  width: 28%;
}
.menu-table td.wine {
  color: var(--mid);
  font-weight: 300;
  font-style: italic;
}

.menu-foot {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-style: italic;
  color: var(--mid);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 640px;
}

/* ── Info rows ────────────────────────────────────────────── */
.row-list {
  display: grid;
  gap: 0;
}
.row-list .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--accent-xl);
  align-items: baseline;
}
.row-list .row:last-child { border-bottom: none; }
.row-list .row .label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.row-list .row .sub {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--mid);
  margin-top: 4px;
  line-height: 1.55;
}
.row-list .row .value {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

/* ── How it works ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--accent-xl);
  border: 1px solid var(--accent-xl);
}
.step {
  background: var(--bg);
  padding: 32px 28px;
}
.step .step-num {
  font-family: var(--script);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.step .step-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.step .step-desc {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.55;
  color: var(--mid);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq details {
  border-bottom: 1px solid var(--accent-xl);
  padding: 16px 0;
}
.faq details:first-child { border-top: 1px solid var(--accent-xl); }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq .answer {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mid);
  padding: 12px 0 8px;
  max-width: 720px;
}

/* ── Forms ────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 20px;
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lt);
}
.field input,
.field select,
.field textarea {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--accent-xl);
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────── */
footer.site {
  padding: 36px var(--pad-x) 28px;
  border-top: 1px solid var(--accent-xl);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}
.footer-logo {
  font-family: var(--script);
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lt);
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-contact {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  text-align: right;
  line-height: 1.7;
}
.footer-contact a { color: var(--accent); }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-section { padding: 96px var(--pad-x); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 56px;
  margin: 48px 0 40px;
  max-width: 1100px;
}
.testimonial { margin: 0; }
.testimonial-quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
  font-style: italic;
  quotes: "“" "”";
}
.testimonial-quote::before { content: open-quote; color: var(--accent); margin-right: 2px; }
.testimonial-quote::after { content: close-quote; color: var(--accent); margin-left: 2px; }
.testimonial-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.testimonial-name { color: var(--accent); }
.testimonial-relation { color: var(--lt); }
.testimonials-cta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.testimonials-cta .text-cta { color: var(--accent); }
.testimonials-cta .arrow { display: inline-block; transition: transform 0.2s; }
.testimonials-cta a:hover .arrow { transform: translateX(4px); }
@media (max-width: 640px) {
  .testimonials-section { padding: 64px var(--pad-x); }
  .testimonials-grid { gap: 36px; }
  .testimonial-quote { font-size: 16px; }
}

.footer-areas {
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--accent-xl);
}
.footer-areas-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: baseline;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--lt);
  line-height: 1.7;
}
.footer-areas-row:last-child { margin-bottom: 0; }
.footer-areas-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-right: 14px;
  white-space: nowrap;
}
.footer-areas a {
  color: var(--mid);
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-areas a:hover { color: var(--accent); }
.footer-areas a + a::before {
  content: "·";
  color: var(--accent-xl);
  margin: 0 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--accent-xl);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lt);
}

/* ── Photo grid ───────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}
@media (max-width: 920px) {
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── Plate gallery (cobalt editorial plate hero) ──────────── */
.plate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plate-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.plate-grid figure { margin: 0; }
.plate-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--accent);
}
.plate-grid figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
}
.plate-grid figcaption .sep { color: var(--accent); padding: 0 6px; }
@media (max-width: 920px) {
  .plate-grid,
  .plate-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 540px) {
  .plate-grid,
  .plate-grid.cols-2 { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Page transitions (CSS View Transitions API) ─────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.25s; animation-timing-function: ease-out; }
::view-transition-new(root) { animation-duration: 0.25s; animation-timing-function: ease-in; }

/* ── Language toggle ──────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 20px;
  border: 1px solid var(--accent-xl);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}
.lang-toggle button {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lt);
  background: transparent;
  border: 0;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button:hover { color: var(--accent); }
.lang-toggle button.active {
  background: var(--accent);
  color: var(--bg);
}

/* ── Language transition ──────────────────────────────────────
   Simple crossfade: content fades out, text swaps, fades in.
   ────────────────────────────────────────────────────────── */
main,
footer,
nav.site .nav-links a,
nav.site .nav-logo {
  transition: opacity 0.18s ease;
}
body.lang-swap main,
body.lang-swap footer,
body.lang-swap nav.site .nav-links a,
body.lang-swap nav.site .nav-logo {
  opacity: 0;
}

/* ── Nav collapse — kicks in earlier so we never get an
   awkward mid-width state where links crowd the logo. ──── */
@media (max-width: 1080px) {
  nav.site { padding: 14px var(--pad-x); gap: 0; }
  /* hamburger sits AFTER lang toggle in source on mobile;
     order/z-index keep it clickable on the right edge. */
  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 12px;
    position: relative;
    z-index: 101;
  }
  nav.site > .lang-toggle-mobile { display: inline-flex; order: 2; }
  .nav-links {
    position: fixed;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--accent-xl);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.25s, visibility 0s linear 0.25s;
    padding: 12px 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s, opacity 0.25s, visibility 0s;
  }
  .nav-links .lang-toggle { margin-left: var(--pad-x); }
  .nav-links a {
    display: block;
    padding: 14px var(--pad-x);
    border-top: 1px solid var(--bg-soft);
  }
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 920px) {
  :root { --pad-x: var(--pad-x-sm); }
  /* Above-the-fold: tighten hero spacing so the eyebrow starts
     higher and the next section peeks into view. */
  .hero {
    min-height: auto;
    padding: 64px var(--pad-x) 48px;
  }
  .hero.compact { padding: 64px var(--pad-x) 32px; }
  .hero-eyebrow  { margin-bottom: 18px; }
  .hero-title    { font-size: clamp(56px, 16vw, 92px); margin-bottom: 20px; }
  .hero-tagline  { margin-bottom: 24px; }
  .hero-desc     { margin-bottom: 28px; }
  .hero-cta { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .menu-table { font-size: 11px; }
  .menu-table td.course { width: 80px; }
  .menu-table th,
  .menu-table td { padding: 10px 8px; }

  /* Collapse inline two-column grids to single column.
     Needed because the page-level inline grid-template-columns
     (420px 1fr, 240px 1fr, 1fr 1fr, etc.) win over class rules. */
  .two-col,
  .bio-grid,
  .about-row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Long values (hotel names, etc.) were forcing horizontal scroll. */
  .row-list .row { grid-template-columns: 1fr; gap: 6px; }
  .row-list .row .value { white-space: normal; }

  .tier-card .tier-price { font-size: 36px; }
}

/* ── Tagline lockup (sits under wordmark) ─────────────────── */
.tagline-lockup {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 8px;
}
.tagline-lockup .sep { color: var(--accent-xl); margin: 0 8px; }
footer.site .tagline-lockup { color: var(--lt); margin-top: 6px; }

/* ── Brand idea callout (used in hero + footer) ──────────── */
.brand-idea {
  font-family: var(--script);
  color: var(--accent-2);
  line-height: 0.95;
  font-size: clamp(28px, 4vw, 44px);
}

/* ── Sticky mobile CTA bar ────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  /* respect iPhone home-indicator + notched-bottom safe area */
  padding: 14px var(--pad-x-sm) calc(14px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--accent-xl);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; text-align: center; }
@media (max-width: 920px) {
  .sticky-cta { display: block; }
  /* leave room so footer content isn't hidden behind the bar */
  body.has-sticky-cta footer.site { padding-bottom: 80px; }
}

/* ── FPO placeholder image ────────────────────────────────── */
.fpo {
  background: var(--bg-soft);
  background-image:
    linear-gradient(135deg, rgba(26,56,242,0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(26,56,242,0.06) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(26,56,242,0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(26,56,242,0.06) 25%, transparent 25%);
  background-position: 18px 0, 18px 0, 0 0, 0 0;
  background-size: 36px 36px;
  background-repeat: repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--accent-xl);
  position: relative;
}
.fpo::after {
  content: 'FPO — REPLACE WITH PHOTO';
  position: absolute;
  bottom: 8px; right: 10px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--accent-lt);
  opacity: 0.7;
}
.fpo[data-fpo-label]::before {
  content: attr(data-fpo-label);
  display: block;
  max-width: 220px;
  font-weight: 500;
  line-height: 1.5;
}

/* ── Plate gallery hover treatment ───────────────────────── */
.photo-grid figure { overflow: hidden; }
.photo-grid figure img,
.photo-grid figure .fpo {
  transition: transform 0.5s ease;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.photo-grid figure:hover img,
.photo-grid figure:hover .fpo { transform: scale(1.03); }

/* ── Hero plate / portrait frame (homepage) ──────────────── */
.hero-image {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 10;
  margin: 0 auto 36px;
}

/* ── Script flourish (NOT a true draw-on — a settle-in)
   Real draw-on requires SVG strokeDashoffset on a vector wordmark.
   Until that asset is commissioned, this is a subtle settle gesture.
   ────────────────────────────────────────────────────────── */
@keyframes scriptSettle {
  from { opacity: 0; transform: translateY(8px) rotate(-3deg); letter-spacing: 0.02em; }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); letter-spacing: 0; }
}
.script-flourish,
.script-draw { /* alias kept so existing HTML keeps working */
  display: inline-block;
  animation: scriptSettle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ── Closing signature (every page) ──────────────────────── */
.signature {
  font-family: var(--script);
  color: var(--accent-2);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  text-align: center;
  margin: 0;
}
.section.dark .signature { color: var(--bg); }

/* ── Week rhythm (La Semaine page) ────────────────────────
   7-column band showing whose week each day belongs to —
   Antonin's prep days, the shared handoff days, and Sunday drop.
   ────────────────────────────────────────────────────────── */
.week-rhythm {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--accent-xl);
  border: 1px solid var(--accent-xl);
}
.week-rhythm .day {
  padding: 28px 18px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.week-rhythm .day-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lt);
}
.week-rhythm .day-actor {
  font-family: var(--script);
  font-size: 28px;
  color: var(--accent-2);
  line-height: 1;
}
.week-rhythm .day-action {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  line-height: 1.45;
  color: var(--mid);
  margin-top: auto;
}
.week-rhythm .day.shared { background: var(--bg-soft); }
.week-rhythm .day.shared .day-actor { color: var(--accent); }
.week-rhythm .day.handoff {
  background: var(--accent);
  color: var(--bg);
}
.week-rhythm .day.handoff .day-label { color: rgba(255,255,255,0.6); }
.week-rhythm .day.handoff .day-actor { color: var(--bg); }
.week-rhythm .day.handoff .day-action { color: rgba(255,255,255,0.85); }
@media (max-width: 920px) {
  .week-rhythm { grid-template-columns: 1fr 1fr; }
  .week-rhythm .day { min-height: 140px; padding: 20px 16px; }
}

/* ── Evening / itinerary timeline (scroll-tied) ──────────
   Shared between the Loire 7-day itinerary and the Dîner
   "doorbell to À bientôt" evening timeline.
   ────────────────────────────────────────────────────────── */
.itinerary-day {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--accent-xl);
  align-items: start;
  position: relative;
  transition: border-color 0.4s ease;
}
.itinerary-day::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.5s ease;
}
.itinerary-day.passed::before { height: 100%; }
.itinerary-day:first-child { border-top: 1px solid var(--accent-xl); }
.itinerary-day .day-marker {
  font-family: var(--script);
  font-size: 38px;
  color: var(--accent-2);
  line-height: 1;
  transition: color 0.4s ease;
}
.itinerary-day.passed .day-marker { color: var(--accent); }
.itinerary-day .day-marker-sub {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lt);
  margin-top: 6px;
}
.itinerary-day .day-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}
.itinerary-day .day-desc {
  font-family: var(--serif);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--mid);
}
@media (max-width: 640px) {
  .itinerary-day { grid-template-columns: 1fr; gap: 12px; }
}

/* ── Loire timeline (scroll-tied) ────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 10px;
  width: 2px;
  background: var(--accent-xl);
}
.timeline-fill {
  position: absolute;
  top: 0; left: 10px;
  width: 2px;
  background: var(--accent);
  height: 0%;
  transition: height 0.2s ease;
}
.timeline .day-dot {
  position: absolute;
  left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-xl);
  transition: border-color 0.3s;
}
.timeline-day.passed .day-dot { border-color: var(--accent); background: var(--accent); }

/* ── Simple service list (homepage)
   Replaces the card grid. Four rows of text + price + arrow.
   ────────────────────────────────────────────────────────── */
.services-list {
  border-top: 1px solid var(--accent-xl);
  max-width: 1100px;
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 48px;
  align-items: baseline;
  padding: 36px 8px;
  border-bottom: 1px solid var(--accent-xl);
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.service-row:hover {
  padding-left: 20px;
  background: var(--bg-soft);
}
.service-row .row-script {
  font-family: var(--script);
  font-size: clamp(40px, 4.2vw, 56px);
  color: var(--accent);
  line-height: 1;
}
.service-row .row-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.service-row .row-desc {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--mid);
  max-width: 500px;
}
.service-row .row-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}
.service-row .row-meta .arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.25s ease;
}
.service-row:hover .row-meta .arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .service-row:hover { padding-left: 0; background: transparent; }
  .service-row .row-meta { text-align: left; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .photo-grid figure:hover img,
  .photo-grid figure:hover .fpo { transform: none; }
}
