/* ── GLOBAL DESIGN TOKENS ── */
:root {
  --ink: #0a0f1a;
  --white: #f8f8f6;
  --accent: #00c2a8;
  --accent-dim: #00a08a;
  --accent-glow: rgba(0, 194, 168, 0.12);
  --steel: #111a2e;
  --slate: #8b95a8;
  --card: #111827;
  --card-border: rgba(255,255,255,0.06);
  --divider: rgba(255,255,255,0.08);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

::selection { background: var(--accent); color: var(--ink); }
img { max-width: 100%; }
a { color: var(--accent); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.7rem 3rem; }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾'; font-size: 0.65rem;
}
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: -1rem;
  padding-top: 0.8rem;
  background: transparent;
  min-width: 240px;
}
.dropdown-menu-inner {
  background: rgba(17, 24, 39, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.6rem 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu-inner a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.dropdown-menu-inner a:hover { background: rgba(255,255,255,0.04); }
.dropdown-divider {
  height: 1px; background: var(--divider);
  margin: 0.4rem 0;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: 0.3s;
}

/* ── CONTENT PAGE HERO ── */
.page-hero {
  padding: 10rem 3rem 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-size: 0.78rem; color: var(--slate);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a {
  color: var(--slate); text-decoration: none; transition: 0.2s;
}
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead {
  font-size: 1.15rem; color: var(--slate);
  line-height: 1.75; max-width: 700px;
}

/* ── ARTICLE CONTENT ── */
.article { max-width: 900px; margin: 0 auto; padding: 3rem 3rem 6rem; }
.article h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin: 3rem 0 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
}
.article h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.article h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  color: var(--accent);
}
.article p {
  font-size: 1.02rem;
  color: rgba(248,248,246,0.84);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.article p strong { color: var(--white); font-weight: 600; }

/* Info callout boxes */
.callout {
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid;
  background: rgba(255,255,255,0.02);
}
.callout.info { border-color: var(--info); }
.callout.warning { border-color: var(--warning); }
.callout.accent { border-color: var(--accent); }
.callout-title {
  font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.callout.info .callout-title { color: var(--info); }
.callout.warning .callout-title { color: var(--warning); }
.callout.accent .callout-title { color: var(--accent); }
.callout p { margin-bottom: 0; font-size: 0.95rem; }

/* Comparison cards */
.compare-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin: 2rem 0;
}
.compare-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: 0.3s;
}
.compare-card:hover { border-color: rgba(0,194,168,0.2); transform: translateY(-3px); }
.compare-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.compare-card .tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.compare-card .tag.surgical { background: rgba(239,68,68,0.15); color: #f87171; }
.compare-card .tag.catheter { background: var(--accent-glow); color: var(--accent); }
.compare-card p { font-size: 0.9rem; margin-bottom: 0.6rem; }
.compare-card .detail-list {
  margin-top: 0.8rem;
  font-size: 0.88rem; color: var(--slate);
}
.compare-card .detail-list div {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--divider);
  display: flex; justify-content: space-between;
}
.compare-card .detail-list div:last-child { border-bottom: none; }
.compare-card .detail-list span:last-child { color: var(--white); font-weight: 500; }

/* Anatomy / illustration placeholder */
.anatomy-box {
  padding: 3rem 2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--card) 0%, var(--steel) 100%);
  border: 1px solid var(--card-border);
  text-align: center;
  margin: 2rem 0;
}
.anatomy-box svg { margin-bottom: 1rem; }
.anatomy-box .caption {
  font-size: 0.85rem; color: var(--slate); font-style: italic;
}

/* Quick-fact row */
.facts-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin: 2rem 0;
}
.fact-item {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
  text-align: center;
}
.fact-number {
  font-family: var(--serif);
  font-size: 2rem; color: var(--accent);
  line-height: 1; margin-bottom: 0.3rem;
}
.fact-label {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--slate);
}

/* Related links */
.related-nav {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}
.related-nav h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.related-links {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.related-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s;
}
.related-link:hover { border-color: rgba(0,194,168,0.25); transform: translateY(-2px); }
.related-link .arrow {
  color: var(--accent);
  font-size: 1.1rem;
  transition: 0.25s;
}
.related-link:hover .arrow { transform: translateX(4px); }
.related-link .link-text .link-label {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--slate);
}
.related-link .link-text .link-title {
  font-size: 0.95rem; color: var(--white);
  font-weight: 500;
}

/* ── PATIENT HUB CARDS (index) ── */
.hub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin: 2rem 0;
}
.hub-card {
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  text-decoration: none;
  transition: 0.35s;
  position: relative; overflow: hidden;
}
.hub-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.hub-card:hover::before { transform: scaleX(1); }
.hub-card:hover { border-color: rgba(0,194,168,0.2); transform: translateY(-4px); }
.hub-card .hub-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; color: var(--accent);
}
.hub-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem; color: var(--white);
  margin-bottom: 0.5rem;
}
.hub-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin: 0; }
.hub-card .read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--accent);
}

/* ── FOOTER ── */
footer {
  padding: 2rem 3rem; text-align: center;
  font-size: 0.78rem; color: var(--slate);
  border-top: 1px solid var(--divider);
}
.disclaimer {
  max-width: 700px; margin: 0 auto 1rem;
  font-size: 0.75rem; color: var(--slate);
  line-height: 1.6; font-style: italic;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 15, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem; gap: 1rem;
    border-bottom: 1px solid var(--divider);
  }
  .nav-links.open .dropdown-menu {
    display: block; position: static;
    background: none; border: none; box-shadow: none;
    padding-left: 1rem; margin-top: 0.3rem; padding-top: 0;
  }
  .nav-links.open .dropdown-menu-inner {
    background: none; border: none; box-shadow: none;
    padding: 0;
  }
  .hamburger { display: flex; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .article { padding: 2rem 1.5rem 4rem; }
  .compare-grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .related-links { grid-template-columns: 1fr; }
}

/* Publication links */
a.pub-item {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
a.pub-item:hover {
  background: rgba(0, 128, 128, 0.05);
}
a.pub-item:hover .pub-title {
  color: var(--accent, teal);
}


/* ── Accessibility ── */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:1rem; top:1rem; width:auto; height:auto; padding:0.65rem 1rem;
  background: var(--accent); color: var(--ink); border-radius: 10px; z-index: 9999;
  text-decoration:none; font-weight:600;
}

/* ── Selected Publications Grid ── */
.pub-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.pub-card{
  padding: 1.8rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  display:flex;
  flex-direction:column;
  gap: 0.8rem;
  transition: 0.3s;
  min-height: 220px;
}
.pub-card:hover{
  border-color: rgba(0,194,168,0.25);
  transform: translateY(-3px);
}
.pub-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 0.75rem;
}
.pub-badge{
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--divider);
  color: var(--white);
  background: rgba(255,255,255,0.02);
}
.pub-badge.nejm{ border-color: rgba(0,194,168,0.25); }
.pub-badge.lancet{ border-color: rgba(0,194,168,0.25); }
.pub-badge.circulation{ border-color: rgba(0,194,168,0.25); }
.pub-badge.jama{ border-color: rgba(0,194,168,0.25); }
.pub-badge.nrp{ border-color: rgba(0,194,168,0.25); }

.pub-year{
  font-family: var(--serif);
  font-style: italic;
  color: var(--slate);
  font-size: 0.95rem;
}
.pub-title{
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.98rem;
}
.pub-note{
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pub-cta{
  margin-top:auto;
  font-weight:600;
  color: var(--accent);
  font-size: 0.85rem;
}
.pub-links-row{
  display:flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
@media (max-width: 1100px){
  .pub-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .pub-grid{ grid-template-columns: 1fr; }
}


/* ── CONTACT FORM (Netlify) ── */
.contact-section { padding: 6rem 0 5rem; }
.contact-title { font-family: var(--serif); font-size: 2.1rem; letter-spacing: -0.02em; }
.contact-sub { margin-top: 0.8rem; color: var(--slate); max-width: 60ch; }
.contact-links { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.contact-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--divider);
  background: rgba(255,255,255,0.02);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.contact-btn:hover { transform: translateY(-1px); border-color: rgba(0,194,168,0.35); background: rgba(0,194,168,0.06); }
.contact-btn.primary { border-color: rgba(0,194,168,0.45); background: rgba(0,194,168,0.10); }
.contact-btn.secondary { color: var(--slate); }
.contact-email { margin-top: 1rem; color: var(--slate); font-size: 0.9rem; }
.contact-email .email-inline { color: var(--white); }

.contact-form-wrap {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--card-border);
  background: rgba(17, 24, 39, 0.55);
  border-radius: 16px;
}
.contact-form-title { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.contact-form { margin-top: 1rem; }
.form-honeypot { display:none; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 0.5rem; }
.form-grid label { display: grid; gap: 0.35rem; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid span { font-size: 0.8rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.09em; }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: rgba(10,15,26,0.65);
  color: var(--white);
  outline: none;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: rgba(0,194,168,0.55); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-actions { margin-top: 1rem; display:flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.form-note { color: var(--slate); font-size: 0.82rem; max-width: 70ch; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* ── HERO CTAs ── */
.hero-ctas { display:flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* ── MEDIA ── */
.media-video { width: 100%; margin-top: 0.75rem; border-radius: 18px; border: 1px solid var(--divider); background: rgba(0,0,0,0.25); }

/* ── FAQ ── */
.faq { display:flex; flex-direction: column; gap: 0.8rem; margin-top: 1.25rem; }
.faq-item { border: 1px solid var(--divider); border-radius: 18px; background: rgba(255,255,255,0.02); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 1rem 1.1rem; display:flex; justify-content: space-between; align-items:center; gap: 1rem;
  background: transparent; border: 0; color: var(--white); cursor: pointer; font-size: 1rem; font-weight: 600; }
.faq-q:hover { background: rgba(0,194,168,0.06); }
.faq-icon { font-size: 1.25rem; color: var(--accent); flex: 0 0 auto; }
.faq-a { padding: 0 1.1rem 1.1rem 1.1rem; color: var(--slate); }
.faq-a p { margin-top: 0.75rem; }
.faq-a p:first-child { margin-top: 0.25rem; }
.faq-a strong { color: var(--white); }
.faq-image { width: 100%; margin-top: 0.9rem; border-radius: 16px; border: 1px solid var(--divider); }

/* ── PUBLICATION ACTIONS ── */
.pub-actions { display:flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.9rem; }
.pub-action { display:inline-flex; align-items:center; justify-content:center; padding: 0.55rem 0.8rem; border-radius: 999px; font-weight: 600; font-size: 0.88rem; text-decoration:none; border: 1px solid var(--divider); }
.pub-action.primary { background: rgba(0,194,168,0.14); border-color: rgba(0,194,168,0.28); color: var(--white); }
.pub-action.secondary { background: rgba(255,255,255,0.02); color: var(--white); }
.pub-action:hover { transform: translateY(-1px); border-color: rgba(0,194,168,0.35); }

/* ── JOURNAL BADGE COLORS (text-only; no logos) ── */
.pub-badge.nejm { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.18); }
.pub-badge.lancet { background: rgba(185, 28, 28, 0.18); border-color: rgba(185, 28, 28, 0.32); }
.pub-badge.circulation { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.30); }
.pub-badge.jama { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.30); }
.pub-badge.nrp { background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.28); }
.pub-badge.jaccint { background: rgba(30, 58, 138, 0.20); border-color: rgba(30, 58, 138, 0.34); }


/* --- Video embeds (responsive) --- */
.media-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}
.media-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cards-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .cards-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .cards-3{ grid-template-columns: 1fr; }
}

.tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}

.fineprint{
  margin-top: 10px;
  font-size: 0.92rem;
  opacity: 0.8;
}


.video-divider{
  grid-column: 1 / -1;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 10px;
}

.divider-title{
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.divider-sub{
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.75;
  max-width: 680px;
}


/* --- Layout polish: tighter, more executive rhythm --- */
.section{
  padding: 56px 0;
}
@media (max-width: 640px){
  .section{ padding: 44px 0; }
}
.kicker{
  margin-bottom: 10px;
}
h2{
  margin-top: 0;
  margin-bottom: 14px;
}
.lead{
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 880px;
}
.card{
  border-radius: 16px;
}
.card-
.card-title{
  margin: 10px 0 10px;
}
.card-text{
  margin: 0 0 12px;
  line-height: 1.45;
}



/* --- Soft Gradient Section Dividers --- */
.section{
  position: relative;
}

.section::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.02) 40%,
    rgba(0,0,0,0.0) 100%
  );
}

#hero.section::before,
#contact.section::before{
  display: none;
}

/* Slight chapter emphasis for major pillars */
#executive.section::before,
#evidence.section::before{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.04) 40%,
    rgba(0,0,0,0.0) 100%
  );
}






/* --- Architectural Slate/Navy Theme --- */
:root{
  --bg: #172126;           /* deeper slate toward midnight navy */
  --bg2: #141c21;
  --text: #e8eef2;
  --muted: rgba(232,238,242,0.78);
  --card: rgba(255,255,255,0.045);
  --card-border: rgba(255,255,255,0.08);
  --accent: #9ec7d6;
  --accent-2: #7fb0c6;
}

body{
  background:
    radial-gradient(1200px 700px at 12% 12%, rgba(120,190,255,0.10), rgba(120,190,255,0.00) 60%),
    radial-gradient(1100px 650px at 88% 18%, rgba(70,140,200,0.08), rgba(70,140,200,0.00) 58%),
    radial-gradient(1400px 900px at 50% 70%, rgba(0,0,0,0.22), rgba(0,0,0,0.00) 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--text);
}

/* Subtle vignette for depth */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 900px at 50% 30%, rgba(0,0,0,0.00) 35%, rgba(0,0,0,0.22) 100%);
  mix-blend-mode: multiply;
  opacity: 0.6;
  z-index: -1;
}

a{ color: var(--accent); }
a:hover{ color: rgba(232,238,242,0.92); }

/* Navigation glass */
.nav{
  background-color: rgba(23,33,38,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

/* Cards: architectural contrast */
.card{
  background-color: var(--card);
  border: 1px solid var(--card-border);
}

/* Hero accent gradient wash */
#hero.section{
  padding-top: 74px;
}
#hero.section::after{
  content:"";
  position:absolute;
  inset: -40px -20px auto -20px;
  height: 340px;
  pointer-events:none;
  background:
    radial-gradient(520px 240px at 18% 38%, rgba(120,190,255,0.16), rgba(120,190,255,0.00) 68%),
    radial-gradient(520px 240px at 76% 28%, rgba(90,160,220,0.12), rgba(90,160,220,0.00) 70%);
  opacity: 0.9;
}

/* Typography refinements for architectural tone */
h1{
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2{
  font-weight: 650;
  letter-spacing: -0.01em;
}
h3{
  font-weight: 620;
}
.lead{
  color: var(--muted);
}
.kicker{
  color: rgba(232,238,242,0.74);
  letter-spacing: 0.10em;
}
.card-text, p{
  color: rgba(232,238,242,0.82);
}
.fineprint{
  color: rgba(232,238,242,0.70);
}


/* --- Video thumbnail cards --- */
.thumb-link{
  display:block;
  position: relative;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,0.04);
}
.thumb{
  width:100%;
  height:auto;
  display:block;
  transform: scale(1.01);
}
.thumb-play{
  position:absolute;
  inset:auto 14px 14px auto;
  width:44px;
  height:44px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 18px;
}
.thumb-link:hover .thumb-play{
  background: rgba(0,0,0,0.55);
}

/* Reduce visual noise slightly */
.card{
  border-color: rgba(255,255,255,0.065);
}

/* Full list link */
.full-list{
  margin-top: 10px;
}


/* --- Education badges (text-only) --- */
.edu-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: rgba(232,238,242,0.86);
}

/* --- By-the-numbers stat strip --- */
.stat-strip{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
@media (max-width: 980px){
  .stat-strip{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .stat-strip{ grid-template-columns: 1fr; }
}
.stat{
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.stat-value{
  display:block;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.stat-label{
  display:block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: rgba(232,238,242,0.74);
  line-height: 1.25;
}


.badge:hover{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
}


/* --- Institutional Distinction Strip --- */
.institutional-strip{
  margin: 28px 0 36px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.inst-item{
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.inst-title{
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}

.inst-sub{
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(232,238,242,0.72);
}

.inst-divider{
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 900px){
  .institutional-strip{
    flex-direction: column;
    align-items: flex-start;
  }
  .inst-divider{
    display:none;
  }
}
