@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Prenaital — site styles */

:root {
  --green: #013832;
  --rust: #82412d;
  --rose: #ca948a;
  --beige: #ebdece;
  --blush: #dfb9ae;
  --ink: #121315;
  --white: #fff;

  --serif: "Noto Serif", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section { padding: clamp(56px, 9vw, 110px) 0; }
.bg-beige { background: var(--beige); }
.bg-green { background: var(--green); color: var(--beige); }
.bg-rust { background: var(--rust); color: var(--beige); }
.bg-green h1, .bg-green h2, .bg-green h3,
.bg-rust h1, .bg-rust h2, .bg-rust h3 { color: var(--beige); }

.eyebrow {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--green);
}
.lead { max-width: 640px; font-size: 1.15rem; }
.dash { width: 32px; height: 4px; margin: 0 auto 1.5rem; background: var(--green); border: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 12px; background: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  font: 700 .75rem/1.2 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--rust); }
.btn-light { background: var(--beige); color: var(--green); }
.btn-light:hover { background: var(--white); }

/* Header */
.site-header { position: relative; z-index: 10; background: var(--green); }
.site-header.overlay { position: absolute; inset: 0 0 auto; background: transparent; }
.site-header .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 20px;
}
.brand img { width: 138px; }
.nav ul { display: flex; gap: 8px 48px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  color: var(--white);
  font-size: .8rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:hover { color: var(--blush); }
.nav a[aria-current="page"] { color: var(--blush); border-bottom-color: var(--blush); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .site-header .wrap { flex-direction: row; justify-content: space-between; padding-top: 20px; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }
  .nav {
    position: fixed;
    inset: 0;
    display: none;
    padding: 96px var(--gutter) 32px;
    background: var(--green);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { padding: 12px 0; font-size: 1.1rem; }
  .nav-toggle { position: relative; z-index: 11; }
}

/* Home: hero */
.hero {
  display: flex;
  align-items: center;
  min-height: min(100vh, 1100px);
  padding: 160px 0 100px;
  background: linear-gradient(rgba(18, 19, 21, .82), rgba(18, 19, 21, .82)), url(../img/hero-family.jpg) center 30% / cover;
  color: var(--white);
}
.hero h1 { max-width: 760px; margin-bottom: .3em; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.1; color: var(--beige); }
.hero p { max-width: 760px; font-size: clamp(1rem, 1.6vw, 1.2rem); }

/* Home: feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px 30px 32px; }
.card h3 { font-weight: 500; }
.card p { flex: 1; color: var(--green); }
.card .btn { margin-top: 20px; }
.card small { display: block; margin-top: 20px; font-size: .75rem; }

/* Home: statistics */
.stats-bg { padding: clamp(48px, 7vw, 90px) 0; background: url(../img/stairs.jpg) center / cover; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 18px; justify-content: end; }
.stat { padding: 28px 16px; border-radius: var(--radius); background: rgba(130, 65, 45, .92); color: var(--beige); text-align: center; }
.stat strong { display: block; margin-bottom: 10px; font: 400 2.5rem/1.1 var(--serif); color: var(--blush); }
.stat span { display: block; font-size: .8rem; letter-spacing: .06em; }
.footnote { padding: 18px 0; font-size: .95rem; text-align: right; }

/* Home: quote */
.quote-band { background: linear-gradient(var(--beige) 0 60px, var(--green) 60px); color: var(--beige); }
.quote-band .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.quote-band img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; }
.quote-band blockquote { margin: 0; padding: 60px 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.quote-band blockquote svg { width: 44px; margin-bottom: 20px; }
.quote-band cite { display: block; margin: 20px 0 24px; font-style: normal; font-size: 1rem; }

/* Home: partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 64px; align-items: center; margin-top: 48px; }
.partners a, .partners span { display: flex; justify-content: center; }
.partners img { max-height: 110px; width: auto; max-width: 100%; }

/* Home: mission */
.mission { position: relative; color: var(--beige); background: var(--green) url(../img/mission-lines.png) left center / auto 100% no-repeat; }
.mission h2 { color: var(--beige); font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

/* Page intro (subpages) */
.intro { padding: clamp(48px, 8vw, 96px) 0; }
.intro .text { max-width: 620px; }
.intro h1 { margin-bottom: .4em; }
.intro.rust h1, .intro.rust .eyebrow { color: var(--rust); }
.checks { margin: 0 0 1.2em; padding: 0; list-style: none; }
.checks li { position: relative; margin-bottom: .7em; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border: solid var(--green); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.subhead { font-size: 1.2rem; color: var(--green); }

/* Solution: alternating rows */
.rows { display: grid; gap: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 9vw, 110px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 96px); align-items: center; }
.row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.row:nth-child(even) .row-media { order: 2; }
.row h2 { color: var(--rust); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.row .highlight { display: flex; gap: 12px; align-items: center; margin-top: 28px; font-weight: 700; font-size: 1.1rem; color: var(--rust); }
.row .highlight svg { flex: none; width: 30px; }

/* Resources: publications */
.pubs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 56px; color: var(--green); }
.pub { padding: 28px 0; border-top: 0; }
.pub + .pub::before { content: ""; display: block; width: 14px; height: 4px; margin-bottom: 28px; background: var(--rose); }
.pub b { display: block; }
.pub a { font-weight: 600; }
.pub em { display: block; }

/* Info box (mission/vision, careers, CTA) */
.box {
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 6vw, 88px);
  border-radius: var(--radius);
  background: var(--beige);
  color: var(--green);
}
.box .mark { width: 78px; margin: 0 auto 24px; }
.box-rust { background: var(--rust); color: var(--beige); }
.box-rust p { max-width: 520px; margin: 0 auto; font: 600 1.15rem/1.6 var(--serif); }
.cta img { width: 100%; margin-top: 56px; aspect-ratio: 16 / 5; object-fit: cover; box-shadow: 0 0 0 6px var(--white), 0 10px 40px rgba(0, 0, 0, .15); }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-intro figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--rust); }
.about-intro figcaption { padding: 12px; color: var(--beige); font-weight: 700; font-size: 1.1rem; text-align: center; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 32px 0 80px; padding: 0; list-style: none; }
.team li { width: 206px; overflow: hidden; border-radius: var(--radius); background: var(--green); color: var(--beige); text-align: center; }
.team img { width: 100%; aspect-ratio: 214 / 240; object-fit: cover; }
.team div { padding: 22px 12px 28px; font-size: .95rem; }
.team h4 { margin: 0 0 2px; color: var(--beige); font-size: 1.1rem; }
.team b { display: block; margin-bottom: 4px; }
.team h3 + .dash { margin-top: 1rem; }
.bios { display: grid; gap: clamp(56px, 8vw, 88px); margin-top: 56px; }
.bio { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.bio h3 { font-weight: 500; }
.bio img { width: 100%; max-width: 390px; aspect-ratio: 390 / 437; object-fit: cover; border-radius: var(--radius); box-shadow: 20px 20px 0 var(--green); }

/* Careers */
.job { text-align: left; }
.job h4 { margin: 2em 0 .9em; font-family: var(--sans); font-size: 1.05rem; }
.job ul { margin: 0; padding-left: 1.2em; }
.job li { margin-bottom: .35em; }
.job hr { width: 66px; margin: 32px auto; border: 0; border-top: 1px solid var(--green); }

/* Footer */
.site-footer { padding: 64px 0 40px; background: var(--green); color: var(--beige); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.site-footer .brand img { width: 138px; }
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a { color: var(--beige); }
.social svg { width: 18px; height: 18px; }
.site-footer address { font-style: normal; text-align: right; line-height: 1.8; }
.site-footer small { display: block; margin-top: 6px; opacity: .7; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .stats { justify-content: center; }
  .quote-band { background: var(--green); }
  .quote-band .wrap, .row, .about-intro, .bio, .pubs { grid-template-columns: 1fr; }
  .quote-band img { max-height: 520px; margin-top: 48px; }
  .quote-band blockquote { padding-top: 0; }
  .row:nth-child(even) .row-media { order: 0; }
  .bio .bio-media { order: -1; }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 1.8rem; }
  .stat span { font-size: .72rem; letter-spacing: .02em; }
  .team li { width: calc(50% - 8px); }
  .partners { gap: 32px 24px; }
  .partners img { max-height: 70px; }
  .site-footer address { text-align: left; }
}
