:root {
  --ink: #181a19;
  --muted: #666964;
  --line: #d8d5cd;
  --stone: #f3f1ec;
  --paper: #fbfaf7;
  --white: #ffffff;
  --accent: #66756d;
  --summit-green: #7eb000;
  --error: #9c3229;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
}

.event-panel {
  min-height: 100vh;
  padding: clamp(32px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--summit-green);
  color: var(--white);
  position: sticky;
  top: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 55% 45% / 62% 48% 52% 38%;
  transform: rotate(45deg);
}

.eyebrow,
.step-label,
.meta-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-copy h1 {
  margin: 18px 0 20px;
  max-width: 690px;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 7.2vw, 7.4rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.event-subtitle {
  margin: 0;
  font-size: clamp(0.72rem, 1.3vw, 0.94rem);
  letter-spacing: 0.15em;
}

.event-meta {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.event-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.87rem;
  line-height: 1.45;
}

.meta-label {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 5px;
}

.panel-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.55;
}

.form-panel {
  min-height: 100vh;
  padding: clamp(36px, 6vw, 86px) clamp(24px, 8vw, 112px) 32px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.form-heading,
#registration-form,
.review-card {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}

.form-heading h2,
.review-heading h2 {
  margin: 7px 0 13px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.form-heading > p:last-child {
  max-width: 535px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

#registration-form {
  margin-top: clamp(36px, 5vw, 58px);
}

.field-grid {
  display: grid;
  gap: 24px;
}

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

.field {
  margin-bottom: 28px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field input[type="number"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(24, 26, 25, 0.08);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: var(--error);
  font-size: 0.72rem;
}

.room-field {
  padding: 0;
  border: 0;
}

.room-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.room-card {
  min-height: 92px;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.room-card:has(input:checked) {
  border-color: var(--ink);
  background: #f0efe9;
}

.room-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-mark {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid #9c9f99;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--white);
}

.room-card input:checked + .radio-mark {
  background: var(--ink);
  border-color: var(--ink);
}

.room-card:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.room-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.room-copy strong {
  font-size: 0.88rem;
}

.room-copy small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 400;
  line-height: 1.4;
}

.compact-field {
  max-width: 210px;
}

.address-section {
  margin: 44px 0 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.optional {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
}

.information-note {
  margin: 0;
  padding: 17px 18px;
  border-left: 3px solid var(--summit-green);
  background: #eef2e7;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.information-note strong {
  color: var(--ink);
}

.number-control {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid var(--line);
  background: var(--white);
}

.number-control button,
.number-control input {
  min-height: 48px !important;
  border: 0 !important;
  background: transparent;
}

.number-control button {
  color: var(--muted);
  cursor: pointer;
}

.number-control button:hover {
  color: var(--ink);
  background: var(--stone);
}

.number-control input {
  padding-inline: 0 !important;
  text-align: center;
  appearance: textfield;
}

.number-control input::-webkit-inner-spin-button,
.number-control input::-webkit-outer-spin-button {
  appearance: none;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  padding: 16px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

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

.privacy-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.review-card {
  margin-top: 44px;
}

.review-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.text-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
}

.review-list {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.review-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.review-row dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.review-row dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 650;
  white-space: pre-line;
}

.email-route {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 5px 12px;
  margin: 0 0 24px;
  padding: 16px;
  background: var(--stone);
  font-size: 0.75rem;
}

.email-route span {
  color: var(--muted);
}

.email-route strong {
  overflow-wrap: anywhere;
}

footer {
  width: 100%;
  max-width: 680px;
  margin: auto auto 0;
  padding-top: 54px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #878983;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[hidden] {
  display: none !important;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--summit-green);
}

.thank-you-card {
  width: min(100%, 580px);
  padding: clamp(32px, 7vw, 68px);
  background: var(--paper);
  border: 1px solid rgba(24, 26, 25, 0.2);
}

.thank-you-card .brand-lockup {
  margin-bottom: clamp(58px, 10vw, 94px);
}

.thank-you-card h1 {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.thank-you-card > p:not(.eyebrow) {
  margin: 0 0 34px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 850px) {
  .page-shell {
    display: block;
  }

  .event-panel {
    min-height: 590px;
    position: relative;
    padding: 30px 24px 34px;
  }

  .event-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5.4rem);
  }

  .form-panel {
    min-height: auto;
    padding: 48px 24px 24px;
  }
}

@media (max-width: 560px) {
  .event-panel {
    min-height: 540px;
  }

  .two-columns,
  .room-options {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .room-options {
    gap: 10px;
  }

  .event-meta {
    grid-template-columns: 1fr 1fr;
  }

  .form-heading h2,
  .review-heading h2 {
    font-size: 2.4rem;
  }

  .review-heading {
    align-items: flex-end;
  }

  .review-row {
    grid-template-columns: 112px 1fr;
  }
}

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