@charset "UTF-8";

:root {
  color-scheme: dark;
  --deep: #162d39;
  --deepest: #10242e;
  --teal: #284751;
  --teal-light: #375a60;
  --ink: #fff1d2;
  --muted: #cbd6d0;
  --gold: #f0c575;
  --gold-pale: #ffdda0;
  --coral: #e99c78;
  --line: rgb(228 211 173 / 26%);
  --panel: rgb(17 41 50 / 94%);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--deep); }
body {
  position: relative;
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: var(--body);
  isolation: isolate;
}
body::before, body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}
body::before {
  background: linear-gradient(90deg, rgb(11 31 40 / 82%) 0%, rgb(14 36 44 / 67%) 44%, rgb(13 35 43 / 74%) 100%),
    url("/static/images/backgrounds/professions-world.webp") center 49% / cover no-repeat;
}
body::after {
  opacity: .34;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgb(238 213 167 / 2%) 6px);
}
a { color: var(--gold-pale); text-underline-offset: 3px; }
a:hover { color: #fff0cb; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.entry-shell, .legal-shell { width: min(1190px, 100% - 64px); margin-inline: auto; }
.entry-shell { min-height: 100dvh; display: flex; flex-direction: column; padding: 26px 0 17px; }
.entry-topline, .legal-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.entry-brand {
  color: var(--ink);
  font: 700 19px/1 var(--display);
  letter-spacing: .13em;
  text-decoration: none;
}
.entry-brand span { color: var(--gold); }
.entry-world-label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 420px);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  flex: 1;
  padding: 45px 0 34px;
}
.entry-copy { min-width: 0; }
.eyebrow, .panel-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow-mark { width: 8px; height: 8px; border-radius: 2px; background: var(--coral); transform: rotate(45deg); }
.entry-copy h1 {
  margin: 19px 0 14px;
  color: var(--ink);
  font: 700 clamp(48px, 6.2vw, 79px)/.91 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.entry-copy h1 em { color: var(--gold); font-weight: 600; }
.entry-intro { max-width: 430px; margin: 0; color: #e0e7df; font-size: 15px; line-height: 1.65; }
.crew { position: relative; display: flex; align-items: flex-end; height: clamp(195px, 25vw, 285px); margin: 22px -5px 0; }
.crew::before {
  position: absolute;
  right: 2%;
  bottom: 7px;
  left: 0;
  height: 44%;
  border-top: 1px solid rgb(240 197 117 / 43%);
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  background: linear-gradient(0deg, rgb(16 38 45 / 58%), transparent);
  content: "";
}
.crew-member { position: relative; z-index: 1; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; min-width: 0; margin: 0; }
.crew-member img {
  display: block;
  width: min(100%, 205px);
  height: clamp(144px, 20vw, 228px);
  object-fit: cover;
  object-position: center 35%;
  filter: drop-shadow(0 13px 11px rgb(3 16 22 / 43%));
  mask-image: linear-gradient(#000 80%, transparent 100%);
  animation: crew-float 4.2s ease-in-out infinite;
}
.crew-member--supervisor img { animation-delay: -1.4s; }
.crew-member--logistics img { animation-delay: -2.8s; }
.crew-member--lead { transform: rotate(-4deg) translateY(5px); }
.crew-member--lead img { object-position: center 27%; }
.crew-member--supervisor { z-index: 2; transform: translateY(-12px); }
.crew-member--supervisor img { height: clamp(164px, 22vw, 248px); object-position: center 30%; }
.crew-member--logistics { transform: rotate(4deg) translateY(2px); }
.crew-member--logistics img { object-position: center 37%; }
.crew-member figcaption { display: grid; gap: 3px; margin-top: -7px; text-align: center; }
.crew-member figcaption span { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.crew-member figcaption strong { color: var(--ink); font: 600 clamp(11px, 1.2vw, 14px)/1.1 var(--display); }
.scene-caption { display: flex; align-items: center; gap: 10px; margin: 13px 0 0; color: var(--muted); font-size: 11px; }
.crew-dialogue { display: flex; align-items: center; gap: 9px; margin: 4px 0 0; color: #e4e9df; font-size: 10px; font-weight: 600; }
.dialogue-route { position: relative; flex: 1 1 24px; min-width: 18px; height: 1px; background: rgb(240 197 117 / 68%); }
.dialogue-route::after { position: absolute; top: -3px; right: 0; width: 6px; height: 6px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); content: ""; transform: rotate(45deg); }
.entry-legal-links { margin: 3px 0 0; color: #bfcfc7; font-size: 10px; line-height: 1.5; }
.entry-legal-links a { font-weight: 700; }
.entry-panel {
  position: relative;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid rgb(228 211 173 / 32%);
  border-radius: 18px 18px 18px 4px;
  background: linear-gradient(145deg, rgb(30 58 66 / 96%), var(--panel) 72%);
  box-shadow: 0 24px 64px rgb(5 21 28 / 37%), inset 0 1px rgb(255 246 223 / 8%);
  backdrop-filter: blur(12px);
}
.entry-panel::before { position: absolute; top: -1px; left: 27px; width: 48px; height: 3px; background: var(--coral); content: ""; }
.panel-kicker { color: var(--coral); font-size: 9px; }
.panel-heading h2 { margin: 10px 0 6px; color: var(--ink); font: 600 35px/1 var(--display); letter-spacing: -.03em; }
.panel-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.entry-error { margin-top: 19px; padding: 11px 13px; border: 1px solid rgb(233 156 120 / 67%); border-radius: 8px; color: #ffe2d4; background: rgb(92 44 39 / 58%); font-size: 12px; line-height: 1.45; }
.entry-form { margin-top: 25px; }
.consent-list { min-width: 0; margin: 0; padding: 0; border: 0; }
.consent-hint { margin: 0 0 13px; color: #bfcfc7; font-size: 11px; }
.consent-row { position: relative; display: grid; grid-template-columns: 19px 1fr; align-items: start; gap: 11px; margin: 0; padding: 14px 0; border-top: 1px solid rgb(228 211 173 / 16%); cursor: pointer; }
.consent-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgb(228 211 173 / 70%); border-radius: 5px; background: rgb(12 32 39 / 55%); transition: background-color 150ms ease, border-color 150ms ease; }
.custom-check::after { width: 9px; height: 5px; border-bottom: 2px solid var(--deepest); border-left: 2px solid var(--deepest); content: ""; opacity: 0; transform: translateY(-1px) rotate(-45deg); }
.consent-row input:checked + .custom-check { border-color: var(--gold); background: var(--gold); }
.consent-row input:checked + .custom-check::after { opacity: 1; }
.consent-row input:focus-visible + .custom-check { outline: 3px solid var(--gold); outline-offset: 3px; }
.consent-copy { color: #e4e9df; font-size: 12px; line-height: 1.55; }
.consent-copy strong { color: var(--ink); }
.consent-copy a { font-weight: 700; }
.form-feedback { min-height: 17px; margin: 3px 0 7px; color: var(--gold-pale); font-size: 11px; line-height: 1.4; }
.form-feedback:empty { min-height: 6px; }
.entry-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 53px;
  padding: 0 18px;
  border: 1px solid #f5d797;
  border-radius: 8px;
  color: #223a40;
  background: var(--gold);
  font: 700 14px var(--body);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}
.entry-submit:not(:disabled):hover { background: #ffdb91; transform: translateY(-2px); }
.entry-submit:disabled { opacity: .48; cursor: not-allowed; }
.submit-arrow { font-size: 20px; font-weight: 500; }
.form-note { margin: 9px 0 0; color: #aebdb6; font-size: 10px; text-align: center; }
.legal-review, .legal-disclaimer { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 10px; border: 1px solid rgb(233 156 120 / 41%); border-radius: 9px; color: #ead9ce; background: rgb(91 53 45 / 26%); }
.legal-review { margin-top: 21px; padding: 12px; }
.review-symbol { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral); font: 700 12px/1 var(--body); }
.legal-review p, .legal-disclaimer p { margin: 0; font-size: 10px; line-height: 1.5; }
.legal-review strong, .legal-disclaimer strong { color: #ffd0b6; }
.entry-links { display: flex; justify-content: center; gap: 10px; margin-top: 16px; color: #9eaea7; font-size: 10px; }
.entry-links a { color: #d6dfd6; }
.entry-footer { display: flex; justify-content: space-between; gap: 14px; padding-top: 13px; border-top: 1px solid rgb(228 211 173 / 18%); color: #aebdb6; font-size: 10px; }
.entry-footer span:first-child { color: var(--gold); font: 600 12px var(--display); letter-spacing: .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Legal reading view */
.legal-shell { min-height: 100dvh; display: flex; flex-direction: column; padding: 26px 0 17px; }
.legal-back { color: #d8e2d9; font-size: 12px; text-decoration: none; }
.legal-document { width: min(780px, 100%); align-self: center; flex: 1; padding: clamp(36px, 7vh, 72px) clamp(0px, 2vw, 18px) 50px; }
.legal-heading h1 { margin: 17px 0 9px; color: var(--ink); font: 700 clamp(38px, 6vw, 61px)/1 var(--display); letter-spacing: -.045em; }
.legal-notice { display: inline-flex; margin: 0; padding: 7px 10px; border: 1px solid rgb(240 197 117 / 43%); border-radius: 5px; color: var(--gold-pale); background: rgb(240 197 117 / 8%); font-size: 11px; font-weight: 600; }
.legal-disclaimer { margin: 27px 0 32px; padding: 15px; }
.legal-disclaimer p { font-size: 12px; }
.legal-sections { display: grid; gap: 0; }
.legal-section { padding: 21px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 9px; color: var(--gold); font: 600 22px/1.2 var(--display); }
.legal-section p { max-width: 68ch; margin: 9px 0 0; color: #d7e0d8; font-size: 14px; line-height: 1.75; }
.legal-related { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; }
.legal-return { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 46px; margin-top: 26px; padding: 0 15px; border: 1px solid rgb(240 197 117 / 57%); border-radius: 7px; color: var(--gold-pale); background: rgb(240 197 117 / 8%); font-size: 12px; font-weight: 700; text-decoration: none; }
.legal-return:hover { background: rgb(240 197 117 / 15%); }

@keyframes crew-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@media (min-width: 1450px) {
  .entry-shell, .legal-shell { width: min(1280px, 100% - 80px); }
  .entry-layout { grid-template-columns: minmax(0, 1fr) 445px; }
}
@media (max-width: 850px) {
  .entry-shell, .legal-shell { width: min(680px, 100% - 44px); }
  .entry-layout { grid-template-columns: 1fr; gap: 23px; padding: 38px 0 28px; }
  .entry-copy h1 { font-size: clamp(48px, 10vw, 72px); }
  .entry-intro { max-width: 550px; }
  .crew { height: clamp(205px, 38vw, 285px); max-width: 570px; margin-inline: auto; }
  .crew-member img { height: clamp(158px, 30vw, 228px); }
  .crew-member--supervisor img { height: clamp(180px, 33vw, 248px); }
  .entry-panel { width: min(540px, 100%); justify-self: center; }
}
@media (max-width: 520px) {
  .entry-shell, .legal-shell { width: calc(100% - 32px); }
  .entry-shell, .legal-shell { padding-top: 18px; }
  .entry-world-label { max-width: 145px; font-size: 8px; text-align: right; }
  .entry-layout { gap: 15px; padding: 25px 0 20px; }
  .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .entry-copy h1 { margin: 14px 0 10px; font-size: clamp(44px, 13vw, 61px); }
  .entry-intro { max-width: 390px; font-size: 13px; line-height: 1.55; }
  .crew { height: 158px; margin: 12px -9px 0; }
  .crew-member img { height: 118px; }
  .crew-member--supervisor img { height: 136px; }
  .crew-member figcaption { margin-top: -4px; }
  .crew-member figcaption span { font-size: 7px; }
  .crew-member figcaption strong { font-size: 10px; }
  .crew-dialogue { gap: 6px; margin-top: 8px; font-size: 8px; }
  .scene-caption { margin-top: 6px; font-size: 10px; }
  .entry-legal-links { font-size: 9px; }
  .entry-panel { padding: 23px 19px 20px; border-radius: 13px 13px 13px 3px; }
  .panel-heading h2 { font-size: 30px; }
  .entry-form { margin-top: 20px; }
  .consent-row { padding: 12px 0; }
  .consent-copy { font-size: 11px; }
  .legal-review { margin-top: 15px; }
  .entry-footer { font-size: 9px; }
  .legal-document { padding-top: 48px; }
  .legal-heading h1 { font-size: 42px; }
  .legal-section h2 { font-size: 20px; }
  .legal-section p { font-size: 13px; }
}
@media (max-width: 360px) {
  .entry-shell, .legal-shell { width: calc(100% - 24px); }
  .entry-panel { padding-inline: 15px; }
  .crew { height: 146px; }
  .crew-member img { height: 108px; }
  .crew-member--supervisor img { height: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .entry-submit:not(:disabled):hover { transform: none; }
  .crew-member img { animation: none; }
}
