:root {
  --ink: #18313c;
  --muted: #5b6d73;
  --paper: #fffdf8;
  --sand: #f5efe2;
  --sea: #1f7a78;
  --sea-dark: #12545d;
  --sun: #ed9b3d;
  --coral: #d8603c;
  --line: #d8ddd8;
  --shadow: 0 18px 50px rgb(25 54 61 / 12%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 20rem; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: var(--sea-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--coral); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 5rem); margin: 0; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { margin: 0 0 1.15rem; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; color: #fff; background: var(--ink); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer { width: min(100% - 2rem, 78rem); margin-inline: auto; }
.site-header { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.2rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-header nav a, .site-footer nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--coral); }

main { min-height: 65vh; }
.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 49rem); margin-inline: auto; }
.eyebrow { margin: 0 0 .45rem; color: var(--coral); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.lede { max-width: 45rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.page-intro { padding-block: clamp(3rem, 7vw, 7rem) clamp(2rem, 4vw, 4rem); }
.page-intro h1 { max-width: 15ch; }
.page-intro .lede { margin-top: 1.25rem; }

.home-hero { position: relative; isolation: isolate; min-height: min(72vh, 47rem); display: grid; align-items: end; overflow: hidden; background: var(--sea-dark); }
.home-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(8 38 47 / 87%), rgb(8 38 47 / 25%) 68%, rgb(8 38 47 / 8%)); }
.home-hero__body { width: min(100% - 2rem, 78rem); margin: 0 auto; padding-block: clamp(4rem, 10vw, 8rem); color: #fff; }
.home-hero h1 { max-width: 12ch; text-wrap: balance; }
.home-hero .lede { margin-top: 1rem; color: #eefaf7; }
.button { display: inline-flex; align-items: center; min-height: 2.9rem; margin-top: .8rem; padding: .65rem 1rem; border-radius: 999px; color: #fff; background: var(--coral); font-weight: 800; text-decoration: none; box-shadow: 0 8px 26px rgb(83 37 21 / 22%); }
.button:hover { color: #fff; background: #b9482a; }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--sand { background: var(--sand); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.35rem; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 30px rgb(32 67 72 / 7%); }
.card__image { display: block; aspect-ratio: 325 / 184; overflow: hidden; background: #d7e7e3; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__image img { transform: scale(1.025); }
.card__body { padding: 1.25rem; }
.card h2 { margin: 0 0 .7rem; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--coral); }
.card__body > p:not(.eyebrow) { color: var(--muted); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.text-link { font-weight: 800; }

.content-hero { position: relative; display: grid; min-height: clamp(25rem, 58vw, 44rem); align-items: end; overflow: hidden; background: var(--sea-dark); }
.content-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.content-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(9 35 43 / 92%), rgb(9 35 43 / 7%) 72%); }
.content-hero__body { position: relative; z-index: 1; width: min(100% - 2rem, 72rem); margin: 0 auto; padding-block: 3rem; color: #fff; }
.content-hero__body h1 { max-width: 16ch; }
.content-hero__body .lede { margin: 1rem 0 0; color: #effaf7; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; color: #d8eee9; font-size: .9rem; }
.breadcrumbs a { color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.prose { min-width: 0; font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-size: 1.08rem; }
.prose > p:first-child { color: #34515a; font-size: 1.25rem; }
.prose h2 { margin-top: 2.5rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.prose p { white-space: pre-line; }
.section-image { width: min(100%, 46rem); margin: 1.3rem 0; border-radius: .9rem; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.5rem 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .65rem; background: var(--sand); }
.aside { align-self: start; position: sticky; top: 1rem; padding: 1.2rem; border-radius: .9rem; background: var(--sand); }
.aside h2 { margin-top: 0; font-size: 1.1rem; }
.aside ul { margin: 0; padding-left: 1.1rem; }
.aside li + li { margin-top: .7rem; }
.parent-link { display: inline-flex; margin-bottom: 1rem; font-weight: 750; }

.related { padding-block: 3rem 5rem; background: #eef5f1; }
.related + .related { border-top: 1px solid #d9e6e0; }
.related h2 { margin: 0 0 1.4rem; }
.related .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

.static-page { padding-block: clamp(3rem, 7vw, 6rem); }
.static-page h1 { margin-bottom: 1.5rem; }
.static-page h2 { margin-top: 2.4rem; }
.notice { padding: 1rem 1.2rem; border-left: .3rem solid var(--sun); background: var(--sand); }
.not-found { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(4rem, 16vw, 10rem); color: var(--sea); }

.site-footer { display: flex; justify-content: space-between; gap: 3rem; margin-top: 2rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.site-footer p { margin: .6rem 0 0; color: var(--muted); }
.footer-brand { font-size: 1rem; }

@media (max-width: 760px) {
  .site-header { min-height: 4.5rem; }
  .site-header .brand span { display: none; }
  .site-header nav { gap: .75rem; }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .site-footer { flex-direction: column; }
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
