/* Corcoran Nuclear Lab — site stylesheet
   Palette per 00_Resources/Visual_standard.md (Corcoran Lab brand):
   teal #0F9FAB, navy #142C4C, red #C8110F, near-black #1A1A1A on white. */

:root {
  --teal: #0F9FAB;
  --teal-dark: #0B7E88;
  --teal-tint: #EAF6F7;
  --navy: #142C4C;
  --red: #C8110F;
  --ink: #1A1A1A;
  --grey: #5A6472;
  --line: #DDE6E8;
  --bg: #FFFFFF;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Aptos", "Calibri", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
header.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--teal);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 14px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.nav-brand img { height: 46px; width: auto; }
.nav-brand .brand-name { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.nav-brand:hover { text-decoration: none; }
nav.links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.links a {
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 6px;
}
nav.links a:hover { background: var(--teal-tint); text-decoration: none; }
nav.links a.active { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 44, 76, 0.55) 0%, rgba(20, 44, 76, 0.75) 100%);
}
.hero .hero-content {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 96px 24px; text-align: center;
}
.hero.tall .hero-content { padding: 96px 24px 90px; }
.hero .coin { width: 336px; height: 336px; margin: 0 auto 30px; }
.hero .coin picture { display: block; }
.hero h1 { font-size: 2.7rem; line-height: 1.15; letter-spacing: 0.01em; }
.hero p.tagline {
  margin: 18px auto 0; max-width: 720px;
  font-size: 1.22rem; color: #E8F0F2;
}
.hero .hero-cta { margin-top: 28px; }
.hero-panel {
  display: inline-block; max-width: 780px;
  background: rgba(10, 24, 44, 0.62);
  backdrop-filter: blur(3px);
  border-radius: 16px; padding: 30px 42px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #A50D0C; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tint { background: var(--teal-tint); }
h2.section-title {
  color: var(--navy); font-size: 1.9rem; margin-bottom: 8px;
}
.section-rule {
  width: 64px; height: 4px; background: var(--teal);
  border: none; border-radius: 2px; margin: 0 0 28px;
}
.lede { font-size: 1.1rem; max-width: 780px; }

/* ---------- Home: welcome ---------- */
.welcome-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start;
}
.welcome-grid .portrait img {
  border-radius: 12px; border: 4px solid #fff;
  box-shadow: 0 8px 28px rgba(20, 44, 76, 0.18);
}
.portrait-caption { font-size: 0.88rem; color: var(--grey); margin-top: 10px; text-align: center; }
.welcome-text p { margin-bottom: 16px; }
.welcome-text .pull {
  border-left: 4px solid var(--teal); padding: 6px 0 6px 18px;
  color: var(--navy); font-size: 1.12rem; font-weight: 600; margin: 22px 0;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 44px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stat .num { font-size: 2.3rem; font-weight: 800; color: #7BD1D8; line-height: 1.1; }
.stat .num.num-year { font-size: 2rem; white-space: nowrap; }
.stat .label { font-size: 0.95rem; color: #C9D6E4; margin-top: 6px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(20, 44, 76, 0.05);
}
.card h3 { color: var(--navy); font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card .tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  color: var(--teal-dark); background: var(--teal-tint);
  border-radius: 20px; padding: 3px 12px; margin-bottom: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Skills trio ---------- */
.skill-card { border-top: 5px solid var(--teal); }
.skill-card:nth-child(2) { border-top-color: var(--navy); }
.skill-card:nth-child(3) { border-top-color: var(--red); }

/* ---------- Topic list (student research, no names) ---------- */
.topic-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.topic-list li {
  padding: 12px 16px 12px 40px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.topic-list li::before {
  content: ""; position: absolute; left: 16px; top: 19px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal);
}

/* ---------- Partner lists (text only, no third-party logos) ---------- */
.partner-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
ul.partner-list { list-style: none; margin-top: 6px; }
ul.partner-list li {
  padding: 8px 0 8px 26px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 0.98rem;
}
ul.partner-list li:last-child { border-bottom: none; }
ul.partner-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal);
}

/* ---------- Publications ---------- */
.pub-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.metrics-line { color: var(--grey); font-size: 0.95rem; margin-bottom: 8px; }
.year-block { margin-top: 34px; }
.year-block h3 {
  color: var(--navy); font-size: 1.35rem;
  border-bottom: 2px solid var(--teal); padding-bottom: 6px; margin-bottom: 16px;
}
ol.pubs { list-style: none; counter-reset: none; }
ol.pubs li {
  padding: 12px 16px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 8px; font-size: 0.95rem;
}
ol.pubs li strong { color: var(--navy); }
ol.pubs li .doi { white-space: nowrap; font-weight: 600; }

/* ---------- Join page ---------- */
.pathway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.apply-box {
  background: #fff; border: 2px solid var(--teal); border-radius: 14px;
  padding: 34px 34px 30px; max-width: 820px; margin: 0 auto;
  box-shadow: 0 6px 24px rgba(15, 159, 171, 0.12);
}
.apply-box h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 14px; }
.apply-box ol { margin: 14px 0 20px 22px; }
.apply-box ol li { margin-bottom: 10px; }
.email-reveal { font-weight: 700; color: var(--navy); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #C9D6E4; padding: 44px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 12px; }
footer a { color: #7BD1D8; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 30px; padding-top: 18px;
  font-size: 0.85rem; color: #8FA3BC; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.credit-logo {
  height: 34px; width: auto; display: inline-block;
  vertical-align: middle; margin-left: 6px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero .hero-content { padding: 72px 24px; }
.page-hero h1 { font-size: 2.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-grid .portrait { max-width: 320px; margin: 0 auto; }
  .card-grid, .card-grid.two, .pathway-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero .coin { width: 220px; height: 220px; }
  .hero-panel { padding: 22px 20px 26px; }
  .partner-cols { grid-template-columns: 1fr; }
  .nav-inner { flex-direction: column; align-items: center; gap: 8px; padding: 12px 16px; }
  .nav-brand .brand-name { white-space: nowrap; font-size: 1.1rem; }
  .stat .num.num-year { font-size: 1.8rem; }
  nav.links { margin-left: 0; justify-content: center; }
  nav.links a { padding: 6px 10px; font-size: 0.9rem; }
}
