:root {
  --navy: #18324a;
  --navy-deep: #112b42;
  --ivory: #f8f5ef;
  --paper: #fffdfa;
  --teal: #168a88;
  --teal-deep: #0b7171;
  --coral: #e58a74;
  --coral-deep: #d96b56;
  --ink: #293b4c;
  --muted: #627080;
  --line: #e9e6e0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: .2em; }
a:hover { color: var(--coral-deep); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
h1 { font-size: clamp(3.1rem, 5.3vw, 5.35rem); }
h2 { font-size: clamp(2.2rem, 3.5vw, 3.7rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.container { width: min(100% - 72px, 1240px); margin-inline: auto; }
.section { padding: clamp(70px, 8vw, 115px) 0; }
.screen-reader-text { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text:focus { left: 16px; top: 16px; width: auto; height: auto; z-index: 100; padding: 12px 16px; background: white; }
.eyebrow { margin-bottom: 20px; color: var(--teal); font-size: .78rem; font-weight: 750; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

/* Header and navigation */
.site-header { position: relative; z-index: 20; background: rgba(255, 253, 250, .98); border-bottom: 1px solid rgba(24, 50, 74, .06); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); }
.site-branding { flex: 1 0 auto; min-width: 0; }
.site-branding__name { color: var(--navy); font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.055em; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-branding__name:hover { color: var(--navy); }
.site-branding__link { display: inline-block; vertical-align: middle; }
.site-branding__logo { display: block; width: 340px; max-width: 100%; height: auto; }
.custom-logo { display: block; max-height: 72px; width: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: inline-block; padding: 8px 0; color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav__list a:hover, .site-nav__list .current-menu-item a { color: var(--teal-deep); }
.menu-toggle { display: none; }
.site-header__cta { flex: 0 0 auto; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button span, .text-link span { font-size: 1.35em; line-height: 0; }
.button--teal { background: var(--teal); color: #fff; }
.button--teal:hover { background: var(--teal-deep); color: #fff; }
.button--coral { background: var(--coral-deep); color: #fff; }
.button--coral:hover { background: #c95342; color: #fff; }
.button--outline { border-color: var(--coral-deep); background: rgba(255, 253, 250, .85); color: var(--coral-deep); }
.button--outline:hover { background: var(--coral-deep); color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--teal-deep); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--coral-deep); }

/* Homepage hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(670px, 66vw); overflow: hidden; background: #eee9e1; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center; }
.hero__shade { background: linear-gradient(90deg, rgba(255,253,250,.98) 0%, rgba(255,253,250,.92) 28%, rgba(255,253,250,.68) 43%, rgba(255,253,250,0) 66%); }
.hero__inner { position: relative; z-index: 1; padding-block: 90px; }
.hero__copy { max-width: 565px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero__intro { max-width: 465px; color: #465566; font-size: clamp(1.05rem, 1.4vw, 1.27rem); line-height: 1.55; }

/* Process */
.process { background: var(--ivory); }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading--split > div { max-width: 850px; }
.section-heading--split > p { max-width: 265px; margin-bottom: 9px; color: var(--muted); font-size: .95rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-card { min-height: 285px; padding: 28px 27px; border: 1px solid rgba(24,50,74,.06); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(24,50,74,.025); }
.process-card__symbol { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 30px; border-radius: 50%; font-family: var(--serif); font-size: 1.35rem; }
.process-card__symbol--coral { background: #f9dbd1; color: #d7624e; }
.process-card__symbol--teal { background: #d5ebea; color: #0b7474; }
.process-card h3 { margin-bottom: 10px; }
.process-card p { margin-bottom: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 570px; background: var(--paper); }
.about__visual { min-height: 570px; overflow: hidden; }
.about__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about__content { display: flex; align-items: center; padding: 70px max(40px, calc((100vw - 1240px) / 2)); padding-right: max(40px, calc((100vw - 1240px) / 2)); }
.about__content-inner { max-width: 530px; }
.about h2 { max-width: 530px; margin-bottom: 25px; }
.about__content p:not(.eyebrow) { max-width: 530px; margin-bottom: 29px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }

/* Candidate and employer paths */
.pathways { background: #f3f7f6; }
.section-heading--center { text-align: center; }
.pathways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pathway { position: relative; min-height: 310px; padding: clamp(30px, 4vw, 56px); overflow: hidden; border-radius: 20px; background: #fff; }
.pathway::after { content: ''; position: absolute; right: -70px; bottom: -115px; width: 270px; height: 270px; border: 36px solid #d9eeea; border-radius: 50%; opacity: .75; }
.pathway > * { position: relative; z-index: 1; }
.pathway__tag { color: var(--teal-deep); font-size: .78rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.pathway h3 { max-width: 390px; margin: 20px 0 12px; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.55rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.15; }
.pathway p { max-width: 390px; color: var(--muted); }
.pathway .text-link { margin-top: 12px; }
.pathway--navy { background: var(--navy); color: #e8f0f0; }
.pathway--navy::after { border-color: rgba(255,255,255,.09); }
.pathway--navy h3, .pathway--navy .text-link { color: #fff; }
.pathway--navy .pathway__tag { color: #9dd9d5; }
.pathway--navy p { color: #d3e0e5; }

/* Closing CTA */
.contact-band { position: relative; padding: clamp(75px, 8vw, 120px) 0; overflow: hidden; background: var(--ivory); }
.contact-band::after { content: ''; position: absolute; right: -100px; top: -110px; width: 360px; height: 360px; border-radius: 50%; background: rgba(229,138,116,.09); }
.contact-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.contact-band__inner > div { max-width: 750px; }
.contact-band h2 { margin-bottom: 16px; }
.contact-band p:not(.eyebrow) { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 1.03rem; }
.contact-band .button { flex: 0 0 auto; }

/* Inner pages and posts */
.content-shell { min-height: 55vh; padding: clamp(44px, 5vw, 72px) 0 clamp(70px, 8vw, 110px); background: var(--ivory); }
.content-shell__inner { max-width: 900px; }
.content-shell__inner--center { text-align: center; }
.content-article, .post-card { padding: clamp(28px, 5vw, 55px); border-radius: 18px; background: #fff; }
.content-article h1, .archive-header h1, .content-shell__inner--center h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.content-article header { margin-bottom: 40px; }
.entry-content > * { max-width: 100%; }
.entry-content p, .entry-content li { line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content .wp-block-image img { border-radius: 14px; }
.entry-content .about-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 42px); margin-bottom: 42px; }
.entry-content .about-intro > .wp-block-column { min-width: 0; }
.entry-content .about-intro__copy { grid-column: 1; grid-row: 1; }
.entry-content .about-intro__copy h2 { margin-top: 0; font-size: clamp(2rem, 3vw, 2.7rem); }
.entry-content .about-intro__portrait { grid-column: 2; grid-row: 1; }
.entry-content .about-intro__portrait figure { margin: 0; }
.entry-content .about-intro__portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.entry-content .coming-soon { max-width: 670px; }
.entry-content .coming-soon__label { display: inline-block; margin-bottom: 18px; padding: 7px 13px; border-radius: 999px; background: #e0f1ef; color: var(--teal-deep); font-size: .76rem; font-weight: 750; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.entry-content .coming-soon h2 { max-width: 620px; margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.15rem); }
.entry-content .coming-soon p { max-width: 600px; color: var(--muted); font-size: 1.06rem; }
.entry-content .coming-soon__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.entry-content .coming-soon__links a { font-weight: 700; }
.entry-content input:not([type='checkbox']):not([type='radio']), .entry-content textarea, .entry-content select { max-width: 100%; padding: 12px 14px; border: 1px solid #b9c6cc; border-radius: 8px; }
.entry-content button, .entry-content input[type='submit'] { padding: 12px 20px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; cursor: pointer; }
.archive-header { margin-bottom: 38px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card h2 { font-size: 1.9rem; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { color: var(--teal-deep); }
.post-card__date { color: var(--teal-deep); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.post-card p:not(.post-card__date) { color: var(--muted); }
.navigation.pagination { margin-top: 30px; }

/* Footer */
.site-footer { padding-top: 65px; background: var(--navy); color: #d9e4e9; }
.site-footer__top { display: flex; align-items: start; justify-content: space-between; gap: 35px; padding-bottom: 55px; }
.site-footer__brand { display: inline-block; vertical-align: middle; }
.site-footer__logo { display: block; width: 300px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.site-footer p { margin: 14px 0 0; color: #a9c4cf; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 30px; padding-top: 7px; }
.site-footer nav a, .site-footer__bottom a { color: #d9e4e9; font-size: .88rem; text-decoration: none; }
.site-footer nav a:hover, .site-footer__bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); color: #a9c4cf; font-size: .78rem; }

@media (max-width: 1050px) {
  .site-header__inner { min-height: 76px; }
  .site-branding__logo { width: 300px; }
  .site-header__cta { display: none; }
  .site-nav__list { gap: 17px; }
  .hero { min-height: 580px; }
  .hero__copy { max-width: 510px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card { min-height: 235px; }
  .about__content { padding: 60px 44px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 620px); }
  .site-header__inner { min-height: 68px; }
  .site-branding__logo { width: 240px; }
  .site-branding__name { font-size: 1.55rem; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 20px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 25px rgba(24,50,74,.08); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { display: block; padding: 12px 5px; font-size: 1rem; }
  .hero { min-height: 0; display: block; padding-top: 300px; }
  .hero__image { height: 350px; bottom: auto; object-position: 72% center; }
  .hero__shade { background: linear-gradient(180deg, transparent 0, transparent 230px, var(--paper) 340px); }
  .hero__inner { padding-block: 16px 70px; }
  .hero__copy { max-width: 100%; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.2rem); }
  .hero__intro { font-size: 1.05rem; }
  .section-heading--split { display: block; }
  .section-heading--split > p { max-width: 530px; margin-top: 20px; }
  .about { grid-template-columns: 1fr; }
  .about__visual { min-height: 360px; height: 360px; }
  .about__content { padding: 65px 20px 75px; }
  .about__content-inner { width: min(100%, 620px); margin-inline: auto; }
  .entry-content .about-intro { grid-template-columns: 1fr; }
  .entry-content .about-intro__portrait { grid-column: 1; grid-row: 1; }
  .entry-content .about-intro__copy { grid-column: 1; grid-row: 2; }
  .pathways-grid { grid-template-columns: 1fr; }
  .pathway { min-height: 0; }
  .contact-band__inner { display: block; }
  .contact-band .button { margin-top: 26px; }
  .site-footer__top { display: block; }
  .site-footer__top > div:first-child { text-align: center; }
  .site-footer nav { margin-top: 26px; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 34px, 480px); }
  .section { padding: 66px 0; }
  .eyebrow { font-size: .69rem; }
  .hero { padding-top: 250px; }
  .hero__image { height: 300px; }
  .hero__shade { background: linear-gradient(180deg, transparent 0, transparent 180px, var(--paper) 295px); }
  .hero__inner { padding-bottom: 65px; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; gap: 13px; }
  .process-card { min-height: 0; padding: 24px; }
  .process-card__symbol { width: 58px; height: 58px; margin-bottom: 17px; }
  .about__visual { height: 290px; min-height: 290px; }
  .pathway { padding: 32px 28px; }
  .post-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 55px; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__bottom { display: block; }
  .site-footer__bottom a { display: block; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
