/* Karupatti House — site styles
   Palette taken from the logo: palm yellow + logo ink, with jaggery brown
   from the product itself and banana-leaf green for confirmations. */

:root {
  --yellow: #F6CF2B;
  --yellow-tint: #FFF8DB;
  --ink: #201E1E;
  --jaggery: #3B2314;
  --jaggery-2: #4A2D1A;
  --husk: #7A5236;
  --leaf: #2E5B34;
  --line: #E6DCC8;
  --paper: #FFFFFF;
  --on-dark: #F7EEDC;
  --on-dark-2: #CDBDA3;
  --error: #A3261B;

  --display: "Baloo Thambi 2", "Hind Madurai", system-ui, sans-serif;
  --body: "Hind Madurai", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --head-h: 76px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 56px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: .5rem 1rem; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.4rem; border-radius: 12px; font: 600 1rem/1.1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFDA45; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-line-light:hover { background: var(--on-dark); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.link:hover { text-decoration-color: currentColor; }
.tag-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; transition: background-color .25s; }
.site-head.is-over { position: fixed; inset: 0 0 auto 0; background: transparent; }
.site-head.is-over.is-solid, .site-head.is-over.is-open { background: var(--ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); }
.brand img { width: 74px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: var(--head-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem; background: var(--ink); display: none; }
  .site-head.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid #3a3636; font-size: 1.15rem; }
}

/* ---------- home: hero ---------- */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; align-items: flex-end; color: var(--ink); background: #120d0a; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,10,.55) 0, rgba(18,13,10,0) 22%), linear-gradient(90deg, rgba(18,13,10,.45), rgba(18,13,10,0) 60%); }
.hero-inner { position: relative; z-index: 1; padding: calc(var(--head-h) + 3rem) 0 clamp(2.5rem, 7vh, 5rem); }

/* The tag: the logo's yellow slab, used as the hero panel */
.tag { position: relative; max-width: 600px; padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.5rem, 3.5vw, 2.8rem) clamp(1.8rem, 3.5vw, 2.6rem); background: var(--yellow); border-radius: 30px 96px 46px 26px / 26px 70px 40px 26px; transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tag-ta { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 2rem + 4.6vw, 5.4rem); line-height: 1; margin: 0 0 .25em; letter-spacing: -.01em; }
.tag h1 { font-size: var(--step-3); font-weight: 700; margin-bottom: .45em; max-width: 17ch; }
.tag-sub { max-width: 46ch; margin: 0; font-size: 1.05rem; }
.tag .tag-actions { margin-top: 1.4rem; }

@media (prefers-reduced-motion: no-preference) {
  .tag { animation: tag-in .9s cubic-bezier(.2,.9,.25,1.1) .15s both; }
  @keyframes tag-in { from { opacity: 0; transform: translateY(40px) rotate(-7deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
}

/* ---------- home: story ---------- */
.story { padding: clamp(4rem, 9vw, 7.5rem) 0 0; }
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story-lead { font-family: var(--display); font-weight: 600; font-size: var(--step-3); line-height: 1.12; max-width: 20ch; margin: 0; text-wrap: balance; }
.story-body { max-width: 52ch; padding-top: .5rem; color: #3d3633; }
.story-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: clamp(3rem, 7vw, 5.5rem); }
.story-strip img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

/* ---------- section headings ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-head h2 { font-size: var(--step-4); margin: 0; }
.section-head p { margin: 0; max-width: 40ch; justify-self: end; }

/* ---------- home: menu teaser ---------- */
.menu-teaser { background: var(--jaggery); color: var(--on-dark); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.menu-teaser .section-head p { color: var(--on-dark-2); }
.cat-grid { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px); gap: 12px; }
.cat a { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; }
.cat img { width: 100%; height: 100%; object-fit: cover; }
.cat a::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20,10,4,.85)); }
.cat-text { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .85rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.cat-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.cat-count { font-size: .85rem; color: var(--on-dark-2); white-space: nowrap; }
.cat a:hover .cat-name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.cat-0 { grid-column: span 2; grid-row: span 2; }
.cat-0 .cat-name { font-size: var(--step-2); }
.cat-5 { grid-column: span 2; }

/* ---------- home: stores ---------- */
.stores-teaser { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.stores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.stores-grid h2 { font-size: var(--step-4); max-width: 12ch; }
.stores-grid p { max-width: 44ch; }
.city-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.city-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
.city-n { font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--husk); }

/* ---------- home: franchise band ---------- */
.franchise-band { background: var(--yellow); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px 80px 40px 22px / 22px 60px 36px 22px; }
.band-grid h2 { font-size: var(--step-3); max-width: 16ch; }
.band-grid p { max-width: 46ch; }

/* ---------- inner page heads ---------- */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-head-dark { background: var(--ink); color: var(--on-dark); }
.page-head h1 { font-size: var(--step-4); color: var(--yellow); max-width: 18ch; }
.page-head p { max-width: 56ch; color: var(--on-dark-2); margin: 0; font-size: 1.1rem; }
.notfound { min-height: 55vh; display: flex; align-items: center; }

/* ---------- menu page ---------- */
.cat-nav { position: sticky; top: var(--head-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.cat-nav ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .7rem 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; border: 1.5px solid var(--line); }
.cat-nav a:hover { border-color: var(--ink); }
.cat-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-cat { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.menu-cat:nth-child(4n+2) { background: var(--yellow-tint); }
.menu-cat-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.is-flip .menu-photos { order: 2; }
.menu-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 3 / 2; }
.menu-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.menu-photos img:first-child { grid-row: span 2; }
.menu-text h2 { font-size: var(--step-3); }
.menu-line { color: var(--husk); font-size: 1.1rem; max-width: 40ch; }
.items { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.items li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.items.two-col { columns: 2; column-gap: 2rem; }
.items.two-col li { break-inside: avoid; }
.extra-h { font-size: 1.1rem; margin: 1.5rem 0 .3rem; }
.extra { margin: 0; color: var(--husk); }

.cta-strip { background: var(--yellow); padding: 2.2rem 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-row p { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--step-2); max-width: 30ch; line-height: 1.15; }

/* ---------- stores page ---------- */
.stores { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: 500 .95rem var(--body); padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.chip span { color: var(--husk); margin-left: .25rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--yellow); }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.store { padding: 1.4rem 1.4rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.store h2 { font-size: 1.45rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.store-city { font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--husk); white-space: nowrap; }
.addr { margin-bottom: .4rem; }
.landmark { color: var(--husk); font-size: .95rem; }
.store-actions { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-weight: 600; font-size: .98rem; }
.store-actions a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.store-actions a:hover { text-decoration-color: currentColor; }
.store-next { background: var(--yellow); border-color: var(--yellow); }
.store-next .store-actions a { text-decoration-color: var(--ink); }

/* ---------- about ---------- */
.about-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.about-hero .wrap { position: relative; padding: 5rem 0 2.5rem; }
.about-hero h1 { display: inline-block; background: var(--yellow); padding: .45em .7em .35em; font-size: var(--step-4); border-radius: 24px 70px 34px 20px / 20px 50px 30px 20px; transform: rotate(-2deg); margin: 0; }
.essay { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.essay-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.essay-body { max-width: 62ch; font-size: 1.12rem; line-height: 1.7; }
.essay-lead { font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1.25; }
.essay-side img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { font-size: .9rem; color: var(--husk); margin-top: .6rem; }
.pillars { background: var(--jaggery); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.pillars h2 { font-size: var(--step-2); color: var(--yellow); }
.pillars p { color: var(--on-dark-2); margin: 0; max-width: 34ch; }

/* ---------- contact ---------- */
.contact { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { padding: 1.6rem; border: 1.5px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { font-size: 1.5rem; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-main { grid-column: 1 / -1; background: var(--yellow); border-color: var(--yellow); padding: clamp(1.8rem, 4vw, 3rem); }
.contact-main h2 { font-size: var(--step-3); }
.contact-main p { max-width: 52ch; }
.big-num { font-family: var(--display); font-weight: 800; font-size: var(--step-4); line-height: 1; margin: .4em 0 0; }
.big-num a { text-decoration: none; }
.big-num a:hover { text-decoration: underline; }

/* ---------- franchise ---------- */
.fr-hero { background: var(--yellow); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.fr-hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.fr-hero h1 { font-size: var(--step-4); max-width: 14ch; }
.fr-lead { font-size: 1.15rem; max-width: 48ch; }
.fr-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px 80px 40px 22px / 22px 60px 36px 22px; }
.fr-why { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.fr-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.fr-why h2 { font-size: var(--step-2); padding-top: 1rem; border-top: 3px solid var(--ink); }
.fr-why p { margin: 0; max-width: 36ch; color: #3d3633; }
.fr-steps { background: var(--jaggery); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.fr-steps > .wrap > h2 { font-size: var(--step-3); margin-bottom: 2rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; display: grid; place-content: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 1.25rem/1 var(--display); padding-top: .15rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -.9rem; border-top: 2px dashed rgba(246,207,43,.4); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { color: var(--on-dark-2); margin: 0; font-size: 1rem; }

.fr-form-wrap { background: var(--yellow-tint); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.fr-form-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.fr-aside { position: sticky; top: calc(var(--head-h) + 1.5rem); }
.fr-aside h2 { font-size: var(--step-3); }
.fr-aside > p { color: #3d3633; font-size: 1rem; }
.progress { list-style: none; margin: 1.8rem 0; padding: 0; counter-reset: p; }
.progress li { counter-increment: p; display: flex; align-items: center; gap: .8rem; padding: .55rem 0; color: #8c8070; font-weight: 500; }
.progress li::before { content: counter(p); flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-content: center; border: 2px solid currentColor; font: 700 .95rem/1 var(--display); padding-top: .1rem; }
.progress li.is-current { color: var(--ink); font-weight: 600; }
.progress li.is-current::before { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.progress li.is-done { color: var(--leaf); }
.progress li.is-done::before { content: "✓"; background: var(--leaf); border-color: var(--leaf); color: #fff; }
.aside-note { font-size: .95rem; }
html:not(.js) .progress { display: none; }

.fr-panel { background: #fff; border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.8rem); box-shadow: 0 1px 0 var(--line), 0 24px 50px -32px rgba(59,35,20,.35); }
.fr-form fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.fr-form legend { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.1; margin-bottom: 1.3rem; padding: 0; }
.js .fr-form .step:not(.is-current) { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.row .f-title { max-width: 120px; }
.row:has(.f-title) { grid-template-columns: 120px 1fr; }
.row:has(.f-age) { grid-template-columns: 120px 1fr; }
.row:has(.f-grow + .field) { grid-template-columns: 1fr 200px; }
.field { margin-bottom: 1.15rem; }
.field label, .field .label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .35rem; }
.req { color: var(--error); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: .65rem .85rem; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid #CDBFA8; border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23201E1E' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
input:hover, select:hover, textarea:hover { border-color: var(--husk); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(246,207,43,.55); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-err { color: var(--error); font-size: .9rem; font-weight: 500; margin: .35rem 0 0; }
.check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: block; padding: .6rem 1rem; border: 1.5px solid #CDBFA8; border-radius: 999px; font-weight: 500; font-size: .98rem; background: #fff; transition: background-color .15s, border-color .15s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(246,207,43,.7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #FBE9E6; color: var(--error); border-left: 4px solid var(--error); padding: .8rem 1rem; border-radius: 6px; margin-bottom: 1.5rem; font-weight: 500; }
.form-nav { display: flex; gap: .75rem; justify-content: flex-end; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.form-nav [data-prev] { margin-right: auto; }
.fr-done { padding: 1rem 0; }
.fr-done h2 { font-size: var(--step-3); color: var(--leaf); max-width: 20ch; }
.fr-done p { max-width: 50ch; }
.fr-done:focus { outline: none; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-dark-2); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #3a3636; }
.foot-brand img { width: 130px; height: auto; margin-bottom: .6rem; }
.foot-tag { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0 0 .2rem !important; }
.tamil { font-family: var(--display); font-weight: 700; color: var(--yellow); font-size: 1.3rem; margin: 0; }
.foot-h { font-family: var(--display); font-size: 1.15rem; color: #fff; margin-bottom: .6rem; }
.site-foot p { margin: 0 0 .35rem; }
.site-foot a { text-decoration-color: rgba(246,207,43,.6); }
.site-foot a:hover { color: #fff; }
.social { list-style: none; margin: 0; padding: 0; }
.social li { margin-bottom: .35rem; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; font-size: .9rem; }
.foot-base p { margin: 0; }
.foot-base nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-base nav a { text-decoration: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-content: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float:hover { background: #1fb457; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .steps li::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .story-grid, .stores-grid, .band-grid, .menu-cat-grid, .essay-grid, .fr-hero-grid, .fr-form-grid, .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .is-flip .menu-photos { order: 0; }
  .story-strip { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .cat-0 { grid-row: span 2; }
  .cat-5 { grid-column: span 2; }
  .pillars-grid, .fr-why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fr-aside { position: static; }
  .progress { display: flex; gap: .4rem; margin: 1rem 0 0; }
  .progress li { padding: 0; }
  .progress li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .progress li.is-current span { position: static; width: auto; height: auto; clip: auto; }
  .aside-note { display: none; }
  .essay-side { max-width: 420px; }
  .hero { min-height: 92svh; }
  .hero-photo { object-position: 44% 30%; }
}
@media (max-width: 600px) {
  :root { --head-h: 66px; }
  .brand img { width: 62px; }
  .row, .row.three, .row:has(.f-grow + .field) { grid-template-columns: 1fr; }
  .row:has(.f-title), .row:has(.f-age) { grid-template-columns: 96px 1fr; }
  .items.two-col { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .tag { transform: rotate(-1.5deg); border-radius: 24px 60px 32px 20px / 20px 46px 28px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-nav .btn { flex: 1; }
  .form-nav [data-prev] { flex: 0 0 auto; }
  .cta-row .btn { width: 100%; }
  .cat-text { flex-direction: column; align-items: flex-start; gap: .1rem; left: .8rem; bottom: .7rem; }
  .cat-name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- pop-up events ---------- */
.pe-kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); color: var(--yellow) !important; margin-bottom: .8rem !important; }
.pe-head h1 { max-width: 20ch; }
.pe-head .tag-actions { margin-top: 1.8rem; }
.pe-stats { background: var(--yellow); padding: 1.6rem 0; }
.pe-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.pe-stats strong { display: block; font-family: var(--display); font-size: var(--step-4); line-height: 1; }
.pe-stats span { display: block; font-weight: 600; line-height: 1.3; margin-top: .3rem; }
.pe-intro { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.pe-intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pe-intro h2 { font-size: var(--step-3); }
.pe-intro p { max-width: 58ch; color: #3d3633; }
.pe-clients { background: var(--yellow-tint); padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.pe-clients h2 { font-size: var(--step-2); }
.pe-client-list { list-style: none; margin: 2rem auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; max-width: 1040px; }
.pe-client-list li { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); height: 104px; display: flex; align-items: center; justify-content: center; padding: 1rem 1.2rem; }
.pe-logo img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.pe-logo.pe-sq img { max-height: 64px; }
.pe-client-list .pe-more { background: transparent; border-style: dashed; font-weight: 600; color: var(--husk); }
.pe-sectors { color: var(--husk); font-weight: 500; margin: 0; }
.pe-gallery { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.pe-collage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 8px; }
.pe-tile a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 10px; }
.pe-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pe-tile a:hover img { transform: scale(1.04); }
.pe-cap { position: absolute; left: .7rem; bottom: .7rem; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: .95rem; padding: .2rem .7rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.pe-t0 { grid-column: span 2; grid-row: span 2; }
.pe-t0 .pe-cap { font-size: 1.1rem; left: 1rem; bottom: 1rem; }
.pe-lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.pe-lightbox::backdrop { background: rgba(20, 14, 10, .88); }
.pe-lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 8px; }
.pe-x, .pe-nav { position: absolute; background: var(--yellow); color: var(--ink); border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-content: center; }
.pe-x { top: -18px; right: -18px; }
.pe-nav { top: 50%; transform: translateY(-50%); }
.pe-prev { left: -23px; }
.pe-next { right: -23px; }
@media (max-width: 900px) {
  .pe-intro-grid { grid-template-columns: 1fr; }
  .pe-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 600px) {
  .pe-stats-grid { gap: .4rem; }
  .pe-stats span { font-size: .85rem; }
  .pe-client-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pe-client-list li { height: 84px; padding: .7rem .9rem; }
  .pe-logo img { max-height: 34px; }
  .pe-logo.pe-sq img { max-height: 52px; }
  .pe-collage { grid-auto-rows: 140px; gap: 6px; }
  .pe-x { top: 6px; right: 6px; }
  .pe-prev { left: 6px; }
  .pe-next { right: 6px; }
}

.pe-partners { padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: center; }
.pe-kicker-dark { color: var(--husk) !important; }
.pe-partners h2 { font-size: var(--step-3); max-width: 24ch; margin-inline: auto; }
.pe-partners-lead { max-width: 62ch; margin: 0 auto; color: #3d3633; }
.pe-partner-list { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
.pe-partner-list li { height: 130px; flex-direction: column; gap: .35rem; }
.pe-partner-list .pe-logo img { max-height: 48px; }
.pe-partner-list .pe-logo.pe-sq img { max-height: 84px; }
.pe-sub { font-size: .78rem; color: var(--husk); font-weight: 500; }
@media (max-width: 700px) {
  .pe-partner-list { grid-template-columns: repeat(2, 1fr); }
  .pe-partner-list li { height: 110px; }
  .pe-partner-list .pe-logo img { max-height: 38px; }
  .pe-partner-list .pe-logo.pe-sq img { max-height: 70px; }
}

/* store card: directions line, then phone line */
.store-actions { flex-direction: column; gap: .35rem; }
.store-actions p { margin: 0; }
.store-phones { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

/* home menu grid with 7 categories: last tile fills the row */
.cat-grid .cat:nth-child(7):last-child { grid-column: span 2; }


/* home banner slider */
.hero .hero-photo { opacity: 0; transition: opacity 1.2s ease; }
.hero .hero-photo.is-on { opacity: 1; }
.hero-photo.pos-shop { object-position: 50% 62%; }
.hero-dots { position: absolute; z-index: 2; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; gap: .4rem; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; }
.hero-dots button::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.4); transition: background-color .2s, transform .2s; }
.hero-dots button[aria-pressed="true"]::before { background: var(--yellow); transform: scale(1.25); }
@media (max-width: 860px) { .hero-photo.pos-shop { object-position: 34% 70%; } }

.band-grid img.band-shop { object-fit: cover; object-position: 40% 68%; }

/* bigger header logo */
:root { --head-h: 96px; }
.brand img { width: 108px; }
@media (max-width: 600px) { :root { --head-h: 74px; } .brand img { width: 80px; } }
