@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fffefa;
  --warm: #f6f3e8;
  --ink: #102019;
  --muted: #41544a;
  --soft-green: #eaf0e5;
  --green: #315c43;
  --rule: #dce2d9;
  --lime: #dfeba9;
  --heading-font: "Bricolage Grotesque", system-ui, sans-serif;
  --body-font: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.125rem, 4.4vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body-font); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
[hidden] { display: none !important; }
[data-dot-companion] { touch-action: pan-y pinch-zoom; }
:focus-visible { outline: 3px solid #2b6544; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.arrow-icon { display: block; width: 1.12rem; height: 1.12rem; flex: none; }
.skip-link { position: fixed; top: .65rem; left: .65rem; z-index: 5; padding: .55rem .9rem; transform: translateY(-165%); background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 2 * var(--gutter), 86rem); margin-inline: auto; }
.site-header { position: relative; z-index: 1; }
.header-content, .chapter-nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(.7rem, 2.1vw, 2.2rem); }
.header-content { min-height: clamp(4.25rem, 7vw, 6rem); }
.brand { display: inline-flex; gap: .52rem; align-items: center; text-decoration: none; white-space: nowrap; font: 800 clamp(1.3rem, 2.15vw, 1.85rem)/1 var(--heading-font); letter-spacing: -.057em; }
.brand-mark { display: block; width: 1.25em; height: auto; flex: none; }
.site-footer { background: var(--soft-green); color: var(--ink); }
.site-footer-inner { padding-block: clamp(1.5rem, 4vw, 3.5rem) 1rem; }
.site-footer-navigation,
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem 1.75rem;
}
.site-footer-navigation { padding-bottom: clamp(1rem, 3vw, 2rem); }
.site-footer .brand { min-height: 2.75rem; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  font-size: .875rem;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .23em; }
.site-footer-legal { border-top: 1px solid #315c4340; color: var(--muted); padding-top: .4rem; }
.text-link, .quiet-link { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; min-height: 2.75rem; text-decoration: none; }
.text-link { border-bottom: 1px solid currentColor; font-size: .91rem; font-weight: 750; }
.quiet-link { font-size: .83rem; }
.text-link:hover, .quiet-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: .23em; }
.text-link:hover .arrow-icon, .quiet-link:hover .arrow-icon { translate: 2px -2px; }
.text-link .arrow-icon, .quiet-link .arrow-icon { transition: translate .2s; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: fit-content; min-height: 2.8rem; padding: .6rem 1rem; border: 1px solid var(--ink);
  border-radius: .3rem; background: var(--ink); color: var(--paper); font-weight: 730; line-height: 1.25; text-decoration: none;
}
.button:hover { background: var(--green); border-color: var(--green); }
.button--outline { background: transparent; color: var(--ink); }
.button--outline:hover { color: var(--paper); }

.role-details { background: var(--warm); }
.role-details h2 { font-size: clamp(2.25rem, 5.5vw, 4.8rem); line-height: 1; letter-spacing: -.04em; }
.role-details-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 4rem; padding-block: clamp(2.6rem, 6vw, 6rem); }
.role-details ul { padding-left: 1.2rem; }

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

.role-details-page { background: var(--story-accent, var(--warm)); }
.role-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem 2rem;
  min-height: min(65svh, 31rem);
  padding-block: clamp(2.8rem, 7vw, 5.75rem);
}
.role-detail-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 6.6vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.role-detail-hero p { max-width: 48ch; margin-top: 1.1rem; }
.role-detail-hero canvas { justify-self: center; }
.role-details ul { margin-top: 0; }
.role-details li + li { margin-top: .4rem; }
.chapter-art { display: block; width: min(100%, clamp(13.25rem, 30vh, 20rem)); height: auto; margin-block: 1rem; }
@media (max-width: 740px) {
  .role-detail-hero, .role-details-inner { grid-template-columns: minmax(0, 1fr); }
  .role-detail-hero h1 { font-size: clamp(2.6rem, 10vw, 4.75rem); }
}
@media (max-width: 470px) {
  .header-content { flex-wrap: wrap; gap: .15rem 1rem; padding-block: .65rem; }
  .chapter-nav { width: 100%; flex-wrap: wrap; }
}

.role-detail-hero .role-detail-name {
  margin: 0 0 .75rem;
  color: var(--green);
  font-weight: 740;
}
.role-detail-hero h1 { max-width: 16ch; }
.role-detail-hero .role-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .95rem;
  margin-top: 1.15rem;
}
