/* Tastoo Kitchen multi-page site. Load tokens.css first, then this file. */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--coconut-cream);
  color: var(--ink);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 var(--space-3); }

:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--coconut-cream); color: var(--ink); padding: 8px 12px; z-index: 99;
}
.skip:focus { left: 8px; }

/* Top band (guide device 5) */
.top-band {
  height: 10px;
  background: var(--tastoo-red);
  border-bottom: 4px solid var(--turmeric);
}

/* Header */
.site-header { background: var(--coconut-cream); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(58,10,5,.12); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: var(--space-3);
}
.site-header img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a {
  font: var(--text-kicker); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tastoo-red); text-decoration: none;
  min-height: var(--tap-min); display: inline-flex; align-items: center;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--turmeric); }

/* Buttons (PROPOSED) */
.btn {
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min); padding: 12px 22px;
  border-radius: var(--radius-sm); border: 2px solid var(--tastoo-red);
  font: var(--text-price); text-decoration: none;
}
.btn-primary { background: var(--tastoo-red); color: var(--coconut-cream); }
.btn-primary:hover { background: var(--chilli-deep); border-color: var(--chilli-deep); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--coconut-cream); color: var(--tastoo-red); border-color: var(--coconut-cream); }
.btn-light:hover { background: #fff; }

/* Kicker and titles */
.kicker {
  font: var(--text-kicker); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tastoo-red); margin: 0 0 var(--space-2);
}
.section-title {
  font: var(--text-section-title); letter-spacing: -0.02em;
  color: var(--tastoo-red); margin: 0 0 var(--space-2);
}
.subtitle { font: var(--text-description); color: var(--chilli-deep); margin: 0; font-size: 15px; line-height: 20px; }
.subhead {
  font: var(--text-subhead); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tastoo-red); margin: 40px 0 var(--space-3);
  padding-bottom: var(--space-2); border-bottom: 2px solid var(--turmeric);
}

.section { padding: var(--section-pad) 0; }
.section--tight { padding: 56px 0; }

/* HERO (red ground, mango headline 24px+ only) */
.hero {
  position: relative; overflow: hidden;
  background: var(--tastoo-red); color: var(--coconut-cream);
  padding: var(--section-pad) 0;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 {
  font: var(--text-hero); letter-spacing: -0.02em; color: var(--mango); margin: 0 0 var(--space-3);
}
.hero p.lead { font-size: 17px; line-height: 26px; margin: 0 0 var(--space-5); max-width: 480px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .spiral {
  position: absolute; right: -140px; bottom: -180px; width: 560px; z-index: 0; pointer-events: none;
}

/* Ticker strip (design element) */
.ticker {
  background: var(--chilli-deep); color: var(--coconut-cream);
  overflow: hidden; white-space: nowrap; border-top: 4px solid var(--turmeric); border-bottom: 4px solid var(--turmeric);
}
.ticker__track {
  display: inline-block; padding: 14px 0;
  font: var(--text-kicker); font-size: 14px; letter-spacing: 0.2em;
  animation: ticker 28s linear infinite;
}
.ticker__track span { margin-right: 32px; }
.ticker__track span::after { content: "✕"; margin-left: 32px; color: var(--turmeric); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ticket card (guide device 3) */
.ticket {
  background: var(--mango); color: var(--ink);
  border-radius: var(--radius-sm); padding: 22px 26px;
  transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--chilli-deep);
  max-width: 360px; margin-left: auto;
}
.ticket .label { font: var(--text-kicker); letter-spacing: 0.18em; margin: 0 0 var(--space-2); }
.ticket .phone { font: var(--text-hero); font-size: 30px; line-height: 34px; color: var(--tastoo-red); margin: 0; }
.ticket .site { margin: var(--space-2) 0 0; font-weight: 600; }

/* Stamp badge (design element) */
.stamp {
  position: absolute; right: 8%; top: 12%; width: 128px; height: 128px; border-radius: 50%;
  background: var(--coconut-cream); color: var(--tastoo-red);
  display: grid; place-items: center; text-align: center;
  font: var(--text-kicker); font-size: 11px; line-height: 15px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 3px dashed var(--turmeric); transform: rotate(10deg); z-index: 1;
}
.stamp strong { display: block; font-size: 15px; letter-spacing: 0.04em; }

/* Audience cards (design element) */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-md);
  padding: 28px 24px; box-shadow: 6px 6px 0 var(--ink);
}
.card .icon { width: 44px; height: 44px; color: var(--tastoo-red); margin-bottom: 12px; }
.card h3 { font: var(--text-subhead); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tastoo-red); margin: 0 0 var(--space-2); }
.card p { font-size: 15px; line-height: 22px; margin: 0; }

/* Steps (design element) */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li {
  counter-increment: step; border-top: 4px solid var(--turmeric); padding-top: 16px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font: var(--text-hero); font-size: 36px; line-height: 40px; color: var(--tastoo-red);
}
.steps h3 { font: var(--text-dish-name); font-size: 17px; margin: 8px 0 4px; }
.steps p { margin: 0; font-size: 15px; line-height: 22px; }

/* Photo tiles (cut-outs on cream) */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 40px; }
.dish { text-align: center; }
.dish img { width: 100%; height: 220px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(58,10,5,.25)); }
.dish h3 { font: var(--text-dish-name); font-size: 16px; margin: 12px 0 2px; }
.dish p { margin: 0; font: var(--text-description); color: var(--chilli-deep); font-size: 14px; }

/* Wave divider panel */
.feature {
  position: relative; background: var(--tastoo-red); color: var(--coconut-cream);
  padding: var(--section-pad) 0 calc(var(--section-pad) + 48px); overflow: hidden;
}
.feature h2 { font: var(--text-section-title); color: var(--mango); margin: 0 0 var(--space-3); }
.feature p { max-width: 560px; font-size: 17px; line-height: 26px; }
.feature .wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }

/* Menu page: category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; padding: 0; list-style: none; }
.chips a {
  display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 6px 16px;
  border: 2px solid var(--tastoo-red); border-radius: 999px; text-decoration: none;
  font: var(--text-kicker); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tastoo-red);
}
.chips a:hover { background: var(--tastoo-red); color: var(--coconut-cream); }

/* Menu lists (names only, no prices) */
.menu-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.menu-list li {
  break-inside: avoid; display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px dotted rgba(58,10,5,.25);
  font: var(--text-dish-name); font-size: 15px;
}
.menu-list li .desc { display: block; font: var(--text-description); color: var(--chilli-deep); font-size: 13px; margin-top: 2px; }
.menu-list li .name { flex: 1; }

/* Diet marks: shape plus colour (guide) */
.diet {
  flex: 0 0 14px; width: 14px; height: 14px; margin-top: 4px;
  border: 2px solid currentColor; position: relative; border-radius: 1px;
}
.diet::after { content: ""; position: absolute; inset: 0; margin: auto; }
.diet.veg { color: var(--veg-green); }
.diet.veg::after { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.diet.nonveg { color: var(--nonveg-brown); }
.diet.nonveg::after { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }
.diet.egg { color: var(--egg-amber); }
.diet.egg::after { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.legend { display: flex; gap: 24px; flex-wrap: wrap; font: var(--text-description); color: var(--chilli-deep); font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .diet { margin-top: 0; }

/* Page hero for inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--chilli-deep); color: var(--coconut-cream); padding: 80px 0 64px; }
.page-hero h1 { font: var(--text-hero); font-size: 44px; line-height: 48px; letter-spacing: -0.02em; color: var(--mango); margin: 0 0 var(--space-2); }
.page-hero p { max-width: 560px; font-size: 17px; line-height: 26px; margin: 0; }
.page-hero .spiral { position: absolute; right: -120px; top: -120px; width: 420px; opacity: .9; }

/* Two column text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.photo { width: 100%; max-width: 460px; justify-self: center; filter: drop-shadow(0 16px 16px rgba(58,10,5,.25)); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.values div { border-left: 4px solid var(--turmeric); padding-left: 16px; }
.values h3 { font: var(--text-subhead); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tastoo-red); font-size: 13px; margin: 0 0 6px; }
.values p { margin: 0; font-size: 15px; line-height: 22px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li { padding: 14px 0; border-bottom: 1px dotted rgba(58,10,5,.3); }
.info-list strong { display: block; font: var(--text-subhead); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tastoo-red); font-size: 12px; margin-bottom: 4px; }

form.enquiry {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-md);
  padding: 32px; box-shadow: 8px 8px 0 var(--mango);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font: var(--text-dish-name); font-weight: 700; }
.field .req { color: var(--tastoo-red); }
.field input,
.field select,
.field textarea {
  font: var(--text-body); color: var(--ink); background: var(--coconut-cream);
  border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 12px 14px; min-height: var(--tap-min);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.field .hint { font: var(--text-description); color: var(--chilli-deep); font-size: 13px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--chilli-deep); margin: 12px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--veg-green); background: var(--coconut-cream); font-weight: 600; }
.form-status.show { display: block; }

/* Footer */
.site-footer { background: var(--chilli-deep); color: var(--coconut-cream); padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer img { height: 64px; width: auto; }
.site-footer h3 { font: var(--text-subhead); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mango); font-size: 12px; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(247,241,219,.25); padding-top: 20px; font-size: 13px; }

/* Responsive */
@media (max-width: 1023px) {
  /* Keep three cards in a row on tablet so no card is left alone on a row. */
  .audience, .dishes, .steps { gap: 16px; }
  .audience .card { padding: 22px 18px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .ticket { margin-left: 0; }
  .stamp { width: 96px; height: 96px; font-size: 9px; right: 4%; top: 4%; }
  .audience, .dishes, .steps, .values, .row-2 { grid-template-columns: 1fr; }
  .menu-list { columns: 1; }
  .nav { display: none; } /* PROPOSED: replace with a menu button and sheet before launch */
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero .spiral { width: 340px; right: -120px; bottom: -130px; }
  form.enquiry { padding: 22px; }
}

/* Reduced motion (UI/UX Pro Max checklist) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Scan to order (QR block) */
.qr-block { background: var(--coconut-cream); padding: 56px 0; border-top: 4px solid var(--turmeric); border-bottom: 4px solid var(--turmeric); }
.qr-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.qr-card {
  background: #fff; padding: 20px; border-radius: var(--radius-md);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--tastoo-red);
  transform: rotate(-2deg);
}
.qr-card img { width: 260px; height: 260px; }
.scan-steps { margin: 16px 0 20px; padding-left: 22px; font-size: 17px; line-height: 26px; }
.scan-steps li { margin-bottom: 6px; }
.qr-block--end { background: var(--tastoo-red); color: var(--coconut-cream); border-top: 0; }
.qr-block--end .kicker,
.qr-block--end .section-title { color: var(--mango); }
.qr-block--end .qr-card { box-shadow: 8px 8px 0 var(--chilli-deep); }
.qr-block--end a { color: var(--coconut-cream); }
@media (max-width: 767px) {
  .qr-grid { grid-template-columns: 1fr; justify-items: start; }
  .qr-card img { width: 220px; height: 220px; }
}

/* Popular dishes band */
.dishes-band { position: relative; overflow: hidden; background: #fff; padding: var(--section-pad) 0; border-top: 4px solid var(--turmeric); }
.dishes-band__spiral { position: absolute; left: -160px; top: -140px; width: 460px; opacity: .08; }
.dishes-head { text-align: center; margin: 0 auto 48px; max-width: 640px; }
.dishes-head .subtitle { font-size: 17px; }
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.dish-card { margin: 0; text-align: center; position: relative; }
.arch {
  position: relative; aspect-ratio: 1 / 1.08; background: var(--coconut-cream);
  border: 2px solid var(--ink); border-radius: 999px 999px var(--radius-md) var(--radius-md);
  overflow: hidden; box-shadow: 8px 8px 0 var(--mango);
}
.dish-card:nth-child(2) .arch { box-shadow: 8px 8px 0 var(--tastoo-red); }
.dish-card:nth-child(3) .arch { box-shadow: 8px 8px 0 var(--turmeric); }
.arch img { width: 100%; height: 100%; object-fit: contain; padding: 10% 8%; }
.dish-tag {
  display: inline-block; position: relative; margin-top: -22px; transform: rotate(-2deg);
  background: var(--mango); color: var(--ink); border-radius: var(--radius-sm);
  padding: 8px 16px; font: var(--text-kicker); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink); z-index: 1;
}
.dish-desc { font: var(--text-description); color: var(--chilli-deep); font-size: 16px; margin: 16px 0 6px; }
.dish-meta { display: inline-flex; align-items: center; gap: 8px; font: var(--text-dish-name); font-size: 14px; margin: 0; }
.dish-meta .diet { margin-top: 0; }
.dishes-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 48px 0 0; }
@media (max-width: 767px) {
  .dish-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .arch { aspect-ratio: 1 / 1; }
}

/* Sticky WhatsApp link */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap-min);
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--tastoo-red); color: var(--coconut-cream);
  border: 2px solid var(--coconut-cream); box-shadow: 4px 4px 0 var(--ink);
  font: var(--text-price); text-decoration: none;
}
.wa-float svg { width: 26px; height: 26px; flex: 0 0 26px; }
.wa-float:hover { background: var(--chilli-deep); }
@media (max-width: 767px) {
  .wa-float { padding: 12px; }
  .wa-float .wa-text { display: none; }
}

/* Mobile menu button and panel */
.menu-btn {
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  width: var(--tap-min); height: var(--tap-min); padding: 0; cursor: pointer;
  background: transparent; border: 2px solid var(--tastoo-red); border-radius: var(--radius-sm);
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--tastoo-red); }
@media (max-width: 767px) {
  .menu-btn { display: inline-flex; }
  .site-header .wrap { position: relative; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--coconut-cream); padding: 12px var(--page-margin) 20px;
    border-bottom: 4px solid var(--turmeric); box-shadow: 0 10px 20px rgba(58,10,5,.15);
  }
  .nav.open a { min-height: var(--tap-min); width: 100%; }
  .nav.open .btn { justify-content: center; margin-top: 8px; }
}

/* FAQ */
.faq { margin: 24px 0 0; }
.faq dt { font: var(--text-dish-name); font-size: 17px; margin-top: 20px; color: var(--tastoo-red); }
.faq dd { margin: 4px 0 0; font-size: 16px; line-height: 24px; }

/* Header order button: keep the button's own colours inside the nav */
.nav a.btn { color: var(--coconut-cream); border-bottom: 2px solid var(--tastoo-red); padding-bottom: 0; }
.nav a.btn-primary { background: var(--tastoo-red); }
.nav a.btn-primary:hover { background: var(--chilli-deep); }

/* Responsive pass */
/* Ticket phone number stays on one line and scales with the card. */
.ticket .phone { white-space: nowrap; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
/* Laptop and tablet: keep the hero two columns but give the headline room. */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero .wrap { gap: 32px; }
  .hero h1 { font-size: clamp(38px, 4.6vw, 50px); line-height: 1.08; }
  .hero .spiral { width: 420px; right: -160px; bottom: -150px; }
  .stamp { width: 104px; height: 104px; font-size: 10px; right: 2%; top: 6%; }
  .site-header img { height: 40px; }
  .nav { gap: 14px; }
  .nav a { font-size: 11px; }
}
/* Phone: the decorative stamp covered the eyebrow and headline, so it is removed. */
@media (max-width: 767px) {
  .stamp { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; line-height: 28px; }
  .qr-block { padding: 40px 0; }
  .qr-card { margin: 0 auto; transform: rotate(-1deg); }
  .page-hero { padding: 56px 0 44px; }
  .page-hero h1 { font-size: 34px; line-height: 38px; }
  .site-footer .wrap { gap: 28px; }
  .wa-float { right: 12px; bottom: 12px; }
}
/* Very small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; line-height: 36px; }
  .ticket { padding: 18px 16px; }
  .ticket .phone { font-size: 22px; }
}

/* Link under the QR code: opens the ordering subdomain in the same tab */
.qr-link {
  display: block; margin-top: 14px; text-align: center; min-height: var(--tap-min);
  padding: 10px 12px; font: var(--text-price); color: var(--tastoo-red);
  text-decoration: underline; text-underline-offset: 3px;
}
.qr-link:hover { color: var(--chilli-deep); }
.qr-block--end .qr-link { color: var(--mango); }
