/* ================================================================
   Ossentia Medical — Main Stylesheet
   Clean & Clinical | GoDaddy-Ready Static Site
   ================================================================ */

/* ----------------------------------------------------------------
   Custom Properties
   ---------------------------------------------------------------- */
:root {
  --navy-900:    #0e1b32;
  --navy-800:    #1a2d5a;
  --navy-700:    #1f3668;
  --navy-500:    #2d4a8a;
  --navy-300:    #4a6fa5;
  --navy-100:    #e8eef8;
  --accent:      #3a62b3;
  --white:       #ffffff;
  --off-white:   #f5f7fb;
  --gray-100:    #eef1f7;
  --gray-200:    #dde3ef;
  --gray-400:    #9aa5be;
  --gray-600:    #5c6a85;
  --text-dark:   #0e1b32;
  --text-body:   #3d4a60;
  --text-light:  rgba(255, 255, 255, 0.88);
  --text-muted:  rgba(255, 255, 255, 0.55);
  --success:     #1a7a45;
  --success-bg:  #e6f4ec;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 6px rgba(14, 27, 50, 0.07);
  --shadow-md:   0 4px 20px rgba(14, 27, 50, 0.11);
  --shadow-lg:   0 8px 40px rgba(14, 27, 50, 0.15);
  --max-w:       1100px;
  --pad-section: 96px;
}


/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }

strong { font-weight: 600; color: var(--text-dark); }


/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--pad-section) 0; }
.section--light       { background: var(--off-white); }
.section--navy        { background: var(--navy-800); }
.section--navy-subtle { background: var(--navy-100); }


/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn--primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--full { width: 100%; }


/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 42px; width: auto; }
.nav__logo-text {
  flex-direction: column;
  line-height: 1;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.site-header.scrolled .nav__logo-name { color: var(--navy-800); }
.nav__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 2px;
}
.site-header.scrolled .nav__logo-sub { color: var(--gray-400); }

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.site-header.scrolled .nav__link { color: var(--text-dark); }
.nav__link:hover { background: rgba(255, 255, 255, 0.12); }
.site-header.scrolled .nav__link:hover { background: var(--gray-100); }

.nav__link--cta {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 8px 20px;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--navy-700) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.2s;
}
.site-header.scrolled .nav__toggle span { background: var(--text-dark); }


/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0a1628 0%, #122247 35%, #1a2d5a 65%, #1c3362 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 85% 45%, rgba(58, 98, 179, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 15% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7aabff;
  background: rgba(74, 111, 165, 0.2);
  border: 1px solid rgba(74, 111, 165, 0.35);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__subtext {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  row-gap: 20px;
}

.hero__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.hero__stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
.hero__stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  margin: 0 28px;
}


/* ----------------------------------------------------------------
   Section Headers
   ---------------------------------------------------------------- */
.section__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__eyebrow--light { color: #7aabff; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.section__subtitle--light { color: var(--text-light); }


/* ----------------------------------------------------------------
   About Section
   ---------------------------------------------------------------- */
.about {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,111,165,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}

.about__left .section__eyebrow { color: #7aabff; margin-bottom: 14px; }

.about__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.about__left p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__cta { margin-top: 10px; }

/* About card */
.about__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.about__card-logo {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.about__card-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.about__card-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.85;
}

.about__facts { display: flex; flex-direction: column; gap: 14px; }

.about__fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.4;
}
.about__fact svg {
  color: #7aabff;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .about__layout { grid-template-columns: 1fr; gap: 36px; }
}


/* ----------------------------------------------------------------
   Applications Section (Slide 3)
   ---------------------------------------------------------------- */
.apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.apps__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.apps__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.apps__category {
  padding: 16px 20px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
}

.apps__example {
  padding: 4px 20px 14px;
  font-size: 0.82rem;
  color: var(--gray-600);
  font-style: italic;
}

.apps__image {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.apps__image--shoulder,
.apps__image--knee,
.apps__image--wrist {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--white);
}
.apps__image--shoulder { background-image: url('../images/app-rotator-cuff.jpg'); }
.apps__image--knee     { background-image: url('../images/app-acl.jpg'); }
.apps__image--wrist    { background-image: url('../images/app-fracture.jpg'); }

.apps__device {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.apps__device-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.apps__device-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

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


/* ----------------------------------------------------------------
   Problem Section
   ---------------------------------------------------------------- */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* Pull-out rate bars */
.problem__stat-block {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.problem__stat-row { display: flex; flex-direction: column; gap: 6px; }

.problem__stat-label-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.problem__bar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.problem__bar {
  flex: 1;
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
}

.problem__bar-fill {
  height: 100%;
  width: 0;
  border-radius: 5px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--navy-500);
}
.problem__bar-fill--high { background: #b52a2a; }

.problem__pct {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-800);
  min-width: 58px;
  text-align: right;
}
.problem__pct--alert { color: #b52a2a; }

.problem__bar-caption {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.3;
}
.problem__stat-row--alert .problem__bar-caption { font-weight: 500; }

.problem__source {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Bullet points */
.problem__bullets { display: flex; flex-direction: column; gap: 16px; }

.problem__bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.problem__bullet-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  margin-top: 2px;
}
.problem__bullet p { font-size: 0.925rem; line-height: 1.6; }

/* Visual panel */
.problem__visual { position: sticky; top: 100px; }

.problem__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
}
.problem__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.problem__image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--gray-100), var(--gray-200));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  text-align: center;
  padding: 32px;
}
.problem__image-placeholder p { font-size: 0.875rem; line-height: 1.4; }
.problem__image-hint {
  font-size: 0.7rem;
  background: var(--gray-200);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--gray-600);
  margin-top: 4px;
}

.problem__image-caption {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}


/* ----------------------------------------------------------------
   Technology Section
   ---------------------------------------------------------------- */
.tech__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.tech__device-frame {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.tech__device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.tech__device-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 180px;
  justify-content: center;
}
.tech__device-placeholder p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
  text-align: center;
}

.tech__device-labels { display: flex; flex-direction: column; gap: 10px; }

.tech__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.3;
}
.tech__dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: #7aabff;
  border-radius: 50%;
}

/* Mode cards */
.tech__modes { display: flex; flex-direction: column; gap: 16px; }

.tech__mode {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.tech__mode:hover { background: rgba(255, 255, 255, 0.08); }

.tech__mode-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(74, 111, 165, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aabff;
}

.tech__mode-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.tech__mode-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Callout stat */
.tech__callout {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(122, 171, 255, 0.3);
  border-left: 4px solid #7aabff;
  border-radius: var(--radius);
}

.tech__callout-stat {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: #7aabff;
  line-height: 1;
  flex-shrink: 0;
}
.tech__callout-text {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.65;
}
.tech__callout-text strong { color: var(--white); }


/* ----------------------------------------------------------------
   Value Proposition
   ---------------------------------------------------------------- */
.value__flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
}

.value__card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value__card-icon {
  width: 68px;
  height: 68px;
  background: var(--navy-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy-800);
}

.value__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.value__card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

.value__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--navy-300);
  flex-shrink: 0;
}

.value__footnote {
  font-size: 0.77rem;
  color: var(--gray-400);
  text-align: center;
  font-style: italic;
}


/* ----------------------------------------------------------------
   Research Section
   ---------------------------------------------------------------- */
.research__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.research__pillar {
  padding: 28px 22px;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius);
  background: var(--white);
}

.research__pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  margin-bottom: 14px;
}

.research__pillar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.research__pillar ul { display: flex; flex-direction: column; gap: 9px; }
.research__pillar li {
  font-size: 0.855rem;
  line-height: 1.55;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}
.research__pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* Publications */
.publications {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.publications__heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  margin-bottom: 18px;
}

.publications__list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.publications__list li {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.55;
}

.publications__note {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 14px;
}


/* ----------------------------------------------------------------
   News Section
   ---------------------------------------------------------------- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.news__tag--investment { background: #e8f0fb; color: var(--navy-800); }
.news__tag--grant      { background: #e6f4ec; color: #1a6b3a; }
.news__tag--publication{ background: #fff3e0; color: #a85800; }

.news__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
}

.news__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.news__desc {
  font-size: 0.855rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}

/* CTA card — navy background */
.news__card--cta {
  background: var(--navy-800);
  border-color: var(--navy-800);
  justify-content: center;
}
.news__card--cta:hover { background: var(--navy-700); }

.news__cta-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news__cta-inner h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.news__cta-inner p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}
.news__cta-inner .btn--primary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  align-self: flex-start;
}
.news__cta-inner .btn--primary:hover {
  background: var(--off-white);
  border-color: var(--off-white);
}

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


/* ----------------------------------------------------------------
   Stage of Development
   ---------------------------------------------------------------- */
.dev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dev__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.dev__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.dev__card-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.dev__card-header svg {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 6px;
  border-radius: 7px;
}
.dev__card-header--tech svg { background: #e8f0fb; color: var(--navy-800); }
.dev__card-header--reg  svg { background: #e6f4ec; color: #1a6b3a; }
.dev__card-header--mkt  svg { background: #fff3e0; color: #a85800; }

.dev__card ul { display: flex; flex-direction: column; gap: 9px; }
.dev__card li {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.dev__card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}


/* ----------------------------------------------------------------
   Intellectual Property
   ---------------------------------------------------------------- */
.ip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ip__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.ip__card:hover { box-shadow: var(--shadow-md); }

.ip__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 7px;
}

.ip__date {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 14px;
  font-family: 'Courier New', monospace;
}

.ip__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.ip__card p {
  font-size: 0.855rem;
  color: var(--text-body);
  line-height: 1.65;
}


/* ----------------------------------------------------------------
   Team
   ---------------------------------------------------------------- */
.team__intro {
  font-size: 1.25rem;
  color: var(--text-body);
  line-height: 1.6;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.team__group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.team__group-label--second { margin-top: 52px; }

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

.team__card {
  padding: 26px 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.team__card:hover { box-shadow: var(--shadow-md); }
.team__card--advisor { background: var(--off-white); }

.team__avatar {
  width: 48px;
  height: 48px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.team__avatar--advisor { background: var(--navy-300); }

.team__name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.team__role {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.team__card ul { display: flex; flex-direction: column; gap: 6px; }
.team__card li {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}
.team__card li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gray-400);
}

.team__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.team__linkedin:hover {
  background: var(--navy-100);
  color: var(--navy-800);
}


/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
.contact__layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info .section__eyebrow { margin-bottom: 10px; }
.contact__info .section__title {
  text-align: left;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}

.contact__desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__details { display: flex; flex-direction: column; gap: 16px; }

.contact__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact__detail-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--gray-100);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}
.contact__detail-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 0.9rem;
  color: var(--text-dark);
}
a.contact__detail-value:hover { color: var(--accent); }

/* Form */
.contact__form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__group { display: flex; flex-direction: column; gap: 5px; }

.form__group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 98, 179, 0.1);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #bcc5d8; }

.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa5be' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

.form__group textarea { resize: vertical; min-height: 96px; }

.form__success {
  text-align: center;
  padding: 12px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}


/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--navy-800);
  padding: 52px 0 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.footer__logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  opacity: 0.8;
}
.footer__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.82rem;
  color: var(--text-light);
  transition: color 0.15s;
}
.footer__nav a:hover { color: var(--white); }

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   Visual Refresh — less white-paper, more startup
   ---------------------------------------------------------------- */

/* Hero: subtle mesh overlay for depth */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Section dividers — colored top border for visual punctuation */
.section--navy .section__header::after,
.about .section__header::after { display: none; }

/* Make large numbers/stats feel more editorial throughout */
.problem__pct,
.tech__callout-stat,
.hero__stat-number {
  font-feature-settings: 'tnum';
}

/* Problem section: make the stat numbers more dramatic */
.problem__pct {
  font-size: 2rem;
}
.problem__pct--alert {
  font-size: 2.6rem;
}

/* Research pillars: add a subtle hover lift */
.research__pillar {
  transition: transform 0.2s, box-shadow 0.2s;
}
.research__pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Dev cards: match pillar hover */
.dev__card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.dev__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* IP cards: bolder top accent */
.ip__card {
  border-top: 3px solid var(--navy-800);
}

/* Tech callout: make the stat even more prominent */
.tech__callout-stat {
  font-size: 5rem;
}

/* Soften the publications list — less academic, more readable */
.publications {
  border-left: 4px solid var(--navy-800);
  border-top: none;
  border-right: none;
  border-bottom: none;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Value cards: add a colored top strip */
.value__card {
  border-top: 3px solid var(--navy-800);
}

/* Team cards: warmer feel */
.team__card {
  border-radius: var(--radius-lg);
}
.team__avatar {
  width: 52px;
  height: 52px;
  font-size: 0.85rem;
  border-radius: 12px;
}

/* Footer: add subtle top border */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Make section eyebrows feel more like labels */
.section__eyebrow {
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}


/* ----------------------------------------------------------------
   Scroll Animations
   ---------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------------
   Responsive — Tablet (≤ 960px)
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  :root { --pad-section: 72px; }

  .problem__grid,
  .tech__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem__visual { display: none; }
  .tech__layout { grid-template-columns: 1fr; }

  .value__flow {
    flex-direction: column;
    align-items: stretch;
  }
  .value__arrow {
    transform: rotate(90deg);
    align-self: center;
    padding: 8px 0;
  }

  .research__pillars { grid-template-columns: 1fr; gap: 16px; }
  .dev__grid          { grid-template-columns: 1fr; }
  .ip__grid           { grid-template-columns: 1fr; }
  .team__grid         { grid-template-columns: repeat(2, 1fr); }

  .tech__callout {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero__stat-divider { width: 100%; height: 1px; margin: 0; }
  .hero__stat { align-items: flex-start; }
}


/* ----------------------------------------------------------------
   Responsive — Mobile (≤ 640px)
   ---------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --pad-section: 56px; }

  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
    z-index: 190;
  }
  .nav__links.is-open .nav__link { color: var(--text-dark); }
  .nav__links.is-open .nav__link--cta { color: var(--white) !important; }

  .hero__content { padding-top: 100px; padding-bottom: 60px; }
  .hero__headline { font-size: 2.6rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .team__grid { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; }

  .publications { padding: 24px 20px; }
  .contact__form { padding: 24px 20px; }
}
