:root {
  color-scheme: light;
  --paper: #f9f9f7;
  --white: #fdfdfa;
  --sage: #e7ece5;
  --navy: #253940;
  --ink: #1f3335;
  --text: #374a4b;
  --rule: #a6b3ab;
  --action: #36594d;
  --link: #264d43;
  --button-text: #fff;
  --focus: #214e9c;
  --footer-text: #f6f8f5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
}

:root[data-text-size="large"] { font-size: 112.5%; }
:root[data-text-size="extra-large"] { font-size: 125%; }
:root[data-contrast="high"] {
  --paper: #fff;
  --white: #fff;
  --sage: #f0f0f0;
  --navy: #171717;
  --ink: #111;
  --text: #151515;
  --rule: #595959;
  --action: #171717;
  --link: #111;
  --focus: #1748b6;
  --footer-text: #fff;
}
[data-text-only="true"] .hero-photo, [data-text-only="true"] .brand-mark { display: none; }
[data-text-only="true"] .hero-grid { grid-template-columns: minmax(0, 1fr); }

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.65; letter-spacing: .01em; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .75em; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 1.7rem + 2.25vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 2.05rem); font-weight: 600; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
a { color: var(--link); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
button, select, summary { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus { outline: none; }

.shell, .reading { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.reading { max-width: 50rem; }
.skip-link { position: absolute; z-index: 3; top: .75rem; left: 1rem; background: var(--white); padding: .65rem 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1.25rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.logo-filters { position: absolute; }
.brand-mark { position: relative; flex: none; }
.brand-mark img {
  display: block;
  width: auto;
  height: 9rem;
  filter: brightness(.88) contrast(1.38) saturate(1.12);
}

/* Preserve the stronger lettering without changing the wolf linework. */
.brand-mark::before, .brand-mark::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("/assets/yummy-trust-principal-logo.webp") center / 100% 100% no-repeat;
  filter: url("#logo-letter-sharpen") brightness(.80) contrast(1.72) saturate(1.08);
  pointer-events: none;
  content: "";
}
.brand-mark::before { clip-path: inset(0 0 81%); }
.brand-mark::after { clip-path: inset(82% 0 0); }
.primary-nav, .utility-nav, .header-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem .9rem; }
.primary-nav a, .utility-nav a, .sensory summary { display: inline-block; padding-block: .4rem; font-size: .875rem; font-weight: 600; }
.primary-nav a, .utility-nav a { color: var(--ink); text-decoration: none; }
.primary-nav a:hover, .utility-nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.sensory { position: relative; }
.sensory summary { display: list-item; padding: .4rem .65rem; border: 1px solid var(--rule); color: var(--ink); border-radius: .2rem; }
.sensory[open] summary { background: var(--sage); }
.settings-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 2; display: grid; gap: .65rem; width: min(17rem, calc(100vw - 2rem)); background: var(--white); border: 1px solid var(--rule); padding: .9rem; color: var(--ink); font-size: .95rem; }
.settings-panel select { max-width: 100%; padding: .3rem; background: var(--white); color: var(--ink); border: 1px solid var(--rule); }
.settings-panel input { width: 1.1em; height: 1.1em; accent-color: var(--action); margin: 0; }
.check { display: flex; align-items: center; gap: .6rem; }
.text-button { justify-self: start; border: 0; padding: .15rem 0; background: transparent; color: var(--link); text-decoration: underline; }
#settings-status { margin: 0; }
#settings-status:empty { display: none; }

.hero { background: var(--sage); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.hero-copy { max-width: 42rem; }
.hero-copy h1 { margin-bottom: 1rem; }
.intro { font-size: 1.13rem; max-width: 58ch; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 65% center; filter: saturate(.65); border-radius: .25rem; }
.pathways { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .65rem .9rem; border: 1px solid var(--action); background: var(--action); color: var(--button-text); font-weight: 600; font-size: .94rem; text-decoration: none; border-radius: .2rem; }
.button.secondary { background: var(--paper); color: var(--link); }
.button:hover { text-decoration: underline; }

.home-section { padding-block: clamp(2rem, 4.3vw, 3.6rem); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillars article { padding: 1.25rem; background: var(--white); border: 1px solid var(--rule); border-radius: .2rem; }
.pillars p { max-width: 44ch; }

.page-heading { background: var(--sage); border-bottom: 1px solid var(--rule); padding-block: clamp(1.8rem, 4vw, 3.5rem); }
.page-heading h1, .page-heading p { margin-bottom: .45rem; }
.page-content { padding-block: 2rem 3.5rem; }
.page-content section + section { border-top: 1px solid var(--rule); margin-top: 1.65rem; padding-top: 1.65rem; }
.page-content p, .page-content li { max-width: 72ch; }
.page-content li + li { margin-top: .65rem; }
.page-content section.resource { padding: 1.35rem; border: 1px solid var(--rule); background: var(--white); }
.resource p:last-child, .page-content section > :last-child { margin-bottom: 0; }
.steps { padding-inline-start: 1.6em; }
.trustee-name { color: var(--ink); font-weight: 700; margin-bottom: .2rem; }

.site-footer { background: var(--navy); color: var(--footer-text); padding-block: 1.65rem; }
.site-footer a { color: inherit; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem 1.5rem; }
.footer-inner p { margin: 0 0 .2rem; }
.footer-title { font-weight: 700; }
.footer-email { margin-left: .25rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: end; align-content: start; gap: .3rem 1rem; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid #d9e2dd80; padding-top: .75rem; font-size: .875rem; }
.site-footer :focus-visible { outline-color: #fff; }

@media (max-width: 68rem) {
  .header-tools { flex-basis: 100%; border-top: 1px solid var(--rule); padding-top: .25rem; }
  .settings-panel { left: 0; right: auto; }
}
@media (max-width: 47rem) {
  .shell, .reading { width: calc(100% - 2rem); }
  .hero-grid, .pillars, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 16 / 9; }
  .footer-inner nav { justify-content: start; }
  .footer-note { grid-column: auto; }
}
@media (max-width: 37rem) {
  .header-tools { column-gap: .65rem; }
  .brand-mark img { height: 6.375rem; }
}
