
:root {
  --navy: #0d47a1;
  --navy-dark: #0b2f6b;
  --gold: #c99a2e;
  --gold-soft: #e6d2a1;
  --text: #1e293b;
  --muted: #5b677a;
  --bg: #f7f9fc;
  --card: #ffffff;
  --border: #d8e0ee;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

li {
  margin-bottom: .6rem;
  line-height: 1.65;
}

.container {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 120px;
}

.brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .85rem;
}

.nav a {
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
}

.hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #f9fbff 0%, #edf3fb 100%);
}

.hero-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 18px 45px rgba(13, 71, 161, .18);
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1rem;
  color: #f0c55f;
  margin-bottom: .5rem;
}

h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy-dark);
}

h3 {
  font-size: 1.4rem;
  color: var(--navy-dark);
}

.lead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  color: rgba(255,255,255,.95);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: white;
  color: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: white;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.pill-row span {
  background: rgba(255,255,255,.14);
  color: white;
  padding: .65rem 1rem;
  border-radius: 999px;
  font-size: .95rem;
  border: 1px solid rgba(255,255,255,.18);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--bg);
}

.section-intro {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 1.2rem 0;
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
}

.card ul {
  margin: .5rem 0 0 1.15rem;
  padding: 0;
}

.notice-card {
  border-left: 5px solid var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.contact-card p, .form-card p {
  margin: .75rem 0;
}

.form-intro {
  color: var(--muted);
}

.form-row {
  display: grid;
  gap: .35rem;
  margin-bottom: .95rem;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
}

label {
  font-weight: 600;
  color: var(--navy-dark);
}

input, textarea, select {
  width: 100%;
  padding: .85rem .95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--text);
  background: white;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(13,71,161,.16);
  border-color: var(--navy);
}

.form-note {
  color: #8a5b00;
  background: #fff6e4;
  border: 1px solid #f0d28c;
  border-radius: 14px;
  padding: .9rem 1rem;
}

.site-footer {
  background: #0f172a;
  color: #dce5f2;
  padding: 2.25rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr .8fr;
  gap: 1.35rem;
  align-items: start;
}

.footer-logo {
  height: 80px;
  margin-bottom: .5rem;
  width: auto;
  object-fit: contain;
}

.footer-legal {
  font-weight: 700;
  color: white;
  margin-bottom: .25rem;
}

.site-footer h4 {
  color: white;
  margin-bottom: .55rem;
}

.site-footer a {
  color: #f2d38a;
}

.site-footer p {
  margin: 0 0 .55rem;
  line-height: 1.6;
}

.site-footer .quick-contact p {
  margin-bottom: .35rem;
}

.site-footer .quick-contact p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .cards-3, .cards-2, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}
}

@media (max-width: 640px) {
  .hero-card { padding: 1.5rem; }
  .form-row.two { grid-template-columns: 1fr; }
  .nav { gap: .9rem; }
  .brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}
}


/* 2026-03-28 refinement */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 120px;
}

.brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}

.nav {
  gap: 1rem;
}

.nav a {
  font-size: 1.24rem;
  font-weight: 600;
}

.hero-card {
  text-align: center;
  padding: 3.35rem 3rem;
}

.hero-card h1,
.hero-card .lead,
.hero-card .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-card h1 {
  max-width: 980px;
}

.hero-card .lead {
  max-width: 960px;
}

.pill-row {
  justify-content: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.btn-secondary-gold {
  background: var(--navy-dark);
  color: white;
  border-color: var(--navy-dark);
}

.footer-logo {
  height: 80px;
  margin-bottom: .5rem;
  width: auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  .brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}
  .nav a { font-size: 1.08rem; }
  .hero-card { text-align: left; }
  .pill-row { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .brand-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
}
  .nav a { font-size: 1rem; }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 100px;
  }
  .brand-logo {
    height: 92px;
  }
  .nav a {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: auto;
    padding: .75rem 0;
    flex-direction: column;
  }
  .brand-logo {
    height: 82px;
  }
  .nav {
    justify-content: center;
  }
  .nav a {
    font-size: 1rem;
  }
}


.header-inner {
  min-height: 126px;
}

.brand-logo {
  height: 148px;
}

.nav a {
  font-size: 1.12rem;
}

.hero.hero-slider {
  position: relative;
  min-height: 700px;
  padding: 0;
  overflow: hidden;
  background: #0b2f6b;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  animation: heroFade 18s infinite;
  transform: scale(1.03);
}

.slide-1 { background-image: url('slide1.png'); animation-delay: 0s; }
.slide-2 { background-image: url('slide2.png'); animation-delay: 6s; }
.slide-3 { background-image: url('slide3.png'); animation-delay: 12s; }

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 32, 79, 0.72) 0%, rgba(10, 56, 138, 0.58) 45%, rgba(8, 32, 74, 0.66) 100%),
    linear-gradient(180deg, rgba(9, 31, 74, 0.28) 0%, rgba(9, 31, 74, 0.54) 100%);
}

.hero-card.hero-card-overlay {
  background: transparent;
  box-shadow: none;
  max-width: 1020px;
  padding: 2rem 1rem;
  text-align: center;
}

.hero-card.hero-card-overlay .eyebrow {
  color: #f0c55f;
  font-size: 1.45rem;
  letter-spacing: .12em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-card.hero-card-overlay h1 {
  font-size: clamp(3.1rem, 5.7vw, 5.6rem);
  max-width: 1080px;
  text-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.hero-card.hero-card-overlay .lead {
  font-size: 1.35rem;
  max-width: 1050px;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.hero-card.hero-card-overlay .pill-row {
  margin-top: 1.6rem;
  justify-content: center;
}

.hero-card.hero-card-overlay .pill-row span {
  font-size: 1rem;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(3px);
}

@keyframes heroFade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  28% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 900px) {
  .brand-logo { height: 130px; }
  .nav a { font-size: 1.15rem; }
  .hero.hero-slider,
  .hero-content { min-height: 640px; }
  .hero-card.hero-card-overlay h1 { font-size: clamp(2.2rem, 8vw, 3.8rem); }
  .hero-card.hero-card-overlay .eyebrow { font-size: 1rem; }
  .hero-card.hero-card-overlay .lead { font-size: 1.08rem; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 110px; }
  .brand-logo { height: 100px; }
  .hero.hero-slider,
  .hero-content { min-height: 560px; }
  .hero-card.hero-card-overlay .pill-row span { font-size: .9rem; }
}


.career-apply {
  margin-top: 1.5rem;
}

.career-apply ul {
  margin-top: .5rem;
}



.nav {
  white-space: nowrap;
}

.inferomics-kicker {
  margin: 0 0 .35rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.inferomics-intro {
  text-align: justify;
  max-width: 980px;
}

.inferomics-detail,
.inferomics-impact {
  margin-top: 1.5rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: .5rem 0 1rem;
}

.tag-row span {
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(13, 71, 161, .08);
  color: var(--navy-dark);
  border: 1px solid rgba(13, 71, 161, .12);
  font-weight: 600;
}

.subhead {
  margin-top: 1.25rem;
}

.positioning-line {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.muted-note {
  color: var(--muted);
  font-size: .98rem;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 110px;
  }

  .nav {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 1rem;
  }
}


/* v9 copy alignment improvements */
.section-intro {
  text-align: justify;
  text-justify: inter-word;
}
.inferomics-intro {
  text-align: justify;
  max-width: 980px;
}
.inferomics-impact {
  grid-template-columns: 1fr;
}


/* v10 final cleanup */
:root { --copy-width: 900px; }
body { line-height: 1.7; }
.header-inner { min-height: 138px; }
.brand { display:flex; align-items:center; }
.brand-logo { height: 170px; width: auto; object-fit: contain; }
.nav { gap: .72rem; flex-wrap: nowrap; white-space: nowrap; align-items: center; }
.nav a { font-size: .97rem; line-height: 1; }
.section-intro, .card p, .card li, .site-footer p, .site-footer li, .contact-card p, .form-card p { line-height: 1.72; }
.section-intro { max-width: var(--copy-width); text-align: justify; text-justify: inter-word; margin-left: 0; margin-right: 0; }
#inferomics .section-intro { max-width: 980px; }
#inferomics .section-intro:last-of-type { margin-bottom: 2rem; }
.card p { margin: .7rem 0; }
.card ul { margin-top: .65rem; }
.site-footer p { margin: .45rem 0; }
.site-footer h4 { margin-bottom: .5rem; }
.footer-grid > div { display: flex; flex-direction: column; }
.footer-grid > div > *:last-child { margin-bottom: 0; }
.inferomics-quote { margin-top: 1rem; font-weight: 700; color: var(--navy-dark); }
.positioning-line { display:none; }
@media (max-width: 1180px) { .nav a { font-size: .92rem; } }
@media (max-width: 1100px) { .nav { flex-wrap: wrap; white-space: normal; justify-content: flex-end; } .nav a { font-size: .95rem; } }
@media (max-width: 900px) { .brand-logo { height: 130px; } .nav a { font-size: 1rem; } }
@media (max-width: 640px) { .brand-logo { height: 100px; } }

.footer-address { max-width: 340px; }

.card p { margin: 0 0 .9rem; line-height: 1.7; }
.card ul { margin-bottom: .75rem; }

.section h2 { margin-bottom: 1rem; }
.card h3 { margin-bottom: .75rem; }


.service-catalog .card {
  min-height: 100%;
}

.footer-address {
  max-width: 22ch;
}
