/* Hallmark · shape: single-offer presale page · genre: editorial · theme: brand
 * paper: oklch(0.14 0.012 265) · accent: oklch(0.85 0.17 86) · display: Anton · body: system sans · hero: poster · nav: none · footer: two lines of small print · signature: the $19.95 price at poster size, lifted from OAC's own promo
 * axes: dark/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V3 · weakest: V, a dark page with heavy condensed caps is this repo's usual look; the gold and royal blue, the chevron and the ticket are taken from OAC's promo so it reads as theirs, not Wyatt's */

/* Club One presale demo. Contract: ../DESIGN.md. The two comments above are the header the finish-gate lint
   (sloplint) reads. They were written by hand to describe this page; the page was built from DESIGN.md. */

@font-face {
  font-family: Anton;
  src: url(/fonts/anton-latin.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Oswald;
  src: url(/fonts/oswald-latin.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Palette from OAC's own Club One promo graphic. Every colour used below is one of these. */
  --ink: #07090e;
  --black: #04060b; /* strip, banner, type on gold: near-black tinted toward the blue */
  --panel: #0f1522;
  --field: #161e30;
  --line: #2a3550;
  --line-hi: #55627f;
  --tear: #4a5876;
  --blue: #1b63e6;
  --blue-hi: #6f9dff; /* small blue text: 4.5:1 on --ink */
  --gold: #ffc21a;
  --gold-hi: #ffd04d;
  --gold-lo: #e6ac0a;
  --gold-off: #4a4020;
  --white: #f8fafd;
  --soft: #d5dcea;
  --mute: #9aa7bf;
  --placeholder: #7f8ca6;
  --bad: #ff7a6b;
  --scrim: rgba(4, 6, 11, 0.78);
  --demo-stroke: rgba(255, 194, 26, 0.5);
  --oac-cyan: #00b0e6;
  --oac-orange: #ff660c;
  --display: Anton, 'Arial Narrow', Impact, sans-serif;
  --label: Oswald, 'Arial Narrow', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 16px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  background: var(--ink);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 16px/1.5 var(--body);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
h1,
h2 {
  text-wrap: balance;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

/* Small text is the body face in sentence case. Capitals are kept for display type, buttons and the test banner. */
.step-no {
  color: var(--mute);
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- demo strip: on every page, always in view ---------- */

.demo-strip {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(8px + env(safe-area-inset-top, 0px)) calc(var(--gutter) + env(safe-area-inset-right, 0px)) 8px
    calc(var(--gutter) + env(safe-area-inset-left, 0px));
  background: var(--black);
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.demo-strip b {
  margin-right: 4px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
}

/* ---------- shared pieces ---------- */

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  flex: none;
  width: 44px;
  height: 44px;
}
.wordmark {
  font: 600 22px/1 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark-sub {
  display: block;
  margin-top: 4px;
  color: var(--mute);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
}
.planned {
  margin-left: auto;
  padding: 4px 12px 4px 16px;
  background: var(--blue);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  font: 600 16px/1.25 var(--label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* "OAC" in the parent brand's own colours: the only place cyan and orange appear. */
.oac {
  color: var(--oac-cyan);
  font: 700 0.95em/1 var(--label);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.oac::before {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 4px;
  background: var(--oac-orange);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--gold);
  color: var(--black);
  font: 700 20px/1.1 var(--label);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms ease;
}
.btn:active {
  transform: scale(0.97);
  background: var(--gold-lo);
}
.btn[disabled] {
  background: var(--gold-off);
  color: var(--gold-hi);
  cursor: progress;
}
.btn-line {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--white);
}
.btn-line:active {
  background: var(--field);
}
.chev {
  width: 22px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(0 0, 28% 0, 60% 50%, 28% 100%, 0 100%, 32% 50%, 0 0, 40% 0, 68% 0, 100% 50%, 68% 100%, 40% 100%, 72% 50%, 40% 0);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover:not([disabled]) {
    background: var(--gold-hi);
  }
  .btn-line:hover:not([disabled]) {
    background: var(--field);
  }
}

/* ---------- presale page ---------- */

.promo {
  position: relative;
}
.promo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 470;
  object-fit: cover;
  /* the promo's own diagonal: the art ends on a slant, not in a box */
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.promo figcaption {
  position: absolute;
  right: 0;
  bottom: 14%;
  padding: 4px 8px;
  background: var(--scrim);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.3;
}

.offer,
.slot,
.coming,
.fine {
  padding: 0 var(--gutter);
}

.offer {
  margin-top: 8px;
}
.offer .lockup {
  margin-bottom: 24px;
}
.offer h1 {
  font: 400 30px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.price {
  display: block;
  margin: 4px 0 0 -4px;
  color: var(--gold);
  font: 400 clamp(92px, 29vw, 132px) / 0.92 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.price small {
  font-size: 0.34em;
  letter-spacing: 0.02em;
}
.lock {
  margin-top: 8px;
  font: 400 30px/1.05 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lock em {
  color: var(--blue-hi);
  font-style: normal;
}
.offer .how {
  margin-top: 16px;
  color: var(--soft);
  text-wrap: pretty;
}

.slot {
  margin-top: 24px;
}
.step {
  padding: 20px 16px;
  background: var(--panel);
  border-top: 6px solid var(--blue);
  scroll-margin-top: 64px; /* clear the sticky demo strip when a step scrolls into view */
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
@starting-style {
  .step {
    opacity: 0;
    transform: translateY(8px);
  }
}
.step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.step-head h2 {
  font: 400 26px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.step-head h2:focus {
  outline: none;
}

.field {
  margin-bottom: 16px;
}
.field label,
.chips legend,
.cardbox legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
input[type='text'],
input[type='tel'],
input[type='email'] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--field);
  color: var(--white);
  caret-color: var(--gold);
  font: 17px/1.3 var(--body); /* 16px or more: iOS zooms the page under that */
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder {
  color: var(--placeholder);
}
input:focus {
  border-color: var(--gold);
  outline: none;
}
input[aria-invalid='true'] {
  border-color: var(--bad);
}
.err {
  margin-top: 8px;
  color: var(--bad);
  font-size: 14px;
  line-height: 1.35;
}
.err:empty {
  display: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.chips {
  margin-bottom: 16px;
}
.chips legend span {
  color: var(--mute);
  font-weight: 400;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 2px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.chip input:active + span {
  transform: scale(0.97);
}
.chip input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
  padding: 8px 0;
  line-height: 1.35;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: var(--gold);
}
.form-err {
  margin: 12px 0 0;
}
.step .btn {
  margin-top: 16px;
}
.after {
  margin-top: 12px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.4;
}

/* fake checkout */
.test-banner {
  margin: -20px -16px 16px;
  padding: 12px 16px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, var(--black) 12px 24px);
}
.test-banner p {
  padding: 8px 12px;
  background: var(--black);
  color: var(--gold);
  font: 700 17px/1.25 var(--label);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}
.order {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order b {
  font: 400 26px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.cardbox .card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--field);
  color: var(--white);
}
.cardbox .card-grid:focus-within {
  border-color: var(--gold);
}
.cardbox input {
  min-height: 52px;
  border: 0;
  background: transparent;
  font-variant-numeric: tabular-nums;
}
.cardbox .card-number {
  grid-column: 1 / -1;
  border-bottom: 2px solid var(--line);
}
.cardbox .card-exp {
  border-right: 2px solid var(--line);
}
.hints {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px dashed var(--line-hi);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font: 16px/1.2 var(--body);
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms ease;
}
.hint:active {
  transform: scale(0.97);
  background: var(--field);
}
.hint span {
  color: var(--mute);
  font-size: 14px;
}
.done-msg {
  font: 400 30px/1.05 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.done-msg + p {
  margin-top: 12px;
  color: var(--soft);
}

/* what's coming: a spec sheet, not a card grid */
.coming {
  margin-top: 40px;
}
.coming h2 {
  font: 400 34px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.coming h2 + p {
  margin: 8px 0 12px;
  color: var(--mute);
}
.spec li {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.spec li:last-child {
  border-bottom: 1px solid var(--line);
}
.spec b {
  color: var(--gold);
  font: 400 38px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.spec .word b {
  color: var(--white);
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.spec span {
  color: var(--soft);
  line-height: 1.35;
}
.coming .src {
  margin-top: 12px;
  color: var(--mute);
  font-size: 14px;
}

.fine {
  margin-top: 32px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  color: var(--mute);
  font-size: 14px;
  line-height: 1.5;
}
.fine p + p {
  margin-top: 8px;
}

@media (min-width: 860px) {
  .presale {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    column-gap: 48px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 32px 0;
  }
  .presale > .promo,
  .presale > .offer,
  .presale > .coming {
    grid-column: 1;
  }
  .presale > .slot {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    position: sticky;
    top: 64px;
    margin-top: 0;
  }
  .presale > .fine {
    grid-column: 1 / -1;
  }
  .offer,
  .coming,
  .slot,
  .fine {
    padding-left: 0;
    padding-right: 0;
  }
  .offer {
    margin-top: 20px;
  }
}

/* ---------- certificate ---------- */

.cert-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
}
.ticket {
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  background: var(--panel);
  border-top: 6px solid var(--blue);
}
.ticket .lockup {
  margin-bottom: 20px;
}
.ticket .mark {
  width: 38px;
  height: 38px;
}
.ticket .wordmark {
  font-size: 19px;
}
.ticket-title {
  color: var(--gold);
  font: 400 clamp(46px, 14.4vw, 58px) / 0.94 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transform-origin: left center;
  animation: settle 280ms var(--ease-out) both;
}
@keyframes settle {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
.ticket-name {
  margin-top: 16px;
  font: 400 34px/1.02 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.ticket-name::before {
  content: 'Issued to';
  display: block;
  margin-bottom: 4px;
  color: var(--mute);
  font: 600 13px/1.2 var(--body);
  letter-spacing: 0;
  text-transform: none;
}
.ticket-rate {
  margin-top: 12px;
  color: var(--soft);
  font: 500 18px/1.25 var(--label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ticket-rate b {
  color: var(--white);
  font-weight: 700;
}
.tear {
  position: relative;
  margin: 16px -20px;
  border-top: 2px dashed var(--tear);
}
.tear::before,
.tear::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
}
.tear::before {
  left: -11px;
}
.tear::after {
  right: -11px;
}
.stub {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr;
  gap: 12px;
}
.stub dt {
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.stub dd {
  margin-top: 4px;
  font: 600 21px/1.1 var(--label);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stub .code {
  color: var(--gold);
}
.ticket-next {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  line-height: 1.4;
}
.demo-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font: 400 clamp(104px, 33vw, 150px) / 1 var(--display);
  letter-spacing: 0.06em;
  -webkit-text-stroke: 2px var(--demo-stroke);
  transform: rotate(-28deg);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.demo-note {
  margin: 12px 0 16px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.4;
}
.save-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
}
.cert-wrap .btn + .btn {
  margin-top: 12px;
}

/* ---------- lead list ---------- */

.leads-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
}
.leads-wrap h1 {
  margin: 20px 0 4px;
  font: 400 34px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.key-form {
  max-width: 420px;
  margin-top: 16px;
}
.key-form input {
  -webkit-text-security: disc; /* masked without type=password, so no browser offers to save the key */
}
.totals {
  margin: 8px 0 16px;
  color: var(--gold);
  font: 400 26px/1.15 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.lead:last-child {
  border-bottom: 1px solid var(--line);
}
.lead h2 {
  font: 600 19px/1.25 var(--body);
  overflow-wrap: anywhere;
}
.badge {
  align-self: start;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.badge.paid {
  background: var(--gold);
  color: var(--black);
}
.badge.unpaid {
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--soft);
}
.lead .reach,
.lead .meta,
.lead .state {
  grid-column: 1 / -1;
}
.reach {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reach a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px var(--blue);
  color: var(--white);
  font: 600 16px/1 var(--label);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-decoration: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms ease;
}
.reach a:active {
  transform: scale(0.97);
  background: var(--blue);
}
.meta {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.meta span {
  color: var(--mute);
}
.state {
  display: flex;
  align-items: center;
  gap: 12px;
}
.state label {
  color: var(--mute);
  font-size: 14px;
  font-weight: 600;
}
.state select {
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--field);
  color: var(--white);
  font: 16px/1.2 var(--body);
}
.state select:disabled {
  color: var(--mute);
}
.state output {
  color: var(--mute);
  font-size: 14px;
}
.state output.bad {
  color: var(--bad);
}
.empty {
  padding: 24px 0;
  color: var(--mute);
}

@media (min-width: 900px) {
  .lead {
    grid-template-columns: minmax(180px, 1.2fr) 96px minmax(220px, 1.1fr) minmax(220px, 1.6fr) 248px;
    align-items: center;
  }
  .lead .reach,
  .lead .meta,
  .lead .state {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .btn,
  .chip span,
  .hint,
  .reach a {
    transition-property: opacity, background-color, border-color, color;
  }
  .btn:active,
  .hint:active,
  .reach a:active,
  .chip input:active + span {
    transform: none;
  }
  .ticket-title {
    animation-name: fade;
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
  }
}
