@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --crimson: #7b2027;
  --crimson-lit: #9a2a31;
  --crimson-deep: #4f0b13;
  --blush: #f3d2d4;
  --ink: #140d0f;
  --stock: #f4f3f1;
  --line: #d6d1cd;
  --control-line: #8e8386;
  --muted-ink: #5b4f53;
  --error: #9c1d28;
  --phone: #0e0a0b;
  --screen: #140c0e;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hangul: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --panel-shadow: 0 34px 60px -34px rgba(30, 2, 8, 0.75), 0 10px 22px -12px rgba(30, 2, 8, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--crimson-deep);
  scrollbar-color: #2b0910 var(--crimson-deep);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  background:
    radial-gradient(90% 46rem at 50% 30rem, var(--crimson-lit) 0%, rgba(154, 42, 49, 0) 72%),
    linear-gradient(180deg, var(--crimson) 0%, var(--crimson) 55%, var(--crimson-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: #fff; }
.sheet ::selection, .insert ::selection { background: var(--crimson); color: #fff; }

a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.sheet :focus-visible, .insert :focus-visible { outline-color: var(--crimson); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Header ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: calc(44px + env(safe-area-inset-top));
  padding: calc(10px + env(safe-area-inset-top)) 20px 0;
  max-width: 1180px; margin: 0 auto;
}
.wordmark {
  font-weight: 800; font-stretch: 68%; font-size: 1.25rem; line-height: 1;
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
}
.bar-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-underline-offset: 6px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid; justify-items: center; text-align: center;
  gap: 30px;
  padding: 18px 20px 64px;
  max-width: 1180px; margin: 0 auto;
}
.hero-copy { display: grid; justify-items: center; gap: 14px; }
.hero-copy h1 {
  margin: 0;
  font-weight: 800; font-stretch: 70%;
  font-size: clamp(2.6rem, 12.4vw, 5.75rem); line-height: 0.9;
  letter-spacing: 0; word-spacing: 0.07em; text-transform: uppercase;
  text-wrap: balance;
}
.lede {
  margin: 0; max-width: 34ch;
  font-size: 1.0625rem; line-height: 1.5; color: var(--blush);
  text-wrap: pretty;
}

.plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; margin-top: 6px;
  border: 0; border-radius: 12px;
  background: var(--stock); color: var(--ink);
  font-weight: 750; font-stretch: 86%; font-size: 1rem; line-height: 1;
  letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 14px 26px -14px rgba(30, 2, 8, 0.75), 0 2px 5px rgba(30, 2, 8, 0.28);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s;
}
.plate:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(30, 2, 8, 0.8), 0 3px 6px rgba(30, 2, 8, 0.3); }
.plate:active { transform: translateY(1px); }
.plate svg { width: 20px; height: 20px; }
.plate-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 24px -16px rgba(20, 2, 6, 0.9), 0 2px 4px rgba(20, 2, 6, 0.3); }
.plate-ink:hover { background: #2a1d20; }
.plate[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Phone ---------- */
.stage { --pw: min(62vw, 250px); width: var(--pw); display: grid; justify-items: center; }
/* Every phone is sized from its own width (--pw), so the cropped phone tops keep the hero phone's bezel, corners and notch. */
.phone {
  position: relative; width: var(--pw);
  aspect-ratio: 9 / 17.6;
  padding: calc(var(--pw) * 0.034);
  border-radius: calc(var(--pw) * 0.15);
  background: var(--phone);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 4px #050304,
    0 44px 60px -32px rgba(30, 2, 8, 0.8),
    0 14px 26px -14px rgba(30, 2, 8, 0.55);
  transform: rotate(-2deg);
}
.screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 17% 6% 7%;
  border-radius: calc(var(--pw) * 0.12);
  background: radial-gradient(130% 55% at 50% 0%, #2c1418 0%, var(--screen) 62%);
  container-type: inline-size;
}
.island {
  position: absolute; top: calc(var(--pw) * 0.045); left: 50%;
  width: 31%; height: calc(var(--pw) * 0.066);
  transform: translateX(-50%);
  border-radius: 999px; background: #000;
}
.screen-title {
  margin: 0 0 5cqw; text-align: center;
  font-weight: 800; font-stretch: 70%; font-size: 5.2cqw; line-height: 1;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blush);
}

/* The wallet stack: two other designs peek above the card in front. */
.stack { position: relative; padding-top: 11cqw; }
.stack-peek {
  position: absolute; left: 0; right: 0; top: 0;
  aspect-ratio: 85.6 / 54;
  border-radius: 4.7% / 7.4%;
  background: var(--peek) center / cover no-repeat;
  filter: brightness(0.5) saturate(0.85);
  transform: scale(0.88);
  transform-origin: 50% 0;
}
.stack-peek + .stack-peek { top: 5.5cqw; transform: scale(0.94); filter: brightness(0.65) saturate(0.9); }

.vc-button {
  position: relative; z-index: 1; display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 4.7% / 7.4%;
  -webkit-tap-highlight-color: transparent;
}
.vc-button:focus-visible { outline-offset: 4px; border-radius: 12px; }

/* Raven's card: the virtual card as it shows in a phone wallet, the ID-1 ratio laid flat. */
.vc {
  position: relative; display: block; width: 100%;
  aspect-ratio: 85.6 / 54;
  overflow: hidden;
  border-radius: 4.7% / 7.4%;
  background: #2a1417;
  box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.4);
  container-type: inline-size;
}
.vc-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-print { position: absolute; inset: 0; color: #fff; text-align: left; }
.vc-brand {
  position: absolute; top: 7%; left: 5.5%;
  font-weight: 800; font-stretch: 66%; font-size: 7.4cqw; line-height: 1;
  letter-spacing: 0.02em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.vc-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw;
  padding: 14cqw 5.5cqw 4.6cqw;
  background: linear-gradient(to top, rgba(14, 4, 6, 0.78), rgba(14, 4, 6, 0));
  font-weight: 600; font-size: 3.5cqw; line-height: 1; letter-spacing: 0.08em;
  text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.vc-serial {
  font-weight: 800; font-stretch: 66%; font-size: 8.4cqw; line-height: 0.9;
  letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.vc-autograph {
  position: absolute; left: 26%; top: 14%;
  width: 58cqw; height: 25.5cqw; color: #fff;
  transform: rotate(-8deg);
  filter: drop-shadow(0 1px 2px rgba(10, 2, 4, 0.5));
}

.ready { display: grid; justify-items: center; gap: 2.2cqw; margin-top: 10cqw; text-align: center; }
.ready-ring {
  display: grid; place-items: center;
  width: 19cqw; height: 19cqw; margin-bottom: 2cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.24);
  color: #fff;
}
.ready-ring svg { width: 10cqw; height: 10cqw; }
.ready-text { font-weight: 700; font-size: 5.6cqw; line-height: 1.2; }
.ready-sub { font-weight: 600; font-size: 3.8cqw; line-height: 1.3; letter-spacing: 0.02em; color: var(--blush); }
/* How the card works, as three rows on the phone: the real order of use. */
.steps { display: grid; gap: 2.6cqw; margin: auto 0 0; padding: 0; list-style: none; }
.steps li {
  display: flex; align-items: center; gap: 3.4cqw;
  padding: 3.6cqw 4.2cqw;
  border-radius: 4.2cqw;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-weight: 600; font-size: 4cqw; line-height: 1.25; text-align: left;
}
.step-n {
  display: grid; place-items: center; flex: none;
  width: 6.8cqw; height: 6.8cqw; border-radius: 50%;
  background: var(--blush); color: var(--ink);
  font-weight: 800; font-size: 3.8cqw; line-height: 1; font-variant-numeric: tabular-nums;
}


.barcode { display: block; }
.barcode svg { display: block; width: 100%; height: 100%; }

/* ---------- Album sheet ---------- */
.spec, .join { padding: 0 14px; }
.spec { padding-bottom: 28px; }
.sheet, .insert {
  max-width: 660px; margin: 0 auto;
  background: var(--stock); color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--panel-shadow);
}
.sheet { padding: 30px 22px 22px; }
.sheet h2, .insert h2, .faq h2, .done h2 {
  margin: 0 0 16px;
  font-weight: 800; font-stretch: 70%;
  font-size: clamp(2.1rem, 9.5vw, 3.4rem); line-height: 0.92;
  letter-spacing: 0; word-spacing: 0.07em; text-transform: uppercase;
  text-wrap: balance;
}
.inclusions { margin: 0; }
.inc {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.inc dt {
  grid-column: 1;
  font-weight: 800; font-stretch: 84%; font-size: 1.0625rem; line-height: 1.2;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.inc dd { grid-column: 1; margin: 5px 0 0; color: var(--muted-ink); line-height: 1.45; }
.inc dd.qty {
  grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 1px 0 0;
  font-weight: 700; font-size: 0.8125rem; line-height: 1.3; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); text-align: right;
  font-variant-numeric: tabular-nums;
}
.fine { margin: 6px 0 20px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted-ink); }
.pack-marks {
  display: flex; align-items: flex-end; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.pack-marks .barcode { width: 118px; height: 38px; color: var(--ink); flex: none; }
.pack-text {
  display: grid;
  font-weight: 700; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pack-hangul {
  margin-left: auto; font-family: var(--hangul); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.22em; color: var(--muted-ink);
}

/* ---------- Waitlist insert ---------- */
.join { padding-top: 10px; padding-bottom: 56px; scroll-margin-top: 12px; }
.insert { padding: 30px 20px 24px; }
.insert-lede { margin: 0 0 24px; color: var(--muted-ink); line-height: 1.5; max-width: 52ch; }

.q { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.q legend, .q-label {
  display: block; padding: 0; margin: 0 0 11px;
  font-weight: 800; font-stretch: 86%; font-size: 1rem; line-height: 1.25;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
}
.optional {
  margin-left: 6px; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted-ink);
}
.field-note { margin: -3px 0 11px; font-size: 0.875rem; line-height: 1.45; color: var(--muted-ink); }
#country-note, #phone-note { margin: 9px 0 0; }
.q-error { margin: 9px 0 0; font-weight: 600; font-size: 0.875rem; line-height: 1.4; color: var(--error); }

.binder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
/* The nine photocards lie on the stock as flat prints; the pick takes an ink outline and the heart sticker. */
.pocket { position: relative; display: block; cursor: pointer; }
/* The vote shows its pick where the card lives: the top of a phone, fading out like the success screen. */
.vote-preview { display: grid; justify-items: center; margin: 2px 0 20px; }
.vote-preview .phone-done { --pw: min(54vw, 214px); }
.vote-preview .phone-done .vc { margin-top: 1cqw; }
.pocket img {
  display: block; width: 100%; height: auto; aspect-ratio: 54 / 85.6; object-fit: cover;
  border-radius: 6px / 3.8px;
  box-shadow: 0 1px 3px rgba(20, 10, 12, 0.22);
  transition: box-shadow 0.2s, filter 0.2s;
}
.pocket-name {
  display: block; padding: 7px 0 0; text-align: center;
  font-weight: 700; font-size: 0.6875rem; line-height: 1; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pocket input, .chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.pocket input:checked ~ img { box-shadow: 0 0 0 2.5px var(--ink); }
.pocket input:checked ~ .pocket-name { color: var(--ink); font-weight: 800; }
.pocket input:focus-visible ~ img { outline: 3px solid var(--crimson); outline-offset: 3px; }
.pocket:hover img { filter: brightness(1.06); }

.sticker {
  position: absolute; top: -8px; right: -8px; z-index: 2;
  width: 27px; height: 25px; pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
  transform: scale(0) rotate(-24deg);
  transition: transform 0.4s var(--ease-out);
}
input:checked ~ .sticker { transform: scale(1) rotate(-12deg); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; display: inline-flex; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px;
  border: 1.5px solid var(--control-line); border-radius: 10px; background: #fff;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chips-money span { font-variant-numeric: tabular-nums; }
.chip:hover span { border-color: #6f6467; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--crimson); outline-offset: 2px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 12px; height: 8px;
  margin-top: -4px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23140d0f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
select, input[type="email"], input[type="text"] {
  display: block; width: 100%; min-height: 52px;
  padding: 0 14px; border: 1.5px solid var(--control-line); border-radius: 10px;
  background: #fff; color: var(--ink);
  font: 500 1rem/1.2 var(--font);
  caret-color: var(--crimson);
  transition: border-color 0.15s, box-shadow 0.15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
input::placeholder { color: #74696c; }
select:focus, input[type="email"]:focus, input[type="text"]:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(123, 32, 39, 0.28);
}
[aria-invalid="true"] { border-color: var(--error) !important; }
fieldset[aria-invalid="true"] .chip span { border-color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 4px 0 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted-ink); }
#submit { width: 100%; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; font-size: 0.9375rem; color: var(--error); }
.form-status.is-ok { color: var(--muted-ink); }

/* ---------- Done ---------- */
.done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 10px 0 4px; }
.done:focus { outline: none; }
/* On the success screen only the top of the phone matters: it fades out under the signed card. */
.phone-done {
  --pw: min(58vw, 236px);
  width: var(--pw);
  aspect-ratio: 9 / 9.5;
  transform: rotate(-2deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
}
.phone-done .screen { justify-content: flex-start; }
.phone-done .vc { margin-top: 12cqw; }
.done-copy { display: grid; justify-items: center; }
.done-copy p { margin: 0 0 20px; max-width: 40ch; color: var(--muted-ink); line-height: 1.55; }
.done-copy strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; }
.done-actions .plate { margin-top: 0; }
.text-btn {
  min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 660px; margin: 0 auto; padding: 36px 20px 72px; }
.faq h2 { margin-bottom: 10px; }
.faq details { border-top: 1px solid rgba(243, 210, 212, 0.28); }
.faq details:last-of-type { border-bottom: 1px solid rgba(243, 210, 212, 0.28); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-stretch: 92%; font-size: 1.0625rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; transition: transform 0.35s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; line-height: 1.55; color: var(--blush); }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink); color: #d8cdcf;
  padding: 44px 20px calc(44px + env(safe-area-inset-bottom));
  font-size: 0.8125rem; line-height: 1.6;
}
.foot > * { max-width: 660px; margin: 0 auto 12px; }
.foot-sign { margin-bottom: 18px; color: #fff; }
.foot-sign svg { display: block; width: 150px; height: 66px; }
.foot a { color: #fff; }
.foot-small { color: #9d9093; margin-bottom: 0; }

/* ---------- Wider screens ---------- */
/* On a phone the white plate under the headline is the one call to action. */
@media (max-width: 899px) { .bar-link { display: none; } }
@media (min-width: 900px) {
  .bar { padding: 22px 48px 0; }
  .hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center; justify-items: start; text-align: left;
    column-gap: 72px; padding: 36px 48px 104px;
    min-height: min(860px, calc(100vh - 70px));
  }
  .hero-copy { justify-items: start; gap: 22px; }
  .stage { --pw: 290px; justify-self: center; }
  .lede { font-size: 1.1875rem; max-width: 36ch; }
  .spec, .join { padding-left: 24px; padding-right: 24px; }
  .sheet { padding: 40px 40px 30px; }
  .insert { padding: 40px 40px 32px; }
  .binder { gap: 14px 12px; }
}
