/* PPEC — Pediatric Palliative Education Consultants
   First-draft MVP stylesheet. Tokens at top, components below. */

/* ---------- Tokens ---------- */
:root {
  --navy: #1b4965;
  --navy-deep: #143a52;
  --navy-soft: #2c6082;
  --bg: #faf8f3;
  --bg-card: #ffffff;
  --gold: #c9a96e;
  --gold-soft: #e3cfa3;
  --ink: #1f2933;
  --ink-muted: #5a6473;
  --rule: #e6e1d6;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-card:
    0 1px 2px rgba(20, 58, 82, 0.04), 0 8px 24px rgba(20, 58, 82, 0.06);

  --container: 1140px;
  --pad: clamp(1rem, 4vw, 2rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Typography ---------- */
.display,
h1.hero {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance; /* avoid single-word widows in headlines */
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-style: italic;
}
h3 {
  font-size: 1.3rem;
  font-style: italic;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty; /* minimize widows in body copy where supported */
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--light {
  color: var(--gold-soft);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 38em;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.section--navy {
  background: var(--navy);
  color: #fff;
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #fff;
}
.section--cream {
  background: #f4ede0;
}
.section--tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.center {
  text-align: center;
}
.center .chips {
  justify-content: center;
}
.muted {
  color: var(--ink-muted);
}
.nowrap {
  white-space: nowrap;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  height: 68px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover {
  text-decoration: none;
  border-bottom-color: var(--gold);
}
.nav__links a.active {
  border-bottom-color: var(--navy);
}
.nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: var(--radius);
  border: none !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.04em;
}
.nav__cta:hover {
  background: var(--navy-deep);
  border: none !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  color: var(--navy);
}

@media (max-width: 820px) {
  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--pad) 1.5rem;
    transform: translateY(-1rem);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s,
      transform 0.2s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links li {
    border-top: 1px solid var(--rule);
  }
  .nav__links a {
    padding: 0.9rem 0;
    display: block;
  }
  .nav__cta {
    display: inline-block;
    margin-top: 0.8rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #b89858;
  border-color: #b89858;
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  text-decoration: none;
}
.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost-navy:hover {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero p {
  font-size: 1.2rem;
  color: #eaf1f7;
  max-width: 38em;
  margin: 0 auto 2.2rem;
}
.hero .eyebrow {
  color: var(--gold-soft);
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.page-hero h1 {
  color: #fff;
}
.page-hero p {
  color: #eaf1f7;
  max-width: 38em;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.card h3 {
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.card p {
  color: var(--ink-muted);
  flex: 1;
}
.card a {
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
}
.card a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
  margin: 2.5rem 0 1.5rem;
}
.stats__item .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}
.stats__item .label {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.section--navy .stats__item .label {
  color: #c9d4dc;
}
.stats__caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 1rem;
}
.section--navy .stats__caption {
  color: #a8b8c4;
}

/* ---------- Format chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.chip {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Service blocks ---------- */
.service {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 100px;
}
.service:last-child {
  margin-bottom: 0;
}
.service__head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.75rem;
}
.service__head h2 {
  margin-bottom: 0.4rem;
}
.service__head p {
  margin: 0;
}
.service__head .who {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 0.7rem;
}
.service__head .service__cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.service__body__heading {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.service__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}
.service__body li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.96rem;
  line-height: 1.5;
}
.service__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 0.6rem;
  height: 2px; /* 1px hairline rendered unevenly at subpixel positions — some dashes looked bolder than others */
  background: var(--gold);
}
.service__body ul.list-single {
  grid-template-columns: 1fr;
}
.service__disclaimer {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .service {
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .service__head {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .service__head .service__cta {
    justify-content: flex-start;
  }
  .service__body ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- How we work — 3 steps ---------- */
.steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.step p {
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.headshot--photo {
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(20, 58, 82, 0.18);
}
.headshot--photo[src*="lauren"] {
  object-position: center 30%;
}
.team-card h3 {
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.team-card .creds {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.team-card .bio {
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-align: left;
}
.placeholder-tag {
  display: inline-block;
  background: #fff5e1;
  border: 1px dashed var(--gold);
  color: #8c6c2a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ---------- Founder block ---------- */
.founders {
  background: #f4ede0;
  border-left: 4px solid var(--gold);
  padding: 2rem 2.2rem;
  margin: 3rem 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.founders h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.founders p {
  margin: 0;
  color: var(--ink);
}

/* ---------- Pillars (4-up qualities row) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}
.pillar {
  position: relative;
  padding: 0;
}
.pillar__mark {
  width: 44px;
  height: 44px;
  background: url("../assets/bamboo-mark.png") no-repeat center / contain;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.pillar h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.pillar p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}
@media (max-width: 540px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 4rem var(--pad);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  background: url("../assets/bamboo-mark.png") no-repeat center / contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-banner > * {
  position: relative;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 3fr 2fr;
  margin-top: 2rem;
}
@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form {
  display: grid;
  gap: 1.2rem;
}
.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.12);
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.form .req {
  color: var(--gold);
}

.contact-info {
  background: #f4ede0;
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-info dl {
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}
.contact-info dd a {
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Story (about) ---------- */
.story {
  max-width: 720px;
  margin: 0 auto;
}
.story p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}
.story p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6rem;
  font-weight: 500;
  color: var(--navy);
  float: left;
  line-height: 0.9;
  margin: 0.25rem 0.6rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #d8e4ec;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a {
  color: #fff;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.site-footer img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: 0.5rem;
}
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #a8b8c4;
}
.site-footer__tagline {
  color: #d8e4ec;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0.5rem 0 0;
}

/* ---------- Participant feedback (testimonials) ---------- */
.quotes {
  margin-top: 3.5rem;
}
.quotes__heading {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2rem;
}
.quotes__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.quote {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-card);
  margin: 0;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 0;
  color: var(--gold-soft);
  position: absolute;
  top: 1.4rem;
  left: 1.2rem;
}
.quote p {
  margin: 0;
  padding-top: 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
}
.quotes__grid .quote:nth-child(4),
.quotes__grid .quote:nth-child(5) {
  /* let the last two breathe a touch wider on large grids */
}

/* ---------- Resources ---------- */
.resource-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2.5rem;
}
.resource {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.resource h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.resource p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  flex: 1;
  margin: 0 0 1rem;
}
.resource a {
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}
.resource a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- Bio expand (trigger + center-peek modal) ---------- */
.bio-trigger {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.bio-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 58, 82, 0.26);
}
.bio-more {
  background: none;
  border: none;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.6rem 0 0;
  margin-top: 0.4rem;
  align-self: center;
}
.bio-more:hover {
  color: var(--gold);
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-card .bio {
  flex: 1;
}

.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.bio-modal[hidden] {
  display: none;
}
.bio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 58, 82, 0.55);
  backdrop-filter: blur(3px);
}
.bio-modal__panel {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.75rem 2.5rem 2.5rem;
  box-shadow: 0 24px 60px rgba(20, 58, 82, 0.3);
  animation: bioPeek 0.22s ease-out;
}
@keyframes bioPeek {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bio-modal__panel {
    animation: none;
  }
}
.bio-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink-muted);
  padding: 0.2rem 0.5rem;
}
.bio-modal__close:hover {
  color: var(--navy);
}
.bio-modal__photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(20, 58, 82, 0.18);
  display: block;
  margin: 0 auto 1.25rem;
}
.bio-modal__photo[src*="lauren"] {
  object-position: center 30%;
}
.bio-modal__body .bio-modal__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 0.1rem;
  line-height: 1.2;
}
.bio-modal__body .bio-modal__creds {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.bio-modal__body p {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}
body.bio-open {
  overflow: hidden;
}
