/* ============================================================
   BSKL GLASS INDUSTRIAL DESIGN SYSTEM — v3.0 MULTI-PAGE
   ============================================================ */

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

:root {
  /* ===== BSKL DESIGN TOKENS (canonical) ===== */
  --bskl-navy: #061A2B;
  --bskl-midnight: #08131D;
  --bskl-blue: #0C3448;
  --bskl-teal: #0E8F8B;
  --bskl-teal-bright: #19B6AE;

  --bskl-white: #FFFFFF;
  --bskl-soft: #F5F7F8;
  --bskl-ice: #EAF0F2;

  --bskl-text: #172630;
  --bskl-muted: #667985;
  --bskl-border: #DCE6EA;

  --bskl-font-head: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --bskl-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --bskl-font-ui: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --bskl-container: 1320px;
  --bskl-container-wide: 1440px;
  --bskl-container-narrow: 960px;

  --bskl-radius-sm: 12px;
  --bskl-radius-md: 20px;
  --bskl-radius-lg: 28px;
  --bskl-radius-xl: 36px;

  --bskl-shadow-sm: 0 4px 12px rgba(0, 20, 35, 0.06);
  --bskl-shadow-md: 0 12px 32px rgba(0, 20, 35, 0.10);
  --bskl-shadow-lg: 0 24px 60px rgba(0, 20, 35, 0.18);
  --bskl-shadow-glow: 0 20px 60px rgba(14, 143, 139, 0.25);

  --bskl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bskl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --bskl-z-header: 1000;
  --bskl-z-menu: 1200;
  --bskl-z-mobile: 2000;
  --bskl-z-toast: 3000;

  /* ===== LEGACY ALIASES (backward compatible) ===== */
  --navy: var(--bskl-navy);
  --navy-2: #0B2A3D;
  --petrol: #0B4054;
  --teal: var(--bskl-teal);
  --teal-bright: var(--bskl-teal-bright);
  --teal-dark: #087875;
  --teal-glow: rgba(14, 143, 139, 0.35);
  --white: var(--bskl-white);
  --surface: var(--bskl-soft);
  --surface-2: var(--bskl-ice);
  --surface-3: #DCE6EA;
  --text: var(--bskl-text);
  --muted: var(--bskl-muted);
  --muted-2: #8FA3AE;
  --border: var(--bskl-border);
  --border-light: #EDF2F4;

  --glass-dark: rgba(255, 255, 255, 0.08);
  --glass-dark-border: rgba(255, 255, 255, 0.14);
  --glass-light: rgba(255, 255, 255, 0.72);
  --glass-light-border: rgba(255, 255, 255, 0.6);

  --r-sm: var(--bskl-radius-sm);
  --r-md: var(--bskl-radius-md);
  --r-lg: var(--bskl-radius-lg);
  --r-xl: var(--bskl-radius-xl);

  --shadow-sm: var(--bskl-shadow-sm);
  --shadow-md: var(--bskl-shadow-md);
  --shadow-lg: var(--bskl-shadow-lg);
  --shadow-glow: var(--bskl-shadow-glow);

  --font-head: var(--bskl-font-head);
  --font-body: var(--bskl-font-body);
  --font-ui: var(--bskl-font-ui);

  --ease: var(--bskl-ease);
  --ease-out: var(--bskl-ease-out);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

[id] { scroll-margin-top: 110px; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.8rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 1.4vw, 1.35rem); font-weight: 600; }

a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 88px) 0; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  font-family: var(--font-ui);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--teal);
  display: inline-block;
}
.eyebrow-light { color: rgba(255,255,255,0.75); }
.eyebrow-light::before { background: rgba(255,255,255,0.4); }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}

.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  min-height: 50px;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(24, 166, 160, 0.25);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(24, 166, 160, 0.4);
}
.btn-primary .arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,255,255,0.15);
}

.btn-glass {
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm { padding: 12px 22px; font-size: 0.85rem; min-height: 44px; }
.btn-lg { padding: 20px 42px; font-size: 1.02rem; min-height: 58px; }

/* ===== GLASS CARDS ===== */
.glass {
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease);
}
.glass:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.glass-light {
  background: var(--glass-light);
  border: 1px solid var(--glass-light-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease);
}
.glass-light:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===== SOLID CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border); }
.card:hover::before { transform: scaleX(1); }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.card-icon {
  width: 58px; height: 58px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(24,166,160,0.1), rgba(24,166,160,0.04));
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  border: 1px solid rgba(24,166,160,0.15);
}

/* ===== HEADER ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(7, 26, 43, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0, 20, 35, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 6px 20px rgba(3, 15, 35, 0.28);
}

@media (max-width: 480px) {
  .logo-img { height: 46px; }
}

.nav-menu {
  display: flex; align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-menu-list {
  display: flex; align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu-list > li { margin: 0; }
.nav-menu-list a { text-decoration: none; }
.nav-menu > a, .nav-menu .has-dropdown > a, .nav-menu-list > li.menu-item-main > a {
  color: rgba(255, 255, 255, 0.85);
  position: relative; padding: 8px 0;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.25s var(--ease);
}
.nav-menu > a::after, .nav-menu .has-dropdown > a::after, .nav-menu-list > li.menu-item-main > a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s var(--ease);
}
.nav-menu > a:hover::after, .nav-menu .has-dropdown > a:hover::after, .nav-menu-list > li.menu-item-main > a:hover::after { width: 100%; }
.nav-menu > a:hover, .nav-menu .has-dropdown > a:hover, .nav-menu-list > li.menu-item-main > a:hover { color: var(--white); }
.nav-menu > a.active, .nav-menu-list > li.menu-item-main.current > a { color: var(--white); }
.nav-menu > a.active::after, .nav-menu-list > li.menu-item-main.current > a::after { width: 100%; }

.has-dropdown { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px;
  max-width: min(480px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  background: rgba(7, 26, 43, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 14px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  transition: all 0.2s var(--ease);
}
.mega-menu a:hover {
  background: rgba(24, 166, 160, 0.15);
  color: var(--white);
  padding-left: 22px;
}
.mega-menu a i { color: var(--teal); width: 18px; font-size: 0.85rem; text-align: center; }
.mega-menu .menu-label {
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  padding: 8px 16px 4px;
  list-style: none;
}
.sub-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.sub-menu .sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  transition: all 0.2s var(--ease);
}
.sub-menu .sub-link:hover {
  background: rgba(24, 166, 160, 0.12);
  color: var(--white);
  padding-left: 20px;
}
.sub-menu i { color: var(--teal); width: 16px; font-size: 0.8rem; text-align: center; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn-sm { min-height: 44px; }

.hamburger {
  display: none;
  color: var(--white);
  font-size: 1.4rem;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }

/* ===== MOBILE NAV ===== */
.mobile-overlay {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 2000;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-overlay.open { transform: translateX(0); }
.mobile-overlay::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(24,166,160,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.mobile-overlay-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px; position: relative; z-index: 1;
}
.mobile-overlay-close {
  color: var(--white); font-size: 1.8rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; flex: 1; position: relative; z-index: 1; }
.mobile-nav-links a {
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 500;
  font-family: var(--font-head);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s var(--ease);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-links a:hover { color: var(--teal); padding-left: 8px; }
.mobile-nav-links a i { font-size: 0.85rem; color: var(--teal); }
.mobile-nav-links .m-label {
  font-family: var(--font-ui); font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  padding: 14px 0 2px;
  border: none;
}
.mobile-nav-links .m-label:hover { color: rgba(255,255,255,0.4); padding-left: 0; }
.mobile-nav-sub { padding-left: 16px; }
.mobile-nav-sub a { font-size: 0.98rem; padding: 12px 0; border-bottom: none; color: rgba(255,255,255,0.6); }
.mobile-nav-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* Dropdown caret & mobile accordion toggles */
.nav-link .caret { margin-left: 7px; font-size: 0.6rem; opacity: 0.75; transition: transform 0.2s var(--ease); }
.has-dropdown:hover .nav-link .caret,
.has-dropdown:focus-within .nav-link .caret { transform: rotate(180deg); }
.mobile-nav-item { position: relative; }
.mobile-nav-sub-wrap { overflow: hidden; }
.m-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-sub-toggle { background: none; border: 0; color: var(--teal); cursor: pointer; padding: 8px 6px; font-size: 0.8rem; line-height: 1; }
.mobile-sub-toggle i { transition: transform 0.22s var(--ease); }
.mobile-sub-toggle.open i { transform: rotate(180deg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(24, 166, 160, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(11, 64, 84, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, #071A2B 0%, #0B2A3D 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 100px; width: 100%; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero-text .eyebrow { color: var(--teal); }
.hero-text h1 {
  color: var(--white);
  margin-bottom: 28px;
  max-width: 14ch;
  letter-spacing: -0.035em;
}
.hero-text h1 .accent {
  background: linear-gradient(135deg, var(--teal) 0%, #4FE0D8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.stat-card {
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-md);
  padding: clamp(18px, 2vw, 24px) clamp(12px, 1.5vw, 18px);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.stat-card:hover {
  border-color: rgba(24, 166, 160, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(24, 166, 160, 0.15);
}
.stat-card .number {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  color: var(--white); line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-card .label {
  font-family: var(--font-ui); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500; line-height: 1.3;
}

.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--navy-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out);
}
.hero-visual:hover img { transform: scale(1.08); }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(7,26,43,0.05) 0%, rgba(7,26,43,0.45) 100%);
}
.hero-visual .hero-visual-tag {
  position: absolute; z-index: 2; bottom: 0; left: 0; right: 0;
  padding: 26px 26px 22px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7,26,43,0.9));
}
.hero-visual .hero-visual-tag strong { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.hero-visual .hero-visual-tag span { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  padding: clamp(150px, 20vw, 210px) 0 clamp(64px, 7vw, 96px);
  background: var(--navy);
  overflow: hidden;
}
.page-hero .ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.4;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(24,166,160,0.2) 0%, transparent 45%),
    linear-gradient(135deg, rgba(7,26,43,0.92) 0%, rgba(7,26,43,0.62) 45%, rgba(11,64,84,0.75) 100%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 16ch; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 58ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 26px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb i { font-size: 0.6rem; color: var(--teal); opacity: 0.7; }
.breadcrumb .sep { color: var(--teal); opacity: 0.6; }
.breadcrumb .current { color: var(--teal); }

.page-hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 48px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.page-hero-stats .phs-item strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--white); letter-spacing: -0.03em;
}
.page-hero-stats .phs-item span {
  font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.55);
}

/* ===== SECTION HEADER ===== */
.section-header { max-width: 760px; margin-bottom: clamp(48px, 5vw, 72px); }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .eyebrow { justify-content: center; }
.section-header h2 { margin-bottom: 20px; }
.section-header .lead { max-width: 62ch; }
.section-header.center .lead { margin-left: auto; margin-right: auto; }

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; padding: 32px 0;
}
.process-step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.process-step:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.process-step .num {
  color: var(--teal); font-weight: 700; font-size: 0.72rem;
  background: rgba(24,166,160,0.1);
  padding: 2px 8px; border-radius: 20px;
}
.process-step a { color: inherit; display: contents; }
.process-step a:hover { color: var(--teal); }
.process-arrow { color: var(--teal); opacity: 0.45; font-size: 0.75rem; }

/* ===== IMAGE / MEDIA COMPONENTS ===== */
.media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.media:hover img { transform: scale(1.05); }
.media-ratio-16x9 { aspect-ratio: 16 / 9; }
.media-ratio-4x3 { aspect-ratio: 4 / 3; }
.media-ratio-3x2 { aspect-ratio: 3 / 2; }
.media-ratio-1x1 { aspect-ratio: 1 / 1; }
.media-ratio-4x5 { aspect-ratio: 4 / 5; }

.photo-wrap { position: relative; }
.photo-wrap .credit {
  position: absolute; z-index: 3; bottom: 12px; right: 14px;
  font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  background: rgba(7,26,43,0.55);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.14);
}
.photo-wrap .credit a { color: rgba(255,255,255,0.85); }
.photo-wrap .credit a:hover { color: var(--teal); }

.gallery-card {
  padding: 0; overflow: hidden; aspect-ratio: 4/3;
  position: relative; display: block;
  border: none;
}
.gallery-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery-card:hover img { transform: scale(1.07); }
.gallery-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(transparent 35%, rgba(7,26,43,0.9) 100%);
}
.gallery-card .g-label {
  position: absolute; z-index: 2; bottom: 0; left: 0; right: 0;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--white); font-weight: 600; font-family: var(--font-head);
  font-size: 1.02rem;
}
.gallery-card .g-label i { color: var(--teal); font-size: 0.85rem; opacity: 0; transform: translateX(-8px); transition: all 0.35s var(--ease); }
.gallery-card:hover .g-label i { opacity: 1; transform: translateX(0); }

.article-thumb { height: 210px; position: relative; }
.article-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-thumb .process-step { position: absolute; top: 16px; left: 16px; padding: 6px 14px; font-size: 0.72rem; background: var(--teal); color: white; border-color: var(--teal); z-index: 2; }

/* ===== STATS BAND ===== */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(circle at 15% 30%, rgba(24,166,160,0.16) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(255,255,255,0.08);
}
.stats-band .stat-card { border-radius: var(--r-md); }
.stats-band .number {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--white); line-height: 1; margin-bottom: 8px; letter-spacing: -0.03em;
}
.stats-band .label {
  font-family: var(--font-ui); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6); font-weight: 500; line-height: 1.4;
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 460px; }
th {
  background: var(--surface);
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy);
  padding: 16px 22px; text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
td { padding: 16px 22px; border-bottom: 1px solid var(--border-light); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(24, 166, 160, 0.03); }
td .ttl { font-weight: 600; color: var(--navy); font-family: var(--font-ui); }
td .sub { font-size: 0.82rem; color: var(--muted); }

/* ===== CERT GRID ===== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cert-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-ui); font-size: 0.84rem; font-weight: 500;
  color: var(--navy);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.cert-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cert-card i { display: block; font-size: 1.4rem; color: var(--teal); margin-bottom: 10px; }

/* ===== CTA ===== */
.cta-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(24,166,160,0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  border-radius: var(--r-lg);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 20px; position: relative; }
.cta-section p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  max-width: 56ch; margin: 0 auto 36px;
  position: relative;
}
.cta-section .btn { position: relative; }

/* ===== SPLIT FEATURE ROW ===== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media .media { border-radius: var(--r-lg); }
.split .eyebrow { margin-bottom: 16px; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.split ul.list-check { margin-top: 10px; }
ul.list-check li {
  display: flex; gap: 12px; margin-bottom: 13px; align-items: flex-start;
  color: var(--text); font-size: 0.97rem;
}
ul.list-check li i { color: var(--teal); margin-top: 5px; flex-shrink: 0; }

/* ===== TIMELINE (about) ===== */
.milestone-card { text-align: left; }
.milestone-card .yr {
  font-family: var(--font-head); font-weight: 700;
  font-size: 2.6rem; color: var(--teal); line-height: 1; margin-bottom: 8px;
}
.milestone-card h4 { margin-bottom: 10px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,166,160,0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 56px;
}
.footer-brand .logo-area { margin-bottom: 22px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 42ch; color: rgba(255,255,255,0.6); }
.footer h5 {
  font-family: var(--font-ui); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--white); margin-bottom: 22px;
}
.footer-heading {
  font-family: var(--font-ui); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--white); margin: 0 0 22px;
}
.footer ul, .footer li { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 11px; }
.footer-links a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.45);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.45); }
.footer-legal a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--teal); color: var(--white); border-color: var(--teal);
  transform: translateY(-2px);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-ui);
  font-size: 0.83rem; font-weight: 500;
  color: var(--navy); margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: all 0.2s var(--ease);
  min-height: 52px;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 166, 160, 0.1);
}
.form-control::placeholder { color: var(--muted-2); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23647783' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-glass { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; max-width: 640px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 1; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-content { padding: 120px 0 60px; }
  .hero-text h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .process-step { font-size: 0.74rem; padding: 10px 16px; }
  .process-step .num { font-size: 0.65rem; padding: 1px 6px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal, .footer-social { justify-content: center; }
  .page-hero { padding-top: 150px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-actions .btn-primary { padding: 10px 18px; font-size: 0.8rem; }
  .stats-band { grid-template-columns: 1fr; }
}
/* BSKL � compliant card glow (parity with static compliance/yarn pages) */
.glow-card { box-shadow: 0 18px 45px rgba(24, 166, 160, 0.12); border: 1px solid rgba(24, 166, 160, 0.15); }
