:root { font-family: Arial, Helvetica, sans-serif; color: #fff; background: #000; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #000; }
button, input, textarea { font: inherit; }
.page { width: 100%; min-height: 100vh; overflow: hidden; background: #000; }
.page,
.page h1,
.page h2,
.page p,
.page label,
.page legend,
.page span,
.page .question,
.page .helper,
.page .form-status {
  color: #fff;
}
.hero { display: block; width: 100%; }
.hero img { display: block; width: 100%; height: auto; }
.gold-rule { width: 100%; height: 12px; background: linear-gradient(90deg,#af6a02 0%,#f1c87f 25%,#b57110 51%,#ac6602 75%,#efc77e 100%); }
.content {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 6100px;
  aspect-ratio: auto;
  margin: 0;
  padding-top: 103px;
  padding-bottom: 62px;
  background: url('../img/hell-gala-form/page-bg-desktop.jpg') lightgray center top / cover no-repeat;
}
.welcome, form, .footer-logo { width: min(1000px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, .question, legend { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-weight: 400; }
h1 { margin: 0; text-align: center; font-size: 48px; line-height: 1; }
.welcome-copy { margin-top: 89px; font-size: 28px; line-height: 1.15; }
.welcome-copy p { margin: 0 0 32px; }
form { margin-top: 91px; }
.form-card {
  position: relative;
  isolation: isolate;
  margin-bottom: 25px;
  padding: 18px 25px 32px;
  background: transparent;
}
.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  opacity: 0.4;
  background: #000;
}
.form-card h2 { margin: 0 0 80px; text-align: center; font-size: 48px; line-height: 1; }
.question, legend { display: block; margin: 0 0 27px; font-size: 36px; line-height: 1.2; }
input:not([type='radio']):not([type='checkbox']), textarea { display: block; width: 100%; height: 70px; margin: 0; border: 0; border-radius: 10px; outline: none; padding: 13px 40px; background: #fff; color: #111; font-size: 24px; }
input[type='date'], input[type='time'] { color-scheme: light; cursor: pointer; }
input::placeholder, textarea::placeholder { color: #bebebe; opacity: 1; }
input:focus, textarea:focus { box-shadow: 0 0 0 4px #e1b769; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.option { display: flex; align-items: center; gap: 45px; min-height: 75px; margin-left: 57px; cursor: pointer; font-size: 24px; }
.option input { appearance: none; flex: 0 0 auto; width: 59px; height: 59px; margin: 0; border: 0; border-radius: 10px; background: #fff; }
.option input:checked::after { content: ''; display: block; width: 31px; height: 31px; margin: 14px; border-radius: 6px; background: #7a010d; }
.personal { height: 485px; }
.personal h2 { margin-bottom: 80px; }
.personal .question { margin-bottom: 20px; }
.personal-input-wrap {
  display: block;
  position: relative;
}
.faux-placeholder {
  color: #bebebe !important;
  font-family: Arial, Helvetica, sans-serif;
  left: 40px;
  line-height: 1.18;
  pointer-events: none;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.personal-input-wrap input:not(:placeholder-shown) + .faux-placeholder,
.personal-input-wrap input:focus + .faux-placeholder {
  display: none;
}
.email-question { margin-top: 27px !important; }
.attendance { height: 395px; padding-top: 15px; }
.attendance h2 { margin-bottom: 88px; }
.attendance legend { margin-bottom: 21px; }
.attendance .option { min-height: 75px; }
.dietary { height: 2055px; padding-top: 23px; }
.dietary h2 { margin-bottom: 87px; }
.dietary legend { margin-bottom: 0; }
.helper { clear: both; margin: 18px 0 21px; font-size: 24px; line-height: 1.2; }
.diet-list { margin-bottom: 83px; }
.diet-list .option { min-height: 75px; }
.dietary > .question { margin-bottom: 75px; }
.dietary textarea { height: 86px; resize: none; overflow: hidden; line-height: 1.2; }
.travel { height: 1205px; padding-top: 18px; }
.travel h2 { margin-bottom: 88px; }
.travel > .question { margin-bottom: 25px; }
.travel > input { margin-bottom: 26px !important; }
.travel fieldset { margin-top: 45px; }
.travel fieldset legend { margin-bottom: 16px; }
.flight-fields { margin-top: 47px; }
.flight-fields .question { margin-bottom: 31px; }
.flight-fields input { margin-bottom: 26px !important; }
.transfer { height: 755px; padding-top: 19px; }
.transfer h2 { margin-bottom: 88px; }
.transfer fieldset:first-of-type { margin-bottom: 76px; }
.transfer legend { margin-bottom: 14px; }
.consent { min-height: 150px; padding-top: 36px; }
button { display: block; width: 100%; height: 70px; margin: 38px 0 0; border: 0; border-radius: 10px; background: #7a010d; color: #fff; font-size: 24px; font-weight: 700; cursor: pointer; }
button:hover { background: #920214; }
.form-status { min-height: 22px; margin: 12px 0 0; text-align: center; }
.field-error {
  color: #ff5a5f !important;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 20px;
  margin: 8px 0 0;
}

.field-error:empty {
  display: none;
}

.field-invalid {
  box-shadow: 0 0 0 4px rgba(255, 90, 95, .35) !important;
}
.footer-logo { display: block; width: 212px; height: auto; margin-top: 38px; margin-bottom: 74px; }
.mobile-break { display: inline; }

@media (max-width: 600px) {
  .hero img { width: 100%; height: auto; }
  .gold-rule { height: 7px; }
  .content { width: 100%; height: auto; min-height: 3120px; aspect-ratio: auto; padding-top: 49px; padding-bottom: 25px; background: url('../img/hell-gala-form/page-bg-mobile.jpg') lightgray 50% / cover no-repeat; }
  .welcome, form { width: 267px; }
  .welcome { width: 100%; }
  h1 { width: 100%; font-size: 32px; line-height: 1.22; white-space: pre-line; }
  .mobile-break { display: block; width: 170px; margin: 0 auto; }
  .welcome-copy { width: 267px; margin: 36px auto 0; font-size: 14px; line-height: 1; }
  .welcome-copy p { margin-bottom: 14px; }
  form { margin-top: 42px; }
  .form-card { width: 267px; margin-bottom: 12px; padding: 16px 24px 20px; border-radius: 10px; }
  .form-card::before { border-radius: 10px; }
  .form-card h2 {
    margin: 0 auto 22px;
    max-width: 210px;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 20px;
    line-height: 1.08;
  }
  .question, legend {
    margin-bottom: 10px;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 14px;
    line-height: 1.18;
  }
  input:not([type='radio']):not([type='checkbox']), textarea {
    height: auto;
    min-height: 42px;
    border-radius: 8px;
    padding: 6px 10px 8px;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }
  input::placeholder,
  textarea::placeholder {
    white-space: normal;
    text-overflow: clip;
  }
  .option { gap: 15px; min-height: 25px; margin-left: 0; font-size: 12px; line-height: 1.05; }
  .option input { width: 20px; height: 20px; border-radius: 3.3px; }
  .option input:checked::after { width: 12px; height: 12px; margin: 4px; border-radius: 2px; }
  .personal { height: auto; min-height: 318px; padding-bottom: 32px; }
  .personal h2 { margin-bottom: 22px; }
  .personal .question { margin-bottom: 10px; font-size: 16px; }
  .personal input {
    min-height: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    padding: 0 11px !important;
    line-height: 56px;
    white-space: normal;
  }
  .personal .faux-placeholder {
    left: 11px;
    right: 11px;
    font-size: 10px;
    line-height: 1.18;
    text-align: left;
  }
  .email-question { margin-top: 12px !important; }
  .attendance {
    height: auto;
    min-height: 232px;
    padding-top: 22px;
    padding-bottom: 28px;
  }
  .attendance h2 { margin-bottom: 38px; }
  .attendance legend { margin-bottom: 18px; font-size: 16px; line-height: 1.18; }
  .attendance .option { min-height: 42px; }
  .dietary { height: auto; min-height: 1035px; padding-top: 16px; padding-bottom: 28px; }
  .dietary h2 { margin-bottom: 18px; }
  .dietary legend { margin-bottom: 8px; }
  .desktop-only { display: none; }
  .helper { margin: 0 0 18px; font-size: 10px; }
  .diet-list { margin-bottom: 35px; }
  .diet-list .option { min-height: 40.22px; gap: 24px; }
  .diet-list .option input { width: 31.64px; height: 31.64px; border-radius: 5.36px; }
  .diet-list .option input:checked::after { width: 19px; height: 19px; margin: 6.3px; }
  .dietary > .question { width: 224px; margin-bottom: 8px; line-height: 1.35; }
  .dietary textarea { height: 58px; border-radius: 10px; padding: 6px 9px; }
  .travel { height: auto; min-height: 560px; padding-top: 14px; padding-bottom: 30px; }
  .travel h2 { margin-bottom: 26px; }
  .travel > .question { margin-bottom: 9px; }
  .travel > input { width: 213px; margin-bottom: 5px !important; }
  .travel fieldset { margin-top: 24px; }
  .travel fieldset legend { margin-bottom: 8px; }
  .flight-fields { margin-top: 10px; }
  .flight-fields .question { margin-bottom: 8px; }
  .flight-fields input { width: 214px; margin-bottom: 8px !important; }
  .transfer {
    height: auto;
    min-height: 430px;
    padding-top: 18px;
    padding-bottom: 34px;
  }
  .transfer h2 { margin-bottom: 24px; }
  .transfer fieldset:first-of-type { margin-bottom: 30px; }
  .transfer legend { margin-bottom: 12px; line-height: 1.18; }
  .transfer .option { align-items: center; min-height: 42px; }
  .consent {
    height: auto;
    min-height: 148px;
    margin-top: 14px;
    padding-top: 24px;
    padding-bottom: 26px;
  }
  .consent .option {
    align-items: center;
    gap: 24px;
    min-height: 54px;
  }
  .consent .option span {
    font-size: 14px;
    line-height: 1.28;
  }
  button { width: 266px; height: 51px; margin-top: 24px; border-radius: 7.25px; font-size: 17.4px; }
  .form-status { min-height: 10px; margin-top: 4px; font-size: 10px; }
  .field-error {
    font-size: 10px;
    line-height: 1.2;
    min-height: 12px;
    margin-top: 5px;
  }
  .footer-logo { width: 140px; margin: 12px auto 0; }
}
