@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: -1px; height: 1px; background: var(--line); }
.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; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
/* Hero on cream. Desktop: a compact purple "island" with the headline, text and buttons on the left;
   the framed product photo, the Import-Supply-Deliver strip and the Graand Foods badge on the right. */
.hero-green { --accent-ink: #a8361a; --plum: #583484;
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink); padding: 0;
  background: radial-gradient(ellipse 60% 80% at 78% 40%, #fffaf0, var(--wash) 65%); }
.hero-green .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto auto 1fr;
  column-gap: clamp(1.75rem, 3.5vw, 3.25rem); padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 4.5vw, 3.75rem); }
.hero-copy { display: contents; }
.hero-island { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; }
.hero-visual { grid-column: 2; grid-row: 1; }
.hero-green .flow-wrap { grid-column: 2; grid-row: 2; margin: 1.5rem 0 .25rem; max-width: none; }
.hero-green .foods-badge { grid-column: 2; grid-row: 3; align-self: start; justify-self: center; margin-top: 1rem; }
.hero-kicker { margin: 0 0 .75rem; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.hero-green h1 { max-width: 17ch; margin-bottom: .55em; }
.hero-green h1 span { display: block; font-weight: 600; font-size: .6em; line-height: 1.25; margin-top: .4em; max-width: 26ch; }
.hero-green .lede { font-size: 1rem; line-height: 1.6; max-width: 44ch; }
.hero-green .actions { margin: 1.4rem 0 .9rem; gap: .6rem; }
.hero-island .actions .btn { padding-inline: 1.05rem; font-size: .97rem; }
.btn-gold { color: var(--ink); border-color: var(--ink); background: #fff; }
.btn-gold:hover { background: var(--ink); color: #fff; }
.hero-talk { margin: 0; font-size: .9rem; }
.hero-talk a { font-weight: 600; text-underline-offset: 3px; }
.hero-talk .nowrap { white-space: nowrap; }
.hero-talk svg { width: 1em; height: 1em; vertical-align: -.12em; margin-right: .25em; }
/* the island: Graand Basmati label purple with label-gold accents; content centred vertically */
/* the island: one rounded card, Graand Foods green header (kicker + headline), cream body (text + buttons) */
.hero-island { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; position: relative;
  background: #fffaf2; border: 1px solid #e7dcc6; box-shadow: 0 22px 44px -28px rgb(60 45 20 / .45); }
.island-top { color: #fff; padding: clamp(1.4rem, 2.6vw, 2.1rem) clamp(1.4rem, 2.6vw, 2.25rem) clamp(1.2rem, 2.2vw, 1.7rem);
  background: radial-gradient(ellipse 90% 90% at 100% 0%, #17803f, #0d6130 55%, #0a4f27); }
.island-top h1 { color: #fff; font-size: clamp(1.85rem, 2.9vw, 2.55rem); margin: 0; }
.island-top h1 span { color: #f0cd7a; }
.island-top .hero-kicker { color: #f0cd7a; }
.island-body { padding: clamp(1.2rem, 2.2vw, 1.7rem) clamp(1.4rem, 2.6vw, 2.25rem) clamp(1.3rem, 2.4vw, 1.9rem); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.island-body .lede { color: var(--muted); margin: 0; }
.island-body .hero-talk { color: var(--muted); }
.island-body .hero-talk a { color: var(--ink); }
.island-body .hero-talk a:last-of-type svg { color: #1f9d55; }
.hero-island :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
/* the photo: a framed panel, thin gold edge and soft shadow */
.hero-visual { position: relative; margin: 0; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(195 154 59 / .55), 0 26px 50px -26px rgb(70 45 20 / .55); }
.hero-visual picture { display: block; }
.hero-visual img { display: block; width: 100%; height: auto; transform-origin: 50% 60%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 230 171 / .12) 48%, transparent 66%); }
.hero-motion { position: absolute; z-index: 3; right: .6rem; bottom: .6rem; min-height: 2.25rem; min-width: 2.75rem; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid rgb(20 20 20 / .25); background: rgb(255 255 255 / .9); color: var(--ink); font: inherit; font-size: .8125rem; cursor: pointer; }
.hero-motion[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-green[data-motion="on"] .hero-visual img { animation: hero-breathe 14s ease-in-out infinite; }
  .hero-green[data-motion="on"] .hero-visual::after { animation: hero-light 14s ease-in-out infinite; }
}
@keyframes hero-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes hero-light { 0%, 100% { opacity: 0; transform: translateX(-6%); } 50% { opacity: 1; transform: translateX(6%); } }
/* phones and small tablets: their own stacked composition, centred copy, full-width buttons */
@media (max-width: 56rem) {
  .hero-green .hero-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; padding-block: 1.75rem 2.5rem; text-align: center; justify-items: center; }
  .hero-island, .hero-visual, .hero-green .flow-wrap, .hero-green .foods-badge { grid-column: 1; grid-row: auto; }
  .hero-island { order: 2; width: 100%; border-radius: 22px; margin-top: 1rem; }
  .island-top { padding: 1.2rem 1.1rem 1rem; } .island-body { padding: 1rem 1.1rem 1.2rem; }
  .hero-island .hero-kicker { font-size: .82rem; margin-bottom: .4rem; }
  .hero-island h1 { font-size: clamp(1.6rem, 6.6vw, 2.2rem); margin-bottom: 0; }
  .hero-island h1 span { font-size: .62em; margin-top: .3em; }
  .hero-island .lede { font-size: .95rem; line-height: 1.5; }
  .hero-kicker { margin-bottom: .6rem; }
  .hero-green h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
  .hero-visual { order: 1; }
  .hero-motion { right: .4rem; bottom: .4rem; min-height: 2rem; padding: .2rem .6rem; font-size: .75rem; }
  .hero-green .lede { order: 4; }
  .hero-green .actions { order: 5; }
  .hero-talk { order: 6; }
  .hero-green .flow-wrap { order: 7; }
  .hero-green .foods-badge { order: 8; }
  .hero-green h1 span { margin-inline: auto; }
  .hero-visual { width: 100%; max-width: 46rem; margin: 0; border-radius: 22px; }
  .hero-green .hero-grid { padding-top: 1rem; }
  .hero-green .lede { font-size: 1rem; margin-inline: auto; }
  .hero-green .actions { display: grid; width: 100%; max-width: 26rem; margin: 1.1rem auto .8rem; }
  .hero-green .flow-wrap { text-align: left; width: 100%; }
  .hero-green .foods-badge { justify-self: center; }
  @keyframes hero-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.01); } }
}
.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; }
/* "View in 360°" is a secondary, quiet text link; "Ask price" stays the main button */
.btn-360 { background: transparent; color: var(--muted); border-color: transparent; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding-inline: .5rem; }
.btn-360:hover { 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 */
/* Why buy from Graand Exim: icon cards; the lead card is Graand Basmati purple like the hero island */
.why { background: var(--wash); }
.why h2 { margin-bottom: .35em; }
.why-intro { color: var(--muted); max-width: 52ch; margin: 0 0 2rem; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem; }
.why-card h3 { font-size: 1.1rem; margin: .9rem 0 .3rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.why-ic { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: #fdece2; color: #c2410c; }
.why-ic svg { width: 1.5rem; height: 1.5rem; }
.why-lead { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem;
  background: linear-gradient(160deg, #fff4ec, #fde3d2); border-color: #f6c7a8; }
.why-lead .why-ic { background: var(--cta); color: #fff; width: 3.5rem; height: 3.5rem; margin-bottom: auto; }
.why-lead h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2rem; }
.why-lead p { color: #5a4a40; font-size: 1rem; }
.why-cta { margin: 2rem 0 0; }
@media (max-width: 56rem) { .why-grid { grid-template-columns: 1fr 1fr; } .why-lead { grid-column: span 2; grid-row: auto; } .why-lead h3 { margin-top: 1.25rem; } }
@media (max-width: 36rem) { .why-grid { grid-template-columns: 1fr; } .why-lead { grid-column: auto; }
  .why-card:not(.why-lead) { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.1rem; }
  .why-card:not(.why-lead) .why-ic { grid-row: span 2; } .why-card:not(.why-lead) h3 { margin-top: .15rem; } .why-cta .btn { width: 100%; } }

/* 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; }

/* 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 */
/* Enquiry: light warm ground (no big dark block), white form card, red-orange actions */
.enquire { background: linear-gradient(180deg, #fff7f0, #fdeee3); color: var(--ink); border-top: 1px solid #f6d9c4; }
.enquire h2 { color: var(--ink); }
.enquire .contact a { color: var(--ink); }
.enquire-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.enquire .lead { color: var(--muted); }
.contact { font-style: normal; display: grid; gap: .3rem; color: var(--muted); margin-top: 1.5rem; }
.enquire form { border: 1px solid #f1d6c3; box-shadow: 0 20px 44px -30px rgb(120 60 20 / .45); }
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: 1px; background: var(--line); }
.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(--orange); 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(--orange); }
.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 */
.festive .nav a[aria-current] { text-decoration-color: var(--gold) !important; }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); 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: 1px; background: var(--line); }
/* Kasavu gold strips belong to the textile (festive wear) page only */
.festive .site-header::after { bottom: -6px; height: 6px; background: linear-gradient(to bottom, var(--gold-lt) 0 1px, transparent 1px 3px, var(--gold) 3px 6px); }
.festive .brand-hero::after { height: 8px; background: var(--kasavu); }
.festive footer::before { 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, .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; }
  .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; }
  .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; }
  /* Graand cards on phones: same compact photo-left layout, so three bags don't take three screens */
  .own-list { gap: .9rem; }
  .product.own { display: grid; grid-template-columns: 8rem 1fr; align-items: start; }
  .product.own picture { padding: .9rem .5rem; height: 100%; display: flex; align-items: center; }
  .product.own img { max-width: 100%; }
  .own-body { padding: .9rem 1rem 1rem .25rem; }
  .own-body h3 { font-size: 1.1rem; margin-bottom: .2em; }
  .own-body .desc { font-size: .9rem; }
  .own-body dl { margin-bottom: .8rem; }
  .own-body dl div { grid-template-columns: 3.5rem 1fr; font-size: .875rem; padding: .3rem 0; }
  .own-body .row .btn { flex: 1 1 auto; }
  .own-head { margin-bottom: 1.5rem; }
  .own-logo { width: 150px; }
}
@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 0 0 2px #fff8eb, 0 8px 22px rgba(0,0,0,.28); }
  .wa-float svg { width: 1.5rem; height: 1.5rem; }
  .wa-float:hover { background: #17633a; }
  .wa-float:focus-visible { outline: 3px solid #1f7a43; outline-offset: 4px; }
}
/* tablets: icon-only round button so it covers less of the page */
@media (min-width: 52.01rem) and (max-width: 64rem) {
  .wa-float { padding: .85rem; right: 16px; bottom: 16px; font-size: 0; gap: 0; }
  .wa-float svg { width: 1.6rem; height: 1.6rem; }
}
@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, .why-card, .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; } }

/* ---------- Shipping: ship video banner ---------- */
/* placeholder: a 1 KB blurred still of the ship video shows instantly, so there's never a black box; the video fades in over it */
.sea-banner { position: relative; margin: 2.75rem 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 2 / 1;
  background: #2b3a44 url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAAYADADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwBxmwetJ9p5wKzWmPPNMjkkeQLHncatuyuZLV2NOWcseI2A6ZHenGVkA+VlA7mmC0Nv5bPNlvT0zUdxGxRnjkMgXr7VyQk+ZM65xTgT/ac96etx71jiY+tSLMc9a6zjKW/g1csZI4kaViMgZoorGs2onRhknIge7+03mGc+WB+tXbC5i8oxuxHbJ70UVzy+E6n8TRQuNqXDBGyuaQPzRRXXF3ijz5q0mf/Z") center / cover no-repeat; }
.sea-banner video { opacity: 0; transition: opacity .8s ease; }
.sea-banner video.ready { opacity: 1; }
.sea-banner video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sea-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.72), rgba(10,10,10,.15) 65%); }
.sea-banner figcaption { position: absolute; z-index: 1; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.25rem, 4vw, 3rem); max-width: 26ch; color: #fff; }
.sea-banner figcaption strong { display: block; font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; font-style: italic; line-height: 1.1; }
.sea-banner figcaption span { display: block; margin-top: .4rem; color: #e6e6e6; font-size: clamp(.95rem, 1.6vw, 1.1rem); }
@media (max-width: 52rem) {
  .sea-banner { aspect-ratio: 4 / 5; }
  .sea-banner::after { background: linear-gradient(0deg, rgba(10,10,10,.78), rgba(10,10,10,.1) 60%); }
}
/* ---------- Journey: India port -> voyage -> Canada port -> delivery (one SVG, camera = viewBox, js/site.js) ---------- */
.journey { margin: 0 0 2.5rem; }
.jr-stage { position: relative; aspect-ratio: 2 / 1; border-radius: 14px; overflow: hidden; background: #a9c9d7;
            box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(20,40,60,.45); }
.jr-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jr-fade { position: absolute; inset: 0; background: var(--wash, #f6f1e7); opacity: 0; pointer-events: none; }
.jr-cap { position: absolute; left: 0; right: 0; top: 0; padding: clamp(.7rem, 2vw, 1.1rem) clamp(.8rem, 2.4vw, 1.4rem) 2.2rem;
          background: linear-gradient(rgba(15,20,25,.45), rgba(15,20,25,0)); pointer-events: none; }
.jr-bars { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.jr-bars li { height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.jr-bars i { display: block; height: 100%; background: linear-gradient(90deg, #ee2326, #f37020); transform-origin: left; transform: scaleX(0); }
.jr-text { margin: 0; color: #fff; font-weight: 800; font-style: italic; font-size: clamp(1.05rem, 2.6vw, 1.6rem); line-height: 1.15;
           text-shadow: 0 1px 12px rgba(0,0,0,.35); transition: opacity .35s, translate .35s; }
.jr-text.swap { opacity: 0; translate: 0 6px; }
.jr-pause { position: absolute; right: .7rem; bottom: .7rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
            background: rgba(15,20,25,.55); cursor: pointer; display: grid; place-items: center; }
.jr-pause span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.jr-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.jr-pause:focus-visible { outline: 3px solid #f37020; outline-offset: 2px; }
.journey.still .jr-cap, .journey.still .jr-pause { display: none; }
.journey figcaption { color: var(--muted); font-size: .9375rem; margin-top: .75rem; }
.world-country { font: 800 italic 30px var(--font); fill: rgba(20,20,20,.72); }
.world-note { font: 600 15px var(--font); fill: rgba(255,255,255,.95); }
.world-city { font: 700 16px var(--font); fill: #141414; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 4px; }
@media (max-width: 52rem) { .jr-stage { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) {
  .journey .j-bob    { animation: j-bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
  .journey .j-bob2   { animation: j-bob2 .5s ease-in-out infinite; }
  .journey .j-wave   { animation: j-wave 7s linear infinite; }
  .journey .j-wave2  { animation: j-wave 4.5s linear infinite reverse; }
  .journey .j-flag   { animation: j-flag 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
  .journey .j-palm   { animation: j-palm 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
  .journey .j-gulls  { animation: j-gulls 18s linear infinite; }
  .journey .j-gr     { animation-direction: reverse; animation-duration: 23s; }
  .journey .j-cloud  { animation: j-cloud 30s ease-in-out infinite alternate; }
  .journey .j-c2     { animation-duration: 41s; }
  .journey .j-shim   { animation: j-shim 2.4s ease-in-out infinite; }
  .journey .j-beam   { animation: j-beam 3.5s ease-in-out infinite; transform-box: view-box; transform-origin: 945px 224px; }
  .journey .j-smoke circle { animation: j-smoke 2.7s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  .journey .j-smoke circle:nth-child(2) { animation-delay: .9s; }
  .journey .j-smoke circle:nth-child(3) { animation-delay: 1.8s; }
  .journey.paused *, .journey.off * { animation-play-state: paused !important; }
}
@keyframes j-bob   { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(4px) rotate(.6deg); } }
@keyframes j-bob2  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes j-wave  { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes j-flag  { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-5deg) scaleX(.94); } }
@keyframes j-palm  { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes j-gulls { from { transform: translateX(-200px); } to { transform: translateX(1200px); } }
@keyframes j-cloud { from { transform: translateX(-50px); } to { transform: translateX(70px); } }
@keyframes j-shim  { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes j-beam  { 0%, 100% { opacity: .2; transform: rotate(-7deg); } 50% { opacity: 1; transform: rotate(7deg); } }
@keyframes j-smoke { from { transform: translate(0, 0) scale(.6); opacity: .9; } to { transform: translate(-46px, -70px) scale(2.4); opacity: 0; } }
/* ---------- Hero: Import, Supply, Deliver strip. A ship sails Import to Supply, hands over at Supply,
   then a truck drives Supply to Deliver. One 9 s loop; both vehicles are invisible at the loop point, so no jump. ---------- */
.flow-wrap { position: relative; max-width: 34rem; margin: 1.6rem 0 1.3rem;
  --col: calc((100% - 1.5rem) / 3); --c1: calc(var(--col) / 2); --c2: calc(var(--col) * 1.5 + .75rem); --c3: calc(var(--col) * 2.5 + 1.5rem); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; position: relative; }
.flow::before { content: ""; position: absolute; left: calc((100% - 1.5rem) / 6); right: calc((100% - 1.5rem) / 6); top: 1.4rem; border-top: 2px dashed #c8b99a; }
.flow li { position: relative; font-size: .875rem; color: var(--muted); line-height: 1.35; text-align: center; }
.flow b { display: block; color: var(--ink); font-size: 1rem; margin: .5rem 0 .1rem; }
.flow-ic { width: 2.8rem; height: 2.8rem; margin-inline: auto; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; position: relative; z-index: 1; }
.flow-ic svg { width: 1.5rem; height: 1.5rem; }
.flow-ship, .flow-truck { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .flow-ship, .flow-truck { display: block; position: absolute; z-index: 2; top: .62rem; width: 1.5rem; height: 1.5rem; color: var(--ink); opacity: 0; }
  .flow-ship { animation: flow-ship 9s ease-in-out infinite; }
  .flow-truck { animation: flow-truck 9s ease-in-out infinite; }
  .flow li:nth-child(2) .flow-ic { animation: flow-hand 9s ease-in-out infinite; }
  .flow li:nth-child(3) .flow-ic { animation: flow-arrive 9s ease-in-out infinite; }
  .hero-green:not([data-motion="on"]) :is(.flow-ship, .flow-truck, .flow-ic) { animation-play-state: paused; }
}
/* ship: leaves Import (just right of its icon), docks just left of Supply */
@keyframes flow-ship {
  0%   { left: calc(var(--c1) + 1.6rem); opacity: 0; transform: translateY(0); }
  5%   { opacity: 1; }
  20%  { transform: translateY(-1.5px); }
  32%  { transform: translateY(1px); }
  40%  { left: calc(var(--c2) - 3.1rem); opacity: 1; transform: translateY(0); }
  46%, 100% { left: calc(var(--c2) - 3.1rem); opacity: 0; }
}
/* truck: appears just right of Supply after the ship has gone, drives to just left of Deliver */
@keyframes flow-truck {
  0%, 47% { left: calc(var(--c2) + 1.6rem); opacity: 0; }
  52%  { opacity: 1; }
  86%  { left: calc(var(--c3) - 3.1rem); opacity: 1; }
  92%, 100% { left: calc(var(--c3) - 3.1rem); opacity: 0; }
}
/* handover glow on Supply, arrival glow on Deliver */
@keyframes flow-hand { 0%, 38%, 56%, 100% { box-shadow: 0 0 0 0 rgb(243 112 32 / 0); } 44%, 48% { box-shadow: 0 0 0 6px rgb(243 112 32 / .45); } }
@keyframes flow-arrive { 0%, 84%, 100% { box-shadow: 0 0 0 0 rgb(243 112 32 / 0); } 89% { box-shadow: 0 0 0 6px rgb(243 112 32 / .45); } }

/* ---------- Custom imports: a photo on each step ---------- */
.route li .step-photo { display: block; margin: 0 0 .9rem; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #d9d2c2; }
.route li .step-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 52rem) { .route li .step-photo { max-width: 22rem; } }
