:root {
  --bg: #04080f;
  --bg-2: #081320;
  --bg-3: #0d1c30;
  --bg-elev: #0f2238;
  --gold: #c9a961;
  --gold-bright: #e6cf94;
  --gold-dim: #8a7240;
  --text: #eef2f8;
  --text-dim: #98a3b3;
  --text-soft: #c4ccd9;
  --line: rgba(201, 169, 97, 0.16);
  --line-strong: rgba(201, 169, 97, 0.4);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(4, 8, 15, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(4, 8, 15, 0.92);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand img { height: 90px; width: auto; }

.brand-text {
  display: none;
}

.brand-text-disabled {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text);
}

.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-soft);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 32px rgba(201, 169, 97, 0.25);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 32px rgba(230, 207, 148, 0.35);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
  box-shadow: none;
}

/* ====================================================
   HERO with VIDEO background
   ==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(4,8,15,0.95) 0%, rgba(4,8,15,0.78) 38%, rgba(4,8,15,0.45) 70%, rgba(4,8,15,0.25) 100%),
    radial-gradient(ellipse 60% 80% at 75% 50%, transparent, rgba(4,8,15,0.6));
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,8,15,0.6) 0%, transparent 18%, transparent 82%, rgba(4,8,15,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 170px;
  padding-bottom: 100px;
}

.hero-inner {
  max-width: 880px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 52px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.7;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ====================================================
   SECTIONS
   ==================================================== */
section {
  position: relative;
  padding: 140px 0;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.section-tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  max-width: 820px;
}

.section-title .accent { color: var(--gold); font-style: italic; }

.section-lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 64px;
  line-height: 1.7;
  font-weight: 300;
}

.section-head {
  margin-bottom: 72px;
  max-width: 880px;
}

/* ====================================================
   INTRO / R&D BLOCK (full-width text, no empty box)
   ==================================================== */
.intro {
  background:
    radial-gradient(circle at 15% 50%, rgba(201, 169, 97, 0.06), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(80, 130, 200, 0.05), transparent 40%);
  padding: 160px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.intro-text h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}

.intro-text h2 .accent { color: var(--gold); font-style: italic; }

.intro-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 22px;
  font-weight: 300;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.intro-stat {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.intro-stat:nth-child(odd) { padding-right: 32px; }
.intro-stat:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }

.intro-stat .num {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 400;
}

.intro-stat .label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.intro-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}

.intro-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
}

.intro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,8,15,0.7) 100%);
  pointer-events: none;
}

/* ====================================================
   INNOVATION IN MOTION (3 video tiles)
   ==================================================== */
.innovation {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.innovation-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.innovation-tile:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.innovation-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.85);
  transition: transform 1.2s var(--ease), filter 0.4s var(--ease);
}

.innovation-tile:hover video {
  transform: scale(1.06);
  filter: brightness(0.8) saturate(1);
}

.innovation-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4,8,15,0.95) 100%);
  z-index: 1;
}

.innovation-tile-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 32px;
  z-index: 2;
}

.innovation-tile-tag {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.innovation-tile h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
}

.innovation-tile p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* ====================================================
   DIVISIONS GRID
   ==================================================== */
.divisions {
  padding: 160px 0;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.divisions-grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.division-card {
  padding: 48px 32px 40px;
  background: var(--bg);
  transition: background 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.division-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201, 169, 97, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.division-card:hover {
  background: var(--bg-2);
}

.division-card:hover::before {
  opacity: 1;
}

.division-card > * { position: relative; z-index: 1; }

.division-card .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.25em;
  font-weight: 400;
}

.division-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.division-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 28px;
  flex: 1;
  font-weight: 300;
}

.division-card .arrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.division-card .arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.division-card:hover .arrow::after {
  transform: translateX(6px);
}

/* ====================================================
   PILLARS (Longevity inner page)
   ==================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillars-grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  padding: 44px 28px;
  text-align: left;
  background: var(--bg);
  transition: background 0.4s var(--ease);
}

.pillar:hover { background: var(--bg-2); }

.pillar .roman {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.pillar h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 14px;
}

.pillar p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  font-weight: 300;
}

/* ====================================================
   QUOTE
   ==================================================== */
.quote-section {
  text-align: center;
  padding: 140px 0;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-mark {
  font-family: var(--serif);
  font-size: 72px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
  font-style: italic;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.32;
  max-width: 980px;
  margin: 0 auto;
  color: var(--text);
}

.quote .accent { color: var(--gold); }

.quote-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto 0;
}

/* ====================================================
   CTA CARDS (3-up)
   ==================================================== */
.cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cta-card {
  border: 1px solid var(--line);
  padding: 44px 36px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  background: var(--bg-2);
}

.cta-card:hover {
  border-color: var(--gold);
  background: var(--bg-3);
  transform: translateY(-4px);
}

.cta-card .icon {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 22px;
  display: block;
  font-family: var(--serif);
}

.cta-card h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.cta-card p {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.6;
}

/* ====================================================
   CONTACT
   ==================================================== */
.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-info p {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.7;
  font-weight: 300;
}

.contact-info strong {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
}

.contact-info .info-block {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 18px;
}

.form input, .form textarea, .form select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 18px 20px;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form input::placeholder, .form textarea::placeholder {
  color: var(--text-dim);
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}

.form textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ====================================================
   NEWSLETTER
   ==================================================== */
.newsletter {
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08), transparent 70%),
    var(--bg);
  text-align: center;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.newsletter h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  margin-bottom: 16px;
}

.newsletter p {
  color: var(--text-soft);
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ====================================================
   FOOTER
   ==================================================== */
footer {
  background: #02050a;
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand img { height: 38px; }

/* Logo PNG already carries the CORAVITA wordmark, so hide the duplicate text label. */
.footer-brand .brand-name { display: none; }

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 340px;
  line-height: 1.7;
  font-weight: 300;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; color: var(--text-soft); font-weight: 300; }
.footer-col li a { transition: color 0.2s var(--ease); }
.footer-col li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ====================================================
   PAGE HEADER (inner pages)
   ==================================================== */
.page-header {
  position: relative;
  padding: 220px 0 130px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.45) saturate(0.8) contrast(1.05);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(4,8,15,0.95) 0%, rgba(4,8,15,0.7) 50%, rgba(4,8,15,0.4) 100%);
}

.page-header > .container { position: relative; z-index: 2; }

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 14px; color: var(--gold-dim); }

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  max-width: 900px;
}

.page-header h1 .accent { color: var(--gold); font-style: italic; font-weight: 500; }

.page-header .lead {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 680px;
  line-height: 1.7;
  font-weight: 300;
}

/* ====================================================
   NAV DROPDOWN (Our Divisions)
   ==================================================== */
.has-caret { display: inline-flex; align-items: center; gap: 7px; }
.has-caret .caret { font-size: 8px; transform: translateY(1px); }

/* ====================================================
   LONGEVITY LANDING — pillar preview cards (5-up)
   ==================================================== */
.lux-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.lux-card {
  position: relative;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.lux-card:hover { border-color: var(--gold); transform: translateY(-6px); }

.lux-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
  transition: transform 1.2s var(--ease), filter 0.4s var(--ease);
}

.lux-card:hover video { transform: scale(1.06); filter: brightness(0.7) saturate(1); }

.lux-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(4,8,15,0.96) 100%);
}

.lux-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 22px;
  z-index: 2;
}

.lux-card-content h4 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.lux-card-content p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
  font-weight: 300;
}

.lux-card .arrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lux-card .arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.lux-card:hover .arrow::after { transform: translateX(6px); }

/* Icon glyph reused inside .pillar (values row) */
.pillar .ic {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 26px;
  display: block;
  line-height: 1;
}

/* ====================================================
   PILLAR PAGES — hero subhead + CTA
   ==================================================== */
.page-header .subhead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 22px;
}

.page-header .lead + .hero-ctas { margin-top: 44px; }

/* ====================================================
   HELP BAND — "How we help you ___"
   ==================================================== */
.help-band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.help-head {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.help-head::before, .help-head::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.help-grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.help-item {
  padding: 40px 26px;
  background: var(--bg);
  transition: background 0.4s var(--ease);
}

.help-item:hover { background: var(--bg-3); }

.help-item .ic {
  color: var(--gold);
  font-size: 22px;
  font-family: var(--serif);
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.help-item h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.help-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ====================================================
   PILLAR TAGLINE BAND
   ==================================================== */
.pillar-tagline {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(ellipse at center, rgba(201,169,97,0.06), transparent 65%),
    var(--bg);
}

.pillar-tagline p {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
/* Tighten the 7-item nav before it gets crowded */
@media (max-width: 1320px) {
  .nav-links { gap: 22px; font-size: 10.5px; letter-spacing: 0.12em; }
}

/* Below this the full nav can't sit beside the logo + button: collapse to logo + button */
@media (max-width: 1140px) {
  .nav-links { display: none; }
}

@media (max-width: 1100px) {
  .lux-cards { grid-template-columns: repeat(3, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .innovation-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-inner { height: 150px; justify-content: center; }
  .brand img { height: 110px; }
  .nav-inner > .btn { display: none; }
  .divisions-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .lux-cards { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section, .intro, .divisions, .newsletter, .quote-section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .hero-content { padding-top: 200px; padding-bottom: 90px; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 50px); margin-bottom: 26px; line-height: 1.1; }
  .hero-sub { font-size: 16px; margin-bottom: 36px; }
  .eyebrow { margin-bottom: 24px; }
  .page-header { padding: 150px 0 90px; }
  .intro-stats { grid-template-columns: 1fr; }
  .intro-stat:nth-child(even) { padding-left: 0; border-left: none; }
  .intro-stat:nth-child(odd) { padding-right: 0; }
}

/* ============================================================
   v13 — HOLDING-GROUP UPGRADE (2026-06-12)
   Abstract gold-on-navy imagery (no medical video),
   scroll reveals, hover shimmer, logo proportion.
   ============================================================ */

html { scroll-behavior: smooth; }

/* ---- Logo: balanced proportion ---- */
.brand img { height: 68px; }

/* ---- Remove ALL medical/lab video, swap for abstract gradient ---- */
.hero-video, .hero-overlay,
.intro-visual video, .intro-visual::after,
.innovation-tile video,
.page-header-video, .page-header-overlay,
.lux-card video { display: none !important; }

/* ---- HERO: animated navy + gold mesh ---- */
.hero {
  background:
    radial-gradient(120% 120% at 50% 118%, rgba(13,28,48,0.9), transparent 60%),
    linear-gradient(145deg, #04080f 0%, #07111e 52%, #0a1626 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(85px); z-index: 0; pointer-events: none;
}
.hero::before {
  width: 48vw; height: 48vw; top: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(201,169,97,0.20), transparent 70%);
  animation: cv-drift1 20s ease-in-out infinite;
}
.hero::after {
  width: 34vw; height: 34vw; bottom: -10vw; left: 2vw;
  background: radial-gradient(circle, rgba(20,44,72,0.85), transparent 70%);
  animation: cv-drift2 26s ease-in-out infinite;
}
@keyframes cv-drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-4vw,3vw)} }
@keyframes cv-drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(3vw,-3vw)} }
.hero-content::before {
  content:""; position:absolute; inset:-40% -10%;
  background: linear-gradient(115deg, transparent 42%, rgba(230,207,148,0.05) 50%, transparent 58%);
  background-size: 300% 300%;
  animation: cv-sheen 16s ease-in-out infinite;
  pointer-events:none; z-index:-1;
}
@keyframes cv-sheen { 0%{background-position:0% 0%} 50%{background-position:100% 100%} 100%{background-position:0% 0%} }

/* ---- Abstract panel: intro visual with concentric gold rings ---- */
.intro-visual {
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(201,169,97,0.16), transparent 55%),
    linear-gradient(155deg, #07101c, #0c1a2c 60%, #0e2034);
}
.intro-visual::before {
  content:""; position:absolute; inset:0; z-index:0;
  background: repeating-radial-gradient(circle at 52% 46%, transparent 0 40px, rgba(201,169,97,0.08) 40px 41px);
  animation: cv-pulse 9s ease-in-out infinite;
}
@keyframes cv-pulse { 0%,100%{opacity:0.45} 50%{opacity:0.9} }

/* ---- Cards/tiles: abstract gradient + hover shimmer ---- */
.innovation-tile, .lux-card {
  background:
    radial-gradient(100% 80% at 80% 0%, rgba(201,169,97,0.13), transparent 55%),
    linear-gradient(160deg, #081320, #0c1a2c) !important;
}
.innovation-tile::after, .lux-card::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(120deg, transparent 40%, rgba(230,207,148,0.10) 50%, transparent 60%);
  transform: translateX(-130%); transition: transform 0.9s var(--ease);
}
.innovation-tile:hover::after, .lux-card:hover::after { transform: translateX(130%); }

/* ---- Page header (pillar hero): abstract navy + gold glow ---- */
.page-header {
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(201,169,97,0.15), transparent 55%),
    linear-gradient(145deg, #04080f, #07111e 55%, #0a1626);
}
.page-header::before {
  content:""; position:absolute; width:42vw; height:42vw; top:-16vw; right:-8vw;
  border-radius:50%; filter:blur(95px); z-index:0; pointer-events:none;
  background: radial-gradient(circle, rgba(201,169,97,0.16), transparent 70%);
  animation: cv-drift1 22s ease-in-out infinite;
}

/* ---- Sub-divisions: 3-up grid, content-height cards ---- */
.lux-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lux-card { aspect-ratio: 4 / 3.1; }

/* ---- Scroll reveal (classes applied by JS so no-JS still shows) ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero::before, .hero::after, .intro-visual::before, .page-header::before,
  .hero-content::before { animation: none !important; }
}

@media (max-width: 1100px) {
  .lux-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lux-cards { grid-template-columns: 1fr; }
  .brand img { height: 64px; }
}

/* ============================================================
   v14 — CINEMATIC IMAGERY (2026-06-12)
   Self-hosted professional photos, Ken Burns, crossfade, parallax.
   ============================================================ */

/* ---------- HERO: 3-image crossfade slideshow ---------- */
.hero { background: #04080f; }
.hero::before, .hero::after, .hero-content::before { display: none !important; }

.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; will-change: transform; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation: heroCycle 24s ease-in-out infinite;
}
.hero-slide:nth-child(1) { background-image: url(assets/img/hero-1.jpg); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url(assets/img/hero-2.jpg); animation-delay: 8s; }
.hero-slide:nth-child(3) { background-image: url(assets/img/hero-3.jpg); animation-delay: 16s; }
@keyframes heroCycle {
  0%   { opacity: 0; transform: scale(1.04); }
  4%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(4,8,15,0.94) 0%, rgba(4,8,15,0.7) 42%, rgba(4,8,15,0.42) 72%, rgba(4,8,15,0.3) 100%),
    linear-gradient(0deg, rgba(4,8,15,0.92) 0%, transparent 42%);
}
.hero-veil::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 55% at 78% 28%, rgba(201,169,97,0.12), transparent 62%);
}

/* ---------- Shared image layer + Ken Burns ---------- */
.img-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; will-change: transform;
}
.kenburns { animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.12); } }

/* ---------- THE GROUP panel (earth) ---------- */
.intro-visual:has(.img-bg)::before { display: none; }
.intro-visual:has(.img-bg)::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(4,8,15,0.55) 100%);
}

/* ---------- TILES (photos + hover zoom) ---------- */
.innovation-tile { background: #081320 !important; }
.innovation-tile .img-bg { transition: transform 1.3s var(--ease); }
.innovation-tile:hover .img-bg { transform: scale(1.08); }
.innovation-tile-overlay {
  background: linear-gradient(180deg, rgba(4,8,15,0.12) 0%, rgba(4,8,15,0.42) 45%, rgba(4,8,15,0.93) 100%) !important;
}

/* ---------- PAGE HEADER (pillar hero photo) ---------- */
.page-header { background: #04080f; }
.page-header::before { display: none !important; }
.ph-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(4,8,15,0.93) 0%, rgba(4,8,15,0.66) 50%, rgba(4,8,15,0.4) 100%),
    linear-gradient(0deg, rgba(4,8,15,0.86) 0%, transparent 46%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .kenburns { animation: none !important; }
  .hero-slide:nth-child(1) { opacity: 1; }
}

/* ============================================================
   v15 — Sub-division card photos + pillar-grid parity
   ============================================================ */
.lux-card .img-bg { transition: transform 1.3s var(--ease); }
.lux-card:hover .img-bg { transform: scale(1.08); }
.lux-card-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(4,8,15,0.10) 0%, rgba(4,8,15,0.5) 50%, rgba(4,8,15,0.95) 100%) !important;
}
.lux-card-content { position: relative; z-index: 2; }

/* ============================================================
   v16 — NAV: real Pillars dropdown + working mobile menu (2026-06-15)
   ============================================================ */

/* The off-canvas mobile menu (translateX) must not create horizontal scroll */
html, body { overflow-x: hidden; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 30px; height: 22px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 0; width: 30px; height: 2px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle { position: relative; }
.nav-toggle span:nth-child(1) { top: 1px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 19px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Pillars dropdown (desktop) */
.has-dropdown { position: relative; }
.nav-links .dropdown {
  position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px; padding: 12px 0; margin: 0;
  list-style: none;
  background: #0a1626;
  border: 1px solid rgba(201,169,97,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .dropdown a {
  display: block; padding: 10px 24px; white-space: nowrap;
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--text-soft);
}
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { color: var(--gold); background: rgba(201,169,97,0.06); }
.caret { font-size: 8px; margin-left: 5px; vertical-align: middle; }

/* Get-in-Touch button shown only inside the mobile menu */
.nav-cta-mobile { display: none; }

/* Honeypot field for spam protection */
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Mobile menu (full-screen overlay) ---- */
@media (max-width: 1140px) {
  /* drop the backdrop-filter on mobile: it traps fixed children in the header box */
  .nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(4,8,15,0.95); }
  .nav-toggle { display: block; position: fixed; top: 30px; right: 32px; margin: 0; z-index: 60; }
  .nav-inner { justify-content: flex-start; height: 96px; position: relative; }
  .brand img { height: 56px; }
  .nav-inner > .btn { display: none; }
  .nav-links {
    display: flex !important;
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 22px;
    background: linear-gradient(160deg, #04080f, #08111e);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 40; overflow-y: auto;
    font-size: 15px; letter-spacing: 0.16em;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { opacity: 1; visibility: visible; pointer-events: auto; }
  body.nav-open .nav-toggle { top: 30px; right: 32px; }
  /* dropdown becomes an inline list inside the mobile menu */
  .has-dropdown { text-align: center; }
  .nav-links .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; box-shadow: none; padding: 8px 0 0;
    min-width: 0; text-align: center;
  }
  .nav-links .dropdown a { padding: 7px 0; font-size: 12px; color: var(--gold-dim); }
  .nav-cta-mobile { display: block; margin-top: 12px; }
  .nav-cta-mobile .btn { display: inline-flex; }
}

/* ====================================================
   SUB-DIVISION DETAIL PAGES  (clickable lux-cards →)
   ==================================================== */
/* Clickable sub-division card (anchor variant of .lux-card) */
a.lux-card { text-decoration: none; color: inherit; }

/* Long-form body copy on a sub-division detail page */
.detail-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 760px;
  margin-top: 8px;
}

/* "More from this pillar" rail */
.sib-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.sib-card {
  position: relative;
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.sib-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.sib-card .img-bg { transition: transform 1.3s var(--ease); }
.sib-card:hover .img-bg { transform: scale(1.08); }
.sib-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(4,8,15,0.94) 100%);
}
.sib-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px; z-index: 2;
}
.sib-content h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
@media (max-width: 980px) { .sib-rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .sib-rail { grid-template-columns: repeat(2, 1fr); } }

/* ====================================================
   CROSSFADING HOMEPAGE TILES (Frontier Research / Worldwide Network)
   ==================================================== */
a.innovation-tile { text-decoration: none; color: inherit; display: block; }

.tile-cycle { position: absolute; inset: 0; z-index: 0; }
.tile-cycle .tile-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: tileCycle 16s infinite;
  transition: transform 1.3s var(--ease);
}
.innovation-tile:hover .tile-cycle .tile-slide { transform: scale(1.08); }
.tile-cycle .tile-slide:nth-child(1) { animation-delay: 0s; }
.tile-cycle .tile-slide:nth-child(2) { animation-delay: 4s; }
.tile-cycle .tile-slide:nth-child(3) { animation-delay: 8s; }
.tile-cycle .tile-slide:nth-child(4) { animation-delay: 12s; }
@keyframes tileCycle {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  22%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* "Explore" affordance on clickable tiles */
.tile-cta {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tile-cta::after { content: "→"; transition: transform 0.3s var(--ease); }
.innovation-tile:hover .tile-cta::after { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  .tile-cycle .tile-slide { animation: none; }
  .tile-cycle .tile-slide:nth-child(1) { opacity: 1; }
}
