:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --green: #203b2e;
  --deep-green: #173428;
  --ink-soft: #46584c;
  --brass: #795b36;
  --line: #ddd5c5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--green); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.1rem); letter-spacing: -.045em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }

.container { width: min(1160px, calc(100% - 104px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.button .icon { stroke: none; }

.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 14px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.brand img { width: 65px; height: auto; mix-blend-mode: multiply; animation: logo-enter 850ms cubic-bezier(.2,.75,.25,1) both; }
.brand span { font: 1.35rem/1 var(--serif); }
.brand small { display: block; margin-top: 5px; font: 650 .71rem/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--brass); }
@keyframes logo-enter {
  from { opacity: 0; transform: translateY(10px) scale(.78) rotate(-8deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; }
nav a:hover, .contact-links a:hover { text-decoration: underline; text-underline-offset: .28em; }

.portrait-intro h1 { font-size: clamp(3.25rem, 6.6vw, 6.05rem); letter-spacing: -.055em; line-height: .99; }
.portrait-intro h1 em { display: block; font-weight: inherit; color: var(--brass); }
.profession { padding-block: 60px 65px; }
.profession p { max-width: 680px; color: var(--ink-soft); font-size: 1.125rem; margin-top: 15px; }
.button { border: 0; font-family: inherit; font-size: inherit; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 54px; padding: 12px 22px; background: var(--green); color: #fffaf0; border-radius: 6px; text-decoration: none; font-weight: 650; transition: background-color .18s; }
.button:focus-visible { outline: 2px solid #f5ead4; outline-offset: 4px; }
.button:disabled { opacity: .55; cursor: default; }
.button:hover { background: #345742; }
.portrait {
  --portrait-cycle: 7s;
  --portrait-curve: cubic-bezier(.45, 0, .25, 1);
}
.portrait-window { position: relative; overflow: hidden; isolation: isolate; background: #eae0ca; }
.portrait-slide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #eee6d5;
  animation: portrait-slide var(--portrait-cycle) var(--portrait-curve) infinite;
}
.portrait-intro {
  align-self: center;
  padding: clamp(32px, 6vw, 85px);
  padding-inline-start: max(7vw, calc((100vw - 1160px) / 2));
}
.portrait-photo { width: 100%; height: clamp(500px, 67svh, 700px); object-fit: cover; object-position: 50% 37%; }
.portrait-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px 12px;
  background: radial-gradient(ellipse at 48% 44%, #fff8e9, #e8dcc0 88%);
  color: var(--deep-green);
  text-align: center;
  opacity: 0;
  animation: portrait-message var(--portrait-cycle) var(--portrait-curve) infinite;
}
.portrait-lines { display: grid; gap: .14em; font: 400 clamp(2rem, 6.6vw, 5.25rem)/.99 var(--serif); letter-spacing: -.04em; }
.portrait-line { display: block; }
.portrait-line:last-child { color: var(--brass); font-style: italic; }
.portrait-word { display: inline-block; white-space: nowrap; }
.portrait-letter {
  display: inline-block;
  animation: portrait-letter var(--portrait-cycle) ease-out infinite both;
  animation-delay: calc(var(--letter) * 25ms);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portrait-heart {
  display: block;
  width: clamp(1.65rem, 4vw, 2.5rem);
  height: auto;
  margin: .6em auto 0;
  color: var(--brass);
  fill: currentColor;
  animation: portrait-letter var(--portrait-cycle) ease-out 460ms infinite both;
}

@keyframes portrait-slide {
  0%, 20%, 94%, 100% { transform: translateX(0); }
  30%, 84% { transform: translateX(101%); }
}
@keyframes portrait-message {
  0%, 19%, 93%, 100% { opacity: 0; }
  29%, 82% { opacity: 1; }
}
@keyframes portrait-letter {
  0%, 25%, 88%, 100% { opacity: 0; transform: translateY(.32em); }
  32%, 80% { opacity: 1; transform: translateY(0); }
}

.care-team { margin-block: 22px; }
.care-team-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 34%);
  align-items: center;
  gap: clamp(16px, 4vw, 42px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #416050;
  border-radius: 12px;
  background: var(--deep-green);
  color: #fff8e9;
}
.care-team-banner h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: normal;
  text-wrap: balance;
}
.care-team-banner p { max-width: 580px; margin-top: 12px; color: #e8e6db; font-size: 1.0625rem; }
.care-team-illustration { display: block; width: 100%; max-width: 340px; height: auto; justify-self: center; }
.care-team-traveler { animation: care-team-travel-fade 4.8s linear infinite; }
@keyframes care-team-travel-fade {
  0%, 100% { opacity: 0; }
  12%, 90% { opacity: 1; }
}
@media (max-width: 610px) {
  .care-team-banner { grid-template-columns: 1fr; }
  .care-team-illustration { max-width: 290px; }
}

.services { padding-bottom: 74px; background: #eeeade; border-block: 1px solid #e6dfd0; }
.services-title {
  padding-block: clamp(29px, 5.5vw, 66px) 0;
  color: var(--deep-green);
}
.services-title h2 {
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.services-title h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 16px;
  background: #ac8d60;
}
.services-title em {
  display: inline-block;
  color: var(--deep-green);
  font-size: 1.14em;
  font-weight: inherit;
}
.services-title strong {
  color: var(--deep-green);
  font-weight: 700;
}

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.service-grid article { padding: 23px 20px 25px; border: 1px solid #ded6c6; border-radius: 10px; background: #faf7ef; }
.service-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; background: #e9eee4; border-radius: 50%; }
.service-icon .icon { width: 23px; height: 23px; }
.service-grid h3 { font-size: 1.53rem; margin-block: 16px 9px; letter-spacing: -.025em; }
.service-grid p { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.service-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.service-photos img { width: 100%; height: clamp(150px, 27vw, 315px); object-fit: cover; border-radius: 9px; }
.service-photos img:last-child { object-position: 62% 50%; }

.contact { background: var(--deep-green); color: #fff8e9; }
.contact-inner { display: grid; grid-template-columns: 1fr .84fr; align-items: center; gap: clamp(32px, 7vw, 96px); padding-block: 65px; }
.contact p { max-width: 360px; margin-block: 15px 23px; color: #e5e7d9; }
.button-light { background: #f5ead4; color: var(--deep-green); }
.button-light:hover { background: #e8d6b2; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-fields label { display: grid; align-content: end; gap: 6px; font-weight: 600; }
.contact-fields input { min-width: 0; width: 100%; min-height: 46px; border: 1px solid #b4b8a9; border-radius: 6px; padding: 8px 11px; background: #fffcf3; color: var(--deep-green); font: inherit; }
.contact-fields input:focus-visible { outline: 2px solid #ebc995; outline-offset: 2px; }
.contact-form fieldset { min-inline-size: 0; margin: 18px 0 0; padding: 0; border: 0; }
.contact-form legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.relationship-options { display: flex; flex-wrap: wrap; gap: 8px; }
.relationship-options label { position: relative; cursor: pointer; }
.relationship-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.relationship-options span { display: grid; place-items: center; min-width: 54px; min-height: 44px; padding: 6px 12px; border: 1px solid #b4b8a9; border-radius: 6px; }
.relationship-options input:checked + span { border-color: #f5ead4; background: #f5ead4; color: var(--deep-green); }
.relationship-options input:focus-visible + span { outline: 2px solid #ebc995; outline-offset: 2px; }
.contact .form-note { margin-block: 15px 17px; font-size: .9375rem; }
.contact-links { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 6px; margin-top: 22px; font-size: .9375rem; }
.contact-links a { color: #e5e7d9; text-underline-offset: .22em; overflow-wrap: anywhere; }
.contact-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; color: var(--ink-soft); font-size: .9375rem; }
.site-footer img { width: 113px; height: auto; mix-blend-mode: multiply; }

@media (max-width: 960px) {
  .container { width: calc(100% - 70px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 690px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 71px; }
  .brand { gap: 6px; }
  .brand img { width: 43px; }
  .brand span { font-size: 1.13rem; }
  .brand small { font-size: .65rem; letter-spacing: .12em; }
  nav { gap: 12px; }
  nav a { font-size: .875rem; padding-block: 10px; }
  .nav-detail { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .portrait-slide { display: block; }
  .portrait-intro { position: absolute; inset: auto 0 0; padding: 50px 20px 26px; background: linear-gradient(transparent, #152d21e8 60%, #152d21); color: #fff8e9; }
  .portrait-intro h1 { font-size: clamp(2rem, 8vw, 3.25rem); }
  .portrait-intro h1 em { color: #f0d7ad; }
  .portrait-photo { height: clamp(410px, 74svh, 660px); object-position: 50% 27%; }
  .portrait-lines { font-size: clamp(2.4rem, 10vw, 4rem); }
  .profession { padding-block: 38px 45px; }
  .profession p { font-size: 1.0625rem; }
  .services { padding-bottom: 49px; }
  .service-grid { gap: 10px; margin-top: 22px; }
  .service-grid article { padding: 16px 12px 19px; }
  .service-grid h3 { font-size: 1.35rem; margin-top: 12px; }
  .service-photos { gap: 10px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-inner { gap: 28px; padding-block: 43px; }
}

@media (max-width: 350px) {
  .container { width: calc(100% - 30px); }
  .brand img { width: 35px; }
  nav { gap: 9px; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .care-team-traveler { display: none; }
  html { scroll-behavior: auto; }
  .brand img, .portrait-slide, .portrait-message, .portrait-letter, .portrait-heart { animation: none; }
  .portrait-intro { padding-bottom: max(55px, 4.5vw); }
  .portrait-message { z-index: 2; inset: auto 0 0; padding: 13px 8px; background: var(--deep-green); color: #fff8e9; opacity: 1; }
  .portrait-lines { display: block; font-size: clamp(.95rem, 1.8vw, 1.4rem); letter-spacing: .02em; }
  .portrait-line { display: inline; }
  .portrait-line:last-child { color: inherit; font-style: normal; }
  .portrait-heart { display: inline-block; width: 1em; margin: 0 0 0 .25em; color: #f0d7ad; vertical-align: -.12em; }
  .button { transition: none; }
}
