:root {
  --ink: #111418;
  --text: #27333a;
  --muted: #667780;
  --paper: #fbfaf6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --line: rgba(26, 54, 62, 0.12);
  --teal: #36a7b8;
  --teal-dark: #176878;
  --mint: #ccecf0;
  --coral: #e7684f;
  --lemon: #f1c84b;
  --shadow: 0 24px 80px rgba(26, 54, 62, 0.12);
  --soft-shadow: 0 14px 34px rgba(26, 54, 62, 0.1);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 48px));
  color: var(--ink);
  background: var(--paper);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(54, 167, 184, 0.18), transparent 28rem),
    radial-gradient(circle at 4% 38%, rgba(231, 104, 79, 0.1), transparent 22rem),
    linear-gradient(180deg, #fffcf5 0%, #f5fbfb 48%, #fff 100%);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  background:
    linear-gradient(135deg, rgba(54, 167, 184, 0.84), rgba(23, 104, 120, 0.72)),
    rgba(54, 167, 184, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 42px rgba(17, 64, 76, 0.15);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.header-inner {
  width: var(--container);
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 118px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-group {
  position: relative;
  display: flex;
}

.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 14px;
}

.nav-group > button,
.nav-group > a,
.subnav button,
.lang-link,
.join-cta {
  border: 0;
  letter-spacing: 0;
}

.nav-group > button,
.nav-group > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.nav-group > button.active,
.nav-group > button:hover,
.nav-group > a.active,
.nav-group > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(17, 64, 76, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.subnav button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.subnav button.active,
.subnav button:hover {
  color: var(--ink);
  background: rgba(54, 167, 184, 0.12);
}

.mobile-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}

.lang-link:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.join-cta,
.hero-actions button,
.big-link,
.status-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(17, 20, 24, 0.13);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.content {
  min-height: calc(100vh - 98px);
}

.page {
  width: var(--container);
  min-height: calc(100vh - 98px);
  margin: 0 auto;
  padding: 72px 0 84px;
}

.narrow {
  width: min(880px, calc(100vw - 48px));
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.page .section-heading p {
  max-width: 760px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.5;
}

.page .section-heading p a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page .section-heading p button {
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-heading h1 {
  line-height: 1.02;
}

.page h1,
.home-title p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
}

.page h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
}

.page p,
.home-title span {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.page-home {
  padding-top: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 56px;
}

.home-title {
  display: grid;
  gap: 22px;
}

.home-title h1 {
  max-width: 620px;
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-title span {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-actions button:first-child {
  background: var(--teal-dark);
}

.hero-actions button:last-child {
  color: var(--teal-dark);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(54, 167, 184, 0.22);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(23, 104, 120, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.social-links a::after {
  content: "↗";
  margin-left: 8px;
  color: var(--coral);
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 74px 34px 92px 108px;
  border-radius: 8px;
  background: rgba(54, 167, 184, 0.18);
  transform: rotate(-5deg);
}

.hero-main,
.hero-float {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.hero-main {
  inset: 0 0 auto 38px;
  width: min(88%, 620px);
  aspect-ratio: 1.34;
  border-radius: 8px;
  transform: rotate(-1.4deg);
}

.hero-float.one {
  right: 0;
  bottom: 118px;
  width: 42%;
  aspect-ratio: 1.45;
  border: 8px solid var(--paper);
  border-radius: 8px;
  transform: rotate(2.4deg);
}

.hero-float.two {
  left: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1.45;
  border: 8px solid var(--paper);
  border-radius: 8px;
  transform: rotate(-2deg);
}

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

.feature-card,
.commission-card,
.news-card,
.document-card,
.join-page article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.feature-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.news-card:hover,
.agenda-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card div {
  display: grid;
  gap: 9px;
  padding: 26px;
}

.feature-card h2,
.news-card h2,
.join-page h2 {
  color: var(--teal-dark);
}

.feature-card p,
.news-card p,
.commission-card p,
.join-page p,
.intro,
.document-page p,
.center-page > p {
  color: var(--muted);
  font-size: 16px;
}

.board-list {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.board-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff;
}

.board-list span {
  color: var(--ink);
  font-weight: 750;
}

.board-list strong {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.commission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.commission-card {
  min-height: 245px;
  padding: 22px;
}

.commission-card h2 {
  min-height: 54px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
  text-transform: uppercase;
}

.commission-card p {
  margin-top: 8px;
}

.document-page,
.center-page,
.agenda-page {
  display: grid;
  align-content: center;
}

.document-card {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 6vw, 72px);
}

.statutes-page {
  align-content: start;
}

.statutes-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: 24px;
}

.statutes-index {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.statutes-index strong {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.statutes-index a {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.statutes-index a:hover {
  background: rgba(54, 167, 184, 0.12);
}

.statutes-index span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 950;
}

.statutes-content {
  display: grid;
  gap: 18px;
}

.statutes-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.statutes-summary div,
.statutes-chapter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.statutes-summary div {
  display: grid;
  gap: 4px;
  padding: 20px;
}

.statutes-summary strong {
  color: var(--teal-dark);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.statutes-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.statutes-chapter {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  scroll-margin-top: 118px;
}

.statutes-chapter > div {
  display: grid;
  gap: 5px;
  margin-bottom: 6px;
}

.statutes-chapter > div > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.statutes-chapter h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.98;
  text-transform: uppercase;
}

.statutes-chapter details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.statutes-chapter summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 950;
}

.statutes-chapter p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.agreement-page {
  align-content: start;
}

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

.document-link {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  text-align: left;
}

.document-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.document-link span {
  color: var(--teal-dark);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.document-link p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.document-link strong {
  align-self: end;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.document-card .section-heading,
.center-page .section-heading {
  margin-bottom: 26px;
}

.document-card p,
.center-page > p,
.intro {
  max-width: 690px;
  margin: 0 auto 28px;
  text-align: center;
}

.big-link,
.status-pill {
  background: var(--teal-dark);
}

.voice-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.voices-tutorial-modal,
.company-pacts-modal {
  width: min(960px, calc(100vw - 36px));
  max-height: min(820px, calc(100vh - 36px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 34px 90px rgba(17, 64, 76, 0.25);
}

.voices-tutorial-modal::backdrop,
.company-pacts-modal::backdrop {
  background: rgba(17, 20, 24, 0.42);
  backdrop-filter: blur(6px);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.modal-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.modal-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1;
}

.modal-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.tutorial-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 24px 24px 0 48px;
}

.tutorial-steps li::marker {
  color: var(--teal-dark);
  font-weight: 900;
}

.tutorial-steps p,
.tutorial-note {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.tutorial-steps a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tutorial-steps img {
  width: 100%;
  display: block;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tutorial-note {
  margin: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: rgba(54, 167, 184, 0.1);
  font-weight: 750;
}

.pacts-modal-body {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.pacts-intro {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.pacts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pacts-list li {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(54, 167, 184, 0.08);
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.voice-filters label {
  display: grid;
  gap: 7px;
}

.voice-filters span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.voice-filters select,
.voice-filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.voice-filters select {
  width: 100%;
  padding: 0 12px;
}

.voice-filters button {
  padding: 0 15px;
  color: #fff;
  background: var(--teal-dark);
}

.voice-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  color: var(--muted);
}

.voice-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.voice-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 950;
  overflow: hidden;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.voice-card-body {
  min-width: 0;
}

.voice-card h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.08;
}

.voice-card dl,
.voice-card div,
.voice-card dt,
.voice-card dd {
  margin: 0;
}

.voice-card dl {
  display: grid;
  gap: 10px;
}

.voice-card dt,
.voice-audio span {
  margin-bottom: 3px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.voice-card dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
}

.voice-card dd span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(54, 167, 184, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.voice-card .voice-audio {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.voice-audio audio {
  width: 100%;
  max-width: 100%;
}

.voice-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

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

.agenda-tile {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  text-align: left;
  box-shadow: var(--soft-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.agenda-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72) 100%);
}

.agenda-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.agenda-tile:hover img {
  transform: scale(1.05);
}

.agenda-tile span {
  position: relative;
  z-index: 1;
  padding: 0 24px 26px;
  color: #fff;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.berrly-panel {
  display: grid;
  gap: 26px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--soft-shadow);
}

.berrly-panel h2 {
  font-size: clamp(26px, 3vw, 42px);
}

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

.event-columns article {
  display: grid;
  gap: 14px;
}

.event-columns h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.api-event-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.api-event-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.api-event-card time {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.api-event-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.api-event-card p,
.api-event-card span,
.api-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.api-event-card a {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.api-event-card a::after {
  content: "↗";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.blog-page {
  align-content: start;
}

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

.blog-list.single {
  grid-template-columns: minmax(0, 1fr);
}

.blog-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 190px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.blog-card div {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: clamp(22px, 3vw, 30px);
}

.blog-card time {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-card h2 {
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}

.blog-card p {
  color: var(--muted);
  font-size: 16px;
}

.blog-post {
  width: min(900px, 100%);
  justify-self: center;
  display: grid;
  gap: 22px;
}

.blog-back {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-back::before {
  content: "←";
  margin-right: 8px;
  color: var(--coral);
}

.blog-post header {
  display: grid;
  gap: 10px;
}

.blog-post time {
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-post h2 {
  color: var(--ink);
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
}

.blog-post-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.blog-post-content {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin-top: 12px;
  color: var(--teal-dark);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.blog-post-content p,
.blog-post-content li {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.blog-post-content a {
  color: var(--teal-dark);
  font-weight: 850;
}

.blog-post-content img,
.blog-post-content iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
}

.blog-post-content iframe {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.blog-comment-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-comment-link::after {
  content: "↗";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.visual-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  gap: 22px;
}

.event-list {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.event-list p {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-list p:last-child {
  border-bottom: 0;
}

.event-list p:nth-child(n + 3) {
  color: rgba(23, 104, 120, 0.42);
}

.event-list.compact p:nth-child(n) {
  color: var(--teal-dark);
}

.wide-photo {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.news-card {
  display: grid;
  grid-template-rows: 230px auto 1fr;
  padding-bottom: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card h2 {
  padding: 20px 20px 0;
  font-size: 19px;
}

.news-card p {
  padding: 8px 20px 0;
}

.stack-buttons {
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
  margin: 32px auto 0;
}

.stack-buttons a,
.stack-buttons button {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  font-size: 18px;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.stack-buttons a::after,
.stack-buttons button::after {
  content: "→";
  color: var(--coral);
  font-size: 22px;
}

.join-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.join-card article {
  position: relative;
  padding: 28px;
  margin-bottom: 16px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.join-card article::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--coral);
  font-size: 24px;
  font-weight: 900;
}

.join-card:hover article {
  border-color: rgba(54, 167, 184, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.join-page h2 {
  margin-bottom: 12px;
  font-size: 21px;
  text-transform: uppercase;
}

.note {
  margin-top: 22px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}


.contact-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--soft-shadow);
}

.contact-tabs button {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--teal-dark);
  font-weight: 950;
  text-transform: uppercase;
}

.contact-tabs button[aria-selected="true"] {
  background: var(--teal-dark);
  color: #fff;
}

.contact-page form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.contact-page label {
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid rgba(23, 104, 120, 0.14);
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.contact-page input:focus,
.contact-page textarea:focus {
  border-color: rgba(54, 167, 184, 0.7);
  box-shadow: 0 0 0 4px rgba(54, 167, 184, 0.13);
}

.form-submit {
  min-height: 52px;
  justify-self: end;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
}

.site-footer {
  width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 14px;
}

.site-footer img {
  width: 72px;
  height: auto;
  display: block;
}

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

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    width: min(420px, 100%);
    justify-self: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    font-weight: 800;
  }

  .mobile-nav option {
    color: var(--ink);
  }

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

  .hero-media {
    min-height: 460px;
  }

  .feature-stack,
  .agenda-tiles,
  .news-grid,
  .blog-list,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .visual-layout {
    grid-template-columns: 1fr;
  }

  .statutes-layout {
    grid-template-columns: 1fr;
  }

  .statutes-index {
    position: static;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 620px);
  }

  .site-header {
    padding: 10px 0;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    width: 96px;
    height: 44px;
  }

  .mobile-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    border-radius: 6px;
  }

  .join-cta {
    display: none;
  }

  .lang-link {
    width: 40px;
    height: 40px;
  }

  .page {
    min-height: auto;
    padding: 46px 0 62px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .page h1,
  .home-title p {
    font-size: clamp(42px, 16vw, 72px);
  }

  .home-title h1 {
    font-size: clamp(26px, 8vw, 40px);
  }

  .page p,
  .home-title span {
    font-size: 16px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions button {
    flex: 1 1 160px;
  }

  .hero-media {
    min-height: 380px;
  }

  .hero-media::before {
    inset: 58px 18px 62px 58px;
  }

  .hero-main {
    top: 8px;
    left: 14px;
    width: 92%;
    transform: rotate(-1deg);
  }

  .hero-float.one {
    bottom: 88px;
    width: 44%;
    border-width: 5px;
    transform: rotate(2deg);
  }

  .hero-float.two {
    bottom: 10px;
    width: 56%;
    border-width: 5px;
    transform: rotate(-1.6deg);
  }

  .feature-stack,
  .agenda-tiles,
  .news-grid,
  .commission-grid,
  .voice-filters,
  .voice-directory,
  .blog-list,
  .statutes-summary,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .agenda-tile {
    min-height: 260px;
  }

  .board-list article {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
    padding: 14px;
  }

  .commission-card {
    min-height: auto;
  }

  .wide-photo {
    min-height: 250px;
  }

  .news-card {
    grid-template-rows: 220px auto 1fr;
  }

  .blog-card {
    grid-template-rows: auto auto;
    min-height: 0;
    background: rgba(255, 255, 255, 0.9);
  }

  .blog-card img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .blog-card div {
    padding: 20px;
    gap: 10px;
  }

  .blog-card h2 {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .blog-card p {
    font-size: 15px;
    line-height: 1.5;
  }

  .blog-post {
    gap: 18px;
  }

  .blog-post h2 {
    font-size: clamp(34px, 12vw, 56px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .blog-post-image {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .blog-post-content {
    padding: 20px;
  }

  .blog-post-content p,
  .blog-post-content li {
    font-size: 16px;
    line-height: 1.6;
  }

  .pacts-list {
    grid-template-columns: 1fr;
  }

  .stack-buttons a,
  .stack-buttons button {
    min-height: 58px;
    font-size: 16px;
  }

  .contact-tabs {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
