/* ============================================
   ACTIVE KNITWEARS — GLOBAL STYLESHEET
   Premium B2B knitwear manufacturer
   activeknitwears.in
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0F1B3D;
  --navy-mid:    #1B2A5C;
  --navy-deep:   #080F24;
  --gold:        #C9A84C;
  --silver:      #C0C0C0;
  --silver-soft: #E0E0E0;
  --cream:       #F8F6F1;
  --cream-dark:  #EAE7E1;
  --white:       #FFFFFF;

  --text:        #0F1B3D;
  --text-sec:    #4A5568;
  --text-muted:  #718096;
  --border:      rgba(15, 27, 61, 0.10);
  --border-soft: rgba(15, 27, 61, 0.06);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-pad:    100px 0;
  --section-pad-sm:  72px 0;
  --container-max: 1280px;
  --container-pad:   32px;

  --ease:      250ms ease;
  --ease-slow: 420ms ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6vw,  68px); }
h2 { font-size: clamp(30px, 4vw,  46px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-size: clamp(18px, 2vw,  22px); }

p { color: var(--text-sec); font-weight: 400; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}
.eyebrow--light { color: rgba(201, 168, 76, 0.85); }

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}
section { padding: var(--section-pad); }

.section-heading {
  text-align: center;
  margin-bottom: 64px;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
.section-heading .eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin: 10px auto 0;
  opacity: 0.75;
}
.section-heading h2 { color: var(--text); margin-bottom: 16px; }
.section-heading p  { color: var(--text-sec); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  transition: all var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
/* Transparent white outline — navbar CTA on dark backgrounds */
.btn--quote {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--quote:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}
/* Gold bg, navy text — hero primary */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: #D4B45A;
  border-color: #D4B45A;
  transform: translateY(-1px);
}
/* Outlined white — hero secondary */
.btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.70);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.90);
}
/* Navy filled */
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
}
/* Outlined navy */
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--ease);
}
.link-arrow:hover    { border-bottom-color: var(--navy); gap: 14px; }
.link-arrow--light   { color: var(--silver); }
.link-arrow--light:hover { border-bottom-color: var(--silver); }

/* ============================================
   MEDIA FRAME
   Real images — scale(1.03) crops the Gemini
   watermark at bottom-right corner
   ============================================ */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms ease;
  display: block;
}
.media-frame:hover .media-frame__img {
  transform: scale(1.04);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
  background: transparent;
}
.nav--solid {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand / Logo — circular logo badge + divider + brand name text */
.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  gap: 16px;
}
.nav__logo-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.nav__brand:hover .nav__logo-wrap {
  border-color: rgba(255,255,255,1);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}
.nav__logo {
  width: 56px;
  height: auto;
  display: block;
  transition: opacity var(--ease);
}
.nav__brand-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity var(--ease);
  border-left: 1.5px solid rgba(255,255,255,0.40);
  padding-left: 18px;
}
.nav__brand:hover .nav__logo,
.nav__brand:hover .nav__brand-name { opacity: 0.82; }

/* Story Hero — homepage Our Story section (circle + logo + badge) */
.story-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 64px;
}
.story-hero__circle {
  width: 460px;
  height: 460px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%,
    #FDFAF7 0%,
    #F5F0E8 45%,
    #EBE5DC 80%,
    #E3DCD2 100%);
  box-shadow:
    0 32px 80px rgba(15,27,61,0.12),
    0 8px 24px rgba(15,27,61,0.06),
    inset 0 3px 8px rgba(255,255,255,0.60),
    inset 0 -6px 16px rgba(15,27,61,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.story-hero__logo {
  width: 500px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(15,27,61,0.25))
          drop-shadow(0 3px 8px rgba(15,27,61,0.15));
  position: relative;
  z-index: 1;
}
.story-hero__badge {
  position: absolute;
  bottom: 28px;
  right: 0;
  background: var(--navy);
  padding: 24px 34px;
  z-index: 10;
  min-width: 210px;
  box-shadow: 0 16px 40px rgba(15,27,61,0.30);
}
.story-hero__badge-number {
  font-family: var(--font-serif);
  font-size: 62px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
  display: block;
}
.story-hero__badge-number sup {
  font-size: 24px;
  font-weight: 300;
  color: #C9A86C;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 3px;
}
.story-hero__badge-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-top: 12px;
  display: block;
}

/* Founder photo caption */
.founder-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 12px;
}

/* Vision-Mission logo mark */
.vm-logo-mark {
  text-align: center;
  margin-bottom: 20px;
}
.vm-logo-mark__img {
  width: 350px;
  height: auto;
  display: inline-block;
  opacity: 0.92;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0 auto;
}
.nav__link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: color var(--ease);
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }

/* Dropdown */
.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--white);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid var(--border-soft);
}
.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}
.nav__dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  color: var(--text);
  transition: all var(--ease);
}
.nav__dropdown a:hover {
  background: var(--cream);
  color: var(--navy);
  padding-left: 28px;
}

.nav__cta { flex-shrink: 0; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1100;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all var(--ease);
}
.nav__toggle--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--navy);
  padding: 96px 32px 40px;
  transition: right var(--ease-slow);
  overflow-y: auto;
  z-index: 1050;
}
.nav__drawer--open {
  right: 0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.30);
}
.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__drawer-links a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--ease);
}
.nav__drawer-links a:hover { color: var(--silver); }
.nav__drawer-sub {
  padding-left: 16px;
  margin-bottom: 4px;
}
.nav__drawer-sub a {
  font-size: 14px;
  color: rgba(192, 192, 192, 0.8);
  padding: 10px 0;
}
.nav__drawer-cta {
  display: block;
  text-align: center;
  margin-top: 32px;
}
.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
  z-index: 1040;
}
.nav__backdrop--visible { opacity: 1; visibility: visible; }

/* ============================================
   HERO — HOMEPAGE
   Full-viewport, background image + overlay
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(15,27,61,0.92) 0%,
      rgba(15,27,61,0.72) 40%,
      rgba(15,27,61,0.28) 75%,
      rgba(15,27,61,0.10) 100%),
    linear-gradient(to bottom,
      rgba(15,27,61,0.20) 0%,
      transparent 30%,
      transparent 65%,
      rgba(15,27,61,0.55) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.7;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.40);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.2); opacity: 0.2; }
  50%       { transform: scaleY(1);   opacity: 1;   }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: #0B1126;
  padding: 36px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.20);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 20px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 54px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}
.stat__number sup {
  font-family: var(--font-sans);
  font-size: 0.38em;
  font-weight: 600;
  color: #C5A46D;
  vertical-align: super;
  line-height: 1;
  margin-top: 4px;
}
.stat__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.60);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* ============================================
   ABOUT PREVIEW (homepage)
   ============================================ */
.about-preview { background: #F8F6F1; }
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about-preview .eyebrow {
  color: var(--gold);
  letter-spacing: 4px;
}
.about-preview__text h2 {
  color: var(--navy);
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-preview__text p {
  color: #4A5568;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.9;
  max-width: 480px;
}
.about-preview__text .link-arrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(15,27,61,0.25);
  padding-bottom: 3px;
  transition: border-color var(--ease), color var(--ease);
}
.about-preview__text .link-arrow:hover {
  border-color: var(--navy);
}
.about-preview__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-preview__images .media-frame {
  aspect-ratio: 4/3;
}
.about-preview__images .media-frame:nth-child(2) {
  margin-left: 40px;
}

/* Founder placeholder */
.founder-placeholder {
  aspect-ratio: 4/3;
  background: var(--cream);
  border: 1.5px dashed rgba(15, 27, 61, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.founder-placeholder__icon {
  width: 52px;
  height: 52px;
  border: 1.5px dashed rgba(15, 27, 61, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 27, 61, 0.25);
}
.founder-placeholder p {
  font-size: 12px;
  color: rgba(15, 27, 61, 0.35);
  max-width: 200px;
  line-height: 1.5;
}

/* ============================================
   PRODUCT CATEGORIES — overlay card style
   ============================================ */
.categories { background: var(--cream); }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 420ms ease, box-shadow 420ms ease;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(8, 15, 36, 0.28);
}
/* Image fills card — 3:4 portrait */
.category-card .media-frame {
  aspect-ratio: 3/4;
  position: relative;
}
/* Dark gradient overlay from bottom */
.category-card .media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 15, 36, 0.90) 0%,
    rgba(8, 15, 36, 0.52) 42%,
    rgba(8, 15, 36, 0.06) 100%
  );
  z-index: 1;
  transition: background 420ms ease;
}
.category-card:hover .media-frame::after {
  background: linear-gradient(
    to top,
    rgba(8, 15, 36, 0.95) 0%,
    rgba(8, 15, 36, 0.65) 52%,
    rgba(8, 15, 36, 0.14) 100%
  );
}
/* Text panel sits on top of gradient */
.category-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 24px 22px 30px;
  z-index: 2;
  transition: padding-bottom 300ms ease;
}
.category-card:hover .category-card__overlay { padding-bottom: 36px; }
/* "COLLECTION" eyebrow in gold */
.category-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.category-card__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 7px;
  line-height: 1.15;
}
.category-card__subtitle {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 16px;
}
.category-card__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 2px;
  transition: gap var(--ease), border-color var(--ease);
}
.category-card:hover .category-card__link {
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.60);
}

/* ============================================
   PROCESS PREVIEW
   ============================================ */
.process-preview { background: var(--cream); }
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  position: relative;
}
.process-timeline::before {
  display: none;
}
.process-step { position: relative; z-index: 1; }
.process-step__number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.65);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}
.process-step .media-frame {
  aspect-ratio: 4/3;
  margin-bottom: 16px;
}
/* Icon placeholder for steps without a factory photo */
.process-step__icon {
  aspect-ratio: 4/3;
  background: #F2EDE4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process-step__icon svg {
  width: 36px;
  height: 36px;
  color: var(--navy);
  opacity: 0.45;
}
.process-step__title {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step__desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}
.process-preview__footer { text-align: center; margin-top: 56px; }

/* ============================================
   HERITAGE TIMELINE — Vertical alternating
   ============================================ */
.heritage { background: #F8F6F1; overflow: hidden; }
.heritage__timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 20px;
}
/* Centre vertical line */
.heritage__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--navy-mid) 6%, var(--navy-mid) 94%, transparent);
  transform: translateX(-50%);
}
.milestone-item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 52px;
  position: relative;
}
.milestone-item__year-col {
  text-align: right;
  padding-right: 28px;
}
.milestone-item__center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.milestone-item__icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px #F8F6F1, 0 0 0 8px rgba(201,168,76,0.20);
  transition: transform var(--ease), box-shadow var(--ease);
}
.milestone-item:hover .milestone-item__icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px #F8F6F1, 0 6px 20px rgba(201,168,76,0.30);
}
.milestone-item__icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.milestone-item__content-col {
  padding-left: 28px;
}
/* Alt (even) items: flip left/right */
.milestone-item--alt .milestone-item__year-col {
  order: 3;
  text-align: left;
  padding-right: 0;
  padding-left: 28px;
}
.milestone-item--alt .milestone-item__center { order: 2; }
.milestone-item--alt .milestone-item__content-col {
  order: 1;
  padding-left: 0;
  padding-right: 28px;
  text-align: right;
}
.milestone-item__year {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2px;
}
.milestone-item__desc {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  margin: 0;
}
/* Mobile: single left-aligned line */
@media (max-width: 767px) {
  .heritage__timeline::before {
    left: 26px;
    transform: none;
  }
  .milestone-item,
  .milestone-item--alt {
    grid-template-columns: 52px 1fr;
    margin-bottom: 36px;
  }
  .milestone-item__year-col,
  .milestone-item--alt .milestone-item__year-col { display: none; }
  .milestone-item__center,
  .milestone-item--alt .milestone-item__center {
    order: 1;
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2px;
  }
  .milestone-item__content-col,
  .milestone-item--alt .milestone-item__content-col {
    order: 2;
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 0 16px;
    text-align: left;
  }
  .milestone-item__icon-wrap {
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px #F8F6F1, 0 0 0 7px rgba(201,168,76,0.15);
  }
  .milestone-item__icon-wrap svg { width: 17px; height: 17px; }
  .milestone-item__year {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
  }
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.trusted__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  display: block;
}
/* Marquee track — fade edges */
.trusted__track {
  overflow: hidden;
  margin-bottom: 24px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.trusted__slider {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}
.trusted__slider:hover,
.trusted__slider.is-paused { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted__brand {
  font-family: var(--font-serif);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.trusted__footer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.40);
  font-style: italic;
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   PRIVATE LABEL CTA
   ============================================ */
.private-label {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.private-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(27, 42, 92, 0.6) 0%, transparent 65%);
  pointer-events: none;
}
.private-label__inner { position: relative; z-index: 1; }
.private-label h2 {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 20px;
}
.private-label__subtitle {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}
.private-label__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.private-label__feature {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 24px;
  text-align: left;
  transition: all var(--ease);
}
.private-label__feature:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
}
.private-label__feature h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.private-label__feature p {
  color: rgba(192, 192, 192, 0.72);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   QUICK CONTACT FORM
   ============================================ */
.quick-contact { background: var(--cream); }
.form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-sec);
}
.form__input,
.form__select,
.form__textarea {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(15, 27, 61, 0.14);
  font-size: 15px;
  color: var(--text);
  transition: all var(--ease);
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 27, 61, 0.08);
}
.form__textarea { resize: vertical; min-height: 130px; }
.form__submit   { margin-top: 8px; align-self: flex-start; }
.form__success  {
  display: none;
  padding: 20px 24px;
  background: var(--white);
  border-left: 3px solid var(--navy);
  color: var(--navy);
  font-size: 15px;
  margin-top: 8px;
}
.form__success--visible { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--silver);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--silver);
  font-style: italic;
  margin-bottom: 14px;
}
.footer__about {
  font-size: 14px;
  color: rgba(192, 192, 192, 0.55);
  line-height: 1.75;
  max-width: 280px;
}
.footer__heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__list a {
  font-size: 14px;
  color: rgba(192, 192, 192, 0.60);
  transition: color var(--ease);
}
.footer__list a:hover { color: var(--white); }
.footer__contact-item {
  font-size: 14px;
  color: rgba(192, 192, 192, 0.60);
  margin-bottom: 10px;
  line-height: 1.65;
}
.footer__contact-item a { transition: color var(--ease); }
.footer__contact-item a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(192, 192, 192, 0.38);
  text-align: center;
  letter-spacing: 0.4px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
  z-index: 999;
  transition: transform var(--ease);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}
.whatsapp-btn svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes waPulse {
  0%, 70%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.40), 0 0 0 0 rgba(37,211,102,0.50); }
  85%           { box-shadow: 0 4px 20px rgba(37,211,102,0.40), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  pointer-events: none;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  overflow: hidden;
  color: var(--white);
}
.page-hero--medium { min-height: 42vh; }
.page-hero--small  { min-height: 36vh; padding: 130px 0 56px; }
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 61, 0.60);
  z-index: 1;
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 20px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.page-hero__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   INTRO TEXT
   ============================================ */
.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro-text p {
  color: var(--text-sec);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ============================================
   PRODUCT GRID (catalog pages)
   ============================================ */
.product-section { padding: var(--section-pad); background: #FFFFFF; }
.product-section--cream { background: var(--cream); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15, 27, 61, 0.08);
  border-color: transparent;
}
.product-card .media-frame { aspect-ratio: 4/5; }
.product-card__body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--navy);
  line-height: 1.3;
}
.product-card__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease);
}
.product-card:hover .product-card__cta { gap: 10px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { color: var(--white); max-width: 700px; margin: 0 auto 20px; }
.cta-banner p  { color: rgba(255,255,255,0.68); max-width: 540px; margin: 0 auto 40px; font-size: 17px; font-weight: 300; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story { background: #F8F6F1; }
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 88px;
  align-items: start;
}
.about-story__text h2 { color: var(--text); margin-bottom: 24px; }
.about-story__text p  { color: var(--text-sec); margin-bottom: 20px; font-size: 16px; line-height: 1.85; }
.about-story__images { display: flex; flex-direction: column; gap: 20px; }
.about-story__images .media-frame { aspect-ratio: 4/3; }
.about-story__images .founder-placeholder { aspect-ratio: 4/3; }

/* ============================================
   CHAPTER BREAK — dark editorial section divider
   About page: "The Legacy Continues"
   ============================================ */
.chapter-break {
  background: var(--navy);
  padding: var(--section-pad);
  text-align: center;
}
.chapter-break__inner {
  max-width: 720px;
  margin: 0 auto;
}
.chapter-break__rule {
  width: 40px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0.75;
}
.chapter-break .eyebrow { color: var(--gold); }
.chapter-break__heading {
  color: var(--white);
  margin-bottom: 28px;
}
.chapter-break__body {
  color: rgba(255, 255, 255, 0.70);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}

.vision-mission { background: var(--cream); padding: 64px 0; }
.vision-mission .section-heading { margin-bottom: 36px; }
.vision-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.vm-card { padding: 40px 36px; background: var(--white); border: 1px solid var(--border); border-top: 2px solid rgba(201, 168, 76, 0.45); }
.vm-card h3 { color: var(--navy); margin-bottom: 16px; }
.vm-card p  { color: var(--text-sec); font-size: 16px; line-height: 1.8; }

.values { background: #FFFFFF; }
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.value-card:hover {
  border-color: var(--silver);
  box-shadow: 0 8px 32px rgba(15,27,61,0.06);
}
.value-card__icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(15, 27, 61, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.value-card__icon svg { width: 20px; height: 20px; }
.value-card h4 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 10px; font-size: 20px; }
.value-card p  { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* Numbered editorial rows — premium values layout */
.value-rows {
  max-width: 860px;
  margin: 0 auto;
}
.value-row {
  display: grid;
  grid-template-columns: 72px 1px 1fr;
  gap: 0 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(15, 27, 61, 0.08);
}
.value-row:first-child { border-top: 1px solid rgba(15, 27, 61, 0.08); }
.value-row__num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: rgba(15, 27, 61, 0.08);
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}
.value-row__divider {
  width: 1px;
  height: 60px;
  background: rgba(15, 27, 61, 0.10);
  align-self: center;
  justify-self: center;
}
.value-row__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.value-row__desc {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 620px;
  font-weight: 300;
}

/* ============================================
   PROCESS PAGE
   ============================================ */
.process-full { background: #F8F6F1; }
.process-steps { display: flex; flex-direction: column; gap: 96px; }
.process-step-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.process-step-full--reverse {
  direction: rtl;
}
.process-step-full--reverse > * { direction: ltr; }
.process-step-full .media-frame { aspect-ratio: 4/3; }
.process-step-full__icon {
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step-full__icon svg { width: 80px; height: 80px; color: var(--navy); opacity: 0.15; }
.process-step-full__num {
  font-family: var(--font-serif);
  font-size: 80px;
  color: rgba(15,27,61,0.06);
  line-height: 1;
  margin-bottom: -16px;
}
.process-step-full__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy);
  margin-bottom: 20px;
}
.process-step-full__desc {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.85;
  margin-bottom: 28px;
}
.process-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.process-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-sec);
}

/* ============================================
   INFRASTRUCTURE PAGE
   ============================================ */
.infra-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.infra-stat {
  background: var(--cream);
  padding: 32px 24px;
  text-align: center;
}
.infra-stat__number {
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.infra-stat__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.machine-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 72px;
}
.machine-table th,
.machine-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  text-align: left;
  color: var(--text);
}
.machine-table th {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-sec);
  background: var(--cream);
  padding-top: 18px;
  padding-bottom: 18px;
}
.machine-table tbody tr:hover { background: rgba(15,27,61,0.02); }
.machine-table td.qty {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.facility-grid .media-frame { aspect-ratio: 16/9; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  padding: 28px 24px;
  background: var(--cream);
  border-left: 3px solid var(--navy);
}
.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 8px;
}
.contact-card__value {
  font-size: 16px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.65;
}
.contact-card__value a { transition: opacity var(--ease); }
.contact-card__value a:hover { opacity: 0.65; }
.map-wrap { margin-top: 72px; }
.map-wrap h3 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 24px; font-size: 24px; }

/* School page bulk callout */
.bulk-callout {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  margin-top: 8px;
}
.bulk-callout h3 { color: var(--white); margin-bottom: 12px; font-size: clamp(22px,3vw,32px); }
.bulk-callout p  { color: rgba(255,255,255,0.70); margin-bottom: 32px; font-size: 16px; font-weight: 300; max-width: 560px; margin-left:auto; margin-right:auto; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --container-pad: 24px; }
  .nav__links  { gap: 22px; }
  .nav__cta    { display: none; }
  .nav__toggle { display: flex; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid     { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad:    72px 0;
    --section-pad-sm: 52px 0;
    --container-pad:  20px;
  }
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }
  .hero { min-height: 88vh; }
  .hero__title { font-size: clamp(38px, 9vw, 56px); }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .about-preview__grid,
  .about-story__grid,
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .about-preview__images .media-frame:nth-child(2) { margin-left: 0; }

  .categories__grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-timeline  { grid-template-columns: repeat(2, 1fr); }
  .private-label__features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .form__row    { grid-template-columns: 1fr; }
  .infra-stats  { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr; }
  .process-step-full,
  .process-step-full--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }
  .vision-mission__grid { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr; }

  /* Numbered value rows — collapse to single column on mobile */
  .value-row {
    grid-template-columns: 1fr;
    gap: 8px 0;
    padding: 32px 0;
  }
  .value-row__num {
    font-size: 36px;
    text-align: left;
    margin-bottom: 4px;
  }
  .value-row__divider { display: none; }
}

@media (max-width: 480px) {
  .categories__grid { grid-template-columns: 1fr; }
  .product-grid     { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .infra-stats      { grid-template-columns: 1fr; }
  .trusted__brand   { font-size: 18px; padding: 4px 16px; }
}

/* ============================================
   PRODUCT SYSTEM — Subcategories, Carousel, Filter
   Added for data-driven product pages
   ============================================ */

/* ── Subcategory grouping ── */
.product-subcategory {
  margin-bottom: 64px;
}
.product-subcategory__title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── Filter bar ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--ease);
}
.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Carousel controls ── */
.media-frame--carousel {
  position: relative;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(15, 27, 61, 0.75);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--ease);
  z-index: 2;
}
.media-frame--carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }
.carousel-btn:hover { background: var(--navy); }

/* ── Carousel dots ── */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--ease);
}
.carousel-dot.active { background: var(--white); }

/* ── Empty state ── */
.products-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 18px;
}
.products-empty a { color: var(--gold); text-decoration: underline; }

/* ── Aspect-ratio enforcement (ensure cards never break) ── */
.media-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Subcategory overview cards (Option A) ── */
.subcat-overview {
  background: var(--white);
  padding: var(--section-pad);
}
.subcat-overview .section-heading { margin-bottom: 48px; }

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.subcat-grid--3 { grid-template-columns: repeat(3, 1fr); }

.subcat-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 420ms ease, box-shadow 420ms ease;
}
.subcat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(8,15,36,0.22);
}
.subcat-card .media-frame { aspect-ratio: 3/4; position: relative; }
.subcat-card .media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,15,36,0.90) 0%, rgba(8,15,36,0.42) 48%, rgba(8,15,36,0.04) 100%);
  z-index: 1;
  transition: background 420ms ease;
}
.subcat-card:hover .media-frame::after {
  background: linear-gradient(to top, rgba(8,15,36,0.96) 0%, rgba(8,15,36,0.62) 56%, rgba(8,15,36,0.12) 100%);
}
.subcat-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 18px 16px 22px;
  z-index: 2;
  transition: padding-bottom 300ms ease;
}
.subcat-card:hover .subcat-card__overlay { padding-bottom: 28px; }
.subcat-card__count {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.subcat-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.subcat-card__browse {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 2px;
  transition: gap var(--ease), border-color var(--ease);
}
.subcat-card:hover .subcat-card__browse {
  gap: 12px;
  border-color: rgba(255,255,255,0.52);
}

/* ── Product gallery section (Option C) ── */
.product-gallery {
  background: #F8F6F1;
  padding: var(--section-pad);
}
.product-gallery .section-heading { margin-bottom: 40px; }
.filter-bar {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.product-card--hidden { display: none !important; }

/* ── 5-category homepage grid ── */
.categories__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
  .subcat-grid            { grid-template-columns: repeat(4, 1fr); }
  .subcat-grid--3         { grid-template-columns: repeat(3, 1fr); }
  .categories__grid--5    { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .filter-bar { gap: 6px; }
  .filter-btn { font-size: 11px; padding: 6px 14px; }
  .carousel-btn { opacity: 1; width: 30px; height: 30px; font-size: 18px; }
  .subcat-grid,
  .subcat-grid--3         { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .categories__grid--5    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .subcat-grid,
  .subcat-grid--3         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .categories__grid--5    { grid-template-columns: repeat(2, 1fr); }
}
