@font-face {
  font-family: 'DM Sans';
  src: url('dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('playfair.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('playfair-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #152523;
  --dark: #172b27;
  --muted: #53635e;
  --paper: #f8f7f3;
  --sage: #e5eae1;
  --accent: #945135;
  --line: #d9dfd7;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --section: clamp(3.8rem, 7vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ae673d; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .serif { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(2.15rem, 4.8vw, 4rem); }
h3 { line-height: 1.25; }
em { font-weight: inherit; }
address { font-style: normal; }
.wrap { width: min(calc(100% - 5rem), 80rem); margin-inline: auto; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 10; background: white; color: var(--ink); padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; gap: .65rem; padding: .7rem 1.1rem; border-radius: .25rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; font-weight: 700; font-size: .9375rem; line-height: 1.35; transition: background .18s, border-color .18s, color .18s; }
.button--primary { background: var(--dark); color: #fff; }
.button--primary:hover { background: #2e4a41; }
.button--line { border-color: #acb7ad; color: var(--ink); }
.button--line:hover { background: var(--sage); border-color: var(--dark); }
.text-link { font-weight: 700; text-decoration-color: #a9afa7; }
.text-link:hover { text-decoration-color: currentColor; }
.icon { display: block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.masthead { background: var(--dark); color: #f5f3e9; position: relative; z-index: 2; }
.masthead-row { min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; }
.logo { justify-self: start; width: 6.6rem; align-self: center; }
.masthead nav { display: flex; align-items: center; gap: clamp(1rem, 2.65vw, 2.4rem); }
.masthead nav a { text-decoration: none; font-size: .9375rem; }
.masthead nav a:hover, .masthead nav [aria-current='page'] { text-decoration: underline; }
.header-contact { justify-self: end; color: #f5f3e9; border-color: #77897c; min-height: 2.65rem; }
.header-contact:hover { background: #314b41; }
.menu-toggle { display: none; }

.hero { padding-block: clamp(2.45rem, 4vw, 3.8rem) clamp(2.85rem, 4.7vw, 4.35rem); background: radial-gradient(ellipse at 88% 8%, #e8ede4, transparent 58%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 3.8vw, 4.35rem); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .7rem; }
.hero-copy .eyebrow::before { width: 1.65rem; height: 1px; background: currentColor; content: ''; }
.hero h1 { margin: 1.15rem 0 1.6rem; font-size: clamp(3.15rem, 5.7vw, 5.65rem); letter-spacing: -.065em; line-height: 1.02; }
.hero h1 em { display: block; color: #3e5e53; }
.hero-lead { max-width: 34rem; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.24rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.hero-portrait { position: relative; overflow: hidden; isolation: isolate; border-radius: .4rem; background: #6e5e51; box-shadow: 0 1.4rem 3rem -1.15rem #23352c66; }
.hero-portrait img { width: 100%; height: auto; aspect-ratio: 1.09; object-fit: cover; object-position: 52% 32%; }
.hero-portrait::after { content: ''; position: absolute; inset: 71% 0 0; background: linear-gradient(transparent, #101d19dc); pointer-events: none; }
.hero-portrait figcaption { position: absolute; inset: auto 1.5rem 1.45rem; color: white; z-index: 1; display: grid; line-height: 1.4; padding-left: .8rem; border-left: 1px solid #e2b79e; }
.hero-portrait figcaption b { font-size: 1.05rem; }
.hero-portrait figcaption span { font-size: .875rem; color: #edece5; }

.facts { background: var(--sage); padding-block: clamp(1.2rem, 2.6vw, 2.1rem); }
.facts-list { margin-block: 0; display: grid; grid-template-columns: 1fr 1.12fr 1.12fr; }
.fact { min-width: 0; padding-inline: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid #becbbf; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-weight: 700; }
.fact dd { margin: 0; color: var(--muted); font-size: .9375rem; }

.areas-section, .profile-section, .inner-section { padding-block: var(--section); }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 1.4rem 4rem; margin-bottom: 2.1rem; }
.section-heading .eyebrow { margin-bottom: .75rem; }
.section-heading > p { max-width: 27rem; color: var(--muted); }
.featured-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.feature-card { position: relative; min-height: 14.5rem; border: 1px solid #c8d3c8; padding: clamp(1.45rem, 3.1vw, 2.6rem); background: #e6ebe2; border-radius: .35rem; display: flex; align-items: flex-start; flex-direction: column; }
.feature-card:nth-child(2) { background: #efe8dc; border-color: #e2d6c5; }
.feature-card .icon { width: 1.65rem; height: 1.65rem; margin-bottom: .95rem; }
.feature-card h3 { font-size: clamp(1.6rem, 2.55vw, 2.3rem); }
.feature-card p { margin: .7rem 0 1.05rem; max-width: 30rem; color: #45574e; }
.feature-card .text-link { margin-top: auto; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.8rem; margin: 0; padding: 0; list-style: none; }
.area-list li { border-top: 1px solid #c8d1c7; }
.area-list a { text-decoration: none; display: grid; gap: .3rem; padding: 1rem 0; }
.area-list a:hover h3 { text-decoration: underline; }
.area-list h3 { font-size: 1.05rem; }
.area-list p { color: var(--muted); font-size: .9375rem; }
.area-all { margin-top: 2rem; }

.profile-section { background: #e5e9e0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, .72fr) 1fr; gap: clamp(2rem, 7vw, 7.5rem); align-items: center; }
.profile-picture { min-height: 27rem; position: relative; background: radial-gradient(ellipse at 57% 25%, #a2a99a 0%, #6f8275 69%, #5c7164 100%); overflow: hidden; border-radius: .35rem; display: grid; place-items: end center; }
.profile-picture img { width: min(68%, 21rem); height: 29rem; object-fit: contain; object-position: bottom; }
.profile-copy h2 { margin: .75rem 0 1.2rem; }
.profile-copy > p:not(.eyebrow) { color: #40554a; margin-bottom: .8rem; max-width: 34rem; }
.profile-copy .button { margin-top: 1rem; }
.profile-copy .registration { font-size: .9375rem; font-weight: 700; }

.breadcrumb { font-size: .875rem; color: #4b6359; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.breadcrumb ol { display: flex; gap: .35rem .7rem; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: .7rem; color: #75867b; }
.inner-hero { padding-block: 1.6rem clamp(3.1rem, 6vw, 5.75rem); background: #e6ebe2; }
.inner-hero .eyebrow { margin-bottom: .75rem; }
.inner-hero h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); max-width: 65rem; }
.inner-intro { max-width: 53rem; color: #40564b; font-size: clamp(1.05rem, 1.6vw, 1.27rem); margin-top: 1.4rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.65rem; font-size: .9375rem; }
.service-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(15rem, 1fr); gap: clamp(2.8rem, 6vw, 6rem); align-items: start; }
.service-layout h2, .support-section h2 { font-size: clamp(2.05rem, 3.7vw, 3.2rem); }
.service-topics { display: grid; gap: 1.4rem; padding-top: 1.6rem; }
.topic { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.topic h3 { margin-bottom: .4rem; font-size: 1.19rem; }
.topic p, .source-list, .service-faq p { color: var(--muted); }
.service-side { background: #edf0e9; border: 1px solid #d7dfd4; border-radius: .35rem; padding: clamp(1.2rem, 2.6vw, 2rem); }
.service-side h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.service-side ul { padding-left: 1.1rem; margin: 0 0 1.4rem; }
.service-side li + li { margin-top: .5rem; }
.support-section { padding-block: var(--section); background: #edf0e9; }
.support-grid { display: grid; grid-template-columns: .64fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.service-faq details { border-top: 1px solid #bdcbbd; padding-block: .85rem; }
.service-faq details:last-child { border-bottom: 1px solid #bdcbbd; }
.service-faq summary { cursor: pointer; font-weight: 700; }
.service-faq p { margin: .55rem 0 0; }
.source-list { margin-top: 1.35rem; }
.source-list ul { padding-left: 1.1rem; margin: .4rem 0 0; }
.related h2 { margin-bottom: 1.35rem; }
.related .area-list a { min-height: 4.65rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1rem; margin-top: 2rem; }
.team-card { border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.team-card img { width: 100%; aspect-ratio: 1.1; object-fit: cover; object-position: 50% 22%; background: var(--sage); border-radius: .3rem; margin-bottom: .75rem; }
.team-card p { color: var(--muted); font-size: .9375rem; }

.site-footer { background: #10221e; color: #f0f2e9; padding-block: 2.8rem 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr 1fr; gap: 2.3rem; align-items: start; }
.footer-brand img { width: 7.3rem; }
.footer-brand p { margin-top: .45rem; color: #c3cdc1; }
.footer-grid h2 { font: 700 1rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: .65rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { text-decoration-color: #92a396; }
.footer-grid a:hover { text-decoration-color: currentColor; }
.footer-bottom { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; margin-top: 2rem; border-top: 1px solid #41584c; padding-top: 1rem; font-size: .875rem; color: #c3cdc1; }
.social { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-credit { margin-top: .85rem; font-size: .875rem; color: #c3cdc1; }
.footer-credit a { color: #f1e1ce; text-decoration-color: #a78e77; }
.footer-credit a:hover { text-decoration-color: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .home-page { scroll-behavior: smooth; }
  .hero-copy > * { animation: arrive 680ms cubic-bezier(.22, 1, .36, 1) both; }
  .hero-copy h1 { animation-delay: 75ms; }
  .hero-copy .hero-lead { animation-delay: 145ms; }
  .hero-copy .hero-actions { animation-delay: 200ms; }
  .hero-portrait img { animation: portrait-settle 1200ms cubic-bezier(.22, 1, .36, 1) both; }
  .has-arrived { animation: arrive 650ms cubic-bezier(.22, 1, .36, 1) both; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .hero-actions .button { transition: background .2s, border-color .2s, color .2s, transform .25s; }
  .hero-actions .button:hover { transform: translateY(-3px); }
  .areas-section .feature-card { transition: transform .3s, box-shadow .3s; }
  .areas-section .feature-card:hover { transform: translateY(-5px); box-shadow: 0 .8rem 1.7rem #293c301c; }
}

@keyframes arrive {
  from { opacity: .7; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portrait-settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@media (max-width: 70rem) {
  .hero h1 { font-size: clamp(3.1rem, 6.25vw, 5rem); }
}

@media (max-width: 56rem) {
  .wrap { width: calc(100% - 3rem); }
  .masthead-row { column-gap: 1rem; }
  .masthead nav { gap: 1rem; }
  .header-contact { padding-inline: .65rem; }
  .hero-grid { gap: 1.75rem; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); }
  .hero-portrait img { aspect-ratio: .91; }
  .hero h1 { font-size: clamp(2.95rem, 6.45vw, 4.5rem); }
  .section-heading { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; min-height: 4rem; padding-block: .2rem; }
  .logo { width: 5.8rem; }
  .header-contact { display: none; }
  .menu-toggle { display: none; background: transparent; border: 1px solid #75877d; color: #f5f3e9; padding: .6rem .85rem; border-radius: .25rem; align-items: center; gap: .5rem; }
  .js .menu-toggle { display: inline-flex; }
  .masthead nav { order: 3; width: 100%; padding: .25rem 0 .6rem; flex-wrap: wrap; gap: .2rem 1rem; }
  .masthead nav a { display: block; padding-block: .4rem; }
  .js .masthead nav:not([data-open]) { display: none; }
  .hero { padding-block: 2.8rem 1.5rem; }
  .hero-grid, .section-heading, .profile-grid, .support-grid, .service-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.7rem; }
  .hero h1 { font-size: clamp(2.45rem, 10.4vw, 4.2rem); margin-block: .85rem 1rem; }
  .hero-actions { margin-top: 1.35rem; gap: .45rem; }
  .hero-actions .button { padding-inline: .65rem; font-size: .875rem; min-height: 3.1rem; }
  .hero-portrait img { aspect-ratio: 1.02; object-position: 53% 32%; }
  .hero-portrait figcaption { inset: auto 1rem .9rem; }
  .facts-list { grid-template-columns: 1fr; }
  .fact, .fact:first-child { border-left: 0; border-bottom: 1px solid #becbbf; padding: .65rem 0; }
  .fact:last-child { border-bottom: 0; }
  .section-heading { gap: .85rem; }
  .featured-areas { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; }
  .profile-picture { min-height: 0; }
  .profile-picture img { height: 23rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 23rem) {
  .area-list, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions a { padding-inline: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

.faq-section, .contact-section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.faq-section { background: #edf0eb; }

.faq-layout, .contact-layout {
  display: grid;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.faq-layout { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.contact-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }

.faq-heading h2, .contact-copy h2 {
  margin: 0;
  max-width: 13ch;
  line-height: 1.07;
  font-size: clamp(2.55rem, 4.8vw, 4.7rem);
}

.faq-heading .eyebrow, .contact-copy .eyebrow { margin-bottom: 1.05rem; }
.faq-list { border-top: 1px solid #cbd4ca; }
.faq-list details { border-bottom: 1px solid #cbd4ca; }

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.85rem;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  min-height: 3.75rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid #b9c5ba;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.66rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 0.66rem no-repeat;
}

.faq-list details[open] summary::after { background-size: 0.66rem 1px, 0 0; }
.faq-list details p { margin: -0.2rem 2.9rem 1.3rem 0; color: var(--muted); }
.faq-list details a { color: var(--ink); text-underline-offset: 0.17em; }

.contact-section {
  background: #172b27;
  color: #f7f6ef;
}

.contact-copy .eyebrow { color: #e2b79e; }
.contact-copy h2 { color: inherit; }

.contact-lead {
  color: #d2ddd3;
  margin: 1.3rem 0 2.3rem;
  max-width: 34ch;
  font-size: 1.1rem;
}

.contact-channels {
  display: grid;
  max-width: 31rem;
  font-style: normal;
}

.contact-channels > div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.55fr) minmax(0, 1.45fr);
  align-items: baseline;
  gap: 0.4rem 0.9rem;
  padding-block: 1rem;
  border-top: 1px solid #486058;
}

.contact-channels span { color: #d2ddd3; }

.contact-channels a {
  justify-self: start;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-channels a:hover, .contact-channels a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-form {
  padding: clamp(1.3rem, 4vw, 2.65rem);
  border: 1px solid #507065;
  background-color: #263e36;
}

.contact-form h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.17;
}

.contact-form-hint { margin: 0.7rem 0 1.6rem; color: #d2ddd3; }

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

.contact-field { display: grid; gap: 0.4rem; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label { font-size: 0.9375rem; font-weight: 650; }
.contact-field label span { color: #d2ddd3; font-weight: 400; }

.contact-field :is(input, select, textarea) {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 3rem;
  border: 1px solid #829a8d;
  border-radius: 0.3rem;
  padding: 0.65rem 0.7rem;
  background-color: #1c302a;
  color: #f7f6ef;
  color-scheme: dark;
  font: inherit;
}

.contact-field textarea { resize: vertical; }
.contact-field :is(input, textarea)::placeholder { color: #b9c9be; opacity: 1; }

.contact-field select {
  appearance: none;
  padding-right: 2.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f7f6ef' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.65rem center;
  background-repeat: no-repeat;
}

.contact-form :is(input, select, textarea, button):focus-visible,
.contact-channels a:focus-visible {
  outline: 2px solid #f3cbb1;
  outline-offset: 0.2rem;
}

.contact-form .contact-submit {
  width: 100%;
  margin-top: 1.3rem;
  border-color: transparent;
  background: #edc6ad;
  color: #192c26;
  cursor: pointer;
}

.contact-form .contact-submit:hover { background: #f9d9c3; }

@media (max-width: 820px) {
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .contact-fields { grid-template-columns: 1fr; }
  .contact-channels > div { grid-template-columns: 1fr; }
}
