:root {
  --bg: #f3f5f2;
  --surface: #fff;
  --surface-muted: #eef3f1;
  --ink: #17211f;
  --muted: #5e6965;
  --line: #d8ded9;
  --line-strong: #c4cdc7;
  --green: #0f4f45;
  --green-dark: #0a3932;
  --blue: #243f5f;
  --blue-soft: #e8eef4;
  --gold: #a9782d;
  --gold-soft: #f3eadb;
  --red: #884238;
  --red-soft: #f4e3df;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.14);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 10.5em;
  margin-bottom: 1.15rem;
  font-size: 2.55rem;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: 2rem;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
}

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

li + li {
  margin-top: 0.48rem;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0.74rem 0.82rem;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 79, 69, 0.25);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(216, 222, 217, 0.9);
  background: rgba(255, 255, 255, 0.93);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.mark-leaf,
.mark-stem {
  fill: none;
  stroke: var(--surface);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.mark-stem {
  opacity: 0.88;
}

.mark-dot {
  fill: var(--gold-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.main-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 680;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

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

.main-nav .nav-cta {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--surface);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  background: var(--green-dark);
  color: var(--surface);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 140px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image: url("assets/forum-room.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 245, 242, 0.97) 0%, rgba(243, 245, 242, 0.86) 47%, rgba(36, 63, 95, 0.24) 100%),
    linear-gradient(0deg, rgba(23, 33, 31, 0.12), rgba(23, 33, 31, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 4.2rem 0 3rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-subhead {
  max-width: 690px;
  color: #33413d;
  font-size: 1.09rem;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 79, 69, 0.45);
  color: var(--green);
}

.button-secondary:hover {
  background: var(--surface);
}

.working-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.event-card {
  width: min(100%, 430px);
  border: 1px solid rgba(216, 222, 217, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.detail-kicker,
.event-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0;
}

.event-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.event-card div {
  border-top: 1px solid var(--line);
  padding: 0.76rem 0;
}

.event-card div:last-child {
  padding-bottom: 0;
}

.event-card dd {
  margin: 0.08rem 0 0;
  color: var(--ink);
  font-weight: 760;
}

.section {
  padding: 4rem 0;
}

.tinted {
  background: var(--surface-muted);
}

.two-column,
.themes-layout,
.credibility-layout,
.form-layout,
.agenda-layout,
.interior-grid {
  display: grid;
  gap: 2rem;
}

.prose {
  color: var(--muted);
  font-size: 1.02rem;
}

.prose p {
  max-width: 760px;
}

.audience-block {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.audience-block h3 {
  color: var(--ink);
}

.compact-list {
  display: grid;
  gap: 0.34rem;
  color: var(--ink);
}

.compact-list li + li {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-heading.compact {
  margin-bottom: 1rem;
}

.section-heading.narrow {
  max-width: 720px;
}

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

.card-grid,
.profile-grid,
.cohort-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.profile-card,
.cohort-card,
.faq-item,
.agenda-item,
.form-card,
.cta-panel,
.fall-item,
.date-choice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-card,
.cohort-card,
.faq-item,
.fall-item,
.date-choice {
  padding: 1.18rem;
}

.profile-card p,
.cohort-card p,
.faq-item p,
.fall-item p,
.date-choice p {
  color: var(--muted);
  margin-bottom: 0;
}

.cohort-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 220px;
}

.cohort-card.is-open {
  border-color: rgba(15, 79, 69, 0.42);
}

.cohort-card.is-full {
  background: #fbfcfb;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.75rem;
  font-weight: 820;
}

.status-badge.open {
  background: var(--green);
  color: var(--surface);
}

.status-badge.full {
  background: var(--red-soft);
  color: var(--red);
}

.status-badge.waitlist {
  background: var(--gold-soft);
  color: #785114;
}

.text-link,
.closed-label {
  align-self: end;
  color: var(--green);
  font-weight: 780;
}

.text-link {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.closed-label {
  color: var(--muted);
}

.theme-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
}

.theme-list li {
  position: relative;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0 0 0.8rem 1.35rem;
}

.theme-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.attendee-section,
.standards-section,
.faq-section {
  background: var(--surface);
}

.faq-item {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.credibility-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.credibility-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfb;
  color: var(--green);
  font-weight: 740;
  margin: 0;
  padding: 0.7rem 0.9rem;
}

.final-cta {
  padding-top: 2rem;
}

.cta-panel {
  padding: 1.5rem;
}

.cta-panel p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 0.55rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--surface);
  font-weight: 800;
}

.interior-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(243, 245, 242, 0.98), rgba(243, 245, 242, 0.9)),
    url("assets/forum-room.png") center / cover;
  padding: 4.6rem 0 3.25rem;
}

.interior-hero h1 {
  margin-bottom: 1rem;
}

.interior-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.interior-callout {
  align-self: end;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.interior-callout span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.interior-callout strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.2;
}

.status-section {
  padding-bottom: 2.5rem;
}

.day-sidebar {
  align-self: start;
  border-top: 3px solid var(--green);
  padding-top: 1rem;
}

.day-sidebar p:not(.eyebrow) {
  color: var(--muted);
}

.agenda-list,
.fall-list,
.date-choice-list {
  display: grid;
  gap: 0.85rem;
}

.agenda-item {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.agenda-item time {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.agenda-item p,
.agenda-item li {
  color: var(--muted);
}

.agenda-item p:last-child,
.agenda-item ul:last-child {
  margin-bottom: 0;
}

.agenda-item .output {
  border-top: 1px solid var(--line);
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.agenda-break {
  background: var(--blue-soft);
}

.form-aside {
  align-self: start;
}

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

.date-choice {
  display: grid;
  gap: 0.6rem;
}

.date-choice.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 79, 69, 0.12);
}

.date-choice.is-disabled {
  opacity: 0.72;
}

.choice-button {
  width: fit-content;
  min-height: 40px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  padding: 0.55rem 0.8rem;
  font-weight: 780;
  cursor: pointer;
}

.choice-button:hover:not(:disabled) {
  background: var(--green);
  color: var(--surface);
}

.choice-button:disabled {
  border-color: var(--line-strong);
  color: var(--muted);
  cursor: not-allowed;
}

.microcopy {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 1rem 0 0;
}

.travel-note {
  border-left: 3px solid var(--green);
  padding-left: 0.85rem;
}

.form-card {
  padding: 1rem;
}

.selected-cohort {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
}

.selected-cohort span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.selected-cohort strong {
  color: var(--ink);
}

.registration-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.field-row {
  display: grid;
  gap: 0.42rem;
}

.field-row label,
.radio-group legend,
.consent {
  color: var(--ink);
  font-weight: 740;
}

.code-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.code-status::before {
  content: "";
  display: none;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-left: 2px solid currentColor;
  background: currentColor;
  clip-path: polygon(20% 0, 100% 0, 82% 42%, 100% 84%, 20% 84%);
}

.code-status.is-valid {
  color: var(--green);
  font-weight: 760;
}

.code-status.is-valid::before {
  display: block;
}

.code-status.is-error {
  color: var(--red);
}

.field-row span,
.radio-group span {
  color: var(--gold);
}

.radio-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: 1rem;
}

.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 620;
  margin-top: 0.75rem;
}

.radio-group input,
.consent input {
  width: auto;
  min-height: auto;
  margin-top: 0.32rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.consent span {
  color: var(--ink);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-status {
  color: var(--muted);
  margin: 0;
}

.form-status.is-error {
  color: var(--red);
}

.confirmation {
  border: 1px solid rgba(15, 79, 69, 0.45);
  border-radius: var(--radius);
  background: var(--surface-muted);
  padding: 1.4rem;
}

.confirmation h2 {
  margin-bottom: 0.8rem;
}

.confirmation-reference,
.modal-reference {
  border: 1px solid rgba(15, 79, 69, 0.24);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--green);
  font-weight: 760;
  padding: 0.75rem 0.85rem;
}

.confirmation p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.honeypot,
[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(23, 33, 31, 0.56);
  padding: 1rem;
}

.modal-panel {
  width: min(560px, 100%);
  border: 1px solid rgba(216, 222, 217, 0.96);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.modal-panel h2 {
  margin-bottom: 0.85rem;
}

.modal-panel p:not(.eyebrow) {
  color: var(--muted);
}

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

body.modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    padding-bottom: 0.65rem;
  }

  .brand {
    width: 100%;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 25px;
    height: 25px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 0.72rem;
    padding: 0.42rem 0.34rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.76rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(243, 245, 242, 0.97), rgba(243, 245, 242, 0.86)),
      linear-gradient(90deg, rgba(36, 63, 95, 0.16), rgba(36, 63, 95, 0.05));
  }

  .hero-content {
    padding: 2.5rem 0 2.25rem;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .action-row {
    margin: 1.2rem 0 0.9rem;
  }

  .event-card {
    padding: 0.85rem;
  }

  .event-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.85rem;
  }

  .event-card div {
    padding: 0.55rem 0;
  }

  .event-card div:nth-child(4),
  .event-card div:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .profile-grid,
  .cohort-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .registration-form .full,
  .field-row.full,
  .radio-group.full,
  .consent.full,
  .form-actions.full {
    grid-column: 1 / -1;
  }

  .agenda-item {
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 1.25rem;
  }

  .cta-panel {
    padding: 2rem;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 4rem;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
  }

  .event-card {
    justify-self: end;
  }

  .two-column,
  .themes-layout,
  .credibility-layout,
  .form-layout,
  .agenda-layout,
  .interior-grid {
    grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  }

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

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

  .day-sidebar,
  .form-aside {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }
}

@media (min-width: 1160px) {
  .site-header {
    padding-left: calc((100% - 1120px) / 2);
    padding-right: calc((100% - 1120px) / 2);
  }
}

@media (max-height: 760px) and (min-width: 900px) {
  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 3.35rem;
  }
}
