/* ==========================================================================
   URBAN SPOON — Stylesheet
   Design tokens
   Color:  --cocoa (#4A2E1F) primary/text · --caramel (#B5651D) accent/CTA
           --cream (#FBF3E7) base · --cocoa-deep (#2E1B12) body text
           --caramel-light (#E8935F) hover/highlight · --cream-dim (#F1E4D3) panels
   Type:   Fraunces (display) · Playfair Display Italic (accent) · Nunito Sans (body)
   Layout is written in rem + clamp() so the experience scales consistently
   across phone / tablet / laptop rather than jumping at fixed breakpoints.
   ========================================================================== */

:root {
  --cocoa: #4A2E1F;
  --cocoa-deep: #2E1B12;
  --caramel: #B5651D;
  --caramel-light: #E8935F;
  --cream: #FBF3E7;
  --cream-dim: #F1E4D3;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: min(1200px, 92vw);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 8px 24px rgba(74, 46, 31, 0.12);
  --shadow-lift: 0 16px 40px rgba(74, 46, 31, 0.18);

  --nav-h: clamp(64px, 8vw, 84px);

  font-size: clamp(15px, 0.85vw + 11px, 18px);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  font-family: var(--font-body);
  color: var(--cocoa-deep);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--cocoa); margin: 0; line-height: 1.12; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--cocoa); color: var(--cream);
  padding: 0.8em 1.2em; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container { width: var(--container-w); max-width: 1200px; margin-inline: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--caramel); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--caramel-light); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline:hover { background: rgba(251,243,231,0.12); transform: translateY(-2px); }
.btn--outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: rgba(251,243,231,0.15); transform: translateY(-2px); }
.btn--ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn--ghost:hover { background: var(--cocoa); color: var(--cream); }
.btn--sm { padding: 0.55em 1.1em; font-size: 0.85rem; }
.btn--lg { padding: 1em 2em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ NAVIGATION ============ */
.nav {
  position: sticky; top: 0; z-index: 200; background: var(--cream);
  height: var(--nav-h); display: flex; align-items: center;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled { box-shadow: 0 4px 20px rgba(74,46,31,0.14); background: rgba(251,243,231,0.97); backdrop-filter: blur(6px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-mark { flex-shrink: 0; }
.logo-steam { animation: steamRise 3.5s ease-in-out infinite; transform-origin: center; }
@keyframes steamRise { 0%, 100% { opacity: 0.5; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cocoa); }
.nav__tagline { font-family: var(--font-accent); font-style: italic; font-size: 0.7rem; color: var(--caramel); }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a { font-weight: 700; font-size: 0.92rem; color: var(--cocoa-deep); position: relative; padding: 0.3em 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--caramel);
  transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--cocoa); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: var(--cream); z-index: 190;
  display: flex; flex-direction: column; justify-content: space-between; padding: 2rem 6vw 2.5rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(.6,0,.4,1); overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--cocoa); }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 0.8rem; }

/* ============ HERO ============ */
.hero { position: relative; background: linear-gradient(180deg, var(--cocoa) 0%, #3a2216 100%); overflow: hidden; padding-top: clamp(3rem, 8vw, 5rem); min-height: 100dvh; }
.hero__steam { position: absolute; right: 2%; top: 0; height: 100%; width: min(260px, 30vw); opacity: 0.35; pointer-events: none; }
.steam-svg { width: 100%; height: 100%; }
.steam-path { fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; opacity: 0.5; }
.steam-path--1 { animation: drift 7s ease-in-out infinite; }
.steam-path--2 { animation: drift 9s ease-in-out infinite 1s; }
.steam-path--3 { animation: drift 8s ease-in-out infinite 0.5s; }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-14px); opacity: 0.7; } }

.hero__inner { position: relative; z-index: 2; text-align: center; padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream); background: rgba(181,101,29,0.35); border: 1px solid rgba(251,243,231,0.35);
  padding: 0.5em 1.1em; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero__title {
  color: var(--cream); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -0.01em;
  max-width: 16ch; margin-inline: auto;
}
.hero__title em { font-family: var(--font-accent); font-style: italic; color: var(--caramel-light); font-weight: 400; }
.hero__sub {
  display: block; color: var(--cream-dim); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 46ch; margin: 1.4rem auto 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.trust-bar { background: var(--cream-dim); border-top: 1px solid rgba(74,46,31,0.08); }
.trust-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center;
  padding: clamp(1.2rem, 3vw, 1.8rem) 0;
}
.trust-stat { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.5rem; }
.trust-stat strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--cocoa); }
.trust-stat span { font-size: 0.78rem; font-weight: 700; color: var(--caramel); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============ SECTIONS (shared) ============ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section__eyebrow {
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--caramel); margin-bottom: 0.6rem;
}
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: clamp(1.8rem, 4vw, 2.6rem); max-width: 20ch; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ MENU ============ */
.menu-tabs {
  display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: clamp(2rem, 4vw, 3rem);
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex-shrink: 0; background: var(--cream-dim); border: 2px solid transparent; color: var(--cocoa);
  font-weight: 800; font-size: 0.88rem; padding: 0.6em 1.3em; border-radius: 999px; transition: all 0.2s ease;
}
.menu-tab:hover { border-color: var(--caramel-light); }
.menu-tab.is-active { background: var(--cocoa); color: var(--cream); }

.menu-category { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.menu-category__title { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 1.4rem; }
.menu-category__title span { font-family: var(--font-body); font-weight: 600; font-size: 0.7em; color: var(--caramel); text-transform: none; letter-spacing: 0; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.4rem; }
.menu-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.dish-card {
  position: relative; background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.dish-card__img {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
  background: repeating-linear-gradient(135deg, var(--cream-dim), var(--cream-dim) 12px, #e9d8c1 12px, #e9d8c1 24px);
  position: relative; overflow: hidden;
}
.dish-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dish-card--protein .dish-card__img { aspect-ratio: 16/9; font-size: 2.1rem; }
.dish-card__img--soup { background: repeating-linear-gradient(135deg, #eddcc6, #eddcc6 12px, #dfc7a3 12px, #dfc7a3 24px); }
.dish-card__img--pepper { background: repeating-linear-gradient(135deg, #f0dccb, #f0dccb 12px, #e3bd9a 12px, #e3bd9a 24px); }
.dish-card__img--native { background: repeating-linear-gradient(135deg, #ecdcc9, #ecdcc9 12px, #ddc19c 12px, #ddc19c 24px); }
.dish-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.dish-card__body h4 { font-size: 1.05rem; }
.dish-card__body p { font-size: 0.86rem; color: #6b4b36; flex: 1; }
.dish-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.4rem; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--cocoa); font-size: 0.98rem; }
.price small { font-weight: 600; color: var(--caramel); font-size: 0.72em; }
.price em { font-style: normal; font-size: 0.85em; }
.order-link {
  font-size: 0.78rem; font-weight: 800; color: var(--caramel); border-bottom: 1.5px solid var(--caramel-light); padding-bottom: 1px;
  transition: color 0.2s ease;
}
.order-link:hover { color: var(--cocoa); }
.badge {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2; background: var(--cocoa); color: var(--cream);
  font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.4em 0.7em; border-radius: 999px;
}
.menu-note { font-size: 0.85rem; color: #6b4b36; margin-top: 1rem; font-style: italic; }

/* ============ ORDER ============ */
.order { background: var(--cream-dim); }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.order-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft); }
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-split .form-row { margin-bottom: 1.2rem; }
label, legend { font-weight: 800; font-size: 0.85rem; color: var(--cocoa); }
fieldset { border: none; padding: 0; margin: 0 0 1.2rem; }
input, textarea, select {
  border: 2px solid var(--cream-dim); background: var(--cream); border-radius: var(--radius-sm); padding: 0.75em 0.9em;
  color: var(--cocoa-deep); transition: border-color 0.2s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--caramel); outline: none; }
.checklist { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 0.4rem; }
.checklist label { display: flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.88rem; color: var(--cocoa-deep); }
.checklist input { width: 16px; height: 16px; accent-color: var(--caramel); }
.form-hint { font-size: 0.78rem; color: #6b4b36; text-align: center; margin-top: 0.8rem; }

.order-side { display: flex; flex-direction: column; gap: 1.4rem; }
.order-side__panel { background: var(--cocoa); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; }
.order-side__panel h3 { color: var(--cream); font-size: 1.15rem; margin-bottom: 0.3rem; }
.perks { background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 0.7rem; }
.perks li { position: relative; padding-left: 1.6rem; font-weight: 700; font-size: 0.9rem; }
.perks li::before { content: '✓'; position: absolute; left: 0; color: var(--caramel); font-weight: 900; }
.urgency { background: var(--caramel); color: var(--cream); font-weight: 800; font-size: 0.88rem; padding: 1rem 1.3rem; border-radius: var(--radius-md); text-align: center; }

/* ============ STORY ============ */
.story__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__text p { font-size: 1.02rem; color: #5a3c2a; margin-bottom: 1rem; max-width: 46ch; }
.story__signature { font-family: var(--font-accent); font-style: italic; color: var(--caramel); font-size: 1.05rem; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-card {
  background: var(--white); border-radius: var(--radius-md); padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.6rem; align-items: center;
}
.story-card span { font-size: 1.8rem; }
.story-card h4 { font-size: 0.92rem; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--cocoa); }
.testimonials .section__eyebrow { color: var(--caramel-light); }
.testimonials .section__title { color: var(--cream); }
.testimonials__rating { color: var(--cream-dim); font-weight: 700; margin-bottom: clamp(2rem, 4vw, 2.6rem); display: block; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.testimonial-card { background: rgba(251,243,231,0.06); border: 1px solid rgba(251,243,231,0.14); border-radius: var(--radius-md); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial-card .stars { color: var(--caramel-light); letter-spacing: 0.1em; }
.testimonial-card p:nth-child(2) { color: var(--cream-dim); font-size: 0.92rem; flex: 1; }
.testimonial-card__who { display: flex; align-items: center; gap: 0.7rem; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--caramel); color: var(--cream); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 0.78rem; flex-shrink: 0;
}
.testimonial-card__who strong { display: block; color: var(--cream); font-size: 0.88rem; }
.testimonial-card__who small { color: var(--caramel-light); font-size: 0.75rem; }

/* ============ CTA BAND ============ */
.cta-band { background: linear-gradient(120deg, var(--caramel) 0%, var(--cocoa) 100%); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band p { color: var(--cream-dim); max-width: 44ch; font-size: 1.02rem; }
.cta-band__buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.6rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-list strong { font-size: 0.85rem; color: var(--caramel); }
.contact-list a, .contact-list span { font-weight: 700; }
.contact-list a:hover { color: var(--caramel); }

.hours-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.hours-table caption { text-align: left; font-weight: 800; padding: 0.9rem 1.1rem; background: var(--cocoa); color: var(--cream); caption-side: top; }
.hours-table tr { border-bottom: 1px solid var(--cream-dim); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 1.1rem; font-size: 0.86rem; font-weight: 600; }
.hours-table th { color: var(--cocoa-deep); }
.hours-table td { color: #6b4b36; }
.hours-table tr.is-today { background: var(--cream-dim); }
.hours-table tr.is-today th { color: var(--caramel); }

.quick-shortcuts { display: flex; flex-direction: column; gap: 0.6rem; }
.quick-shortcuts a {
  background: var(--white); border: 2px solid var(--cream-dim); border-radius: var(--radius-sm); padding: 0.7em 1em;
  font-size: 0.85rem; font-weight: 700; transition: border-color 0.2s ease, transform 0.2s ease;
}
.quick-shortcuts a:hover { border-color: var(--caramel-light); transform: translateX(4px); }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ============ FOOTER ============ */
.footer { background: var(--cocoa-deep); color: var(--cream-dim); padding: clamp(3rem, 6vw, 4rem) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h5 { color: var(--cream); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.footer__col a, .footer__col span { font-size: 0.95rem; font-weight: 600; }

@media (max-width: 900px) {
  .container { width: min(100%, calc(100vw - 2rem)); }
  .nav__inner { flex-wrap: wrap; gap: 1rem; }
  .nav__links { flex-wrap: wrap; justify-content: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
  .nav__cta { width: 100%; justify-content: center; }
  .hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
  .hero__title { max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: center; }
  .trust-bar__inner { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .order-grid,
  .story__inner,
  .story__grid,
  .contact-grid,
  .footer__grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .menu-tabs { gap: 0.65rem; }
  .menu-tab { padding: 0.65em 1rem; }
  .cta-band__buttons { justify-content: center; }
  .contact-map { min-height: 260px; }
  .contact-map iframe { min-height: 260px; }
}

@media (max-width: 550px) {
  .nav__burger { display: flex; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .hero { padding-top: clamp(2.5rem, 10vw, 3.5rem); }
  .trust-bar__inner { padding: clamp(1rem, 3vw, 1.4rem) 0; }
}
