/* 2026 visual refresh: shared finishing layer for the complete public website. */
:root,
:root[data-theme="light"] {
  --site-header-height: 80px;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4f9;
  --text: #102a4c;
  --muted: #536b82;
  --line: #d9e3ec;
  --navy: #102f5f;
  --navy-deep: #091e3a;
  --teal: #1da6a6;
  --teal-dark: #087e83;
  --mint: #d9f0ee;
  --gold: #e6ad52;
  --shadow: 0 22px 60px rgba(16, 47, 95, .1);
  --shadow-soft: 0 10px 30px rgba(16, 47, 95, .07);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --header-bg: rgba(255, 255, 255, .88);
}

/*
 * Keep in-page links clear of the sticky navigation. The header height is
 * measured in main.js, so this remains accurate when the mobile nav or font
 * metrics change. Target scroll margins are reset below to avoid applying the
 * header offset twice.
 */
html { scroll-padding-top: calc(var(--site-header-height, 80px) + 1rem); }

:target { scroll-margin-top: 0 !important; }

body {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at 4% 12%, rgba(29,166,166,.06), transparent 25rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

p { color: var(--muted); }

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.container-page { width: min(100% - 48px, 1320px); }

.site-header {
  border-bottom: 1px solid rgba(16,47,95,.08);
  box-shadow: 0 8px 30px rgba(16,47,95,.04);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav-shell {
  width: min(100% - 48px, 1320px);
  min-height: 80px;
  padding-block: .6rem;
}

.brand-logo { height: 45px; }
.primary-menu, .nav-list { gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav-list a, .nav-list button { font-size: .9rem; font-weight: 650; letter-spacing: -.01em; }
.nav-list > li > a::after, .menu-title::after { bottom: -.62rem; height: 3px; background: var(--teal); }

.dropdown {
  top: calc(100% + 22px);
  min-width: 270px;
  padding: .65rem;
  border-color: rgba(16,47,95,.1);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(9,30,58,.14);
}

.dropdown a { padding: .82rem .9rem; border-radius: 10px; }
.dropdown a:hover { background: #eef8f7; transform: translateX(2px); }

.btn {
  min-height: 50px;
  padding: .85rem 1.35rem;
  border-radius: 12px;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover, .btn:focus-visible { transform: none; filter: none; }
.btn-primary { background: linear-gradient(135deg, #0d8f91, #123b70); box-shadow: 0 12px 28px rgba(13,143,145,.2); }
.btn-outline { border-color: rgba(16,47,95,.18); background: rgba(255,255,255,.78); color: var(--navy); }

/* Match homepage section CTAs to the primary buttons in the hero and menu. */
.home-imaging-button,
.home-nuclear-button,
.home-solutions-copy a {
  min-height: 50px;
  padding: .85rem 1.35rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d8f91, #123b70);
  color: #fff;
  font-size: .93rem;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.01em;
  box-shadow: 0 12px 28px rgba(13,143,145,.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-imaging-button:hover,
.home-imaging-button:focus-visible,
.home-nuclear-button:hover,
.home-nuclear-button:focus-visible,
.home-solutions-copy a:hover,
.home-solutions-copy a:focus-visible {
  color: #fff;
  transform: none;
  box-shadow: 0 16px 34px rgba(13,143,145,.28);
}

.home-imaging-button i,
.home-nuclear-button i,
.home-solutions-copy a i { transition: transform 180ms ease; }

.home-imaging-button:hover i,
.home-imaging-button:focus-visible i,
.home-nuclear-button:hover i,
.home-nuclear-button:focus-visible i,
.home-solutions-copy a:hover i,
.home-solutions-copy a:focus-visible i { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 9px; background: currentColor; }
.hero-eyebrow { color: #9ee1dc; font-size: .77rem; }

.hero-section { min-height: min(820px, calc(100svh - 80px)); background: var(--navy-deep); }
.hero-section::after {
  background:
    linear-gradient(90deg, rgba(5,22,43,.94) 0%, rgba(12,49,99,.78) 32%, rgba(8,106,133,.3) 48%, transparent 64%);
}
.hero-grid { min-height: min(820px, calc(100svh - 80px)); }
.hero-copy { max-width: 780px; }
.hero-copy h1 { font-size: clamp(2.75rem, 4.75vw, 4.75rem); line-height: 1.02; letter-spacing: -.06em; }
.hero-lead { max-width: 670px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.hero-buttons { gap: .8rem; }

.company-hero,
.company-page .company-hero {
  min-height: clamp(300px, 42vh, 430px);
  background:
    radial-gradient(circle at 78% 24%, rgba(29,166,166,.35), transparent 26%),
    radial-gradient(circle at 16% 88%, rgba(82,139,199,.24), transparent 34%),
    linear-gradient(125deg, #091e3a, #123b70 64%, #075f69);
}

.company-hero::before {
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black 40%, black);
}

.company-hero-content,
.company-page .company-hero-content { width: min(100% - 48px, 920px); }
.company-hero-content h1,
.company-page .company-hero-content h1 { margin: 1.15rem 0 .7rem; font-size: clamp(3.15rem, 6vw, 5.4rem); font-weight: 750; letter-spacing: -.06em; }
.company-hero-content h1::after,
.company-page .company-hero-content h1::after { width: 96px; height: 3px; margin-top: 1rem; background: #62d4ce; }

/* Keep decorative title rules exclusive to page banners and the footer. */
main :is(h1, h2, h3, h4, h5, h6)::after,
main [class*="section-heading"]::after,
main .philosophy-intro::after {
  display: none !important;
}

main .company-hero-content h1::after {
  display: block !important;
}
.page-breadcrumbs { padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); font-size: .78rem; backdrop-filter: blur(10px); }
.page-breadcrumbs a, .page-breadcrumbs i { color: #9ee1dc; }
.company-title-note, .company-page .company-title-note { max-width: 740px; color: rgba(255,255,255,.82); font-size: .98rem; font-weight: 550; line-height: 1.55; }
.company-title-note i { color: #9ee1dc; }

:where(.home-imaging-card, .home-solutions-panel, .home-nuclear-panel, .home-global-card,
  .home-therapeutic-card, .home-event-card, .home-news-card,
  .company-science-panel, .company-leadership-card, .company-office-card,
  .services-unified-panel, .services-service-card, .contact-form, .contact-direct-card,
  .careers-position-card, .news-card, .privacy-content, .job-content) {
  border-color: rgba(16,47,95,.1) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-soft);
}

:where(.home-therapeutic-card, .home-event-card, .home-news-card, .company-leadership-card,
  .company-office-card, .services-service-card, .contact-direct-card, .careers-position-card, .news-card) {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

:where(.home-therapeutic-card, .home-event-card, .home-news-card, .company-leadership-card,
  .company-office-card, .services-service-card, .contact-direct-card, .careers-position-card, .news-card):hover {
  transform: translateY(-5px);
  border-color: rgba(29,166,166,.3) !important;
  box-shadow: 0 22px 50px rgba(16,47,95,.12);
}

.home-news-card figure, .news-card figure,
.company-radiopharma-video, .home-solutions-image, .home-solutions-placeholder,
.home-nuclear-image { overflow: hidden; border-radius: var(--radius-md) !important; }

.home-therapeutic-image,
.home-therapeutic-image img {
  border-radius: 0;
}

.home-therapeutic-card {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

:where(.home-therapeutic-image, .home-news-card figure, .news-card figure) img { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
:where(.home-therapeutic-card, .home-news-card, .news-card):hover img { transform: scale(1.04); }

.contact-form input, .contact-form select, .contact-form textarea,
.privacy-page input, .privacy-page select, .privacy-page textarea {
  border-radius: 12px !important;
  border-color: #d2dee9 !important;
  background: #fbfdff !important;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 4px rgba(29,166,166,.1) !important;
}

.footer {
  --footer-bg: radial-gradient(circle at 85% 0%, rgba(29,166,166,.22), transparent 30%), linear-gradient(135deg, #081b35, #102f5f 72%, #075b65);
  margin-top: 0;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  border-top: 0;
}

.footer-logo { width: 105px; }
.footer h3 { font-size: .75rem; letter-spacing: .14em; }
.footer p, .footer a { color: rgba(255,255,255,.72); }
.socials a { width: 40px; background: rgba(255,255,255,.09); }
.back-to-top { width: 50px; background: var(--teal-dark); border: 0; }

.nav-list > li > a::after,
.menu-title::after {
  background: var(--teal);
}

/* Keep videos and their clipping panels rectangular at every screen size. */
.home-solutions-showcase, .home-solutions-panel, .home-nuclear-panel,
.home-solutions-image, .home-solutions-placeholder, .home-nuclear-image,
.company-radiopharma-video, .services-category-media, .imaging-visual-card,
.imaging-intro-grid, .services-category:has(video), video {
  border-radius: 0 !important;
}

/* Show strategy videos and their posters in their original colors. */
figure.strategy-video-tint::after {
  display: none;
}

figure.strategy-video-tint,
figure.strategy-video-tint video {
  background: #fff;
  background-blend-mode: normal;
}

figure.strategy-video-tint video,
.services-category-media.strategy-video-tint video {
  filter: none;
}

@media (max-width: 980px) {
  .primary-menu { background: #fff; }
  body.menu-open .site-header { background: #fff; }

  /* Keep desktop hover decorations out of the touch accordion. */
  .nav-list > li > a::after,
  .menu-heading .menu-title::after { display: none; }

  .menu-heading .submenu-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
  }

  .menu-heading .submenu-toggle:hover,
  .menu-heading .submenu-toggle:focus-visible {
    background: transparent;
  }

  .has-menu .dropdown {
    min-width: 0;
    max-width: 100%;
    margin-top: .25rem;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .container-page, .nav-shell { width: min(100% - 32px, 1320px); }
  /* Stack before the desktop columns outgrow the available content width. */
  .home-solutions-showcase, .home-solutions-panel, .home-nuclear-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .home-solutions-placeholder { order: 0; border-left: 0; }
  .home-imaging-video-media video,
  .services-category-media.strategy-video-tint video,
  .services-category-media.video-source-container video,
  .expertise-page .expertise-image-placeholder.has-image.strategy-video-tint video {
    object-fit: fill;
  }
  /* Let the strategy video's natural ratio set the mobile container height. */
  .home-strategy-video-media {
    height: auto;
    min-height: 0;
  }
  .home-strategy-video-media video {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .home-solutions-copy { order: 1; }
  .home-imaging-card, .home-solutions-copy, .home-nuclear-copy {
    height: auto;
    min-height: 0;
    padding: 1.25rem;
  }
  .nav-shell { min-height: 72px; }
  .brand-logo { height: 40px; }
  .nav-toggle { border-radius: 12px; }
  .hero-section, .hero-grid { min-height: calc(100svh - 72px); }
  .hero-copy h1 { font-size: clamp(2.55rem, 9.5vw, 4rem); }
  .company-hero-content, .company-page .company-hero-content { width: min(100% - 32px, 920px); }
}

@media (max-width: 600px) {
  .container-page { width: min(100% - 32px, 1320px); }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    flex: 0 0 44px;
    color: var(--navy);
    background: var(--surface-soft);
  }
  .hero-grid, .hero-copy, .hero-copy h1, .hero-lead, .hero-buttons { min-width: 0; max-width: 100%; }
  .hero-copy h1 { white-space: normal; overflow-wrap: anywhere; letter-spacing: -.055em; }
  .hero-title-break { display: none; }
  .company-hero, .company-page .company-hero { min-height: 340px; }
  .company-hero-content h1, .company-page .company-hero-content h1 { font-size: clamp(2.8rem, 15vw, 4.1rem); }
  .company-title-note, .company-page .company-title-note { font-size: .9rem; }
  .footer { padding-top: 3.5rem; }
}

/* Mobile spacing belongs after the finishing layer so desktop values cannot
   override the smaller layouts in responsive.css. */
@media (max-width: 760px) {
  :root {
    --mobile-section-space: 2rem;
    --mobile-card-space: 1.25rem;
  }

  .container-page, .nav-shell,
  .company-hero-content, .company-page .company-hero-content {
    width: calc(100% - 40px);
  }

  .hero-section, .hero-grid { min-height: 0; height: auto; }
  /* A smaller crop position moves the visible artwork to the right. */
  .hero-media {
    object-position: 30% center;
    /* Extend below the clipped hero to lower the artwork without a top gap. */
    height: calc(100% + 3rem);
  }
  .hero-grid { width: calc(100% - 28px); padding-block: 2.25rem 5rem; }
  .hero-copy { display: flex; flex-direction: column; gap: 0; }
  .hero-copy .hero-eyebrow { margin: 0 0 1rem; line-height: 1.2; }
  .hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 10vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: initial;
    overflow-wrap: normal;
  }
  .hero-copy .hero-title-break { display: block; }
  .hero-lead {
    margin: 0 0 1.5rem;
    max-width: min(100%, 32em);
    font-size: min(4vw, 1.25rem);
    line-height: 1.6;
    text-wrap: balance;
  }
  .hero-buttons {
    margin-top: 0;
    gap: .75rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-buttons .btn { width: auto; max-width: 100%; }

  .company-hero, .company-page .company-hero {
    height: auto;
    min-height: 0;
    padding-block: 2.5rem;
  }
  .company-hero-content h1, .company-page .company-hero-content h1 {
    margin-block: 1rem;
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }
  .page-breadcrumbs { flex-wrap: wrap; justify-content: center; }
  .eyebrow { line-height: 1.5; }
  .eyebrow::before { flex-shrink: 0; }

  .home-global-section, .home-therapeutic-section,
  .home-news-imaging-section .home-news-events-section,
  .home-news-imaging-section .home-capabilities-flow,
  .services-catalog, .expertise-deep-dive, .imaging-flow,
  .careers-content, .contact-intake, .contact-presence,
  .contact-cta-section, .news-events-section, .privacy-content {
    padding-block: var(--mobile-section-space);
  }
  .home-capabilities-stack { gap: var(--mobile-section-space); }
  .home-imaging-section { padding-bottom: var(--mobile-section-space); }
  .home-solutions-section, .home-nuclear-section { padding-block: 0; }

  .home-global-card, .home-imaging-card, .home-solutions-copy,
  .home-nuclear-copy, .home-events-panel, .home-news-panel,
  .home-therapeutic-content, .contact-form, .contact-cta,
  .services-category-copy, .privacy-document {
    padding: var(--mobile-card-space);
  }
  .home-global-card { gap: 1.25rem; }
  .home-news-events-grid, .home-therapeutic-grid { gap: 1.5rem; }
  .home-global-metrics {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: .5rem;
  }
  .home-global-metrics article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: .85rem;
    min-height: 70px;
    padding: .75rem 1rem;
  }
  .home-global-metrics span { white-space: normal; line-height: 1.2; }
  .home-event-list { margin-inline: calc(-1 * var(--mobile-card-space)); }
  .home-event-card { padding: 1rem var(--mobile-card-space); gap: .5rem .75rem; }
  .home-news-list { gap: .75rem; }
  .home-imaging-button, .home-nuclear-button, .home-solutions-copy a {
    margin-top: 1.25rem;
    max-width: 100%;
    line-height: 1.35;
  }

  .imaging-flow-stack, .careers-intro-grid,
  .contact-intake-grid, .news-events-layout { gap: var(--mobile-section-space); }
  .company-page .company-flow .company-flow-stack > section { padding-block: var(--mobile-section-space); }
  .company-page .company-history { padding-block: 0; }

  .footer { padding-top: 2.5rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-logo { margin-bottom: 1.25rem; }
  .footer h3 { margin-bottom: .5rem; }
  .footer-bottom { margin-top: 2rem; padding-block: 1.25rem; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
