/* SonographyPrograms.org — CLINICAL DATA identity. Deep clinical
   navy, signal teal, and a single amber accent: the chart, the monitor
   line, and the alert. Light, precise, data-first. */
:root {
  --abyss: #081426;
  --deep: #10243e;
  --navy-900: #16324f;
  --navy-800: #1d4e6b;
  --navy-700: #256d85;
  --teal-600: #0e7c86;
  --teal-500: #12a5b4;
  --seafoam-200: #a8e6e0;
  --seafoam-100: #e8f7f5;
  --gold-600: #9a6a14;
  --gold-500: #b98a1d;
  --gold-400: #d9b83c;
  --gold-100: #faf3dd;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --ink: #1a2332;
  --muted: #5b6b80;
  --line: #dde3ec;
  --mist: #f4f8f9;
  --radius: 12px;
  --max: 1120px;
  --font: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,38 C180,66 360,66 540,44 C720,22 900,10 1080,30 C1260,50 1350,44 1440,30 L1440,70 L0,70 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  --wave-foam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,44 C200,14 400,14 600,36 C800,58 1000,66 1200,44 C1320,32 1390,34 1440,42 L1440,70 L0,70 Z' fill='%23a8e6e0'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.2; color: var(--navy-900); margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-top: 2.5rem; }
h3 { font-size: 1.3rem; margin-top: 1.75rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }
img { max-width: 100%; height: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--deep), var(--navy-900));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(10, 28, 51, 0.25);
  border-bottom: 1px solid rgba(153, 246, 228, 0.18);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: 0.65rem; padding-bottom: 0.65rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-family: var(--font); font-size: 1.4rem; font-weight: 600; }
.brand img { height: 36px; width: 36px; }
.brand small { display: block; font-family: var(--sans); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--seafoam-200); }
.main-nav { margin-left: auto; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a { color: #dbe4f0; text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 0.5rem 0.75rem; border-radius: 999px; }
.main-nav a:hover { background: rgba(153, 246, 228, 0.14); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,0.35); color: #fff; border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 1rem; cursor: pointer; }

/* Hero: the descent — sunlit surface to abyss, with rolling waves. */
.hero {
  background: linear-gradient(180deg, #0e7d96 0%, #0a5a7a 22%, var(--navy-900) 55%, var(--deep) 78%, var(--abyss) 100%);
  color: #fff;
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  height: 70px;
  background: var(--wave-foam) bottom / 100% 100% no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--wave) bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-weight: 600; }
.hero .eyebrow { color: var(--seafoam-200); }
.hero .lede { color: #d7e6f2; font-size: 1.15rem; max-width: 46rem; font-weight: 300; }
.hero .byline-row { margin-top: 1rem; color: #9fb0c9; font-size: 0.9rem; }

/* AI summary */
.ai-summary {
  background: var(--gold-100);
  border: 1px solid #e8d48a;
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
}
.ai-summary .ai-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}
.ai-summary p { margin: 0; color: var(--ink); font-size: 1.02rem; }

/* Content */
.content { max-width: 780px; margin: 0 auto; padding: 2rem 0 3rem; overflow-wrap: break-word; }
.content > section { margin-bottom: 0.5rem; }
.prose { font-size: 1.06rem; }
.prose ul, .content ul { padding-left: 1.4rem; }
.prose li, .content li { margin-bottom: 0.5rem; }

.hot-take {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
}
.hot-take strong { color: var(--navy-900); }

.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.75rem 0;
  font-size: 0.98rem;
}

/* Records (program listings) */
.records { display: grid; gap: 1.1rem; margin: 1.5rem 0 2.5rem; }
.record {
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  background: #fff;
  transition: box-shadow 0.2s;
}
.record:hover { box-shadow: 0 6px 24px rgba(15, 42, 74, 0.1); }
.record h3 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.record h3 a { color: var(--navy-900); text-decoration: none; }
.record h3 a:hover { color: var(--teal-600); text-decoration: underline; }
.record .school { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5rem; }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; font-size: 0.92rem; margin: 0.75rem 0; }
.record dt { font-weight: 700; color: var(--slate-700); }
.record dd { margin: 0; }
.record aside {
  background: linear-gradient(160deg, var(--navy-800), var(--deep));
  color: #fff;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  text-align: center;
  align-self: start;
  min-width: 92px;
  border: 1px solid rgba(153, 246, 228, 0.25);
}
.record aside span { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--seafoam-200); }
.record aside strong { display: block; font-size: 1.7rem; font-family: var(--font); color: #fff; }
.record aside small { color: #9fb0c9; font-size: 0.75rem; }

/* Chips */
.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.chip-aba { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.chip-online { background: var(--seafoam-100); color: #0f766e; border: 1px solid var(--seafoam-200); }

/* Buttons */
.button {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}
.button:hover { background: linear-gradient(180deg, #e5c34e, var(--gold-400)); color: var(--deep); }
.button-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--navy-800);
}
.button-outline:hover { background: var(--navy-900); color: #fff; }
.text-link { font-weight: 700; }

/* Cards / grids */
.section { padding: 3rem 0; }
/* The deep-water band: light airy text on deep teal, with caustic light. */
.section-alt {
  background:
    radial-gradient(700px 260px at 12% 0%, rgba(20, 184, 166, 0.22), transparent 60%),
    radial-gradient(600px 240px at 88% 100%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(180deg, #0a4a63, var(--navy-900) 60%, var(--deep));
  color: #e8f1f8;
}
.section-alt h2, .section-alt h3 { color: #fff; }
.section-alt p { color: #c3d5e4; }
.section-alt .card { background: rgba(255, 255, 255, 0.96); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 42, 74, 0.12); }
.card h3 { margin-top: 0; font-size: 1.35rem; }
.card h3 a { color: var(--navy-900); text-decoration: none; }
.card h3 a:hover { color: var(--teal-600); }
.card p { color: var(--muted); font-size: 0.96rem; }

/* State grid */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; margin-top: 1.5rem; }
.state-grid a {
  display: block;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.95rem;
}
.state-grid a:hover { border-color: var(--teal-500); background: var(--seafoam-100); color: var(--deep); }
.state-grid a span { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; font-variant-numeric: tabular-nums; }
th { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; text-align: left; padding: 0.8rem 1rem; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
td { padding: 0.75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
tr:nth-child(even) td { background: var(--seafoam-100); }

/* FAQ */
.faq { margin: 2.5rem 0; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.75rem; background: #fff; }
.faq-item summary { padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; color: var(--navy-900); font-family: var(--font); font-size: 1.2rem; }
.faq-item summary:hover { color: var(--teal-600); }
.faq-item .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--ink); }

/* Byline */
.byline { display: flex; gap: 1rem; align-items: center; margin: 1.5rem 0; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal-500); }
.byline .who { font-weight: 700; color: var(--navy-900); }
.byline .role { font-size: 0.88rem; color: var(--muted); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin: 1.25rem 0 0; }
.breadcrumbs a { color: var(--navy-700); }

/* Footer: surfacing back up — white wave crest over the abyss. */
.site-footer { background: linear-gradient(180deg, var(--deep), var(--abyss)); color: #b9c6da; padding: 5.5rem 0 2rem; margin-top: 0; position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 70px;
  background: var(--wave) top / 100% 100% no-repeat;
  transform: scaleY(-1);
  pointer-events: none;
}
.site-footer .wrap { position: relative; }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
.site-footer a { color: #b9c6da; text-decoration: none; font-size: 0.92rem; display: block; margin-bottom: 0.4rem; }
.site-footer a:hover { color: var(--seafoam-200); }
.site-footer .fine { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(153, 246, 228, 0.14); font-size: 0.82rem; color: #8fa0b8; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.pillar { background: linear-gradient(160deg, var(--navy-800), var(--deep)); color: #fff; border-radius: var(--radius); padding: 1.4rem; text-align: center; border: 1px solid rgba(153, 246, 228, 0.2); }
.pillar .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.pillar h3 { color: var(--seafoam-200); font-size: 1.15rem; margin: 0 0 0.4rem; }
.pillar p { color: #c8d4e6; font-size: 0.88rem; margin: 0; }

/* Responsive */
@media (max-width: 820px) {
  body { font-size: 16px; line-height: 1.6; }
  h1 { font-size: 1.9rem; }
  .site-header .wrap { flex-wrap: wrap; gap: 0.75rem; }
  .brand { font-size: 1.1rem; min-width: 0; }
  .brand > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  .main-nav { display: none; margin-left: 0; background: var(--navy-900); flex-direction: column; padding: 0.75rem 1.25rem 1.25rem; gap: 0; }
  .main-nav.open { display: flex; flex: 1 1 100%; background: var(--navy-900); }
  .main-nav a { display: block; padding: 0.85rem 0.25rem; min-height: 44px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; min-height: 44px; padding: 0.6rem 0.9rem; }
  .hero { padding: 2.5rem 0 4.5rem; }
  .record { grid-template-columns: 1fr; }
  .record aside { justify-self: start; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

.last-verified{font-size:.85rem;opacity:.75;margin-top:.25rem}
