:root {
  --evergreen: #0b2018;
  --forest: #17382c;
  --cedar: #234f3d;
  --sage: #91a68f;
  --pale-sage: #d9e3db;
  --stone: #d8d0c2;
  --warm-stone: #e8e1d3;
  --cream: #f5efe4;
  --paper: #fbf7ef;
  --ink: #162d31;
  --muted: #607075;
  --line: rgba(22, 45, 49, .14);
  --white: #fffdf8;
  --shadow: 0 26px 70px rgba(9, 30, 23, .16);
  --soft-shadow: 0 16px 42px rgba(9, 30, 23, .10);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--white);
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(11, 32, 24, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s, background .25s;
}

.site-header.is-scrolled {
  background: rgba(8, 26, 19, .98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: white;
}

.brand img {
  width: 60px;
  opacity: .96;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  letter-spacing: .2em;
  font-size: 1.05rem;
}

.brand-copy small {
  margin-top: .4rem;
  letter-spacing: .3em;
  font-size: .57rem;
  color: #b8d0c0;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #edf4ee;
  font-weight: 760;
  font-size: .91rem;
}

.site-menu > a:not(.button) {
  position: relative;
}

.site-menu > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.44rem;
  height: 2px;
  background: #a8bea5;
  transition: right .2s;
}

.site-menu > a:not(.button):hover::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: .4rem;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .86rem 1.28rem;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--evergreen);
  color: white;
  box-shadow: 0 15px 34px rgba(12, 33, 26, .24);
}

.button-primary:hover {
  background: #071711;
}

.button-outline {
  color: white;
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.button-outline:hover {
  border-color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .13);
}

.button-portal {
  background: #eef3ee;
  color: var(--evergreen);
  padding: .68rem 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.button-light {
  background: white;
  color: var(--evergreen);
  white-space: nowrap;
}

.button-small {
  padding: .68rem 1rem;
}

.hero {
  position: relative;
  min-height: 880px;
  padding: 180px 0 150px;
  overflow: hidden;
  background: var(--evergreen);
  color: white;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 249, 225, .18), transparent 34%),
    linear-gradient(90deg, rgba(6, 21, 15, .94) 0%, rgba(8, 29, 21, .78) 42%, rgba(14, 44, 32, .26) 72%, rgba(11, 32, 24, .12) 100%),
    linear-gradient(0deg, rgba(8, 25, 18, .20), rgba(8, 25, 18, .08));
}

.hero-layout {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero h1,
.intro-band h2,
.landscape-panel h2,
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.hero h1 {
  font-size: clamp(4.4rem, 8vw, 8.2rem);
  line-height: .88;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 20px 50px rgba(0, 0, 0, .32);
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2.15rem;
}

.hero-ridge {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -82px;
  height: 150px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .23em;
  font-size: .7rem;
  font-weight: 900;
  color: var(--cedar);
  margin: 0 0 1.1rem;
}

.eyebrow.light {
  color: #c2d5c7;
}

.intro-band {
  padding: 132px 0 116px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 6rem;
  align-items: start;
}

.intro-lead h2 {
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

.intro-copy {
  padding-top: 2.35rem;
}

.intro-copy p {
  font-size: 1.12rem;
  color: #4d646a;
  margin: 0 0 1.35rem;
}

.landscape-break {
  padding: 0 0 118px;
}

.landscape-panel {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 3rem;
  align-items: end;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(110deg, rgba(8, 27, 20, .96), rgba(35, 79, 61, .74)),
    url("assets/forest-ridge.svg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.landscape-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(244, 238, 218, .18), transparent 34%);
}

.landscape-panel::after {
  content: "";
  position: absolute;
  inset: auto -5% -116px;
  height: 220px;
  background: rgba(11, 32, 24, .36);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.landscape-panel > div {
  position: relative;
  z-index: 2;
}

.landscape-panel h2 {
  font-size: clamp(2.7rem, 4.4vw, 4.65rem);
  line-height: 1;
  margin: 0;
}

.landscape-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.76rem;
  line-height: 1.25;
  color: #e2eadf;
  border-left: 1px solid rgba(255, 255, 255, .28);
  padding-left: 2rem;
}

.section {
  padding: 118px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3.2rem;
}

.section-heading h2,
.coverage-copy h2,
.contact-copy h2 {
  font-size: clamp(2.75rem, 4.8vw, 5rem);
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

.services {
  background:
    radial-gradient(circle at 95% 4%, rgba(145, 166, 143, .20), transparent 34%),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  padding: 2.15rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .86), rgba(238, 232, 219, .92)),
    #f0eee7;
  border: 1px solid rgba(22, 45, 49, .12);
  overflow: hidden;
  min-height: 292px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -38px -72px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 227, 219, .72), rgba(145, 166, 143, .34));
}

.service-card::after {
  content: "";
  position: absolute;
  left: 2.15rem;
  right: 2.15rem;
  bottom: 1.55rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(35, 79, 61, .32), transparent);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 79, 61, .24);
  box-shadow: 0 22px 60px rgba(15, 47, 37, .12);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--evergreen);
  color: white;
  box-shadow: 0 12px 26px rgba(11, 32, 24, .18);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.service-icon-medical::before {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #f1f6ed;
}

.service-icon-medical::after {
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: #f1f6ed;
}

.service-icon-disability::before {
  width: 23px;
  height: 27px;
  border: 2px solid #f1f6ed;
  border-radius: 4px;
}

.service-icon-disability::after {
  width: 14px;
  height: 2px;
  background: #f1f6ed;
  box-shadow: 0 7px 0 #f1f6ed;
}

.service-icon-records::before {
  width: 26px;
  height: 18px;
  border: 2px solid #f1f6ed;
  border-radius: 3px;
}

.service-icon-records::after {
  width: 16px;
  height: 2px;
  background: #f1f6ed;
  box-shadow: 0 6px 0 #f1f6ed;
}

.service-icon-referral::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1f6ed;
  box-shadow: 18px 0 0 #f1f6ed, 9px 16px 0 #f1f6ed;
}

.service-icon-referral::after {
  width: 25px;
  height: 19px;
  border-top: 2px solid #f1f6ed;
  border-left: 2px solid #f1f6ed;
  transform: rotate(27deg);
  opacity: .9;
}

.service-number {
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--cedar);
  font-weight: 900;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
  margin: 1.35rem 0 .85rem;
  max-width: 420px;
  color: var(--ink);
}

.service-card p {
  position: relative;
  z-index: 1;
  color: #4d646a;
  max-width: 480px;
  margin: 0;
}

.process-section {
  background: var(--evergreen);
  color: white;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/topographic-lines.svg") center / cover no-repeat;
  opacity: .14;
}

.process-layout {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 6rem;
}

.process-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-copy h2 {
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  line-height: 1;
  margin: 0 0 1.4rem;
}

.process-copy > p:not(.eyebrow) {
  color: #cbdcd0;
  font-size: 1.08rem;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.process-list li {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.process-list > li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  font-size: .72rem;
  letter-spacing: .12em;
  color: #c2d5c7;
}

.process-list h3 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
}

.process-list p {
  margin: 0;
  color: #cbdcd0;
}

.coverage {
  background: linear-gradient(180deg, #e6ece5, #f6f1e7);
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 5rem;
  align-items: center;
}

.coverage-visual {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dfe8e0;
}

.coverage-copy p:not(.eyebrow) {
  font-size: 1.08rem;
  color: var(--muted);
}

.coverage-list {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin: 1.7rem 0;
}

.coverage-list span {
  padding: .5rem .75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 800;
}

.fine-print {
  font-size: .88rem !important;
}

.trust-section {
  background:
    linear-gradient(180deg, #eee8dc, #e4ddd0);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.2rem;
}

.trust-card,
.portal-card {
  border-radius: 28px;
  padding: 2.25rem;
  background: linear-gradient(135deg, #214b39, #0b2018);
  color: white;
  box-shadow: var(--shadow);
}

.trust-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.8rem;
  align-items: center;
}

.affiliation-lockup {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 0;
}

.affiliation-lockup img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.trust-card h2,
.portal-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1.04;
  margin: .1rem 0 .7rem;
}

.trust-card p:last-child,
.portal-card p {
  color: #cee0d2;
}

.portal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  background: linear-gradient(135deg, #183743, #0b242b);
}

.portal-card img {
  opacity: .96;
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  font-size: 1.08rem;
  color: var(--muted);
}

.contact-details {
  margin-top: 2.2rem;
}

.contact-details p {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-top: 1px solid var(--line);
  padding: .9rem 0;
  margin: 0;
}

.contact-details a {
  font-weight: 780;
}

.contact-form {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #16392c, #0b2018);
  color: white;
  box-shadow: var(--shadow);
}

.form-intro {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
}

.form-intro span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dfe9e0;
  color: var(--evergreen);
  font-weight: 900;
}

.form-intro p {
  margin: 0;
  font-weight: 800;
}

.contact-form label {
  display: grid;
  gap: .45rem;
  font-weight: 780;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  padding: .9rem 1rem;
  color: white;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b7d0bd;
  box-shadow: 0 0 0 4px rgba(183, 208, 189, .14);
}

.contact-form .button-primary {
  background: #edf3ed;
  color: var(--evergreen);
}

.form-note {
  min-height: 1.3rem;
  color: #bdd2c1;
  font-size: .86rem;
}

.footer {
  background:
    linear-gradient(180deg, #0a2118, #061511);
  color: #dce8de;
  padding: 4.5rem 0 1.7rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.7rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.footer-brand img {
  opacity: .96;
}

.footer-brand span {
  display: grid;
  line-height: 1;
}

.footer-brand strong {
  letter-spacing: .18em;
}

.footer-brand small {
  margin-top: .35rem;
  letter-spacing: .26em;
  font-size: .55rem;
  color: #9eb9a5;
}

.footer-top p {
  color: #b4c6b9;
  max-width: 460px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 760;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: #95ad9b;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--evergreen);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .hero {
    min-height: 780px;
    padding-top: 136px;
  }

  .hero-layout {
    min-height: 430px;
  }

  .intro-grid,
  .process-layout,
  .coverage-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .landscape-panel {
    grid-template-columns: 1fr;
  }

  .landscape-quote {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
    padding: 1.5rem 0 0;
  }

  .process-copy {
    position: static;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .portal-card {
    grid-template-columns: auto 1fr;
  }

  .portal-card .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .nav {
    height: 74px;
  }

  .brand img {
    width: 46px;
  }

  .brand-copy strong {
    font-size: .92rem;
  }

  .brand-copy small {
    letter-spacing: .22em;
  }

  .hero {
    min-height: 720px;
    padding: 122px 0 112px;
  }

  .hero-layout {
    min-height: 390px;
    align-items: end;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-ridge {
    bottom: -96px;
  }

  .intro-band {
    padding: 94px 0 80px;
  }

  .intro-lead h2,
  .landscape-panel h2,
  .section-heading h2,
  .coverage-copy h2,
  .contact-copy h2 {
    font-size: 2.55rem;
  }

  .landscape-break {
    padding-bottom: 80px;
  }

  .landscape-panel {
    padding: 2rem;
    min-height: 430px;
    border-radius: 24px;
  }

  .landscape-quote {
    font-size: 1.35rem;
  }

  .section {
    padding: 84px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .process-list li {
    grid-template-columns: 58px 1fr;
  }

  .trust-card {
    grid-template-columns: 1fr;
  }

  .affiliation-lockup {
    min-height: auto;
  }

  .portal-card {
    grid-template-columns: 1fr;
  }

  .contact-details p {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
