:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --surface: #fffcf6;
  --ink: #243b46;
  --muted: #4f626c;
  --line: #ded7ca;
  --blue: #dceaf3;
  --accent: #345565;
  --sea: #d9edee;
  font: 16px/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
h1, h2, p, dl, dd { margin: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #2264b8; outline-offset: 3px; }
.masthead { display: flex; align-items: center; width: min(1020px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; }
.masthead img { width: 102px; height: auto; }
.layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); width: min(1020px, calc(100% - 48px)); gap: 16px; margin: 12px auto 2.5rem; align-items: start; }
.intro, .card { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; }
.intro {
  background: linear-gradient(110deg, #f6f2e7 25%, #fbf5e9 76%, #f4ebd9);
}
.intro-illustration { display: block; width: 100%; height: auto; margin: 1.35rem auto 0; }
.eyebrow { max-width: 32ch; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
h1 { margin: .75rem 0 1rem; }
h1 img { display: block; width: min(100%, 29rem); height: auto; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: .7rem; }
.description { max-width: 34ch; }
.description h2 { font: inherit; font-weight: 700; letter-spacing: .06em; margin-bottom: .3rem; }
.description p + p { margin-top: .4rem; }
#event-facts { max-width: 24rem; margin-top: 1.5rem; padding: .85rem 1.1rem; border: 1px solid #fffcf6; border-radius: 10px; background: #fffcf6df; }
#event-facts > div + div { margin-top: .55rem; }
dt { color: var(--muted); font-size: .875rem; }
dd { font-weight: 650; overflow-wrap: anywhere; }
.card { background: var(--surface); box-shadow: 0 8px 22px #685f4d0d; }
#signup { margin-top: 1rem; }
label { display: grid; gap: .35rem; font-size: .94rem; font-weight: 650; }
input, textarea { width: 100%; border: 1px solid #829ca9; border-radius: 7px; background: white; color: inherit; padding: .65rem .7rem; font-size: 1rem; }
.activity-note { display: grid; gap: .35rem; }
.activity-note textarea { resize: vertical; }
.activity-note .hint { margin-top: 0; }
.consent { align-items: start; grid-template-columns: auto 1fr; gap: .45rem; font-weight: 400; }
.consent input { width: 1rem; height: 1rem; margin: .2rem 0 0; }
.event-reminder { margin-block: 1rem; }
.event-reminder h3 { font-size: 1rem; margin-bottom: .3rem; }
.hint { color: var(--muted); font-size: .875rem; margin-top: .8rem; }
.hint:empty { display: none; }
button { margin-top: .9rem; border: 1px solid transparent; border-radius: 7px; background: var(--accent); color: white; font-weight: 650; padding: .55rem .9rem; min-height: 43px; cursor: pointer; }
button:hover:not(:disabled) { background: var(--ink); }
button:disabled { cursor: wait; opacity: .6; }
.secondary, .copy { background: var(--surface); color: var(--accent); border-color: #829ca9; }
.secondary:hover:not(:disabled), .copy:hover:not(:disabled) { background: var(--sea); }
.payment-details { display: grid; gap: .65rem; margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; background: var(--sea); }
.payment-details dd { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; font-variant-numeric: tabular-nums; }
.copy { margin: 0; min-height: 34px; padding: .25rem .5rem; font-size: .875rem; }
#availability[data-error="true"] { color: #8b333c; }
@media (max-width: 740px) {
  .masthead, .layout { width: calc(100% - 30px); }
  .masthead { min-height: 61px; }
  .layout { grid-template-columns: minmax(0, 1fr); margin-top: .3rem; }
}
