@font-face {
  font-family: "Noto Sans Malayalam";
  src: url("../assets/fonts/noto-sans-malayalam-malayalam-600-normal.woff2") format("woff2");
  font-weight: 600; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D;
}
:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e6e0d3;
  --wash: #f7f2e8; /* warm off-white, like kasavu cloth */
  /* Kasavu border: thin gold line, small gap, wider gold band (Kerala mundu/saree edge) */
  --gold: #c39a3b;
  --gold-lt: #d9bb6a;
  --kasavu: linear-gradient(to bottom, var(--gold-lt) 0 2px, transparent 2px 4px, var(--gold) 4px 8px);
  --red: #ee2326;
  --orange: #f37020;
  --cta: linear-gradient(100deg, #c81e1e, #c2410c); /* darker logo gradient, readable with white text */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; font-style: italic; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .35em; }
p { margin: 0 0 1em; max-width: 60ch; }
section[id] { scroll-margin-top: 5rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.3rem;
       border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-call { background: var(--cta); color: #fff; }
.btn-call:hover { filter: brightness(.92); }
.btn-wa { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-wa svg { color: #1f9d55; }
.btn-wa:hover { background: var(--ink); color: #fff; }
.btn-wa:hover svg { color: #fff; }
.btn-small { min-height: 2.6rem; padding: .45rem 1rem; font-size: .9375rem; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
                      background: linear-gradient(to bottom, var(--gold-lt) 0 1px, transparent 1px 3px, var(--gold) 3px 6px); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand img { width: 95px; height: 50px; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 600; font-size: .9375rem; }
.nav a { text-decoration: none; white-space: nowrap; }
@media (max-width: 75rem) { .nav { gap: 1.1rem; font-size: .875rem; } }
@media (max-width: 64rem) { .nav { display: none; } .header-row .btn-call { margin-left: auto; } }

/* Phone/tablet menu (a <details> element, works without JavaScript) */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.6rem; padding: .45rem .9rem;
                border: 1.5px solid var(--ink); border-radius: 8px; font-weight: 700; font-size: .9375rem; background: #fff; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
                        box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; transition: transform .15s, box-shadow .15s; }
.menu[open] summary::before { content: "×"; width: 16px; height: auto; background: none; box-shadow: none; font-size: 1.4rem; line-height: .8; text-align: center; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu nav { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 25; background: #fff;
            padding: .25rem var(--gut) 1rem; box-shadow: 0 14px 24px rgba(0,0,0,.12); display: grid; }
.menu nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.menu nav a:last-child { border-bottom: 0; }
.menu nav a[aria-current] { color: #8a6a1f; }
.menu nav a[aria-current]::after { content: " (this page)"; font-weight: 400; color: var(--muted); font-size: .9375rem; }
@media (max-width: 64rem) {
  .menu { display: block; margin-left: auto; }
  .header-row .menu ~ .btn-call { margin-left: 0; }
}
@media (max-width: 24rem) { .header-row { gap: .6rem; } .header-row .btn-call { padding: .45rem .7rem; } }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); background: var(--wash); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kasavu); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9375rem; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: .45rem; }
.facts li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--cta); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-head { margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }

/* Products */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.1rem 1.1rem; }
.product picture { background: var(--wash); border-radius: 8px; padding: 1rem 1.5rem .5rem; margin-bottom: 1rem; }
.product img { margin: 0 auto; width: 100%; max-width: 200px; aspect-ratio: 394 / 560; }
.ml { font-family: "Noto Sans Malayalam", var(--font); font-weight: 600; color: var(--muted); margin: 0 0 .5rem; font-size: 1rem; }
.product .desc { font-size: .9375rem; color: var(--muted); margin-bottom: 1rem; }
.product .size { font-weight: 700; font-size: .9375rem; margin-bottom: 1rem; }
.product .row { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-360 { background: #fff; color: var(--ink); border: 1.5px solid #8d8d8d; }
.btn-360:hover { border-color: var(--ink); }
.also { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.also a { font-weight: 700; color: var(--ink); }

/* Our own brand: the featured range */
.own-brand { background: #0d6130; color: #fff; }
.own-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; margin-bottom: 2.5rem; }
.own-logo { width: 220px; height: auto; }
.own-head h2 { color: #fff; margin-bottom: .4em; }
.own-head p { color: #d9eadf; margin: 0; }
.own-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.product.own { background: #fff; color: var(--ink); border: 0; padding: 0; overflow: hidden; }
.product.own picture { border-radius: 0; margin: 0; padding: 1.5rem 2rem .75rem; background: linear-gradient(180deg, #eef3ef, #fff); }
.product.own img { max-width: 260px; aspect-ratio: 489 / 700; }
.own-body { padding: 1.1rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.own-body h3 { font-size: 1.35rem; }
.fr { color: var(--muted); font-style: italic; margin: 0 0 .6rem; }
.own-body dl { margin: 0 0 1.1rem; border-top: 1px solid var(--line); }
.own-body dl div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.own-body dt { font-weight: 700; }
.own-body dd { margin: 0; color: var(--muted); }

/* Who we serve */
.serve { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.serve > div { background: var(--wash); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.serve p { color: var(--muted); margin: 0; }

/* Import route: the one bold element, an arrow taken from the logo */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; }
.route::before { content: ""; position: absolute; left: 1.4rem; right: 1.6rem; top: 1.4rem; height: 6px; border-radius: 3px;
                 background: linear-gradient(90deg, var(--red), var(--orange)); }
.route::after { content: ""; position: absolute; right: 0; top: calc(1.4rem - 11px); border: 14px solid transparent;
                border-left: 20px solid var(--orange); border-right: 0; }
.route li { position: relative; padding-top: 4rem; counter-increment: step; }
.route li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%;
                    display: grid; place-items: center; background: #fff; border: 3px solid var(--ink); font-weight: 800; }
.route p { color: var(--muted); font-size: .9688rem; margin: 0; }
.route-ends { display: flex; justify-content: space-between; margin-top: 1.75rem; font-weight: 700; font-size: .9375rem; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.about dl { margin: 0; border-top: 1px solid var(--line); }
.about dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.about dt { font-weight: 700; }
.about dd { margin: 0; color: var(--muted); }

/* Enquiry */
.enquire { background: var(--ink); color: #fff; }
.enquire h2 { color: #fff; }
.enquire-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.enquire .lead { color: #cfcfcf; }
.contact { font-style: normal; display: grid; gap: .3rem; color: #e6e6e6; margin-top: 1.5rem; }
.enquire .btn-wa { background: transparent; color: #fff; border-color: #fff; }
.enquire .btn-wa svg { color: #4ade80; }
.enquire .btn-wa:hover { background: #fff; color: var(--ink); }
form { display: grid; gap: 1rem; background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2rem); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9375rem; }
input, textarea { font: inherit; font-weight: 400; padding: .75rem .85rem; border: 1.5px solid #6f7378; border-radius: 6px; width: 100%; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--ink); }
[aria-invalid="true"] { border-color: #b3261e; }
.optional { font-weight: 400; color: var(--muted); }
form .btn { justify-self: start; }
.status { margin: 0; font-weight: 600; min-height: 1.5em; }
.status.err { color: #b3261e; } .status.ok { color: #1f7a43; }

/* Footer */
footer { position: relative; padding: 2.5rem 0 6rem; font-size: .9375rem; color: var(--muted); background: var(--wash); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--kasavu); }
.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.social a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; margin-left: .6rem; }

/* 360° dialog */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(92vw, 40rem); max-height: 92vh; }
dialog::backdrop { background: rgba(0,0,0,.6); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.25rem; margin: 0; font-style: normal; }
.icon-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid #c9c9c9; background: #fff; font: inherit; font-size: 1.25rem; font-weight: 700; cursor: pointer; line-height: 1; color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); }
.stage { position: relative; aspect-ratio: 1 / 1; background: var(--wash); }
.stage canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; cursor: grab; opacity: 0; transition: opacity .3s; }
.stage.live canvas { opacity: 1; }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8% 22%; }
.stage.live .poster { visibility: hidden; }
.stage .msg { position: absolute; z-index: 2; top: .9rem; left: 1rem; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.stage.live .msg { display: none; }
.zoom { position: absolute; z-index: 2; right: .9rem; bottom: .9rem; display: flex; flex-direction: column; gap: .4rem; }
.stage:not(.live) .zoom { display: none; }
.dlg-foot { padding: .8rem 1.25rem; font-size: .875rem; color: var(--muted); margin: 0; }

/* Doorstep delivery band (key selling point, directly under the hero) */
.delivery-band { background: #fff; padding: clamp(1.5rem, 3.5vw, 2.25rem) 0; border-bottom: 1px solid var(--line); }
.delivery-grid { display: grid; grid-template-columns: minmax(0, 21rem) 1fr; gap: 1.25rem 2.5rem; align-items: center; }
.delivery-head { display: flex; align-items: center; gap: 1rem; }
.delivery-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0; }
.truck { width: 3.25rem; height: 3.25rem; flex: none; padding: .7rem; border-radius: 50%; color: #fff; background: var(--cta); }
.delivery-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.75rem;
                   font-size: .9375rem; color: var(--muted); }
.delivery-points li { border-left: 3px solid var(--gold); padding-left: .85rem; }
.delivery-points strong { display: block; color: var(--ink); margin-bottom: .1rem; }
@media (max-width: 52rem) { .delivery-grid { grid-template-columns: 1fr; } .delivery-points { grid-template-columns: 1fr; gap: .8rem; } }

/* Graand Foods logo placements */
.foods-badge { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.5rem; padding: .5rem 1rem .5rem .75rem;
               background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.foods-badge img { width: 110px; height: auto; }
.foods-badge:hover { border-color: #0d6130; }
.brand-tile.own-tile { grid-template-columns: 150px 1fr; }
.brand-tile.own-tile img { width: 150px; height: auto; }
.brand-tile.own-tile:hover { border-color: #0d6130; }
.foot-foods { display: flex; align-items: center; gap: .9rem; flex-basis: 100%; max-width: none; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.foot-foods img { width: 94px; height: auto; }
.foot-foods a { color: var(--ink); font-weight: 700; }

/* Brands we supply (homepage strip) */
.brands-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1.25rem; }
.brand-tile { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; border: 1px solid var(--line); border-radius: 12px;
              padding: 1.1rem 1.25rem; text-decoration: none; background: #fff; }
.brand-tile:hover { border-color: var(--gold); }
.brand-tile .thumbs { display: flex; }
.brand-tile .thumbs img { width: 64px; height: 80px; border-radius: 6px; background: #fff; }
.brand-tile .thumbs img + img { margin-left: -14px; }
.brand-tile h3 { margin-bottom: .2em; }
.brand-tile p { margin: 0; color: var(--muted); font-size: .9375rem; }
.brand-tile .more { display: inline-block; margin-top: .5rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Brand page */
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.brand-hero { position: relative; background: var(--wash); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem); }
.brand-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kasavu); }
.brand-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; }
.crumbs { font-size: .9375rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink); }
.brand-hero .facts { margin-top: 1.25rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.jump a { padding: .45rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .9375rem; text-decoration: none; background: #fff; }
.jump a:hover { background: var(--ink); color: #fff; }
.brand-body { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.brand-group { margin-bottom: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 5rem; }
.brand-group h2 { margin-bottom: .3em; }
.group-note { color: var(--muted); margin-bottom: 1.5rem; }
.product.brand-item picture { background: #fff; padding: 0; }
.product.brand-item img { max-width: 220px; aspect-ratio: 4 / 5; }
.product.brand-item .desc { margin-bottom: .25rem; }
.brand-cta { background: var(--wash); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.brand-cta .actions { margin-bottom: 0; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }

/* Kerala festive wear */
.wear-tile { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; text-decoration: none;
             background: var(--wash); border-radius: 12px; overflow: hidden; position: relative; }
.wear-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kasavu); }
.wear-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.wear-tile > div { padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem 0; }
.wear-tile p { color: var(--muted); }
.wear-tile .more { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wear-tile:hover .more { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.wear-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.wear-hero .actions { margin-bottom: 0; }
.wear-photo { margin: 0; }
.wear-photo img { width: 100%; border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; }
.wear-photo figcaption { font-size: .8125rem; color: var(--muted); margin-top: .5rem; }
.wear-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.wear-list li { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 1.25rem; }
.wear-list p { color: var(--muted); font-size: .9375rem; margin: 0; }
.wear-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.wear-split.reverse { grid-template-columns: 1fr 1.2fr; }
.wear-split .wear-photo { width: 100%; max-width: 26rem; justify-self: center; }
.ticks, .steps { margin: 0; padding: 0; display: grid; gap: .9rem; }
.ticks { list-style: none; }
.ticks li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }
.ticks strong, .steps strong { color: var(--ink); }
.steps { padding-left: 1.4rem; color: var(--muted); }
.steps li::marker { font-weight: 800; color: var(--ink); }
.steps + .group-note { margin-top: 1.25rem; }

/* Festive wear page only: extra Kerala touches (body.festive) */
.festive { --temple: conic-gradient(from 135deg at 50% 0, var(--gold) 90deg, transparent 0) 0 0 / 14px 7px repeat-x; }
/* hero: faint kolam dot grid, then a temple-peak row above the kasavu band */
.festive .brand-hero { background-color: var(--wash);
  background-image: radial-gradient(circle, rgba(195,154,59,.22) 1.2px, transparent 1.6px);
  background-size: 22px 22px; padding-bottom: clamp(2.75rem, 6vw, 4rem); }
.festive .brand-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 7px; background: var(--temple); }
/* photos framed like a saree edge: kasavu stripes along the bottom */
.festive .wear-photo picture { display: block; position: relative; border-radius: 12px; overflow: hidden; }
.festive .wear-photo img { border-radius: 0; }
.festive .wear-photo picture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: linear-gradient(to bottom, #f7f2e8 0 3px, var(--gold-lt) 3px 5px, #f7f2e8 5px 7px, var(--gold) 7px 14px); }
/* cards: cream cloth with a kasavu hem */
.festive .wear-list li { background: #fbf8f1; border-top: 0; position: relative; overflow: hidden; padding-bottom: 1.75rem; }
.festive .wear-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kasavu); }
/* pookalam divider between sections */
.motif { display: flex; align-items: center; gap: 1rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); max-width: 28rem; }
.motif::before, .motif::after { content: ""; flex: 1; height: 5px;
  background: linear-gradient(to bottom, var(--gold-lt) 0 1px, transparent 1px 3px, var(--gold) 3px 5px); }
.motif svg { width: 44px; height: 44px; flex: none; }
/* call-to-action box: temple peaks along the top, kasavu along the bottom */
.festive .brand-cta { position: relative; overflow: hidden; padding-top: calc(clamp(1.5rem, 4vw, 2.5rem) + 7px); padding-bottom: calc(clamp(1.5rem, 4vw, 2.5rem) + 8px); }
.festive .brand-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--temple); transform: scaleY(-1); }
.festive .brand-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kasavu); }

/* FAQ and privacy pages */
.prose > * { max-width: 48rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2rem; }
.prose p, .prose address { color: var(--muted); }
.faq-group { margin-bottom: 2.5rem; }
.faq-item { border-top: 1px solid var(--line); padding: 1.1rem 0 .3rem; }
.faq-item h3 { margin-bottom: .4em; }
.updated { font-size: .875rem; }
.privacy-contact { font-style: normal; line-height: 1.8; }
.foot-links a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; margin-right: .9rem; }
.form-note { margin: 0; font-size: .875rem; color: var(--muted); }

/* Phone: sticky contact bar in thumb reach */
.mobile-bar { display: none; }
@media (max-width: 52rem) {
  .nav { display: none; }
  .header-row .btn-call { margin-left: auto; }
  .hero-grid, .about, .enquire-grid, .serve, .wear-hero, .wear-split, .wear-split.reverse { grid-template-columns: 1fr; }
  .wear-split.reverse .wear-photo { order: 2; }
  .wear-list { grid-template-columns: 1fr 1fr; }
  .wear-tile { grid-template-columns: 1fr; }
  .wear-tile img { aspect-ratio: 16 / 10; object-position: center 30%; }
  .wear-tile > div { padding: 0 1.25rem 2rem; }
  .hero-grid picture { order: -1; }
  .products { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .own-list { grid-template-columns: 1fr; }
  .product.own { padding: 0; }
  .product { padding: .8rem; }
  .product picture { padding: .6rem 1rem .3rem; }
  .product .row .btn { flex: 1 1 100%; }
  .route { grid-template-columns: 1fr; gap: 1.25rem; }
  .route::before { left: 1.25rem; right: auto; top: 1.4rem; bottom: 1.4rem; width: 6px; height: auto; background: linear-gradient(180deg, var(--red), var(--orange)); }
  .route::after { display: none; }
  .route li { padding: .2rem 0 0 4rem; }
  .route-ends { display: none; }
  .two { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
                background: #fff; border-top: 1px solid var(--line); padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .mobile-bar .btn { min-height: 3rem; padding: .5rem; font-size: .9375rem; }
  .mobile-bar .btn-enq { background: var(--wash); color: var(--ink); }
}
@media (max-width: 24rem) { .products { grid-template-columns: 1fr; } }
/* Kerala rice cards on phones: photo on the left, details on the right */
@media (max-width: 52rem) {
  #rice .products { grid-template-columns: 1fr; }
  #rice .product { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 1rem; align-items: start; }
  #rice .product picture { grid-column: 1; grid-row: 1 / span 6; margin: 0; padding: .5rem; }
  #rice .product > :not(picture) { grid-column: 2; }
  #rice .product .row { align-self: end; }
  #rice .product .row .btn { flex: 1 1 auto; }
}
@media (max-width: 32rem) { .brand-tile, .brand-tile.own-tile { grid-template-columns: 1fr; gap: .75rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stage canvas { transition: none; } }

/* ---------- Floating WhatsApp button (desktop and tablet; phones have the bottom bar) ---------- */
.wa-float { display: none; }
@media (min-width: 52.01rem) {
  .wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: .6rem;
    background: #1f7a43; color: #fff; text-decoration: none; font-weight: 700; padding: .8rem 1.15rem .8rem .95rem; border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22); }
  .wa-float svg { width: 1.5rem; height: 1.5rem; }
  .wa-float:hover { background: #17633a; }
}
@media print { .wa-float, .mobile-bar { display: none !important; } }

/* ---------- Motion: only for visitors who haven't asked their device to reduce motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* smooth fade between pages; the header stays still */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }

  /* hover lift, bag tilt (mouse and trackpad only) */
  @media (hover: hover) {
    .product, .brand-tile, .wear-tile, .wear-list li { transition: transform .2s ease, box-shadow .2s ease; }
    .product:hover, .brand-tile:hover, .wear-tile:hover, .wear-list li:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,.14); }
    .product picture { perspective: 700px; }
    .product img { transition: transform .35s ease; }
    .product:hover img { transform: rotateY(-9deg) scale(1.03); }
    .btn:active { transform: translateY(1px); }
  }

  @supports (animation-timeline: view()) {
    /* import route: the arrow draws from India to your door, then each step lights up */
    .route { view-timeline: --route block; }
    .route::before { transform-origin: left center; animation: route-draw linear both; animation-timeline: --route; animation-range: cover 15% cover 45%; }
    .route::after { animation: route-fade linear both; animation-timeline: --route; animation-range: cover 44% cover 47%; }
    .route li::before { animation: step-light linear both; animation-timeline: --route; }
    .route li:nth-child(1)::before { animation-range: cover 15% cover 18%; }
    .route li:nth-child(2)::before { animation-range: cover 23% cover 26%; }
    .route li:nth-child(3)::before { animation-range: cover 31% cover 34%; }
    .route li:nth-child(4)::before { animation-range: cover 39% cover 42%; }
    @media (max-width: 52rem) {
      .route::before { transform-origin: center top; animation-name: route-draw-down; }
    }

    /* cards rise gently into view (opacity and position only; text is never removed) */
    .product, .brand-tile, .wear-tile, .serve > div, .wear-list li, .faq-item {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes route-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes route-draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes route-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes step-light { from { background-color: #fff; color: var(--ink); border-color: var(--ink); }
                        to { background-color: #c81e1e; color: #fff; border-color: #c81e1e; box-shadow: 0 0 0 6px rgba(243,112,32,.18); } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
