/* ============================================================
   LPTT - Laxmipati Technical Textiles | Main Stylesheet
   Ultra-modern, minimalist, light theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@200;300;400;500;600&family=DM+Mono:wght@300;400&display=swap');

:root {
  --brand: #7F1416;
  --brand-light: rgba(127,20,22,0.08);
  --brand-mid: rgba(127,20,22,0.18);
  --ink: #0d0d0d;
  --ink-60: rgba(13,13,13,0.6);
  --ink-30: rgba(13,13,13,0.3);
  --ink-10: rgba(13,13,13,0.08);
  --white: #ffffff;
  --offwhite: #f8f7f5;
  --warm-gray: #f0eeeb;
  --border: rgba(13,13,13,0.1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --nav-h: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --radius: 2px;
  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BOOTSTRAP RESET OVERRIDES ─────────────────── */
/* Fix Bootstrap conflicting with custom nav, buttons, lists */
#navbar .nav-links { padding-left: 0; margin-bottom: 0; list-style: none; }
#navbar .nav-links li { padding: 0; }
.btn-nav, .btn-primary, .btn-ghost, .btn-white, .btn-submit {
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: inherit;
}
a { color: inherit !important; text-decoration: none !important; }
h1,h2,h3,h4,h5,h6 { margin-top: 0; }
p { margin-bottom: 0; }
ul { padding-left: 0; margin-bottom: 0; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--brand); }

/* ── SELECTION ─────────────────────────────────── */
::selection { background: var(--brand); color: #fff; }

/* ── TYPOGRAPHY ────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
p { line-height: 1.75; font-weight: 300; }
a { text-decoration: none; color: inherit; }

.display-xl { font-size: clamp(56px, 8vw, 120px); letter-spacing: -0.02em; }
.display-lg { font-size: clamp(42px, 6vw, 80px); letter-spacing: -0.02em; }
.display-md { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.01em; }
.display-sm { font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.01em; }
.label { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-mono); color: var(--ink-60); }
.label-brand { color: var(--brand); }
.body-lg { font-size: clamp(17px, 2vw, 20px); font-weight: 300; line-height: 1.8; }
.body-sm { font-size: 14px; font-weight: 300; color: var(--ink-60); line-height: 1.7; }

/* ── LOADER ────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-bar {
  width: 200px; height: 1px;
  background: var(--border);
  margin: 24px auto 0;
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: ''; position: absolute; inset-block: 0; left: -100%; width: 100%;
  background: var(--brand);
  animation: loaderSlide 1.5s ease forwards;
}
@keyframes loaderSlide { to { left: 100%; } }
.loader-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: 0.05em; color: var(--ink); }
.loader-logo span { color: var(--brand); }

/* ── CURSOR ────────────────────────────────────── */
.cursor {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: multiply;
  display: none;
}
.cursor-follower {
  position: fixed; pointer-events: none; z-index: 9997;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--brand);
  transform: translate(-50%, -50%);
  transition: all 0.35s ease;
  mix-blend-mode: multiply;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  .cursor-follower { display: block; }
}
.cursor-follower.hovering { transform: translate(-50%, -50%) scale(2.5); opacity: 0.5; }

/* ── NAVIGATION ────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 100px; width: auto; }
.nav-logo-text { display: none; }
.nav-logo-sub { display: none; }

.nav-links {
  display: flex; align-items: center; gap: 40px;
  margin: 0 auto;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.05em;
  color: var(--ink); position: relative; padding-bottom: 2px;
  transition: color 0.5s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--brand);
  transition: width 0.3s ease, background 0.5s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand); }

.nav-cta {
  display: flex; align-items: center; gap: 24px;
}
.btn-nav {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--brand);
  color: var(--brand);
  transition: all 0.3s ease;
  font-family: var(--font-body);
}
.btn-nav:hover { background: var(--brand); color: var(--white) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px; background: var(--ink);
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed; top: var(--nav-h); right: -100%; bottom: 0; width: 100%; max-width: 320px;
  background: var(--white);
  border-left: 1px solid var(--border);
  padding: 40px 32px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; gap: 32px;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  font-family: var(--font-display); font-size: 28px; font-weight: 400;
  display: block; padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1;
}
.hero-video-wrap::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.5) 100%
  );
}
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a0a0b 0%, #2d1012 40%, #0d0d0d 100%);
  z-index: 0;
}
.hero-fallback-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}

.hero-content {
  position: relative; z-index: 2;
  padding: clamp(40px, 6vw, 100px) clamp(24px, 5vw, 80px);
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding-right: clamp(24px, 5vw, 80px);
}
.hero-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-label::before {
  content: ''; width: 40px; height: 1px; background: var(--brand);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  font-size: clamp(36px, 5vw, 72px); /* reduced */
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 20px;
}

.hero-headline em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

.hero-subtext {
  font-size: clamp(13px, 1.2vw, 15px); /* reduced */
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: var(--white) !important;
  padding: 16px 36px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body);
  transition: all 0.3s ease; border: 1px solid var(--brand);
}
.btn-primary:hover { background: transparent; color: var(--white); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8) !important; padding: 16px 0;
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); gap: 16px; }
.btn-ghost svg { transition: transform 0.3s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; right: clamp(24px, 5vw, 80px);
  z-index: 2; display: flex; flex-direction: column-reverse; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px; background: rgba(255,255,255,0.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: var(--brand);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown { to { top: 200%; } }

/* ── MARQUEE STRIP ─────────────────────────────── */
.marquee-strip {
  background: var(--brand); color: var(--white);
  padding: 14px 0; overflow: hidden;
  display: flex; white-space: nowrap;
}
.marquee-inner {
  display: flex; gap: 0; animation: marquee 30s linear infinite;
  flex-shrink: 0;
}
.marquee-inner span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 0 40px;
  opacity: 0.9;
}
.marquee-inner span.dot {
  font-size: 6px; vertical-align: middle; opacity: 0.5; padding: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION BASE ──────────────────────────────── */
.section { padding: var(--section-pad) clamp(24px, 5vw, 80px); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { margin-bottom: clamp(48px, 6vw, 80px); }
.section-header .label { margin-bottom: 16px; display: block; }
.section-divider {
  width: 100%; height: 1px; background: var(--border);
  margin: 80px auto; max-width: 1280px;
}

/* ── WHAT WE DO ────────────────────────────────── */
.what-we-do { background: var(--white); }
.what-we-do-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.what-we-do-text p { font-size: 18px; font-weight: 300; line-height: 1.9; color: var(--ink-60); }
.what-we-do-text p + p { margin-top: 20px; }

/* Premium Capability Cards — replaces boring stat counters */
.capability-cards {
  display: flex; flex-direction: column; gap: 0;
}
.cap-card {
  padding: 28px 32px;
  border: 1px solid var(--border);
  margin-top: -1px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 12px;
  position: relative;
  transition: background 0.35s ease, border-color 0.35s ease;
  cursor: default;
}
.cap-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--brand);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cap-card:hover { background: var(--offwhite); border-color: var(--brand-mid); }
.cap-card:hover::before { transform: scaleY(1); }
.cap-card-icon {
  grid-row: 1 / 3;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--brand);
  transition: background 0.35s ease, border-color 0.35s ease;
  align-self: start; margin-top: 2px;
}
.cap-card:hover .cap-card-icon { background: var(--brand); color: #fff; border-color: var(--brand); }
.cap-card-body h4 {
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
  margin-bottom: 5px; color: var(--ink);
}
.cap-card-body p { font-size: 13px; color: var(--ink-60); line-height: 1.65; }
.cap-card-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand);
  grid-column: 2; padding-top: 2px;
}

/* ── IMAGE GALLERY SCROLL ──────────────────────── */
.gallery-section {
  background: var(--ink);
  overflow: hidden;
  padding-block: var(--section-pad);
  position: relative;
}
.gallery-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(127,20,22,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.gallery-header {
  padding-inline: clamp(24px, 5vw, 80px);
  margin-bottom: 56px;
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.gallery-header .label { color: var(--brand); }
.gallery-header h2 { color: #fff; }
.gallery-header-right {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; gap: 10px;
}
.gallery-header-right::before {
  content: ''; width: 32px; height: 1px; background: var(--brand); display: block;
}
.gallery-track-wrap { overflow: hidden; position: relative; }
.gallery-track {
  display: flex; gap: 16px;
  animation: galleryScroll 40s linear infinite;
  width: max-content;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-item {
  width: 380px; height: 260px; flex-shrink: 0;
  overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 0.6; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1.1);
}
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  z-index: 2;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-item-overlay span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--font-mono); color: rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 8px;
}
.gallery-item-overlay span::before {
  content: ''; width: 20px; height: 1px; background: var(--brand); display: block; flex-shrink: 0;
}
@keyframes galleryScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Gallery track reversed */
.gallery-track.reverse { animation-direction: reverse; }

/* ── MANUFACTURING SECTION ─────────────────────── */
.manufacturing { background: var(--white); }
.mfg-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 60px;
}
.mfg-card {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer;
}
.mfg-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s ease;
  /* Desktop default: low brightness so text is readable without hover */
  filter: brightness(0.45);
}
.mfg-card:hover img { transform: scale(1.05); filter: brightness(0.55); }
.mfg-card-content {
  position: absolute; inset: 0;
  /* Desktop default: gradient always visible so text reads clearly */
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.50) 50%, rgba(0,0,0,0.18) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px; color: white;
  transition: background 0.4s ease;
}
.mfg-card:hover .mfg-card-content {
  background: linear-gradient(to top, rgba(127,20,22,0.90) 0%, rgba(0,0,0,0.35) 100%);
}
.mfg-card-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; opacity: 0.9; margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.mfg-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.mfg-card p { font-size: 13px; font-weight: 300; opacity: 1; line-height: 1.6; max-width: 340px; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.mfg-card-arrow {
  position: absolute; top: 32px; right: 32px;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); transition: all 0.4s ease;
}
.mfg-card:hover .mfg-card-arrow { opacity: 1; transform: translateY(0); }

/* ── MOBILE: mfg-card — show full image + always-on overlay ── */
@media (max-width: 768px) {
  .mfg-card {
    /* Remove fixed aspect-ratio crop so the full image shows */
    aspect-ratio: unset;
  }
  .mfg-card img {
    /* Full natural height, no cropping, normal brightness on mobile */
    height: auto;
    width: 100%;
    object-fit: contain;
    filter: brightness(1);
    display: block;
  }
  .mfg-card-content {
    /* On mobile: overlay sits below the image, not on top of it */
    position: relative;
    inset: unset;
    background: linear-gradient(to bottom, rgba(127,20,22,0.92) 0%, rgba(30,10,10,0.97) 100%);
    padding: 28px 24px 32px;
  }
  .mfg-card-arrow {
    /* Show arrow always on mobile */
    opacity: 1;
    transform: translateY(0);
    top: 20px; right: 20px;
    /* Arrow is inside .mfg-card-content flow on mobile — re-position */
    position: relative;
    top: unset; right: unset;
    margin-top: 16px;
    align-self: flex-start;
  }
  .mfg-card h3 { font-size: 22px; }
}

/* ── CERTIFICATIONS ────────────────────────────── */
.certs {
  background: #fff;
  position: relative; overflow: hidden;
}
.certs::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(127,20,22,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.certs .section-inner { position: relative; z-index: 1; }
.certs-heading-wrap { text-align: center; margin-bottom: 56px; }
.certs-heading-wrap .label { color: var(--ink-60); margin-bottom: 16px; display: block; }
.certs-heading-wrap h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 300; color: #000; line-height: 1.15; }
.certs-heading-wrap p { font-size: 15px; color: var(--ink-30); max-width: 480px; margin: 16px auto 0; line-height: 1.7; }

.certs-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.cert-logo-wrap {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.35s ease;
  position: relative;
}
.cert-logo-wrap:last-child { border-right: none; }
.cert-logo-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--brand);
  transition: left 0.4s ease, right 0.4s ease;
}
.cert-logo-wrap:hover::after { left: 0; right: 0; }
.cert-logo-wrap:hover { background: rgba(255,255,255,0.04); }
.cert-logo {
  height: 75px; width: auto; max-width: 110px;
  object-fit: contain;
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transition: all 0.4s ease;
}
.cert-logo-wrap:hover .cert-logo { filter: grayscale(0%) brightness(1.1); opacity: 1; }

.associations {
  display: flex; align-items: stretch; gap: 0;
  justify-content: center; flex-wrap: wrap;
}
.associations .cert-logo-wrap {
  padding: 28px 48px;
}
.associations .cert-logo {
  height: 100px; max-width: 160px;
  filter: grayscale(0%) brightness(1) !important;
  opacity: 1 !important;
}
.assoc-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink);
  border: 1px solid rgba(255,255,255,0.1); padding: 14px 28px;
  margin: -1px;
  transition: all 0.3s ease;
  display: flex; align-items: center; gap: 10px;
}
.assoc-tag::before { content: ''; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; flex-shrink: 0; }
.assoc-tag:hover { background: rgba(127,20,22,0.12); border-color: rgba(127,20,22,0.4); color: rgba(255,255,255,0.8); }

/* ── PRODUCTS PREVIEW ──────────────────────────── */
.products-preview { background: var(--white); }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 60px;
}
.product-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.product-card:hover img { transform: scale(1.08); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: white;
}
.product-card-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; opacity: 0.6; margin-bottom: 6px; display: block; }
.product-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.product-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 12px; opacity: 0; transform: translateY(8px);
  transition: all 0.4s ease;
  color: white; text-decoration: none;
}
.product-card:hover .product-card-link { opacity: 1; transform: translateY(0); }

/* ── NEWS SECTION ──────────────────────────────── */
.news-section { background: var(--offwhite); }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-top: 60px; }
.news-card { background: var(--white); transition: transform 0.3s ease; }
.news-card:hover { transform: translateY(-4px); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 28px; }
.news-card-date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-60); margin-bottom: 10px; display: block; }
.news-card h3 { font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 400; line-height: 1.3; margin-bottom: 12px; }
.news-card p { font-size: 14px; color: var(--ink-60); line-height: 1.7; }
.news-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.news-link svg { transition: transform 0.3s ease; }
.news-link:hover svg { transform: translateX(4px); }
.news-card.featured .news-card-body { padding: 36px; }
.news-card.featured h3 { font-size: clamp(22px, 2.5vw, 32px); }

/* ── CONTACT CTA ───────────────────────────────── */
.contact-cta {
  background: var(--ink); color: var(--white);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  position: relative; overflow: hidden;
}
.contact-cta::before {
  content: ''; position: absolute;
  right: 0; top: -100px; bottom: -100px; width: 50%;
  background: url('../images/home/contact-bg.jpg') center/cover;
  opacity: 0.15;
}
.contact-cta-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.contact-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-cta h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.1; }
.contact-cta h2 em { font-style: italic; color: rgba(255,255,255,0.5); }
.contact-cta p { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 16px; line-height: 1.8; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.contact-info-item .label { color: rgba(255,255,255,0.4); margin-bottom: 6px; display: block; }
.contact-info-item a, .contact-info-item p { font-size: 20px; font-weight: 300; color: var(--white); }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink) !important;
  padding: 16px 36px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body);
  border: 1px solid var(--white); margin-top: 36px;
  transition: all 0.3s ease;
}
.btn-white:hover { background: var(--brand); border-color: var(--brand); color: white; }

/* ── FOOTER ────────────────────────────────────── */
footer {
  background: var(--offwhite);
  padding: 80px clamp(24px, 5vw, 80px) 40px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { max-height: 80px; width: 50%; object-fit: cover; }
.footer-brand p { font-size: 13px; color: var(--ink-60); line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-mono); color: var(--ink-60); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--ink); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--brand); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--ink-60); }
.footer-bottom p { font-size: 12px; color: var(--ink-60); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-60); transition: all 0.3s ease;
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }

/* ── ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── PRODUCT PAGE ──────────────────────────────── */
.page-hero {
  height: 100vh; min-height: 450px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 60px clamp(24px, 5vw, 80px);
  max-width: 1280px; margin: 0 auto; width: 100%;
  color: white;
}
.page-hero-content h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px); font-weight: 300; }
.page-hero-content p { font-size: 16px; font-weight: 300; opacity: 0.7; margin-top: 12px; max-width: 560px; }

.product-filter {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  overflow-x: auto; margin-bottom: 60px; -webkit-overflow-scrolling: touch;
}
.filter-btn {
  padding: 16px 28px; font-size: 13px; font-weight: 400; letter-spacing: 0.05em;
  border: none; background: none; cursor: pointer; color: var(--ink-60);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: all 0.3s ease; font-family: var(--font-body);
}
.filter-btn.active { color: var(--brand); border-color: var(--brand); }
.filter-btn:hover { color: var(--ink); }

.products-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 80px;
}
.product-full-card { cursor: pointer; }
.product-full-card-img { aspect-ratio: 4/3; overflow: hidden; }
.product-full-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-full-card:hover .product-full-card-img img { transform: scale(1.05); }
.product-full-card-body { padding: 20px 0; }
.product-full-card-body .label { margin-bottom: 6px; display: block; }
.product-full-card-body h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.product-full-card-body p { font-size: 14px; color: var(--ink-60); }
.product-apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.app-tag {
  font-size: 11px; letter-spacing: 0.05em; color: var(--ink-60);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 2px;
}

/* ── ABOUT PAGE ────────────────────────────────── */
/* Legacy keep for any other refs */
.about-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-intro-img { aspect-ratio: 4/5; overflow: hidden; }
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── LEADERSHIP SECTION ─────────────────────────── */
.leadership-section { background: var(--white); }

.leadership-header {
  text-align: center;
  margin-bottom: 72px;
}
.leadership-header .display-sm em {
  font-style: italic;
  color: var(--brand);
}
.leadership-subhead {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-60);
  margin-top: 16px;
  line-height: 1.75;
}

/* ── FEATURED LEADER (Person 1) ─────────────────── */
.leader-card--featured {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}

/* ── GRID LEADERS (Persons 2–5) ─────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.leader-card--grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.leader-card--grid:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ── SHARED CARD PARTS ──────────────────────────── */
.leader-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.leader-card--featured .leader-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.leader-card--grid .leader-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.leader-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-card:hover .leader-card__img-wrap img {
  transform: scale(1.04);
}

.leader-card__img-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  /* border: 2px solid var(--brand); */
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.leader-card:hover .leader-card__img-accent { opacity: 0.5; }

.leader-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.leader-card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
}

.leader-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 8px;
}

.leader-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0;
}

.leader-card--featured .leader-card__name {
  font-size: clamp(26px, 3vw, 40px);
}

.leader-card--grid .leader-card__name {
  font-size: clamp(18px, 2vw, 24px);
}

.leader-card__divider {
  width: 40px;
  height: 2px;
  background: var(--brand);
  margin: 18px 0;
  transition: width 0.4s ease;
}
.leader-card:hover .leader-card__divider { width: 64px; }

.leader-card__body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-60);
  line-height: 1.8;
}

.leader-card--featured .leader-card__body p {
  font-size: 16px;
}

.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.value-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.value-card:hover { border-color: var(--brand); background: var(--brand-light); }
.value-icon {
  width: 40px; height: 40px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--brand); font-size: 18px;
}
.value-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--ink-60); line-height: 1.7; }

.vision-mission {
  background: var(--ink); color: var(--white);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: 1280px; margin: 0 auto; }
.vm-card {
  padding: 60px; border: 1px solid rgba(255,255,255,0.1);
}
.vm-card .label { color: rgba(255,255,255,0.4); margin-bottom: 24px; display: block; }
.vm-card h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 300; color: var(--white); line-height: 1.3; }

/* ── CONTACT PAGE ──────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-form-wrap { }
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; font-family: var(--font-mono);
  color: var(--ink); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 0;
  border: none; border-bottom: 1px solid var(--border);
  background: transparent; font-size: 15px; color: var(--ink);
  font-family: var(--font-body); font-weight: 300;
  outline: none; transition: border-color 0.3s ease;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--brand); }
.form-group textarea { height: 100px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand); color: var(--white);
  border: 1px solid var(--brand); padding: 16px 40px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: var(--font-body);
  cursor: pointer; transition: all 0.3s ease; margin-top: 8px;
}
.btn-submit:hover { background: transparent; color: var(--brand); }

.contact-aside { display: flex; flex-direction: column; gap: 48px; }
.contact-detail-card {
  border-top: 1px solid var(--border); padding-top: 28px;
}
.contact-detail-card .label { margin-bottom: 10px; display: block; }
.contact-detail-card h4 { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.contact-detail-card p, .contact-detail-card a { font-size: 15px; color: var(--ink-60); line-height: 1.7; }
.contact-detail-card a:hover { color: var(--brand); }
.help-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.help-item { display: flex; gap: 16px; padding: 20px; background: var(--offwhite); }
.help-item-icon { color: var(--brand); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.help-item h5 { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.help-item p { font-size: 13px; color: var(--ink-60); }

/* ── NEWS PAGE ─────────────────────────────────── */
.news-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.news-article-card { cursor: pointer; }
.news-article-card-img { aspect-ratio: 16/10; overflow: hidden; }
.news-article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-article-card:hover .news-article-card-img img { transform: scale(1.05); }
.news-article-body { padding: 24px 0; }
.news-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); border: 1px solid var(--brand-mid);
  padding: 4px 10px; margin-bottom: 12px;
}
.news-article-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.3; margin-bottom: 10px; }
.news-article-body p { font-size: 14px; color: var(--ink-60); line-height: 1.7; }
.news-article-body .news-meta { display: flex; gap: 16px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-60); }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .what-we-do-grid,
  .contact-cta-grid,
  .vm-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-full-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card.featured { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .mfg-grid { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-logos { flex-wrap: wrap; }
  .cert-logo-wrap { flex: none; width: calc(33.333% - 1px); border-right: 1px solid rgba(255,255,255,0.08) !important; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Leadership responsive */
  .leader-card--featured {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
  .leader-card--grid {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
  .what-we-do-stats { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .gallery-item { width: 260px; height: 180px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .products-full-grid { grid-template-columns: 1fr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vm-card { padding: 40px 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cert-logo-wrap { width: 50%; }
  .cap-card { grid-template-columns: 40px 1fr; }

  /* Leadership mobile */
  .leader-card--featured,
  .leader-card--grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .leader-card--featured .leader-card__img-wrap,
  .leader-card--grid .leader-card__img-wrap {
    aspect-ratio: 4/3;
    max-height: 300px;
  }
  .leader-card--featured {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .leadership-header { margin-bottom: 40px; }
}