@font-face {
  font-family: Manrope;
  src: url("assets/template-preview/fonts/manrope-latin-wght-normal-73PUZEUA.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/template-preview/fonts/latin-4YEZ4JE7.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --purple: #a77bfa;
  --gold: #f8df9f;
  --ink: #f9f4ff;
  --muted: #c8b9d9;
  --line: #ba9ed044;
  --panel: #1a1128;
  --error: #ffafbd;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: #100a1b;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 103px; }
body {
  --header-height: 61px;
  --header-inset: 22px;
  display: flow-root;
  background:
    radial-gradient(ellipse at 0% 41%, #32174a87, transparent 35%),
    radial-gradient(ellipse at 98% 75%, #3018428c, transparent 34%),
    #100a1b;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 110;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: #512477;
  transition: opacity .32s ease;
}
.brand-intro::backdrop { background: transparent; }
.brand-intro[data-exiting] { opacity: 0; pointer-events: none; }
.brand-intro video { width: min(92%, 630px); max-height: 76dvh; aspect-ratio: 16 / 9; object-fit: contain; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: fit-content;
  min-height: var(--header-height);
  margin-top: var(--header-inset);
  padding: 7px 12px;
  border: 1px solid #f0dfff65;
  border-radius: 999px;
  background: linear-gradient(150deg, #ddd0ff32, #a486d018 47%, #e3ceff25), #1b112bb0;
  box-shadow: inset 0 1px 2px #ffefff72, inset 0 -1px 4px #c6a8ff34, 0 10px 32px #0c051866;
  backdrop-filter: blur(18px) saturate(155%);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.brand img { object-fit: contain; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { display: grid; align-items: center; min-height: 44px; padding-inline: 15px; border-radius: 24px; color: var(--muted); font-size: .8125rem; font-weight: 750; }
.site-header nav a:is(:hover, [aria-current]) { color: var(--ink); background: #c7a5ed20; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 51px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: var(--gold);
  color: #24162e;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: #ffedbc; box-shadow: 0 6px 24px #ead19036; transform: translateY(-2px); }
.button:active { transform: none; }
.button-compact {
  min-height: 44px;
  padding-inline: 15px;
  border-color: #bd94f16b;
  background: #8649cd3d;
  color: #f6e8ff;
  font-size: .8125rem;
}
.button-compact:hover { background: #a77bfa70; }
.button-secondary { border-color: var(--line); background: #2c1d40b5; color: var(--ink); }
.button-secondary:hover { background: #3a2854; box-shadow: none; }

.hero {
  --hero-film-speed: .42;
  --hero-copy-speed: .13;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 100svh;
  margin-top: calc(0px - var(--header-height) - var(--header-inset));
  padding: 108px clamp(22px, 4.4vw, 84px) clamp(25px, 4vw, 68px);
  background: var(--campaign-dark);
}
.hero-film, .hero-film-video, .hero-film::before, .hero-film::after { position: absolute; inset: 0; }
.hero-film { z-index: -1; pointer-events: none; }
.hero-film-video { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-film::before {
  z-index: 1;
  content: "";
  opacity: .25;
  mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
}
.hero-film::after {
  content: "";
  background: linear-gradient(0deg, #100918fa, #140d21bf 23%, #140d2100 62%, #0e0a1960);
}
h1, h2 { text-wrap: balance; font-weight: 800; }
h2 em, .hero-tagline em { color: var(--gold); font-family: "Instrument Serif", Georgia, serif; font-style: normal; font-weight: 400; letter-spacing: -.025em; }
.hero-copy { justify-self: end; width: min(100%, clamp(255px, 26vw, 440px)); padding-bottom: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-film-video { transform: translateY(calc(var(--hero-scroll, 0px) * var(--hero-film-speed))); }
  .hero-copy { transform: translateY(calc(var(--hero-scroll, 0px) * var(--hero-copy-speed))); }
}
.hero-tagline {
  font-size: clamp(1.6rem, 2.65vw, 3rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-tagline > span, .hero-tagline > em { display: block; }
.hero-tagline em { font-size: 1.14em; }
.hero-description, .signup-copy > p {
  max-width: 42ch;
  color: #eedff8;
  line-height: 1.58;
}
.hero-description { margin-block: 13px 18px; font-size: clamp(.875rem, 1.1vw, 1.05rem); }
.signup-copy > p { margin-block: 23px; font-size: clamp(1rem, 1.45vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.hero-cta.button { gap: 12px; padding: 5px 5px 5px 15px; min-height: 0; }
.hero-cta span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #22152c;
  color: #fff5c5;
  transition: transform .2s ease;
}
.hero-cta:hover span { transform: rotate(-25deg); }
.hero-discover { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #f3e7fe; font-size: .82rem; font-weight: 750; }
.hero-discover:hover { color: var(--gold); }
.launch-content {
  isolation: isolate;
  position: relative;
  overflow: clip;
  padding-block: clamp(64px, 9vw, 130px) clamp(52px, 8vw, 100px);
  background: #110b1c;
}
.launch-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 18%, #b9835e37, transparent 39%),
    radial-gradient(ellipse at 19% 31%, #6232bc64, transparent 47%),
    radial-gradient(ellipse at 76% 88%, #5b24a455, transparent 49%),
    linear-gradient(180deg, #160e24, #100918);
}
.gallery-scene { margin-bottom: clamp(60px, 9vw, 116px); }
.gallery-scene .scene-heading { margin-bottom: clamp(20px, 3vw, 38px); }
.gallery-scene .scene-heading p { margin-top: 12px; color: var(--muted); }
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
}
.template-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 7px;
  border: 1px solid #e6c6ff44;
  border-radius: 18px;
  background: linear-gradient(155deg, #362447, #1c122b 75%);
  box-shadow: 0 14px 42px #0a061357, inset 0 1px 0 #fff1;
  transition: border-color .2s ease, transform .25s ease;
}
.template-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 190px at var(--spot-x, 50%) var(--spot-y, 90%), #bf8bff65, transparent 75%);
  transition: opacity .25s ease;
}
.template-card:is(:hover, :focus-visible) { border-color: #e6c6ff91; }
.template-card:is(:hover, :focus-visible)::before { opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .template-card:hover { transform: translateY(-4px); }
}
.template-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  border-radius: 11px;
}
.template-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 44px;
  padding: 7px clamp(3px, 1vw, 9px) 3px;
  font-size: clamp(.73rem, 1.15vw, .95rem);
  line-height: 1.35;
}
.template-card-caption > span { flex: none; color: var(--gold); }
@media (max-width: 960px) {
  .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
h2 { font-size: clamp(2.55rem, 5.9vw, 5.4rem); line-height: .99; letter-spacing: -.065em; }
h2 em { display: inline-block; margin-inline-start: .055em; font-size: 1.15em; }
h3 { font-size: 1.17rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.22; }
.signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(21px, 5vw, 70px);
  padding-block: clamp(20px, 4vw, 50px) 0;
  border-top: 1px solid #d9b8ff36;
}
.signup-copy > p { margin-bottom: 13px; }
.form-card {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #e7c9ff60;
  border-radius: 23px;
  background: linear-gradient(155deg, #402b55cf, #1e132cea 63%);
  box-shadow: inset 0 1px 1px #fff2, 0 26px 70px #0905119c;
}
.form-card h3 { margin-bottom: 23px; font-size: clamp(1.52rem, 2.15vw, 1.78rem); letter-spacing: -.045em; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { margin: 0 0 17px; }
.field label { display: block; margin-bottom: 8px; padding: 0; color: var(--ink); font-size: .9375rem; font-weight: 800; line-height: 1.35; }
.field input, .field select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding-inline: 14px;
  color: var(--ink);
  background: #140d21b0;
  border: 1px solid #bb97db62;
  border-radius: 13px;
  box-shadow: inset 0 1px 2px #07040c38;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.field input::placeholder { color: #c5b1d7; font-weight: 500; opacity: 1; }
.field :is(input, select):hover { border-color: #bea0df; }
.field :is(input, select):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-color: var(--purple);
  background: #221530;
  box-shadow: 0 0 0 4px #a77bfa20;
}
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; border: solid var(--purple); border-width: 0 1.5px 1.5px 0; transform: translateY(-68%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; padding-inline-end: 38px; }
.field select:invalid { color: #c5b1d7; font-weight: 550; }
select option { color: var(--ink); background: #2a1d38; }
.consent-check { cursor: pointer; }
.consent-check input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--purple); }
.consent-check { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.consent-check input { margin-top: 1px; }
.field-error { display: block; margin-top: 4px; color: var(--error); font-size: .8125rem; }
.field-error:empty { display: none; }
.field :is(input, select)[aria-invalid="true"] { border-color: var(--error); }
.form-feedback { margin-top: 13px; padding: 9px 11px; border-radius: 9px; background: #312146; font-size: .875rem; line-height: 1.45; }
.form-feedback.error { color: var(--error); background: #4b2338; }
.form-feedback.success { color: #a8edc5; background: #1f3c35; }
.submit-button { width: 100%; margin-top: 15px; }
.submit-button:disabled { opacity: .7; }

.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 86px; color: var(--muted); }
.site-footer .brand { color: var(--ink); }
.template-dialog {
  width: min(1080px, calc(100% - 24px));
  max-height: min(800px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 20px 70px #24134155;
}
.template-dialog[open] { display: flex; flex-direction: column; }
.template-dialog::backdrop { background: #070409cf; backdrop-filter: blur(5px); }
body:has(.template-dialog[open]) { overflow: hidden; }
.dialog-header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 9px 17px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 1.3rem; letter-spacing: -.04em; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #ffffff12; color: var(--ink); font-size: 1.4rem; }
.icon-button:hover { background: #ffffff24; }
.dialog-body { overflow: auto; overscroll-behavior: contain; padding: 15px; }
.dialog-body p { margin-bottom: 11px; color: var(--muted); line-height: 1.55; }
.preview-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.preview-background {
  min-width: min(100%, 12rem);
  max-width: 100%;
}
.preview-background label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
}
.preview-background select {
  width: 100%;
  min-height: 44px;
  appearance: none;
  padding: 0 36px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff12;
  font-size: .84rem;
  font-weight: 750;
}
.preview-background select:hover:not(:disabled) { border-color: var(--purple); }
.preview-background select:disabled { opacity: .7; }
.preview-options { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 24px; background: #ffffff12; }
.preview-options button { min-height: 44px; padding-inline: 13px; border: 0; border-radius: 21px; background: transparent; color: var(--muted); font-size: .8125rem; font-weight: 800; }
.preview-options button[aria-pressed="true"] { background: var(--purple); color: #211330; }
.dialog-body iframe { display: block; width: 100%; height: min(64dvh, 660px); border: 1px solid var(--line); border-radius: 12px; background: white; margin-inline: auto; }
.dialog-body iframe[data-device="mobile"] { max-width: 390px; }

@media (max-width: 800px) {
  .container { width: min(620px, calc(100% - 32px)); }
  body { --header-height: 60px; --header-inset: 14px; }
  .site-header { width: min(24rem, calc(100% - 32px)); gap: 8px; }
  .site-header nav { display: none; }
  .site-header .button { white-space: nowrap; }
  .hero {
    --hero-film-speed: .26;
    --hero-copy-speed: .08;
    padding: clamp(94px, 17svh, 148px) clamp(16px, 5vw, 32px) max(22px, env(safe-area-inset-bottom));
    background: #100918;
  }
  .hero-copy { justify-self: center; width: min(100%, 34rem); }
  .hero-tagline { font-size: clamp(1.55rem, 6vw, 2.5rem); }
  .hero-description { margin-block: 10px 14px; font-size: .9375rem; }
  .hero-film-video { height: 78%; object-position: 87% 38%; }
  .hero-film::after {
    background: linear-gradient(180deg, #10091865, transparent 23%, #10091826 40%, #100918cf 63%, #100918 78%);
  }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .signup { gap: 22px; }
}
@media (max-width: 430px) {
  .button { gap: 8px; padding-inline: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0; }
  .hero-cta.button { justify-content: space-between; min-height: 48px; }
  .hero-discover { align-self: center; }
  .dialog-body { padding: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 800px) and (orientation: portrait) {
  .hero-film-video { height: 100%; object-position: center top; }
}
@media (min-width: 560px) and (max-width: 800px) and (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: 88px; }
  .hero-copy { justify-self: end; width: min(100%, 21rem); }
  .hero-tagline { font-size: 1.65rem; }
  .hero-film-video { height: 100%; object-position: center 44%; }
  .hero-film::after { background: linear-gradient(0deg, #100918f0, #100918aa 35%, #10091830 72%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .brand-intro { display: none; }
}
@media (forced-colors: active) {
  .preview-options button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* Embarkation campaign */
:root {
  --gold: #ffdf00;
  --campaign-dark: #21053d;
}
body {
  background: radial-gradient(ellipse at 0% 21%, #6410c936, transparent 36%),
    radial-gradient(ellipse at 100% 71%, #6410c928, transparent 39%), #13091f;
}
.button:hover { background: #fff079; }
.button-compact { border-color: #bd94f16b; background: #8649cd3d; }
.button-compact:hover { background: #a77bfa70; }
.button-secondary:hover { background: #3a2854; }
.signup:has(.boarding-confirmation:not([hidden])) { display: block; max-width: 52rem; }
.signup:has(.boarding-confirmation:not([hidden])) > .signup-copy { display: none; }
.checkin-head { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.checkin-head > span { color: var(--muted); font-size: .76rem; font-weight: 800; }
.privacy-inline { margin-top: 11px; font-size: .81rem; }
.privacy-inline a, .site-footer summary { text-decoration: underline; text-underline-offset: 3px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.preview-notice { margin: 0 0 15px; padding: 9px 10px; border-radius: 8px; background: #49315e; color: var(--ink); font-size: .8rem; }
.boarding-confirmation > p { margin: 10px 0 15px; color: var(--muted); line-height: 1.55; }
.boarding-pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(135px, .34fr);
  margin: 21px 0 15px;
  border: 1px solid #dbc0fa70;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(140deg, #621ab0, #30114e);
}
.pass-main, .pass-stub { padding: 16px; }
.pass-main header { display: flex; align-items: center; gap: 9px; color: #fff; }
.pass-main header span { margin-inline-start: auto; color: #f2e4ff; font-size: .76rem; }
.boarding-pass dl { display: grid; margin-bottom: 0; gap: 10px; }
.pass-main dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boarding-pass dt { color: #f4d6ff; font-size: .72rem; }
.boarding-pass dd { margin: 0; color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.pass-stub { border-left: 1px dashed #e1c5ff85; }
.pass-stub dl { margin-top: 0; }
.pass-barcode { display: block; height: 27px; margin-top: 9px; background: repeating-linear-gradient(90deg,#ffec86 0 2px,transparent 2px 5px,#ffec86 5px 8px,transparent 8px 10px); }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.community-note { font-size: .83rem; }
.site-footer { flex-wrap: wrap; gap: 6px 16px; padding-block: 12px; }
.site-footer details { font-size: .85rem; }
.site-footer details[open] { flex-basis: 100%; padding-bottom: 12px; }
.site-footer summary { cursor: pointer; }
.site-footer details p { max-width: 66ch; margin-top: 9px; line-height: 1.6; }

@media (max-width: 430px) {
  .boarding-pass { grid-template-columns: 1fr; }
  .pass-main, .pass-stub { padding: 12px; }
  .pass-stub { border-left: 0; border-top: 1px dashed #e1c5ff85; }
  .pass-stub dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
