:root {
  --ink: #163c38;
  --ink-deep: #0e2e2b;
  --sage: #b9cbbf;
  --sage-light: #dfe8df;
  --mist: #eef2eb;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: rgba(22, 60, 56, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  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.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition:
    background 250ms ease,
    border-color 250ms ease,
    backdrop-filter 250ms ease;
}

.site-header.scrolled {
  background: rgba(247, 248, 243, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
}

.brand strong {
  margin-left: 2px;
  color: #6f9482;
  font-size: 31px;
  font-weight: 400;
}

.site-header .brand {
  font-size: 27px;
}

.site-header .brand strong {
  font-size: 38px;
}

.brand-symbol {
  position: relative;
  display: block;
  width: 46px;
  height: 42px;
  margin-right: 10px;
  flex: 0 0 46px;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.brand-symbol img {
  position: absolute;
  top: -5px;
  left: -3px;
  display: block;
  width: 52px;
  height: 52px;
  max-width: none;
  opacity: 0.82;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #163c38;
  color: var(--white);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-cta:hover {
  border-color: transparent;
  background: #163c38;
  color: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 8px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  min-height: 100svh;
  padding: 146px 0 30px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  min-height: 590px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: 50px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: #56766c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 730px;
  margin-bottom: 25px;
  font-size: clamp(60px, 6.7vw, 96px);
  line-height: 0.93;
}

h1 em {
  color: #6c917e;
  font-weight: 400;
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 38px;
  color: #43635d;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button span {
  font-size: 17px;
}

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

.button-primary {
  background: #163c38;
  color: var(--white);
}

.button-primary:hover {
  background: var(--ink-deep);
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.text-link span {
  font-size: 16px;
}

.hero-art {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 0.86;
  margin-left: auto;
  color: rgba(22, 60, 56, 0.6);
}

.hero-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  inset: 4% 2% 10% 7%;
  transform: rotate(14deg);
}

.orbit-two {
  inset: 16% 14% 4% 1%;
  transform: rotate(-26deg);
}

.hero-shape {
  position: absolute;
  filter: saturate(0.9);
}

.shape-a {
  top: 12%;
  right: 2%;
  width: 60%;
  height: 52%;
  border-radius: 44% 56% 56% 44% / 39% 32% 68% 61%;
  background: #b8ccbf;
  transform: rotate(12deg);
}

.shape-b {
  bottom: 6%;
  left: 2%;
  width: 56%;
  height: 46%;
  border-radius: 58% 42% 31% 69% / 50% 55% 45% 50%;
  background: #d8e3d9;
  transform: rotate(-16deg);
}

.hero-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.art-note {
  position: absolute;
  right: 9%;
  bottom: 14%;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.15;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  color: #647d75;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-foot p {
  margin: 0;
}

.hero-foot span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #94ad9d;
}

.section {
  padding: 130px 0;
}

.specialties {
  background: var(--white);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 68px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.section-heading h2,
.care-copy h2,
.journey h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(47px, 5vw, 72px);
  line-height: 0.98;
}

.section-heading > p {
  max-width: 430px;
  margin-bottom: 2px;
  color: #587069;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.specialty-card {
  position: relative;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 32px 32px 28px;
  border-right: 1px solid var(--line);
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.specialty-card:first-child {
  border-left: 1px solid var(--line);
}

.specialty-card:hover {
  z-index: 1;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-7px);
}

.card-index {
  color: #6e8a80;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.specialty-icon {
  width: 65px;
  height: 65px;
  margin: 45px 0 38px;
  color: #719582;
}

.specialty-icon svg {
  width: 100%;
  height: 100%;
}

.specialty-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.specialty-card p {
  color: #60766f;
  font-size: 14px;
  transition: color 220ms ease;
}

.specialty-card:hover p,
.specialty-card:hover .card-index,
.specialty-card:hover .specialty-icon {
  color: #cbdcd1;
}

.specialty-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.specialty-card > a span {
  font-size: 17px;
}

.care {
  background: var(--mist);
}

.care-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.care-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: #c7d7cb;
  overflow: hidden;
}

.care-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 35, 31, 0.25));
  content: "";
  pointer-events: none;
}

.care-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 700ms ease;
}

.care-visual:hover img {
  transform: scale(1.015);
}

.care-caption {
  position: absolute;
  right: auto;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  min-width: 230px;
  padding: 15px 18px 16px;
  flex-direction: column;
  gap: 5px;
  background: rgba(247, 248, 243, 0.92);
  backdrop-filter: blur(8px);
}

.care-caption small {
  color: #607b72;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.care-caption span {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.12;
}

.care-copy h2 {
  max-width: 570px;
  margin-bottom: 28px;
}

.care-intro {
  max-width: 610px;
  margin-bottom: 48px;
  color: #4c6962;
  font-size: 17px;
}

.care-points {
  border-top: 1px solid var(--line);
}

.care-points > div {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 50px 150px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.care-points span {
  padding-top: 4px;
  color: #718a82;
  font-size: 10px;
}

.care-points h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.care-points p {
  margin: 0;
  color: #5d746d;
  font-size: 13px;
}

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

.team-heading {
  margin-bottom: 54px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-member,
.team-placeholder {
  margin: 0;
}

.team-member {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.team-photo,
.portrait-placeholder {
  display: grid;
  aspect-ratio: 0.83;
  margin-bottom: 18px;
  place-items: center;
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.75), transparent 34%),
    #dfe7df;
  color: rgba(22, 60, 56, 0.28);
  overflow: hidden;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transition: transform 500ms ease;
}

.team-member:hover .team-photo img {
  transform: scale(1.018);
}

.portrait-placeholder svg {
  width: 31%;
}

.team-placeholder:nth-child(2) .portrait-placeholder {
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.72), transparent 36%),
    #cbdacd;
}

.team-placeholder:nth-child(3) .portrait-placeholder {
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.75), transparent 34%),
    #e8ece4;
}

.team-member h3,
.team-placeholder > p {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.member-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.member-meta span,
.team-placeholder > span {
  color: #6a827a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-meta span:last-child {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.member-bio {
  margin: 19px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #587069;
  font-size: 13px;
  line-height: 1.65;
}

.member-socials {
  display: flex;
  margin-top: auto;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.member-socials a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #45675f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.member-socials a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.member-socials svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.team-note {
  position: relative;
  isolation: isolate;
  display: flex;
  margin: 68px 0 0;
  padding: 34px 150px 36px 38px;
  flex-direction: column;
  gap: 4px;
  background:
    radial-gradient(circle at 87% 22%, rgba(255, 255, 255, 0.62), transparent 21%),
    linear-gradient(125deg, #d5e2d8 0%, #edf1e9 54%, #c3d6ca 100%);
  color: var(--ink);
  overflow: hidden;
  text-align: left;
}

.team-note::before {
  position: absolute;
  top: 50%;
  right: 45px;
  z-index: -1;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(22, 60, 56, 0.2);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.team-note::after {
  position: absolute;
  top: 50%;
  right: 65px;
  z-index: -1;
  color: rgba(22, 60, 56, 0.62);
  content: "+";
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-52%);
}

.team-note span {
  color: #56766c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-note strong {
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.journey {
  background: var(--white);
}

.journey-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
}

.journey-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.journey-list li {
  display: grid;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 58px 1fr;
}

.journey-list li > span {
  color: #718a82;
  font-size: 10px;
}

.journey-list h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.journey-list p {
  max-width: 500px;
  margin: 0;
  color: #60756f;
  font-size: 14px;
}

.contact {
  padding: 140px 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.contact-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contact .eyebrow {
  color: #b8d0c2;
}

.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(55px, 6.3vw, 88px);
}

.contact > div > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 34px;
  color: #c5d6cd;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--white);
}

.contact small {
  margin-top: 22px;
  color: #82a096;
  font-size: 10px;
}

.site-footer {
  padding: 72px 0 24px;
  background: #0d2d2a;
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding-bottom: 60px;
  grid-template-columns: 1.5fr 0.7fr 0.6fr;
  gap: 70px;
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-grid > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-grid p {
  margin-bottom: 10px;
  color: #d5e1da;
  font-size: 12px;
  font-weight: 500;
}

.footer-grid > div:first-child p {
  color: #8ca79e;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid span,
.footer-grid a {
  color: #8ca79e;
  font-size: 11px;
  line-height: 2;
}

.footer-grid address {
  display: flex;
  margin-bottom: 8px;
  align-items: flex-start;
  flex-direction: column;
  font-style: normal;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #708e84;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .site-header.scrolled {
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
    cursor: pointer;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 110px 28px 40px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    font-family: var(--serif);
    font-size: 35px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    margin-top: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
  }

  .main-nav .nav-cta:hover {
    background: transparent;
    color: var(--ink);
    transform: none;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-art {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .hero-foot {
    margin-top: 45px;
  }

  .section {
    padding: 100px 0;
  }

  .section-heading,
  .care-grid,
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .specialty-card,
  .specialty-card:first-child {
    min-height: 400px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .care-grid {
    gap: 65px;
  }

  .care-visual {
    aspect-ratio: 4 / 3;
  }

  .team-grid {
    gap: 14px;
  }

  .team-member h3,
  .team-placeholder > p {
    font-size: 21px;
  }

  .journey-grid {
    gap: 55px;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header .brand {
    font-size: 23px;
  }

  .site-header .brand strong {
    font-size: 33px;
  }

  .brand-symbol {
    width: 39px;
    height: 35px;
    margin-right: 8px;
    flex-basis: 39px;
  }

  .brand-symbol img {
    top: -4px;
    left: -2px;
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(53px, 16vw, 72px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    left: 50%;
    width: min(116%, 480px);
    transform: translateX(-50%);
  }

  .hero-foot {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 44px;
    gap: 26px;
  }

  .section-heading h2,
  .care-copy h2,
  .journey h2 {
    font-size: 48px;
  }

  .specialty-card {
    min-height: 390px;
    padding: 28px 25px 24px;
  }

  .specialty-icon {
    margin: 38px 0 30px;
  }

  .care-visual {
    aspect-ratio: 4 / 5;
  }

  .care-points > div {
    grid-template-columns: 35px 1fr;
  }

  .care-points p {
    grid-column: 2;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-photo,
  .portrait-placeholder {
    aspect-ratio: 0.95;
  }

  .team-member h3,
  .team-placeholder > p {
    font-size: 25px;
  }

  .team-note {
    margin-top: 54px;
    padding: 30px 90px 31px 26px;
  }

  .team-note::before {
    right: 22px;
    width: 56px;
    height: 56px;
  }

  .team-note::after {
    right: 36px;
    font-size: 40px;
  }

  .team-note span {
    max-width: 230px;
    font-size: 9px;
    line-height: 1.6;
  }

  .team-note strong {
    font-size: 28px;
  }

  .contact {
    padding: 100px 0;
  }

  .contact h2 {
    font-size: 53px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
