/* Ember & Oak — café template
   Palette: cream / espresso / terracotta / sage
   Type: Fraunces (display, warm serif) · Manrope (body)
*/

:root {
  --cream: #faf3ea;
  --cream-2: #f3e7d8;
  --espresso: #2b1c14;
  --espresso-soft: #3d2a1e;
  --terracotta: #c1622f;
  --terracotta-deep: #a34d21;
  --sage: #7c8a63;
  --gold: #d7a34a;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }

.kicker {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 0.75rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost { border-color: rgba(250,243,234,0.75); color: #fff; }
.btn-ghost:hover { background: rgba(250,243,234,0.14); }

/* demo flag */
.demo-flag {
  background: var(--espresso);
  color: var(--cream-2);
  font-family: var(--body);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.demo-flag strong { color: var(--gold); }
.demo-flag a { margin-left: 0.75rem; text-decoration: underline; color: var(--cream); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43,28,20,0.08);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--espresso);
}
.brand span { color: var(--terracotta); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--espresso-soft); }
.nav-links a:hover { color: var(--terracotta); }
.nav-cta { background: var(--espresso); color: var(--cream) !important; padding: 0.55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--terracotta) !important; color: #fff !important; }
.nav-toggle { display: none; }

/* hero */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center 65%;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,12,7,0.92) 0%, rgba(20,12,7,0.55) 45%, rgba(20,12,7,0.15) 75%);
}
.hero-in { position: relative; padding-bottom: clamp(3rem, 8vh, 5.5rem); max-width: 640px; }
.hero-fade { display: none; }
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
}
.hero .lead { font-size: 1.125rem; max-width: 46ch; color: rgba(255,255,255,0.88); margin: 0 0 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* strip */
.strip { background: var(--espresso); color: var(--cream-2); }
.strip-in {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: 1.6rem; gap: 1rem 2rem;
}
.strip-in div { display: flex; flex-direction: column; gap: 0.2rem; }
.strip-in strong { font-family: var(--display); font-size: 1.15rem; color: var(--gold); }
.strip-in span { font-size: 0.8125rem; color: rgba(243,231,216,0.7); }

/* story */
.story { padding-block: clamp(4rem, 10vw, 7rem); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-copy h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.1;
  margin: 0 0 1.1rem;
}
.story-copy p { max-width: 52ch; margin: 0 0 1rem; color: var(--espresso-soft); }
.story-photo {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%;
  box-shadow: 0 30px 60px -20px rgba(43,28,20,0.35);
}

/* menu */
.menu { padding-block: clamp(3rem, 8vw, 5rem); background: var(--cream-2); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); }
.section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.menu-card { background: var(--cream); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(43,28,20,0.35); }
.menu-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.menu-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 1.1rem 1.25rem 0.4rem; }
.menu-card p { margin: 0 1.25rem 1rem; color: var(--espresso-soft); font-size: 0.9375rem; }
.menu-card .price { display: block; margin: 0 1.25rem 1.25rem; font-weight: 700; color: var(--terracotta-deep); }
.menu-note { text-align: center; margin-top: 2.5rem; font-size: 0.875rem; color: var(--espresso-soft); font-style: italic; }

/* texture band (quote) */
.texture-band {
  position: relative;
  background-size: cover; background-position: center;
  padding-block: clamp(4rem, 9vw, 6rem);
  color: #fff; text-align: center;
}
.texture-band::before { content: ''; position: absolute; inset: 0; background: rgba(43,28,20,0.72); }
.texture-band .wrap { position: relative; max-width: 640px; }
.texture-band p { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.3; margin: 0 0 1rem; }
.texture-band span { font-size: 0.875rem; letter-spacing: 0.05em; color: var(--gold); }

/* gallery */
.gallery { padding-block: clamp(4rem, 9vw, 6rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  height: clamp(360px, 55vw, 560px);
}
.gallery-item { background-size: cover; background-position: center; border-radius: 18px; }
.gallery-item--tall { grid-row: 1 / 3; }

/* order plugin showcase */
.order-plugin { padding-block: clamp(3rem, 8vw, 5rem); background: var(--espresso); color: var(--cream-2); }
.order-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.order-plugin h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 1.1rem; color: #fff; }
.order-plugin > .wrap > div:first-child p { max-width: 46ch; color: rgba(243,231,216,0.78); }
.order-plugin .kicker { color: var(--gold); }
.order-mock { background: var(--cream); color: var(--espresso); border-radius: 18px; padding: 1.5rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.order-mock-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed rgba(43,28,20,0.15); font-size: 0.9375rem; }
.order-mock-row--total { border-bottom: none; font-weight: 700; padding-top: 0.9rem; }
.order-mock-btn { margin-top: 1.2rem; background: var(--terracotta); color: #fff; text-align: center; padding: 0.85rem; border-radius: 10px; font-weight: 700; font-size: 0.9375rem; }

/* visit / cta */
.visit { position: relative; background-size: cover; background-position: center; color: #fff; }
.visit::before { content: ''; position: absolute; inset: 0; background: rgba(20,12,7,0.82); }
.visit-in { position: relative; padding-block: clamp(4rem, 9vw, 6rem); }
.visit h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 2.5rem; }
.visit-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.visit-cols .kicker { color: var(--gold); }
.visit-cols p:last-child { margin: 0; line-height: 1.7; }
.visit-cols a { text-decoration: underline; }

/* footer */
.site-footer { background: #1d130d; color: rgba(243,231,216,0.6); }
.footer-in { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1.5rem; font-size: 0.8125rem; }
.footer-credit a { color: var(--gold); text-decoration: underline; }

/* responsive */
@media (max-width: 860px) {
  .story-grid, .order-in { grid-template-columns: 1fr; }
  .story-photo { order: -1; max-width: 320px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 200px; }
  .gallery-item--tall { grid-row: auto; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 64px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter);
    gap: 1.5rem; transform: translateX(100%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle {
    display: block; width: 34px; height: 24px; position: relative;
    background: none; border: none; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--espresso);
  }
  .nav-toggle::before { top: 0; }
  .nav-toggle span { top: 11px; }
  .nav-toggle::after { bottom: 0; }
  .strip-in { grid-template-columns: 1fr; }
}
