:root {
  --ink: #36150e;
  --brown: #682816;
  --rust: #91411e;
  --gold: #b56b1c;
  --leaf: #334a21;
  --leaf-soft: #5e713c;
  --cream: #f7ecdd;
  --paper: #ead4bc;
  --white: #fffaf2;
  --line: rgba(104, 40, 22, .2);
  --shadow: 0 24px 70px rgba(53, 20, 12, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream) url("assets/parchment.webp") center/cover fixed;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 248, 237, .72);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.display { margin: .4rem 0 1rem; font-family: var(--serif); font-weight: 500; line-height: .95; letter-spacing: -.035em; }
.lead { max-width: 650px; color: #694237; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.muted { color: #765548; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 236, 221, .88);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: grid; place-items: center; flex: 0 0 auto; }
.brand img { width: 268px; height: 72px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; transition: transform .25s ease; }
.brand:hover img { transform: scale(1.035); }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { position: relative; font-size: .9rem; font-weight: 600; }
.nav-links a:not(.button)::after { content: ""; position: absolute; inset: auto 50% -7px; height: 2px; background: var(--gold); transition: .25s; }
.nav-links a:hover::after, .nav-links a.active::after { inset-inline: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; padding: .5rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .76rem 1.2rem; border: 1px solid var(--brown); background: var(--brown); color: var(--white); font-size: .86rem; font-weight: 700; letter-spacing: .03em; transition: .25s; }
.button:hover { transform: translateY(-2px); background: var(--ink); box-shadow: 0 12px 24px rgba(54, 21, 14, .16); }
.button.secondary { background: transparent; color: var(--brown); }
.button.secondary:hover { background: rgba(104, 40, 22, .07); }
.button.gold { border-color: var(--gold); background: var(--gold); }

.hero { min-height: calc(100svh - 105px); position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .65fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; padding-block: 5rem; }
.hero-copy { max-width: 790px; position: relative; z-index: 1; }
.home-page .hero::before,
.home-page .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2.25rem;
  bottom: 2.25rem;
  width: 92px;
  background: url("assets/kolam-motif.png") center top / 84px auto repeat-y;
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.home-page .hero::before { left: max(12px, calc((100vw - 1400px) / 2)); }
.home-page .hero::after { right: max(12px, calc((100vw - 1400px) / 2)); transform: scaleX(-1); }
.hero h1 { font-size: clamp(4rem, 6.7vw, 7.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.open-note { display: flex; align-items: center; gap: .8rem; margin-top: 2.2rem; font-size: .84rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.open-note i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-soft); box-shadow: 0 0 0 6px rgba(94, 113, 60, .15); }
.truck-card { position: relative; z-index: 2; width: 100%; max-width: 420px; justify-self: end; overflow: hidden; padding: clamp(2rem, 3vw, 3rem); border: 1px solid rgba(229, 163, 82, .42); background: linear-gradient(145deg, #35140d, #1f0c08); color: var(--white); box-shadow: 0 32px 70px rgba(53, 20, 12, .28); }
.truck-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(229, 163, 82, .15); pointer-events: none; }
.truck-card > *:not(.truck-card-mark) { position: relative; z-index: 1; }
.truck-card-mark { position: absolute; z-index: 0; width: 230px; right: -62px; top: -54px; opacity: .075; transform: rotate(12deg); }
.truck-card .eyebrow { color: #efb15f; }
.truck-time { display: flex; align-items: baseline; gap: .36rem; margin: 1.1rem 0 .6rem; font-family: var(--serif); font-size: clamp(2.3rem, 3.5vw, 3.6rem); line-height: 1; white-space: nowrap; }
.truck-time span { margin-inline: .15rem; color: #b97835; font-size: .65em; }
.truck-time small { color: #e6c6b4; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.truck-menu { margin: 0; color: #d7bfb5; font-size: .9rem; }
.truck-location { display: grid; gap: .05rem; margin: 2rem 0 1.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.16); }
.truck-location span { color: #c69878; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.truck-location strong { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; }
.truck-card .button { width: 100%; }
.kolam-ghost { display: none; }

@keyframes slow-spin { to { transform: rotate(360deg); } }

.quick-strip { background: var(--ink); color: var(--white); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-item { min-height: 130px; display: flex; align-items: center; gap: 1rem; padding: 1.5rem 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.quick-item:last-child { border: 0; }
.quick-icon { color: #e5a352; font-family: var(--serif); font-size: 2.3rem; }
.quick-item strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.quick-item span { color: #d5bdb4; font-size: .84rem; }

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(3rem, 6vw, 5.7rem); }
.signature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dish-card { min-height: 300px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 250, 242, .42); transition: .3s; }
.dish-card:hover { background: rgba(255, 250, 242, .9); transform: translateY(-5px); box-shadow: var(--shadow); }
.dish-no { color: var(--gold); font-family: var(--serif); font-size: 1.5rem; }
.dish-card h3 { margin: 4rem 0 .6rem; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.dish-card p { margin: 0; color: #765548; font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-copy { padding: clamp(3rem, 7vw, 7rem); background: var(--leaf); color: var(--white); }
.split-copy .eyebrow { color: #efb15f; }
.split-copy h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.split-copy p { color: #d9dfcc; }
.split-visual { position: relative; min-height: 660px; overflow: hidden; background: var(--paper); }
.menu-poster { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s ease; }
.split-visual:hover .menu-poster { transform: scale(1.025); }
.split-badge { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: 1rem 1.2rem; background: var(--white); color: var(--ink); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; }

.catering-band { position: relative; overflow: hidden; background: var(--brown); color: var(--white); }
.catering-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
.catering-band h2 { font-size: clamp(3.6rem, 7vw, 7rem); }
.catering-band p { color: #e8cdc1; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.15); }
.service-list div { padding: 1.8rem; background: rgba(80, 25, 10, .38); }
.service-list strong { display: block; margin-bottom: .4rem; font-family: var(--serif); font-size: 1.5rem; }
.service-list span { color: #e8cdc1; font-size: .85rem; }

.quote-block { text-align: center; padding-block: 8rem; }
.quote-block blockquote { max-width: 900px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.8rem, 5.2vw, 5.4rem); line-height: 1.02; }
.quote-block cite { display: block; margin-top: 1.5rem; color: var(--gold); font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

.page-hero { position: relative; overflow: hidden; padding: 7rem 0 5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(4.2rem, 9vw, 8.6rem); }
.page-hero .page-kolam { position: absolute; width: 350px; right: 4%; top: 50%; opacity: .085; transform: translateY(-50%) rotate(8deg); pointer-events: none; }
.page-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; color: #6f4a3d; font-size: .9rem; }
.page-meta strong { color: var(--ink); }

.menu-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; align-items: start; }
.sticky-note { position: sticky; top: 125px; padding: 2rem; border: 1px solid var(--line); background: rgba(255,250,242,.68); box-shadow: var(--shadow); }
.sticky-note h2 { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.menu-groups { display: grid; gap: 3.5rem; }
.menu-group h2 { padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 3rem; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.menu-row strong { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.menu-row small { display: block; color: #806052; }
.price { color: var(--rust); font-weight: 700; white-space: nowrap; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.package-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); background: rgba(255,250,242,.62); }
.package-card.featured { background: var(--leaf); color: white; transform: translateY(-1rem); }
.package-card .tag { align-self: flex-start; padding: .3rem .55rem; background: rgba(181,107,28,.12); color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.package-card.featured .tag { background: rgba(255,255,255,.12); color: #efb15f; }
.package-card h3 { margin: 1.4rem 0 .2rem; font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.package-price { font-family: var(--serif); font-size: 2.7rem; }
.package-price small { font-family: var(--sans); font-size: .72rem; }
.package-card ul { padding-left: 1rem; color: #745348; }
.package-card.featured ul { color: #d9dfcc; }
.package-card .button { margin-top: auto; }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.story-mark { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,250,242,.55); }
.story-mark img { width: 70%; mix-blend-mode: multiply; }
.story-copy h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); }
.value { padding: 1.5rem; background: var(--cream); }
.value strong { font-family: var(--serif); font-size: 1.5rem; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; }
.contact-card { padding: 2rem; border: 1px solid var(--line); background: rgba(255,250,242,.62); }
.contact-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact-list a { display: block; }
.contact-list span { display: block; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-list strong { font-family: var(--serif); font-size: 1.5rem; }
.form-card { padding: clamp(2rem, 5vw, 4rem); background: var(--brown); color: var(--white); }
.form-card h2 { font-size: clamp(3rem, 5vw, 4.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: #e7cabb; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.25); border-radius: 0; outline: 0; background: rgba(255,255,255,.07); color: white; padding: .9rem 1rem; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #efb15f; }
.form-note { color: #d9b9ab; font-size: .78rem; }

.site-footer { padding: 5rem 0 2rem; background: #28100b; color: #f8e9dc; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 4rem; }
.footer-brand { font-family: var(--serif); font-size: 3rem; line-height: .9; }
.footer-copy { max-width: 420px; color: #cdb6ad; }
.footer-title { color: #d98935; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; gap: .6rem; margin-top: 1rem; color: #d9c6bf; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: #a88c82; font-size: .75rem; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; background: var(--leaf); color: white; box-shadow: 0 15px 40px rgba(30,55,25,.28); font-size: .82rem; font-weight: 700; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-shell { min-height: 92px; }
  .brand img { width: 240px; height: 64px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 93px 0 auto; display: grid; gap: 0; padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line); background: var(--cream); transform: translateY(-140%); transition: .3s; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .9rem 0; }
  .nav-links .button { margin-top: .5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-grid { min-height: auto; }
  .hero-copy { max-width: 720px; }
  .truck-card { max-width: 600px; justify-self: start; }
  .home-page .hero::before,
  .home-page .hero::after { width: 56px; background-size: 50px auto; opacity: .11; }
  .quick-grid, .signature-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:last-child { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.14); }
  .split, .catering-grid, .menu-layout, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .sticky-note { position: relative; top: 0; }
  .package-grid { grid-template-columns: 1fr 1fr; }
  .package-card.featured { transform: none; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 82px; }
  .brand img { width: 210px; height: 56px; }
  .nav-links { inset-block-start: 83px; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.7rem); }
  .hero-grid { min-height: auto; gap: 2.5rem; padding: 3.5rem 0 5rem; }
  .home-page .hero::before { display: none; }
  .home-page .hero::after {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    height: 42px;
    background-position: left center;
    background-size: 42px 42px;
    background-repeat: repeat-x;
    opacity: .16;
    transform: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  }
  .truck-card { max-width: none; padding: 2rem 1.6rem; }
  .truck-time { font-size: clamp(2.15rem, 11vw, 3rem); }
  .quick-grid, .signature-grid, .package-grid, .values, .form-grid, .service-list { grid-template-columns: 1fr; }
  .quick-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .quick-item:last-child { grid-column: auto; }
  .dish-card { min-height: 240px; }
  .dish-card h3 { margin-top: 2rem; }
  .split-copy { padding: 3rem 1.5rem; }
  .split-visual { min-height: 520px; }
  .page-hero { padding-top: 4rem; }
  .page-hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .page-hero .page-kolam { width: 230px; right: -70px; opacity: .07; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { border-radius: 50%; width: 52px; height: 52px; justify-content: center; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
