:root {
  color-scheme: dark;
  --page: #120e1a;
  --surface: #20192b;
  --rule: #5a465f;
  --text: #fff6f5;
  --muted: #d3bfd4;
  --accent: #ff9acf;
  --on-accent: #291123;
  font: 16px/1.55 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); }
a { color: var(--accent); text-underline-offset: .22em; overflow-wrap: anywhere; }
header, footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.65rem; max-width: 76rem; margin-inline: auto; padding: 1.2rem clamp(1rem, 5vw, 4rem);
}
header { border-bottom: 1px solid var(--rule); }
footer { justify-content: flex-start; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
header a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark { font: 1.9rem/1.15 Georgia, serif; text-decoration: none; color: var(--text); }
.event {
  max-width: 76rem; margin-inline: auto; padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  display: grid; align-items: start; gap: clamp(1.75rem, 5vw, 4rem);
}
.metadata, .venue { margin-block: 0 .7rem; color: var(--muted); }
.metadata { color: var(--accent); letter-spacing: .03em; }
h1 { margin: 0 0 .8rem; font: clamp(2.4rem, 5.2vw, 4.85rem)/1.02 Georgia, serif; overflow-wrap: anywhere; }
h2 { font: 2rem/1.2 Georgia, serif; margin: 0 0 1.1rem; }
.art { width: 100%; height: auto; max-height: 29rem; object-fit: cover; margin-top: 1.35rem; border-radius: .65rem; }
.booking { border: 1px solid var(--rule); background: var(--surface); padding: clamp(1.2rem, 3vw, 2rem); border-radius: .85rem; }
form { display: grid; gap: .65rem; }
form > label { font-weight: 650; }
select, button { font: inherit; }
select {
  width: 100%; min-height: 44px; padding: .5rem .65rem; border-radius: .4rem; border: 1px solid var(--rule);
  background: var(--page); color: var(--text);
}
.consent { border-top: 1px solid var(--rule); margin-top: .6rem; padding-top: .6rem; }
.choice { display: flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-weight: 620; }
input[type="checkbox"] { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); margin: 0; flex: none; }
details { color: var(--muted); margin-block: .2rem .75rem; }
summary { cursor: pointer; padding: .45rem 0; }
.primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .63rem .95rem;
  border: 1px solid transparent; border-radius: .42rem; color: var(--on-accent); background: var(--accent);
  font-weight: 750; text-align: center; text-decoration: none; cursor: pointer;
}
.primary:hover { background: #ffbce1; }
.primary:disabled { cursor: wait; opacity: .7; }
.secondary { display: inline-flex; align-items: center; min-height: 44px; }
.note { color: var(--muted); margin: .25rem 0; }
.feedback { margin: 0; color: var(--text); }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.text-page { max-width: 48rem; min-height: 55vh; margin-inline: auto; padding: clamp(2rem, 7vw, 5rem) 1.3rem; }
.text-page h1 { font-size: clamp(2.35rem, 5vw, 3.8rem); }
.text-page p { margin-bottom: 1.4rem; }
.text-page .feedback { margin-top: .8rem; }
.events { padding-left: 1.15rem; }
@media (min-width: 54rem) {
  .event { grid-template-columns: minmax(0, 1fr) minmax(20rem, .63fr); }
}
