:root {
  color-scheme: light;
  --white: #fff;
  --paper: var(--ui-canvas);
  --forest: var(--ui-ink);
  --deep: var(--ui-ink);
  --teal: var(--ui-teal);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  --clay: var(--ui-teal);
  --sans: 'Poppins', Arial, sans-serif;
  --serif: var(--ui-editorial);
  font-family: var(--sans);
  color: var(--forest);
  background: var(--ui-canvas);
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 1rem; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #00675c; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
p { line-height: 1.65; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 50; padding: .8rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; background: var(--ui-canvas); }
.home-header-inner, .home-footer-inner, #main-navigation, .footer-links { display: flex; align-items: center; }
.home-header-inner, .home-footer-inner { justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.5rem; }
.home-header-inner { min-height: 78px; border-bottom: 1px solid var(--ui-line); }
#main-navigation, .footer-links { flex-wrap: wrap; gap: .1rem clamp(1.25rem, 3vw, 2.4rem); }
#main-navigation a, .footer-links a, .footer-links button, .menu-toggle {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--forest); background: transparent; border: 0; padding: 0;
  font-size: var(--ui-label); font-weight: 500; text-decoration: none;
}
#main-navigation a:hover, .service-detail:hover, .footer-links :is(a,button):hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; gap: .55rem; }
.menu-lines { width: 16px; height: 8px; border-block: 1.5px solid currentColor; }
.home-hero { padding-block: clamp(2.2rem, 4.6vw, 4.2rem) 0; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.27fr) minmax(0,.86fr);
  align-items: end;
  gap: 1.5rem clamp(2rem,5vw,5rem);
  margin-bottom: clamp(1.6rem,3vw,2.65rem);
}
.hero-layout > * { min-width: 0; }
.hero-kicker { color: var(--muted); font-size: var(--ui-label); font-weight: 500; }
.home-hero h1 {
  margin-top: .7rem;
  color: var(--ui-ink);
  font: 400 clamp(3.4rem, 5.25vw, 5.35rem)/1.005 var(--serif);
  letter-spacing: -.055em; overflow-wrap: anywhere;
}
.home-hero h1 em { font-weight: inherit; }
.hero-description { max-width: 45ch; color: var(--muted); font-size: var(--ui-body); text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.1rem; margin-top: 1.1rem; }
.home-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  max-width: 100%; min-height: 48px; overflow-wrap: anywhere; padding: .72rem 1.08rem; border-radius: .4rem; border: 1px solid transparent;
  text-decoration: none; font-size: var(--ui-action); font-weight: 500; line-height: 1.4;
}
.home-button.primary { color: white; background: var(--teal); border-color: var(--teal); }
.home-button.primary:hover { background: #004f46; }
.home-button svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.home-action-link, .service-detail {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-size: var(--ui-action); font-weight: 500; color: var(--teal);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.home-action-link:hover, .service-detail:hover { color: #003e37; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 3.4; object-fit: cover; object-position: 62% 54%; }
.hero-figure figcaption { margin-top: .4rem; color: var(--muted); text-align: right; font-size: var(--ui-meta); line-height: 1.5; }
.home-service { padding-block: clamp(2rem,4.1vw,3.75rem); }
.service-inner {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr);
  align-items: start; gap: 1.25rem clamp(2rem,7vw,6rem);
}
.service-copy h2 { max-width: 17ch; font: 400 clamp(2.1rem,3.5vw,3.25rem)/1.08 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.service-copy p { max-width: 45ch; color: var(--muted); font-size: var(--ui-body); margin-top: .8rem; }
.service-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.15rem; }
.inline-journey { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.journey-links { display: grid; gap: 0; }
.journey-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem .15rem; border-top: 1px solid var(--line);
  color: var(--ui-ink); text-decoration: none; font-size: var(--ui-body); font-weight: 500;
}
.journey-links a:last-child { border-bottom: 1px solid var(--line); }
.journey-links small { display: block; color: var(--ui-muted); font-weight: 400; font-size: var(--ui-label); }
.journey-links a > span:last-child { color: var(--teal); }
.journey-links a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.return-story { padding-block: 0; }
.home-history { border-bottom: 1px solid var(--line); }
.home-history summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 68px; font-weight: 500; letter-spacing: -.02em; list-style: none; }
.home-history summary::-webkit-details-marker { display: none; }
.disclosure-mark { display: inline-grid; width: 26px; height: 26px; place-items: center; }
.disclosure-mark::before, .disclosure-mark::after { grid-area: 1 / 1; content: ''; width: 12px; height: 1.5px; background: var(--teal); }
.disclosure-mark::after { transform: rotate(90deg); }
.home-history[open] .disclosure-mark::after { display: none; }
.history-content { max-width: 65ch; font-size: var(--ui-body); padding-bottom: 1.25rem; color: var(--muted); }
.history-content p + p { margin-top: .6rem; }
.history-sources { display: flex; column-gap: 1.4rem; flex-wrap: wrap; margin-top: .5rem; }
.history-sources a, .history-content nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: var(--ui-label); text-underline-offset: 4px; }
.site-footer { background: var(--ui-canvas); }
.home-footer-inner { border-top: 1px solid var(--line); min-height: 118px; padding-block: 1.25rem; }
.footer-identity p { color: var(--muted); margin-top: .4rem; font-size: var(--ui-meta); }
.privacy-dialog { max-width: min(90vw, 430px); padding: 2rem; border: 1px solid var(--line); border-radius: .9rem; color: var(--forest); }
.privacy-dialog::backdrop { background: #102d28a8; }
.privacy-dialog h2 { margin-bottom: .5rem; font-size: 1.5rem; letter-spacing: -.04em; }
.dialog-close { float: right; width: 44px; height: 44px; background: transparent; border: 0; font-size: 1.5rem; }
@media (max-width: 740px) {
  .container { width: calc(100% - 40px); }
  .home-header-inner { min-height: 62px; flex-wrap: wrap; gap: .1rem 1rem; }
  .site-header .portal-brand, .site-footer .portal-brand { max-width: 100%; min-width: 0; white-space: normal; }
  .menu-toggle { margin-inline-start: auto; }
  .js-menu .menu-toggle { display: inline-flex; }
  .js-menu #main-navigation { display: none; }
  .js-menu.menu-open #main-navigation { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; inset: 100% 0 auto; padding: .35rem 20px .65rem; background: var(--ui-canvas); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #14302b12; }
  .site-header:not(.js-menu) .home-header-inner { flex-wrap: wrap; gap: 0 .7rem; padding-block: .45rem; }
  .site-header:not(.js-menu) #main-navigation { flex-wrap: wrap; gap: .9rem; }
  .hero-layout { grid-template-columns: minmax(0,1fr); gap: 1rem; margin-bottom: 1.35rem; }
  .home-hero { padding-top: 1.8rem; }
  .home-hero h1 { margin-top: .6rem; font-size: clamp(2.65rem,9.9vw,3.9rem); line-height: 1.04; }
  .hero-description { max-width: 47ch; }
  .hero-actions { gap: .35rem .9rem; margin-top: .8rem; }
  .hero-actions .home-button { padding-inline: .85rem; }
  .hero-figure img { aspect-ratio: 1.95; object-position: 67% 54%; }
  .service-inner { grid-template-columns: 1fr; }
  .home-footer-inner { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .footer-links { gap: .9rem; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .hero-actions svg { display: none; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { gap: .45rem .8rem; }
}
