/* ============================================================
   EMBER — Wood-Fired Kitchen & Bar (SiteMe demo · restaurant)
   Aesthetic: dark, moody, fine-dining
   Type: Bodoni Moda (display) + Schibsted Grotesk (body)
   Palette: near-black char / ember-gold / cream / deep rust
   WCAG AA calibrated. Fictional brand, placeholder media.
   ============================================================ */

:root {
  --char: #15100e;
  --char-2: #211a15;
  --char-3: #2c241d;
  --cream: #f1e7d6;
  --cream-dim: #cdbfa8;
  --ember: #d68a34;
  --ember-glow: #e0a85a;
  --rust: #9a4423;
  --line-dark: rgba(241,231,214,0.14);
  --text-dark: #2a201a;
  --text-mid: #6a5c4c;
  --line: #e0d6c4;
  --white: #ffffff;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: 'Schibsted Grotesk', sans-serif;
  color: var(--cream);
  background: var(--char);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'Bodoni Moda', serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--cream);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

.eyebrow { display: block; font-family: 'Schibsted Grotesk', sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.1rem; }
.on-light .eyebrow { color: var(--rust); }

/* ───────────  NAV  ─────────── */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: rgba(21,16,14,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav-logo { font-family: 'Bodoni Moda', serif; font-weight: 600; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--cream); line-height: 1; }
.nav-logo span { font-family: 'Schibsted Grotesk', sans-serif; font-size: 0.54rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ember); display: block; margin-top: 0.35rem; text-align: center; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(241,231,214,0.78); transition: color 0.2s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--ember); }
.nav-links a:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.nav-cta a { background: var(--ember); color: var(--char); padding: 0.6rem 1.35rem; border-radius: 1px; font-weight: 700; transition: background 0.2s var(--ease-out); }
.nav-cta a:hover { background: var(--ember-glow); }

.hamburger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); transition: all 0.3s var(--ease-out); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--char); z-index: 200; flex-direction: column; justify-content: center; align-items: center; gap: 1.75rem; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-out); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a { font-family: 'Bodoni Moda', serif; font-size: 2rem; color: var(--cream); }
.mobile-menu a:hover { color: var(--ember); }
.mobile-close { position: absolute; top: 1.25rem; right: 2rem; background: none; border: none; font-size: 2.2rem; cursor: pointer; color: var(--cream); line-height: 1; }

/* ───────────  BUTTONS  ─────────── */
.btn { display: inline-block; font-family: 'Schibsted Grotesk', sans-serif; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.92rem 2rem; border-radius: 1px; cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.btn-ember { background: var(--ember); color: var(--char); }
.btn-ember:hover { background: var(--ember-glow); }
.btn-outline-light { border-color: rgba(241,231,214,0.5); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--char); border-color: var(--cream); }
.btn-outline-dark { border-color: var(--char); color: var(--char); background: transparent; }
.btn-outline-dark:hover { background: var(--char); color: var(--cream); }

/* ───────────  HERO  ─────────── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #3a2a1a 0%, var(--char) 55%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 78% 38%, rgba(214,138,52,0.28), transparent 42%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(transparent, var(--char)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 4rem 2rem; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); color: var(--cream); max-width: 15ch; margin-bottom: 1.4rem; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--ember-glow); }
.hero-sub { font-size: 1.18rem; color: rgba(241,231,214,0.8); max-width: 46ch; margin-bottom: 2.2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta { margin-top: 2.5rem; display: flex; gap: 2.5rem; flex-wrap: wrap; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--cream-dim); }
.hero-meta b { color: var(--ember); font-weight: 700; }

/* ───────────  SECTIONS  ─────────── */
.section { padding: 5.5rem 0; }
.section-char { background: var(--char); color: var(--cream); }
.section-char2 { background: var(--char-2); color: var(--cream); }
.section-cream { background: var(--cream); color: var(--text-dark); }
.on-light { color: var(--text-dark); }

.section-head { max-width: 60ch; margin-bottom: 1rem; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; font-weight: 600; }
.on-light .section-title { color: var(--text-dark); }
.lead { font-size: 1.12rem; color: rgba(241,231,214,0.78); max-width: 58ch; }
.on-light .lead { color: var(--text-mid); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* image placeholder */
.shot { position: relative; aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: linear-gradient(150deg, #3a2a1a, var(--char)); }
.shot::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 35%, rgba(214,138,52,0.22), transparent 60%); }
.shot .shot-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 3.4rem; color: rgba(224,168,90,0.4); }
.shot .shot-cap { position: absolute; bottom: 1.4rem; left: 1.5rem; right: 1.5rem; font-size: 0.78rem; color: rgba(241,231,214,0.6); }

/* ───────────  MENU  ─────────── */
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; margin-top: 3rem; }
.menu-group h3 { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1.6rem; color: var(--rust); margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.15rem; }
.menu-item .mi-name { font-weight: 600; color: var(--text-dark); font-size: 1.05rem; }
.menu-item .mi-desc { font-size: 0.92rem; color: var(--text-mid); margin-top: 0.15rem; max-width: 42ch; }
.menu-item .mi-price { font-family: 'Bodoni Moda', serif; font-size: 1.1rem; color: var(--rust); white-space: nowrap; }
.menu-item .mi-left { flex: 1; }

/* ───────────  FEATURE STRIP  ─────────── */
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.feature .f-num { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 2.4rem; color: var(--ember); display: block; margin-bottom: 0.5rem; line-height: 1; }
.feature h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.feature p { font-size: 1rem; color: rgba(241,231,214,0.78); }

/* ───────────  INFO PANEL  ─────────── */
.info-panel { background: var(--char-3); color: var(--cream); padding: 2.25rem; border-radius: 2px; border-top: 3px solid var(--ember); }
.info-panel h3 { font-family: 'Schibsted Grotesk', sans-serif; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.1rem; font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; padding: 0.55rem 0; font-size: 0.98rem; color: rgba(241,231,214,0.85); border-bottom: 1px solid var(--line-dark); }
.hours-row:last-child { border-bottom: none; }
.hours-row.closed { color: rgba(241,231,214,0.45); }

/* ───────────  MAP PLACEHOLDER  ─────────── */
.map { position: relative; aspect-ratio: 3 / 2; border-radius: 2px; overflow: hidden; background: #1d2420; }
.map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(241,231,214,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(241,231,214,0.05) 1px, transparent 1px); background-size: 38px 38px; }
.map .map-pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 6px rgba(214,138,52,0.25); }
.map .map-cap { position: absolute; bottom: 1.2rem; left: 1.4rem; font-size: 0.78rem; color: rgba(241,231,214,0.6); }

/* ───────────  FORM  ─────────── */
.form-grid { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ember); }
.field input, .field select, .field textarea { font-family: 'Schibsted Grotesk', sans-serif; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line-dark); background: var(--char-3); color: var(--cream); border-radius: 2px; transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); }
.field input::placeholder, .field textarea::placeholder { color: rgba(241,231,214,0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(214,138,52,0.22); }
.field textarea { resize: vertical; min-height: 110px; }

/* ───────────  CTA  ─────────── */
.cta { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #3a2a1a, var(--char) 60%); color: var(--cream); padding: 5.5rem 0; text-align: center; }
.cta h2 { color: var(--cream); font-size: clamp(2.4rem,5vw,3.8rem); margin-bottom: 1rem; font-weight: 600; }
.cta h2 em { font-style: italic; color: var(--ember-glow); }
.cta p { color: rgba(241,231,214,0.8); margin-bottom: 2.2rem; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ───────────  FOOTER  ─────────── */
.footer { background: #0f0b09; color: rgba(241,231,214,0.55); padding: 3.5rem 0 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { color: var(--cream); }
.footer-brand p { margin-top: 1rem; max-width: 36ch; font-size: 0.95rem; }
.footer-col h4 { font-family: 'Schibsted Grotesk', sans-serif; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.95rem; transition: color 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--cream); }
.footer-col a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; }

/* ───────────  SCROLL REVEAL  ─────────── */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ───────────  RESPONSIVE  ─────────── */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .menu-cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-strip { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
}
