:root {
  --paper: #f5f0e7;
  --paper-deep: #ebe3d5;
  --ink: #1d2523;
  --muted: #68716d;
  --green: #173d36;
  --green-2: #24584e;
  --terracotta: #c86b4a;
  --line: #d7cfc1;
  --white: #fffdf9;
  --shadow: 0 20px 55px rgba(29, 37, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--green);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.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;
  z-index: 100;
  top: 0;
  background: rgba(245, 240, 231, 0.94);
  border-bottom: 1px solid rgba(23, 61, 54, 0.15);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-decoration: none;
  line-height: 1.1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--green);
  border-radius: 50%;
  font: 700 22px/1 Georgia, serif;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 15px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--terracotta);
}

.main-nav .nav-help {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
}

.main-nav .nav-help:hover,
.main-nav .nav-help:focus-visible {
  background: var(--terracotta);
  color: var(--white);
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button > span:not(.sr-only) {
  width: 22px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--green);
}

.hero {
  padding: 54px 0 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-photo figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 9px;
  font-size: 25px;
}

.lead {
  max-width: 610px;
  margin: 0 0 30px;
  color: #3e4946;
  font-size: clamp(17px, 2vw, 20px);
}

.target {
  display: grid;
  gap: 3px;
  margin: 0 0 32px;
  padding: 21px 0 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.target span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.target strong {
  color: var(--green);
  font: 700 clamp(37px, 5vw, 60px)/1.05 Georgia, serif;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terracotta);
}

.text-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--terracotta);
}

.facts-section {
  background: var(--green);
  color: var(--white);
}

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

.facts-row > div {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-row > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-row span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts-row b {
  font: 700 21px/1.25 Georgia, serif;
}

.narrow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 8vw, 110px);
}

.prose {
  color: #3c4744;
  font-size: 18px;
}

.prose p {
  margin: 0 0 22px;
}

.program-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 8px;
  color: var(--muted);
}

.program-list {
  border-top: 1px solid var(--line);
}

.program-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.program-item p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
}

.program-number {
  color: var(--terracotta);
  font: 700 19px/1 Georgia, serif;
}

.program-note {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding: 22px 26px;
  background: var(--paper);
  border-left: 4px solid var(--terracotta);
}

.documents-section {
  background: var(--paper-deep);
}

.documents-list {
  border-top: 1px solid #c8bdac;
}

.document-row {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c8bdac;
  text-align: left;
  cursor: pointer;
}

.document-row:hover,
.document-row:focus-visible {
  background: rgba(255, 255, 255, 0.46);
}

.doc-type {
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doc-name {
  font: 700 20px/1.3 Georgia, serif;
}

.doc-action {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.organizer-section {
  background: var(--white);
}

.organizer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.organizer-grid h2 {
  max-width: 650px;
}

.organizer-grid p {
  max-width: 590px;
  color: var(--muted);
}

.organizer-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.organizer-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.organizer-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.organizer-facts dd {
  margin: 0;
  font-weight: 700;
}

.help-section {
  background: var(--green);
  color: var(--white);
}

.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(46px, 8vw, 100px);
  align-items: start;
}

.eyebrow.light {
  color: #e7a98f;
}

.help-copy p:not(.eyebrow) {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  margin-top: 16px;
  background: var(--white);
  color: var(--green);
}

.button-light:hover,
.button-light:focus-visible {
  background: #f1c1ad;
}

.bank-slip {
  padding: 30px;
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.slip-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 19px;
  border-bottom: 2px solid var(--green);
  color: var(--green);
}

.slip-top span {
  font: 700 22px/1 Georgia, serif;
}

.slip-top b {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.slip-row {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.slip-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slip-row strong {
  padding-right: 102px;
  overflow-wrap: anywhere;
}

.copy-button {
  position: absolute;
  top: 13px;
  right: 0;
  min-height: 38px;
  padding: 0 11px;
  color: var(--green);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: var(--green);
  color: var(--white);
}

.qr-row {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
}

.qr-row a {
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.qr-row b,
.qr-row span {
  display: block;
}

.qr-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.copy-status {
  min-height: 20px;
  margin: 15px 0 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  background: #102b26;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.footer-inner a {
  color: var(--white);
  text-underline-offset: 4px;
}

.document-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  background: var(--paper);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.document-dialog::backdrop {
  background: rgba(13, 25, 22, 0.78);
  backdrop-filter: blur(3px);
}

.dialog-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 14px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.dialog-bar h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
}

.dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 6px;
  font-size: 28px;
  cursor: pointer;
}

.document-dialog > img {
  width: 100%;
  height: auto;
  background: white;
}

:focus-visible {
  outline: 3px solid #e19a7d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(29, 37, 35, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-help {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .narrow-grid,
  .organizer-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-photo {
    max-width: 660px;
  }

  .facts-row {
    grid-template-columns: 1fr;
  }

  .facts-row > div {
    min-height: 112px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-grid {
    gap: 54px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding: 24px 0 66px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-photo figcaption {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

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

  .hero-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .facts-row > div {
    padding: 26px 22px;
  }

  .program-item {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .program-item h3 {
    font-size: 22px;
  }

  .program-note {
    padding: 19px 18px;
  }

  .document-row {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 19px 4px;
  }

  .doc-type {
    grid-column: 1 / -1;
  }

  .doc-name {
    font-size: 18px;
  }

  .organizer-facts div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bank-slip {
    padding: 22px 18px;
  }

  .slip-top {
    align-items: flex-start;
  }

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

  .slip-row strong {
    padding-right: 0;
    font-size: 15px;
  }

  .copy-row {
    padding-right: 0;
    padding-bottom: 66px;
  }

  .copy-button {
    top: auto;
    right: auto;
    bottom: 14px;
    left: 0;
    min-height: 42px;
  }

  .qr-row {
    grid-template-columns: 132px 1fr;
    gap: 18px;
  }

  .qr-row a {
    width: 132px;
    height: 132px;
    padding: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (max-width: 390px) {
  .brand small {
    display: none;
  }

  .qr-row {
    grid-template-columns: 118px 1fr;
  }

  .qr-row a {
    width: 118px;
    height: 118px;
    padding: 9px;
  }
}

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

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