/* =============================================================
   OSTEONEKS — Brand Palette v2 (Illuminating Yellow Scheme)
   Primary accent: #F5DF4D (Pantone Illuminating)
   ============================================================= */
:root {
  /* ── Brand colour tokens ── */
  --color-illuminating:    #F5DF4D;
  --color-jet-black:       #0A0A0A;
  --color-charcoal:        #151515;
  --color-steel-gray:      #6B727C;
  --color-titanium-silver: #B0B5BD;
  --color-surgical-white:  #F5F7FA;

  /* ── Semantic aliases ── */
  --bg-primary:    #0A0A0A;
  --bg-surface:    #151515;
  --bg-surface-2:  #1E1E1E;
  --accent:        #F5DF4D;
  --accent-hover:  #E2CC2A;
  --accent-glow:   rgba(245,223,77,.35);
  --border-accent: #F5DF4D;
  --text-primary:  #F5F7FA;
  --text-muted:    #D6DBE1;
  --border:        rgba(176,181,189,.12);

  /* ── Scheme 1 extended ── */
  --scheme1-deep-navy:  #0D1B2A;
  --scheme1-royal-blue: #0052FF;
  --scheme1-cyan:       #00D4E0;

  /* ── spacing ── */
  --pad-h:   24px;
  --pad-mob: 16px;
  --sec-v:   100px;
  --sec-mob: 56px;
  --gap:     32px;
  --gap-mob: 16px;

  /* ── radius ── */
  --r-card: 12px;
  --r-btn:  4px;
  --r-pill: 999px;

  /* ── letter-spacing ── */
  --ls-tight:   -0.02em;
  --ls-eyebrow: .14em;

  /* ── shadows ── */
  --shadow-line:    0 1px 0 rgba(255,255,255,.06);
  --shadow-elevate: 0 8px 20px rgba(0,0,0,.5);
  --shadow-glow:    0 0 0 1px var(--accent), 0 0 24px var(--accent-glow);
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Fluid cursor canvas — fixed behind all content */
#splash-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Sections that sit ABOVE the fluid canvas — video/images show clean */
.hero-video,
.banner-1st-section,
.banner-slide-section {
  position: relative;
  z-index: 100;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { margin: 0; padding: 0; list-style: none; }
p    { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* type scale */
h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: var(--ls-tight);
}
h2, .section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
}
h3 { font-size: 22px; font-weight: 700; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--accent);
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 48px;
}
.center { text-align: center; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #0A0A0A;
  padding: 10px 18px; font-weight: 700; z-index: 9999;
}
.skip-link:focus { left: 0; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 700;
  transition: background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0A0A0A;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
  outline: none;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 14px 0;
}
.btn-ghost .arrow,
.newsroom-link .arrow,
.subscribe-link .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn-ghost:hover .arrow,
.newsroom-link:hover .arrow,
.subscribe-link:hover .arrow { transform: translateX(5px); }

.center-cta { text-align: center; margin-top: 40px; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0; z-index: 1000;
  height: 80px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  transition: height .25s, box-shadow .25s, border-color .25s;
}
.site-header.shrink {
  height: 64px;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}

/* Full-height flex row — stretch lets children fill 80px */
.header-inner {
  height: 100%;
  display: flex;
  align-items: stretch;
  padding: 0 32px 0 48px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  padding-right: 24px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
  height: 28px;
  width: auto;
}
.site-header.shrink .logo-img { height: 23px; }

/* ── Primary nav ────────────────────────────────── */
.primary-nav {
  flex: none;
  display: flex;
  align-items: stretch;
}
.primary-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0; padding: 0; list-style: none;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* nav link — shared by <button> and <a> */
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: 4px;
  white-space: nowrap;
  transition: color .15s, background .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.nav-link i { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
.nav-link:hover,
.nav-item.open > .nav-link { color: var(--accent); background: rgba(245,223,77,.07); }
.nav-item.open > button.nav-link i { transform: rotate(180deg); }

/* ── Column dropdown ────────────────────────────── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-surface);
  border: 1px solid rgba(245,223,77,.2);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  padding: 6px 0;
  z-index: 2000;
  animation: hdrDrop .15s ease-out;
}
@keyframes hdrDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item.open > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color .12s, padding-left .12s, background .12s;
}
.nav-dropdown a:hover {
  color: var(--accent);
  background: rgba(245,223,77,.06);
  padding-left: 26px;
}

/* ── Search bar (center) ─────────────────────────── */
.hdr-search {
  flex: 1 1 0;
  min-width: 120px;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.hdr-search-form {
  position: relative;
  width: 100%;
}
.hdr-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.hdr-search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.hdr-search-input::placeholder { color: var(--text-muted); }
.hdr-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,223,77,.15);
}

/* ── Right action area ──────────────────────────── */
.header-actions {
  display: flex;
  align-items: stretch;
}

/* Four icon buttons */
.hdr-icons {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--border);
}
.hdr-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 11px;
  min-width: 60px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  transition: color .15s, background .15s;
  text-decoration: none;
  white-space: nowrap;
}
.hdr-icons > a.hdr-icon-btn:first-child,
.hdr-icons > .nav-item:first-child .hdr-icon-btn { border-left: none; }
.hdr-icon-btn i { width: 18px; height: 18px; }
.hdr-icon-btn:hover,
.hdr-icons .nav-item.open > .hdr-icon-btn { color: var(--accent); background: rgba(245,223,77,.07); }

/* Small dropdowns (lang / account) */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 190px;
  background: var(--bg-surface);
  border: 1px solid rgba(245,223,77,.2);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  padding: 8px;
  z-index: 2000;
  animation: hdrDrop .15s ease-out;
}
.nav-item.open > .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-size: 14px; color: var(--text-primary);
  transition: color .12s, background .12s;
}
.dropdown a:hover { background: var(--bg-surface-2); color: var(--accent); }
.dropdown a.muted { color: var(--text-muted); pointer-events: none; }
.dropdown .soon {
  font-size: 11px; background: var(--bg-surface-2);
  padding: 2px 6px; border-radius: var(--r-pill); color: var(--text-muted);
}

/* Mobile close button */
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.88);
  transition: background-color .2s, color .2s;
}
.icon-btn i { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--bg-surface-2); color: #fff; }

/* Hamburger — mobile only */
.hamburger {
  display: none;
  width: 48px;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.88);
  background: none; border: none; cursor: pointer;
  border-left: 1px solid var(--border);
}
.hamburger i { width: 22px; height: 22px; }
.hamburger:hover { background: var(--bg-surface-2); color: #fff; }

/* Mobile direct links */
.mob-direct-link {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-direct-link:hover { color: var(--accent); }

/* =============================================================
   MOBILE DRAWER
   ============================================================= */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1900;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* mobile accordion */
.mob-accordion { padding: 8px 0; }
.mob-trigger, .mob-subtrigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-size: 15px; font-weight: 600; text-align: left;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mob-subtrigger { padding-left: 36px; font-weight: 500; font-size: 14px; border-bottom: none; }
.mob-trigger i, .mob-subtrigger i {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform .25s ease;
}
.mob-trigger[aria-expanded="true"] i,
.mob-subtrigger[aria-expanded="true"] i { transform: rotate(180deg); }
.mob-panel, .mob-subpanel {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease-out;
  background: var(--bg-surface);
}
.mob-panel > a, .mob-subpanel > a {
  display: block; padding: 14px 36px;
  font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mob-subpanel > a { padding-left: 52px; }
.mob-panel > a:hover, .mob-subpanel > a:hover { color: var(--accent); }

/* simple direct links for new mobile nav */
.mob-direct-link {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-direct-link:hover { color: var(--accent); }

/* =============================================================
   HERO VIDEO
   ============================================================= */
.hero-video {
  position: relative;
  width: 100%;
  height: 92vh;
  background: #000;
  overflow: hidden;
}
.hv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  opacity: 1;
  transition: opacity 1.2s ease;
}
.hv-video.hv-hidden {
  opacity: 0;
}

/* =============================================================
   SHARED SECTION STRUCTURE
   ============================================================= */
.section {
  position: relative;
  padding: var(--sec-v) 0;
  overflow: hidden;
}

/* glow background — pure CSS radial per §5 */
.glow-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 25% 20%, rgba(245,223,77,.10), transparent 65%);
  z-index: 0;
}
.glow-right {
  background: radial-gradient(ellipse 60% 50% at 75% 80%, rgba(245,223,77,.08), transparent 65%);
}
.section > .container { position: relative; z-index: 1; }

/* =============================================================
   WHY OSTEONEKS
   ============================================================= */
.why-section { background: var(--bg-primary); }
.why-section .section-h2 { margin-bottom: 52px; }

.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--gap); margin-bottom: 8px;
}
.why-card {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.why-card h3 {
  font-size: 20px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px;
}
.why-card h3::after {
  content: '';
  display: block; width: 32px; height: 3px;
  background: var(--accent); margin-top: 12px;
}
.why-card p { color: var(--text-muted); font-size: 15px; }

/* =============================================================
   LOGO WALL
   ============================================================= */
.logo-wall-section { background: var(--bg-primary); }
.logo-wall-section .section-h2 { margin-bottom: 44px; }

/* ── LogoLoop infinite ticker ───────────────────────────────── */
.logoloop-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 8px 0 32px;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logoloop-track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
}
.logoloop-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  flex-shrink: 0;
}
.logoloop-item {
  flex: 0 0 auto;
  margin-right: 32px;
}
.ll-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.ll-badge i { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.logoloop-wrap:hover .ll-badge { color: rgba(255,255,255,.9); }

.logo-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 20px 40px;
}
.logo-badge {
  padding: 12px 24px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14px; font-weight: 600;
  /* mimic white logo treatment §5 */
  color: rgba(255,255,255,.88);
  transition: color .2s, border-color .2s;
}
.logo-badge:hover { color: #fff; border-color: rgba(255,255,255,.88); }

/* =============================================================
   PORTFOLIO CARDS
   ============================================================= */
.portfolio-section { background: var(--bg-primary); }
.portfolio-section .section-h2 { margin-bottom: 0; }

.card-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--gap);
}
.card {
  background: var(--bg-surface);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border);        /* overridden on hover */
  transition: transform .3s ease, box-shadow .3s ease, border-top-color .3s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevate);
  border-top-color: var(--accent);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface-2);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  /* §5 image treatment */
  filter: contrast(1.08) saturate(1.05);
  transition: transform .4s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }

.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card-body p  { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.card-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-links a { font-size: 14px; font-weight: 600; color: var(--accent); }
.card-links a:hover { color: var(--accent-hover); text-decoration: underline; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner-section {
  background: var(--bg-primary);
  padding: 0;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(245,223,77,.12), transparent 70%);
}
.cta-bg {
  position: absolute; inset: 0;
  background-size: contain; background-position: center;
  filter: contrast(1.08) saturate(1.05);
}
.cta-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.78);
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 140px var(--pad-h);
}
.cta-inner h2  { margin-bottom: 16px; }
.cta-inner p   { font-size: 17px; color: rgba(255,255,255,.88); margin-bottom: 36px; }

/* =============================================================
   NEWS
   ============================================================= */
.news-section { background: var(--bg-primary); }
.news-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 12px;
}
.newsroom-link { font-size: 15px; font-weight: 600; color: var(--accent); }
.newsroom-link:hover { color: var(--accent-hover); }

.news-row {
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-surface-2) transparent;
}
.news-row::-webkit-scrollbar { height: 4px; }
.news-row::-webkit-scrollbar-track { background: transparent; }
.news-row::-webkit-scrollbar-thumb { background: var(--bg-surface-2); border-radius: 2px; }

.news-card {
  flex: 0 0 280px; scroll-snap-align: start;
  transition: transform .3s ease;
}
.news-card:hover { transform: translateY(-4px); }

.news-img-wrap {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--r-card); margin-bottom: 16px;
  background: var(--bg-surface);
}
.news-img-wrap::after {
  /* §5 bottom-to-top gradient on news cards too */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 50%);
}
.news-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter: contrast(1.08) saturate(1.05);
  transition: transform .4s ease;
}
.news-card:hover .news-img-wrap img { transform: scale(1.05); }

.news-card h3 {
  font-size: 17px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 8px;
}
.news-date { font-size: 13px; color: var(--text-muted); }
.subscribe-link { font-size: 15px; font-weight: 600; color: var(--accent); }
.subscribe-link:hover { color: var(--accent-hover); }

/* =============================================================
   FOOTER
   ============================================================= */
/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: #0a0a0a; }

/* ① Brand bar — yellow, dot texture, logo black */
.ft-brand-bar {
  background-color: var(--accent);
  background-image: radial-gradient(circle, rgba(0,0,0,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 44px var(--pad-h) 44px;
  max-width: 100%;
}
.ft-brand-logo-wrap { display: inline-block; }
.ft-brand-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0);
}

/* ② Main body */
.ft-body { padding: 52px 0 0; }
.ft-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Left column */
.ft-col-brand .ft-brand-name {
  font-size: 18px; font-weight: 800;
  color: var(--accent); letter-spacing: -.01em;
  margin: 0 0 10px;
}
.ft-copy {
  font-size: 13px; color: rgba(255,255,255,.88);
  margin: 0 0 20px;
}
.ft-blurb {
  font-size: 13px; line-height: 1.75;
  color: rgba(255,255,255,.88);
  margin: 0 0 12px;
}
.ft-blurb:last-child { margin-bottom: 0; }

/* Link columns */
.ft-col {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 4px;
}
.ft-col a {
  font-size: 14px; color: rgba(255,255,255,.88);
  transition: color .2s; line-height: 1.3;
}
.ft-col a:hover { color: var(--accent); }

/* ③ Bottom strip */
.ft-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.ft-socials { display: flex; gap: 10px; }
.ft-soc {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
  transition: color .2s, border-color .2s, background .2s;
}
.ft-soc i { width: 16px; height: 16px; }
.ft-soc:hover { color: #0a0a0a; background: var(--accent); border-color: var(--accent); }

.ft-bottom-links {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ft-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,.88);
  transition: color .2s;
}
.ft-bottom-links a:hover { color: rgba(255,255,255,.88); }
.ft-region {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.88);
}
.ft-region i { width: 14px; height: 14px; }

/* =============================================================
   ANNOUNCEMENT BAR
   ============================================================= */
.ann-bar {
  background: var(--accent);
  color: #0A0A0A;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 1100;
}
.ann-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 var(--pad-h);
  max-width: 1440px;
  margin: 0 auto;
}
.ann-bar-text { flex: 1; text-align: center; transition: opacity .35s ease; }
.ann-bar-link {
  white-space: nowrap;
  text-decoration: underline;
  color: #0A0A0A;
  font-weight: 700;
}
.ann-bar-close {
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; font-size: 20px; line-height: 1;
  color: #0A0A0A; opacity: .55; padding: 4px 8px;
}
.ann-bar-close:hover { opacity: 1; }
.ann-bar[hidden] { display: none; }

/* =============================================================
   HERO OVERLAY
   ============================================================= */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0)    30%,
    rgba(0,0,0,.60)  70%,
    rgba(0,0,0,.88)  100%
  );
  pointer-events: none;
}
.hero-content-wrap {
  /* override .container's margin:0 auto centering */
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  padding: 0 48px 52px !important;
  pointer-events: auto;
}
.hero-content {
  max-width: 660px;
  text-align: left;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 20px;
  text-align: left;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.88);
  line-height: 1.7; margin-bottom: 36px; max-width: 580px;
}
/* hero text fade — triggered by JS when video changes */
.hero-text {
  transition: opacity .45s ease, transform .45s ease;
  text-align: left;
}
.hero-text.fading {
  opacity: 0;
  transform: translateY(10px);
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  pointer-events: auto; margin-top: 32px;
  justify-content: flex-start;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; min-height: 44px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: var(--r-btn);
  font-size: 15px; font-weight: 700; color: #fff;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(245,223,77,.08); }

.hero-stats-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}
.hero-stats-inner {
  display: flex;
  max-width: 1320px; margin: 0 auto;
  padding: 0 var(--pad-h);
}
.hero-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hs-num {
  font-size: 12px; font-weight: 800;
  color: var(--accent); letter-spacing: .12em;
  text-transform: uppercase; line-height: 1;
}
.hs-label {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.88); line-height: 1.3;
}

/* =============================================================
   AUDIENCE PATHWAYS
   ============================================================= */
.audience-section { background: var(--bg-surface); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.audience-card {
  display: flex; flex-direction: column;
  padding: 40px 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s, transform .25s;
}
.audience-card:hover { border-color: rgba(245,223,77,.5); transform: translateY(-4px); }
.audience-card--accent {
  border-color: rgba(245,223,77,.25);
  background: rgba(245,223,77,.03);
}
.audience-card--accent:hover { border-color: var(--accent); background: rgba(245,223,77,.07); }
.audience-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,223,77,.1); border-radius: 12px;
  margin-bottom: 22px; color: var(--accent);
}
.audience-icon i { width: 26px; height: 26px; }
.audience-card h3 {
  font-size: 20px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 12px;
}
.audience-card p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.65; flex: 1; margin-bottom: 24px;
}
.audience-link {
  font-size: 14px; font-weight: 700;
  color: var(--accent); letter-spacing: .02em;
}

/* =============================================================
   SECTION EYEBROW
   ============================================================= */
.section-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}

/* =============================================================
   NEWS GRID (4-col, with excerpts)
   ============================================================= */
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.nc {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .25s;
}
.nc:hover { border-color: rgba(245,223,77,.4); transform: translateY(-4px); }
.nc-img-wrap {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-surface-2);
}
.nc-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter: contrast(1.06) saturate(1.04);
  transition: transform .4s;
}
.nc:hover .nc-img-wrap img { transform: scale(1.05); }
.nc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.nc-meta {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.nc-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-primary); line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-excerpt {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6; flex: 1; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-read {
  font-size: 13px; font-weight: 700;
  color: var(--accent);
}

/* news grid empty state (no published items yet) */
.news-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 64px 24px;
  background: var(--bg-surface);
  border: 1px dashed var(--border);
  border-radius: 12px; text-align: center;
  color: var(--text-muted);
}
.news-empty i { width: 40px; height: 40px; opacity: .35; }
.news-empty p { font-size: 15px; }

/* thumbnail placeholder when no image uploaded */
.nc-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface-2);
  color: var(--text-muted);
}
.nc-img-placeholder i { width: 32px; height: 32px; opacity: .3; }

/* =============================================================
   PORTFOLIO — tagline upgrade
   ============================================================= */
.card-tagline {
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}

/* =============================================================
   WHO WE ARE
   ============================================================= */
/* ── Patients & Caregivers ──────────────────────────────────── */
.pac-section { background: var(--bg-surface); }
.pac-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.pac-heading {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
.pac-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 24px;
}
.pac-body:last-of-type { margin-bottom: 36px; }
.pac-explore { margin-top: 4px; }

.pac-side-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 28px;
}

/* =============================================================
   CAREERS / JOIN OUR TEAM
   ============================================================= */
.careers-section { background: var(--bg-primary); }
.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.careers-body {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 28px;
}
.careers-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.careers-benefit {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--text-primary); font-weight: 500;
}
.careers-benefit i { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.careers-visual {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/10; border: 1px solid var(--border);
  background: var(--bg-surface-2);
}
.careers-visual img { width: 100%; height: 100%; object-fit: contain; }

/* =============================================================
   FIRST BANNER — scroll reveal
   ============================================================= */
.banner-1st-section {
  overflow: hidden;
  line-height: 0;
  padding: 48px var(--pad-h) 0;
  background: var(--bg-primary);
}
.banner-1st-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 12px;
}
.banner-reveal {
  opacity: 0;
  transform: scale(1.04) translateY(28px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.banner-reveal.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* =============================================================
   BANNER SLIDESHOW (banners 2 & 3)
   ============================================================= */
.banner-slide-section {
  overflow: hidden;
  line-height: 0;
  padding: 0 var(--pad-h);
  background: var(--bg-primary);
}
/* CSS Grid stack — images share one cell, no cropping */
.banner-slide-wrap {
  display: grid;
  grid-template-areas: "slide";
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
.bslide-base { display: none; }   /* no longer needed */
.bslide {
  grid-area: slide;
  width: 100%; height: auto;
  display: block; opacity: 0;
  transition: opacity 1.2s ease;
}
.bslide-active { opacity: 1; }

/* =============================================================
   AUDIENCE CARDS — border-glow variant
   ============================================================= */
.audience-bgl {
  text-decoration: none;
  display: grid;   /* already set by .bgl-card */
}
.audience-bgl-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.audience-bgl h3 {
  font-size: 20px; font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.audience-bgl p {
  font-size: 15px; color: rgba(255,255,255,.88);
  line-height: 1.65; flex: 1; margin-bottom: 24px;
}
.audience-bgl .audience-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,223,77,.12); border-radius: 12px;
  margin-bottom: 22px; color: var(--accent);
}
.audience-bgl .audience-icon i { width: 26px; height: 26px; }
.audience-bgl .audience-link {
  font-size: 14px; font-weight: 700;
  color: var(--accent); letter-spacing: .02em;
}

/* =============================================================
   MEGA MENU (HCP / Corporate)
   ============================================================= */
.nav-mega {
  min-width: 560px;
}
.mega-inner {
  display: grid;
  grid-template-columns: 1fr 200px;
}
.mega-links { padding: 8px 0; }
.mega-item {
  display: block; padding: 10px 20px;
  transition: background .12s;
}
.mega-item:hover { background: rgba(245,223,77,.06); }
.mega-item-title {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 2px;
  transition: color .12s;
}
.mega-item:hover .mega-item-title { color: var(--accent); }
.mega-item-desc {
  display: block; font-size: 12px;
  color: var(--text-muted); line-height: 1.4;
}
.mega-promo {
  border-left: 1px solid var(--border);
  padding: 20px 16px;
  display: flex; flex-direction: column;
  background: var(--bg-surface-2);
  border-radius: 0 0 10px 10px;
}
.mega-promo-img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  border-radius: 6px; margin-bottom: 12px; opacity: .85;
}
.mega-promo-text {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.55; flex: 1; margin-bottom: 12px;
}
.mega-promo-link {
  font-size: 12px; font-weight: 700; color: var(--accent);
}

/* ── 3-Level flyout nav (Training & Education) ──────────────── */
.nav-dd-fly {
  padding: 6px 0;
  min-width: 230px;
  /* No overflow here — flyouts sit at left:100% and would be clipped. */
}
.dd-list {
  list-style: none;
  margin: 0; padding: 0;
}
.dd-item {
  position: relative;
}
.dd-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 16px 10px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color .12s, background .12s;
}
.dd-label i {
  width: 13px; height: 13px; flex-shrink: 0;
  opacity: .45; transition: opacity .12s;
}
.dd-item:hover > .dd-label {
  color: var(--accent);
  background: rgba(245,223,77,.06);
}
.dd-item:hover > .dd-label i { opacity: 1; }

/* Flyout panel */
.dd-fly {
  display: none;
  position: absolute;
  left: 100%;
  top: -6px;
  min-width: 240px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-surface);
  border: 1px solid rgba(245,223,77,.2);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,.65);
  padding: 8px 0;
  z-index: 2100;
  animation: hdrDrop .13s ease-out;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,223,77,.35) transparent;
}
.dd-fly::-webkit-scrollbar { width: 6px; }
.dd-fly::-webkit-scrollbar-thumb { background: rgba(245,223,77,.35); border-radius: 3px; }
.dd-fly::-webkit-scrollbar-track { background: transparent; }
.dd-item:hover > .dd-fly { display: block; }
.dd-fly--wide { min-width: 460px; max-width: 90vw; }
.dd-item:hover > .dd-fly.dd-fly--wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 4px;
  align-content: start;
}

.dd-fly a {
  display: block;
  padding: 8px 18px;
  font-size: 13px; font-weight: 400;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color .12s, background .12s;
}
.dd-fly a:hover {
  color: var(--accent);
  background: rgba(245,223,77,.06);
  padding-left: 22px;
}

/* Section headers inside flyout */
.dd-section { padding-bottom: 4px; }
.dd-fly:not(.dd-fly--wide) .dd-section + .dd-section { border-top: 1px solid rgba(255,255,255,.06); padding-top: 4px; }
.dd-fly--wide .dd-section { border-left: 1px solid rgba(255,255,255,.06); padding-left: 12px; }
.dd-fly--wide .dd-section:first-child { border-left: none; padding-left: 0; }
.dd-section-head {
  display: block;
  padding: 8px 18px 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); opacity: .75;
}

/* Mobile sub-section headers */
.mob-sub-head {
  display: block;
  padding: 10px 20px 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); opacity: .75;
}

/* =============================================================
   RESPONSIVE — TABLET  640–1023px
   ============================================================= */
@media (min-width:640px) and (max-width:1023px) {
  .banner-1st-section,
  .banner-slide-section { padding: 0 12px; }
  .why-grid       { grid-template-columns: repeat(2,1fr); }
  .card-grid      { grid-template-columns: repeat(2,1fr); }
  .ft-grid        { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-col-brand   { grid-column: 1 / -1; }
  .hero-video     { height: 70vh; }
  .audience-grid  { grid-template-columns: 1fr; }
  .news-grid-4    { grid-template-columns: repeat(2,1fr); }
  .pac-inner      { grid-template-columns: 1fr; gap: 40px; }

  .careers-inner  { grid-template-columns: 1fr; gap: 40px; }
  .careers-visual { display: none; }
}

/* =============================================================
   RESPONSIVE — hide desktop nav / search on < 1024px
   ============================================================= */
@media (max-width:1023px) {
  .primary-nav { display: none; }
  .hdr-search  { display: none; }
  .hdr-icons   { display: none; }   /* all icon btns accessible via drawer */
  .hamburger   { display: flex; }
}

/* =============================================================
   RESPONSIVE — MOBILE  < 640px
   ============================================================= */
@media (max-width:639px) {
  /* tokens */
  :root {
    --sec-v:   var(--sec-mob);
    --gap:     var(--gap-mob);
    --pad-h:   var(--pad-mob);    /* container uses --pad-h */
  }

  /* header */
  .site-header  { height: 60px; }
  .logo-img     { height: 22px; }
  .header-inner { padding: 0 16px 0 20px; }

  /* hero video */
  .hero-video  { height: 55vh; }

  /* typography scale-down */
  h1           { font-size: clamp(26px, 7.5vw, 34px); }
  h2, .section-h2 { font-size: clamp(22px, 6vw, 28px); }
  h3           { font-size: 18px; }
  .section-sub { font-size: 16px; margin-bottom: 32px; }
  .inner-hero-sub { font-size: 16px; }

  /* buttons */
  .btn         { padding: 12px 22px; font-size: 14px; }

  /* page sections */
  .inner-hero  { padding: 64px 0 40px; }
  .cta-inner   { padding: 64px var(--pad-mob); }
  .page-body, .page-body-tight { padding: 48px 0 64px; }
  .center-cta  { margin-top: 28px; }

  /* grids */
  .why-grid          { grid-template-columns: 1fr; }
  .card-grid         { grid-template-columns: 1fr; }
  .content-grid,
  .content-grid.three { grid-template-columns: 1fr; gap: 28px; }
  .ft-grid           { grid-template-columns: 1fr; gap: 32px; }
  .ft-col-brand      { grid-column: auto; }
  .ft-bottom-strip   { flex-direction: column; align-items: flex-start; gap: 20px; }
  .product-links-grid { grid-template-columns: 1fr; }
  .cat-grid          { grid-template-columns: 1fr; }
  .news-grid         { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .stat-row          { grid-template-columns: repeat(2,1fr); }
  .form-row          { grid-template-columns: 1fr; }

  /* news horizontal scroller (old) */
  .news-card         { flex: 0 0 80vw; }

  /* new news grid */
  .news-grid-4       { grid-template-columns: 1fr; }

  /* audience pathways */
  .audience-grid     { grid-template-columns: 1fr; }

  /* pac / careers */
  .pac-inner         { grid-template-columns: 1fr; gap: 32px; }
  .careers-inner     { grid-template-columns: 1fr; gap: 32px; }
  .careers-visual    { display: none; }

  /* hero overlay */
  .hero-content-wrap { padding: 0 20px 40px !important; }
  .hero-content      { max-width: 100%; }
  .hero-headline     { font-size: clamp(28px, 8vw, 40px); }
  .hero-sub          { font-size: 15px; }
  .hero-actions .btn { font-size: 14px; padding: 11px 20px; }
  .hero-stats-inner  { flex-wrap: wrap; }
  .hero-stat         { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-stat:nth-child(2n) { border-right: none; }

  /* banners */
  .banner-1st-section,
  .banner-slide-section { padding: 0 8px; }

  /* ann-bar */
  .ann-bar-text      { font-size: 12px; }

  /* logo wall */
  .logo-row          { gap: 10px; }
  .logo-badge        { font-size: 12px; padding: 6px 12px; }

  /* modal */
  .modal-box         { padding: 24px 20px; }
  .modal-title       { font-size: 20px; }
  .mf-row            { grid-template-columns: 1fr; }

  /* misc */
  .job-card          { flex-direction: column; align-items: flex-start; }
  .form-wrap         { padding: 28px 20px; }
  .inner-hero-actions { gap: 12px; }
  .inner-hero-actions .btn { padding: 11px 20px; font-size: 14px; }
  .breadcrumb        { font-size: 12px; }
  .why-card          { padding: 24px; }
}

/* =============================================================
   INNER PAGES — shared layout components
   ============================================================= */

/* ── Page hero banner (replaces carousel on inner pages) ─── */
.inner-hero {
  position: relative;
  padding: 100px 0 72px;
  background: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.inner-hero .glow-bg {
  background: radial-gradient(ellipse 55% 60% at 15% 50%, rgba(245,223,77,.10), transparent 65%);
}
.inner-hero-eyebrow {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-eyebrow);
  color: var(--accent); margin-bottom: 14px;
}
.inner-hero h1 {
  margin-bottom: 18px;
  max-width: 820px;
}
.inner-hero-sub {
  font-size: 19px; color: var(--text-muted);
  max-width: 680px; margin-bottom: 32px;
}
.inner-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.88); font-size: 11px; }

/* ── Page body wrapper ──────────────────────────────────────── */
.page-body { padding: 72px 0 100px; }
.page-body-tight { padding: 56px 0 80px; }

/* ── Two-column content layout ─────────────────────────────── */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.content-grid.three { grid-template-columns: repeat(3,1fr); gap: 40px; }
.content-grid img {
  width: 100%; border-radius: var(--r-card);
  filter: contrast(1.08) saturate(1.05);
  border: 1px solid var(--border);
}
.content-text h2 { margin-bottom: 18px; }
.content-text p  { color: var(--text-muted); margin-bottom: 16px; }
.content-text ul {
  padding-left: 20px; color: var(--text-muted);
}
.content-text ul li { margin-bottom: 10px; }

/* ── Section label ─────────────────────────────────────────── */
.section-label {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-eyebrow);
  color: var(--accent); margin-bottom: 12px;
}

/* ── Feature list ──────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.feature-item {
  padding: 24px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.feature-item h3 { font-size: 17px; margin-bottom: 8px; }
.feature-item p  { color: var(--text-muted); font-size: 15px; }

/* ── Specs table ───────────────────────────────────────────── */
.specs-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; margin-top: 24px;
}
.specs-table th {
  text-align: left; padding: 12px 16px;
  background: var(--bg-surface-2);
  color: var(--text-muted); font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
}
.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.specs-table tr:hover td { background: var(--bg-surface); }

/* ── Product sub-links grid ────────────────────────────────── */
.product-links-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--gap); margin-top: 48px;
}
.product-link-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--r-card);
  padding: 28px;
  transition: border-top-color .25s, transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.product-link-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevate);
}
.product-link-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-link-card p  { color: var(--text-muted); font-size: 14px; flex:1; margin-bottom: 20px; }
.product-link-card a.more {
  font-size: 14px; font-weight: 700; color: var(--accent);
}
.product-link-card a.more:hover { color: var(--accent-hover); }

/* ── Category image-card grid (products hub) ───────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap);
}
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 4/3;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); }
.cat-card img {
  width: 100%; height: 100%; object-fit: contain;
  filter: contrast(1.08) saturate(1.05);
  transition: transform .4s;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.92), transparent);
}
.cat-card-body h3 { font-size: 20px; margin-bottom: 6px; }
.cat-card-body p  { font-size: 14px; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.cat-card-body a  { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ── News/blog grid ────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap);
}
.news-grid-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-top-color .3s;
  border-top: 1px solid var(--border);
}
.news-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevate);
  border-top-color: var(--accent);
}
.news-grid-card .news-img-wrap { border-radius: 0; margin-bottom: 0; }
.news-grid-card-body { padding: 22px; }
.news-grid-card-body .tag {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 10px;
}
.news-grid-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.news-grid-card-body .news-date { font-size: 13px; color: var(--text-muted); }

/* ── Download / resource cards ─────────────────────────────── */
.download-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
  margin-top: 32px;
}
.download-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: border-color .2s, background-color .2s;
}
.download-card:hover { border-color: rgba(255,255,255,.88); background: var(--bg-surface-2); }
.download-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(245,223,77,.10);
  border: 1px solid rgba(245,223,77,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.download-icon i { color: var(--accent); width: 20px; height: 20px; }
.download-card-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.download-card-text p  { font-size: 13px; color: var(--text-muted); }

/* ── Form ──────────────────────────────────────────────────── */
.form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 48px;
  max-width: 720px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  color: var(--text-primary);
  font-family: inherit; font-size: 15px;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg-surface); }

/* ── Team grid ─────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  text-align: center;
}
.team-card-img {
  aspect-ratio: 1/1; background: var(--bg-surface-2);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.team-card-img i { width: 48px; height: 48px; color: var(--text-muted); }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.team-card-body p  { font-size: 14px; color: var(--text-muted); }
.team-card-body .role { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }

/* ── Stat row ───────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); margin: 64px 0; }
.stat-item { text-align: center; }
.stat-item .num {
  font-size: clamp(32px,4vw,52px); font-weight: 900;
  letter-spacing: var(--ls-tight); color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stat-item p { font-size: 14px; color: var(--text-muted); }

/* ── Job listing ───────────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: border-color .2s, background-color .2s;
  gap: 24px;
}
.job-card:hover { border-color: rgba(255,255,255,.88); background: var(--bg-surface-2); }
.job-info h3 { font-size: 18px; margin-bottom: 6px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.job-tag {
  font-size: 12px; padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(176,181,189,.12);
  color: var(--text-muted);
}

/* ── Contact info blocks ────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap);
  margin-bottom: 64px;
}
.contact-block {
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.contact-block .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(245,223,77,.10);
  border: 1px solid rgba(245,223,77,.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact-block .icon-wrap i { color: var(--accent); width: 20px; height: 20px; }
.contact-block h3 { font-size: 17px; margin-bottom: 8px; }
.contact-block p  { font-size: 14px; color: var(--text-muted); }
.contact-block a  { color: var(--accent); font-weight: 600; }

/* ── Legal content ─────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  color: var(--text-muted);
  font-size: 15px; line-height: 1.75;
}
.legal-content h2 { color: var(--text-primary); font-size: 26px; margin: 48px 0 16px; }
.legal-content h3 { color: var(--text-primary); font-size: 19px; margin: 32px 0 12px; }
.legal-content p  { margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a  { color: var(--accent); }

/* ── In-page section divider ────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 72px 0; }

/* ── Comparison table ──────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th {
  background: var(--bg-surface-2); color: var(--text-muted);
  padding: 14px 18px; text-align: left;
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.compare-table .highlight { color: var(--accent); font-weight: 700; }
.compare-table tr:hover td { background: var(--bg-surface); }

/* ── CTA inner strip ────────────────────────────────────────── */
.inner-cta-strip {
  position: relative; overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0; text-align: center;
  margin-top: 80px;
}
.inner-cta-strip .glow-bg {
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(245,223,77,.10), transparent 65%);
}
.inner-cta-strip h2 { margin-bottom: 14px; }
.inner-cta-strip p  { color: var(--text-muted); margin-bottom: 32px; font-size: 17px; }
.inner-cta-strip .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   INNER PAGE RESPONSIVE
   ============================================================= */
@media (max-width:1023px) {
  .content-grid, .content-grid.three { grid-template-columns: 1fr; gap: 40px; }
  .product-links-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid  { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .stat-row  { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width:639px) {
  .inner-hero         { padding: 64px 0 40px; }
  .product-links-grid { grid-template-columns: 1fr; }
  .cat-grid           { grid-template-columns: 1fr; }
  .news-grid          { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr; }
  .stat-row           { grid-template-columns: repeat(2,1fr); }
  .contact-grid       { grid-template-columns: 1fr; }
  .download-grid      { grid-template-columns: 1fr; }
  .form-wrap          { padding: 28px 20px; }
  .form-row           { grid-template-columns: 1fr; }
  .job-card           { flex-direction: column; align-items: flex-start; }
  .modal-box          { padding: 24px 20px; }
  .modal-title        { font-size: 20px; }
}

/* ── Distributor dropdown extras ──────────────────────────── */
.ndd-label {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ndd-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}
.ndd-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background .12s;
}
.ndd-action i { width: 16px; height: 16px; flex-shrink: 0; }
.ndd-action:hover { background: rgba(245,223,77,.08); }

/* ── Become-a-Distributor / generic modal ─────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative;
  width: 100%; max-width: 640px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .2s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface-2); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-primary); }
.modal-close i { width: 18px; height: 18px; }
.modal-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.modal-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.modal-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }

/* modal form */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; }
.mf-field label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.mf-field input,
.mf-field textarea {
  padding: 11px 14px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit; font-size: 14px;
  transition: border-color .2s;
  resize: vertical;
  outline: none;
}
.mf-field input::placeholder,
.mf-field textarea::placeholder { color: var(--text-muted); }
.mf-field input:focus,
.mf-field textarea:focus { border-color: var(--accent); }
.mf-notice { font-size: 14px; margin-top: 8px; text-align: center; }
.mf-notice.success { color: #4ade80; }
.mf-notice.error   { color: #f87171; }
@media (max-width:639px) { .mf-row { grid-template-columns: 1fr; } }
