/* =========================================================
   VYOMSETU — Homepage theme ("Vyomsetu Blue")
   - All sizes use rem / % / clamp() so the page scales cleanly
     with browser zoom (Ctrl + / Ctrl -) and any screen size.
   - Change colours and fonts in :root.
   ========================================================= */

:root{
  --cream: #f5f8fd;      /* page background tint */
  --cream-2: #e7eef9;
  --paper: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #4a5568;
  --turmeric: #9fd0ff;   /* sky: highlights on dark backgrounds */
  --saffron: #1465cc;    /* brand blue: links, secondary buttons */
  --saffron-dark: #0e4fa3;
  --cardamom: #04295c;   /* navy: dark sections, footer */
  --navy-deep: #031f47;
  --cat-spice: #f2a900;  --cat-veg: #2e9e5b;  --cat-fruit: #e8573f;
  --line: rgba(15,27,45, 0.14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 1.125rem;
  --radius-lg: 1.75rem;
  --shadow: 0 1.25rem 2.5rem -1.25rem rgba(15,35,70,0.28);
  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 4.75rem;
}

*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 3px solid var(--turmeric); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3{ font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1{ font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2{ font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3{ font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
p{ color: var(--ink-soft); }

.container{ width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section{ padding-block: var(--section); }
.section-head{ max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head p{ margin-top: 1rem; font-size: 1.125rem; }

.eyebrow{
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 1rem;
}
.eyebrow::before{ content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.section-head.center .eyebrow::after{ content: ""; width: 1.75rem; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.75rem; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body); border: 2px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--saffron); color: #fff; }
.btn-primary:hover{ background: var(--saffron-dark); }
.btn-ghost{ border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover{ background: var(--ink); color: var(--cream); }
.btn-light{ background: var(--cream); color: var(--cardamom); }
.btn .arrow{ transition: transform .25s ease; }
.btn:hover .arrow{ transform: translateX(.25rem); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,248,253, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled{ border-color: var(--line); }
.nav{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand{ display: flex; align-items: center; gap: .75rem; }
.brand-mark{ width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 50%; background: var(--cardamom); display: grid; place-items: center; }
.brand-mark svg{ width: 60%; height: 60%; }
.brand-name{ font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; line-height: 1.1; display: block; }
.brand-tag{ display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav-links{ display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); list-style: none; }
.nav-links a{ font-weight: 600; font-size: 1rem; }
.nav-links a:not(.btn){ position: relative; padding-block: .25rem; }
.nav-links a:not(.btn)::after{
  content: ""; position: absolute; left: 0; bottom: -.15rem; width: 0; height: 2px;
  background: var(--saffron); transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links .btn{ padding: .7rem 1.4rem; }
.nav-toggle{ display: none; background: none; border: 0; cursor: pointer; width: 2.75rem; height: 2.75rem; }
.nav-toggle span{ display: block; width: 1.5rem; height: 2px; background: var(--ink); margin: .32rem auto; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero{ padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); }
.hero-grid{ display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 em{ font-style: italic; color: var(--saffron); font-weight: 500; }
.hero-lead{ font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin: 1.5rem 0 2rem; max-width: 34rem; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-trust{ display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2.25rem; }
.hero-trust div{ font-size: .95rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.hero-trust svg{ color: var(--cardamom); flex-shrink: 0; width: 1.1rem; height: 1.1rem; }

.hero-visual{ position: relative; width: 100%; max-width: 34rem; margin-inline: auto; aspect-ratio: 1 / 1.05; }
.hero-visual .img-main{
  position: absolute; top: 0; right: 0; width: 88%; height: 88%;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 38% 38% var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-visual .img-small{
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: .5rem solid var(--cream); box-shadow: var(--shadow);
}
.hero-visual img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats{ background: var(--cardamom); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.stats-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat{ border-left: 1px solid rgba(245,248,253,.2); padding-left: 1.5rem; }
.stat:first-child{ border-left: 0; padding-left: 0; }
.stat strong{ font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 600; color: var(--turmeric); display: block; line-height: 1.15; }
.stat span{ font-size: .95rem; color: #cfdcf0; }

/* ---------- Grids ---------- */
.grid-3{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-4{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }

/* Category tiles */
.cat-tile{ position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; display: flex; align-items: flex-end; }
.cat-tile img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cat-tile::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5,15,35,.88)); }
.cat-tile:hover img{ transform: scale(1.06); }
.cat-body{ position: relative; z-index: 1; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.cat-body h3{ font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.cat-body p{ color: #e3ecf8; font-size: 1rem; margin-top: .35rem; }
.cat-body small{ display: block; margin-top: .75rem; font-size: .875rem; color: var(--turmeric); font-weight: 700; }
.note{ margin-top: 1.75rem; font-size: 1.05rem; }
.note a{ color: var(--saffron); font-weight: 700; }

/* Product grid */
.products-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.product{ background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.product:hover{ transform: translateY(-.35rem); box-shadow: var(--shadow); }
.product-img{ aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.product-img img{ width: 100%; height: 100%; object-fit: cover; }
.product-body{ padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product h3{ margin: .7rem 0 .35rem; }
.product p{ font-size: 1rem; flex: 1; }
.product .link{ margin-top: .9rem; font-weight: 700; font-size: 1rem; color: var(--saffron); }
.chip{ align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; background: var(--cream-2); color: var(--cardamom); }
.chip.spice{ background: #f6e3c0; color: #7d5206; }
.chip.veg{ background: #dcebff; color: var(--cardamom); }
.chip.fruit{ background: #f7dccd; color: var(--saffron-dark); }

.filters{ display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter{ font: 600 1rem var(--font-body); padding: .55rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: .2s; }
.filter:hover{ border-color: var(--ink); }
.filter.active{ background: var(--ink); border-color: var(--ink); color: var(--cream); }
.product[hidden]{ display: none; }

/* Process */
.process{ background: var(--paper); }
.steps{ counter-reset: step; }
.step{ padding-top: 1.5rem; border-top: 2px solid var(--line); transition: border-color .3s; }
.step::before{
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3rem); color: var(--turmeric); line-height: 1; display: block; margin-bottom: 1rem;
}
.step h3{ margin-bottom: .5rem; }
.step:hover{ border-top-color: var(--saffron); }

/* Why us */

.feature-icon{ flex-shrink: 0; width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--cardamom); color: var(--turmeric); display: grid; place-items: center; }
.feature-icon svg{ width: 1.6rem; height: 1.6rem; }

/* Story */
.story{ background: var(--cardamom); color: var(--cream); }
.story p, .story span{ color: #cfdcf0; }
.story h2{ color: var(--cream); }
.story .eyebrow{ color: var(--turmeric); }

.timeline{ list-style: none; margin-top: 2rem; }
.timeline li{ display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; padding-block: 1rem; border-top: 1px solid rgba(245,248,253,.18); }
.timeline b{ font-family: var(--font-display); color: var(--turmeric); font-size: 1.3rem; font-weight: 600; }

.team{ display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }

/* Blog cards */
.head-row{ display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-row .section-head{ margin-bottom: 0; }
.post{ background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.post:hover{ transform: translateY(-.35rem); box-shadow: var(--shadow); }
.post-img{ aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.post-img img{ width: 100%; height: 100%; object-fit: cover; }
.post-body{ padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.post-meta{ display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; font-size: .9rem; color: var(--ink-soft); margin-bottom: .75rem; }
.post h3{ margin-bottom: .6rem; }
.post p{ font-size: 1rem; flex: 1; }
.post .link{ margin-top: 1.1rem; font-weight: 700; color: var(--saffron); }

/* FAQ */
.faq-grid{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 4.5rem); }
.faq details{ border-bottom: 1px solid var(--line); padding-block: 1.35rem; }
.faq summary{ list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 600; }
.faq summary::-webkit-details-marker{ display: none; }
.faq .plus{ flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform .3s, background .3s; font: 600 1.1rem/1 var(--font-body); }
.faq details[open] .plus{ transform: rotate(45deg); background: var(--saffron); border-color: var(--saffron); color: #fff; }
.faq details p{ margin-top: .85rem; }

/* Contact */
.contact{ background: var(--paper); }
.contact-grid{ display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact-info{ list-style: none; margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact-info li{ display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .feature-icon{ width: 3rem; height: 3rem; }
.contact-info b{ display: block; }
.contact-info a{ color: var(--saffron); font-weight: 700; }
.form{ background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field{ display: grid; gap: .4rem; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea{
  font: 1rem var(--font-body); color: var(--ink); width: 100%;
  padding: .85rem 1rem; border-radius: .75rem; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea{ min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(20,101,204,.18); }
.phone-row{ display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: .5rem; }
.form .btn{ justify-self: start; }
.form small{ grid-column: 1 / -1; color: var(--ink-soft); font-size: .875rem; }
.hidden{ display: none !important; }

/* Footer */
.site-footer{ background: var(--ink); color: #c7d2e3; padding-block: 3.5rem 2rem; }
.footer-top{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer .brand-name{ color: var(--cream); }
.site-footer p{ color: #9fb0c8; margin-top: .4rem; }
.footer-links{ display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; }
.footer-links a:hover{ color: var(--cream); }
.socials{ display: flex; gap: .75rem; }
.socials a{ width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(245,248,253,.25); display: grid; place-items: center; transition: .25s; }
.socials svg{ width: 1rem; height: 1rem; }
.socials a:hover{ background: var(--saffron); border-color: var(--saffron); color: #fff; }
.footer-bottom{ border-top: 1px solid rgba(245,248,253,.14); margin-top: 2rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: #8a9bb5; }

/* Reveal (content is always visible if JS is off) */
.js .reveal{ opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- Responsive (em-based so it also reflows on browser zoom) ---------- */
@media (max-width: 64em) {
  .grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .faq-grid, .contact-grid{ grid-template-columns: minmax(0, 1fr); }
  .stats-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3){ border-left: 0; padding-left: 0; }
}
@media (max-width: 56em) {
  .nav-toggle{ display: block; }
  .nav-links{
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 1.25rem 1.75rem -1.25rem rgba(0,0,0,.35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-links a:not(.btn){ display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after{ display: none; }
  .nav-links .btn{ margin-top: 1rem; width: 100%; }
  .site-header.open .nav-links{ opacity: 1; visibility: visible; transform: none; }
  .site-header.open .nav-toggle span:nth-child(1){ transform: translateY(.45rem) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2){ opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3){ transform: translateY(-.45rem) rotate(-45deg); }
  .grid-3{ grid-template-columns: minmax(0, 1fr); }
  .cat-tile{ aspect-ratio: 16 / 10; }
}
@media (max-width: 36em) {
  .grid-4, .stats-grid{ grid-template-columns: minmax(0, 1fr); }
  .stat{ border-left: 0; padding-left: 0; border-top: 1px solid rgba(245,248,253,.2); padding-top: 1rem; }
  .stat:first-child{ border-top: 0; padding-top: 0; }
  .cat-tile{ aspect-ratio: 4 / 3; }
  .hero-actions .btn{ flex: 1 1 100%; }
  .brand-tag{ display: none; }
  .form{ grid-template-columns: minmax(0, 1fr); }
  .form .btn{ justify-self: stretch; }
  .footer-top{ flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */

/* Page hero */
.page-hero{ position: relative; color: var(--cream); background: var(--ink); overflow: hidden; }
.page-hero > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,27,45,.92) 20%, rgba(15,27,45,.35)); }
.page-hero .container{ position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 7.5rem); }
.page-hero h1{ color: var(--cream); max-width: 48rem; font-size: clamp(2.2rem, 5vw, 3.75rem); }
.page-hero p{ color: #d6e2f3; font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 1.1rem; max-width: 38rem; }
.page-hero .eyebrow{ color: var(--turmeric); }
.page-hero .hero-actions{ margin-top: 2rem; }
.page-hero .btn-ghost{ border-color: var(--cream); color: var(--cream); }
.page-hero .btn-ghost:hover{ background: var(--cream); color: var(--ink); }
.crumbs{ display: flex; flex-wrap: wrap; gap: .5rem; font-size: .95rem; color: #c7d2e3; margin-bottom: 1.25rem; list-style: none; }
.crumbs a:hover{ color: var(--turmeric); }
.crumbs li + li::before{ content: "/"; margin-right: .5rem; opacity: .6; }

/* Intro split */
.split{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.split-img{ border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split-img img{ width: 100%; height: 100%; object-fit: cover; }
.split p + p{ margin-top: 1rem; }

/* Product of the month band */
.potm{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--cardamom); border-radius: var(--radius-lg); overflow: hidden; color: var(--cream); }
.potm-img{ min-height: 18rem; }
.potm-img img{ width: 100%; height: 100%; object-fit: cover; }
.potm-body{ padding: clamp(1.75rem, 5vw, 3.5rem); align-self: center; }
.potm-body h2{ color: var(--cream); }
.potm-body p{ color: #cfdcf0; margin: 1rem 0 1.75rem; }
.potm-body .eyebrow{ color: var(--turmeric); }
.potm-tag{ display: inline-block; background: var(--turmeric); color: var(--ink); font-weight: 700; font-size: .875rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }

/* Icon cards (benefits / values) */

/* Sourcing-on-request tiles */
.request-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.request{ background: var(--paper); border: 1.5px dashed rgba(15,27,45,.25); border-radius: var(--radius); padding: 1.5rem; }
.request b{ font-family: var(--font-display); font-size: 1.3rem; display: block; margin-bottom: .35rem; }
.request p{ font-size: 1rem; }

/* Full timeline */

/* Team cards */
.team-card{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.team-card .photo{ aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.team-card .photo img{ width: 100%; height: 100%; object-fit: cover; }
.team-card .body{ padding: 1.5rem; }
.team-card h3{ margin-bottom: .35rem; }
.team-card p, .story .team-card p{ font-size: 1rem; color: var(--ink-soft); }
.team-card h3, .story .team-card h3{ color: var(--ink); }

/* Generic CTA band */
.cta-band{ background: linear-gradient(120deg, rgba(15,27,45,.88), rgba(15,27,45,.6)), url("../images/optimised-images/products-hero.webp") center / cover; border-radius: var(--radius-lg); padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem); color: var(--cream); display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem; align-items: center; }
.cta-band h2{ color: var(--cream); }
.cta-band p{ color: #d6e2f3; margin-top: .75rem; }

/* Blog listing */
.blog-toolbar{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.search{ position: relative; flex: 1 1 16rem; max-width: 24rem; }
.search input{ width: 100%; font: 1rem var(--font-body); padding: .8rem 1rem .8rem 2.75rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.search input:focus{ outline: none; border-color: var(--saffron); }
.search svg{ position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--ink-soft); }
.post-featured{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; transition: box-shadow .3s; }
.post-featured:hover{ box-shadow: var(--shadow); }
.post-featured .post-img{ aspect-ratio: auto; min-height: 18rem; }
.post-featured .post-body{ padding: clamp(1.5rem, 4vw, 3rem); justify-content: center; }
.post-featured h3{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.empty, .loading{ text-align: center; padding: 3rem 1rem; color: var(--ink-soft); grid-column: 1 / -1; }
.skeleton{ background: linear-gradient(90deg, var(--cream-2), var(--paper), var(--cream-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 22rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Article */
.article-head{ max-width: 48rem; margin-inline: auto; text-align: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.article-head h1{ font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 1rem 0; }
.article-meta{ display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; color: var(--ink-soft); font-size: .95rem; }
.article-head .crumbs{ justify-content: center; color: var(--ink-soft); }
.article-cover{ max-width: 60rem; margin: clamp(2rem, 4vw, 3rem) auto 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--cream-2); }
.article-cover img{ width: 100%; height: 100%; object-fit: cover; }
.prose{ max-width: 44rem; margin-inline: auto; font-size: 1.125rem; line-height: 1.8; color: var(--ink); }
.prose > * + *{ margin-top: 1.25rem; }
.prose h1, .prose h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.5rem; }
.prose h3{ font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li{ color: #2d3748; }
.prose a{ color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol{ padding-left: 1.4rem; }
.prose li + li{ margin-top: .5rem; }
.prose img{ border-radius: var(--radius); margin-inline: auto; }
.prose blockquote{ border-left: 4px solid var(--turmeric); padding: .5rem 0 .5rem 1.25rem; font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }
.prose hr{ border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.prose table{ width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td{ border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.share{ max-width: 44rem; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.share .socials a{ border-color: var(--line); }

/* Thank you */
.thanks{ min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.thanks-icon{ width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--cardamom); color: var(--turmeric); display: grid; place-items: center; }
.thanks-icon svg{ width: 2.5rem; height: 2.5rem; }
.thanks p{ max-width: 34rem; margin: 1rem auto 2rem; font-size: 1.125rem; }
.thanks .hero-actions{ justify-content: center; }

@media (max-width: 64em) {
  .split, .potm, .post-featured{ grid-template-columns: minmax(0, 1fr); }
  .potm-img, .post-featured .post-img{ min-height: 0; aspect-ratio: 16 / 10; }
  .cta-band{ grid-template-columns: minmax(0, 1fr); }
}

/* Logo (turmeric sprout) */
.brand-mark img{ width: 78%; height: 78%; object-fit: contain; }
.footer-brand{ display: inline-flex; align-items: center; gap: .75rem; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* Hero — the name story */
.about-hero{ padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); position: relative; overflow: hidden; }
.about-hero::before{ content: ""; position: absolute; left: -12rem; top: -10rem; width: 36rem; height: 36rem; border-radius: 50%; background: radial-gradient(circle, rgba(120,180,255,.22), transparent 65%); }
.about-hero .crumbs{ color: var(--ink-soft); }

.name-eq{ display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .5rem 0 2rem; }
.name-part{ display: grid; gap: .1rem; }
.name-part b{ font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; color: var(--ink); }
.name-part i{ font-style: normal; font-size: 1.25rem; color: var(--saffron); font-weight: 600; }
.name-part small{ font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.name-op{ font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--turmeric); line-height: 1; }
.about-hero h1{ font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 34rem; }
.about-hero h1 em{ color: var(--saffron); font-weight: 500; }
.about-hero .lead{ font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-top: 1.25rem; max-width: 34rem; }
.tagline{ margin-top: 1.75rem; display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--cardamom); }
.tagline::before{ content: ""; width: 2.5rem; height: 2px; background: var(--turmeric); }

/* Timeline — seven chapters along a bridge cable */
.chapters-wrap{ background: var(--cardamom); color: var(--cream); position: relative; overflow: hidden; }
.chapters-wrap .section-head h2{ color: var(--cream); }
.chapters-wrap .section-head p{ color: #cfdcf0; }
.chapters-wrap .eyebrow{ color: var(--turmeric); }
.chapters-wrap::before{
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #f5f8fd 1px, transparent 0); background-size: 1.75rem 1.75rem;
}

.chapters{ list-style: none; position: relative; max-width: 64rem; margin-inline: auto; --p: 0; }
.chapters::before, .chapters::after{ content: ""; position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; border-radius: 4px; }
.chapters::before{ bottom: 0; background: rgba(245,248,253,.15); }
.chapters::after{ height: calc(var(--p) * 100%); background: linear-gradient(var(--turmeric), var(--saffron)); box-shadow: 0 0 1.25rem rgba(120,180,255,.6); transition: height .15s linear; }
.chapter{ position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4.5rem; padding-block: 1.5rem; }

/* Soil to shipment */
.journey{ list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: j; }
.journey::before{ content: ""; position: absolute; top: 2.25rem; left: 8%; right: 8%; border-top: 2px dashed rgba(20,101,204,.45); }
.journey li{ text-align: center; position: relative; }
.journey .j-icon{ width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--turmeric); color: var(--saffron); display: grid; place-items: center; position: relative; transition: transform .3s ease, background .3s ease, color .3s ease; }
.journey .j-icon svg{ width: 1.8rem; height: 1.8rem; }
.journey li:hover .j-icon{ transform: translateY(-.35rem); background: var(--saffron); color: #fff; }
.journey .j-icon::after{ counter-increment: j; content: counter(j); position: absolute; top: -.35rem; right: -.35rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--cardamom); color: var(--cream); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.journey h3{ font-size: 1.1rem; margin-bottom: .3rem; }
.journey p{ font-size: .95rem; }

/* Then & now */

/* Promises */
.promises{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); counter-reset: pr; }
.promise{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.promise::before{ counter-increment: pr; content: "0" counter(pr); position: absolute; right: 1rem; top: -.5rem; font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: rgba(120,180,255,.15); line-height: 1; }
.promise h3{ font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: .6rem; position: relative; }
.promise p{ position: relative; }
.promise .who{ margin-top: 1.25rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron); }

/* Team — role chip */
.team-card .role{ display: inline-block; margin-bottom: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cardamom); background: #dcebff; padding: .3rem .75rem; border-radius: 999px; }

@media (max-width: 64em) {
  
  .journey{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .journey::before{ display: none; }
  .promises{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 48em) {
  .chapters::before, .chapters::after{ left: 1.625rem; }
  .chapter{ grid-template-columns: minmax(0, 1fr); padding-left: 4.5rem; }
  
  
  
}
@media (max-width: 36em) {
  .journey{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .chapters::after{ transition: none; }
}

/* About hero — centred, with a line-drawn bridge (no photo) */
.about-hero-inner{ position: relative; text-align: center; max-width: 60rem; }
.about-hero-inner .crumbs{ justify-content: center; }
.about-hero-inner .eyebrow::after{ content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.about-hero-inner .name-eq{ justify-content: center; gap: .5rem clamp(1.5rem, 4vw, 3rem); margin: .75rem 0 0; }
.about-hero-inner .name-part b{ font-size: clamp(3rem, 9vw, 6rem); }
.about-hero-inner .name-op{ font-size: clamp(2.5rem, 6vw, 4rem); }
.about-hero-inner h1{ margin: 0 auto; max-width: 40rem; }
.about-hero-inner .lead{ margin: 1.25rem auto 0; max-width: 38rem; }
.about-hero-inner .tagline{ justify-content: center; }
.about-hero-inner .tagline::after{ content: ""; width: 2.5rem; height: 2px; background: var(--turmeric); }
.about-hero::after{ content: ""; position: absolute; right: -10rem; bottom: -12rem; width: 32rem; height: 32rem; border-radius: 50%; background: radial-gradient(circle, rgba(2,62,142,.12), transparent 65%); }

.hero-bridge{ display: block; width: 100%; max-width: 52rem; height: auto; margin: 1rem auto 1.5rem; overflow: visible; }
.hb-arch, .hb-deck{ fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hb-arch{ stroke: var(--turmeric); stroke-width: 5; transition: stroke-dashoffset 2.2s cubic-bezier(.6,0,.2,1) .2s; }
.hb-deck{ stroke: var(--cardamom); stroke-width: 6; transition: stroke-dashoffset 1.4s ease; }
.hb-hangers line{ stroke: var(--turmeric); stroke-width: 2; opacity: 0; transition: opacity .8s ease 1.6s; }
.hb-end{ fill: var(--saffron); }
.hb-traveller{ fill: var(--saffron); opacity: 0; transition: opacity .6s ease 2.4s; filter: drop-shadow(0 0 6px rgba(20,101,204,.7)); }
.hb-label{ font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-soft); }
.reveal.in .hb-arch, .reveal.in .hb-deck, html:not(.js) .hb-arch, html:not(.js) .hb-deck{ stroke-dashoffset: 0; }
.reveal.in .hb-hangers line, html:not(.js) .hb-hangers line{ opacity: .8; }
.reveal.in .hb-traveller{ opacity: 1; }

@media (max-width: 36em) {
  .hb-label{ font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-arch, .hb-deck{ stroke-dashoffset: 0; transition: none; }
  .hb-hangers line{ opacity: .8; transition: none; }
  .hb-traveller{ display: none; }
}

/* =========================================================
   About timeline — "snake" path
   Desktop: left→right, turn down, right→left, turn down…
   Mobile: one vertical column. Path is drawn by js/vs-main.js.
   ========================================================= */
.snake{ --cols: 3; position: relative; max-width: 60rem; margin-inline: auto; }
.snake-svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.snake-base, .snake-fill{ fill: none; stroke-linecap: round; stroke-linejoin: round; }
.snake-base{ stroke: rgba(245,248,253,.18); stroke-width: 3; stroke-dasharray: 2 10; }
.snake-fill{ stroke: var(--turmeric); stroke-width: 4; filter: drop-shadow(0 0 .4rem rgba(120,180,255,.65)); transition: stroke-dashoffset .2s linear; }
.snake-list{ list-style: none; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 2.5vw, 1.75rem); }

.chap{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.chap-year{ font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(120,180,255,.6); transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.chap-node{ width: 3rem; height: 3rem; margin: .75rem 0 1rem; border-radius: 50%; background: var(--cardamom); border: 3px solid rgba(245,248,253,.3); color: var(--cream); display: grid; place-items: center; transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease; }
.chap-node svg{ width: 1.25rem; height: 1.25rem; }
.chap-card{ width: 100%; background: #0a4a9e; border: 1px solid rgba(245,248,253,.14); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.25rem; transition: background .35s ease, border-color .35s ease, transform .35s ease; }
.chap-num{ font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--turmeric); }
.chap-card h3{ color: var(--cream); font-size: 1.2rem; margin: .3rem 0 .35rem; }
.chap-card p{ color: #cfdcf0; font-size: .95rem; line-height: 1.55; }
.chap-tag{ display: inline-block; margin-top: .75rem; font-size: .78rem; font-weight: 700; color: var(--cream); background: rgba(245,248,253,.1); padding: .25rem .7rem; border-radius: 999px; }

.chap.lit .chap-year{ color: var(--turmeric); -webkit-text-stroke-color: var(--turmeric); }
.chap.lit .chap-node{ background: var(--turmeric); border-color: var(--cream); color: var(--ink); transform: scale(1.1); box-shadow: 0 0 0 .4rem rgba(120,180,255,.2); }
.chap.lit .chap-card{ background: #1256ad; border-color: rgba(120,180,255,.45); }
.chap-card:hover{ transform: translateY(-.25rem); }
.chap.future .chap-card, .chap.future .chap-node{ border-style: dashed; }
.chap.future .chap-tag{ background: var(--turmeric); color: var(--ink); }

@media (max-width: 40em) {
  .snake{ --cols: 1; }
  .snake-list{ row-gap: 1.25rem; }
  .chap{ display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; text-align: left; }
  .chap-node{ grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .chap-year{ grid-column: 2; font-size: 2rem; margin: .4rem 0 .5rem; }
  .chap-card{ grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .snake-fill{ transition: none; } }

/* Home — story teaser */
.story-teaser{ text-align: center; position: relative; overflow: hidden; }
.story-teaser::before{ content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, #f5f8fd 1px, transparent 0); background-size: 1.75rem 1.75rem; }
.teaser-inner{ position: relative; max-width: 46rem; }
.teaser-inner .eyebrow::after{ content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.teaser-inner p{ margin: 1.25rem auto 2rem; font-size: 1.15rem; }
.teaser-inner em{ color: var(--turmeric); font-family: var(--font-display); font-size: 1.2em; }

/* Footer contact line */
.footer-contact{ display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.footer-contact a{ color: var(--turmeric); font-weight: 600; }

/* Products — slim product-of-the-month strip */
.potm-strip{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; background: var(--cardamom); color: var(--cream); border-radius: var(--radius-lg); padding: .75rem 1rem .75rem .75rem; transition: transform .3s ease, box-shadow .3s ease; }
.potm-strip:hover{ transform: translateY(-.2rem); box-shadow: var(--shadow); }
.potm-strip img{ width: 5.5rem; height: 5.5rem; border-radius: var(--radius); object-fit: cover; }
.potm-strip-text{ display: grid; gap: .15rem; }
.potm-strip-text .potm-tag{ justify-self: start; margin-bottom: .25rem; font-size: .75rem; }
.potm-strip-text b{ font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
.potm-strip-text span:last-child{ color: #cfdcf0; font-size: .95rem; }

/* Contact — what happens next */
.next-steps{ list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.next-steps li{ display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.next-steps b{ flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--turmeric); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); }
.next-steps strong{ display: block; }
.next-steps span{ font-size: .95rem; color: var(--ink-soft); }

/* Article — author note */
.author-note{ max-width: 44rem; margin: 3rem auto 0; display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.author-note .brand-mark{ flex-shrink: 0; }
.author-note p{ font-size: 1rem; }
.author-note a{ color: var(--saffron); font-weight: 700; }
.author-note + .share{ margin-top: 1.5rem; }

@media (max-width: 48em) {
  .next-steps{ grid-template-columns: minmax(0, 1fr); }
  .blog-toolbar{ flex-direction: column-reverse; align-items: stretch; }
  .search{ max-width: none; }
}
@media (max-width: 36em) {
  .potm-strip{ grid-template-columns: auto minmax(0, 1fr); }
  .potm-strip .btn{ grid-column: 1 / -1; justify-content: center; }
  .potm-strip img{ width: 4.5rem; height: 4.5rem; }
}


/* =========================================================
   Readability pass for the blue theme
   --turmeric is now a light sky blue meant for DARK backgrounds.
   On light backgrounds we use --saffron (brand blue) instead.
   ========================================================= */
:focus-visible { outline-color: var(--saffron); }
.name-op, .about-hero h1 em { color: var(--saffron); }
.tagline::before, .about-hero-inner .tagline::after { background: var(--saffron); }
.hb-arch, .hb-hangers line { stroke: var(--saffron); }
.journey .j-icon { border-color: var(--saffron); }
.prose blockquote { border-left-color: var(--saffron); }
.next-steps b { background: var(--saffron); color: #fff; }

/* Dark bands: deeper navy so cards and text stand out */
.chapters-wrap, .story, .stats, .potm-strip, .potm { background: #04295c; }
.chapters-wrap .section-head p, .story p, .story span { color: #e3ecf8; }

/* Timeline cards: clearer contrast */
.chap-card { background: #0c3d80; border-color: rgba(255,255,255,.18); }
.chap.lit .chap-card { background: #104a99; border-color: rgba(159,208,255,.6); }
.chap-card h3 { color: #fff; }
.chap-card p { color: #e3ecf8; font-size: 1rem; }
.chap-num { color: #9fd0ff; }
.chap-tag { background: rgba(255,255,255,.14); color: #fff; }

/* Years: solid (not outlined) so they're easy to read; dimmer until reached */
.chap-year { color: rgba(255,255,255,.55); -webkit-text-stroke: 0; }
.chap.lit .chap-year { color: #9fd0ff; }
.chap-node { border-color: rgba(255,255,255,.55); color: #fff; background: #0c3d80; }
.snake-base { stroke: rgba(255,255,255,.4); }
.chap.future .chap-card, .chap.future .chap-node { border-color: rgba(159,208,255,.7); }


/* =========================================================
   Colour system v2
   Navy (dark sections) · Brand blue (links) · Sky (on dark)
   Light tint (page) + one warm accent: Amber (main actions)
   ========================================================= */

/* 1. Main actions & highlights — blue (amber accent removed) */
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-dark); color: #fff; }
.potm-tag, .chap.future .chap-tag { background: var(--turmeric); color: var(--ink); }
.next-steps b { background: var(--saffron); color: #fff; }
.chap.lit .chap-year { color: var(--turmeric); }
.chap.lit .chap-node { background: var(--turmeric); border-color: #fff; color: var(--ink); box-shadow: 0 0 0 .4rem rgba(159,208,255,.25); }
.snake-fill { stroke: var(--turmeric); filter: drop-shadow(0 0 .4rem rgba(159,208,255,.6)); }
.chap.lit .chap-card { border-color: rgba(159,208,255,.6); }
.chap.future .chap-card, .chap.future .chap-node { border-color: rgba(159,208,255,.75); }
.hb-traveller, .hb-end { fill: var(--saffron); }
.teaser-inner em { color: var(--turmeric); }

/* 2. Category colours */
.chip.spice { background: #fff3d1; color: #8a5a00; }
.chip.veg   { background: #e3f4e8; color: #1d6b3c; }
.chip.fruit { background: #ffe6e0; color: #b83a26; }
.filter[data-filter="spice"].active { background: var(--cat-spice); border-color: var(--cat-spice); color: var(--ink); }
.filter[data-filter="veg"].active   { background: #1d7a45; border-color: #1d7a45; color: #fff; }
.filter[data-filter="fruit"].active { background: #c8402b; border-color: #c8402b; color: #fff; }
.filter.active { background: var(--cardamom); border-color: var(--cardamom); color: #fff; }
.cat-tile { border-bottom: 5px solid transparent; }
.cat-tile[href*="cat=spice"] { border-bottom-color: var(--cat-spice); }
.cat-tile[href*="cat=veg"]   { border-bottom-color: var(--cat-veg); }
.cat-tile[href*="cat=fruit"] { border-bottom-color: var(--cat-fruit); }
.cat-tile[href*="cat=spice"] small { color: #ffd166; }
.cat-tile[href*="cat=veg"] small   { color: #8be0a8; }
.cat-tile[href*="cat=fruit"] small { color: #ffb4a5; }
.product[data-cat="spice"] { border-top: 4px solid var(--cat-spice); }
.product[data-cat="veg"]   { border-top: 4px solid var(--cat-veg); }
.product[data-cat="fruit"] { border-top: 4px solid var(--cat-fruit); }

/* 3. One navy for all dark areas */
.chapters-wrap, .story, .stats, .potm-strip, .potm, .brand-mark, .feature-icon, .thanks-icon { background: var(--cardamom); }
.contact-info .feature-icon { color: #fff; }

/* 4. Small touches */
.site-footer { background: var(--navy-deep); }
.page-hero::after { background: linear-gradient(100deg, rgba(4,41,92,.94) 20%, rgba(4,41,92,.45)); }
.cta-band { background: linear-gradient(120deg, rgba(4,41,92,.92), rgba(4,41,92,.65)), url("../images/optimised-images/products-hero.webp") center / cover; }
.hero, .about-hero { background: linear-gradient(180deg, #e3efff 0%, var(--cream) 75%); }

/* =========================================================
   Theme toggle button
   ========================================================= */
.brand { margin-right: auto; }
.nav { gap: .75rem; }
.theme-toggle { width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.theme-toggle:hover { border-color: var(--saffron); transform: rotate(-15deg); }
.theme-toggle svg { width: 1.2rem; height: 1.2rem; grid-area: 1 / 1; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 56em) {
  .theme-toggle { order: 2; }
  .nav-toggle { order: 3; }
}

/* =========================================================
   DARK THEME
   ========================================================= */
[data-theme="dark"] {
  --cream: #0b1626;
  --cream-2: #13223a;
  --paper: #111f35;
  --ink: #e8eef8;
  --ink-soft: #a9b8cf;
  --saffron: #6aaeff;
  --saffron-dark: #8cc1ff;
  --line: rgba(255,255,255,.12);
  --shadow: 0 1.25rem 2.5rem -1.25rem rgba(0,0,0,.6);
  color-scheme: dark;
}
[data-theme="dark"] body { background: var(--cream); color: var(--ink); }
[data-theme="dark"] .site-header { background: rgba(11,22,38,.9); }
[data-theme="dark"] .hero, [data-theme="dark"] .about-hero { background: linear-gradient(180deg, #0f2240 0%, var(--cream) 75%); }
[data-theme="dark"] .btn-primary { background: var(--saffron); color: #06142a; }
[data-theme="dark"] .btn-primary:hover { background: var(--saffron-dark); color: #06142a; }
[data-theme="dark"] .btn-light { background: #e8eef8; color: #04295c; }
[data-theme="dark"] .btn-ghost:hover { color: #06142a; }
[data-theme="dark"] .next-steps b { color: #06142a; }
[data-theme="dark"] .chip { background: #1b3152; color: #cfe3ff; }
[data-theme="dark"] .chip.spice { background: #3a2c08; color: #ffd98a; }
[data-theme="dark"] .chip.veg   { background: #12351f; color: #9fe3b6; }
[data-theme="dark"] .chip.fruit { background: #3d1912; color: #ffb4a5; }
[data-theme="dark"] .team-card .role { background: #1b3152; color: #cfe3ff; }
[data-theme="dark"] .prose p, [data-theme="dark"] .prose li { color: var(--ink); }
[data-theme="dark"] .hb-deck { stroke: #5f7fae; }
[data-theme="dark"] .filter.active { background: var(--saffron); border-color: var(--saffron); color: #06142a; }
[data-theme="dark"] .story-teaser, [data-theme="dark"] .chapters-wrap, [data-theme="dark"] .stats { background: #0a2a57; }
[data-theme="dark"] .site-footer { background: #060e1a; }
[data-theme="dark"] .request { border-color: rgba(255,255,255,.25); }
[data-theme="dark"] img { filter: brightness(.95); }
[data-theme="dark"] .hero-trust svg, [data-theme="dark"] .tagline { color: var(--saffron); }
[data-theme="dark"] .brand-mark { box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); }

/* =========================================================
   PRODUCTS — category sections, rich cards, enquiry basket
   ========================================================= */
html { scroll-padding-top: calc(var(--header-h) + 4.25rem); }
.cat-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.cat-nav .container { display: flex; gap: .5rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: none; }
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav a { flex-shrink: 0; font-weight: 700; font-size: .95rem; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.cat-nav a::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .5rem; background: var(--saffron); vertical-align: .05em; }
.cat-nav .cn-spice::before { background: var(--cat-spice); }
.cat-nav .cn-veg::before { background: var(--cat-veg); }
.cat-nav .cn-fruit::before { background: var(--cat-fruit); }
.cat-nav a:hover { border-color: var(--saffron); }
.cat-nav a.active { background: var(--cardamom); border-color: var(--cardamom); color: #fff; }

.cat-section { padding-block: clamp(3rem, 7vw, 5rem); --cat: var(--saffron); }
.cat-section:nth-child(even) { background: var(--paper); }
.cat-spice { --cat: var(--cat-spice); }
.cat-veg { --cat: var(--cat-veg); }
.cat-fruit { --cat: var(--cat-fruit); }
.cat-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; margin-bottom: 2rem; padding-left: 1.25rem; border-left: 5px solid var(--cat); }
.cat-icon { width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: grid; place-items: center; background: var(--cat); color: #fff; }
.cat-icon svg { width: 1.6rem; height: 1.6rem; }
.cat-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cat-head p { margin-top: .25rem; }
.cat-count { font-size: .85rem; font-weight: 700; color: var(--ink-soft); background: var(--cream-2); padding: .35rem .8rem; border-radius: 999px; white-space: nowrap; }

.product-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.product { border-top: 4px solid var(--cat, var(--saffron)); }
.product h3 { margin: 0 0 .35rem; }
.specs { list-style: none; margin: .9rem 0 0; display: grid; gap: .35rem; font-size: .92rem; color: var(--ink); }
.specs li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; padding-top: .35rem; border-top: 1px dashed var(--line); }
.specs span { color: var(--ink-soft); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .1rem; }
.add-enquiry { margin-top: 1.1rem; width: 100%; font: 700 .95rem var(--font-body); padding: .7rem 1rem; border-radius: 999px; cursor: pointer; border: 2px solid var(--saffron); background: transparent; color: var(--saffron); transition: background .2s, color .2s; }
.add-enquiry:hover { background: var(--saffron); color: #fff; }
.add-enquiry .ae-added { display: none; }
.add-enquiry.on { background: var(--cardamom); border-color: var(--cardamom); color: #fff; }
.add-enquiry.on .ae-add { display: none; }
.add-enquiry.on .ae-added { display: inline; }
.request .add-enquiry { width: auto; padding: .45rem .9rem; font-size: .85rem; }

/* Floating basket */
.basket { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60; display: grid; justify-items: end; gap: .75rem; }
.basket[hidden] { display: none; }
.basket-fab { display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem var(--font-body); padding: .85rem 1.2rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--cardamom); color: #fff; box-shadow: 0 1rem 2rem -0.75rem rgba(4,41,92,.6); }
.basket-fab svg { width: 1.25rem; height: 1.25rem; }
.basket-count { min-width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--turmeric); color: var(--ink); display: grid; place-items: center; font-size: .85rem; padding-inline: .35rem; }
.basket-fab.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }
.basket-panel { width: min(22rem, calc(100vw - 2rem)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; order: -1; }
.basket-panel[hidden] { display: none; }
.basket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-family: var(--font-display); font-size: 1.2rem; }
.basket-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.basket-list { list-style: none; max-height: 14rem; overflow-y: auto; margin-bottom: 1rem; }
.basket-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.basket-list button { background: none; border: 0; cursor: pointer; font-size: 1.2rem; color: var(--ink-soft); }
.basket-list button:hover { color: #c8402b; }
.basket-send { width: 100%; }
.basket-clear { display: block; margin: .75rem auto 0; background: none; border: 0; cursor: pointer; color: var(--ink-soft); font: 600 .9rem var(--font-body); text-decoration: underline; }

@media (max-width: 48em) {
  .cat-head { grid-template-columns: auto minmax(0, 1fr); }
  .cat-count { display: none; }
  /* swipeable rows on phones */
  .product-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78%, 17rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .product-row .product { scroll-snap-align: start; }
}
[data-theme="dark"] .cat-nav { background: var(--cream); }
[data-theme="dark"] .basket-count { color: #06142a; }

/* Compact page header (Products) */
.page-head { padding-block: clamp(1.75rem, 4vw, 2.75rem) 1.25rem; background: linear-gradient(180deg, #e3efff 0%, var(--cream) 100%); }
.page-head .crumbs { color: var(--ink-soft); margin-bottom: .6rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.page-head p { margin-top: .5rem; max-width: 42rem; font-size: 1.05rem; }
.potm-wrap { padding-bottom: 1.25rem; }
[data-theme="dark"] .page-head { background: linear-gradient(180deg, #0f2240 0%, var(--cream) 100%); }

/* Timeline cards: equal height, minimal */
.snake-list { align-items: stretch; }
.chap .chap-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 10.5rem; }
.chap-card p { margin-bottom: auto; }
@media (max-width: 40em) { .chap .chap-card { min-height: 0; align-items: flex-start; } }
