/* Rasodu Thali House — site styles (mobile first, desktop from 900px) */

:root {
  --kokum: #6E1423;
  --kokum-2: #561019;
  --kokum-line: #8E3342;
  --haldi: #F2A900;
  --haldi-hover: #FFBE1F;
  --steel: #ECEEF0;
  --steel-2: #D5D9DD;
  --steel-3: #9BA2A9;
  --leaf: #2E5E3A;
  --paper: #FFFFFF;
  --ink: #2B1116;
  --ink-2: #5A4247;
  --on-kokum: #FFF4EC;
  --on-kokum-2: #F1CFC8;
  --whatsapp: #157A3F;

  --font-display: 'Rozha One', Georgia, serif;
  --font-body: 'Hind Vadodara', system-ui, sans-serif;

  --gutter: 20px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--kokum); }
a:hover { color: var(--kokum-2); }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
h1, h2 { font-family: var(--font-display); }
h3 { font-weight: 700; font-size: 18px; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; text-decoration: none; line-height: 1;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-haldi { background: var(--haldi); color: var(--ink); }
.btn-haldi:hover { background: var(--haldi-hover); color: var(--ink); }
.btn-kokum { background: var(--kokum); color: var(--on-kokum); }
.btn-kokum:hover { background: var(--kokum-2); color: var(--on-kokum); }
.btn-ghost { border-color: var(--on-kokum-2); color: var(--on-kokum); }
.btn-ghost:hover { background: var(--on-kokum); color: var(--kokum); border-color: var(--on-kokum); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--kokum);
  border-bottom: 1px solid var(--kokum-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--on-kokum); }
.brand:hover { color: var(--on-kokum); }
.brand-name { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.brand-gu { font-size: 16px; font-weight: 600; color: var(--haldi); }
.site-nav { display: none; }

@media (min-width: 900px) {
  .site-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
  .site-nav a { color: var(--on-kokum-2); text-decoration: none; font-weight: 500; font-size: 16px; }
  .site-nav a:hover { color: var(--on-kokum); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--kokum); color: var(--on-kokum);
  padding: 40px 0 56px;
}
.hero-grid { display: grid; gap: 36px; }
.hero-kicker { font-weight: 600; color: var(--haldi); font-size: 16px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 9vw, 76px); letter-spacing: -0.01em; max-width: 12ch; }
.lead { margin-top: 20px; font-size: 19px; color: var(--on-kokum-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 36px 0 0;
  border-top: 1px solid var(--kokum-line);
}
.hero-facts div { padding: 16px 12px 0 0; }
.hero-facts div + div { padding-left: 12px; border-left: 1px solid var(--kokum-line); }
.hero-facts dt { font-size: 14px; color: var(--on-kokum-2); }
.hero-facts dd { margin: 2px 0 0; font-family: var(--font-display); font-size: clamp(18px, 4.9vw, 30px); color: var(--haldi); line-height: 1.1; white-space: nowrap; }

/* The thali photo, cropped to its round plate */
.hero-plate {
  justify-self: center;
  width: min(92vw, 520px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px var(--kokum-2), 0 0 0 11px var(--kokum-line);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 52%; transform: scale(1.4); }

@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero-facts div { padding-right: 28px; }
  .hero-facts div + div { padding-left: 28px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero-plate { width: min(46vw, 600px); margin-right: -120px; justify-self: end; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-plate img { animation: plate-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes plate-in {
    from { transform: scale(1.4) rotate(-28deg); opacity: 0; }
    to   { transform: scale(1.4) rotate(0); opacity: 1; }
  }
}

/* ---------- Today's menu ---------- */
.menu { padding: 64px 0 72px; background: var(--steel); }
.menu-head { display: grid; gap: 8px; }
.menu-head h2 { font-size: clamp(36px, 6vw, 56px); color: var(--kokum); }
.menu-head p { color: var(--ink-2); }

.day-tabs {
  display: flex; gap: 6px; margin: 28px 0 32px;
  overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.day-tabs button {
  flex: 0 0 auto; min-width: 58px; height: 44px; padding: 0 14px;
  font: 600 16px var(--font-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--steel-2); border-radius: 999px; cursor: pointer;
}
.day-tabs button:hover { border-color: var(--kokum); }
.day-tabs button[aria-pressed="true"] { background: var(--kokum); border-color: var(--kokum); color: var(--on-kokum); }
.day-tabs button.is-today::after { content: " •"; color: var(--haldi); }

.menu-grid { display: grid; gap: 40px; align-items: center; }

/* Drawn steel thali: katoris are placed around the rim by main.js */
.plate {
  position: relative; display: none;
  width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #F7F8F9 0 56%, #E3E6E9 57% 62%, #F9FAFB 63% 64%, #C9CED3 65% 100%);
  box-shadow: inset 0 0 0 8px #DCE0E3, inset 0 0 0 10px #B8BEC4, 0 18px 40px -20px rgba(43, 17, 22, .45);
}
.plate-centre {
  position: absolute; inset: 36%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--ink-2); text-align: center; line-height: 1.35;
}
.katori {
  position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px; font-weight: 700; font-size: 13.5px; line-height: 1.15; color: var(--ink);
  background: radial-gradient(circle, var(--fill) 0 62%, #EEF0F2 63% 70%, #B7BDC3 71% 100%);
  box-shadow: 0 6px 12px -6px rgba(43, 17, 22, .5);
}
.katori span { max-width: 70%; }
.katori.dark { color: #FFF8F0; }

@media (min-width: 640px) { .plate { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .katori { transition: background .35s ease; }
}

.menu-note { font-weight: 600; color: var(--leaf); margin-bottom: 12px; min-height: 1.6em; }
#menu-items { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--kokum); }
#menu-items div {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--steel-2);
}
#menu-items dt { color: var(--ink-2); font-size: 15px; padding-top: 2px; }
#menu-items dd { margin: 0; font-weight: 600; font-size: 18px; }
.always { margin-top: 24px; padding: 18px 20px; background: var(--paper); border-left: 4px solid var(--haldi); }
.always h3 { margin-bottom: 4px; }
.always p { color: var(--ink-2); font-size: 16px; }
.menu-noscript { margin-top: 20px; font-weight: 600; }

@media (min-width: 900px) {
  .menu { padding: 96px 0 104px; }
  .menu-head { grid-template-columns: 1fr auto; align-items: end; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Timings ---------- */
.timings { padding: 64px 0; }
.timings-grid { display: grid; gap: 32px; }
.timings h2, .farsan h2, .visit h2 { font-size: clamp(34px, 5vw, 48px); color: var(--kokum); }
.section-lead { margin-top: 12px; color: var(--ink-2); max-width: 32em; }

.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--steel-2); }
.price-table thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid var(--kokum); }
.price-table tbody th { font-weight: 600; }
.price-table td { font-family: var(--font-display); font-size: 24px; color: var(--kokum); white-space: nowrap; }

.hours { margin: 0; display: grid; gap: 14px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--steel-2); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-2); }

@media (min-width: 900px) {
  .timings { padding: 96px 0; }
  .timings-grid { grid-template-columns: 1fr 1.3fr; column-gap: 72px; row-gap: 40px; }
  .timings-grid > div:first-child { grid-row: span 2; }
}

/* ---------- Parties ---------- */
.parties { background: var(--leaf); color: #F2F6F0; padding: 0 0 56px; }
.parties-grid { display: grid; gap: 32px; }
.parties-photo { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; object-fit: cover; }
.parties h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px); }
.parties-copy p { margin-top: 16px; color: #D5E2D2; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--haldi); border-bottom: 2.5px solid var(--haldi); transform: rotate(-45deg);
}
.parties .btn-kokum { background: var(--haldi); color: var(--ink); }
.parties .btn-kokum:hover { background: var(--haldi-hover); color: var(--ink); }

@media (min-width: 900px) {
  .parties { padding: 0; }
  .parties-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .parties-photo { width: 100%; margin: 0; height: 100%; min-height: 560px; aspect-ratio: auto; }
  .parties-grid { padding-left: 0; }
  .parties-copy { padding: 80px 0; }
  .parties .container { max-width: none; padding-left: 0; padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}

/* ---------- Farsan ---------- */
.farsan { padding: 64px 0; }
.farsan-grid { display: grid; gap: 36px; align-items: center; }
.farsan-list { list-style: none; margin: 28px 0 0; padding: 0; }
.farsan-list li {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 0;
  font-size: 18px; font-weight: 600;
}
/* dotted leader between dish and price, like a sweet-shop board */
.farsan-list li::after { content: none; }
.farsan-list li span:first-child { display: flex; flex: 1; align-items: baseline; gap: 12px; }
.farsan-list li span:first-child::after { content: ""; flex: 1; border-bottom: 2px dotted var(--steel-3); transform: translateY(-5px); }
.farsan-list li span:last-child { color: var(--kokum); font-family: var(--font-display); font-weight: 400; font-size: 21px; white-space: nowrap; }
.farsan-photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: min(100%, 460px); justify-self: center; }

@media (min-width: 900px) {
  .farsan { padding: 104px 0; }
  .farsan-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

/* ---------- Reserve ---------- */
.reserve { background: var(--kokum); color: var(--on-kokum); padding: 64px 0; }
.reserve-grid { display: grid; gap: 32px; }
.reserve h2 { font-size: clamp(36px, 6vw, 56px); }
.reserve-copy p { margin-top: 14px; color: var(--on-kokum-2); max-width: 30em; }
.reserve-call a { color: var(--haldi); font-weight: 600; }
.reserve-call a:hover { color: var(--haldi-hover); }

.reserve-form { display: grid; gap: 16px; background: var(--kokum-2); padding: 24px; border-radius: 20px; }
.form-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; color: var(--on-kokum-2); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px;
  font: 500 17px var(--font-body); color: var(--ink);
  background: var(--paper); border: 2px solid transparent; border-radius: 12px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--haldi); }
.field input[aria-invalid="true"] { border-color: #FF9C8A; }
.form-error { color: #FFC7BC; font-weight: 600; }

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1.4fr 1fr 0.8fr; }
}
@media (min-width: 900px) {
  .reserve { padding: 96px 0; }
  .reserve-grid { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
  .reserve-form { padding: 32px; }
}

/* ---------- Visit ---------- */
.visit { padding: 64px 0; }
.visit-grid { display: grid; gap: 32px; }
address { font-style: normal; font-size: 19px; margin: 18px 0 20px; line-height: 1.55; }
.visit-list { margin: 0 0 28px; display: grid; gap: 10px; }
.visit-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.visit-list dt { font-weight: 600; }
.visit-list dd { margin: 0; color: var(--ink-2); }
.map { width: 100%; height: 340px; border: 0; border-radius: 20px; background: var(--steel); }

@media (min-width: 900px) {
  .visit { padding: 96px 0; }
  .visit-grid { grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: center; }
  .map { height: 420px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9C9CB; padding: 32px 0 96px; font-size: 15px; }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { font-family: var(--font-display); font-size: 20px; color: var(--on-kokum); }
.credits { font-size: 13px; color: #A8959A; }

@media (min-width: 900px) { .site-footer { padding-bottom: 36px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}
.wa-float:hover { color: #fff; background: #0F5E30; }
