/* ==========================================================================
   Madhu Kitchen's — demo site
   Design language: home-kitchen warmth. Terracotta + fresh green on warm
   cream, an all-serif Cormorant Garamond / Karla pairing for an intimate,
   handwritten-menu feel, and a rising-steam divider — the one visual idea
   that's unmistakably "hot food, cooked to order."

   Note: Madhu Kitchen's has exactly one public photo on Google — a
   delivery card, not food/venue imagery — so the hero treats it honestly
   as a real artifact (tilted card-in-frame) instead of faking a food shot.
   ========================================================================== */

:root {
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 22px; --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(69,10,10,.1);
  --shadow-md: 0 12px 30px rgba(69,10,10,.14);
  --shadow-lg: 0 26px 56px rgba(69,10,10,.2);

  --ink: #450A0A;
  --paper: #FFFBEB;
  --panel: #FDF0D5;
  --panel-2: #FFFFFF;
  --terracotta: #9A3412;
  --terracotta-d: #7C2D12;
  --green: #059669;
  --muted: #6b5646;
  --muted-2: #a3907c;
  --line: rgba(69,10,10,.13);
  --wa-green: #22C55E;
  --wa-green-d: #16A34A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.js [data-reveal], html.js [data-hero-el] { opacity: 0; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 600; }

.tag-label { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-d); display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-4); }
.tag-label::before { content: "◆"; color: var(--green); font-size: .7em; }

.lede { color: var(--muted); font-size: 1.15rem; max-width: 46ch; }

.stat-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--panel-2); color: var(--ink);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font: 700 .95rem/1 var(--font-body); font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stat-pill .stars { color: var(--terracotta); letter-spacing: 1px; font-size: .9em; }
.stat-pill b { font-weight: 800; color: var(--terracotta-d); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius-md); font: 700 1rem/1 var(--font-body); text-decoration: none; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease; }
.btn:focus-visible { outline: 2px solid var(--terracotta-d); outline-offset: 3px; }
.btn-wa { background: var(--wa-green); color: #06210f; box-shadow: 0 10px 26px rgba(34,197,94,.3); }
.btn-wa:hover { background: var(--wa-green-d); color: #fff; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

header.top { position: sticky; top: 0; z-index: 40; background: rgba(255,251,235,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px,5vw,48px); }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--terracotta-d); }

/* Rising-steam divider — the one motif that unmistakably says "hot food" */
.divider { height: 36px; background: var(--terracotta); position: relative; }
.divider svg { width: 100%; height: 100%; display: block; }

.hero { position: relative; padding: clamp(48px,7vw,88px) 0 clamp(56px,8vw,96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
h1.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.2rem); line-height: 1.06; letter-spacing: -.005em; margin: var(--sp-4) 0 var(--sp-5); color: var(--ink); }
h1.hero-title em { font-style: italic; color: var(--terracotta); font-weight: 500; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--sp-6); }

.hero-photo-wrap { position: relative; }

.card-frame { background: var(--panel-2); padding: 16px 16px 44px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); }
.card-frame [data-parallax] { aspect-ratio: 16 / 9.4; border-radius: var(--radius-sm); }
.card-tag { font: 700 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); text-align: center; margin-top: var(--sp-3); }

[data-parallax] { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
[data-parallax] img { width: 100%; height: 130%; object-fit: cover; object-position: 50% 15%; will-change: transform; }
.hero-badge-float { position: absolute; left: -14px; bottom: -18px; z-index: 3; }
@media (max-width: 640px) { .hero-badge-float { left: 8px; bottom: -14px; } }

.feature-type { background: var(--terracotta-d); padding: clamp(72px,10vw,120px) 0; position: relative; overflow: hidden; }
.feature-type .wrap { position: relative; z-index: 2; }
.feature-type blockquote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 5.2vw, 3.4rem); line-height: 1.14; color: var(--paper); max-width: 20ch; margin: 0; }
.feature-type .motif { position: absolute; right: clamp(-40px,4vw,40px); top: 50%; transform: translateY(-50%); width: clamp(160px, 26vw, 320px); opacity: .18; z-index: 1; }

.about { padding: clamp(64px,9vw,120px) 0; background: var(--panel); }
.about .wrap { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,6vw,72px); align-items: start; }
.about h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); margin-bottom: var(--sp-4); }
.about p.body { color: var(--muted); max-width: 56ch; margin: 0 0 var(--sp-4); }

.pull-quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; color: var(--terracotta-d); border-left: 3px solid var(--green); padding-left: var(--sp-5); margin: 0 0 var(--sp-6); position: sticky; top: 100px; }
.pull-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .8rem; color: var(--muted-2); margin-top: var(--sp-3); }

.showcase-list { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.showcase-list li { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-3); }

.gallery { padding: clamp(64px,9vw,120px) 0; }
.make-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,56px); align-items: center; }

.info { padding: clamp(64px,9vw,120px) 0; background: var(--panel); }
.info .wrap { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(24px,4vw,40px); }
.info-hours { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,40px); box-shadow: var(--shadow-sm); }
.info-hours h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: var(--sp-4); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-family: var(--font-body); }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hours-table td:first-child { color: var(--ink); font-weight: 700; width: 40%; }
.hours-table tr.today td { color: var(--terracotta-d); }
.hours-table tr:last-child td { border-bottom: none; }
.info-side { display: flex; flex-direction: column; gap: var(--sp-5); }
.info-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,30px); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: var(--sp-2); }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a.wa { color: var(--wa-green-d); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

.footer-cta { padding: clamp(72px,10vw,120px) 0; text-align: center; background: var(--terracotta-d); }
.footer-cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--paper); margin-bottom: var(--sp-3); }
.footer-cta p { color: #f3d9c4; max-width: 46ch; margin: 0 auto var(--sp-6); }

footer.site { padding: 26px 0; text-align: center; font-size: .8rem; color: var(--muted-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--terracotta-d); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .about .wrap { grid-template-columns: 1fr; }
  .pull-quote { position: static; }
  .info .wrap { grid-template-columns: 1fr; }
  .make-grid { grid-template-columns: 1fr; }
  .feature-type .motif { display: none; }
}
@media (max-width: 480px) { .hero-cta .btn { width: 100%; justify-content: center; } }
