:root {
  --ink: #1F4034;
  --text: #2A3D34;
  --muted: #566B60;
  --line: #DCE7DF;
  --tint: #F3F7F4;
  --on-dark: #F4F8F5;
  --on-dark-muted: #BCD2C4;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 8px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* header */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 28px; padding-block: 26px; }
.brand { font: 400 1.35rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 24px; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--muted); padding-block: 4px; transition: color .2s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; margin-top: -86px; padding-top: 86px; min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero .wrap { position: relative; width: 100%; padding-block: 56px 72px; }
.rings { position: absolute; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .rings { animation: rings-in 1.8s ease-out both; } }
@keyframes rings-in { from { opacity: 0; } }
.hero .rings { top: 50%; right: max(-470px, -32vw); width: min(140vh, 1300px); height: auto; transform: translateY(-50%); }
h1 { font: 300 clamp(4rem, 11vw, 8.5rem)/.98 var(--serif); letter-spacing: -.025em; color: var(--ink); }
h1 small { display: block; margin-bottom: 22px; font: 500 1rem/1.4 var(--sans); letter-spacing: .01em; color: var(--muted); }
.lede { max-width: 22em; margin-top: 30px; font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.45 var(--serif); color: var(--text); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 38px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; transition: background .2s; }
.btn:hover { background: #2D5A49; }
.more { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.more:hover { text-decoration-thickness: 2px; }

/* sections */
main > section:not(.hero):not(.contact) { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr); gap: 20px clamp(32px, 6vw, 80px); }
.label { font: 500 1rem/1.5 var(--sans); color: var(--muted); }
.prose { max-width: 42em; }
.prose p + p { margin-top: 1.1em; }
.bio p:first-child { font: 400 clamp(1.4rem, 2.6vw, 1.8rem)/1.35 var(--serif); color: var(--ink); margin-bottom: 1.4em; }

/* rows */
.sub { font: 500 .95rem/1.5 var(--sans); color: var(--muted); margin-bottom: 8px; }
.sub:not(:first-child) { margin-top: 52px; }
.rows { border-top: 1px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 24px; gap: 8px 32px; align-items: baseline; padding: 22px 0; text-decoration: none; transition: padding .25s, background .25s; }
.rows h4 { font: 400 clamp(1.4rem, 2.4vw, 1.75rem)/1.2 var(--serif); color: var(--ink); }
.rows p { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.arrow { color: var(--ink); text-align: right; transition: transform .25s; }
.rows a:hover { background: var(--tint); padding-inline: 14px; }
.rows a:hover .arrow { transform: translateX(3px); }
.topics { columns: 2; column-gap: 32px; border-top: 1px solid var(--ink); padding-top: 18px; }
.topics li { padding-block: 4px; break-inside: avoid; }

/* contact */
.contact { background: var(--ink); color: var(--on-dark); padding-block: clamp(64px, 9vw, 112px); }
.contact .label { color: var(--on-dark-muted); }
.phones { font: 300 clamp(2rem, 5.6vw, 4rem)/1.2 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.phones a { text-decoration: none; }
.phones a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact address { margin-top: 34px; color: var(--on-dark-muted); }
.contact strong { font-weight: 500; color: var(--on-dark); }
.contact .more { display: inline-block; margin-top: 20px; color: var(--on-dark); }

/* sub pages */
.page { position: relative; overflow: hidden; margin-top: -86px; padding-top: calc(86px + clamp(32px, 6vw, 72px)); }
.page .wrap { position: relative; }
.page .rings { top: -330px; right: -380px; width: 760px; height: auto; }
.page h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.02; max-width: 11em; }
.crumbs { margin-bottom: 30px; font-size: .92rem; color: var(--muted); }
.crumbs a { text-underline-offset: 4px; }
.page .lede { max-width: 34em; }
.body { margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--line); }
.page .prose h2 { margin: 2.2em 0 .5em; font: 400 1.7rem/1.25 var(--serif); color: var(--ink); }
.page .prose h2:first-child { margin-top: 0; }
.faq h3 { margin-top: 1.5em; font: 500 1.0625rem/1.5 var(--sans); color: var(--ink); }
.faq h3:first-child { margin-top: 0; }
.faq p { margin-top: .25em; }
.byline { margin-top: 2.6em !important; font-size: .95rem; color: var(--muted); }
.related { margin-top: clamp(56px, 8vw, 88px); padding-block: 36px clamp(56px, 8vw, 88px); border-top: 1px solid var(--line); }
.related ul { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.related a { font: 400 1.3rem/1.4 var(--serif); color: var(--ink); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* footer, 404 */
.foot { background: var(--ink); color: var(--on-dark-muted); font-size: .88rem; line-height: 1.55; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 40px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.14); }
.foot p:last-child { max-width: 44em; }
main > section.notfound { border: 0; min-height: 50vh; }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 24px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .rows a { grid-template-columns: minmax(0, 1fr) 24px; padding-block: 18px; }
  .rows p { grid-row: 2; grid-column: 1 / -1; }
  .rows a:hover { padding-inline: 0; background: none; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero .wrap { padding-block: 72px 300px; }
  .hero .rings { top: auto; bottom: -350px; right: -220px; width: 800px; transform: none; }
  .page .rings { top: -210px; right: -250px; width: 420px; }
  .topics { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
