/* =====================================================
   JIMI ISPAT INDUSTRIES — styles.css
   v3 LIGHT PREMIUM design system
   Clean white / light-grey base with saffron + green
   brand accents, soft shadows, crisp industrial feel.
   Plain CSS + vanilla JS hooks (no React/Tailwind/Framer).

   ORGANISATION
     1.  Tokens (:root)
     2.  Reset / Base
     3.  Typography + gradient-clip headings + blur-reveal
     4.  Layout: container, section rhythm, eyebrow
     5.  Signature backdrops: aurora, dot/line grid, beam
     6.  Buttons (gradient / moving-border / glass)
     7.  Header: sticky glass nav + mobile menu
     8.  Hero
     9.  Glass cards + spotlight/tilt
     10. Bento grid
     11. Trust strip
     12. Founder block
     13. Forms (dark inputs)
     14. Contact: hours table, map frame, contact details
     15. Footer
     16. Floating WhatsApp pill
     17. Reveal gate (.js) + reduced-motion freeze
     18. Responsive
   ===================================================== */

/* ===================================================== */
/* 1. TOKENS                                             */
/* ===================================================== */
:root {
  /* --- Surfaces (light premium) --- */
  --bg: #FFFFFF;                          /* page background, clean white */
  --bg-2: #F4F6F8;                        /* alternate section, cool light grey */
  --surface: #FFFFFF;                     /* solid card base */
  --surface-glass: #FFFFFF;               /* light card surface (was glassmorphic dark) */
  --surface-glass-hover: #FCFDFE;         /* slightly tinted card on hover */

  /* --- Text --- */
  --ink: #14181D;                         /* primary text, near-black on light */
  --muted: #5A636E;                       /* secondary / body text, readable grey */
  --line: rgba(15, 23, 32, 0.10);         /* hairlines, grid lines, card borders */
  --line-strong: rgba(15, 23, 32, 0.16);

  /* --- Brand accents (tuned for white) --- */
  --saffron: #E85D1F;                     /* PRIMARY accent: print-true, legible on white */
  --saffron-bright: #FF7A2F;              /* bright saffron, large fills only */
  --saffron-deep: #C7461A;                /* gradient end / pressed */
  --leaf: #5BA52B;                        /* brand-true green, legible on white */
  --leaf-deep: #4A8A22;                   /* pressed / deeper green */

  /* --- Glow colours (aurora / spotlight), subtle on light --- */
  --glow-saffron: rgba(232, 93, 31, 0.10);
  --glow-leaf: rgba(91, 165, 43, 0.09);

  /* --- Gradients --- */
  /* Brand gradient: HEADLINE text (bg-clip) + primary button fills. */
  --grad-brand: linear-gradient(100deg, #E85D1F 0%, #FF9A4D 45%, #5BA52B 100%);
  /* Saffron→deep-saffron headline variant (legible on white; replaces old white fade). */
  --grad-saffron-white: linear-gradient(100deg, #E85D1F 0%, #C7461A 100%);
  /* Solid-ish primary button fill (weighted to saffron for legibility). */
  --grad-btn: linear-gradient(135deg, #FF8A3D 0%, #F2641A 55%, #D94E12 100%);

  /* --- Type --- */
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* --- Radius --- */
  --radius: 18px;
  --radius-lg: 22px;
  --radius-sm: 12px;

  /* --- Shadows (soft, light theme) --- */
  --shadow-glass: 0 1px 2px rgba(20, 24, 29, 0.06), 0 12px 30px -12px rgba(20, 24, 29, 0.12);
  --shadow-lift: 0 2px 6px rgba(20, 24, 29, 0.08), 0 24px 48px -16px rgba(20, 24, 29, 0.18);
  --glow-btn: 0 10px 30px -8px rgba(232, 93, 31, 0.45);

  /* --- Layout --- */
  --container: 1200px;
  --header-h: 84px;
  --header-h-condensed: 66px;

  /* --- Focus ring (saffron, white offset on light) --- */
  --focus: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--saffron);

  /* Spotlight/tilt vars (overwritten per-card by JS; safe defaults here). */
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
}

/* ===================================================== */
/* 2. RESET / BASE                                       */
/* ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--saffron); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--leaf); }

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

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--surface); color: var(--ink); padding: 10px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glass); transition: top .2s;
}
.skip-link:focus { top: 12px; }

::selection { background: rgba(232, 93, 31, 0.18); color: var(--ink); }

/* ===================================================== */
/* 3. TYPOGRAPHY                                         */
/* ===================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2, .h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3, .h3 { font-size: 1.35rem; font-weight: 600; }

p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

/* --- Gradient-clipped heading utilities --- */
/* .gradient-text : brand saffron→green clip.  Add to any heading or span. */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Tiny padding keeps descenders/italics from clipping. */
  padding-bottom: 0.06em;
}
/* .gradient-text--warm : saffron→white variant for hero. */
.gradient-text--warm {
  background: var(--grad-saffron-white);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Blur-in heading reveal (gated by .js; see section 17) --- */
/* Apply .blur-reveal to a heading; JS adds .is-visible on scroll-in.
   Word-by-word staggering: wrap words in <span class="word"> and JS sets
   --d per word; falls back to whole-heading blur if no word spans. */
.word { display: inline-block; }

/* ===================================================== */
/* 4. LAYOUT: CONTAINER / SECTION / EYEBROW              */
/* ===================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

/* Section rhythm: alternate --bg / --bg-2. */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--alt { background: var(--bg-2); }
/* Tinted band for founder / CTA sections: warm saffron-into-steel wash on light,
   keeps page rhythm without going dark. Dark text stays legible throughout. */
.section--deep {
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(232, 93, 31, 0.07), transparent 55%),
    radial-gradient(110% 130% at 100% 100%, rgba(91, 165, 43, 0.06), transparent 55%),
    linear-gradient(180deg, #EEF1F4 0%, #F4F6F8 100%);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .5rem; }
.section-lede { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

/* Eyebrow / overline */
.eyebrow, .overline {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron);
}
.eyebrow::before, .overline::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--saffron), transparent);
}
.eyebrow.is-centered { justify-content: center; }

/* ===================================================== */
/* 5. SIGNATURE BACKDROPS                                */
/*    Aurora blobs · dot/line grid · beam sweep          */
/* ===================================================== */

/* --- Aurora: layered blurred radial blobs that drift --- */
/* Usage: <div class="aurora" aria-hidden="true"></div> as first child of a
   relatively-positioned hero/CTA band. Pure CSS, no JS required. */
.aurora {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); will-change: transform;
}
.aurora::before {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -12%; left: -6%;
  background: radial-gradient(circle at center, var(--glow-saffron), transparent 68%);
  animation: aurora-drift-a 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  bottom: -16%; right: -8%;
  background: radial-gradient(circle at center, var(--glow-leaf), transparent 68%);
  animation: aurora-drift-b 22s ease-in-out infinite alternate;
}
/* Optional third blob for richer heroes: <span class="aurora-blob"></span> */
.aurora-blob {
  position: absolute; top: 30%; left: 45%;
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  border-radius: 50%; filter: blur(80px); pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 154, 77, 0.08), transparent 70%);
  animation: aurora-drift-c 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(8%, 10%, 0) scale(1.12); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-9%, -8%, 0) scale(0.92); }
}
@keyframes aurora-drift-c {
  0%   { transform: translate3d(-50%, -50%, 0) scale(1); }
  100% { transform: translate3d(-58%, -42%, 0) scale(1.18); }
}

/* --- Dot grid backdrop --- */
/* Usage: <div class="dot-grid" aria-hidden="true"></div>. Faint 1px dots, 24px. */
.dot-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15, 23, 32, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  /* Fade the grid out toward edges so it never fights with content. */
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 80%);
}

/* --- Line grid backdrop (alternative) --- */
.line-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, transparent 78%);
}

/* --- Beam sweep: a thin gradient line slowly translating down --- */
/* Usage: add <span class="beam"></span> inside .dot-grid / .line-grid / hero. */
.beam {
  position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(232, 93, 31, 0.08), transparent);
  filter: blur(2px);
  animation: beam-sweep 9s linear infinite;
}
@keyframes beam-sweep {
  0%   { transform: translateY(-160px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* Anything that should sit above a backdrop. */
.content-layer { position: relative; z-index: 1; }

/* ===================================================== */
/* 6. BUTTONS                                            */
/* ===================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 26px; min-height: 48px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease,
              border-color .2s ease, color .2s ease, filter .2s ease;
  isolation: isolate;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; filter: none; }

/* --- Primary: saffron-gradient fill + white text + soft glow --- */
.btn-primary {
  background: var(--grad-btn);
  color: #FFFFFF;                         /* white text on saffron gradient */
  font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(232, 93, 31, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04) saturate(1.04);
  box-shadow: var(--glow-btn);
  color: #FFFFFF;
}

/* --- Secondary: light outline button (white bg, hairline border, ink text) --- */
.btn-glass {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(20, 24, 29, 0.05);
}
.btn-glass:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 93, 31, 0.55);
  background: #FFF7F2;
  color: var(--saffron);
  box-shadow: 0 8px 20px -10px rgba(232, 93, 31, 0.3);
}

/* --- WhatsApp inline button --- */
.btn-whatsapp {
  background: #1FA855; color: #fff; font-weight: 600;
  box-shadow: 0 6px 22px -8px rgba(31, 168, 85, 0.7);
}
.btn-whatsapp:hover { background: #189048; transform: translateY(-2px); color: #fff; }

/* --- Moving border (conic rotating border) — HERO CTA only, one instance --- */
/* Structure:
   <a class="btn btn-moving-border"><span class="mb-inner">Get a quote</span></a>
   The conic gradient lives on the element; an inset surface masks the centre,
   leaving a glowing rotating ring. */
.btn-moving-border {
  position: relative; padding: 0; border: none; background: transparent;
  border-radius: 14px; overflow: hidden; min-height: 50px;
}
.btn-moving-border::before {
  content: ""; position: absolute; z-index: 0;
  inset: -150%;                            /* oversize so rotation fills corners */
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--saffron) 60deg,
    var(--leaf) 130deg,
    transparent 200deg,
    transparent 360deg
  );
  animation: mb-spin 4s linear infinite;
}
.btn-moving-border .mb-inner {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; height: 100%;
  margin: 1.5px;                           /* the visible border thickness */
  padding: 13px 26px;
  border-radius: 12.5px;
  background: #FFFFFF;                      /* light raised surface inside the ring */
  color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1;
}
.btn-moving-border:hover .mb-inner { background: #FFF7F2; color: var(--saffron); }
.btn-moving-border:hover { box-shadow: 0 10px 34px -12px rgba(232, 93, 31, 0.4); }
@keyframes mb-spin { to { transform: rotate(360deg); } }

/* ===================================================== */
/* 7. HEADER: sticky glass nav + mobile menu             */
/* ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(20, 24, 29, 0.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: var(--header-h); transition: height .25s ease;
}
.site-header.is-scrolled .header-inner { height: var(--header-h-condensed); }

.brand { display: flex; align-items: center; }
.brand-logo { height: 54px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .brand-logo { height: 46px; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-block; padding: 9px 14px;
  color: var(--muted); font-weight: 500; font-size: .96rem;
  border-radius: 9px; transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(15, 23, 32, 0.05); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad-brand);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 24, 29, 0.05);
  border-radius: var(--radius-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(20, 24, 29, 0.4);
  padding: 14px 24px 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-link {
  display: block; padding: 15px 4px; font-weight: 500; font-size: 1.05rem;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-link:hover, .mobile-link.is-active { color: var(--saffron); }
.mobile-cta { margin-top: 18px; }

/* ===================================================== */
/* 8. HERO                                               */
/* ===================================================== */
/* Inner-page hero (Products / About) is intentionally short: a title + lede,
   no big collage, so a tall band would just be dead space before the content.
   The split home hero overrides this below to a taller, content-driven size. */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(300px, 42vh, 420px);
  display: flex; align-items: center;
  background: var(--bg);
}
/* Hero carries .aurora + .dot-grid as aria-hidden children. */
.hero-inner {
  position: relative; z-index: 2;
  padding: clamp(2.4rem, 5vw, 3.6rem) 0;
  max-width: 800px;
}
.hero h1 { margin-top: .9rem; }
.hero-sub {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted);
  margin-top: 1.5rem; max-width: 640px; line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* Compact hero — for utility pages (e.g. Contact) where a tall aurora band
   would push the primary content far below the fold. */
.hero--compact { min-height: clamp(280px, 38vh, 400px); }

/* --- Split hero (home): copy ~2/3 left, product collage ~1/3 right.
   Height is driven by its content (the collage), not a forced min-height,
   so there's no empty band before the next section. --- */
.hero--split {
  min-height: 0;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.hero--split .hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero--split .hero-inner { padding: 0; max-width: 720px; }
/* Smaller hero heading per request (was up to 4.6rem). */
.hero--split .display { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.hero--split .hero-sub { max-width: 600px; }

/* --- Hero collage: 3 overlapping, tilted product photos (cover-cropped) --- */
.hero-collage {
  position: relative; width: 100%;
  min-height: clamp(360px, 40vh, 460px);
  align-self: center;
}
.collage-item {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-2);
  border: 4px solid #fff;
  box-shadow: 0 18px 40px -16px rgba(20, 24, 29, 0.32), 0 4px 12px -6px rgba(20, 24, 29, 0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}
.collage-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, rgba(10, 12, 15, .82), rgba(10, 12, 15, 0));
}
/* Layout: big anchor top-right, two smaller offset + tilted */
.collage-item--a { /* motor stampings: large */
  width: 64%; aspect-ratio: 4 / 3; top: 0; right: 0; z-index: 2;
  transform: rotate(2deg);
}
.collage-item--b { /* transformer laminations: medium, lower-left, overlaps */
  width: 50%; aspect-ratio: 1 / 1; bottom: 0; left: 0; z-index: 3;
  transform: rotate(-3deg);
}
.collage-item--c { /* CRGO steel: small accent, mid-right */
  width: 42%; aspect-ratio: 5 / 4; bottom: 8%; right: 6%; z-index: 1;
  transform: rotate(5deg);
}
.hero-collage:hover .collage-item--a { transform: rotate(2deg) translateY(-6px); }
.hero-collage:hover .collage-item--b { transform: rotate(-3deg) translateY(-6px); }
.collage-badge {
  position: absolute; top: -14px; left: 8%; z-index: 4;
  background: var(--grad-btn); color: #fff; font-weight: 700; font-size: .82rem;
  letter-spacing: .03em; padding: .5rem .95rem; border-radius: 999px;
  box-shadow: 0 8px 22px -8px var(--glow-saffron); transform: rotate(-4deg);
}

@media (max-width: 900px) {
  .hero--split .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero--split .hero-collage { order: -1; max-width: 460px; margin-inline: auto; min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .collage-item, .hero-collage:hover .collage-item--a, .hero-collage:hover .collage-item--b { transition: none; }
}

/* ===================================================== */
/* 9. GLASS CARDS + SPOTLIGHT / TILT                     */
/* ===================================================== */
.glass-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.glass-card:hover {
  border-color: rgba(232, 93, 31, 0.4);
  background: var(--surface-glass-hover);
  box-shadow: var(--shadow-lift);
}

/* Clickable product card — turns the whole tile into one accessible link
   without losing the card's internal layout. */
.glass-card.is-link { cursor: pointer; }
.card-link {
  display: flex; flex-direction: column; height: 100%;
  color: inherit; text-decoration: none;
  border-radius: inherit;
}
.card-link h3 { margin-bottom: .35rem; }
.card-link > p { margin-bottom: 1.1rem; }
.card-link:hover { color: inherit; }
.card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 93, 31, 0.5);
  border-radius: var(--radius-sm);
}

/* Spotlight: a radial highlight that follows the cursor via --mx/--my (JS).
   Add .spotlight to a card; JS sets --mx/--my on pointermove. Pure-CSS default
   keeps it centred. The highlight layer is a pseudo-element so it never
   intercepts pointer events. */
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(
    360px circle at var(--mx) var(--my),
    rgba(232, 93, 31, 0.07),
    transparent 60%
  );
}
.spotlight:hover::before { opacity: 1; }
/* Keep card content above the spotlight layer. */
.spotlight > * { position: relative; z-index: 1; }

/* Tilt: small rotateX/rotateY driven by --rx/--ry (JS). Add .tilt to a card
   and give its parent perspective via .tilt-scene, or rely on the inline
   perspective JS sets. */
.tilt-scene { perspective: 900px; }
.tilt {
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .12s ease;
  will-change: transform;
}

/* Card internals (icon chips, etc.) */
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  background: rgba(232, 93, 31, 0.08);
  color: var(--saffron);
  border: 1px solid rgba(232, 93, 31, 0.18);
}
.card-icon--leaf { background: rgba(91, 165, 43, 0.08); color: var(--leaf); border-color: rgba(91, 165, 43, 0.2); }
.glass-card h3 { margin-bottom: .4rem; }
.glass-card p { font-size: .98rem; }
.card-kicker { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Glass image frame (products / facility) */
.glass-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-glass);
  transition: border-color .25s ease, transform .25s ease;
}
.glass-frame:hover { border-color: rgba(232, 93, 31, 0.4); transform: translateY(-3px); }
.glass-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Product card = text on top, a fixed-aspect cover-cropped media box on the
   bottom that fills the card edge to edge. The picture wrapper stretches so
   the image area is identical on every card, no white space below a short
   photo. The frame is pushed to the bottom of the flex column via margin-top. */
.card-link .card-kicker { margin-bottom: .5rem; }
.card-link .glass-frame {
  margin-top: auto;
  border-radius: var(--radius-sm);
}
.card-link .glass-frame picture { display: block; }
.card-link .glass-frame img {
  aspect-ratio: 4 / 3;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.glass-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(20, 24, 29, 0.28) 100%);
}

/* ===================================================== */
/* 10. BENTO GRID                                        */
/* ===================================================== */
/* Uniform card grid: every tile is the same size, every card is full-height,
   so columns stay balanced and there are no half-empty cells. 3 cols on
   desktop, 2 at ≤900px, 1 at ≤680px (see responsive section). */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  grid-auto-rows: 1fr;
}
.bento-item { display: flex; flex-direction: column; }
.bento-item .glass-card { display: flex; flex-direction: column; height: 100%; }

/* Two-pillar layout (home + products "what we make / what we trade"): just two
   equal cards side by side, not a 3-col bento. */
.bento--pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Card body fills the tile so short text doesn't leave dead space: the kicker
   sits at the top, the inline "see more" link is pushed to the bottom edge. */
.bento .glass-card > .tilt,
.bento .glass-card > .card-link { display: flex; flex-direction: column; flex: 1 1 auto; }
.bento .glass-card p + .cta-inline-link { margin-top: auto; padding-top: 1.1rem; }

/* Reusable stat figure (e.g. "37", "100%", "1") — replaces per-card inline
   font-size/margin so the three stat tiles share one component. */
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  line-height: 1; margin: 0;
}
.stat h3 { margin-top: .7rem; }

/* Layout helpers — replace ad-hoc inline text-align / justify-content. */
.text-center { text-align: center; }
.is-centered-block { margin-inline: auto; }
.cta-row { margin-top: 2rem; }
.cta-row--center { justify-content: center; }
.cta-inline-link { margin-top: 1.1rem; }

/* Centred CTA card (e.g. About page bottom). */
.cta-card { text-align: center; padding: clamp(2.4rem, 5vw, 3.6rem); }
.cta-card .section-lede { margin-inline: auto; max-width: 620px; }

/* Centred CTA band content that must sit above an aurora backdrop. */
.cta-band { position: relative; z-index: 1; text-align: center; }
.cta-band .section-lede { margin-inline: auto; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { margin-top: .5rem; }

/* ===================================================== */
/* 11. TRUST STRIP                                       */
/* ===================================================== */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  margin-top: 2.6rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted); font-weight: 500;
}
.trust-strip li { position: relative; padding-left: 1.3rem; }
.trust-strip li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad-brand); transform: rotate(45deg);
}

/* --- Trust bar: a subtle horizontal signal strip placed lower on the page
   (dot-separated, muted). Distinct from the in-hero .trust-strip. --- */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .35rem 1.1rem;
  padding: 1.15rem 0;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  text-align: center;
}
.trust-bar-inner li { position: relative; }
.trust-bar-inner li:not(:last-child)::after {
  content: "·"; margin-left: 1.1rem; color: var(--line-strong);
}

/* ===================================================== */
/* 12. FOUNDER BLOCK                                     */
/* ===================================================== */
.founder-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.founder-figure { margin: 0; }
.founder-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-glass);
  transition: box-shadow .25s ease, transform .25s ease;
}
.founder-frame:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
/* Thin saffron ring accent on hover. */
.founder-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s ease;
}
.founder-frame:hover::after { box-shadow: inset 0 0 0 2px rgba(232, 93, 31, 0.45); }
.founder-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.founder-figure figcaption { margin-top: 1rem; font-size: .92rem; color: var(--muted); font-weight: 500; text-align: center; }

.founder-copy h2 { margin: .5rem 0 1.3rem; }
.founder-copy p { color: var(--muted); margin-bottom: 1.1rem; }

/* Pull-quote */
.pull-quote {
  position: relative; margin-top: 2rem;
  padding: 1.6rem 1.6rem 1.6rem 2.8rem;
  border-left: 3px solid var(--saffron);
  background: #FFF7F2;
  border: 1px solid var(--line);
  border-left: 3px solid var(--saffron);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote::before {
  content: "\201C"; position: absolute; left: .7rem; top: .1rem;
  font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--saffron);
}
.pull-quote p { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; color: var(--ink); line-height: 1.4; margin: 0; }
.pull-quote cite { display: block; margin-top: .85rem; font-style: normal; color: var(--leaf-deep); font-size: .95rem; font-weight: 600; }

/* ===================================================== */
/* 13. FORMS (dark inputs)                               */
/* ===================================================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.lead-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--saffron); }
.form-required-note { font-size: .82rem; color: var(--muted); margin: 0; }

.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; width: 100%;
  background: #FBFCFD;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #98A1AB; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--saffron);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(232, 93, 31, 0.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--saffron-deep);
  box-shadow: 0 0 0 3px rgba(232, 93, 31, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }

/* Honeypot — visually hidden, off-screen. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* Submit status line */
.form-status { font-size: .95rem; font-weight: 500; min-height: 1.2em; margin: 0; color: var(--muted); }
.form-status.is-success { color: var(--leaf-deep); }
.form-status.is-error { color: var(--saffron-deep); }

/* ===================================================== */
/* 14. CONTACT: details / hours / map                    */
/* ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.contact-details { display: grid; gap: 1.7rem; }
.contact-block h3 { font-size: 1.12rem; margin-bottom: .65rem; }
.contact-line { display: flex; flex-direction: column; margin-bottom: .75rem; }
.contact-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-line a { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.contact-line a:hover { color: var(--saffron); }
.contact-address { font-style: normal; color: var(--muted); line-height: 1.7; }
.text-link { font-weight: 600; color: var(--saffron); display: inline-block; margin-top: .5rem; }

.hours-table { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--muted); }

.map-frame {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-glass);
}
.map-frame iframe { display: block; width: 100%; border: 0; }
/* The native (light) Google map already matches the light theme. We keep only a
   crisp hairline frame so it sits cleanly in the card; no gradient vignette is
   needed on light. The overlay ignores pointer events so the map stays
   pannable/zoomable. */
.map-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ===================================================== */
/* 15. FOOTER                                            */
/* ===================================================== */
/* Deep-charcoal footer anchors the light page. It is the ONE intentional dark
   block on the site, so its text colours are set locally (light-on-dark), not
   from the global light-theme --ink/--muted tokens. */
.site-footer {
  background: #14181D; color: #AEB6BF;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; }
.footer-logo { height: 56px; width: auto; }
.footer-tagline { color: #AEB6BF; margin-top: 1rem; max-width: 360px; font-size: .95rem; line-height: 1.65; }
.footer-rating { margin-top: 1rem; color: #F0C419; font-size: 1rem; letter-spacing: 1px; }
.footer-rating span { color: #AEB6BF; font-size: .9rem; letter-spacing: 0; margin-left: .35rem; }
.footer-col h4 { color: #FFFFFF; font-size: 1rem; margin-bottom: .85rem; }
.footer-subhead { margin-top: 1.4rem; }
.footer-col address { color: #AEB6BF; font-style: normal; line-height: 1.7; font-size: .94rem; }
.footer-col p { color: #AEB6BF; font-size: .94rem; margin-top: .5rem; }
.footer-col strong { color: #E8ECEF; }
.footer-col a { color: #C8CED6; }
.footer-col a:hover { color: var(--saffron-bright); }
.footer-links { display: grid; gap: .5rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding: 1.5rem 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: .85rem;
}
/* .footer-gst is reused on the light contact card too, so its default green
   must read on white; the dark footer-bottom instance gets a brighter green. */
.footer-gst { color: var(--leaf-deep); font-weight: 600; }
.footer-bottom .footer-gst { color: #8FD15A; }
.footer-copy { color: #7A828C; }

/* ===================================================== */
/* 16. FLOATING WHATSAPP PILL                            */
/* ===================================================== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 13px 18px; border-radius: 999px;
  background: #1FA855;
  border: 1px solid #189048;
  color: #FFFFFF; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 26px -8px rgba(31, 168, 85, 0.55);
  animation: wa-pulse 2.8s ease-in-out infinite;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #189048; color: #fff; }
.whatsapp-float svg, .whatsapp-float img { flex-shrink: 0; }
.whatsapp-float .wa-label { white-space: nowrap; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 26px -8px rgba(31, 168, 85, 0.6), 0 0 0 0 rgba(31, 168, 85, 0.4); }
  70%      { box-shadow: 0 8px 26px -8px rgba(31, 168, 85, 0.6), 0 0 0 14px rgba(31, 168, 85, 0); }
}

/* ===================================================== */
/* 17. REVEAL GATE (.js) + REDUCED-MOTION FREEZE         */
/* ===================================================== */
/* Progressive enhancement: with NO JS, content is visible by default.
   The inline <head> script adds `js` to <html>; only then do we hide
   reveal elements until IntersectionObserver flips .is-visible. So a blocked
   script, a crawler, or a no-scroll screenshot never leaves the page blank. */

/* Fade/slide reveal */
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Staggered children: set --d on each child (or via :nth-child). */
.js .reveal-stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }

/* Blur-in heading reveal */
.js .blur-reveal {
  opacity: 0; filter: blur(10px); transform: translateY(8px);
  transition: opacity .7s ease, filter .7s ease, transform .7s ease;
}
.js .blur-reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }

/* Word-by-word blur-in (JS wraps words and sets --d per word). */
.js .blur-reveal .word {
  opacity: 0; filter: blur(8px); transform: translateY(0.25em);
  transition: opacity .55s ease, filter .55s ease, transform .55s ease;
  transition-delay: var(--d, 0ms);
}
.js .blur-reveal.is-visible .word { opacity: 1; filter: blur(0); transform: none; }

/* --- REDUCED MOTION: freeze EVERYTHING to a static state --- */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveals appear instantly, fully resolved. */
  .js .reveal,
  .js .reveal-stagger > *,
  .js .blur-reveal,
  .js .blur-reveal .word {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  /* Kill drifting backdrops + sweeps + pulses. */
  .aurora::before, .aurora::after, .aurora-blob,
  .beam, .btn-moving-border::before, .whatsapp-float {
    animation: none !important;
  }
  .beam { display: none; }
  /* No lift/tilt transforms on hover. */
  .btn:hover, .glass-card:hover, .glass-frame:hover, .whatsapp-float:hover { transform: none !important; }
  .tilt { transform: none !important; }
  /* Spotlight stays off (no pointer-follow). */
  .spotlight::before { opacity: 0 !important; }
}

/* ===================================================== */
/* 18. RESPONSIVE (360 → 1440px+)                        */
/* ===================================================== */
@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  /* Uniform bento: 3 cols → 2 cols. Pillars pair stays 2-up here. */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-frame { max-width: 380px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  /* Everything collapses to a single column, including the pillars pair. */
  .bento, .bento--pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .whatsapp-float .wa-label { display: none; }    /* collapse to icon pill on phones */
  .whatsapp-float { padding: 14px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { gap: .4rem 1.2rem; }
}
