:root {
  color-scheme: light;
  --ink: #0b2d33;
  --muted: #42605f;
  --teal: #0e554d;
  --mist: #eef5f1;
  --cream: #faf9f4;
  --paper: #fffefa;
  --line: #d7e3dc;
  --gold: #f9d681;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.048em; }
h2 { font-size: clamp(2.35rem, 4.8vw, 3.65rem); }
:focus-visible { outline: 3px solid #a45519; outline-offset: 4px; }

.shell { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .65rem 1rem; background: var(--paper); }

.site-header { background: var(--paper); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 44px; }
.brand-icon { flex: 0 0 36px; border-radius: .4rem; }
.brand-name { font-size: .91rem; font-weight: 760; line-height: 1.14; }
.brand-name span { display: block; color: var(--teal); font-size: .77rem; font-weight: 620; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: clamp(.65rem, 1.5vw, 1.6rem); }
.site-nav > a { font-size: .91rem; font-weight: 650; white-space: nowrap; }
.site-nav > a:not(.button) { padding-block: .6rem; text-decoration: none; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current]:not(.button) { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .66rem 1.02rem;
  border: 1px solid transparent;
  border-radius: .36rem;
  font-size: .92rem;
  font-weight: 720;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: #0a443e; }
.button-secondary { background: var(--paper); border-color: #96b0a7; color: var(--ink); }
.button-secondary:hover { background: #e0eee8; }
.button-accent { background: var(--gold); color: var(--ink); }
.button-accent:hover { background: #ffe49f; }
.button-ghost { border-color: #dceae59c; background: #092b31a8; color: white; }
.button-ghost:hover { background: var(--ink); }
.button-ghost:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.button-accent:focus-visible { outline-color: #fff3c6; }
.eyebrow { color: var(--teal); font-size: .84rem; font-weight: 760; letter-spacing: .095em; text-transform: uppercase; }

.board-section, .guide-main, .network-section { padding-block: 3.65rem 4.5rem; scroll-margin-block-start: 1rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.section-heading .eyebrow { margin-bottom: .38rem; }
.section-heading h2 + p { max-width: 44rem; margin-top: .62rem; color: var(--muted); }
.section-heading > p { max-width: 29rem; color: var(--muted); }
.guide-section + .guide-section { margin-top: 2.8rem; }
.guide-section h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
.guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.guide-columns article, .guide-next { padding: 1.2rem; background: var(--mist); border: 1px solid var(--line); border-radius: .52rem; }
.guide-columns p, .guide-next p { margin-top: .5rem; color: var(--muted); }
.guide-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-top: 1rem; }
.guide-next a { color: var(--teal); font-weight: 720; }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 1.55rem 0 1.1rem; }
.process-list li { border: 1px solid var(--line); border-top: .22rem solid var(--teal); border-radius: .52rem; background: var(--paper); padding: 1.12rem 1.22rem; }
.process-list h3 { font: 400 clamp(1.4rem, 2.3vw, 1.85rem) / 1.12 var(--serif); letter-spacing: -.025em; }
.process-list p { margin-top: .55rem; color: var(--muted); }
.process-list a { display: inline-block; margin-top: .55rem; color: var(--teal); font-size: .9rem; font-weight: 740; }
.display-section { background: var(--mist); padding-block: 3.8rem; }
.display-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(1.4rem, 5vw, 4rem); align-items: center; }
.display-list { display: grid; gap: .9rem; margin: 1.15rem 0 1.35rem; }
.display-list dt { color: var(--ink); font-weight: 760; }
.display-list dd { margin: .15rem 0 0; color: var(--muted); }
.concept-figure { margin: 0; }
.concept-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .6rem; background: #d9e6df; }
.concept-figure figcaption { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.resilience-section { padding-block: 3.85rem 3rem; }
.resilience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.resilience-grid article { padding: 1rem 0; border-top: 2px solid var(--teal); }
.resilience-grid h3 { font-size: 1.12rem; margin-bottom: .42rem; }
.resilience-grid p { color: var(--muted); }
.resilience-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.text-link { color: var(--teal); font-weight: 710; }
.filters { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin: 1.5rem 0 1.25rem; }
.pill-list { display: flex; gap: .52rem; flex-wrap: wrap; }
.pill { padding: .42rem .82rem; min-height: 42px; border: 1px solid #c6d7cf; border-radius: 100vmax; background: var(--paper); color: var(--teal); font-size: .88rem; font-weight: 720; }
.pill:hover { background: #e1eee8; }
.pill[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: white; }
.category-filter select { padding: .44rem 2rem .44rem .8rem; min-height: 42px; width: 10rem; border: 1px solid #a8bfb6; border-radius: .35rem; color: var(--ink); background: var(--paper); font-size: .9rem; }
.category-filter { position: relative; }
.category-filter select { appearance: none; }
.category-filter::after { position: absolute; pointer-events: none; right: .9rem; top: 1rem; width: .42rem; height: .42rem; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); content: ""; }

.notice-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.notice-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); }
.notice-media { aspect-ratio: 2.1; position: relative; background: #b4cec4; }
.notice-image { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.notice-place { position: absolute; bottom: .68rem; left: .72rem; padding: .2rem .54rem; border-radius: .24rem; background: var(--paper); color: var(--ink); font-weight: 740; font-size: .83rem; }
.notice-copy { display: flex; flex-direction: column; flex: 1; padding: 1.05rem 1.18rem 1.2rem; align-items: flex-start; }
.notice-category { color: var(--teal); font-size: .82rem; font-weight: 760; }
.notice-copy h2 { margin: .28rem 0 .5rem; font: 400 clamp(1.5rem, 2.5vw, 2rem) / 1.05 var(--serif); letter-spacing: -.035em; }
.notice-summary { color: var(--muted); }
.notice-link { margin-top: auto; padding-top: .85rem; color: var(--teal); font-size: .87rem; font-weight: 750; }
.empty-state { border: 1px dashed #a8bfb6; padding: 2rem; border-radius: .55rem; text-align: center; background: var(--paper); }
.empty-state h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.empty-state p { margin: .3rem 0 1rem; }

.network-section { background: #e8f1ec; }
.network-filters { margin: 1.45rem 0 1.15rem; }
.project-card { border: 1px solid var(--line); padding: 1.19rem; border-radius: .55rem; background: var(--paper); }
.project-card .eyebrow { font-size: .78rem; }
.project-card h3 { margin: .32rem 0 .4rem; font-size: 1.15rem; line-height: 1.25; }
.project-description { color: var(--muted); font-size: .96rem; }
.more-projects { margin-top: 1.15rem; }

.site-footer { padding-block: 2.35rem; background: var(--ink); color: #e7f2ed; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.1rem 3rem; }
.site-footer p { margin-top: .55rem; color: #c8ddd5; font-size: .88rem; max-width: 40rem; }
.footer-links { display: grid; gap: .4rem; align-content: start; font-size: .88rem; }
.not-found p { margin-block: 1rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 3rem); }
  .notice-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 790px) {
  .process-list, .display-layout, .resilience-grid { grid-template-columns: 1fr; gap: .75rem; }
  .concept-figure { margin-top: .65rem; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: .55rem .35rem; }
  .site-nav { justify-content: space-between; gap: .2rem .5rem; flex-wrap: wrap; width: 100%; margin-top: .35rem; }
  .site-nav > a { font-size: .8rem; }
  .site-nav .button { padding-inline: .58rem; min-height: 40px; }
  .board-section, .guide-main, .network-section { padding-block: 2.7rem; }
  .display-section, .resilience-section { padding-block: 2.7rem; }
  .section-heading { flex-wrap: wrap; align-items: start; }
  .filters { flex-wrap: wrap; }
  .pill { min-height: 44px; }
  .notice-grid, .project-grid, .guide-columns { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
