/* ===== Yo Bowl Carrollton — "Chili Oil & Porcelain" design system ===== */
:root {
  /* Ink / neutrals */
  --ink: #211a15;
  --ink-soft: #5d524a;
  --ink-mute: #8a7d72;
  --cream: #f8f2e8;       /* porcelain */
  --cream-deep: #f1e8d8;
  --paper: #ffffff;
  --line: #ece1d1;

  /* Brand — lacquer red + chili-oil amber + gold */
  --accent: #be2f25;      /* lacquer chili red */
  --accent-dark: #8c1c14;
  --ember: #e89033;       /* chili-oil amber */
  --gold: #d6a437;
  --chili-oil: linear-gradient(125deg, #cf3622 0%, #be2f25 42%, #e89033 100%);
  --ink-grad: linear-gradient(160deg, #2a201a 0%, #1b1410 100%);

  --radius: 8px;
  --radius-lg: 18px;
  --maxw: 1180px;

  /* Layered, warm-tinted shadows */
  --shadow-sm: 0 2px 8px rgba(33,26,21,.06), 0 1px 2px rgba(33,26,21,.05);
  --shadow-md: 0 10px 28px rgba(33,26,21,.10), 0 2px 6px rgba(33,26,21,.06);
  --shadow-lg: 0 28px 60px rgba(33,26,21,.16), 0 8px 18px rgba(33,26,21,.08);
  --shadow-accent: 0 14px 32px rgba(190,47,37,.28);

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-ui: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Safety net: stop any stray element from forcing the page wider than the
   phone screen. `clip` (not `hidden`) so the sticky header keeps working. */
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Subtle paper grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  background-image: var(--chili-oil);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(190,47,37,.36);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
  background-image: none;
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(190,47,37,.45);
  box-shadow: none;
}
.btn--ghost:hover {
  background-image: none;
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.btn--lg { font-size: 16px; padding: 18px 42px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(33,26,21,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  transition: height .3s var(--ease);
}
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand .brand-mark {
  width: 46px; height: 46px;
  background: #f6efe6; border-radius: 50%; padding: 6px;
  box-shadow: var(--shadow-accent);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-name {
  font-family: "Bodoni Moda", var(--font-head);
  font-style: italic;
  font-weight: 900;
  white-space: nowrap;
  font-size: 21px;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--accent);
  margin-top: 4px;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 2px; background-image: var(--chili-oil);
  border-radius: 2px;
  transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-link {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.cart-link:hover { color: var(--accent); }
.cart-badge {
  background: var(--ink); color: #fff;
  font-size: 12px; min-width: 20px; height: 20px;
  border-radius: 10px; padding: 0 6px;
  display: grid; place-items: center;
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { height: 3px; background: var(--ink); border-radius: 2px; display: block; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #2a211c;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1.16); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(0,0,0,.18), transparent 55%),
    linear-gradient(180deg, rgba(20,12,9,.42) 0%, rgba(20,12,9,.30) 35%, rgba(20,12,9,.78) 100%),
    linear-gradient(120deg, rgba(140,28,20,.28), transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
  max-width: 820px;
}
.hero-logo-plate {
  display: inline-block;
  margin: 0 auto 30px;
  padding: 22px 36px;
  background: rgba(250,244,234,.96);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.6);
}
.hero-logo {
  width: 460px; max-width: 72vw; margin: 0; display: block;
}
.hero .section-eyebrow { color: var(--ember); justify-content: center; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 76px);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 6px 34px rgba(0,0,0,.4);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: #ffd9a8;
}
.hero p {
  font-family: var(--font-body);
  font-size: 20px;
  margin: 0 auto 34px;
  max-width: 560px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
section { padding: 96px 0; position: relative; z-index: 2; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background-image: var(--chili-oil);
  border-radius: 2px;
}
.center .section-eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background-image: linear-gradient(90deg, var(--ember), var(--accent));
  border-radius: 2px;
}
.section-title { font-size: clamp(30px, 4.4vw, 48px); }
.section-lead { color: var(--ink-soft); font-size: 19px; max-width: 620px; margin: 0 auto; }
.center { text-align: center; }
.center .section-eyebrow { justify-content: center; }

.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-media { position: relative; }
.feature-media::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid rgba(190,47,37,.30);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.feature-media img {
  position: relative; z-index: 1;
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.feature img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.feature h2 { font-size: clamp(28px, 3.6vw, 42px); }
.feature p { color: var(--ink-soft); font-size: 18px; margin-bottom: 30px; }

.band { background: var(--paper); }
.band-dark { background-image: var(--ink-grad); color: var(--cream); }
.band-dark .section-title, .band-dark h2 { color: #fff; }

/* ===== Photo grid ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid a, .photo-grid .cell {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  background: #efe7da;
  box-shadow: var(--shadow-sm);
}
.photo-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(140,28,20,.55));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.photo-grid a:hover::after { opacity: 1; }
.photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.photo-grid a:hover img, .photo-grid .cell:hover img { transform: scale(1.08); }

.ig-handle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700;
  color: var(--accent); font-size: 18px; margin-top: 6px;
  transition: color .2s var(--ease);
}
.ig-handle:hover { color: var(--accent-dark); }

/* ===== Reviews ===== */
.reviews { background: var(--cream); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.review-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 30px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.review-card::before {
  content: "\201C";
  position: absolute; top: 6px; right: 22px;
  font-family: var(--font-head);
  font-size: 110px; line-height: 1;
  color: rgba(190,47,37,.10);
}
.review-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background-image: var(--chili-oil);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card:hover::after { transform: scaleY(1); }
.stars { color: var(--gold); font-size: 19px; letter-spacing: 3px; margin-bottom: 16px; }
.review-card p { color: var(--ink-soft); font-size: 16px; margin: 0 0 20px; position: relative; }
.review-author { font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .03em; margin-top: auto; color: var(--ink); }

/* ===== Location / contact ===== */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.info-block { margin-bottom: 26px; }
.info-block h4 {
  font-family: var(--font-ui);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--cream-deep); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px; font-size: 13px; font-weight: 600;
  font-family: var(--font-ui); color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tag:hover { background: var(--accent); color: #fff; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.hours-table td:last-child { text-align: right; font-weight: 600; font-family: var(--font-ui); }

.contact-form { display: grid; gap: 18px; }
.contact-form label {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: .03em;
  display: block; margin-bottom: 7px; color: var(--ink-soft);
}
.contact-form label .req { color: var(--accent); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px; background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(190,47,37,.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.captcha {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; background: #fff; width: max-content;
}
.captcha input { width: 22px; height: 22px; }
.map-embed {
  width: 100%; height: 300px; border: 0; border-radius: var(--radius-lg);
  margin-top: 18px; box-shadow: var(--shadow-md);
}

/* ===== Catering ===== */
.catering-hero {
  text-align: center;
  padding: 110px 24px;
  background: linear-gradient(rgba(36,28,24,.78), rgba(36,28,24,.78));
  color: #fff;
  position: relative; z-index: 2;
}
.catering-hero .section-eyebrow { color: var(--ember); }
.catering-hero h1 { font-size: clamp(34px, 5.4vw, 60px); }
.catering-hero p { color: rgba(255,255,255,.9); }
.catering-img { max-width: 760px; margin: 50px auto 0; }
.catering-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ===== Footer ===== */
.site-footer {
  position: relative; z-index: 2;
  background-image: var(--ink-grad);
  color: #cbbfb2;
  padding: 64px 0 30px;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background-image: var(--chili-oil);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--font-ui);
  color: #fff; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid a { color: #cbbfb2; display: block; padding: 5px 0; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-grid a:hover { color: #fff; transform: translateX(3px); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 999px;
  color: #cbbfb2; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover {
  color: #fff; background: var(--accent); border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-social svg { width: 19px; height: 19px; display: block; }
.footer-bottom {
  border-top: 1px solid #3a2e26;
  margin-top: 44px; padding-top: 24px;
  font-size: 13px; color: #8a7e72;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .owner-login {
  color: #4b423b; text-decoration: none; font-size: 12px;
  opacity: .55; transition: opacity .2s, color .2s;
}
.footer-bottom .owner-login:hover { opacity: 1; color: #8a7e72; }

/* ===== Page intro ===== */
.page-head {
  background-image: var(--ink-grad);
  color: #fff; text-align: center; padding: 96px 24px 80px;
  position: relative; z-index: 2; overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 50% -10%, rgba(190,47,37,.30), transparent 60%);
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(34px, 5.2vw, 56px); }
.page-head p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 560px; margin: 0 auto; }
.page-head .section-eyebrow { color: var(--ember); justify-content: center; }

/* ===== Scroll reveal (progressive enhancement) ===== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: 0 14px 30px rgba(0,0,0,.1);
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .main-nav a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; flex: 0 0 auto; }
  /* Keep the hamburger on-screen: let the brand shrink, never the actions. */
  .brand { min-width: 0; }
  .header-actions { flex: 0 0 auto; }
  .header-actions .cart-link span.label { display: none; }
  .feature, .loc-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-media::before { inset: 12px -12px -12px 12px; }
  .feature img, .feature-media img { height: 320px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-grid, .photo-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
  /* Shorter hero so the content below it peeks up on a phone screen */
  .hero { min-height: min(560px, 80vh); }
  .hero-content { padding: 72px 20px; }
}

/* Phones: the header has to fit brand + Order button + hamburger in ~360px.
   Drop the (always-zero, redundant) cart link and tighten everything. */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 10px; }
  .header-actions .cart-link { display: none; }
  .brand-name small { display: none; }
  .brand-mark { width: 42px; height: 42px; font-size: 17px; }
  .brand-name { font-size: 19px; }
  .header-actions .btn { padding: 11px 16px; font-size: 12px; white-space: nowrap; }
  /* Compact hero so the Order CTA lands above the fold on a phone */
  .hero { min-height: min(440px, 72vh); }
  .hero-content { padding: 34px 18px; }
  .hero-logo-plate { padding: 15px 22px; margin-bottom: 18px; border-radius: 18px; }
  .hero-logo { width: 300px; }
  .hero .section-eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 12px; }
  .hero p { font-size: 16px; margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; transform: scale(1.05); }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ===== Contact form submit status ===== */
.form-status {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}
.form-status.ok  { background: #e7f4e8; color: #1f7a32; border: 1px solid #b9e0bf; }
.form-status.err { background: #fdecea; color: var(--accent-dark); border: 1px solid #f3c4be; }
.contact-form .h-captcha { margin: 4px 0 8px; }
