/* Baptist Health South Florida: bespoke prospect page
   Tokens lifted from brand-pack.json. No Eduba colors. */

:root {
  --bh-green: #2EA84A;
  --bh-green-deep: #258a3c;
  --bh-teal: #59BEC9;
  --bh-red: #E5554F;
  --bh-ink: #1A1919;
  --bh-body: #56595A;
  --bh-surface: #F4F4F2;
  --bh-bg: #FFFFFF;
  --bh-warning: #FFBD00;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 20px;

  --shadow-subtle: 0 1px 2px rgba(26,25,25,0.06), 0 2px 6px rgba(26,25,25,0.04);
  --shadow-medium: 0 8px 24px rgba(26,25,25,0.08);
  --shadow-glow: 0 20px 60px rgba(46,168,74,0.10);

  --unit: 8px;
  --section-gap: 96px;

  --font-heading: poppins, Poppins, "Helvetica Neue", Arial, sans-serif;
  --font-body: acumin-pro, "Acumin Pro", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--bh-body);
  background: var(--bh-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--bh-green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(46,168,74,0.35);
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--bh-green); text-decoration-color: var(--bh-green); }
a:focus-visible {
  outline: 2px solid var(--bh-green);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--bh-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }

p { margin: 0 0 16px; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER ---------- */
.site-header {
  padding: 24px 0 16px;
  border-bottom: 1px solid rgba(26,25,25,0.06);
  background: var(--bh-bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
}
.logo-wrap img {
  height: 44px;
  width: auto;
  display: block;
}

.header-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bh-green);
  box-shadow: 0 0 0 4px rgba(46,168,74,0.12);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 90% -10%, rgba(89,190,201,0.14), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(46,168,74,0.10), transparent 60%),
    var(--bh-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bh-green-deep);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--bh-green);
  display: inline-block;
}

.hero h1 .soft { color: var(--bh-body); font-weight: 600; }

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--bh-body);
  max-width: 56ch;
  margin-top: 8px;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--bh-ink);
  font-weight: 500;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bh-surface);
  border-radius: 999px;
}
.hero-meta .pin {
  width: 6px; height: 6px; border-radius: 50%; background: var(--bh-teal);
}

/* Hero card */
.hero-card {
  background: var(--bh-bg);
  border: 1px solid rgba(26,25,25,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-medium), var(--shadow-glow);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 28px; right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--bh-green), var(--bh-teal));
  border-radius: 0 0 4px 4px;
}

.hero-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bh-green-deep);
  margin-bottom: 18px;
}

.stack-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.stack-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  background: var(--bh-surface);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--bh-ink);
  font-weight: 500;
}
.stack-list .tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bh-green-deep);
  background: rgba(46,168,74,0.12);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.pineapple {
  position: absolute;
  right: -20px; top: -28px;
  width: 56px; height: 56px;
  opacity: 0.85;
  color: var(--bh-green);
}

/* ---------- SECTION SHELL ---------- */
.section {
  padding: calc(var(--section-gap) / 2) 0;
}
.section--wide { padding: var(--section-gap) 0; }

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bh-green-deep);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.lead-copy { max-width: 72ch; font-size: 17.5px; }

/* ---------- FRAME / ORCHESTRATION ---------- */
.frame {
  background: var(--bh-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(89,190,201,0.18), transparent 70%);
  pointer-events: none;
}
.frame > * { position: relative; }

.frame-intro { max-width: 68ch; }

.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.layer {
  background: var(--bh-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(26,25,25,0.06);
  box-shadow: var(--shadow-subtle);
  position: relative;
}
.layer .pct {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--bh-ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.layer .pct sup {
  font-size: 20px;
  color: var(--bh-green);
  margin-left: 4px;
  font-weight: 600;
  vertical-align: top;
  top: 4px;
  position: relative;
}
.layer .role {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bh-green-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.layer p { margin: 0; font-size: 14.5px; line-height: 1.5; }

.layer--green { border-left: 3px solid var(--bh-green); }
.layer--teal  { border-left: 3px solid var(--bh-teal); }
.layer--ink   { border-left: 3px solid var(--bh-ink); }

/* ---------- CASE / PAPER ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--bh-bg);
  border: 1px solid rgba(26,25,25,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}

.card h3 { font-size: 22px; }

.card .kicker {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bh-body);
  font-weight: 600;
  margin-bottom: 10px;
}

.card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--bh-green);
  transform: rotate(45deg);
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.paper-links a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46,168,74,0.4);
  color: var(--bh-green-deep);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.paper-links a:hover {
  background: rgba(46,168,74,0.08);
  border-color: var(--bh-green);
}

/* ---------- PARTNER STRIP ---------- */
.partner-strip {
  background: var(--bh-ink);
  color: #EAEAEA;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.partner-strip h3 {
  color: #FFFFFF;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
  font-weight: 600;
}
.partner-strip p {
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}
.partner-strip .bar {
  width: 3px; height: 60px;
  background: linear-gradient(var(--bh-green), var(--bh-teal));
  border-radius: 2px;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--bh-green) 0%, #29923f 60%, #227c36 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,190,201,0.35), transparent 60%);
}
.cta::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta h2 { color: #fff; margin-bottom: 12px; font-size: clamp(24px, 2.6vw, 32px); }
.cta p { color: rgba(255,255,255,0.92); margin-bottom: 0; font-size: 17px; max-width: 52ch; }

.cta-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 48px;
  line-height: 1;
}
.btn--primary {
  background: #FFFFFF;
  color: var(--bh-green-deep);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}
.btn--primary:focus-visible {
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 3px;
}
.btn .arrow { font-size: 18px; line-height: 1; }

.cta-meta {
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}
.cta-meta strong { color: #fff; font-weight: 600; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid rgba(26,25,25,0.06);
  margin-top: 72px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.footer-note {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--bh-body);
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--bh-body);
}
.footer-brand a { color: var(--bh-green-deep); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .layer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .partner-strip { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .partner-strip .bar { width: 60px; height: 3px; }
  .frame { padding: 32px 24px; }
  .cta { padding: 44px 28px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { padding: 16px 0 12px; }
  .logo-wrap img { height: 38px; }
  .header-tag { font-size: 11px; }
  .hero { padding: 48px 0 40px; }
  .hero-lede { font-size: 17px; }
  .hero-card { padding: 22px; }
  .hero-card::before { left: 22px; right: 22px; }
  .section { padding: 40px 0; }
  .section--wide { padding: 56px 0; }
  .card { padding: 24px; }
  .layer { padding: 20px; }
  .layer .pct { font-size: 34px; }
  .cta { padding: 36px 22px; border-radius: 16px; }
  .frame { border-radius: 16px; }
  .partner-strip { padding: 24px 20px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
