:root{--green:#073d30;--ink:#122f27;--cream:#f5f3eb;--lime:#d9e8a0;--red:#e6443c;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--cream);font:16px/1.55 "DM Sans",system-ui,sans-serif}
p,h1,h2,figure{margin:0}
a{color:inherit;text-underline-offset:.25em}
a:focus-visible{outline:3px solid #a64b15;outline-offset:5px}
.hero a:focus-visible{outline-color:var(--lime)}
[hidden]{display:none!important}
.wrap{width:min(1240px,calc(100% - 2 * clamp(20px,5vw,80px)));margin-inline:auto}
.skip{position:absolute;z-index:3;top:8px;left:8px;padding:10px;background:white;transform:translateY(-150%)}
.skip:focus{transform:none}
.header{border-top:4px solid var(--green)}
.header-row,.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.header-row{min-height:86px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;line-height:1.15;font-size:13px}
.brand img{object-fit:contain}
.brand strong{font-size:16px;display:block;margin-top:3px}
nav a{font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
nav a span{color:#a32926;margin-left:5px}
.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--green);color:var(--cream);min-height:540px}
.hero-copy{padding:clamp(42px,6vw,100px) clamp(26px,6.5vw,116px);align-self:center}
.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:24px;height:2px;background:var(--red)}
h1,h2,.cover strong{font-family:"Instrument Serif",Georgia,serif;font-weight:400;line-height:.95}
h1{font-size:clamp(58px,7.1vw,114px);letter-spacing:-.025em;margin:24px 0 32px}
h1 em,.cover em{color:var(--lime);font-weight:400}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:50px;padding:12px 17px;background:var(--lime);color:var(--green);text-decoration:none;font-size:14px;font-weight:700;transition:background-color .18s}
.button:hover{background:#edf4cc}
.button span{font-size:20px;line-height:1}
.hero-view{position:relative;min-height:330px;overflow:hidden;background:#284a37}
.hero-view img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:52% 50%}
.hero-view figcaption{position:absolute;right:20px;bottom:20px;background:var(--green);color:var(--cream);font-size:12px;padding:7px 11px}
.manifesto{padding-block:clamp(56px,8vw,112px)}
h2{font:400 clamp(48px,7vw,94px)/.98 "Instrument Serif",Georgia,serif;letter-spacing:-.02em}
.reader-intro{margin-top:14px}
.document-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:30px 0 16px}
.document-list a{display:grid;gap:4px;border:1px solid #b4c4b5;background:#fbfaf5;padding:14px 16px;text-decoration:none;font-weight:700}
.document-list span{font-size:12px;font-weight:500}
.document-list a:hover{border-color:var(--green)}
.document-list a[aria-current=true]{background:var(--green);color:var(--cream);border-color:var(--green);box-shadow:inset 0 -3px var(--lime)}
.reader{border:1px solid #b4c4b5;background:#fbfaf5}
.reader-header,.reader-controls,.reader-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;flex-wrap:wrap}
.reader-header{border-bottom:1px solid #d5dfd1}
.reader-header h3{margin:0;font-size:18px}
.reader-links{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;font-weight:700}
.reader-controls{justify-content:center}
.reader-controls label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px}
.reader-controls button,.reader-controls select,.reader-bottom button{font:600 14px "DM Sans",system-ui,sans-serif;min-height:42px;padding:5px 11px;border:1px solid #aebdb0;background:#fff;color:var(--green);border-radius:3px}
.reader button:not(:disabled),.reader select{cursor:pointer}
.reader button:disabled{opacity:.5}
.reader button[aria-pressed=true],.reader-bottom button{background:var(--green);color:white}
.reader-stage{background:#e0e8de;overflow:auto;padding:clamp(8px,2vw,24px)}
.reader-stage img{display:block;width:min(100%,760px);height:auto;margin:auto;background:#fff;box-shadow:0 3px 14px #073d3026}
.reader-stage.is-zoomed img{width:clamp(760px,145%,1560px);max-width:none;margin:0 auto}
.reader-stage p{margin:20px;text-align:center}
.reader-bottom{justify-content:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:620px){.document-list{grid-template-columns:1fr;gap:6px}.document-list a{display:flex;justify-content:space-between;align-items:center}.reader-header,.reader-controls{padding:10px;gap:6px}.reader-controls button span{display:none}.reader-links{gap:12px}}
footer{border-top:1px solid #c7d0bf}
.footer-row{padding-block:24px;font-size:13px;flex-wrap:wrap}
.footer-row p{font-weight:700}
@media(max-width:840px){.hero{grid-template-columns:1fr}.hero-copy{padding-inline:clamp(20px,5vw,60px)}.hero-view{min-height:0;aspect-ratio:16/9}.hero-view img{object-position:center 53%}}
@media(max-width:540px){.header-row{min-height:75px;gap:10px}.brand img{width:37px;height:37px}.brand{gap:7px}.brand strong{font-size:13px}nav a{font-size:12px}nav a span{margin-left:1px}.hero-copy{padding-block:42px}h1{font-size:clamp(53px,11.5vw,70px)}.hero-view{aspect-ratio:4/3}.footer-row{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.page-text{padding:12px 18px;border-bottom:1px solid #d5dfd1}.page-text summary{cursor:pointer;font-weight:700}.page-text div{white-space:pre-wrap;max-width:72ch;margin-top:12px;overflow-wrap:anywhere}

/* Homepage layout. The manifesto picker and reader retain their own styles. */
nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 34px); }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero {
  display: block;
  min-height: 0;
  background: radial-gradient(ellipse at 72% 28%, #15553d, #073d30 54%, #052e24);
  border-bottom: 4px solid #cbdc98;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(25px, 5vw, 78px);
  padding-block: clamp(33px, 5vw, 74px);
}
.hero-copy { padding: 0; }
.hero h1 {
  margin: 22px 0 23px;
  font-size: clamp(56px, 6.6vw, 99px);
  line-height: .94;
}
.hero-description {
  max-width: 36ch;
  margin-bottom: 23px;
  color: #e0ebe1;
  line-height: 1.6;
}
.hero-view {
  aspect-ratio: 1.13;
  min-height: 0;
  border: 1px solid #a5bd9a;
  box-shadow: 0 12px 36px #031d1466;
}
.hero-view img { object-position: 52% 55%; }
.hero-view figcaption { display: flex; align-items: center; gap: 8px; bottom: 12px; right: 12px; }
.location-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 88px);
  padding-block: clamp(40px, 6vw, 84px);
  border-bottom: 1px solid #c7d0bf;
}
.about h2 { font-size: clamp(49px, 5.8vw, 80px); margin-block: 15px 18px; }
.about-intro > p:last-child { max-width: 48ch; }
.about-topics { margin: 0; align-self: center; }
.about-topics div { border-top: 1px solid #c7d0bf; padding-block: 16px; }
.about-topics div:last-child { border-bottom: 1px solid #c7d0bf; }
.about-topics dt { font-weight: 700; font-size: clamp(17px, 2vw, 23px); }
.about-topics dd { margin: 5px 0 0; max-width: 52ch; color: #40594e; }
#about, #manifesto { scroll-margin-top: 20px; }
footer { background: #073d30; color: #f5f3eb; }

@media (max-width: 760px) {
  .hero-layout, .about { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 38px 26px; }
  .hero h1 { font-size: clamp(52px, 10.5vw, 82px); }
  .hero-view { aspect-ratio: 16 / 10; }
}
@media (max-width: 390px) {
  .brand strong { font-size: 12px; }
  nav { gap: 8px; }
  nav a span { display: none; }
}

/* Shared typography and campaign pages */
body { font-family: Geist, system-ui, sans-serif; }
h1, h2 { font-family: Geist, system-ui, sans-serif; font-weight: 600; letter-spacing: -.065em; }
.hero h1, .about-banner h1 { line-height: 1.01; font-size: clamp(48px, 5.4vw, 82px); }
.hero h1 span, .about-banner h1 span { color: var(--lime); }
h2, .about h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; }
.hero-layout { grid-template-columns: 1.06fr 1fr; gap: clamp(25px, 5vw, 78px); }
.hero-description { color: #e0ebe1; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.hero-actions > a:last-child { font-size: 14px; font-weight: 600; }
.hero-view { aspect-ratio: 1.09; border-color: #b4c2ad; }
.hero-view img { object-position: center 37%; }
.hero-view figcaption {
  display: grid;
  gap: 1px;
  inset: auto 10px 10px;
  padding: 10px 13px;
  background: #082f26;
}
.hero-view figcaption strong { font-size: 15px; }
.hero-view figcaption span { color: #d9e7d9; }
.text-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 650; }
nav a[aria-current="page"] { text-decoration: underline; }
.reader-controls button, .reader-controls select, .reader-bottom button { font-family: inherit; }

.about-banner { background: var(--green); color: var(--cream); border-bottom: 4px solid var(--lime); }
.about-banner-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 5vw, 74px); padding-block: clamp(38px, 7vw, 86px); }
.about-banner h1 { margin-block: 17px; }
.about-banner p:not(.eyebrow) { max-width: 49ch; color: #e0ebe1; margin-bottom: 21px; }
.about-banner figure img { display: block; width: 100%; height: auto; }
.about-banner figcaption { color: #e0ebe1; font-size: 12px; margin-top: 7px; }
.about-section { padding-block: clamp(40px, 6vw, 78px); }
.source-note { margin-top: 14px; color: #40594e; font-size: 14px; }
.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; border: 1px solid #c7d0bf; }
.leadership-grid > div { padding: 19px; }
.leadership-grid > div + div { border-left: 1px solid #c7d0bf; }
.leadership-grid dt, .external-links small, .launch time { color: #40594e; font-size: 13px; }
.leadership-grid dd { font-weight: 650; margin: 5px 0 0; line-height: 1.25; }
.about-updates { background: #e8eee2; }
.updates-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 88px); }
.launch { margin-top: 20px; }
.launch h3, .external-links h3 { margin: 5px 0 8px; font-size: 21px; letter-spacing: -.025em; }
.external-links > a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid #c7d0bf; text-decoration: none; }
.external-links > a:hover strong { text-decoration: underline; }
.external-links small { display: block; }
@media (max-width: 790px) {
  .hero-layout, .about-banner-layout, .updates-layout { grid-template-columns: 1fr; }
  .hero h1, .about-banner h1 { font-size: clamp(44px, 8.9vw, 72px); }
  .hero-view { aspect-ratio: 1.16; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid > div:nth-child(3) { border-left: 0; }
  .leadership-grid > div:nth-child(n+3) { border-top: 1px solid #c7d0bf; }
}

/* Book paper and touch reading */
.reader { background: #faf7ee; }
.reader-stage {
  background: radial-gradient(ellipse at 50% 18%, #f0e9d9, #ded3bc);
}
.reader-stage img {
  border: 1px solid #d2c8b5;
  box-shadow: 1px 3px 0 #cbbfa7, 2px 5px 0 #f4ecdc, 0 11px 24px #43372430;
}
.reader-stage:not(.is-zoomed) { touch-action: pan-y pinch-zoom; }
.swipe-guide { display: none; }
.menu-toggle { display: none; }

@media (max-width: 640px) {
  .header { position: relative; z-index: 4; }
  .menu-toggle:not([hidden]) {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #aebdb0;
    border-radius: 50%;
    color: var(--green);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform .22s ease;
  }
  .menu-toggle[aria-expanded="true"] { background: var(--green); color: var(--cream); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-toggle:not([hidden]) + nav {
    position: absolute;
    top: calc(100% - 1px);
    inset-inline: clamp(12px, 5vw, 32px);
    display: grid;
    gap: 0;
    padding: 8px 16px;
    border: 1px solid #aebdb0;
    background: var(--cream);
    box-shadow: 0 12px 24px #122f2726;
    transform-origin: top right;
  }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .menu-toggle[aria-expanded="true"] + nav { animation: menu-in .22s ease-out both; }
  .menu-toggle + nav a {
    display: flex;
    justify-content: space-between;
    padding: 11px 4px;
    font-size: 15px;
  }
  .menu-toggle + nav a + a { border-top: 1px solid #c7d0bf; }
  .menu-toggle + nav a span { display: inline; }
  .document-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .document-list a {
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    min-height: 66px;
    padding: 8px 5px;
    font-size: clamp(11px, 3.3vw, 14px);
  }
  .document-list span { font-size: 11px; }
  #reader { margin-inline: -10px; }
  .reader-stage { padding: 8px 5px 11px; }
  .swipe-guide {
    display: block;
    padding: 0 8px 9px;
    text-align: center;
    color: #40594e;
    font-size: 12px;
  }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-7px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
  .menu-toggle[aria-expanded="true"] + nav { animation: none; }
}

.hero-carousel {
  min-width: 0;
  border: 1px solid #a5bd9a80;
  background: #092f26;
  box-shadow: 0 18px 45px #031d1466;
}
.hero-frames {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.26;
}
.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events: none;
}
.hero-frame.is-active { opacity: 1; z-index: 1; }
.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.03);
  transition: transform 5.5s linear;
}
.hero-frame.is-active img { transform: scale(1.12); }
.hero-frame-campus img { object-position: center 30%; }
.hero-frame-portrait img { object-position: center 35%; }
.hero-frame figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 3px;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, #041e17f5 80%);
  color: #f6f4eb;
  line-height: 1.28;
}
.hero-frame figcaption strong { font-size: clamp(17px, 2vw, 24px); }
.hero-frame figcaption span { color: #deeadc; font-size: 13px; }
.hero-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 11px 7px 17px;
  border-top: 1px solid #a5bd9a50;
}
.hero-count { color: var(--lime); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.hero-control-buttons { display: flex; align-items: center; gap: 6px; }
.hero-control-buttons button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #a5bd9a80;
  border-radius: 3px;
  background: transparent;
  color: var(--cream);
  font: inherit;
  cursor: pointer;
}
.hero-control-buttons button:hover { background: #225746; }
.hero-control-buttons button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.hero-control-buttons button:last-child { padding-inline: 11px; font-size: 13px; }
.image-credits { max-width: 42ch; }
.image-credits summary { cursor: pointer; }
.image-credits ul { padding-left: 18px; }
@media (max-width: 790px) {
  .hero-frames { aspect-ratio: 1.32; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame, .hero-frame img { transition: none; }
  .hero-frame.is-active img { transform: scale(1.03); }
}

.hero-frame-certificate img { object-position: 72% center; }
.hero-frames { aspect-ratio: 1.39; }
.hero-frame figcaption { padding-top: 54px; }
.reader-paper { position: relative; width: min(100%, 760px); margin-inline: auto; }
.reader-stage .reader-paper img { width: 100%; margin: 0; }
.reader-stage.is-zoomed .reader-paper { width: clamp(760px, 145%, 1560px); }
.reader-paper #page-image { position: relative; z-index: 1; transform: translateX(var(--page-drag, 0px)); }
.reader-paper #page-peek { position: absolute; inset: 0; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .swipe-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    background: #e4ecd9;
    text-align: left;
  }
  .swipe-guide strong, #swipe-detail { display: block; }
  .swipe-guide strong { font-size: 13px; color: var(--ink); }
  .swipe-icon { font-size: 25px; line-height: 1; color: var(--green); }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: page-exit .17s ease-in both; }
  ::view-transition-new(root) { animation: page-enter .28s ease-out both; }
  @keyframes page-exit { to { opacity: 0; transform: translateY(-5px); } }
  @keyframes page-enter { from { opacity: 0; transform: translateY(8px); } }
  .about-banner-layout { animation: page-enter .45s ease-out both; }
}
.reader-stage:not(.is-zoomed) { overflow: hidden; }

/* Keep event photos close to their original crop and scale. */
.hero-frame img { transform: scale(1); }
.hero-frame.is-active img { transform: scale(1.045); }
@media (max-width: 640px) {
  .header {
    color: var(--cream);
    background: linear-gradient(112deg, #165b45, #082e25 72%);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #e6443c 0 34%, #f5f3eb 34% 67%, #92c87a 67%) 1;
  }
  .header-row { min-height: 73px; }
  .header .brand img { background: #fff; border: 2px solid #fff; border-radius: 50%; }
  .header .brand > span { color: #d8e6d8; }
  .header .brand strong { color: var(--cream); }
  .header .menu-toggle:not([hidden]) {
    color: var(--lime);
    border-color: #d9e8a077;
    background: #d9e8a014;
  }
  .header .menu-toggle[aria-expanded="true"] { color: var(--green); background: var(--lime); }
  .header .menu-toggle:not([hidden]) + nav {
    color: var(--ink);
    top: calc(100% + 6px);
    border-radius: 12px;
  }
  .header :focus-visible { outline-color: var(--lime); }
  .header nav :focus-visible { outline-color: #a64b15; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame.is-active img { transform: none; }
}

/* Keep the paper in place while a light preview arrives. */
.reader-paper {
  aspect-ratio: var(--page-ratio, 595 / 842);
  transform-origin: left center;
  background: #fffdf7;
  box-shadow: 2px 4px 0 #cbbfa7, 4px 7px 0 #f4ecdc, 0 12px 26px #43372430;
}
.reader-paper #page-image { height: 100%; object-fit: contain; }
.reader-paper.is-loading #page-image { opacity: .14; }
.page-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: clamp(65px, 18vw, 180px);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.loading-book {
  position: relative;
  width: 52px;
  height: 38px;
  border: 2px solid var(--green);
  border-radius: 4px 6px 6px 4px;
  background: linear-gradient(90deg, #e4ecd9 49%, var(--green) 49% 51%, #f6f4eb 51%);
  perspective: 130px;
}
.loading-book::after {
  content: "";
  position: absolute;
  inset: 2px 2px 2px 50%;
  background: #d9e8a0;
  border: 1px solid #486842;
  transform-origin: left center;
  animation: opening-leaf 1.2s ease-in-out infinite;
}
@keyframes opening-leaf {
  0%, 15% { transform: rotateY(0); }
  75%, 100% { transform: rotateY(-175deg); }
}
@media (prefers-reduced-motion: reduce) {
  .loading-book::after { animation: none; }
}

.manifesto-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 22px; }
.share-button { min-height: 44px; padding: 6px 13px; border: 1px solid #aebdb0; border-radius: 4px; background: #e4ecd9; color: var(--green); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.share-button:hover { background: var(--lime); }
#share-status, #share-fallback { display: block; margin-top: 8px; font-size: 14px; }
#share-fallback input { width: min(100%, 36ch); padding: 6px; font: inherit; }
.swipe-guide { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 12px; background: #e4ecd9; color: #40594e; font-size: 12px; }
.swipe-guide strong, #swipe-detail { display: block; }
.swipe-guide strong { color: var(--ink); font-size: 13px; }
.swipe-icon { color: var(--green); font-size: 25px; line-height: 1; }
.reader-stage:not(.is-zoomed) .reader-paper { cursor: grab; user-select: none; }
.reader-stage.is-dragging .reader-paper { cursor: grabbing; }
