:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --ink: #202b24;
  --muted: #59635b;
  --green: #2b643e;
  --line: #d9dfd7;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.page-shell { width: min(100% - 6rem, 1224px); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.045em; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; color: var(--green); }
.brand-light { font-weight: 400; }
nav { display: flex; align-items: center; gap: 2rem; font-size: .875rem; }
nav a { transition: color .15s; }
nav a:hover { color: var(--green); }
.header-invite { border: 1px solid #aab8a8; border-radius: 6px; padding: .65rem 1.1rem; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 4rem; padding-block: 48px; }
h1 { margin: 0 0 1.4rem; font-size: clamp(2.75rem, 5.1vw, 4.6rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
h1 span { color: var(--green); }
.hero-description { max-width: 440px; color: var(--muted); margin: 0 0 1.8rem; font-size: 1.0625rem; line-height: 1.65; }
.primary-link, button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.3rem; border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: #fff; font-size: .9375rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.primary-link:hover, button:hover { background: #214e30; }
.hero-photo { display: block; width: 100%; min-width: 0; height: 440px; object-fit: cover; object-position: center 43%; border-radius: 10px; background: #e2ebda; }
.programs { border-top: 1px solid var(--line); padding-block: 34px 44px; }
h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.program img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: #e2ebda; }
h3 { margin: .9rem 0 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.invitation { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; background: #eaf0e5; border: 1px solid #dce5d6; border-radius: 10px; padding: 36px; }
.invitation h2 { font-size: 2rem; }
.invitation-copy > p:last-child { max-width: 310px; font-size: .9375rem; margin: .8rem 0 0; color: var(--muted); }
.form-panel { min-width: 0; }
fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; }
.input-row { display: flex; gap: .5rem; }
input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #abb9a6; border-radius: 6px; padding: .75rem .9rem; background: #fff; color: var(--ink); }
input::placeholder { color: #6d756d; }
button { flex-shrink: 0; padding-inline: 1rem; font-size: .875rem; }
fieldset:disabled { opacity: .65; }
fieldset:disabled button { cursor: not-allowed; }
.form-hint { margin: .65rem 0 0; font-size: .875rem; color: var(--muted); }
.form-result { margin: 0; color: var(--green); font-size: 1.25rem; font-weight: 600; }
.form-result:not(:empty) { padding: 1.5rem; border: 1px solid #b9cbb0; border-radius: 6px; background: #f7faf4; }
.site-footer { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .875rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 4rem); }
  .hero { gap: 2rem; padding-block: 48px; }
  .hero-photo { height: 340px; }
  .invitation { gap: 2rem; padding: 28px; }
  .input-row { flex-direction: column; }
  .program-grid { gap: 1rem; }
}

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 82px; gap: .5rem; }
  .brand { font-size: 1rem; gap: .45rem; }
  .brand-mark { width: 30px; height: 30px; }
  nav { gap: 0; }
  .programs-link { display: none; }
  .header-invite { font-size: .875rem; padding: .55rem .7rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 36px; }
  h1 { font-size: clamp(2.4rem, 9.4vw, 3.8rem); }
  .hero-description { font-size: 1rem; }
  .hero-photo { height: auto; aspect-ratio: 4 / 5; object-position: center; }
  .program-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.75rem; }
  .invitation { grid-template-columns: 1fr; gap: 1.75rem; padding: 24px 20px; }
  .invitation h2 { font-size: 1.8rem; }
  .site-footer { min-height: 100px; flex-direction: column; justify-content: center; gap: .35rem; align-items: flex-start; }
}

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