/* Slow Ember — "Ember Room" design system per design-tokens.md */
:root {
  --color-bg: #1B1917;
  --color-surface: #242019;
  --color-surface-raised: #2E271F;
  --color-primary: #B5563C;
  --color-primary-dark: #8F4230;
  --color-accent: #C9A227;
  --color-text: #F3EDE4;
  --color-text-muted: #B8AC9B;
  --color-border: #3A332A;
  --glow: 0 0 32px rgba(197, 122, 61, 0.12);
  --radius: 4px;
  --font-head: "Cormorant", "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--color-text); margin: 0 0 16px; }
h1 { font-size: 48px; line-height: 56px; }
h2 { font-size: 34px; line-height: 42px; }
h3 { font-size: 21px; line-height: 28px; }

p { margin: 0 0 16px; }

.caption { font-size: 14px; line-height: 20px; color: var(--color-text-muted); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 64px; }

section { padding: 88px 0; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.example-tag {
  display: inline-block;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF; /* pure white for AA contrast on terracotta (off-white token hits only 4.14:1 at 15px) */
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--color-accent);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-outline:hover { background: rgba(201, 162, 39, 0.12); }

/* ---------- Header / logo ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 24px 0;
  z-index: 10;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }

.wordmark { display: inline-block; text-decoration: none; line-height: 1; }
.wordmark .wm-slow {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.wordmark .wm-ember {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 30px;
  color: var(--color-primary);
  position: relative;
}
.wordmark .wm-ember .glow-bar {
  position: absolute;
  left: 2.05em; /* under the "b" */
  bottom: -3px;
  width: 0.5em;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 1px;
}

.anchor-nav { display: flex; align-items: center; gap: 28px; }
.anchor-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.anchor-nav a:hover { color: var(--color-accent); }

.lang-switch { font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.lang-switch a { color: var(--color-accent); text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; }
.lang-switch span[aria-current] { color: var(--color-text-muted); }

/* ---------- Hero (full-bleed) ---------- */
.hero {
  position: relative;
  padding: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) saturate(0.9) contrast(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,13,12,.9) 0%, rgba(14,13,12,.72) 46%, rgba(14,13,12,.42) 100%),
    linear-gradient(180deg, rgba(27,25,23,.52) 0%, rgba(27,25,23,.28) 45%, rgba(27,25,23,.94) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 96px; }
.hero-copy { max-width: 640px; }
.hero-copy .sub { font-size: 19px; line-height: 30px; color: var(--color-text); }
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 24px; }
.hero .locale-cue { font-size: 14px; color: var(--color-text-muted); letter-spacing: 0.04em; }

/* ---------- Value proposition ---------- */
.value-props { background: var(--color-surface); }
.value-props .lead { max-width: 720px; color: var(--color-text-muted); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.value-card .vc-icon { width: 44px; height: 44px; margin-bottom: 20px; }

/* ---------- Technique story (full-bleed) ---------- */
.story { position: relative; padding: 0; }
.story-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(27, 25, 23, 0.82);
}
.story .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.story-copy { max-width: 680px; }
.story-copy p { color: var(--color-text); }
.story blockquote {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--color-accent);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 36px;
  color: var(--color-accent);
  max-width: 560px;
}

/* ---------- Menu ---------- */
.menu-section .intro { max-width: 680px; color: var(--color-text-muted); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
.menu-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}
.menu-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.menu-item .desc { font-size: 15px; line-height: 24px; color: var(--color-text-muted); margin: 4px 0 8px; }
.pairing-callout {
  margin-top: 48px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 32px;
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  max-width: 760px;
}

/* ---------- Private dining ---------- */
.private { background: var(--color-surface); }
.private .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.private-visual { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow); }
.private-visual img { width: 100%; height: 100%; object-fit: cover; }
.private ul { list-style: none; padding: 0; margin: 24px 0 32px; }
.private li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.private li::before {
  content: "";
  position: absolute;
  left: 4px; top: 24px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* ---------- Testimonials ---------- */
.testimonials h2 em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 8px;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card .avatar { width: 52px; height: 52px; }
.testimonial-card blockquote { margin: 0; font-size: 16px; line-height: 26px; }
.testimonial-card cite { font-style: normal; font-size: 14px; color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  padding: 64px 32px;
  box-shadow: var(--glow);
}
.cta-band p { color: var(--color-text-muted); max-width: 520px; margin: 0 auto 32px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
section.cta-section { padding-top: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-top: 48px; }
.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 16px 0 0; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #141210;
  border-top: 1px solid var(--color-border);
  padding: 64px 0 48px;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-text-muted);
}
.site-footer a { color: var(--color-text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid h3 { font-size: 17px; color: var(--color-text); }
.site-footer .legal {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  font-size: 13px;
  line-height: 20px;
}
.site-footer .lang-switch { margin-top: 16px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  padding: 14px 16px;
  text-align: center;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  z-index: 50;
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 26px; }
  h1 { font-size: 34px; line-height: 42px; }
  h2 { font-size: 27px; line-height: 35px; }
  .container { padding: 0 24px; }
  section { padding: 56px 0; }
  .anchor-nav { display: none; }
  .hero { min-height: 88vh; }
  .hero .container { padding-top: 120px; padding-bottom: 64px; }
  .value-grid, .menu-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .menu-item { grid-template-columns: 120px 1fr; }
  .private .container { grid-template-columns: 1fr; gap: 40px; }
  .story blockquote { font-size: 22px; line-height: 32px; }
  .sticky-cta { display: block; }
  .cta-band { padding: 48px 24px; }
}

/* ---------- FAQ open/close animation ---------- */
.faq-list .faq-answer {
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.33, 1, 0.68, 1),
              opacity 0.3s ease,
              transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}
@media (prefers-reduced-motion: reduce) {
  .faq-list .faq-answer { transition: none; }
}

/* ---------- Language toggle (single button, swaps to the other locale) ---------- */
.lang-toggle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 8px 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.lang-toggle:hover { background: rgba(201, 162, 39, 0.12); }
.site-footer .lang-toggle { display: inline-block; margin-top: 16px; }

/* ---------- Scroll-reveal (activated by JS via html.anim) ---------- */
html.anim .reveal { opacity: 0; transform: translateY(24px); }
html.anim .reveal.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease var(--rd, 0ms),
              transform 0.7s cubic-bezier(0.33, 1, 0.68, 1) var(--rd, 0ms);
}

/* ---------- Hover micro-interactions (firelight glow) ---------- */
.menu-item, .testimonial-card, .value-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.menu-item:hover, .testimonial-card:hover, .value-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 40px rgba(197, 122, 61, 0.20);
  transform: translateY(-3px);
}
.menu-item img { transition: filter 0.4s ease; }
.menu-item:hover img { filter: brightness(1.08); }
.private-visual { transition: box-shadow 0.4s ease; }
.private-visual:hover { box-shadow: 0 0 48px rgba(197, 122, 61, 0.28); }
.btn-primary { transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(197, 122, 61, 0.30); }
.anchor-nav a { transition: color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .menu-item, .testimonial-card, .value-card, .menu-item img,
  .private-visual, .btn-primary { transition: none; transform: none; }
}
