/* ============================================
   HealthForce Kentucky — Brand Tokens
   Brand Guide:
   - HFK Blue   #1B5BAA
   - HFK Teal   #49B4AE
   - HFK Black  #0F141F
   - Lavender   #A297C9
   - Sky Blue   #C9DDEC
   - Light Blue #85D2DF
   - Steel      #949BA3
   ============================================ */

:root {
  --hfk-blue: #1B5BAA;
  --hfk-blue-deep: #0E3F7A;
  --hfk-teal: #49B4AE;
  --hfk-teal-bright: #5FCFC8;
  --hfk-black: #0F141F;
  --hfk-black-2: #161D2D;
  --hfk-lavender: #A297C9;
  --hfk-skyblue: #C9DDEC;
  --hfk-lightblue: #85D2DF;
  --hfk-steel: #949BA3;
  --hfk-white: #FFFFFF;

  --bg: #0A0E18;
  --bg-2: #10172A;
  --surface: #141C30;
  --surface-2: #1B2540;
  --line: rgba(133, 210, 223, 0.14);
  --line-strong: rgba(73, 180, 174, 0.32);
  --text: #E9EEF7;
  --text-dim: #A8B2C5;
  --text-muted: #6B7693;

  --font-display: 'League Gothic', 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-cond: 'Barlow Condensed', 'League Gothic', 'Arial Narrow', sans-serif;
  --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1240px;

  --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(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== TECH BACKGROUND ===== */
.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(73,180,174,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73,180,174,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.orbit-bg {
  position: fixed;
  top: -10%;
  right: -15%;
  width: 720px;
  height: 720px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: spin 80s linear infinite;
}
.orbit-bg svg { width: 100%; height: 100%; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== NAV ===== */
/* ===== TOP SOCIAL BAR ===== */
.social-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 38px;
  background: linear-gradient(90deg, #1B5BAA 0%, #1B5BAA 60%, #154d92 100%);
  border-bottom: 1px solid rgba(73, 180, 174, 0.25);
}
.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.social-bar-label {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.social-bar-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-bar-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}
.social-bar-list a:hover {
  background: rgba(255,255,255,0.14);
  color: #85D2DF;
  transform: translateY(-1px);
}
.social-bar-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.social-bar-handle {
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.22);
}
.social-bar-handle-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 860px) {
  .social-bar-list a span:not([class]),
  .social-bar-label,
  .social-bar-handle { display: none; }
  .social-bar-list a { padding: 8px 10px; }
  .social-bar-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .social-bar { height: 36px; }
  .social-bar-list svg { width: 18px; height: 18px; }
}

.nav {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 14, 24, 0.7);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { padding: 12px 0; background: rgba(10, 14, 24, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(73, 180, 174, 0.18));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand:hover .brand-logo { filter: drop-shadow(0 4px 20px rgba(73, 180, 174, 0.42)); transform: translateY(-1px); }
.nav.scrolled .brand-logo { height: 36px; }
.brand-logo-foot { height: 56px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--hfk-teal); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--hfk-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--hfk-teal), var(--hfk-blue));
  color: var(--hfk-white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--hfk-teal-bright), var(--hfk-blue));
  box-shadow: 0 0 24px rgba(73, 180, 174, 0.5);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--hfk-teal) 0%, var(--hfk-blue) 100%);
  color: var(--hfk-white);
  box-shadow: 0 4px 24px rgba(73, 180, 174, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hfk-teal-bright) 0%, var(--hfk-blue) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(73, 180, 174, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--hfk-teal);
  background: rgba(73, 180, 174, 0.08);
  color: var(--hfk-teal);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1) contrast(1.05) blur(2px);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(10, 14, 24, 0.85) 0%, rgba(10, 14, 24, 0.55) 50%, transparent 80%),
    radial-gradient(ellipse at 80% 30%, rgba(73, 180, 174, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,14,24,0.65) 0%, rgba(10,14,24,0.92) 80%, var(--bg) 100%);
}
.scanline {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hfk-teal), transparent);
  opacity: 0.4;
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%, 100% { top: 20%; opacity: 0; }
  50% { top: 80%; opacity: 0.5; }
}

.hero-content { position: relative; z-index: 2; max-width: 920px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(73, 180, 174, 0.08);
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin-bottom: 32px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hfk-teal);
  box-shadow: 0 0 12px var(--hfk-teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}
.hero-title .line { display: block; }
.hero-title .line-1 { color: var(--hfk-skyblue); }
.hero-title .line-2 {
  background: linear-gradient(135deg, var(--hfk-teal) 0%, var(--hfk-lightblue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .line-3 { color: var(--text); }
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--hfk-blue) 0%, var(--hfk-lavender) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-row { display: inline-flex; align-items: baseline; line-height: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--hfk-teal);
  letter-spacing: 1px;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--hfk-teal);
  margin-left: 2px;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 3;
}
.scroll-indicator span {
  width: 3px; height: 8px;
  background: var(--hfk-teal);
  border-radius: 2px;
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; position: relative; z-index: 1; }

.section-head { margin-bottom: 64px; max-width: 900px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin-bottom: 20px;
  display: inline-block;
}
.kicker.light { color: var(--hfk-lightblue); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}
.section-title.light { color: var(--hfk-white); }
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--hfk-teal) 0%, var(--hfk-lightblue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lede {
  font-size: 19px;
  color: var(--text-dim);
  margin-top: 24px;
  max-width: 720px;
}
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* ===== MISSION ===== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 96px;
}
.mv-card {
  position: relative;
  padding: 36px 40px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* Header row: orb spinner + title side-by-side, vertically centered */
.mv-card .mv-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.mv-card .mv-head h3 {
  margin-bottom: 0;
}
.mv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.95;
}
.mv-mission { background: linear-gradient(135deg, var(--hfk-blue) 0%, var(--hfk-blue-deep) 100%); }
.mv-vision { background: linear-gradient(135deg, var(--hfk-teal) 0%, #2E8B85 100%); }

.mv-card:hover { transform: translateY(-4px); }
.mv-card .mv-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--hfk-white);
  margin-bottom: 0;
  flex: 0 0 auto;
}
.mv-card .mv-icon svg { width: 28px; height: 28px; }
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hfk-white);
  margin-bottom: 16px;
}
.mv-card p { color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.65; }

.values-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s var(--ease);
  position: relative;
}
.value:hover { background: var(--surface); }
.value::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--hfk-teal), var(--hfk-lightblue));
  transition: width 0.4s var(--ease);
}
.value:hover::after { width: 100%; }
.v-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--hfk-teal);
  margin-bottom: 12px;
  display: block;
}
.value h4 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.value p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===== PROGRAMS ===== */
.programs { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.prog-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hfk-teal), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.prog-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.prog-card:hover::before { opacity: 1; }

.prog-feature {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e16 0%, #050810 100%);
}
.prog-img {
  position: relative;
  min-height: 460px;
  background:
    radial-gradient(ellipse at center, rgba(73,180,174,0.08) 0%, transparent 70%),
    #050810;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.prog-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.prog-img::after { display: none; }
.prog-img-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(ellipse at center, rgba(73,180,174,0.08) 0%, transparent 70%),
    #050810;
  min-height: 460px;
}
.prog-img-stack .prog-img {
  min-height: 0;
  padding: 14px;
  border-radius: 10px;
  overflow: hidden;
}
.prog-img-stack .prog-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .prog-img-stack { min-height: 540px; }
}
.prog-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.prog-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--hfk-teal);
  color: var(--hfk-teal);
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.prog-features {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prog-features li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 14px;
}
.prog-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--hfk-teal);
}

.prog-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(73, 180, 174, 0.1);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--hfk-teal);
  margin-bottom: 24px;
}
.prog-icon svg { width: 26px; height: 26px; }
.prog-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}
.prog-card p { color: var(--text-dim); font-size: 15px; line-height: 1.65; }

/* ===== INNOVATION ===== */
.innov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.innov-text .section-title { margin-bottom: 24px; }
.lede { font-size: 18px; color: var(--text-dim); margin-bottom: 40px; line-height: 1.65; }

.innov-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.innov-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-left: 2px solid var(--hfk-teal);
  background: rgba(73, 180, 174, 0.04);
  transition: all 0.3s var(--ease);
}
.innov-feature:hover {
  background: rgba(73, 180, 174, 0.1);
  border-left-color: var(--hfk-lightblue);
  transform: translateX(4px);
}
.iff {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--hfk-teal);
  letter-spacing: 2px;
  flex-shrink: 0;
  padding-top: 4px;
}
.innov-feature h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.innov-feature p { font-size: 14px; color: var(--text-dim); }

.innov-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 80px rgba(27, 91, 170, 0.25);
}
.innov-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.innov-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(27, 91, 170, 0.25) 100%);
  pointer-events: none;
}
.innov-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--hfk-black);
  border: 1px solid var(--hfk-teal);
  padding: 14px 20px;
  border-radius: var(--radius);
  text-align: center;
  z-index: 2;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--hfk-teal);
  letter-spacing: 1px;
}
.badge-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ===== IMPACT ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.impact-card {
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(73, 180, 174, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.impact-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.impact-card:hover::before { opacity: 1; }
.ic-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--hfk-teal) 0%, var(--hfk-lightblue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  position: relative;
}
.ic-num .plus { background: inherit; -webkit-background-clip: text; background-clip: text; }
.ic-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.5;
}

.impact-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.impact-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.impact-feature-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.impact-feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin-bottom: 20px;
}
.impact-feature-text p { font-size: 16px; color: var(--text-dim); line-height: 1.7; }

/* ===== PARTNERS ===== */
.partners { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.partner-cat {
  padding: 40px 28px;
  background: var(--surface);
  position: relative;
  transition: background 0.3s var(--ease);
}
.partner-cat:hover { background: var(--surface-2); }
.partner-cat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--hfk-teal);
}
.partner-cat h4 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 16px 0 12px;
}
.partner-cat p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===== CTA / CONTACT ===== */
.cta { padding: 80px 0 120px; }
.cta-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(73, 180, 174, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(162, 151, 201, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--hfk-blue-deep) 0%, var(--hfk-black) 100%);
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.cta-inner {
  position: relative;
  padding: 80px 64px;
  z-index: 1;
}
.cta-inner .section-title { max-width: 720px; margin-bottom: 16px; }
.cta-inner > p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 600px; margin-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.contact-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--hfk-teal);
  transform: translateY(-2px);
}
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hfk-teal) 0%, var(--hfk-blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--hfk-white);
  flex-shrink: 0;
}
.ci-icon svg { width: 22px; height: 22px; }
.ci-label {
  display: block;
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ci-value {
  display: block;
  font-size: 15px;
  color: var(--hfk-white);
  margin-top: 2px;
  word-break: break-word;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--hfk-black);
  border-top: 1px solid var(--line);
  padding-top: 72px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
}
.foot-tag {
  font-family: var(--font-cond);
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-top: 20px;
  max-width: 280px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-col h5 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin-bottom: 18px;
}
.foot-col a, .foot-col p {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  transition: color 0.2s var(--ease);
}
.foot-col a:hover { color: var(--hfk-teal); }

.foot-base {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.foot-base-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.foot-base-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.foot-base-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.foot-base-links a:hover { color: var(--hfk-teal); }
.foot-base-sep { opacity: 0.4; }

/* ===== SCROLL REVEAL (subtle, progressive enhancement) ===== */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js-ready .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #0A0E18;
    background: linear-gradient(180deg, #0A0E18 0%, #0F141F 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 96px 28px 40px;
    gap: 6px;
    border: none;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
    z-index: 90;
    visibility: hidden;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links a {
    display: block;
    padding: 16px 8px;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a.nav-cta {
    margin-top: 24px;
    align-self: stretch;
    text-align: center;
    padding: 16px 22px;
    font-size: 16px;
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 100;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
  }
  .nav-toggle span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--hfk-white);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 28px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }
  body.nav-open { overflow: hidden; }

  .mv-grid, .innov-grid, .impact-feature, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .impact-grid, .partner-grid, .values-grid, .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-rows: auto; }
  .prog-feature { grid-column: span 2; grid-template-columns: 1fr; }
  .prog-img { min-height: 240px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }

  .section { padding: 80px 0; }
  .cta-inner { padding: 56px 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .impact-feature-text { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .impact-grid, .partner-grid, .values-grid, .programs-grid { grid-template-columns: 1fr; }
  .prog-feature { grid-column: span 1; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-base-inner { flex-direction: column; gap: 8px; text-align: center; }
  .mv-card { padding: 32px 24px; }
  .brand-logo { height: 34px; }
  .brand-logo-foot { height: 48px; }
}

/* ========== LOGO REVEAL INTRO OVERLAY ========== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.7s ease, visibility 0s 0.7s;
}
.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.intro-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.intro-skip:hover { background: rgba(73, 180, 174, 0.18); border-color: rgba(73, 180, 174, 0.6); color: #fff; }
.intro-skip span { display: inline-block; margin-left: 4px; }
body.intro-active { overflow: hidden; }

@media (max-width: 700px) {
  .intro-skip { bottom: 20px; right: 20px; padding: 8px 14px; font-size: 11px; }
}

/* ========== IN ACTION VIDEO SECTION ========== */
.in-action { padding-top: 40px; padding-bottom: 80px; position: relative; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(73, 180, 174, 0.18) inset;
  margin-top: 32px;
}
.video-frame .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 24, 0.05) 0%,
      rgba(10, 14, 24, 0.10) 55%,
      rgba(10, 14, 24, 0.78) 100%
    );
  pointer-events: none;
}
/* Tech corner brackets */
.video-corners { position: absolute; inset: 0; pointer-events: none; }
.video-corners .corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--hfk-teal);
  opacity: 0.85;
}
.video-corners .tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.video-corners .tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.video-corners .bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.video-corners .br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.video-meta {
  position: absolute;
  left: 36px;
  bottom: 32px;
  right: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(10, 14, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(73, 180, 174, 0.45);
  border-radius: 999px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--hfk-teal);
}
.video-tag .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a4a;
  box-shadow: 0 0 0 0 rgba(255, 90, 74, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 74, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 74, 0); }
}
.video-meta h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
  max-width: 720px;
}

@media (max-width: 700px) {
  .video-meta { left: 18px; right: 18px; bottom: 18px; gap: 10px; }
  .video-corners .corner { width: 18px; height: 18px; }
  .video-corners .tl, .video-corners .tr { top: 8px; }
  .video-corners .bl, .video-corners .br { bottom: 8px; }
  .video-corners .tl, .video-corners .bl { left: 8px; }
  .video-corners .tr, .video-corners .br { right: 8px; }
}

/* ========================================================================
   RESOURCES — Heyzine flipbook
   ======================================================================== */
.resources { padding-block: 8rem; }
.flipbook-wrap {
  position: relative;
  margin-top: 3rem;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0e16;
  border: 1px solid rgba(73,180,174,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 10;
}
.flipbook-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.resources-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2rem;
}
.resources-cta .btn { display: inline-flex; align-items: center; gap: 10px; }

/* ========================================================================
   RESERVE — native TripleSeat embed
   ======================================================================== */
.reserve { padding-block: 8rem; background: linear-gradient(180deg, #050810 0%, #0a0e16 100%); }
.reserve-form-wrap {
  margin: 3rem auto 0;
  max-width: 880px;
  background: #fff;
  border-radius: 18px;
  padding: 40px 44px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  color: #1a1a1a;
}
.reserve-form-wrap #tripleseat_embed_form { color: #1a1a1a; }
.reserve-form-wrap #tripleseat_embed_form * {
  font-family: 'Barlow', system-ui, sans-serif !important;
}
.reserve-form-wrap #tripleseat_embed_form input[type="text"],
.reserve-form-wrap #tripleseat_embed_form input[type="email"],
.reserve-form-wrap #tripleseat_embed_form input[type="tel"],
.reserve-form-wrap #tripleseat_embed_form input[type="number"],
.reserve-form-wrap #tripleseat_embed_form input[type="date"],
.reserve-form-wrap #tripleseat_embed_form select,
.reserve-form-wrap #tripleseat_embed_form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #1a1a1a;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.reserve-form-wrap #tripleseat_embed_form input:focus,
.reserve-form-wrap #tripleseat_embed_form select:focus,
.reserve-form-wrap #tripleseat_embed_form textarea:focus {
  outline: none;
  border-color: #49B4AE;
  box-shadow: 0 0 0 3px rgba(73,180,174,0.18);
}
.reserve-form-wrap #tripleseat_embed_form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.reserve-form-wrap #tripleseat_embed_form input[type="submit"],
.reserve-form-wrap #tripleseat_embed_form button[type="submit"] {
  background: #1B5BAA;
  color: #fff;
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.reserve-form-wrap #tripleseat_embed_form input[type="submit"]:hover,
.reserve-form-wrap #tripleseat_embed_form button[type="submit"]:hover {
  background: #49B4AE;
  transform: translateY(-1px);
}
#tripleseat_link, .hfk-tripleseat-link {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: #888;
  text-align: right;
  text-decoration: none;
}
#tripleseat_link:hover, .hfk-tripleseat-link:hover { color: #49B4AE; }
@media (max-width: 640px) {
  .reserve-form-wrap { padding: 28px 22px; }
}

/* HFK custom Tripleseat form ============================================ */
.hfk-form { color: #1a1a1a; font-family: 'Barlow', system-ui, sans-serif; }
.hfk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.hfk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hfk-field--full { grid-column: 1 / -1; }
.hfk-form > .hfk-field { margin-bottom: 16px; }
.hfk-field-label {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  letter-spacing: 0.2px;
}
.hfk-req { color: #c0392b; margin-left: 2px; }
.hfk-form input[type="text"],
.hfk-form input[type="email"],
.hfk-form input[type="tel"],
.hfk-form input[type="number"],
.hfk-form input[type="date"],
.hfk-form select,
.hfk-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hfk-form textarea { resize: vertical; min-height: 96px; }
.hfk-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.hfk-form input:focus,
.hfk-form select:focus,
.hfk-form textarea:focus {
  outline: none;
  border-color: #49B4AE;
  box-shadow: 0 0 0 3px rgba(73,180,174,0.18);
}
.hfk-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.hfk-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B5BAA;
  color: #fff;
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hfk-submit:hover:not(:disabled) {
  background: #49B4AE;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(73,180,174,0.25);
}
.hfk-submit:disabled { opacity: 0.65; cursor: progress; }
.hfk-form-note {
  font-size: 12px;
  color: #667085;
  margin: 0;
  flex: 1 1 240px;
  text-align: right;
}
.hfk-form-status {
  margin-top: 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  empty-cells: hide;
}
.hfk-form-status:empty { display: none; }
.hfk-form-status--info {
  padding: 12px 14px;
  background: #eef2f7;
  color: #344054;
  border: 1px solid #d0d5dd;
}
.hfk-form-status--success {
  padding: 14px 16px;
  background: #e8f7ee;
  color: #1a6c3a;
  border: 1px solid #94d2a8;
  font-weight: 600;
}
.hfk-form-status--error {
  padding: 12px 14px;
  background: #fdecea;
  color: #8a2222;
  border: 1px solid #f1b9b3;
}
@media (max-width: 640px) {
  .hfk-form-row { grid-template-columns: 1fr; gap: 0; }
  .hfk-form-row .hfk-field { margin-bottom: 14px; }
  .hfk-form-actions { flex-direction: column; align-items: stretch; }
  .hfk-form-note { text-align: left; }
  .hfk-submit { width: 100%; justify-content: center; }
}

/* ========================================================================
   DONATE — PayPal quick-pick form
   ======================================================================== */
.donate {
  padding-block: 8rem;
  background:
    radial-gradient(ellipse at top, rgba(73,180,174,0.08) 0%, transparent 60%),
    #050810;
}
.donate-form {
  max-width: 880px;
  margin: 3.5rem auto 0;
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
}
@media (max-width: 720px) {
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
}
/* ===== IMPACT VIDEO ===== */
.impact-video {
  margin: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impact-video-frame {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 80px rgba(27, 91, 170, 0.28), 0 0 0 1px rgba(73,180,174,0.12);
  background: #000;
}
.impact-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.impact-video-caption {
  margin-top: 18px;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.impact-video-kicker {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hfk-teal);
}
.impact-video-title {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .impact-video { margin-bottom: 48px; }
  .impact-video-title { font-size: 14px; }
}

.donate-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.6rem 1.4rem;
  min-height: 5.4rem;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(73,180,174,0.25);
  border-radius: 14px;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}
.donate-chip:hover {
  border-color: #49B4AE;
  background: rgba(73,180,174,0.08);
  transform: translateY(-2px);
}
.donate-chip.is-active {
  border-color: #49B4AE;
  background: rgba(73,180,174,0.15);
  box-shadow: 0 0 0 3px rgba(73,180,174,0.18);
}
.chip-amount {
  font-family: 'League Gothic', 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #49B4AE;
}
.donate-chip.is-active .chip-amount { color: #85D2DF; }
.chip-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.donate-custom {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.6rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 1.8rem;
}
.donate-custom label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.custom-input {
  display: flex;
  align-items: center;
  background: #000;
  border: 1.5px solid rgba(73,180,174,0.3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  flex: 1;
  min-width: 180px;
  transition: border-color 0.18s;
}
.custom-input:focus-within { border-color: #49B4AE; }
.custom-input .currency {
  color: #49B4AE;
  font-family: 'League Gothic', sans-serif;
  font-size: 1.4rem;
  margin-right: 0.4rem;
}
.custom-input input {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.1rem;
  font-family: inherit;
  flex: 1;
  outline: none;
  padding: 0;
}
.custom-input input::placeholder { color: rgba(255,255,255,0.4); }

.donate-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 1.2rem 2rem;
}
.donate-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.donate-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ========================================================================
   EVENTS — camps & programs
   ======================================================================== */
.events { padding-block: 8rem; background: linear-gradient(180deg, #050810 0%, #0a0e16 100%); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 980px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
  background: linear-gradient(180deg, rgba(73,180,174,0.06) 0%, rgba(27,91,170,0.04) 100%), #0a0e16;
  border: 1px solid rgba(73,180,174,0.22);
  border-radius: 18px;
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: #49B4AE;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(73,180,174,0.25);
}
.event-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #49B4AE;
  background: rgba(73,180,174,0.1);
  border: 1px solid rgba(73,180,174,0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}
.event-title {
  font-family: 'League Gothic', 'Barlow Condensed', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
}
.event-tagline {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}
.event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.event-meta-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.em-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #49B4AE;
  font-weight: 700;
}
.em-value {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
}
.em-value a { color: #85D2DF; text-decoration: none; }
.em-value a:hover { text-decoration: underline; }
.event-section-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0.4rem 0 0;
}
.event-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}
.event-list li { margin-bottom: 0.4rem; }
.event-list strong { color: #fff; font-weight: 600; }
.event-eligibility {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin: 0.4rem 0 0;
  font-style: italic;
}
.event-cta { align-self: flex-start; margin-top: 0.6rem; }

.event-sponsor {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.event-sponsor-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.event-sponsor-link {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.event-sponsor-link:hover,
.event-sponsor-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
  outline: none;
  box-shadow: 0 0 0 2px rgba(73,180,174,0.45);
}
.event-sponsor-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.04));
}

/* ========================================================================
   TEAM — staff grid
   ======================================================================== */
.team { padding-block: 8rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.4rem;
  text-align: center;
  transition: all 0.18s;
}
.team-card:hover {
  border-color: rgba(73,180,174,0.4);
  background: rgba(73,180,174,0.05);
  transform: translateY(-2px);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #0a0e16;
}
.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}
.team-creds {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(133,210,223,0.85);
  font-weight: 500;
  margin-top: 0.2rem;
}
.team-role {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.4;
}

.team-email {
  display: block;
  margin-top: 0.55rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(0.55rem, 0.85vw, 0.68rem);
  letter-spacing: 0;
  color: rgba(133,210,223,0.85);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  border-bottom: 1px solid rgba(73,180,174,0.25);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.team-email:hover,
.team-email:focus-visible {
  color: #85D2DF;
  border-bottom-color: #49B4AE;
}


/* ========================================================================
   BOARD OF DIRECTORS
   ======================================================================== */
.board { padding-block: 8rem; background: linear-gradient(180deg, #0a0e16 0%, #050810 100%); }
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
@media (max-width: 1080px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .board-grid { grid-template-columns: 1fr; } }

.board-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #1B5BAA;
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  transition: all 0.18s;
}
.board-card:hover {
  border-left-color: #49B4AE;
  background: rgba(73,180,174,0.05);
  transform: translateY(-2px);
}
.board-card.chair {
  border-left-color: #49B4AE;
  background: linear-gradient(135deg, rgba(73,180,174,0.08), rgba(27,91,170,0.04));
}
.board-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #49B4AE;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.board-card.chair .board-role { color: #85D2DF; }
.board-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.board-org {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.45;
}

/* ========================================================================
   IMPACT — new headline number layout (replaces 4-tile grid)
   ======================================================================== */
.impact-headline {
  margin: 4rem auto 4.5rem;
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(73,180,174,0.18);
  border-bottom: 1px solid rgba(73,180,174,0.18);
  background:
    radial-gradient(ellipse at center, rgba(73,180,174,0.06) 0%, transparent 70%);
  max-width: 900px;
}
.impact-headline-num {
  font-family: 'League Gothic', 'Barlow Condensed', sans-serif;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #49B4AE;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}
.impact-headline-num .plus {
  font-size: 0.55em;
  color: #85D2DF;
  font-weight: 400;
}
.impact-headline-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-top: 1.2rem;
}

/* ========================================================================
   PROGRAMS — clickable resource catalog card
   ======================================================================== */
.prog-card.prog-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.prog-card.prog-link:hover {
  transform: translateY(-4px);
  border-color: #49B4AE;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(73,180,174,0.3);
}
.prog-card.prog-link:hover .prog-link-arrow {
  color: #85D2DF;
  transform: translateX(4px);
}
.prog-link-arrow {
  margin-top: auto;
  padding-top: 1.2rem;
  display: inline-block;
  font-family: 'JetBrains Mono', 'Barlow Condensed', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #49B4AE;
  font-weight: 600;
  transition: color 0.18s, transform 0.18s;
}

/* ===== INNOVATION CENTER (RESTRUCTURED) ===== */
.innov-media-full {
  margin: 56px 0 64px;
}
.innov-media-full .innov-frame img {
  aspect-ratio: 21/9;
  width: 100%;
  object-fit: cover;
}
.innovation .innov-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.innov-cta {
  display: flex;
  justify-content: flex-start;
}

/* Virtual Tour callout inside Innovation Center */
.virtual-tour-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(73,180,174,0.10) 0%, rgba(27,91,170,0.08) 100%),
    var(--card);
  border: 1px solid rgba(73,180,174,0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.virtual-tour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(73,180,174,0.15), transparent 60%);
  pointer-events: none;
}
.virtual-tour-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(73,180,174,0.22), rgba(27,91,170,0.16));
  border: 1px solid rgba(73,180,174,0.4);
  color: var(--hfk-teal);
  position: relative;
  z-index: 1;
}
.virtual-tour-icon svg { width: 46px; height: 46px; }
.virtual-tour-body { position: relative; z-index: 1; }
.virtual-tour-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono'), monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin-bottom: 10px;
}
.virtual-tour-title {
  font-family: var(--font-display, 'League Gothic'), sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.05;
}
.virtual-tour-copy {
  color: var(--text-dim);
  margin: 0 0 22px;
  line-height: 1.6;
  max-width: 64ch;
}
.virtual-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 720px) {
  .virtual-tour-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 20px;
    text-align: left;
  }
  .virtual-tour-icon { width: 64px; height: 64px; }
  .virtual-tour-icon svg { width: 32px; height: 32px; }
}

@media (max-width: 900px) {
  .innovation .innov-features { grid-template-columns: 1fr; }
  .innov-media-full .innov-frame img { aspect-ratio: 16/10; }
}

/* ===== PARTNERS — 3-COL + CAROUSEL ===== */
.partner-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .partner-grid-3 { grid-template-columns: 1fr !important; }
}

.partner-carousel-wrap {
  margin-top: 48px;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(73, 180, 174, 0.03), transparent);
}
.partner-carousel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--hfk-teal);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}
.partner-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.partner-carousel-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: partnerScroll 60s linear infinite;
  width: max-content;
}
.partner-carousel:hover .partner-carousel-track {
  animation-play-state: paused;
}
/* Uniform partner tile — every logo box is the same size. JPGs are pre-trimmed
   so each logo fills the tile naturally via object-fit: contain. */
.partner-logo,
.partner-logo--cc,
.partner-logo--lg,
.partner-logo--md {
  flex: 0 0 auto;
  width: 240px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-sizing: border-box;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.partner-logo:hover {
  border-color: var(--hfk-teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(73,180,174,0.18);
}

@media (max-width: 640px) {
  .partner-logo,
  .partner-logo--cc,
  .partner-logo--lg,
  .partner-logo--md {
    width: 180px;
    height: 115px;
  }
}
@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== INVESTOR CAROUSEL (Force Behind the Future campaign) ===== */
.investor-section {
  margin: 64px 0 48px;
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(73, 180, 174, 0.04), transparent);
}
.investor-head {
  text-align: left;
  margin-bottom: 36px;
}
.investor-head .kicker {
  display: inline-block;
  margin-bottom: 14px;
}
.investor-head .section-sub {
  max-width: 720px;
  margin: 16px 0 0;
  text-align: left;
}
.investor-head .investor-title {
  text-align: left;
  line-height: 1.15;
  margin: 0;
}
.investor-head .investor-title em {
  font-style: italic;
  color: var(--hfk-teal);
  white-space: nowrap;
}
.investor-carousel-wrap {
  margin-top: 8px;
}
.investor-carousel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--hfk-teal);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
}
.investor-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.investor-carousel-track {
  display: flex;
  align-items: center;
  gap: 22px;
  animation: investorScroll 36s linear infinite;
  width: max-content;
}
.investor-carousel:hover .investor-carousel-track {
  animation-play-state: paused;
}
.investor-logo {
  flex: 0 0 auto;
  width: 280px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-sizing: border-box;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.investor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.investor-logo:hover {
  border-color: var(--hfk-teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(73,180,174,0.18);
}
@media (max-width: 640px) {
  .investor-logo {
    width: 200px;
    height: 125px;
  }
  .investor-carousel-track { gap: 16px; }
}
@keyframes investorScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== DONATE — NAMING RIGHTS / FORCE BEHIND THE FUTURE ===== */
.naming-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  margin: 48px 0 64px;
}
.naming-graphic {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 80px rgba(27, 91, 170, 0.25);
  background: var(--surface);
}
.naming-graphic img {
  width: 100%;
  height: auto;
  display: block;
}
.naming-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.naming-h {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  margin: 18px 0 4px;
  padding-left: 14px;
  border-left: 2px solid var(--hfk-teal);
}
.naming-copy p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 4px;
}
.naming-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.naming-flipbook-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 80px rgba(27, 91, 170, 0.20);
  background: #000;
}
.naming-cta-row--secondary {
  margin: 0 0 64px;
  justify-content: center;
}
.naming-flipbook {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.donate-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 40px;
}
.donate-divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid var(--line);
}
.donate-divider-label {
  position: relative;
  background: var(--bg);
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hfk-teal);
}
.donate-paypal-head { margin-bottom: 32px; }

@media (max-width: 900px) {
  .naming-grid { grid-template-columns: 1fr; gap: 32px; }
  .naming-graphic { position: static; }
  .naming-flipbook-wrap { aspect-ratio: 4 / 5; }
}

/* ===== ORBIT ICON (mission/vision) ===== */
.mv-card .mv-icon.mv-icon-orbit {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  width: 88px;
  height: 88px;
  padding: 0;
  margin-bottom: 0;
  flex: 0 0 88px;
  filter: drop-shadow(0 8px 28px rgba(255, 255, 255, 0.35)) brightness(1.15);
}
.mv-card .mv-icon.mv-icon-orbit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: hfk-orb-spin 14s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.mv-card.mv-vision .mv-icon.mv-icon-orbit img {
  animation-direction: reverse;
  animation-duration: 18s;
}
@keyframes hfk-orb-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mv-card .mv-icon.mv-icon-orbit img { animation: none; }
}
@media (max-width: 700px) {
  .mv-card .mv-icon.mv-icon-orbit { width: 72px; height: 72px; flex-basis: 72px; }
  .mv-card .mv-head { gap: 16px; }
}

/* ===== LOGO REVEAL SPLASH ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  opacity: 0;
  transition: opacity .55s ease;
}
.splash.is-visible {
  display: flex;
  opacity: 1;
}
.splash.is-fading {
  opacity: 0;
  pointer-events: none;
}
.splash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.splash-skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(133, 210, 223, 0.5);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.splash-skip:hover {
  background: rgba(73, 180, 174, 0.8);
  border-color: rgba(133, 210, 223, 0.9);
  transform: translateY(-1px);
}
.splash-skip:focus-visible {
  outline: 2px solid var(--hfk-lightblue);
  outline-offset: 3px;
}
/* Lock body scroll while splash is up */
body.splash-active {
  overflow: hidden;
}
@media (max-width: 700px) {
  .splash-skip {
    right: 14px;
    bottom: 14px;
    padding: 9px 14px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash { transition: opacity .15s ease; }
}

/* ===== FLOATING HOME BUTTON ===== */
html { scroll-behavior: smooth; }
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hfk-blue) 0%, var(--hfk-blue-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(133, 210, 223, 0.35);
  border: 1px solid rgba(133, 210, 223, 0.4);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 12px 32px rgba(73, 180, 174, 0.5), 0 0 0 2px rgba(133, 210, 223, 0.6);
  transform: translateY(-2px) scale(1.02);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.back-to-top .btt-label {
  line-height: 1;
}
@media (max-width: 600px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
  }
  .back-to-top .btt-label { display: none; }
  .back-to-top { gap: 0; padding: 12px; }
  .back-to-top svg { width: 20px; height: 20px; flex: 0 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: opacity .2s ease; transform: none; }
  .back-to-top.is-visible { transform: none; }
}

/* ===== CUSTOM ORB CURSOR ===== */
html {
  cursor: url('../images/cursor-orb.png') 16 16, auto;
}
/* Keep the standard pointer cursor on interactive elements so clickability stays clear. */
a, button, [role="button"], input[type="button"], input[type="submit"],
.btn, .teaser-card, .prog-card, .event-card, .team-card, .board-card,
.partner-logo, .donor-impact-tile, .core-value-card, .mv-card,
label, summary, [onclick], [tabindex]:not([tabindex="-1"]) {
  cursor: url('../images/cursor-orb.png') 16 16, pointer;
}
/* Standard text cursor for inputs and editable areas. */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], input[type="password"], input[type="number"],
textarea, [contenteditable="true"] {
  cursor: text;
}

/* ===== DONOR TICKER ===== */
.donor-ticker-wrap {
  margin: 16px 0 32px;
  padding: 32px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(73, 180, 174, 0.04), transparent);
}
.donor-ticker-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 0 4px;
}
.donor-ticker-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  white-space: nowrap;
}
.donor-ticker-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hfk-teal), transparent);
  opacity: 0.5;
}
.donor-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.donor-ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: donorScroll 75s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.donor-ticker:hover .donor-ticker-track {
  animation-play-state: paused;
}
.donor-name {
  flex: 0 0 auto;
  font-family: var(--font-cond);
  font-size: 17px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.donor-name:hover {
  color: var(--hfk-teal);
}
.donor-dot {
  flex: 0 0 auto;
  color: var(--hfk-teal);
  font-size: 14px;
  opacity: 0.55;
}
@keyframes donorScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .donor-ticker-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .donor-ticker-rule { width: 100%; }
  .donor-name { font-size: 15px; }
}

/* ===== ACTIVE NAV STATE (for multi-page nav) ===== */
.nav-links a.active { color: var(--hfk-teal); }
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-links a.nav-cta.active { box-shadow: 0 0 24px rgba(73, 180, 174, 0.6); }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  position: relative;
  padding: calc(38px + 96px) 0 48px;
  background: linear-gradient(180deg, rgba(15,20,31,0.96) 0%, rgba(15,20,31,0.8) 60%, transparent 100%);
  border-bottom: 1px solid rgba(73,180,174,0.16);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(900px 360px at 18% -20%, rgba(73,180,174,0.18), transparent 60%),
    radial-gradient(900px 480px at 92% 110%, rgba(27,91,170,0.20), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.5px;
  color: var(--hfk-white);
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 17ch;
}
.page-hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--hfk-teal), var(--hfk-lightblue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 68ch;
  margin: 0;
}
@media (max-width: 720px) {
  .page-hero { padding: calc(38px + 80px) 0 36px; }
}

/* ========================================================================
   JOURNEY STRIP — "How requests work" 1⁡2⁡3 visual under hero
   ======================================================================== */
.journey-strip {
  list-style: none;
  margin: 28px 0 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  background: linear-gradient(180deg, rgba(73,180,174,0.06), rgba(73,180,174,0.02));
  border: 1px solid rgba(73,180,174,0.18);
  border-radius: 10px;
  max-width: 900px;
}
.journey-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.journey-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px; height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--hfk-teal);
  color: #000;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0;
}
.journey-text { color: var(--text-bright, #fff); }
.journey-arrow {
  display: inline-flex;
  align-items: center;
  color: rgba(73,180,174,0.55);
}
@media (max-width: 720px) {
  .journey-strip { padding: 12px 14px; }
  .journey-step { font-size: 0.78rem; }
  .journey-arrow svg { width: 18px; height: 18px; }
}

/* ========================================================================
   START REQUEST — three big visual cards above the catalog
   ======================================================================== */
.start-request { padding-top: 40px; padding-bottom: 40px; }
.start-request-head { margin-bottom: 28px; }

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) {
  .start-grid { grid-template-columns: 1fr; gap: 16px; }
}

.start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22,29,45,0.95), rgba(15,20,31,0.95));
  border: 1px solid rgba(73,180,174,0.18);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.start-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(120% 80% at 0% 0%, rgba(73,180,174,0.14), transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: -1;
}
.start-card:hover,
.start-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(73,180,174,0.55);
  box-shadow: 0 14px 30px -18px rgba(73,180,174,0.45), 0 0 0 1px rgba(73,180,174,0.25) inset;
  outline: none;
}
.start-card:hover::before,
.start-card:focus-visible::before { opacity: 1; }

.start-card-icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: rgba(73,180,174,0.10);
  border: 1px solid rgba(73,180,174,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hfk-teal);
}
.start-card-title {
  font-family: var(--font-display, 'League Gothic', sans-serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 4px 0 0;
  line-height: 1.15;
  color: #fff;
}
.start-card-desc {
  margin: 0;
  color: var(--text-dim, rgba(255,255,255,0.72));
  font-size: 0.97rem;
  line-height: 1.55;
  flex: 1;
}
.start-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hfk-teal);
}
.start-card-cta svg { transition: transform .25s ease; }
.start-card:hover .start-card-cta svg { transform: translateX(4px); }

.start-grid-aside {
  margin: 22px 0 0;
  text-align: center;
  color: var(--text-dim, rgba(255,255,255,0.6));
  font-size: 0.92rem;
}
.start-grid-aside a {
  color: var(--hfk-light-blue, #85D2DF);
  text-decoration: none;
  border-bottom: 1px solid rgba(133,210,223,0.35);
  padding-bottom: 1px;
}
.start-grid-aside a:hover { border-bottom-color: var(--hfk-teal); }

/* ===== HOME TEASERS ===== */
.teasers .teasers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .teasers .teasers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .teasers .teasers-grid { grid-template-columns: 1fr; }
}

/* Center-out scroll reveal for tile content */
.teaser-card .teaser-num,
.teaser-card h3,
.teaser-card p,
.teaser-card .teaser-arrow {
  opacity: 0;
  transform: scale(0.55);
  transform-origin: 50% 50%;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.teaser-card .teaser-num    { transition-delay: 0.05s; }
.teaser-card h3             { transition-delay: 0.18s; }
.teaser-card p              { transition-delay: 0.30s; }
.teaser-card .teaser-arrow  { transition-delay: 0.42s; }

.teaser-card.is-revealed .teaser-num,
.teaser-card.is-revealed h3,
.teaser-card.is-revealed p,
.teaser-card.is-revealed .teaser-arrow {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .teaser-card .teaser-num,
  .teaser-card h3,
  .teaser-card p,
  .teaser-card .teaser-arrow {
    opacity: 1; transform: none; transition: none;
  }
}
.teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 24px;
  background: linear-gradient(160deg, rgba(22,29,45,0.92), rgba(15,20,31,0.92));
  border: 1px solid rgba(73,180,174,0.18);
  border-radius: 14px;
  color: var(--hfk-white);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.teaser-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 100% 0%, rgba(73,180,174,0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.teaser-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73,180,174,0.55);
  box-shadow: 0 18px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(73,180,174,0.14);
}
.teaser-card:hover::before { opacity: 1; }
.teaser-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--hfk-teal);
  margin-bottom: 4px;
}
.teaser-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin: 0;
  color: var(--hfk-white);
}
.teaser-card p {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.teaser-arrow {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hfk-teal);
  transition: gap 0.25s var(--ease);
}
.teaser-card:hover .teaser-arrow { gap: 12px; }
.teaser-card--accent {
  background: linear-gradient(160deg, rgba(27,91,170,0.32), rgba(15,20,31,0.96));
  border-color: rgba(73,180,174,0.4);
}
.teaser-card--accent::before {
  background: radial-gradient(420px 240px at 100% 0%, rgba(73,180,174,0.22), transparent 70%);
  opacity: 1;
}

/* =========================================================================
   FACILITY CAROUSEL — Innovation Center "Inside the Center" tour
   ========================================================================= */
.facility-carousel{
  position:relative;
  margin: 0 0 64px;
  padding: 28px 0 0;
}
.fc-head{
  text-align:center;
  margin: 0 auto 28px;
  max-width: 720px;
}
.fc-head .kicker{ display:inline-block; }
.fc-head .section-title{ margin-top:14px; }
.fc-head-left{
  text-align:left;
  margin: 0 0 28px;
  max-width: none;
}

.fc-stage{
  position:relative;
  background: linear-gradient(180deg, #0B0F18 0%, #060912 100%);
  border:1px solid rgba(73,180,174,0.18);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7), 0 0 0 1px rgba(133,210,223,0.04) inset;
}
.fc-stage::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(73,180,174,0.10), transparent 60%),
    radial-gradient(120% 70% at 50% 100%, rgba(27,91,170,0.18), transparent 60%);
  z-index: 2;
}
.fc-stage::after{
  /* subtle scanline texture for "high-tech" feel */
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.018) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: .4;
  z-index: 3;
}

.fc-track{
  position:relative;
  width:100%;
  /* maintain a 16:9 stage that contains all absolutely-positioned slides */
  aspect-ratio: 16 / 9;
  min-height: 360px;
}
.fc-slide{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0;
  visibility:hidden;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 1.2s ease, visibility 0s linear .9s;
  z-index:1;
}
.fc-slide.is-active{
  opacity:1;
  visibility:visible;
  transform: scale(1);
  transition: opacity .9s ease, transform 6s ease, visibility 0s;
  z-index:2;
}
.fc-img-wrap{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.fc-img-wrap::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 35%,
    rgba(0,0,0,0.65) 80%,
    rgba(0,0,0,0.85) 100%);
  z-index:1;
}
.fc-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform-origin: center;
  /* slow ken-burns on the active slide */
  animation: none;
}
.fc-slide.is-active img{
  animation: fc-kenburns 8s ease-out both;
}
@keyframes fc-kenburns{
  from{ transform: scale(1.06); }
  to  { transform: scale(1.00); }
}

/* Caption overlay */
.fc-cap{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 22px 28px 26px;
  display:flex;
  align-items:flex-end;
  gap: 18px;
  z-index:4;
  color:#fff;
}
.fc-num{
  font-family: var(--font-display, 'League Gothic'), 'Barlow Condensed', Arial, sans-serif;
  font-size: 56px;
  line-height: .8;
  letter-spacing: .02em;
  color: var(--hfk-lightblue, #85D2DF);
  text-shadow: 0 0 24px rgba(133,210,223,0.45);
  flex-shrink:0;
  padding-right: 16px;
  border-right: 1px solid rgba(133,210,223,0.35);
}
.fc-cap-body{ min-width:0; flex:1; }
.fc-cap-body h3{
  font-family: var(--font-display, 'League Gothic'), 'Barlow Condensed', Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin: 0 0 6px;
  text-transform: uppercase;
  color:#fff;
}
.fc-cap-body p{
  margin:0;
  font-family: 'Barlow', 'Barlow Condensed', Arial, sans-serif;
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 720px;
}

/* Cross-fade caption with slide */
.fc-slide .fc-cap{
  opacity:0;
  transform: translateY(8px);
  transition: opacity .7s ease .15s, transform .7s ease .15s;
}
.fc-slide.is-active .fc-cap{
  opacity:1;
  transform: translateY(0);
}

/* Arrows */
.fc-arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(15, 20, 31, 0.7);
  border: 1px solid rgba(133,210,223,0.35);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.fc-arrow:hover{
  background: rgba(73,180,174,0.92);
  border-color: rgba(133,210,223,0.7);
  box-shadow: 0 0 0 6px rgba(73,180,174,0.15);
}
.fc-arrow:active{ transform: translateY(-50%) scale(.95); }
.fc-arrow:focus-visible{
  outline: 2px solid var(--hfk-lightblue, #85D2DF);
  outline-offset: 3px;
}
.fc-prev{ left: 14px; }
.fc-next{ right: 14px; }

/* Auto-play progress bar */
.fc-progress{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 5;
}
.fc-progress > span{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--hfk-lightblue, #85D2DF), #49B4AE);
  box-shadow: 0 0 14px rgba(133,210,223,0.5);
  transition: width .15s linear;
}

/* Meta row (dots + counter + play/pause) */
.fc-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 0;
  flex-wrap: wrap;
}
.fc-counter{
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: .08em;
}
.fc-counter [data-current]{
  color: var(--hfk-lightblue, #85D2DF);
  font-weight: 600;
}
.fc-counter-divider{ margin: 0 6px; opacity: .5; }

.fc-dots{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.fc-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.fc-dot:hover{ background: rgba(255,255,255,0.45); }
.fc-dot.is-active{
  background: var(--hfk-lightblue, #85D2DF);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(133,210,223,0.18), 0 0 12px rgba(133,210,223,0.55);
}
.fc-dot:focus-visible{
  outline: 2px solid var(--hfk-lightblue, #85D2DF);
  outline-offset: 3px;
}

.fc-playpause{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fc-playpause:hover{
  background: rgba(73,180,174,0.18);
  border-color: rgba(133,210,223,0.55);
  color: #fff;
}
.fc-playpause .fc-icon-play{ display:none; }
.fc-playpause[aria-pressed="false"] .fc-icon-pause{ display:none; }
.fc-playpause[aria-pressed="false"] .fc-icon-play{ display:block; }

/* Mobile */
@media (max-width: 720px){
  .fc-track{ aspect-ratio: 4 / 5; min-height: 0; }
  .fc-cap{ padding: 16px 18px 22px; gap: 14px; flex-direction: column; align-items:flex-start; }
  .fc-num{ font-size: 40px; padding-right:0; padding-bottom:6px; border-right:0; border-bottom: 1px solid rgba(133,210,223,0.35); }
  .fc-cap-body h3{ font-size: 22px; }
  .fc-cap-body p{ font-size: 13.5px; }
  .fc-arrow{ width: 40px; height: 40px; }
  .fc-prev{ left: 8px; }
  .fc-next{ right: 8px; }
  .fc-meta{ padding-top: 14px; }
  .fc-dots{ order: 3; width: 100%; }
}

/* Reduced motion: no ken-burns, instant fade */
@media (prefers-reduced-motion: reduce){
  .fc-slide, .fc-slide.is-active{ transition: opacity .2s ease, visibility 0s; transform: none; }
  .fc-slide.is-active img{ animation: none; }
  .fc-progress > span{ transition: none; }
}

/* =========================================================================
   ABOUT HEALTHFORCE KENTUCKY — intro card on What We Do page
   ========================================================================= */
/* About HFK is the first content section on the What We Do page (no page_hero
   above it), so it must clear the fixed nav header itself. The 38px utility
   social-bar + ~72px nav = ~110px header, plus a comfortable visual gap. */
.about-hfk { padding-top: 160px; padding-bottom: 64px; }
@media (max-width: 768px) {
  .about-hfk { padding-top: 130px; }
}
.about-hfk-card{
  position: relative;
  background: linear-gradient(180deg, #0F141F 0%, #0B0F18 100%);
  border: 1px solid rgba(73,180,174,0.18);
  border-radius: 18px;
  padding: 48px clamp(24px, 4vw, 56px) 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.65);
}
.about-hfk-card::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(73,180,174,0.10), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(27,91,170,0.16), transparent 55%);
}
.about-hfk-card::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 3px;
  background: linear-gradient(180deg, var(--hfk-lightblue, #85D2DF), #49B4AE 60%, #1B5BAA);
  box-shadow: 0 0 22px rgba(133,210,223,0.4);
}
.about-hfk-head{
  position: relative;
  margin-bottom: 28px;
  max-width: 820px;
}
.about-hfk-head .kicker{ display:inline-block; }
.about-hfk-head .section-title{ margin-top: 14px; }
.about-hfk-body{
  position: relative;
  max-width: 920px;
}
.about-hfk-body p{
  font-family: 'Barlow', 'Barlow Condensed', Arial, sans-serif;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.about-hfk-body p strong{
  color: #fff;
  font-weight: 600;
}
.about-hfk-lead{
  font-size: 17.5px !important;
  color: rgba(255,255,255,0.92) !important;
  border-left: 2px solid rgba(133,210,223,0.45);
  padding-left: 18px;
  margin-bottom: 22px !important;
}
.about-hfk-stats{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.about-hfk-stat{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.ahs-num{
  font-family: var(--font-display, 'League Gothic'), 'Barlow Condensed', Arial, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--hfk-lightblue, #85D2DF);
  text-shadow: 0 0 18px rgba(133,210,223,0.35);
}
.ahs-label{
  font-family: 'Barlow Condensed', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
@media (max-width: 880px){
  .about-hfk-stats{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .about-hfk-card{ padding: 36px 22px 32px; }
  .about-hfk-body p{ font-size: 15px; }
  .about-hfk-lead{ font-size: 16px !important; padding-left: 14px; }
}

/* =========================================================================
   EVENTS PAGE HERO — high-tech "Immersive Events" title animation
   - Per-character cascade in (blur → focus, slight Y/scale)
   - Cyan/teal RGB-split glitch ghost layer that pulses
   - Horizontal scanline sweep on first paint
   ========================================================================= */
.events-title-stack {
  display: inline-block;
  position: relative;
  /* League Gothic italic ascenders need significant headroom — line-height
     1.4 plus generous top padding ensures the glyph paint area is never
     clipped by inline-box bounds. */
  line-height: 1.4;
  padding: 0.45em 0.20em 0.28em;
  overflow: visible;
}
.events-title-line-2 {
  /* extra breathing room above the italic line so its ascenders don't
     intersect line-1 baseline. */
  margin-top: 0.06em;
}
.events-title-line {
  display: block;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  overflow: visible;
}
.events-title-line-1 { color: var(--hfk-white); }
.events-title-line-2 { color: var(--hfk-teal); }
.events-title-line-2 em {
  font-style: normal;
  color: var(--hfk-teal);
  display: inline-block;
  line-height: 1.4;
  overflow: visible;
}
.ev-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em) scale(0.92);
  filter: blur(8px);
  animation: evCharIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.06s * var(--i, 0) + 0.15s);
  text-shadow: 0 0 18px rgba(73,180,174,0);
  white-space: pre;
  /* Each char inline-block needs full headroom for italic ascenders. */
  line-height: 1.4;
  padding-top: 0.18em;
  overflow: visible;
}
@keyframes evCharIn {
  0%   { opacity: 0; transform: translateY(0.18em) scale(0.92); filter: blur(8px); text-shadow: 0 0 0 rgba(73,180,174,0); }
  55%  { opacity: 1; filter: blur(0); text-shadow: 0 0 22px rgba(73,180,174,0.55); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); text-shadow: 0 0 14px rgba(73,180,174,0.18); }
}

/* Glitch ghost: only over the "Immersive" word, RGB-split, kicks in after the cascade */
.events-title-glitch {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  font: inherit;
  font-style: normal;
  color: transparent;
  z-index: 1;
  opacity: 0;
  animation: evGlitchIn 0.8s ease-out 1.0s forwards, evGlitchPulse 5.5s ease-in-out 2.2s infinite;
}
.events-title-glitch::before,
.events-title-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.events-title-glitch::before {
  color: var(--hfk-teal);
  transform: translate(-2px, 0);
  text-shadow: 0 0 12px rgba(73,180,174,0.5);
  animation: evGlitchShiftA 3.2s steps(2, end) infinite;
}
.events-title-glitch::after {
  color: var(--hfk-lightblue, #85D2DF);
  transform: translate(2px, 0);
  text-shadow: 0 0 14px rgba(133,210,223,0.5);
  animation: evGlitchShiftB 3.2s steps(2, end) infinite;
  animation-delay: 0.16s;
}
@keyframes evGlitchIn {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}
@keyframes evGlitchPulse {
  0%, 90%, 100% { opacity: 0.18; }
  92%           { opacity: 0.7; }
  94%           { opacity: 0.25; }
  96%           { opacity: 0.65; }
}
@keyframes evGlitchShiftA {
  0%, 100% { transform: translate(-2px, 0) skewX(0deg); clip-path: inset(0 0 0 0); }
  20%      { transform: translate(-3px, -1px) skewX(-2deg); clip-path: inset(8% 0 62% 0); }
  40%      { transform: translate(-1px, 1px) skewX(1deg); clip-path: inset(48% 0 22% 0); }
  60%      { transform: translate(-4px, 0) skewX(-1deg); clip-path: inset(72% 0 8% 0); }
  80%      { transform: translate(-2px, 0) skewX(0deg); clip-path: inset(0 0 0 0); }
}
@keyframes evGlitchShiftB {
  0%, 100% { transform: translate(2px, 0) skewX(0deg); clip-path: inset(0 0 0 0); }
  25%      { transform: translate(3px, 1px) skewX(2deg); clip-path: inset(28% 0 42% 0); }
  50%      { transform: translate(1px, -1px) skewX(-1deg); clip-path: inset(58% 0 14% 0); }
  75%      { transform: translate(4px, 0) skewX(1deg); clip-path: inset(4% 0 76% 0); }
}

/* Horizontal scanline sweep — passes through once on first paint, then occasionally */
.events-title-scan {
  position: absolute;
  inset: -8% -2%;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(73,180,174,0.55) 49%,
    rgba(133,210,223,0.85) 50%,
    rgba(73,180,174,0.55) 51%,
    transparent 58%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateY(-110%);
  /* one-shot only — the looping flicker was distracting and conflicted
     with the per-char animation, sometimes obscuring text. */
  animation: evScanSweep 1.6s ease-in-out 0.05s 1 forwards;
  filter: blur(0.6px);
}
@keyframes evScanSweep {
  0%   { transform: translateY(-110%); opacity: 0; }
  10%  { opacity: 1; }
  50%  { opacity: 0.85; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(110%); opacity: 0; }
}
@keyframes evScanLoop {
  0%, 88%, 100% { transform: translateY(110%); opacity: 0; }
  90%           { opacity: 0; transform: translateY(-110%); }
  94%           { opacity: 0.7; }
  99%           { opacity: 0; transform: translateY(110%); }
}

/* Subtle teal underline tick that draws in after the cascade — small high-tech detail */
.events-title-stack::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.15em;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--hfk-teal) 30%, var(--hfk-lightblue, #85D2DF) 70%, transparent);
  box-shadow: 0 0 12px rgba(73,180,174,0.6);
  animation: evUnderline 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 1.1s forwards;
}
@keyframes evUnderline {
  to { width: 56%; }
}

/* Reduced motion: keep title visible, kill the kinetic stuff */
@media (prefers-reduced-motion: reduce) {
  .ev-char {
    opacity: 1; transform: none; filter: none; animation: none;
    text-shadow: 0 0 14px rgba(73,180,174,0.18);
  }
  .events-title-glitch,
  .events-title-scan,
  .events-title-stack::after { display: none; }
}

/* Override: remove the RGB-split glitch flicker layer (was distracting) */
.events-title-glitch { display: none !important; }

/* =========================================================================
   EVENT CARDS — scroll-in entrance + ambient high-tech polish
   ========================================================================= */
.events .event-card {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
/* Stagger: second card enters slightly later */
.events .events-grid .event-card:nth-child(1) { transition-delay: 0s, 0s, 0s, 0s, 0s; }
.events .events-grid .event-card:nth-child(2) { transition-delay: 0.12s, 0.12s, 0.12s, 0s, 0s; }

/* Safety: if observer never fires (rare), reveal cards after 1.5s */
@keyframes eventCardSafetyShow {
  to { opacity: 1; transform: none; filter: none; }
}
.events .event-card:not(.is-revealed) {
  animation: eventCardSafetyShow 0.5s ease 1.5s forwards;
}

.events .event-card.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Animated teal scan-line that sweeps across each card on reveal */
.events .event-card::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(73,180,174,0.0) 20%,
    rgba(73,180,174,0.85) 45%,
    rgba(133,210,223,1) 50%,
    rgba(73,180,174,0.85) 55%,
    rgba(73,180,174,0.0) 80%,
    transparent 100%
  );
  box-shadow: 0 0 18px rgba(73,180,174,0.6);
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
  z-index: 4;
}
.events .event-card.is-revealed::after {
  animation: evCardScan 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s 1;
}
.events .events-grid .event-card:nth-child(2).is-revealed::after {
  animation-delay: 0.38s;
}
@keyframes evCardScan {
  0%   { opacity: 0; transform: translateY(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(420px); }
}

/* Inner content cascade — small upward fade for the heading + meta + lists */
.events .event-card .event-tag,
.events .event-card .event-title,
.events .event-card .event-tagline,
.events .event-card .event-meta,
.events .event-card .event-section-h,
.events .event-card .event-list,
.events .event-card .event-eligibility,
.events .event-card .event-cta {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.events .event-card.is-revealed .event-tag         { transition-delay: 0.30s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-title       { transition-delay: 0.42s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-tagline     { transition-delay: 0.52s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-meta        { transition-delay: 0.62s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-section-h,
.events .event-card.is-revealed .event-list        { transition-delay: 0.72s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-eligibility { transition-delay: 0.84s; opacity: 1; transform: none; }
.events .event-card.is-revealed .event-cta         { transition-delay: 0.94s; opacity: 1; transform: none; }

/* Second-card cascade — slightly later */
.events .events-grid .event-card:nth-child(2).is-revealed .event-tag         { transition-delay: 0.48s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-title       { transition-delay: 0.60s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-tagline     { transition-delay: 0.70s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-meta        { transition-delay: 0.80s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-section-h,
.events .events-grid .event-card:nth-child(2).is-revealed .event-list        { transition-delay: 0.90s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-eligibility { transition-delay: 1.02s; }
.events .events-grid .event-card:nth-child(2).is-revealed .event-cta         { transition-delay: 1.12s; }

@media (prefers-reduced-motion: reduce) {
  .events .event-card,
  .events .event-card .event-tag,
  .events .event-card .event-title,
  .events .event-card .event-tagline,
  .events .event-card .event-meta,
  .events .event-card .event-section-h,
  .events .event-card .event-list,
  .events .event-card .event-eligibility,
  .events .event-card .event-cta {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .events .event-card::after { display: none; }
}

/* =========================================================================
   GLOBAL TECH TITLE ANIMATION — applies to all hero H1s site-wide
   (extends the events-title-stack effect to .tech-title-anim)
   - Keeps .page-hero-title as block so the page-hero column flow stays intact
   - No mix-blend-mode (was causing bright-streak flicker through the type)
   - Faster per-char delay so long titles finish quickly
   ========================================================================= */
.tech-title-anim {
  position: relative;
  /* allow underline + glow overflow without changing layout */
  padding-bottom: 0.18em;
  /* IMPORTANT: do NOT change display from its default — overriding to
     inline-block on .page-hero-title broke hero flow (eyebrow rendered below
     title because it was also inline-flex). */
}
/* Word wrapper — keeps a word's chars on one line. Line breaks ONLY at
   whitespace between words, never mid-word (was breaking CLOSE → CLO/SE). */
.tech-title-anim .ev-word {
  display: inline-block;
  white-space: nowrap;
}
/* Per-character base state — animation kicks when .is-revealed is added */
.tech-title-anim .ev-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.16em) scale(0.94);
  filter: blur(6px);
  text-shadow: 0 0 0 rgba(73,180,174,0);
  white-space: pre;
  will-change: opacity, transform, filter;
}
.tech-title-anim.is-revealed .ev-char {
  animation: evCharIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  /* tighter cascade: long titles (40+ chars) finish within ~1.4s */
  animation-delay: calc(0.025s * var(--i, 0) + 0.08s);
}
/* Subtle teal underline tick draws in once. Anchor to the title text width
   via inline-block sizing on the underline target — but since we're keeping
   the h1 as block (full width), constrain the underline by capping its width. */
.tech-title-anim::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  max-width: 22ch;
  background: linear-gradient(90deg, transparent, var(--hfk-teal) 30%, var(--hfk-lightblue, #85D2DF) 70%, transparent);
  box-shadow: 0 0 12px rgba(73,180,174,0.6);
  pointer-events: none;
  z-index: 1;
}
.tech-title-anim.is-revealed::after {
  animation: evUnderlineTech 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}
@keyframes evUnderlineTech {
  to { width: 14ch; }
}

/* When the splitter wraps text inside an element that uses background-clip:text
   for a gradient color (em, .line-2, etc.), the per-char spans inherit
   color:transparent but each one becomes its own background-clip context —
   leaving them invisible against the dark page. Make the per-char spans
   inherit the gradient correctly so the gradient text effect survives. */
.tech-title-anim em .ev-char,
.hero-title em .ev-char,
.hero-title .line-2 .ev-char,
.page-hero-title em .ev-char {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Same gradient-inheritance fix for ev-word wrappers when they sit inside a
   gradient-clipped parent (em, .line-2). Without this, the wrapper itself
   becomes its own clipping context and chars go invisible. */
.tech-title-anim em .ev-word,
.hero-title em .ev-word,
.hero-title .line-2 .ev-word,
.page-hero-title em .ev-word {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .tech-title-anim .ev-char {
    opacity: 1; transform: none; filter: none; animation: none;
    text-shadow: 0 0 14px rgba(73,180,174,0.18);
  }
  .tech-title-anim::after { display: none; }
}

/* Safety: if for any reason .is-revealed never gets added (JS error, slow
   observer, etc.), force the title to become visible after 2.5s page-load.
   This rule is overridden by .is-revealed when it does fire. */
@keyframes techTitleSafetyShow {
  to { opacity: 1; transform: none; filter: none; }
}
.tech-title-anim:not(.is-revealed) .ev-char {
  animation: techTitleSafetyShow 0.4s ease 2.5s forwards;
}

/* ============================================================
   FAQ section (homepage)
   ============================================================ */
.faq { padding: 6rem 0; position: relative; }
.faq-container { max-width: 880px; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
  background: rgba(22, 29, 45, 0.6);
  border: 1px solid rgba(73, 180, 174, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(73, 180, 174, 0.45);
  background: rgba(22, 29, 45, 0.85);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.4rem;
  color: #49B4AE;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { content: '\2013'; transform: rotate(0deg); }
.faq-q:hover { color: #85D2DF; }
.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .faq { padding: 4rem 0; }
  .faq-q { font-size: 1.02rem; padding: 1rem 1.15rem; }
  .faq-a { padding: 0 1.15rem 1.1rem; font-size: 0.96rem; }
}
