/* PSL Biomedical — placeholder MVP (project brief palette) */

:root {
  --navy: #1b2e4b;
  --steel: #2e5f8a;
  --white: #ffffff;
  --blue-gray: #d6e4f0;
  --accent: #b22234;
  --light-gray: #f5f6f7;
  --body: #4a4a4a;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--steel);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(27, 46, 75, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  flex-shrink: 0;
  line-height: 0;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

.nav-toggle-label svg {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--steel);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: #152438;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: #951d2b;
  text-decoration: none;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle-label {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid rgba(27, 46, 75, 0.08);
    gap: 0.75rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav .btn {
    width: 100%;
    text-align: center;
  }
}

/* ——— Hero ——— */

.hero {
  background: linear-gradient(165deg, var(--navy) 0%, #243a5c 45%, var(--steel) 100%);
  color: var(--white);
  padding: 3.5rem 1.25rem 4rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2.5rem;
}

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

.hero-ctas .btn-primary:hover {
  background: var(--blue-gray);
}

.hero-ctas .btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.hero-ctas .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contract-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 1.5rem 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-strip li {
  opacity: 0.75;
}

.contract-strip strong {
  font-weight: 700;
  opacity: 1;
}

/* ——— Sections ——— */

section {
  padding: 3.25rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.section-copy {
  min-width: 0;
}

.section-media {
  margin: 0;
}

.section-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(27, 46, 75, 0.12);
  box-shadow: 0 10px 24px rgba(27, 46, 75, 0.12);
  object-fit: cover;
}

@media (min-width: 940px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .split-layout-reverse .section-media {
    order: 2;
  }
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.muted {
  color: var(--body);
  margin: 0;
  max-width: 62ch;
}

.section-inner .muted + .muted {
  margin-top: 1rem;
}

.mission-statement {
  margin: 0;
  max-width: 74ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--navy);
}

.pathway-list {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  max-width: 82ch;
}

.pathway-list li {
  margin-bottom: 0.45rem;
}

.cards-tight {
  margin-top: 1.25rem;
}

.detail-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.detail-panel {
  background: var(--white);
  border: 1px solid rgba(27, 46, 75, 0.1);
  border-radius: 6px;
  padding: 1.2rem 1.15rem;
}

.detail-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.detail-panel .muted {
  max-width: none;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.subheading {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.capability-panel {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(27, 46, 75, 0.1);
  border-radius: 8px;
  background: var(--light-gray);
  padding: 1rem;
}

.capability-panel img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(27, 46, 75, 0.08);
}

.capability-actions {
  display: grid;
  gap: 0.9rem;
}

.capability-actions .btn {
  justify-self: start;
}

@media (min-width: 900px) {
  .capability-panel {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    padding: 1.25rem;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--light-gray);
  border: 1px solid rgba(27, 46, 75, 0.06);
  border-radius: 6px;
  padding: 1.5rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

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

.trust-line {
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  padding: 1.25rem 1.25rem;
  background: var(--light-gray);
  border-top: 1px solid rgba(27, 46, 75, 0.08);
  border-bottom: 1px solid rgba(27, 46, 75, 0.08);
}

.trust-line strong {
  color: var(--navy);
}

/* ——— Contact ——— */

#contact .section-inner {
  border: 1px solid rgba(27, 46, 75, 0.1);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  background: var(--white);
}

.contact-note {
  margin: 0.75rem 0 0;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
}

.contact-info h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-detail {
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.contact-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.contact-detail a {
  color: var(--navy);
  font-weight: 500;
}

.contact-form {
  background: var(--light-gray);
  border: 1px solid rgba(27, 46, 75, 0.08);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
}

.contact-form h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group label span {
  color: var(--accent);
  margin-left: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 15px;
  color: var(--body);
  background: var(--white);
  border: 1px solid rgba(27, 46, 75, 0.2);
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(46, 95, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 1.25rem 1.5rem;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  line-height: 1.5;
  opacity: 0.85;
  font-size: 13px;
  max-width: 28ch;
}

.footer-ordering {
  margin: 0 0 0.5rem;
  line-height: 1.5;
  opacity: 0.85;
  font-size: 13px;
  max-width: 32ch;
}

.footer-ordering-rest {
  opacity: 0.95;
}

.footer-contact-heading {
  margin-top: 1.25rem;
}

.footer-contracts {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--white);
}

.placeholder-link {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
}

@media (min-width: 861px) {
  .logo-link img {
    height: 56px;
  }
}
