/* FI50 guest information page. Scoped so other internals are unchanged. */

html:has(.guest-page),
body:has(.guest-page) {
  overflow-x: hidden;
}

body:has(.guest-page) {
  position: relative;
}

body:has(.guest-page) .internal-header {
  position: relative;
  z-index: 3;
}

body:has(.guest-page) .site-menu {
  z-index: 2;
}

body:has(.guest-page) .site-footer {
  position: relative;
  z-index: 1;
}

.guest-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 82% 12%, rgba(254, 246, 3, 0.16), transparent 58%),
    radial-gradient(ellipse 70% 60% at 8% 78%, rgba(0, 24, 72, 0.38), transparent 62%),
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(1, 126, 254, 0.2), transparent 70%);
}

.guest-backdrop-asterisk {
  position: absolute;
  top: 28%;
  left: -32%;
  width: min(88vw, 380px);
  height: auto;
  opacity: 0.2;
  transform: rotate(-18deg);
}

.guest-backdrop-paul {
  position: absolute;
  right: -36%;
  top: 18%;
  width: auto;
  height: min(72vh, 560px);
  opacity: 0.38;
  -webkit-mask-image:
    linear-gradient(to left, #000 42%, transparent 96%),
    linear-gradient(to top, transparent 0%, #000 12%, #000 72%, transparent 100%);
  mask-image:
    linear-gradient(to left, #000 42%, transparent 96%),
    linear-gradient(to top, transparent 0%, #000 12%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.guest-page {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(52rem, 100%);
  margin: 0 auto;
  padding:
    4px
    max(18px, env(safe-area-inset-right, 0px))
    36px
    max(18px, env(safe-area-inset-left, 0px));
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
}

.guest-page img {
  max-width: 100%;
  height: auto;
}

.guest-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 10px;
  text-align: center;
}

.guest-hero-logo {
  display: block;
  width: min(78vw, 286px);
  height: auto;
}

.guest-hero-statement {
  max-width: 16.5em;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.28rem, 5.2vw, 1.62rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 24, 72, 0.35);
}

.guest-panel {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 22px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.3),
      rgba(1, 126, 254, 0.16) 20%,
      rgba(0, 24, 72, 0.3) 100%
    ),
    rgba(0, 36, 104, 0.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 14px 32px rgba(0, 24, 72, 0.16);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .guest-panel {
    background: rgba(0, 40, 110, 0.9);
  }
}

.guest-page .guest-kicker {
  margin: 0;
  color: #fef603;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.guest-title {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.guest-copy {
  margin-top: 14px;
}

.guest-copy p,
.guest-signoff p {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.guest-copy p:last-child {
  margin-bottom: 0;
}

.guest-subhead {
  margin: 20px 0 12px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.guest-facts {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}

.guest-fact {
  margin: 0;
}

.guest-fact dt {
  margin: 0 0 3px;
  color: #fef603;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.guest-fact dd {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.guest-signoff {
  margin: 26px 0 0;
}

.guest-signoff p {
  margin: 0;
  line-height: 1.4;
}

.guest-signoff-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.guest-signoff-role,
.guest-signoff-show {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 400;
}

.guest-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 20px 0 0;
}

.guest-form[hidden] {
  display: none;
}

.guest-success {
  display: none;
  margin: 20px 0 0;
  color: #ffffff;
}

.guest-success:not([hidden]) {
  display: block;
}

.guest-success .contact-success-kicker,
.guest-success .contact-success-thanks {
  margin: 0;
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
}

.guest-success .contact-success-kicker {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.guest-success .contact-success-thanks {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.guest-desktop-label {
  display: none;
}

.guest-form input,
.guest-form textarea {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: rgba(0, 24, 72, 0.32);
  color: #ffffff;
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.guest-form textarea {
  height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.guest-form input::placeholder,
.guest-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.guest-form input:-webkit-autofill,
.guest-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  box-shadow: 0 0 0 1000px rgba(0, 40, 110, 0.88) inset;
}

.guest-form input:focus-visible,
.guest-form textarea:focus-visible,
.guest-send:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.guest-word-count {
  margin: -4px 2px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.guest-word-count.is-over {
  color: #ffffff;
  font-weight: 700;
}

.guest-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.guest-send {
  height: 48px;
  margin: 4px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.guest-send:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.guest-send:disabled {
  opacity: 0.65;
  cursor: default;
}

.guest-status {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

.guest-status.is-error {
  font-weight: 600;
}

@media (min-width: 700px) {
  .guest-page {
    gap: 22px;
    padding-bottom: 48px;
  }

  .guest-panel {
    border-radius: 28px;
    padding: 32px 34px 34px;
  }

  .guest-facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 16px;
  }

  .guest-fact:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .guest-backdrop-asterisk {
    top: 18%;
    left: -12%;
    width: min(40vw, 560px);
    opacity: 0.22;
  }

  .guest-backdrop-paul {
    right: -8%;
    top: 0;
    height: min(100vh, 920px);
    opacity: 0.52;
  }

  .guest-page {
    gap: 26px;
    margin-top: 4px;
    padding: 0 0 64px;
  }

  .guest-hero {
    gap: 16px;
    padding: 8px 0 18px;
  }

  .guest-hero-logo {
    width: min(46vw, 460px);
  }

  .guest-hero-statement {
    max-width: 16em;
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  }

  .guest-page .guest-kicker {
    font-size: 13px;
  }

  .guest-title {
    margin-top: 10px;
    font-size: clamp(1.85rem, 2.6vw, 2.35rem);
    line-height: 1.14;
  }

  .guest-copy {
    margin-top: 16px;
  }

  .guest-copy p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.62;
  }

  .guest-subhead {
    margin-top: 24px;
    font-size: 19px;
  }

  .guest-fact dt {
    font-size: 13px;
  }

  .guest-fact dd {
    font-size: 17px;
    line-height: 1.55;
  }

  .guest-signoff {
    margin-top: 32px;
  }

  .guest-signoff-name {
    font-size: 20px;
  }

  .guest-signoff-role,
  .guest-signoff-show {
    font-size: 16px;
  }

  .guest-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 16px;
    margin-top: 24px;
  }

  .guest-desktop-label {
    display: block;
    margin: 0 0 6px 2px;
    color: #fef603;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .guest-field--name {
    grid-column: 1;
  }

  .guest-field--email {
    grid-column: 2;
  }

  .guest-field--phone,
  .guest-field--message,
  .guest-word-count,
  .guest-send {
    grid-column: 1 / -1;
  }
}
