:root {
  --red: #b3262e;
  --red-dark: #76141a;
  --cream: #f7f3eb;
  --ink: #172026;
  --muted: #5f686e;
  --white: #fff;
  --line: rgba(23, 32, 38, .13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 243, 235, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--red-dark);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand > span { white-space: nowrap; }
.brand strong { color: var(--red); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.main-menu { display: flex; gap: 18px; align-items: center; }
.main-menu a { white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 650; }
.main-menu a:hover { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { color: var(--red); content: "▾"; font-size: .7rem; }
.nav-dropdown.current summary, .nav-dropdown summary:hover { color: var(--red); }
.submenu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  min-width: 170px;
  padding: 9px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(23,32,38,.16);
  transform: translateX(-50%);
}
.submenu::before { position: absolute; top: -17px; right: 0; left: 0; height: 17px; content: ""; }
.submenu a { padding: 10px 12px; border-radius: 7px; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--red-dark); background: #eee1df; }
.main-menu .nav-cta {
  padding: 9px 17px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
}
.main-menu .nav-cta:hover { color: var(--white); background: var(--red-dark); }
.menu-button { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: calc(100vh - 76px);
  max-width: var(--max);
  margin: auto;
  padding: 72px 24px 58px;
  align-items: center;
  gap: 58px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 740px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.5vw, 6.3rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.55rem; }
p { margin-top: 0; }
.hero-text { max-width: 640px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.45); }

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 240px 240px 24px 24px;
  box-shadow: 0 35px 70px rgba(22, 44, 54, .16);
}
.hero-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.hero-visual::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 27, 34, .58));
  content: "";
}
.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 22px;
  left: 28px;
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
}

.section { max-width: var(--max); margin: 0 auto; padding: 110px 24px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.intro > p { color: var(--muted); font-size: 1.25rem; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.priorities { max-width: none; background: #eee8dc; }
.priorities > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 285px; padding: 34px; background: rgba(255,255,255,.6); border: 1px solid rgba(23,32,38,.08); border-radius: 18px; }
.card-number { display: block; margin-bottom: 42px; color: var(--red); font-size: .75rem; font-weight: 800; }
.card p { color: var(--muted); }

.strategic { border-top: 1px solid var(--line); }
.strategic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.strategic-grid article { padding-top: 22px; border-top: 4px solid var(--red); }
.strategic-grid p { color: var(--muted); }

.action-preview, .sections-preview, .elected-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.action-preview-copy { padding-top: 25px; }
.sections-preview { background: #eee8dc; }
.action-preview-copy, .sections-preview-copy, .elected-preview-copy { padding-top: 25px; }
.action-preview-copy p, .sections-preview-copy p, .elected-preview-copy p { color: var(--muted); font-size: 1.16rem; }
.text-link { color: var(--red); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.participate {
  display: flex;
  justify-content: space-between;
  gap: 55px;
  align-items: end;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--red);
}
.participate > div { max-width: 720px; }
.participate .eyebrow { color: #ffd1d3; }
.participate p { max-width: 650px; color: rgba(255,255,255,.82); font-size: 1.1rem; }
.participate p a { color: var(--white); font-weight: 750; }
.button-light { flex: 0 0 auto; color: var(--red-dark); background: var(--white); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-details a { color: var(--red); font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 750; }
.contact-details .note { margin-top: 35px; color: var(--muted); font-size: .85rem; }

.message-page { min-height: calc(100vh - 76px); }
.president-message {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) 1.3fr;
  gap: clamp(50px, 8vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px 120px;
}
.president-profile { position: sticky; top: 110px; align-self: start; }
.president-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #eee8dc, #ded3c1);
  border-radius: 220px 220px 18px 18px;
}
.president-photo-wrap::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(118,20,26,.16));
  content: "";
  pointer-events: none;
}
.president-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.president-profile h1 { margin-bottom: 7px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.president-profile > p:last-child { color: var(--muted); }
.message-copy { max-width: 700px; padding-top: 20px; }
.message-copy h2 { margin-bottom: 42px; }
.message-copy > p:not(.eyebrow) { color: #3f484e; font-size: 1.12rem; line-height: 1.85; }
.signature { display: flex; flex-direction: column; margin: 38px 0 32px; color: var(--muted); }
.signature strong { color: var(--ink); font-size: 1.15rem; }

.contact-page { min-height: calc(100vh - 76px); }
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(55px, 9vw, 130px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px 120px;
}
.contact-intro h1 { font-size: clamp(3rem, 5vw, 5rem); }
.contact-intro > p:last-child { max-width: 480px; color: var(--muted); font-size: 1.08rem; }
.contact-form-wrap { padding: 36px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 20px; }
.contact-form { display: grid; gap: 20px; }
.contact-form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 750; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23,32,38,.24);
  border-radius: 9px;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); outline: 3px solid rgba(179,38,46,.13); }
.contact-form .button { justify-self: start; cursor: pointer; }
.security-question { max-width: 230px; }
.privacy-note { margin: 0; color: var(--muted); font-size: .78rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 20px; border-radius: 12px; }
.form-notice.error { color: #75151a; background: #f8dddd; border: 1px solid #e8b4b7; }
.form-notice.success { background: #e7f1e7; border: 1px solid #bfd4c0; }
.form-notice.success h2 { font-size: 2rem; }

.action-page { min-height: calc(100vh - 76px); }
.action-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px 90px;
  border-bottom: 1px solid var(--line);
}
.action-hero h1 { max-width: 900px; }
.action-hero > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.2rem; }
.action-content { max-width: var(--max); margin: 0 auto; padding: 80px 24px 120px; }
.action-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 48px; }
.action-heading h2 { margin-bottom: 0; }
.category-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 470px; }
.category-list span { padding: 7px 12px; color: var(--red-dark); background: #eee1df; border-radius: 999px; font-size: .78rem; font-weight: 750; }
.empty-publications {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 38px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.empty-mark { display: grid; place-items: center; width: 70px; height: 70px; color: var(--white); background: var(--red); border-radius: 50%; font-weight: 850; }
.empty-publications h3 { margin-bottom: 8px; }
.empty-publications p { margin-bottom: 0; color: var(--muted); }
.publication-list { display: grid; gap: 20px; }
.publication-card { padding: 36px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 18px; }
.publication-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.publication-meta span, .article-meta span { padding: 6px 11px; color: var(--red-dark); background: #eee1df; border-radius: 999px; }
.publication-card h3 { max-width: 780px; margin-bottom: 15px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.publication-card h3 a { text-decoration: none; }
.publication-card h3 a:hover { color: var(--red); }
.publication-card > p { max-width: 820px; color: var(--muted); }

.article-page { min-height: calc(100vh - 76px); }
.article-page > article { max-width: var(--max); margin: 0 auto; padding: 70px 24px 120px; }
.article-header { max-width: 940px; margin-bottom: 75px; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 36px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.article-header h1 { margin-bottom: 28px; font-size: clamp(3rem, 6vw, 5.8rem); }
.article-lead { max-width: 850px; color: #39444a; font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.55; }
.article-intro { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.article-body { max-width: 800px; margin-left: auto; margin-right: auto; }
.article-body section { padding: 48px 0; border-top: 1px solid var(--line); }
.article-body section h2 { margin-bottom: 28px; font-size: clamp(2rem, 3.5vw, 3.15rem); }
.article-body section p, .article-conclusion p { color: #3f484e; font-size: 1.08rem; line-height: 1.82; }
.article-conclusion { margin-top: 30px; padding: 48px; color: var(--white); background: var(--red); border-radius: 20px; }
.article-conclusion h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.article-conclusion p { color: rgba(255,255,255,.88); }
.article-conclusion p:last-child { margin-bottom: 0; }
.article-back { max-width: 800px; margin: 45px auto 0; }

.sections-page { min-height: calc(100vh - 76px); }
.sections-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px 90px;
}
.sections-hero h1 { max-width: 950px; }
.sections-hero > p:last-child { max-width: 780px; color: var(--muted); font-size: 1.2rem; }
.sections-list { max-width: var(--max); margin: 0 auto; padding: 0 24px 110px; }
.local-section {
  display: grid;
  grid-template-columns: 55px 140px minmax(245px, .9fr) 1.1fr;
  gap: 26px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.local-section:last-child { border-bottom: 1px solid var(--line); }
.section-index { color: var(--red); font-size: .78rem; font-weight: 850; }
.section-portrait {
  width: 128px;
  height: 148px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #eee8dc, #ded3c1);
  border-radius: 70px 70px 16px 16px;
}
.section-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.section-info .eyebrow { margin-bottom: 6px; }
.section-info h2 { margin-bottom: 0; font-size: clamp(1.7rem, 2.55vw, 2.55rem); letter-spacing: -.025em; }
.section-dash { display: inline-block; margin: 0 .12em; font-weight: 500; }
.section-details { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 0; }
.section-details div { display: grid; gap: 5px; }
.section-details dt { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-details dd { margin: 0; font-size: 1.04rem; font-weight: 700; }
.sections-contact { display: flex; justify-content: space-between; gap: 40px; align-items: end; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); background: #eee8dc; }
.sections-contact h2 { margin-bottom: 0; }

.elected-page { min-height: calc(100vh - 76px); }
.elected-hero { max-width: var(--max); margin: 0 auto; padding: 100px 24px 90px; border-bottom: 1px solid var(--line); }
.elected-hero h1 { max-width: 950px; }
.elected-hero > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.2rem; }
.elected-body { max-width: var(--max); margin: 0 auto; padding: 80px 24px 120px; }
.elected-group { margin-bottom: 105px; }
.elected-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 35px; }
.elected-heading h2 { margin-bottom: 0; }
.member-count { flex: 0 0 auto; padding: 7px 13px; color: var(--red-dark); background: #eee1df; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.member-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.member-list li { display: flex; justify-content: space-between; gap: 25px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.member-list strong, .assembly-card li strong { color: var(--red); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.assembly-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.assembly-card { padding: 30px; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 18px; }
.assembly-card header { display: flex; gap: 18px; align-items: baseline; margin-bottom: 28px; }
.assembly-card header > span { color: var(--red); font-size: .75rem; font-weight: 850; }
.assembly-card h3 { margin-bottom: 0; }
.assembly-card ul { margin: 0; padding: 0; list-style: none; }
.assembly-card li { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: auto;
  padding: 30px 24px 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
footer p { margin-bottom: 0; }
footer a { text-decoration: none; }

@media (max-width: 1180px) {
  .menu-button { display: grid; gap: 5px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); }
  .main-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 24px 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown summary { justify-content: space-between; padding: 3px 0; }
  .submenu { position: static; min-width: 0; margin-top: 10px; padding: 5px 0 0 16px; background: transparent; border: 0; border-left: 2px solid #e4cbc9; border-radius: 0; box-shadow: none; transform: none; }
  .submenu::before { display: none; }
  .main-menu.open { display: flex; }
  .main-menu .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-visual { min-height: 390px; border-radius: 180px 180px 20px 20px; }
  .intro, .contact { grid-template-columns: 1fr; gap: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 35px; }
  .strategic-grid { grid-template-columns: 1fr; }
  .action-preview, .sections-preview, .elected-preview { grid-template-columns: 1fr; gap: 20px; }
  .participate { align-items: flex-start; flex-direction: column; }
  .president-message { grid-template-columns: 1fr; padding-top: 55px; }
  .president-profile { position: static; max-width: 420px; }
  .contact-layout { grid-template-columns: 1fr; padding-top: 55px; }
  .action-heading { align-items: flex-start; flex-direction: column; }
  .category-list { justify-content: flex-start; }
  .local-section { grid-template-columns: 45px 130px 1fr; }
  .section-portrait { grid-column: 2; grid-row: 1 / span 2; width: 118px; height: 138px; }
  .section-info { grid-column: 3; }
  .section-details { grid-column: 3; }
  .sections-contact { align-items: flex-start; flex-direction: column; }
  .assembly-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.15rem; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 78px 20px; }
  .contact-form-wrap { padding: 24px 18px; }
  .empty-publications { grid-template-columns: 1fr; padding: 26px 20px; }
  .publication-card { padding: 26px 20px; }
  .article-page > article { padding-top: 45px; }
  .article-header h1 { font-size: 3rem; }
  .article-conclusion { padding: 32px 22px; }
  .local-section { grid-template-columns: 1fr; gap: 15px; }
  .section-index, .section-portrait, .section-info, .section-details { grid-column: 1; grid-row: auto; }
  .section-portrait { width: 150px; height: 175px; }
  .section-details { grid-template-columns: 1fr; }
  .elected-heading, .member-list li { align-items: flex-start; flex-direction: column; }
  .assembly-card { padding: 24px 20px; }
  footer { flex-direction: column; }
}

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