:root {
  --green: #103b31;
  --ink: #18352d;
  --muted: #4b6158;
  --paper: #faf9f5;
  --mint: #e8f0e9;
  --orange: #c9522e;
  --line: #d4dfd6;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.6 system-ui,sans-serif;
}

* {
  box-sizing: border-box;
}

body,figure,p,h1,h2,h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

.header,.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand small {
  display: block;
  font-size: .78rem;
  letter-spacing: 0;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.22;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-size: 1.55rem;
}

.header nav,.actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header nav {
  font-weight: 650;
  font-size: .92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 700;
  font-size: .92rem;
  min-height: 46px;
}

.outline {
  border-color: #83998e;
}

.primary {
  background: var(--orange);
  color: #fff;
}

.primary:hover {
  background: #ac4020;
}

.light {
  color: white;
  border-color: #a4bab0;
}

.light:hover {
  background: #ffffff20;
}

.hero {
  min-height: 525px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  background: var(--green);
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.hero-copy {
  padding: 58px clamp(28px,4vw,68px);
  align-self: center;
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: .875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.label span {
  width: 22px;
  height: 2px;
  flex: none;
  background: #e77a50;
}

.hero .label {
  color: #f9ba9d;
}

.hero h1,h2 {
  font-family: Georgia,serif;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.hero h1 {
  font-size: clamp(3rem,5.6vw,5.35rem);
  margin: 22px 0;
}

.hero h1 em {
  display: block;
  color: #d9eacb;
  font-weight: 400;
}

.hero-copy>p:not(.label) {
  color: #e0eae4;
  max-width: 36ch;
}

.actions {
  margin-top: 30px;
  gap: 12px;
  flex-wrap: wrap;
}



.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  padding-block: 76px;
}

.about .label {
  align-self: start;
  margin-top: 8px;
}

h2 {
  font-size: clamp(2.45rem,4.5vw,4rem);
  margin-bottom: 15px;
}

.about p:not(.label),.intro {
  max-width: 68ch;
  color: var(--muted);
}

.directory {
  background: var(--mint);
  padding-block: 68px;
}

.directory .label {
  margin-bottom: 14px;
}

.search {
  display: grid;
  gap: 6px;
  max-width: 400px;
  margin-top: 23px;
}

.search,#contact label,legend {
  font-size: .9rem;
  font-weight: 650;
}

input:not([type=radio]),textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #a8bcb0;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 44px;
}

.cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.card[hidden] {
  display: none;
}

.card h3 {
  font: 400 1.45rem/1.15 Georgia,serif;
  margin-bottom: 12px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}

.card abbr {
  font-weight: 750;
  text-decoration: none;
}

#results {
  margin-top: 8px;
  color: var(--muted);
}


.form-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fields label {
  display: grid;
  gap: 5px;
  align-content: start;
}

.wide {
  grid-column: 1/-1;
}

.optional {
  display: contents;
  font-weight: 400;
  color: var(--muted);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

legend {
  padding: 0;
  margin-bottom: 7px;
}

.choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.choices input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-note,#form-status {
  margin: 12px 0;
  color: var(--muted);
  font-size: .9rem;
}

#form-status:empty {
  display: none;
}

footer {
  background: var(--green);
  color: #fff;
}

.footer .mark {
  background: #ffffff20;
}

.footer>a:last-child {
  font-size: .9rem;
  text-decoration: underline;
}

.button:disabled {
  cursor: wait;
  opacity: .7;
}

@media (max-width:900px) {
  .cards {
    grid-template-columns: repeat(2,1fr);
  }
  .hero-copy {
    padding: 34px 24px;
  }
  .hero {
    min-height: 465px;
  }
  .shell {
    width: calc(100% - 40px);
  }
}

@media (max-width:660px) {
  .shell {
    width: calc(100% - 28px);
  }
  .header {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }
  .header nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero,.about {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(2.65rem,10vw,4rem);
  }
  .about,.directory {
    padding-block: 42px;
  }
  .about {
    gap: 12px;
  }
  .cards,.fields {
    grid-template-columns: 1fr;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-card {
    padding: 17px;
  }
}

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

.hero-image {
  position: relative;
  min-height: 320px;
  background: #2b6758;
}

.hero-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.registration-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  min-height: 100svh;
  margin-top: clamp(22px, 4vw, 48px);
  background: #fff;
}

.registration-panel {
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  padding: clamp(28px, 5vw, 76px);
  color: #fff;
  background: #103b31 linear-gradient(180deg, #103b3110 12%, #103b31db 65%, #103b31 100%);
  background-image: linear-gradient(180deg, #103b3110 12%, #103b31db 65%, #103b31 100%), url("/hero.jpg");
  background-position: center, 48% center;
  background-size: cover;
}

.registration-panel-copy {
  max-width: 32ch;
}

.registration-panel .label {
  color: #ffd2bd;
}

.registration-panel-title {
  font: 400 clamp(2.25rem, 4.35vw, 4.65rem)/1.04 Georgia, serif;
  letter-spacing: -.04em;
  margin: 14px 0;
}

.registration-panel-copy > p:last-child {
  color: #e0eae4;
}

.registration-section .form-card {
  align-self: center;
  justify-self: center;
  width: min(100%, 900px);
  padding: clamp(24px, 5vw, 72px);
  border: 0;
  border-radius: 0;
}

.registration-section .fields {
  gap: 20px;
}

.registration-section .choices label {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.registration-section .choices label:has(input:checked) {
  background: var(--mint);
  border-color: #83998e;
}

@media (max-width: 760px) {
  .registration-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .registration-panel {
    min-height: 260px;
    background-position: center, center 40%;
  }
}

.form-card h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.6rem);
  margin-bottom: 6px;
}

.registration-intro {
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 660px) {
  .hero-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .form-card button {
    width: 100%;
  }
}

.fields .field {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.field-error {
  color: #a52d20;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
}

#validation-status:not(:empty) {
  margin-bottom: 14px;
}

#type-error:not([hidden]) {
  margin-top: 6px;
}

#contact [aria-invalid="true"]:not([type="radio"]),
#contact .choices label:has([aria-invalid="true"]) {
  border-color: #b83627;
  background: #fff7f5;
}
