:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #edf1f4;
  background: #091c32;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: #091c32; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { outline-offset: 3px; }
:focus-visible { outline: 3px solid #e4c57e; }
[hidden] { display: none !important; }
.header {
  max-width: 1440px; height: 72px; margin: auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #34475a;
}
.brand { display: block; width: 155px; }
.brand img { display: block; width: 100%; max-height: 55px; object-fit: contain; }
.header-link { color: #d3dce3; font-size: 14px; text-decoration: none; }
.header-link:hover, footer a:hover { color: #e4c57e; }
.header-link span, footer a span { color: #c9a75e; margin-left: 7px; }
.event {
  max-width: 1440px; margin: auto; padding: 44px 5% 48px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(490px, 1.1fr);
  gap: 7%; align-items: center;
}
.intro { max-width: 480px; }
.invitation { margin: 0 0 20px; color: #d2b675; font-size: 14px; font-weight: 600; }
.intro h1 { margin: 0; font-size: clamp(42px, 4.2vw, 62px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; }
.intro-text { max-width: 400px; margin: 22px 0 30px; color: #c3ced8; font-size: 16px; line-height: 1.6; }
.event-details { display: flex; flex-wrap: wrap; gap: 20px 50px; border-top: 1px solid #425268; padding-top: 20px; }
.event-details p { display: grid; gap: 6px; margin: 0; font-size: 14px; }
.event-details span { color: #aebdc9; }
.event-details strong { color: #edf1f4; font-weight: 600; }
.form-wrap { padding: 27px 30px 30px; background: #102b45; border: 1px solid #42566b; }
.form-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
.form-heading h2, .success h3 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 600; }
.form-heading p { margin: 0; color: #c1ccd6; font-size: 12px; line-height: 1.4; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 7px; color: #edf1f4; font-size: 13px; font-weight: 600; line-height: 1.3; }
.field input, .field select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #6b7d8e; border-radius: 2px; background: #0b223a; color: #f1f4f6; }
.field input::placeholder, .field select:invalid { color: #b2c0ca; opacity: 1; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus { border-color: #e4c57e; }
.checks { display: grid; gap: 12px; margin: 20px 0; }
.check { display: flex; align-items: flex-start; gap: 10px; color: #e1e8ed; font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: #d3b26c; }
.check-note { margin: 5px 0 0 27px; color: #c0cdd6; font-size: 12px; line-height: 1.45; }
.submit { display: flex; justify-content: space-between; width: 100%; padding: 15px 18px; border: 0; background: #d3b26c; color: #10253a; font-weight: 700; cursor: pointer; }
.submit:hover { background: #e5c784; }
.submit:disabled { opacity: .65; cursor: wait; }
.error { color: #ffb9a8; font-size: 14px; line-height: 1.4; }
.success { padding: 28px 0; }
.success-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid #d3b26c; color: #d3b26c; font-size: 22px; }
.success p { color: #c3ced8; line-height: 1.5; }
.again { margin-top: 15px; padding: 0 0 5px; border: 0; border-bottom: 1px solid #d3b26c; background: none; color: #edf1f4; font-weight: 600; cursor: pointer; }
.ticker { overflow: hidden; border-top: 1px solid #34475a; border-bottom: 1px solid #34475a; color: #c7b17e; font-size: 12px; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; min-width: 200%; animation: festival-ticker 36s linear infinite; }
.ticker-group { display: flex; flex: 0 0 50%; min-width: 50%; justify-content: space-around; align-items: center; gap: 48px; padding: 12px 24px; }
.ticker-group span { white-space: nowrap; }
@keyframes festival-ticker { to { transform: translateX(-50%); } }
footer { max-width: 1440px; margin: auto; padding: 20px 5%; display: flex; justify-content: space-between; gap: 20px; color: #b9c6cf; font-size: 13px; }
footer a { text-decoration: none; }
@media (max-width: 900px) {
  .event { grid-template-columns: minmax(0, 1fr) minmax(400px, 1.2fr); gap: 4%; }
  .intro h1 { font-size: clamp(38px, 5vw, 50px); }
}
@media (max-width: 700px) {
  .header { height: 64px; }
  .brand { width: 135px; }
  .event { display: block; padding: 28px 5% 34px; }
  .invitation { margin-bottom: 12px; font-size: 13px; }
  .intro h1 { font-size: clamp(36px, 9vw, 48px); }
  .intro-text { margin: 14px 0 18px; font-size: 15px; }
  .event-details { gap: 15px 28px; padding-top: 15px; margin-bottom: 24px; }
  .event-details p { font-size: 13px; }
  .form-wrap { padding: 22px 18px; }
  .form-heading h2 { font-size: 21px; }
}
@media (max-width: 480px) {
  .fields { grid-template-columns: 1fr; gap: 14px; }
  .form-heading { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-group:nth-child(2) { display: none; }
}
