/* ==========================================================================
   OM PRASADAM — Rice Supplier & Exporter, India
   Global stylesheet. Shared by every page (India homepage, Gulf country
   pages, variety pages, blog).

   Design system: "Lot Docket"
   Grounded in the vernacular of grain trading — grading certificates,
   stencilled jute sacks, moisture readings, sortex grades.

   CONTENTS
   01. Tokens
   02. Reset & base
   03. Typography
   04. Layout primitives
   05. Buttons & links
   06. Header / navigation / mega menu
   07. Hero & lot docket (signature element)
   08. Trust metrics
   09. Variety cards
   10. Specification table
   11. Answer block (AEO)
   12. Industries
   13. Process
   14. Quality & certification
   15. Network map
   16. Export markets
   17. Testimonials
   18. Quote form
   19. FAQ accordion
   20. Footer
   21. Motion & reveal
   22. Responsive
   ========================================================================== */

/* 01. TOKENS ============================================================== */
:root {
  /* Palette — husk, paddy ink, stencil indigo, turmeric */
  --husk:        #eef0ea;
  --paper:       #f7f8f4;
  --white:       #ffffff;
  --ink:         #16241f;
  --ink-soft:    #47554e;
  --ink-faint:   #5b675f;   /* WCAG AA (>=4.5:1) on husk, paper and white */
  --indigo:      #1f3a5f;
  --indigo-deep: #16293f;
  --indigo-tint: #e7ecf2;
  --ochre:       #c4762a;   /* brand ochre — fills, accents, focus ring */
  --ochre-text:  #9e5b1a;   /* AA-contrast ochre for small text on light bg */
  --ochre-tint:  #f6ecdd;
  --rule:        #d6d9cd;
  --rule-soft:   #e5e8de;

  /* Type */
  --display: "Zilla Slab", "Bitter", Georgia, serif;
  --body:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Scale (fluid, mobile-first) */
  --t-xs:  0.75rem;
  --t-sm:  0.875rem;
  --t-base: 1rem;
  --t-lg:  clamp(1.06rem, 0.4vw + 0.98rem, 1.19rem);
  --t-xl:  clamp(1.3rem, 0.8vw + 1.1rem, 1.6rem);
  --t-2xl: clamp(1.6rem, 1.4vw + 1.25rem, 2.15rem);
  --t-3xl: clamp(2rem, 2.4vw + 1.4rem, 3rem);
  --t-4xl: clamp(2.4rem, 4vw + 1.4rem, 4.15rem);

  /* Space */
  --gap:      1.25rem;
  --gutter:   clamp(1.15rem, 4vw, 2.5rem);
  --section:  clamp(3.5rem, 7vw, 6.5rem);
  --max:      1220px;
  --max-text: 68ch;

  /* Depth & shape */
  --radius:    3px;
  --radius-lg: 5px;
  --shadow-sm: 0 1px 2px rgba(22, 36, 31, .06), 0 2px 6px rgba(22, 36, 31, .04);
  --shadow-md: 0 2px 4px rgba(22, 36, 31, .05), 0 12px 28px rgba(22, 36, 31, .09);
  --shadow-lg: 0 4px 8px rgba(22, 36, 31, .06), 0 24px 60px rgba(22, 36, 31, .14);

  --header-h: 116px;
}

/* 02. RESET & BASE ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--husk);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture, video { max-width: 100%; height: auto; display: block; }
/* Explicit intrinsic sizing is set per-image in HTML to protect CLS. */

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* Visible, high-contrast focus for keyboard users (WCAG 2.4.7 / 2.4.11) */
:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100px;
  z-index: 999;
  padding: 0.75rem 1.15rem;
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
  font-size: var(--t-sm);
  border-radius: var(--radius);
  transition: top .18s ease;
}
.skip-link:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 03. TYPOGRAPHY ========================================================== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); letter-spacing: -0.028em; }
h2 { font-size: var(--t-3xl); letter-spacing: -0.022em; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); font-weight: 600; }

p { margin: 0 0 1.15em; max-width: var(--max-text); }
p:last-child { margin-bottom: 0; }

a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ochre); }

strong { font-weight: 600; }

/* Eyebrow — stencilled label, borrowed from sack marking */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ochre);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lede {
  font-size: var(--t-lg);
  color: var(--ink-soft);
  line-height: 1.6;
}

.data { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* 04. LAYOUT PRIMITIVES =================================================== */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink); color: var(--husk); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p  { color: #c3ccc6; }
.section--rule  { border-top: 1px solid var(--rule); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 05. BUTTONS ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.5rem;
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
/* Solid CTAs lift with a soft shadow on hover for a more tactile, premium feel. */
.btn--primary:hover, .btn--ochre:hover, .btn--light:hover { box-shadow: var(--shadow-md); }

.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-deep); color: var(--white); }

.btn--ochre { background: var(--ochre); color: var(--white); }
.btn--ochre:hover { background: #a9631f; color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.btn--light { background: var(--white); color: var(--indigo); }
.btn--light:hover { background: var(--indigo-tint); color: var(--indigo-deep); }

.btn--lg { padding: 1.08rem 1.85rem; font-size: var(--t-base); }
.btn--block { width: 100%; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  color: var(--indigo);
}
.arrow-link::after {
  content: "→";
  transition: transform .18s ease;
  font-family: var(--mono);
}
.arrow-link:hover::after { transform: translateX(4px); }

/* 06. HEADER ============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 244, .96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

/* Utility strip — credentials live here because Gulf and domestic buyers
   both scan for registration numbers before anything else. */
.utility-bar {
  background: var(--ink);
  color: #b9c3bd;
  font-size: var(--t-xs);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}
.utility-creds { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.utility-creds li { white-space: nowrap; }
.utility-bar a { color: var(--white); text-decoration: none; }
.utility-bar a:hover { color: var(--ochre); }
.utility-contact { display: flex; gap: 1.25rem; align-items: center; }

.header-main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

/* Wordmark */
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav-link:hover, .nav-toggle:hover,
.nav-link[aria-current="page"] { color: var(--indigo); background: var(--indigo-tint); }
.nav-toggle::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; flex: none; }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(760px, 92vw);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mega-col-title {
  margin-top: 0;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule-soft);
}
.mega-list li + li { margin-top: 0.12rem; }
.mega-list a {
  display: block;
  padding: 0.42rem 0.55rem;
  margin-left: -0.55rem;
  font-size: var(--t-sm);
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
}
.mega-list a:hover { background: var(--paper); color: var(--indigo); }
.mega-foot {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--t-sm);
  color: var(--ink-faint);
}

/* Mobile toggle */
.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform .22s ease, opacity .18s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 06b. BREADCRUMB ========================================================= */
.breadcrumb { background: var(--husk); border-bottom: 1px solid var(--rule-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.45rem; padding-block: 0.85rem; }
.breadcrumb li {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.45rem; color: var(--rule); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--indigo); text-decoration: underline; }

/* 07. HERO + LOT DOCKET =================================================== */
.hero {
  position: relative;
  background: var(--husk);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
/* Faint grain-scatter field, drawn in CSS so it costs no request */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 3px 7px at 12% 22%, rgba(196,118,42,.13) 50%, transparent 51%),
    radial-gradient(ellipse 3px 7px at 78% 12%, rgba(31,58,95,.10) 50%, transparent 51%),
    radial-gradient(ellipse 3px 7px at 92% 62%, rgba(196,118,42,.10) 50%, transparent 51%),
    radial-gradient(ellipse 3px 7px at 30% 86%, rgba(31,58,95,.08) 50%, transparent 51%),
    radial-gradient(ellipse 3px 7px at 64% 78%, rgba(196,118,42,.09) 50%, transparent 51%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}
/* Single-column hero (category, about, contact, blog) — one child, so drop the
   second column and keep the copy at a readable measure instead of stretching. */
.hero-layout--single { grid-template-columns: 1fr; }
.hero-layout--single > div { max-width: 48rem; }
.hero h1 { margin-bottom: 0.5em; }
.hero h1 em {
  font-style: normal;
  color: var(--indigo);
  position: relative;
  white-space: nowrap;
}
.hero-lede { font-size: var(--t-lg); color: var(--ink-soft); max-width: 46ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero-assure li { display: flex; align-items: center; gap: 0.45rem; }
.hero-assure li::before { content: "✓"; color: var(--ochre); font-family: var(--body); }

/* --- The lot docket: signature element ---------------------------------- */
.docket {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.docket::after { /* stencil corner notch, like a stamped sack tag */
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 34px; height: 34px;
  background: linear-gradient(225deg, var(--husk) 0 50%, transparent 50%);
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.docket-head {
  background: var(--ink);
  color: var(--white);
  padding: 0.95rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.docket-head-title {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a9b5ae;
  margin: 0;
}
.docket-lot {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--ochre);
  letter-spacing: 0.08em;
}
.docket-body { padding: 1.4rem 1.3rem 1.15rem; }
.docket-variety {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}
.docket-class {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 1.15rem;
}
.docket-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule-soft);
}
.docket-specs div {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.docket-specs div:nth-child(odd) { padding-right: 0.9rem; }
.docket-specs div:nth-child(even) {
  padding-left: 0.9rem;
  border-left: 1px solid var(--rule-soft);
}
.docket-specs dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.15rem;
}
.docket-specs dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.docket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.docket-dots { display: flex; gap: 0.4rem; }
.docket-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.docket-dot[aria-selected="true"] { background: var(--ochre); border-color: var(--ochre); }
.docket-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.docket-fade { animation: docketIn .45s ease; }
@keyframes docketIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* 08. TRUST METRICS ======================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.metric { padding: 1.6rem 1.4rem; border-right: 1px solid var(--rule-soft); }
.metric:last-child { border-right: 0; }
.metric-value {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 600;
  line-height: 1;
  color: var(--indigo);
  letter-spacing: -0.02em;
  display: block;
}
.metric-label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.55rem;
  display: block;
}

/* 09. VARIETY CARDS ======================================================= */
.variety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }

.variety-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.35rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.variety-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.variety-card:focus-within { border-color: var(--indigo); box-shadow: var(--shadow-md); }
.variety-icon { width: 44px; height: 44px; margin-bottom: 1.05rem; }
.variety-card h3 { font-size: var(--t-lg); margin-bottom: 0.45rem; }
.variety-card h3 a { color: inherit; text-decoration: none; }
/* Whole card clickable, single tab stop, link text still the accessible name */
.variety-card h3 a::after { content: ""; position: absolute; inset: 0; }
.variety-card p { font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 1rem; }
.variety-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}
.tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.24rem 0.5rem;
  border-radius: 2px;
  background: var(--husk);
  color: var(--ink-soft);
}
.tag--prf { background: var(--ochre-tint); color: #96581c; }

/* 10. SPECIFICATION TABLE ================================================= */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  min-width: 720px;
}
table.spec caption {
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: var(--t-sm);
  color: var(--ink-faint);
  border-bottom: 1px solid var(--rule-soft);
}
table.spec th, table.spec td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
table.spec thead th {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--indigo);
  font-weight: 500;
  white-space: nowrap;
}
table.spec tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.spec tbody td { font-family: var(--mono); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: var(--paper); }
.table-note {
  font-size: var(--t-sm);
  color: var(--ink-faint);
  margin-top: 1rem;
}

/* 11. ANSWER BLOCK (AEO) ================================================== */
.answer {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.answer h2 { font-size: var(--t-xl); margin-bottom: 0.7rem; }
.answer p { font-size: var(--t-lg); color: var(--ink-soft); }

/* 12. INDUSTRIES ========================================================== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.industry {
  background: var(--white);
  padding: 1.55rem 1.4rem;
  transition: background-color .2s ease;
}
.industry:hover { background: var(--paper); }
.industry h3 { font-size: var(--t-base); font-family: var(--body); font-weight: 600; margin-bottom: 0.35rem; letter-spacing: 0; }
.industry p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }
.industry-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-tint);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.industry-tag--b2c { color: #96581c; background: var(--ochre-tint); }

/* 14. QUALITY & CERTIFICATION ============================================= */
.quality-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: var(--t-base);
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 9px; height: 9px;
  border-radius: 1px;
  background: var(--ochre);
  transform: rotate(45deg);
}
.check-list strong { color: var(--ink); }

.cert-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.cert-panel h3 { font-size: var(--t-base); font-family: var(--body); letter-spacing: 0; margin-bottom: 1rem; }
.cert-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: var(--t-sm);
}
.cert-list li:last-child { border-bottom: 0; }
.cert-list span:last-child { font-family: var(--mono); color: var(--ink-faint); font-size: var(--t-xs); text-align: right; }

/* 15. NETWORK ============================================================= */
.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-soft); }
.node { background: var(--husk); padding: 1.2rem 1.15rem; }
.section--paper .node { background: var(--paper); }
.node h3 { font-family: var(--mono); font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.3rem; color: var(--indigo); }
.node p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

/* 16. EXPORT MARKETS ====================================================== */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.market {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255,255,255,.05);
  border: 1px solid #33443d;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.market:hover { background: rgba(255,255,255,.1); border-color: var(--ochre); transform: translateY(-2px); }
.market-name { font-family: var(--body); font-weight: 600; font-size: var(--t-base); color: var(--white); }
.market-meta { font-family: var(--mono); font-size: var(--t-xs); color: #97a49d; letter-spacing: 0.05em; }
.market:hover .market-meta { color: var(--ochre); }

/* 17. TESTIMONIALS ======================================================== */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.quote-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.quote-card blockquote { margin: 0 0 1.2rem; font-size: var(--t-base); color: var(--ink); line-height: 1.6; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule-soft); }
.quote-who { font-weight: 600; font-size: var(--t-sm); display: block; }
.quote-where { font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-faint); letter-spacing: 0.05em; }

/* 18. QUOTE FORM ========================================================== */
.rfq-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rfq-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.15rem);
}
.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: var(--t-xs); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-family: var(--body);
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .18s ease, background-color .18s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--white);
  border-color: var(--indigo);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--t-xs);
  color: #a3301f;
  min-height: 1em;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a3301f; background: #fdf3f1; }
.form-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 1.15rem; }
.form-consent input { width: auto; margin-top: 0.25rem; flex: none; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: var(--t-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: var(--indigo-tint); color: var(--indigo-deep); }
.form-status.is-error { background: #fdf3f1; color: #8f2a1b; }

.rfq-aside .contact-block { margin-bottom: 1.6rem; }
.rfq-aside .contact-block h3 {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.45rem;
}
.rfq-aside a { font-weight: 600; text-decoration: none; }
.rfq-aside a:hover { text-decoration: underline; }

/* 19. FAQ ================================================================= */
.faq-list { max-width: 900px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-h { margin: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--indigo); }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; margin-top: 0.45rem; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ochre);
  transition: transform .22s ease, opacity .22s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.faq-icon::after  { left: 7px; top: 0; width: 1.5px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  overflow: hidden;
  height: 0;
  transition: height .28s ease;
}
.faq-a-inner { padding: 0 0 1.5rem; max-width: 72ch; color: var(--ink-soft); }
.faq-a-inner p { font-size: var(--t-base); }

/* 20. FOOTER ============================================================== */
.site-footer { background: var(--ink); color: #aab5af; padding-block: clamp(3rem, 5vw, 4.5rem) 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid #2a3a34;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: var(--ink-faint); }
.footer-about { font-size: var(--t-sm); color: #9aa6a0; margin-top: 1.05rem; max-width: 38ch; }
.footer-col-title {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.footer-col-title { margin-top: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #aab5af; font-size: var(--t-sm); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  font-size: var(--t-xs);
  font-family: var(--mono);
  color: #7d8a83;
  letter-spacing: 0.03em;
}
.footer-bottom a { color: #7d8a83; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* 20b. FLOATING RAIL & ENQUIRY DIALOG ===================================== */
.float-rail {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 95;
  display: flex;
  flex-direction: column-reverse; /* primary action nearest the thumb */
  align-items: flex-end;
  gap: 0.65rem;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0;
  height: 54px;
  width: 54px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 27px;
  background: var(--indigo);
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: width .26s cubic-bezier(.22,.61,.36,1),
              background-color .2s ease, box-shadow .2s ease;
}
.float-btn svg { width: 24px; height: 24px; margin: 0 15px; flex: none; }
.float-label {
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
  padding-right: 1.25rem;
  opacity: 0;
  transition: opacity .2s ease;
}
/* Labels unfurl on hover for pointer users; icons alone on touch. */
@media (hover: hover) {
  .float-btn:hover { width: var(--fw, 178px); box-shadow: var(--shadow-lg); }
  .float-btn:hover .float-label { opacity: 1; }
}
.float-btn:focus-visible { width: var(--fw, 178px); }
.float-btn:focus-visible .float-label { opacity: 1; }

.float-btn--wa   { background: #1f9d55; --fw: 176px; }   /* WhatsApp green, held to an AA contrast ratio against white */
.float-btn--wa:hover { background: #178144; color: var(--white); }
.float-btn--enq  { background: var(--indigo); --fw: 182px; }
.float-btn--enq:hover { background: var(--indigo-deep); }

/* Dialog ---------------------------------------------------------------- */
.modal {
  width: min(560px, 94vw);
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(22, 36, 31, .55); }
.modal[open] { animation: modalIn .24s cubic-bezier(.22,.61,.36,1); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--ink);
  color: var(--white);
}
.modal-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 0.2rem;
}
.modal-title {
  font-family: var(--display);
  font-size: var(--t-xl);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
}
.modal-close {
  flex: none;
  width: 36px; height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: #b9c3bd;
  background: none;
  border: 1px solid #33443d;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.modal-close:hover { color: var(--white); border-color: var(--ochre); }

.modal-body { padding: 1.4rem; overflow-y: auto; max-height: calc(90dvh - 82px); }
.modal-alt {
  margin: 1rem 0 0;
  font-size: var(--t-sm);
  color: var(--ink-faint);
  text-align: center;
}
.modal-alt a { font-weight: 600; }

/* No page scroll behind an open dialog */
body.has-modal { overflow: hidden; }

/* 21. MOTION & REVEAL ===================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* 22. RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; }
  .docket { max-width: 480px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); }
  .variety-grid, .industry-grid, .quote-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .network-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-layout, .rfq-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 100px; }

  .burger { display: block; }
  .utility-creds li:nth-child(n+3) { display: none; }

  /* Nav becomes a drawer */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--gutter) 3rem;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility .3s;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav-link, .nav-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.2rem;
    font-size: var(--t-base);
    border-bottom: 1px solid var(--rule-soft);
    border-radius: 0;
  }
  .nav-link:hover, .nav-toggle:hover { background: transparent; }

  .mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--rule-soft);
    border-radius: 0;
    padding: 0.5rem 0 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
  }
  .mega[data-open="true"] { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .mega-foot { margin-top: 1rem; }

  .header-cta .btn { display: none; }

  .float-rail { gap: 0.55rem; }
  .float-btn { height: 50px; width: 50px; border-radius: 25px; }
  .float-btn svg { width: 22px; height: 22px; margin: 0 14px; }
  /* Touch devices never widen, so the labels stay hidden and out of the way */
  .float-btn:focus-visible { width: 50px; }
  .float-btn:focus-visible .float-label { opacity: 0; }
}

@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .variety-grid, .industry-grid, .quote-grid, .process,
  .network-grid, .market-grid, .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .metric:last-child { border-bottom: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.85rem; }
  .step { padding-top: 2.2rem; }
  .step::after { display: none; }
  .docket-specs { grid-template-columns: 1fr; }
  .docket-specs div:nth-child(even) { padding-left: 0; border-left: 0; }
  .docket-specs div:nth-child(odd) { padding-right: 0; }
}

/* Print — buyers do print spec sheets */
@media print {
  .site-header, .float-rail, .hero::before, .rfq-panel form { display: none; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
