:root {
  --forest: #243a16;
  --leaf: #7d9253;
  --rust: #c14f1d;
  --ink: #20251d;
  --muted: #5f6658;
  --line: #dfe5d8;
  --surface: #f6f8f3;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #fbfcf8;
}

a {
  color: var(--forest);
  text-decoration-color: rgba(36, 58, 22, 0.28);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(210px, 23vw, 320px);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
}

main {
  padding-bottom: 4rem;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #fbfcf8 0%, #ffffff 58%, #eef3e8 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.6rem, 3.2vw, 2.6rem) 0;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--forest);
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 1rem;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  font-weight: 700;
}

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

.lead {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4rem;
  background: var(--white);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  max-height: 240px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.hero-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.hero-card p,
.hero-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 4px;
  padding: 0.72rem 0.95rem;
  color: var(--white);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: var(--forest);
}

.button:hover,
button:hover {
  border-color: var(--rust);
  color: var(--white);
  background: var(--rust);
}

.button.secondary {
  color: var(--forest);
  background: var(--white);
}

.button.secondary:hover {
  color: var(--white);
  background: var(--forest);
}

.section {
  padding: 3rem 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.tile,
.program,
.notice,
fieldset {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.tile {
  padding: 1.15rem;
}

.tile-mark {
  display: inline-block;
  width: 2rem;
  height: 0.2rem;
  margin-bottom: 0.9rem;
  background: var(--leaf);
}

.tile:nth-child(2) .tile-mark {
  background: var(--rust);
}

.tile h3,
.program h2 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

p {
  margin: 0 0 1rem;
}

.tile p,
.program p {
  margin: 0;
}

.program .date-note {
  margin-top: 0.55rem;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
}

.program-list {
  display: grid;
  gap: 0.9rem;
}

.program {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(150px, 190px);
  gap: 1.25rem;
  align-items: center;
  overflow: hidden;
}

.program-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.program-body {
  padding: 1.1rem 0;
}

.program-action {
  border: 1px solid var(--forest);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  justify-self: start;
  margin-right: 1.1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--forest);
}

.program-action:hover {
  border-color: var(--rust);
  color: var(--white);
  background: var(--rust);
}

.program-status {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--surface);
}

.meta {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem;
}

.notice p {
  max-width: 680px;
  margin: 0;
}

.content {
  width: min(100% - 2rem, 780px);
  max-width: 780px;
  margin: 0 auto;
  padding-top: 3rem;
}

.content .kicker {
  color: var(--rust);
}

.content h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.18;
}

.content h2 {
  margin: 2rem 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

form {
  display: grid;
  gap: 1rem;
  max-width: 780px;
}

.form-section {
  padding-top: 3rem;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1.5rem;
  align-items: start;
}

.form-card,
.form-note {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.form-card {
  max-width: none;
  padding: 1.35rem;
}

.form-note {
  padding: 1.25rem;
}

.form-note h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--forest);
}

.form-note ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

label,
legend {
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.72rem 0.78rem;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(125, 146, 83, 0.22);
  border-color: var(--leaf);
}

fieldset {
  margin: 0;
  padding: 1rem;
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.message-title.error {
  color: var(--rust);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  color: inherit;
}

@media (max-width: 840px) {
  .header-inner,
  .hero .wrap,
  .program,
  .notice,
  .form-shell,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .section-head,
  .notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(72vw, 260px);
  }

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

  .program-image {
    height: 210px;
  }

  .program-body {
    padding: 0 1.1rem;
  }

  .program-action,
  .program-status {
    margin: 0 1.1rem;
  }

  .program-action {
    margin-bottom: 1.1rem;
  }

  .program-status {
    margin-bottom: 1.1rem;
  }
}
