:root {
  --paper: #f3efe6;
  --paper-deep: #e8e0d2;
  --surface: #fffdf8;
  --ink: #171612;
  --ink-soft: #28261f;
  --muted: #6b665c;
  --line: #d4ccbd;
  --line-strong: #aaa193;
  --accent: #b93620;
  --accent-dark: #8d2818;
  --accent-soft: #f0d8d0;
  --mustard: #e8b83e;
  --mustard-soft: #f6e9b8;
  --green: #2f7156;
  --green-soft: #dbece3;
  --blue: #2d5d7b;
  --blue-soft: #dce9ef;
  --gray-soft: #e7e3db;
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shadow: 0 18px 44px rgba(32, 27, 19, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 22, 18, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 18, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--mustard);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(170, 161, 147, 0.7);
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(16px) saturate(130%);
}

.nav-shell {
  position: relative;
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 65px;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  min-width: 92px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 13px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.menu-toggle-icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.site-nav .nav-external {
  color: var(--accent-dark);
}

.site-nav .nav-external::after {
  margin-left: 5px;
  content: "\2197";
  font-size: 0.8rem;
}

.site-nav .nav-admin {
  margin-left: 5px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.site-nav .nav-admin:hover {
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: 660px;
  margin: 30px auto 0;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  padding: clamp(42px, 6vw, 82px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 6.5vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero-lead {
  max-width: 48ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 10px;
}

.button-link {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button-link::after {
  content: "\2192";
  font-size: 1.02rem;
}

.button-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
}

.button-link.secondary {
  background: transparent;
  color: var(--ink);
}

.button-link.secondary:hover {
  background: var(--ink);
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero-visual::before {
  position: absolute;
  inset: -24px;
  background:
    linear-gradient(rgba(23, 22, 18, 0.38), rgba(23, 22, 18, 0.38)),
    url("/team-all.jpg") center / cover no-repeat;
  content: "";
  filter: blur(16px);
  transform: scale(1.05);
}

.hero-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 22, 18, 0.65) 100%);
  content: "";
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
}

.hero-logo {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 146px;
  height: 146px;
  border: 1px solid rgba(23, 22, 18, 0.2);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.94);
  object-fit: contain;
  padding: 8px;
  box-shadow: 0 10px 28px rgba(23, 22, 18, 0.2);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px;
  color: #fff;
}

.hero-note-date {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.hero-note-copy {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-note-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.page-main {
  overflow: hidden;
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 94px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 15ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-lead {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head {
  display: flex;
  margin-bottom: 38px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-head .section-lead {
  margin: 0 0 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(42px, 8vw, 108px);
  align-items: start;
}

.about-copy > p:not(.section-kicker) {
  max-width: 62ch;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.about-copy > .section-title + p {
  margin-top: 40px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.fact-stack {
  display: grid;
  gap: 14px;
}

.fact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 25px;
}

.fact-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 9px;
  background: var(--mustard);
  content: "";
}

.fact-card.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.fact-card.accent::before {
  background: var(--mustard);
}

.fact-label {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-card.accent .fact-label {
  color: rgba(255, 255, 255, 0.9);
}

.fact-card strong {
  display: block;
  max-width: 18ch;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.fact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-card.accent p {
  color: rgba(255, 255, 255, 0.92);
}

.portal-wrap {
  border-block: 1px solid var(--line-strong);
  background: var(--surface);
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.live-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: clamp(22px, 3.5vw, 34px);
}

.live-block.wide {
  grid-column: 1 / -1;
}

.block-head {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.block-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.count {
  display: inline-grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.list,
.grid {
  display: grid;
  gap: 12px;
}

#meetings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.vote {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
}

.row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.row-head h4 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.84rem;
}

.row-head p,
.card > p,
.vote > p {
  margin: 7px 0 0;
}

.badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.badge.open,
.badge.submitted,
.badge.accepted {
  background: var(--green-soft);
  color: var(--green);
}

.badge.planned,
.badge.deferred {
  background: var(--mustard-soft);
  color: #72550b;
}

.badge.closed,
.badge.withdrawn {
  background: var(--gray-soft);
  color: #625d54;
}

.badge.rejected {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.agenda {
  margin: 16px 0 0;
  padding: 14px 0 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.agenda li {
  margin: 5px 0;
  padding-left: 3px;
}

.motion-meta,
.vote-meta {
  display: flex;
  margin-top: 14px;
  padding-top: 13px;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.motion-meta span,
.vote-meta span {
  border-radius: 999px;
  background: var(--paper);
  padding: 4px 8px;
}

.link-label {
  display: inline-flex;
  margin-top: 15px;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.link-label::after {
  content: "\2197";
}

.link-label:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.choices {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.choices button {
  min-height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.choices button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.choices button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.note {
  margin-top: 16px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-soft);
  padding: 12px 14px;
  color: var(--green);
  font-size: 0.82rem;
}

.note strong {
  color: var(--ink);
}

.note.error {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.result-row {
  margin: 13px 0;
}

.result-row .label {
  display: flex;
  margin-bottom: 5px;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--gray-soft);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.bar.yes span {
  background: var(--green);
}

.bar.no span {
  background: var(--accent);
}

.bar.abstain span {
  background: var(--line-strong);
}

.empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.projects-wrap {
  background: var(--mustard);
}

.projects-wrap .section-kicker {
  color: var(--ink);
}

.projects-wrap .section-head {
  margin-bottom: 42px;
}

.projects-wrap .section-lead {
  color: rgba(23, 22, 18, 0.72);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.tile {
  position: relative;
  display: flex;
  min-height: 265px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(23, 22, 18, 0.46);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  padding: 25px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tile::after {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 114px;
  height: 114px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.tile[href]:hover {
  z-index: 1;
  transform: translateY(-7px) rotate(-0.5deg);
  box-shadow: 0 18px 32px rgba(57, 41, 5, 0.16);
}

.tile.disabled {
  border-style: dashed;
  background: rgba(255, 253, 248, 0.88);
}

.mono {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
}

.tile h3 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.tile p {
  max-width: 28ch;
  margin: 0;
}

.tile .link-label {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 22px;
}

.tile .link-label.muted {
  color: var(--muted);
}

.tile .link-label.muted::after {
  content: "";
}

.team-wrap {
  background: var(--ink);
  color: #fff;
}

.team-wrap .section-kicker {
  color: var(--mustard);
}

.team-wrap .section-lead {
  color: rgba(255, 255, 255, 0.67);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.team-figure {
  margin: 0;
}

.team-photo {
  display: block;
  width: 100%;
  max-height: 690px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-md);
  object-fit: cover;
}

.team-figure figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.73rem;
}

.team-copy .section-title {
  max-width: 10ch;
}

.members {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.member {
  display: grid;
  padding: 17px 0;
  grid-template-columns: minmax(120px, 0.5fr) 1fr;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.member dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member dd {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 650;
}

.team-notes {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.team-notes p {
  margin: 0 0 15px;
}

.team-notes a {
  display: inline-flex;
  border-bottom: 1px solid var(--mustard);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.team-notes a:hover {
  color: var(--mustard);
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.footer-shell {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 58px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 17px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding: 42px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7.5vw, 5.2rem);
  }

  .about-grid {
    gap: 52px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 88px;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    position: fixed;
    z-index: 35;
    inset: 72px 0 0;
    background: rgba(23, 22, 18, 0.42);
    content: "";
  }

  .nav-shell {
    width: min(100% - 30px, 1240px);
    min-height: 72px;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 8px 0;
  }

  .brand-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .brand-logo {
    width: 67px;
    height: 56px;
  }

  .brand-copy small {
    display: none;
  }

  .js .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(360px, calc(100vw - 30px));
    max-height: calc(100vh - 94px);
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    justify-content: stretch;
    gap: 4px;
    margin: 0;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--surface);
    padding: 10px;
    box-shadow: 0 18px 46px rgba(23, 22, 18, 0.2);
    overscroll-behavior: contain;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    display: grid;
  }

  html:not(.js) .nav-shell {
    flex-wrap: wrap;
  }

  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .site-nav {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 8px;
  }

  .site-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 0.9rem;
  }

  .site-nav .nav-admin {
    margin: 4px 0 0;
    justify-content: center;
  }

  .hero {
    width: min(100% - 30px, 1240px);
    min-height: 0;
    margin-top: 16px;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero-copy {
    padding: 44px 28px 48px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 15vw, 5.6rem);
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .hero-photo {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 1200 / 799;
    object-fit: contain;
  }

  .hero-logo {
    display: none;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    padding: 18px 20px;
    background: var(--ink);
  }

  .section,
  .footer-shell {
    width: min(100% - 30px, 1160px);
  }

  .section {
    padding: 82px 0;
    scroll-margin-top: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .about-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .fact-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-grid {
    grid-template-columns: 1fr;
  }

  .live-block.wide {
    grid-column: auto;
  }

  #meetings {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .team-figure {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a,
  .link-label,
  .team-notes a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .button-link,
  .choices button {
    min-height: 48px;
  }

  .row-head > :first-child {
    min-width: 0;
  }

  .row-head h4,
  .motion-meta span,
  .vote-meta span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .brand-copy strong {
    font-size: 0.88rem;
  }

  .hero-copy {
    padding: 38px 22px 42px;
  }

  .eyebrow {
    font-size: 0.66rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .button-link {
    width: 100%;
  }

  .hero-note {
    padding: 16px 17px;
  }

  .hero-note-copy {
    padding-left: 13px;
    font-size: 0.73rem;
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .fact-stack,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .live-block {
    padding: 20px 15px;
  }

  .card,
  .vote {
    padding: 17px;
  }

  .row-head {
    gap: 10px;
  }

  .choices {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 230px;
  }

  .member {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .footer-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-top: 1px solid var(--line);
  }

  .footer-copy {
    max-width: 34ch;
  }
}

@media (max-width: 380px) {
  .nav-shell,
  .hero,
  .section,
  .footer-shell {
    width: calc(100% - 20px);
  }

  .brand {
    gap: 7px;
  }

  .brand-logo-wrap {
    width: 44px;
    height: 44px;
  }

  .brand-logo {
    width: 61px;
    height: 51px;
  }

  .menu-toggle {
    min-width: 82px;
    padding-inline: 10px;
  }

  .hero-copy {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-note {
    grid-template-columns: 58px 1fr;
  }

  .hero-note-date {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .fact-card,
  .tile {
    padding: 20px;
  }

  .row-head {
    flex-direction: column;
  }

  .badge {
    align-self: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
