/* ============================================================
   Embers & Oak — modern farmhouse fine dining, moody edge
   Palette: cream/bone base, forest green type, brass accents,
   deep charcoal hero + footer for the "A sprinkle" darkness.
   ============================================================ */

:root {
  --bone: #F5F1EA;
  --bone-2: #EBE3D5;
  --cream: #FAF7F1;
  --forest: #2C3D34;
  --forest-2: #1F2B25;
  --brass: #B08D57;
  --brass-2: #8F7143;
  --charcoal: #1A1A1A;
  --charcoal-2: #0E0E0E;
  --ember: #E0732B;
  --text: #2C3D34;
  --text-muted: #6B6459;
  --rule: rgba(44, 61, 52, 0.18);

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Pinyon Script", "Caveat", cursive;

  --container: 1120px;
  --gutter: 1.5rem;

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--forest); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--brass); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--bone);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Shared typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--forest);
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.005em; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.75rem;
}

.script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--brass);
  line-height: 1;
  margin: 0 0 0.5rem;
}

.signature {
  margin-top: 1.5rem;
  color: var(--forest);
  font-size: 1.75rem;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: 2px;
  border: 1.5px solid var(--brass);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--brass);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 234, 0.55);
}
.btn-ghost:hover {
  background: rgba(245, 241, 234, 0.08);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-lg {
  padding: 1.2rem 2.4rem;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.1rem 0;
  background: rgba(26, 26, 26, 0);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-nav.scrolled {
  background: rgba(26, 26, 26, 0.94);
  padding: 0.7rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.brand-amp {
  color: var(--brass);
  margin: 0 0.08em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: rgba(245, 241, 234, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--brass); }
.nav-cta {
  border: 1.5px solid var(--brass);
  padding: 0.55rem 1.2rem;
  color: var(--brass) !important;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--brass);
  color: var(--charcoal) !important;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.75) 100%);
}
.hero-ember {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(224, 115, 43, 0.35) 0%, rgba(224, 115, 43, 0) 60%);
  pointer-events: none;
  z-index: -1;
  animation: ember-flicker 5s ease-in-out infinite;
}
@keyframes ember-flicker {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.04); }
}
.hero-content {
  text-align: center;
  padding: 8rem var(--gutter) 6rem;
  max-width: 860px;
}
.hero-eyebrow { color: var(--brass); }
.hero h1 {
  color: var(--cream);
  margin: 0 0 0.5rem;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  letter-spacing: 0.01em;
}
.hero h1 .brand-amp {
  color: var(--brass);
  margin: 0 0.15em;
  font-style: italic;
}
.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--brass);
  line-height: 1;
  margin: 0 0 1.75rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(245, 241, 234, 0.85);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 241, 234, 0.6);
  animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 28px; height: 28px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ---------- Story ---------- */
.story {
  padding: 7rem 0;
  background: var(--bone);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.story-media {
  margin: 0;
  position: relative;
}
.story-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(44, 61, 52, 0.08);
}
.story-media figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  color: var(--brass);
  background: rgba(26, 26, 26, 0.75);
  padding: 0.4rem 0.8rem;
}
.story-copy p {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- Section divider (flame) ---------- */
.divider-flame {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  color: var(--brass);
  opacity: 0.7;
}

/* ---------- Menu ---------- */
.menu {
  padding: 7rem 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.menu-header h2 { margin: 0.25rem 0 1rem; }
.menu-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.menu-col-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  font-family: var(--font-body);
  font-weight: 600;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-item { margin-bottom: 2rem; }
.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
}
.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
}
.menu-item-desc {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 50ch;
}
.menu-item-pairing {
  margin: 0.25rem 0 0;
  color: var(--brass-2);
  font-size: 0.88rem;
  line-height: 1.5;
}
.hearth-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(224, 115, 43, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
  white-space: nowrap;
}
.menu-footnote {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
}

/* ---------- Private dining ---------- */
.private {
  padding: 7rem 0;
  background: var(--bone-2);
}
.private-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.private-copy h2 { margin-bottom: 1.25rem; }
.private-copy p { color: var(--text); max-width: 50ch; }
.private-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.private-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--text);
}
.private-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.6rem;
  height: 1px;
  background: var(--brass);
}
.private-media { margin: 0; }
.private-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(44, 61, 52, 0.08);
}

/* ---------- Reserve ---------- */
.reserve {
  padding: 7rem 0;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reserve::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224, 115, 43, 0.15) 0%, transparent 55%);
  pointer-events: none;
}
.reserve-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.reserve h2 { color: var(--cream); margin: 0.5rem 0 1.25rem; }
.reserve-sub {
  color: rgba(245, 241, 234, 0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.reserve-note {
  margin-top: 1.5rem;
  color: rgba(245, 241, 234, 0.55);
  font-size: 0.9rem;
}

/* ---------- Visit ---------- */
.visit {
  padding: 7rem 0;
  background: var(--bone);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.visit-copy h2 { margin-bottom: 1.5rem; }
.visit-address {
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  color: var(--forest);
}
.visit-hours {
  margin: 0 0 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.visit-hours div {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
}
.visit-hours dt {
  font-weight: 600;
  color: var(--forest);
}
.visit-hours dd {
  margin: 0;
  color: var(--text-muted);
}
.visit-phone {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}
.visit-phone a { color: var(--brass); }
.visit-dresscode {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}
.visit-media { margin: 0; }
.visit-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(44, 61, 52, 0.08);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-2);
  color: rgba(245, 241, 234, 0.75);
  padding: 4rem 0 2.5rem;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  margin: 0 0 1.25rem;
}
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
.footer-social a {
  color: var(--brass);
  display: inline-block;
}
.footer-social svg { width: 22px; height: 22px; }
.footer-social a:hover { color: var(--cream); }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 2rem;
}
.hp-attribution {
  font-size: 0.8rem;
  color: rgba(245, 241, 234, 0.5);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.hp-attribution strong { color: var(--brass); font-weight: 600; }
.hp-attribution a { color: var(--brass); }
.hp-attribution a:hover { color: var(--cream); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-ember, .hero-scroll-hint { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story-grid,
  .menu-columns,
  .private-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .private-grid .private-media { order: -1; }
  .visit-grid .visit-media { order: -1; }
  .story-media img,
  .private-media img,
  .visit-media img {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }
  .site-nav.menu-open .nav-links { transform: translateY(0); }
  .nav-toggle { display: block; }
  .site-nav { background: rgba(26, 26, 26, 0.9); }
  .hero-content { padding-top: 6rem; }
  .story,
  .menu,
  .private,
  .reserve,
  .visit { padding: 5rem 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { text-align: center; }
}
