/* Morphomics affiliation update, 7 November 2026.
   The original EmbryoNet styles and scientific content are retained. */
:root { --header-h: 88px; --morphomics-navy: #0b2840; }

.morphomics-announcement {
  background: #eaf4fb;
  border-bottom: 1px solid #cbdfea;
  color: var(--morphomics-navy);
  padding: 17px 0;
}
.announcement-inner { display: flex; align-items: center; gap: 26px; }
.announcement-brand { display: block; flex: 0 0 174px; }
.announcement-brand img { display: block; width: 174px; height: auto; }
.announcement-inner p { margin: 0; flex: 1; font-size: 13px; line-height: 1.5; }
.announcement-inner strong { display: block; font-weight: 700; }
.announcement-inner p span { display: block; color: #375269; }
.announcement-link { flex: none; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 9px 0; }
.announcement-link span { margin-left: 5px; }
.announcement-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; }
.brand-relationship { margin-left: 53px; color: #31536c; font-size: 11px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.brand-relationship:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-affiliation { color: #31536c; font-size: .73em; font-family: var(--sans); font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .btn { min-height: 49px; height: auto; padding: 14px 22px; line-height: 1.35; font-size: 13px; }
.btn-morphomics { background: var(--morphomics-navy); color: #fff; border-color: var(--morphomics-navy); }
.btn-morphomics:hover { background: #16486c; border-color: #16486c; }
.technology-affiliation a, .services-affiliation a { color: var(--blue-dark); text-underline-offset: 3px; font-weight: 600; }
.services-affiliation { margin: -15px 0 32px; font-size: 15px; color: var(--text-2); }

.morphomics-feature { padding: 42px 0; }
.morphomics-feature-inner { display: flex; align-items: center; gap: 52px; }
.morphomics-feature-copy { flex: 1; }
.morphomics-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.morphomics-feature h2 { margin-bottom: 15px; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; }
.morphomics-feature-copy > p:last-child { font-size: 15px; line-height: 1.65; margin: 0; max-width: 760px; }
.morphomics-feature .btn { flex: none; gap: 10px; text-transform: none; letter-spacing: 0; padding-inline: 25px; }

.funding-section { background: #f5f8fb; }
.funding-story { max-width: 900px; }
.funding-label { margin: 0 0 10px; color: #35607c; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.funding-story h3 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.funding-story > p:not(.funding-label) { color: #3d4c58; font-size: 15px; line-height: 1.7; max-width: 830px; }
.funding-more { display: inline-block; color: var(--blue-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.funding-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.funding-story-erc { border-top: 1px solid #d6e1ea; padding-top: 34px; margin-top: 36px; }
.funding-story-erc h3 { font-size: 21px; }
.contact-primary-email { font-weight: 700; }
.site-footer nav { flex-wrap: wrap; }
.site-footer p a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .announcement-inner { gap: 20px; }
  .announcement-brand { flex-basis: 145px; }
  .announcement-brand img { width: 145px; }
  .announcement-inner p { font-size: 12px; }
  .announcement-link { font-size: 12px; }
  .morphomics-feature-inner { gap: 32px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--grey-bg); border-bottom: 1px solid var(--border); padding: .5rem var(--edge) 1.25rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .morphomics-feature-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 760px) {
  .announcement-inner { flex-wrap: wrap; gap: 10px 18px; align-items: center; }
  .announcement-brand { flex-basis: auto; }
  .announcement-brand img { width: 155px; }
  .announcement-inner p { order: 3; flex-basis: 100%; font-size: 12px; }
  .announcement-link { margin-left: auto; font-size: 12px; }
  .morphomics-feature { padding: 34px 0; }
  .morphomics-feature-copy > p:last-child { font-size: 14px; }
  .services-affiliation { margin-top: -18px; }
  .funding-story > p:not(.funding-label) { font-size: 14px; }
}
@media (max-width: 400px) {
  .announcement-brand img { width: 130px; }
  .announcement-inner { column-gap: 12px; }
  .announcement-link { font-size: 11px; }
  .hero-kicker { font-size: 20px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
}
