:root {
  --threeg-black: #050505;
  --threeg-white: #ffffff;
  --threeg-yellow: #f6d900;
  --threeg-accent-text: #050505;
  --threeg-red: #cd040b;
  --threeg-gray: #b8b8b8;
}

.threeg-reservation,
.threeg-reservation * {
  box-sizing: border-box;
}

.threeg-reservation {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 10px solid var(--threeg-yellow);
  background: var(--threeg-black);
  color: var(--threeg-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: normal;
  container: threeg-reservation / inline-size;
}

/*
 * Some editors wrap shortcode output in a CODE element. Making that wrapper
 * layout-transparent prevents it from collapsing the complete form into one
 * narrow grid track.
 */
.threeg-reservation > code {
  display: contents;
  color: inherit;
  font: inherit;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.threeg-reservation__layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  gap: clamp(28px, 5cqw, 72px);
  width: 100%;
  padding: clamp(30px, 5vw, 62px);
  padding: clamp(30px, 5cqw, 62px);
}

.threeg-reservation__brand {
  position: absolute;
  top: 26px;
  right: 30px;
  opacity: .18;
}

.threeg-reservation__brand img {
  display: block;
  width: 72px;
  height: auto;
}

.threeg-reservation__intro,
.threeg-reservation__form {
  position: relative;
  z-index: 1;
}

.threeg-reservation__eyebrow {
  margin: 0 0 14px;
  color: var(--threeg-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.threeg-reservation h2 {
  max-width: 10ch;
  margin: 0 0 22px;
  color: var(--threeg-white);
  font-size: clamp(34px, 5vw, 64px);
  font-size: clamp(34px, 8cqw, 64px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
}

.threeg-reservation__event {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.threeg-reservation__availability {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.threeg-reservation__hint,
.threeg-reservation__microcopy {
  color: var(--threeg-gray);
  font-size: 13px;
  line-height: 1.45;
}

.threeg-reservation__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}

.threeg-reservation__field {
  min-width: 0;
}

.threeg-reservation__field--wide,
.threeg-reservation__consent,
.threeg-reservation__actions,
.threeg-reservation__message {
  grid-column: 1 / -1;
}

.threeg-reservation__field--seats {
  grid-column: 1 / 2;
}

.threeg-reservation__field label {
  display: block;
  margin: 0 0 8px;
  color: var(--threeg-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.threeg-reservation input[type="text"],
.threeg-reservation input[type="email"],
.threeg-reservation input[type="tel"],
.threeg-reservation select {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 2px solid #666;
  border-radius: 0;
  outline: 0;
  background: #151515;
  color: var(--threeg-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: none;
}

.threeg-reservation input:focus,
.threeg-reservation select:focus {
  border-color: var(--threeg-yellow);
  box-shadow: 0 0 0 2px var(--threeg-yellow);
}

.threeg-reservation__consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #d6d6d6;
  font-size: 12px;
  line-height: 1.45;
}

.threeg-reservation__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--threeg-yellow);
}

.threeg-reservation__consent a {
  color: var(--threeg-white);
  text-decoration: underline;
}

.threeg-reservation__actions {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 4px;
}

.threeg-reservation__submit,
.threeg-reservation-link {
  appearance: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 23px;
  border: 0;
  border-radius: 0;
  background: var(--threeg-yellow);
  color: var(--threeg-accent-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.threeg-reservation__submit:hover,
.threeg-reservation__submit:focus,
.threeg-reservation-link:hover,
.threeg-reservation-link:focus {
  background: var(--threeg-white);
  color: var(--threeg-black);
  transform: translateY(-1px);
}

.threeg-reservation__submit:disabled {
  cursor: wait;
  opacity: .72;
}

.threeg-reservation__submit {
  flex: 0 0 auto;
}

.threeg-reservation__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: threeg-spin .7s linear infinite;
}

.threeg-reservation__form.is-loading .threeg-reservation__spinner {
  display: inline-block;
}

.threeg-reservation__message {
  display: none;
  padding: 15px 17px;
  border-left: 6px solid var(--threeg-yellow);
  background: #202020;
  color: var(--threeg-white);
  font-size: 14px;
  line-height: 1.45;
  outline: 0;
}

.threeg-reservation__message:not(:empty) {
  display: block;
}

.threeg-reservation__message--error {
  border-color: var(--threeg-red);
  background: #2a0709;
}

.threeg-reservation__message--success {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 0;
  background: var(--threeg-yellow);
  color: var(--threeg-accent-text);
  font-size: 16px;
}

.threeg-reservation__success-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.threeg-reservation__code {
  font-size: clamp(25px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: .06em;
}

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

.threeg-reservation__noscript {
  grid-column: 1 / -1;
  color: #fff;
}

.threeg-reservation--closed {
  display: block;
}

.threeg-reservation__layout--closed {
  display: block;
}

.threeg-reservation--closed h2 {
  max-width: none;
}

.threeg-reservation-link--disabled {
  background: #d0d0d0;
  color: #555;
  cursor: default;
}

.threeg-editor-note {
  padding: 12px;
  border-left: 4px solid #dba617;
  background: #fff8e5;
  color: #1d2327;
}

@keyframes threeg-spin {
  to { transform: rotate(360deg); }
}

@container threeg-reservation (max-width: 759px) {
  .threeg-reservation__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .threeg-reservation__intro {
    padding-right: 50px;
  }
}

@media (max-width: 760px) {
  .threeg-reservation__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .threeg-reservation__intro {
    padding-right: 50px;
  }
}

@media (max-width: 520px) {
  .threeg-reservation__layout {
    padding: 28px 21px 32px;
  }

  .threeg-reservation__form {
    grid-template-columns: 1fr;
  }

  .threeg-reservation__field,
  .threeg-reservation__field--seats {
    grid-column: 1 / -1;
  }

  .threeg-reservation__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .threeg-reservation__submit {
    width: 100%;
  }

  .threeg-reservation__microcopy {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .threeg-reservation__submit,
  .threeg-reservation-link {
    transition: none;
  }
}
