/* ===========================================================
   THE DIVINE KITCHEN — stylesheet
   Design tokens live at the top. Colors pulled from the logo:
   turmeric gold, leaf green, warm cream, and deep ink for text.
   =========================================================== */

:root{
  /* --- palette --- */
  --gold-deep:   #B5872B;
  --gold-text:   #8A5F1C;   /* AA-safe gold for small/body-size text */
  --gold:        #D2A542;
  --gold-light:  #E9C877;
  --leaf-deep:   #5C7A3B;
  --leaf:        #7FA150;
  --leaf-light:  #EEF2E4;
  --leaf-black:  #1F2B18;   /* deep near-black green for footer/dark sections -- on-brand instead of a neutral ink */
  --terracotta:  #A8532C;   /* CTA accent, from the roll/paratha tone */
  --cream:       #FBF6EC;
  --cream-deep:  #F3EAD6;
  --ink:         #2C2620;
  --ink-soft:    #6B6156;
  --white:       #FFFFFF;
  --line:        rgba(44,38,32,0.12);

  /* --- type --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* --- layout --- */
  --max-w: 1160px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(44,38,32,0.32);
  --shadow-card: 0 10px 28px -14px rgba(44,38,32,0.20), 0 2px 6px -2px rgba(44,38,32,0.10);
  --shadow-ambient: 0 2px 5px -2px rgba(44,38,32,0.14);
  --ease-premium: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

/* subtle paper-grain texture, sitewide — imperceptible up close, keeps flat
   color fields from reading as plain CSS backgrounds */
body::after{
  content:"";
  position:fixed; inset:0; z-index:2147483647;
  pointer-events:none;
  opacity:.035;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce){ body::after{ display:none; } }

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  /* the off-canvas mobile nav (see .nav-links @960px) sits fully off to the
     right via translateX(100%) rather than being removed from flow, which
     otherwise widens the document's scrollable area on every page below
     960px -- this keeps that off-canvas panel from ever creating real
     horizontal scroll/rubber-band on mobile. */
  overflow-x:hidden;
}

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

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

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  color:var(--ink);
  text-wrap:balance;
}
h1{ font-size:clamp(2.4rem, 5.6vw, 4.2rem); font-weight:560; letter-spacing:-0.02em; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.55rem); letter-spacing:-0.01em; }
h3{ font-size:1.2rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }
.tagline-script{ font-family:var(--font-display); font-style:italic; font-weight:500; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-body);
  font-weight:700;
  font-size:.96rem;
  padding:.85em 1.5em;
  border-radius:999px;
  border:1.5px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium), background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:focus-visible{ outline:3px solid var(--gold-deep); outline-offset:3px; }
.btn:active{ transform:translateY(1px); }

.btn-primary, .btn-gold{ position:relative; overflow:hidden; isolation:isolate; }
.btn-primary::before, .btn-gold::before{
  content:""; position:absolute; inset:0 auto 0 -60%; width:45%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.4), transparent);
  transform:skewX(-18deg);
  transition:left .6s var(--ease-premium);
  pointer-events:none;
}
.btn-primary:hover::before, .btn-gold:hover::before{ left:130%; }

.btn-primary{
  background:var(--leaf-deep);
  color:var(--white);
  box-shadow:var(--shadow-card);
}
.btn-primary:hover{ background:var(--leaf); box-shadow:var(--shadow-soft); transform:translateY(-2px); }

.btn-outline{
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}
.btn-outline:hover{ border-color:var(--ink); background:var(--white); transform:translateY(-2px); box-shadow:var(--shadow-ambient); }

.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-deep));
  color:var(--white);
  box-shadow:var(--shadow-card);
}
.btn-gold:hover{ box-shadow:var(--shadow-soft); transform:translateY(-2px); }

.btn-sm{ padding:.55em 1.1em; font-size:.82rem; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,246,236,0.85);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  transition:box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled{
  background:rgba(251,246,236,0.94);
  box-shadow:0 12px 30px -20px rgba(44,38,32,0.35);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  gap:16px;
}
.brand{ display:flex; align-items:center; gap:.6em; text-decoration:none; }
.brand img{ height:42px; width:42px; border-radius:50%; }
.brand-word{ font-family:var(--font-display); font-size:1.05rem; font-weight:700; color:var(--ink); line-height:1.1; }
.brand-word span{ color:var(--leaf-deep); }

.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-size:.92rem; font-weight:600; color:var(--ink-soft); transition:color .15s; }
.nav-links a:hover{ color:var(--leaf-deep); }

.header-actions{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:9px; }
.nav-toggle svg{ width:26px; height:26px; }

@media (max-width: 960px){
  .nav-links{
    /* top/left/right + an explicit viewport-relative height, rather than
       inset's bottom:0, on purpose: .site-header has backdrop-filter for the
       glass effect, and a backdrop-filter (like filter) ancestor becomes the
       containing block for position:fixed descendants. That silently
       shrinks this panel to the header's own (tiny) box if its height is
       resolved via top+bottom, so it's pinned with 100vh-based math instead,
       which is always relative to the true viewport regardless of that. */
    position:fixed; top:64px; left:0; right:0; height:calc(100vh - 64px); z-index:40;
    background:var(--cream);
    flex-direction:column; align-items:flex-start;
    padding:28px 28px; gap:20px;
    transform:translateX(100%);
    transition:transform .28s ease;
    overflow-y:auto;
    box-shadow:var(--shadow-soft);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:1.15rem; }
  .nav-toggle{ display:inline-flex; }
  .header-actions .btn-primary span.long{ display:none; }
  .header-actions .btn-primary{ padding:.65em; min-width:44px; min-height:44px; justify-content:center; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:64px 0 40px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-art{ order:-1; }
  .hero-copy{ order:2; }
}

.hero-copy p.lead{ font-size:1.08rem; max-width:46ch; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin:1.6em 0; }

.hero-badges{
  display:flex; flex-wrap:wrap; gap:10px 22px;
  margin-top:1.6em;
}
.hero-badge{
  display:flex; align-items:center; gap:.5em;
  font-size:.86rem; font-weight:700; color:var(--ink);
}
.hero-badge svg{ width:18px; height:18px; color:var(--leaf-deep); flex-shrink:0; }

.hero-art{
  position:relative;
  border-radius:var(--radius);
  background:linear-gradient(135deg, var(--gold-light), var(--leaf));
  aspect-ratio:4/3;
  max-height:520px;
  display:block;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  isolation:isolate;
}
.hero-art img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  object-position:center;
  animation:heroKenBurns 18s ease-in-out infinite alternate;
  filter:saturate(1.12) contrast(1.06) sepia(.04) brightness(1.01);
}
.hero-art::after{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(120% 100% at 50% 45%, rgba(44,38,32,0) 45%, rgba(44,38,32,.16) 100%),
    linear-gradient(200deg, rgba(44,38,32,0) 55%, rgba(44,38,32,.55) 100%);
  pointer-events:none;
}
@keyframes heroKenBurns{
  0%{ transform:scale(1) translate3d(0,0,0); }
  100%{ transform:scale(1.06) translate3d(-1%,-1%,0); }
}
.hero-art-badge{
  position:absolute; z-index:2; left:18px; bottom:18px;
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(251,246,236,0.95);
  color:var(--ink);
  font-family:var(--font-mono);
  font-size:.72rem; font-weight:700; letter-spacing:.04em;
  padding:8px 14px; border-radius:999px;
  box-shadow:var(--shadow-card);
}
.hero-art-badge svg{ width:14px; height:14px; color:var(--gold-deep); }
.hero-rating{
  display:flex; align-items:center; gap:10px; margin-top:1.4em;
}
.hero-rating .stars-row{ color:var(--gold); letter-spacing:2px; font-size:.95rem; }
.hero-rating span{ font-size:.82rem; font-weight:600; color:var(--ink-soft); }

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}
.hero-copy > *{ animation:fadeUp .7s ease both; }
.hero-copy > *:nth-child(1){ animation-delay:.02s; }
.hero-copy > *:nth-child(2){ animation-delay:.1s; }
.hero-copy > *:nth-child(3){ animation-delay:.18s; }
.hero-copy > *:nth-child(4){ animation-delay:.26s; }
.hero-copy > *:nth-child(5){ animation-delay:.34s; }
.hero-copy > *:nth-child(6){ animation-delay:.42s; }
.hero-art{ animation:fadeUp .8s ease .1s both; }

/* ---------- scrolling highlights marquee ---------- */
.marquee-bar{
  background:var(--leaf-black); color:var(--cream);
  overflow:hidden; white-space:nowrap;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.marquee-track{
  display:inline-flex; align-items:center; gap:14px;
  animation:marqueeScroll 32s linear infinite;
  will-change:transform;
}
.marquee-bar:hover .marquee-track{ animation-play-state:paused; }
.marquee-item{
  font-family:var(--font-mono); font-size:.82rem; font-weight:600;
  letter-spacing:.03em; color:var(--cream);
}
.marquee-dot{ color:var(--gold); font-size:.9rem; }
@keyframes marqueeScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .hero-art img{ animation:none; }
  .marquee-track{ animation:none; }
  .hero-copy > *, .hero-art{ animation:none; }
}

/* contact strip */
.contact-strip{
  background:var(--cream-deep);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.contact-strip .wrap{
  display:flex; flex-wrap:wrap; gap:22px;
  padding:18px 24px;
  justify-content:space-between;
}
.contact-item{
  display:flex; align-items:center; gap:.7em;
  text-decoration:none; color:var(--ink);
  font-size:.88rem;
}
.contact-item svg{ width:20px; height:20px; color:var(--gold-deep); flex-shrink:0; }
.contact-item strong{ display:block; font-size:.9rem; }
.contact-item small{ color:var(--ink-soft); font-weight:500; }

/* ---------- section divider (refined hairline + ornament) ---------- */
.section-divider{
  display:flex; align-items:center; justify-content:center; gap:16px;
  max-width:260px; margin:0 auto; padding:34px 0;
}
.section-divider span{
  flex:1; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.section-divider svg{ width:15px; height:15px; color:var(--gold-deep); flex-shrink:0; }

/* legacy leaf-shaped svg divider (kept in case any page still references it) */
.leaf-divider{
  display:block; width:100%; height:34px;
  color:var(--cream);
}
.leaf-divider path{ fill:currentColor; }

/* ---------- section shell ---------- */
section{ padding:76px 0; }
.section-head{ max-width:640px; margin:0 auto 44px; text-align:center; }
.section-head p:only-child{ font-size:1.05rem; max-width:52ch; margin:0 auto; }

.section-alt{ background:var(--cream-deep); }

/* ---------- about ---------- */
.about-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center;
}
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; } }
.value-row{ display:flex; gap:28px; flex-wrap:wrap; margin:1.6em 0; }
.value-item{ display:flex; gap:.7em; align-items:flex-start; max-width:220px; }
.value-item svg{ width:22px; height:22px; color:var(--leaf-deep); flex-shrink:0; margin-top:2px; }
.value-item strong{ display:block; font-size:.95rem; margin-bottom:2px; }
.value-item span{ font-size:.85rem; color:var(--ink-soft); }

/* ---------- menu cards ---------- */
.menu-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
@media (max-width:980px){ .menu-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .menu-grid{ grid-template-columns:1fr; } }

/* two-up grid for wider cards (e.g. thalis with longer ingredient lists) */
.menu-grid-thali{
  display:grid; grid-template-columns:repeat(2,1fr); gap:22px;
}
@media (max-width:760px){ .menu-grid-thali{ grid-template-columns:1fr; } }

.dish-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}
.dish-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.dish-media{
  aspect-ratio:4/3;
  background:radial-gradient(130% 130% at 50% 0%, var(--cream-deep) 0%, var(--leaf-light) 100%);
  display:block;
  position:relative;
  overflow:hidden;
  padding:16px;
}
.dish-media img{
  width:100%; height:100%; object-fit:contain; object-position:center; display:block;
  transition:transform .5s var(--ease-premium);
  /* NOTE: deliberately no CSS filter() here — combined with this element's
     padding + object-fit:contain + an overflow:hidden/border-radius
     ancestor, applying any filter() to this image corrupts the paint of
     the sibling .sample-tag badge in Chromium (verified via screenshot
     testing). Hero and founder photos don't hit this since they use
     object-fit:cover with no padding. */
}
.dish-card:hover .dish-media img{ transform:scale(1.045); }
.dish-media svg{ width:44px; height:44px; color:var(--leaf); opacity:.55; }
.dish-media-icon{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.sample-tag{
  position:absolute; top:10px; left:10px;
  background:rgba(44,38,32,0.72);
  color:var(--white);
  font-family:var(--font-mono);
  font-size:.62rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:4px 8px;
  border-radius:6px;
}
.dish-body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.dish-body h3{ margin:0; }
.dish-body p{ font-size:.87rem; margin:0; flex:1; }
.dish-price{ font-family:var(--font-mono); font-weight:700; color:var(--gold-text); font-size:1rem; }

.menu-footer{ text-align:center; margin-top:38px; }

/* ---------- how to order ---------- */
.steps{
  display:grid; grid-template-columns:repeat(5,1fr); gap:0 8px;
  position:relative;
}
@media (max-width:1080px){ .steps{ grid-template-columns:repeat(3,1fr); gap:36px 16px; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr 1fr; gap:32px 14px; } }
@media (max-width:400px){ .steps{ grid-template-columns:1fr; } }
.step{ text-align:center; padding:0 14px; position:relative; }
.step-num{
  width:56px; height:56px; border-radius:50%;
  background:var(--white);
  border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  font-family:var(--font-display); font-weight:700; color:var(--gold-deep);
  box-shadow:var(--shadow-card);
}
.step-num svg{ width:24px; height:24px; }
.step h3{ font-size:1.02rem; }
.step p{ font-size:.86rem; }
.step:not(:last-child)::after{
  content:"";
  position:absolute; top:28px; left:calc(50% + 28px); width:calc(100% - 48px); height:2px;
  background:repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
@media (max-width:1080px){ .step:not(:last-child)::after{ display:none; } }

/* ---------- reviews ---------- */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .review-grid{ grid-template-columns:1fr; } }
.review-card{
  background:var(--white); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow-card);
  display:flex; flex-direction:column; gap:14px;
}
.stars{ color:var(--gold); letter-spacing:2px; font-size:1rem; }
.review-card p{ font-size:.94rem; margin:0; }
.review-who{ font-size:.85rem; font-weight:700; color:var(--ink); }
.review-who span{ display:block; font-weight:500; color:var(--ink-soft); font-size:.8rem; }
.review-footer{ text-align:center; margin-top:34px; }

/* ---------- social ---------- */
.social-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:900px){ .social-grid{ grid-template-columns:1fr; } }
.social-card{
  background:var(--white); border-radius:var(--radius); padding:26px;
  text-align:center; box-shadow:var(--shadow-card);
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.social-card svg{ width:34px; height:34px; color:var(--leaf-deep); }
.social-card h3{ margin:0; }
.social-card p{ font-size:.85rem; margin:0 0 8px; }

/* ---------- contact / form ---------- */
.info-card{
  background:var(--white); border-radius:var(--radius); padding:28px;
  box-shadow:var(--shadow-card);
}
.info-line{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.info-line svg{ width:22px; height:22px; color:var(--gold-deep); flex-shrink:0; margin-top:2px; }
.info-line strong{ display:block; }
.info-line span{ font-size:.88rem; color:var(--ink-soft); }

/* ---------- footer ---------- */
footer{
  background:var(--leaf-black); color:#EDE6D8; padding:64px 0 26px;
  border-top:1px solid transparent;
  border-image:linear-gradient(90deg, transparent, var(--gold) 50%, transparent) 1;
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px;
  padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.12);
}
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:.6em; margin-bottom:12px; }
.footer-brand img{ height:38px; width:38px; border-radius:50%; }
.footer-brand span{ font-family:var(--font-display); font-weight:700; color:var(--white); }
footer p{ color:#C9BFAE; font-size:.88rem; }
footer h4{ color:var(--white); font-family:var(--font-body); font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:14px; }
footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
footer ul a{ color:#C9BFAE; text-decoration:none; font-size:.88rem; }
footer ul a:hover{ color:var(--gold-light); }
.footer-social{ display:flex; gap:12px; margin-top:14px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
  transition:background .15s;
}
.footer-social a:hover{ background:var(--gold-deep); }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:22px; font-size:.8rem; color:#9C917E; flex-wrap:wrap; gap:10px;
}

/* ---------- notice box (legal pages, etc) ---------- */
.notice-box{
  display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap;
  background:var(--cream-deep); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:16px 18px; margin-bottom:32px;
}
.notice-box .badge-editme{ margin-top:3px; flex-shrink:0; }
.notice-box p{ margin:0; font-size:.9rem; flex:1; min-width:200px; }

/* ---------- misc ---------- */
span.badge-editme{
  display:inline-block; margin-top:6px;
  background:var(--terracotta); color:var(--white);
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.06em;
  text-transform:uppercase; padding:3px 9px; border-radius:6px;
}
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--leaf-black); color:var(--white); padding:10px 16px; border-radius:8px;
  z-index:100;
}
.skip-link:focus{ left:16px; top:16px; }

/* ===========================================================
   ADDITIONS — multi-page site: banners, new components,
   active nav state, sticky mobile CTA bar, back-to-top,
   and refined responsive breakpoints.
   =========================================================== */

/* active nav link */
.nav-links a.active{ color:var(--leaf-deep); position:relative; }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--gold-deep); border-radius:2px;
}
@media (max-width:960px){ .nav-links a.active::after{ display:none; } .nav-links a.active{ color:var(--leaf-deep); font-weight:800; } }

/* focus states for footer / social / nav */
.nav-links a:focus-visible,
.contact-item:focus-visible,
footer a:focus-visible,
.footer-social a:focus-visible,
.brand:focus-visible{
  outline:3px solid var(--gold-deep); outline-offset:3px; border-radius:4px;
}

/* ---------- page banner (inner pages) ---------- */
.page-banner{
  padding:56px 0 40px;
  background:linear-gradient(160deg, var(--cream-deep) 0%, var(--cream) 70%);
  border-bottom:1px solid var(--line);
  text-align:center;
}
.page-banner h1{ margin-bottom:.35em; font-size:clamp(2rem, 4.4vw, 3rem); }
.page-banner p{ max-width:56ch; margin:0 auto; color:var(--ink-soft); }

/* ---------- cta band ---------- */
.cta-band{
  background:var(--leaf-deep);
  color:var(--white);
  padding:56px 0;
}
.cta-band-inner{
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2, .cta-band p{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,0.86); max-width:48ch; margin-bottom:0; }
.cta-band .btn-primary{ background:var(--white); color:var(--leaf-deep); }
.cta-band .btn-primary:hover{ background:var(--cream); }
.cta-band .btn-outline{ border-color:rgba(255,255,255,0.5); color:var(--white); }
.cta-band .btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }
.btn-lg{ padding:1em 1.9em; font-size:1.02rem; }
@media (max-width:700px){ .cta-band-inner{ flex-direction:column; align-items:flex-start; text-align:left; } .cta-band-inner .hero-ctas{ width:100%; } }

/* ---------- why-us cards (about page) ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
@media (max-width:980px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{
  background:var(--white); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow-card); text-align:left;
  transition:transform .2s ease, box-shadow .2s ease;
}
.why-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-soft); }
.why-card svg{ width:30px; height:30px; color:var(--leaf-deep); margin-bottom:12px; }
.why-card h3{ font-size:1.05rem; margin-bottom:.3em; }
.why-card p{ font-size:.88rem; margin:0; }

/* ---------- stats row ---------- */
.stats-row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  text-align:center; padding:36px 0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
@media (max-width:700px){ .stats-row{ grid-template-columns:1fr 1fr; gap:28px; } }
.stat strong{ display:block; font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.2rem); color:var(--gold-deep); }
.stat span{ font-size:.82rem; color:var(--ink-soft); font-weight:600; }

/* ============ ADDITIONS — Phase 3 menu & food presentation ============ */

.menu-jump{
  display:flex; gap:10px; flex-wrap:nowrap; overflow-x:auto;
  margin:0 0 40px; padding:4px 2px 10px;
  -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
.menu-jump a{
  flex:0 0 auto;
  font-family:var(--font-mono); font-size:.72rem; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase;
  color:var(--ink-soft); background:var(--white);
  border:1.5px solid var(--line); border-radius:999px;
  padding:.55em 1.1em; text-decoration:none;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
  white-space:nowrap;
}
.menu-jump a:hover, .menu-jump a:focus-visible{
  border-color:var(--gold); color:var(--gold-deep); background:var(--cream-deep);
}

.menu-category{ scroll-margin-top:110px; }

.menu-cat-intro{ margin:8px 0 22px; font-size:.92rem; max-width:60ch; color:var(--ink-soft); }

.menu-cat-price-note{
  display:inline-block;
  font-family:var(--font-mono); font-size:.68rem; color:var(--ink-soft);
  font-weight:600; letter-spacing:.02em;
}

/* missing dish image fallback (mirrors founder-photo pattern) */
.dish-media .dish-media-icon{
  display:none; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; width:100%; height:100%;
}
.dish-media.is-missing img{ display:none; }
.dish-media.is-missing .dish-media-icon{ display:flex; }
.dish-media .dish-media-icon span{
  font-family:var(--font-mono); font-size:.62rem; color:var(--ink-soft);
  text-transform:uppercase; letter-spacing:.05em;
}

/* featured single-item dish card (Main Meals / Karnataka / Kerala specials) */
.featured-dish{
  display:grid; grid-template-columns:minmax(0,380px) 1fr; gap:0; align-items:stretch;
}
.featured-dish .dish-media{ aspect-ratio:auto; height:100%; min-height:260px; }
.featured-dish .dish-body{ padding:28px 32px; justify-content:center; gap:12px; }
.featured-dish .dish-body h3{ font-size:1.45rem; }
.featured-dish .dish-body p{ font-size:.96rem; }
.featured-dish .dish-price{ font-size:1.2rem; }
@media (min-width:761px){
  .featured-dish .dish-body .btn{ width:auto; align-self:flex-start; padding-left:1.9em; padding-right:1.9em; }
}
@media (max-width:760px){
  .featured-dish{ grid-template-columns:1fr; }
  .featured-dish .dish-media{ aspect-ratio:16/10; height:auto; min-height:0; }
  .featured-dish .dish-body{ padding:22px; }
}

/* ---------- menu page ---------- */
.menu-notice{
  display:flex; align-items:center; gap:18px;
  background:linear-gradient(135deg, var(--cream-deep) 0%, var(--cream) 100%);
  border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 26px; margin-bottom:40px;
  box-shadow:var(--shadow-ambient);
}
.menu-notice-icon{
  width:46px; height:46px; border-radius:50%; flex-shrink:0;
  background:var(--white); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-card);
}
.menu-notice-icon svg{ width:22px; height:22px; }
.menu-notice-body strong{ display:block; font-family:var(--font-display); font-size:1.05rem; font-weight:600; margin-bottom:3px; color:var(--ink); }
.menu-notice-body p{ margin:0; font-size:.9rem; color:var(--ink-soft); }
@media (max-width:560px){
  .menu-notice{ flex-direction:column; align-items:flex-start; text-align:left; gap:12px; padding:20px 22px; }
}
.menu-category{ margin-bottom:52px; }
.menu-category:last-of-type{ margin-bottom:36px; }
.menu-cat-title{
  font-size:1.35rem; margin-bottom:22px; padding-bottom:10px;
  border-bottom:2px solid var(--gold-light);
  display:inline-block;
}
.menu-cat-note{ font-family:var(--font-mono); font-size:.62rem; color:var(--ink-soft); font-weight:500; vertical-align:middle; }

/* ---------- how to order: info + faq ---------- */
.info-two-col{ display:grid; grid-template-columns:1fr 1.15fr; gap:32px; align-items:start; }
@media (max-width:900px){ .info-two-col{ grid-template-columns:1fr; } }
.faq-card{
  background:var(--white); border-radius:var(--radius); padding:28px;
  box-shadow:var(--shadow-card);
}
.faq-card h3{ margin-bottom:.8em; }
.faq-item{
  border-bottom:1px solid var(--line); padding:14px 0;
}
.faq-item:last-child{ border-bottom:none; padding-bottom:0; }
.faq-item summary{
  cursor:pointer; font-weight:700; font-size:.96rem; color:var(--ink);
  list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-size:1.2rem; color:var(--leaf-deep); flex-shrink:0; line-height:1;
}
.faq-item[open] summary::after{ content:"\2212"; }
.faq-item p{ margin:.7em 0 0; font-size:.9rem; }

/* ---------- contact page: social cards inside info card ---------- */
.social-grid-compact{ margin-top:22px; padding-top:22px; border-top:1px solid var(--line); gap:14px; }
.social-grid-compact .social-card{ padding:16px; text-decoration:none; }
.social-grid-compact .social-card svg{ width:26px; height:26px; }
.social-grid-compact .social-card h3{ font-size:.92rem; }
.social-grid-compact .social-card p{ font-size:.78rem; }
.social-card{ transition:transform .18s ease, box-shadow .18s ease; }
.social-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-soft); }

/* ---------- legal pages ---------- */
.legal-page{ max-width:760px; margin:0 auto; }
.legal-page h2{ font-size:1.25rem; margin-top:1.4em; }

/* ---------- back to top ---------- */
.back-to-top{
  position:fixed; right:20px; bottom:20px; z-index:60;
  width:46px; height:46px; border-radius:50%;
  background:var(--leaf-black); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-soft);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease, background .15s ease;
  text-decoration:none;
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--leaf-deep); }
.back-to-top svg{ width:20px; height:20px; }
.back-to-top:focus-visible{ outline:3px solid var(--gold-deep); outline-offset:3px; }

/* ---------- mobile sticky order bar ---------- */
.mobile-order-bar{ display:none; }
body.nav-open .mobile-order-bar, body.nav-open .back-to-top{ display:none !important; }
@media (max-width:640px){
  .mobile-order-bar{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:55;
    background:var(--white); border-top:1px solid var(--line);
    box-shadow:0 -6px 20px -12px rgba(44,38,32,0.3);
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    gap:10px;
    transition:transform .25s ease;
  }
  .mobile-order-bar.bar-hidden{ transform:translateY(120%); }
  .mob-bar-btn{
    flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
    padding:.75em 1em; border-radius:999px; font-weight:700; font-size:.86rem;
    text-decoration:none;
  }
  .mob-bar-btn svg{ width:17px; height:17px; }
  .mob-bar-call{ background:var(--cream-deep); color:var(--ink); border:1.5px solid var(--line); flex:0 0 auto; width:52px; padding:.75em; }
  .mob-bar-call span{ display:none; }
  .mob-bar-wa{ background:var(--leaf-deep); color:var(--white); }
  body{ padding-bottom:calc(74px + env(safe-area-inset-bottom)); }
  .back-to-top{ bottom:calc(84px + env(safe-area-inset-bottom)); right:16px; width:42px; height:42px; }
}

/* ============ ADDITIONS — Phase 4 mobile UX pass ============ */

/* hero CTAs: full-width, stacked buttons read as clearer, easier-to-tap
   primary/secondary actions on phones & narrow tablets */
@media (max-width:700px){
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; justify-content:center; }
}

/* dish order buttons: bring the tap target up to a comfortable ~44px on
   phones, where "Order via WhatsApp" is the single most important tap
   on the whole page */
@media (max-width:560px){
  .dish-card .btn-sm{ padding:.8em 1.1em; font-size:.88rem; min-height:44px; }
  .menu-jump a{ padding:.7em 1.25em; font-size:.76rem; }
  .footer-social a{ width:42px; height:42px; }
  .footer-social svg{ width:19px; height:19px; }
}

/* keep the kitchen-special card comfortable on narrow phones */
@media (max-width:480px){
  .weekly-special-card{ padding:28px 22px; }
  .hero-art{ aspect-ratio:4/3; max-height:340px; }
}

/* ---------- small phone refinements ---------- */
@media (max-width:400px){
  .wrap{ padding:0 16px; }
  h1{ font-size:clamp(1.72rem, 8vw, 2.6rem); }
  .hero{ padding:44px 0 28px; }
  section{ padding:56px 0; }
  .btn{ font-size:.9rem; padding:.78em 1.3em; }
  .hero-badges{ gap:8px 16px; }
  .header-row{ padding:10px 16px; }
}

/* ---------- large screens ---------- */
@media (min-width:1440px){
  :root{ --max-w:1280px; }
  h1{ font-size:clamp(2.6rem, 4vw, 4rem); }
}

/* ---------- tablet range polish ---------- */
@media (min-width:641px) and (max-width:900px){
  .contact-strip .wrap{ justify-content:flex-start; }
}

/* ===========================================================
   ADDITIONS — WhatsApp-first contact redesign & honest reviews
   =========================================================== */

/* ---------- contact page: primary WhatsApp / Call cards ---------- */
.contact-primary{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:40px; }
@media (max-width:700px){ .contact-primary{ grid-template-columns:1fr; } }
.contact-primary-card{
  position:relative; display:flex; flex-direction:column; gap:10px;
  background:var(--white); border-radius:var(--radius); padding:36px 30px 30px;
  box-shadow:var(--shadow-card); text-decoration:none; color:var(--ink);
  border:2px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease;
}
.contact-primary-card:hover, .contact-primary-card:focus-visible{ transform:translateY(-4px); box-shadow:var(--shadow-soft); }
.contact-primary-wa{ border-color:var(--leaf); background:linear-gradient(180deg,var(--leaf-light) 0%, var(--white) 60%); }
.contact-primary-badge{
  position:absolute; top:-13px; left:28px;
  background:var(--leaf-deep); color:var(--white);
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 12px; border-radius:20px; box-shadow:var(--shadow-card);
}
.contact-primary-icon{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--cream-deep); color:var(--gold-deep); margin-bottom:4px;
}
.contact-primary-wa .contact-primary-icon{ background:var(--leaf-deep); color:var(--white); }
.contact-primary-icon svg{ width:24px; height:24px; }
.contact-primary-card h3{ font-size:1.28rem; margin:0; }
.contact-primary-card p{ font-size:.92rem; color:var(--ink-soft); margin:0; flex:1; }
.contact-primary-cta{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-weight:700; font-size:.88rem; color:var(--gold-text);
}
.contact-primary-cta svg{ width:15px; height:15px; }

.contact-secondary{ display:grid; grid-template-columns:1fr 1.3fr; gap:24px; align-items:start; }
@media (max-width:700px){ .contact-secondary{ grid-template-columns:1fr; } }
.info-card-compact .info-line:last-child{ margin-bottom:0; }
.contact-secondary .social-grid{ grid-template-columns:repeat(2,1fr); }
@media (max-width:500px){ .contact-secondary .social-grid{ grid-template-columns:1fr; } }

/* ---------- reviews: honest, direct-to-Google redesign ---------- */
.reviews-hero{
  text-align:center; max-width:640px; margin:0 auto 48px;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.reviews-hero-icon{
  width:60px; height:60px; border-radius:50%;
  background:var(--cream-deep); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center; margin-bottom:6px;
}
.reviews-hero-icon svg{ width:28px; height:28px; }
.reviews-hero h2{ margin:0; }
.reviews-hero p{ color:var(--ink-soft); margin:0; font-size:1.05rem; max-width:52ch; }
.reviews-hero-actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:10px; }

.reviews-why{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:8px; }
@media (max-width:800px){ .reviews-why{ grid-template-columns:1fr; } }
.reviews-why-item{
  background:var(--white); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow-card); text-align:center;
}
.reviews-why-item svg{ width:30px; height:30px; color:var(--leaf-deep); margin-bottom:10px; }
.reviews-why-item h3{ margin:0 0 6px; font-size:1.02rem; }
.reviews-why-item p{ margin:0; font-size:.88rem; color:var(--ink-soft); }

/* ---------- blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:36px; }
@media (max-width:980px){
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .blog-grid .blog-card:nth-child(5){ grid-column:1 / -1; }
}
@media (max-width:560px){
  .blog-grid{ grid-template-columns:1fr; }
  .blog-grid .blog-card:nth-child(5){ grid-column:auto; }
}
.blog-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-soft); }
/* blog teaser photo: shares the .dish-media fallback-icon markup/CSS, but
   overrides the "plated mount" mat treatment with a plain full-bleed
   cover crop, since these are mostly real photographic shots rather than
   grey-studio product cutouts. Rules below intentionally come after the
   .dish-media block so they win the cascade on the properties that differ. */
.blog-media{ padding:0; }
.blog-media img{ object-fit:cover; }
.blog-card:hover .blog-media img{ transform:scale(1.045); }
.blog-card-body{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-tag{
  display:inline-block; align-self:flex-start;
  background:var(--leaf-light); color:var(--leaf-deep);
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.05em;
  text-transform:uppercase; padding:3px 10px; border-radius:6px;
}
.blog-card h3{ font-size:1.12rem; line-height:1.32; margin:2px 0 0; }
.blog-card p{ font-size:.9rem; color:var(--ink-soft); margin:0; }
.badge-soon{
  display:inline-block; align-self:flex-start;
  background:var(--terracotta); color:var(--white);
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.06em;
  text-transform:uppercase; padding:3px 9px; border-radius:6px;
}
@media (max-width:400px){ .blog-card-body{ padding:18px 18px 20px; } }

.reviews-teaser{
  max-width:520px; margin:0 auto; text-align:center;
  background:var(--white); border-radius:var(--radius); padding:32px;
  box-shadow:var(--shadow-card);
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.reviews-teaser-icon{
  width:48px; height:48px; border-radius:50%;
  background:var(--cream-deep); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
}
.reviews-teaser-icon svg{ width:22px; height:22px; }
.reviews-teaser p{ margin:0; color:var(--ink-soft); font-size:.94rem; }

/* ===========================================================
   ADDITIONS — Phase 1 brand refresh: founder section, why-us,
   weekly special, homepage featured-feedback placeholders
   =========================================================== */

/* founder section: dedicated grid + branded photo treatment */
.founder-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .founder-grid{ grid-template-columns:1fr; } }

.founder-photo{
  position:relative; margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:4/4.8;
  box-shadow:var(--shadow-soft);
  background:var(--cream-deep);
  isolation:isolate;
}
.founder-photo img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center 22%;
  display:block;
  filter:saturate(1.08) contrast(1.03) brightness(1.01);
}
/* hide the real photo and its darkening scrim/caption until it actually loads;
   the onerror handler on the <img> adds .is-missing if /assets/photos/founder.jpg is absent or broken */
.founder-photo.is-missing img{ display:none; }
.founder-photo-fallback{
  display:none;
  position:absolute; inset:0; z-index:1;
  flex-direction:column; align-items:center; justify-content:center;
  gap:10px; text-align:center; padding:24px;
  border:2px dashed var(--gold);
  border-radius:var(--radius);
  color:var(--ink-soft);
}
.founder-photo.is-missing .founder-photo-fallback{ display:flex; }
.founder-photo-fallback svg{ width:44px; height:44px; color:var(--gold-deep); }
.founder-photo-fallback strong{ font-family:var(--font-body); font-size:.9rem; color:var(--ink); }
.founder-photo-fallback code{
  font-family:var(--font-mono); font-size:.7rem; background:var(--white);
  padding:3px 8px; border-radius:6px; border:1px solid var(--line); color:var(--ink-soft);
}
.founder-photo::after{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(200deg, rgba(44,38,32,0) 50%, rgba(44,38,32,.62) 100%);
  pointer-events:none;
}
.founder-photo.is-missing::after{ display:none; }

/* signature badge: frosted-glass card so the name/title stay legible over any photo */
.founder-photo-caption{
  position:absolute; left:18px; bottom:18px; z-index:2;
  display:inline-flex; flex-direction:column; gap:3px;
  margin:0;
  max-width:calc(100% - 36px);
  padding:13px 22px 13px 17px;
  border-radius:var(--radius-sm);
  border-left:3px solid var(--gold);
  background:rgba(30,25,20,.45);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  box-shadow:0 12px 28px -14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.founder-photo.is-missing .founder-photo-caption{ display:none; }
.founder-photo-caption strong{
  font-family:var(--font-display); font-size:1.22rem; font-weight:600; line-height:1.15;
  color:var(--white);
  white-space:nowrap;
}
.founder-photo-caption span{
  font-family:var(--font-mono); font-size:.7rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  color:var(--gold-light);
  white-space:nowrap;
}
@media (max-width:640px){
  .founder-photo{ aspect-ratio:4/4.2; }
  .founder-photo-caption{
    left:14px; bottom:14px;
    padding:11px 18px 11px 14px;
    max-width:calc(100% - 28px);
  }
  .founder-photo-caption strong{ font-size:1.08rem; }
  .founder-photo-caption span{ font-size:.64rem; letter-spacing:.07em; }
}
@media (max-width:400px){
  .founder-photo-caption{
    left:10px; bottom:10px;
    padding:9px 15px 9px 12px;
    max-width:calc(100% - 20px);
  }
  .founder-photo-caption strong{ font-size:.98rem; white-space:normal; }
  .founder-photo-caption span{ font-size:.6rem; letter-spacing:.06em; white-space:normal; }
}

/* weekly special */
.weekly-special-card{
  max-width:640px; margin:0 auto; text-align:center;
  background:var(--white); border-radius:var(--radius); padding:36px 32px;
  box-shadow:var(--shadow-card); border:1.5px solid var(--line);
}
.weekly-special-card .badge-editme{ margin-bottom:14px; }
.weekly-special-card h3{ margin-bottom:.4em; }
.weekly-special-card p{ margin-bottom:1.4em; }

/* homepage featured feedback (placeholder testimonials) */
.feedback-note{
  text-align:center; max-width:560px; margin:0 auto 28px; font-size:.9rem; color:var(--ink-soft);
}
.review-card.is-placeholder{ border:1.5px dashed var(--line); }
.review-card .badge-editme{ align-self:flex-start; }
