@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-950: #03101f;
  --navy-900: #06172b;
  --navy-800: #0b2848;
  --navy-700: #133e68;
  --paper: #f5efdf;
  --paper-deep: #e9dec4;
  --paper-white: #fffdf8;
  --ink: #071a30;
  --ink-soft: #41526a;
  --gold: #e2ad43;
  --gold-bright: #f3c75f;
  --gold-dark: #8b651e;
  --blue: #217cf3;
  --blue-dark: #0c58ba;
  --coral: #d54d4d;
  --green: #168260;
  --line-light: rgba(245, 239, 223, 0.2);
  --line-dark: rgba(7, 26, 48, 0.16);
  --shadow-paper: 0 28px 54px -24px rgba(1, 10, 20, 0.72), 0 8px 20px -12px rgba(1, 10, 20, 0.6);
  --shadow-soft: 0 22px 52px -34px rgba(3, 16, 31, 0.38), 0 8px 24px -20px rgba(3, 16, 31, 0.3);
  --radius: 14px;
  --container: 1240px;
  --wide-container: 1410px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy-950);
  color-scheme: light;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--navy-950);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-bright);
  color: var(--navy-950);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.26em;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--paper-white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 6.05vw;
  padding: 0 max(24px, 5.55vw);
  border-bottom: 1px solid var(--line-light);
  background: rgba(3, 16, 31, 0.94);
  color: var(--paper-white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand > img {
  width: clamp(50px, 4.7vw, 68px);
  height: clamp(50px, 4.7vw, 68px);
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
}

.brand-wordmark strong {
  margin: 0 0.02em;
  color: var(--gold-bright);
  font-size: 1.18em;
}

.primary-nav {
  display: flex;
  justify-content: flex-start;
  gap: clamp(32px, 4vw, 64px);
  padding: 0 0 0 clamp(92px, 12vw, 190px);
}

.primary-nav a,
.operator-link {
  position: relative;
  padding: 26px 0 22px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 1.16vw;
  text-decoration: none;
}

.primary-nav a::after,
.operator-link::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease-out;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.operator-link:hover,
.operator-link[aria-current="page"] {
  color: var(--paper-white);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after,
.operator-link:hover::after,
.operator-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.operator-link {
  color: var(--gold-bright);
}

@media (min-width: 721px) {
  .operator-link {
    display: none;
  }
}

.demo-ribbon {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 6px 20px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.78rem;
}

.demo-ribbon span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-ribbon p {
  margin: 0;
}

#main {
  min-height: 70vh;
}

.route-loading {
  display: flex;
  min-height: 55vh;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-soft);
}

.loading-mark {
  width: 20px;
  height: 20px;
  animation: spin 900ms linear infinite;
  border: 2px solid var(--line-dark);
  border-top-color: var(--blue);
  border-radius: 50%;
}

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 56.49vw;
  background: var(--navy-950);
  color: var(--paper-white);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 239, 223, 0.2) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 46%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(480px, 1.16fr);
  align-items: center;
  gap: clamp(24px, 4vw, 74px);
  width: min(var(--wide-container), 88.9vw);
  min-height: 47.54vw;
  margin: 0 auto;
  padding: 2.65vw 0 6.43vw;
}

.hero-copy {
  position: relative;
  z-index: 2;
  transform: translateY(-2.77vw);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-line::before {
  width: 42px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-heading h1,
.raffle-heading h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 8.5vw, 8.2rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  width: 166%;
  font-size: clamp(4rem, 7.8vw, 7.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.055em;
  white-space: nowrap;
  transform: scaleX(0.6);
  transform-origin: left center;
}

.hero h1 .money {
  display: inline;
  color: var(--gold-bright);
}

.hero-facts {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 38px 0 32px;
}

.hero-fact {
  min-width: 150px;
  padding: 0 28px;
  border-left: 1px solid rgba(245, 239, 223, 0.34);
}

.hero-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-fact strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-fact span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.67);
  font-size: 0.78rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero .button-row {
  flex-direction: column;
  align-items: flex-start;
}

.hero .button {
  width: min(100%, 32.79vw);
  min-height: 5.93vw;
  font-size: 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 0 12px 28px -18px rgba(1, 10, 20, 0.58);
  color: var(--navy-950);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-bright);
  box-shadow: 0 18px 32px -18px rgba(1, 10, 20, 0.72);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  transform: none;
  background: #b6ad9a;
  box-shadow: none;
  color: #5a554d;
  cursor: not-allowed;
}

.button-secondary {
  border: 1px solid currentColor;
  background: transparent;
  box-shadow: none;
  color: var(--blue);
}

.button-secondary:hover {
  background: rgba(33, 124, 243, 0.09);
  box-shadow: none;
}

.button-dark {
  background: var(--navy-900);
  box-shadow: none;
  color: var(--paper-white);
}

.button-dark:hover {
  background: var(--navy-800);
  box-shadow: 0 14px 30px -22px var(--navy-950);
}

.button-danger {
  background: transparent;
  box-shadow: none;
  color: var(--coral);
  outline: 1px solid currentColor;
  outline-offset: -1px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #5eb0ff;
  font-weight: 700;
}

.ticket-stage {
  position: relative;
  min-height: 41.24vw;
  transform: translateY(-1.39vw);
}

.ticket-stage::before {
  position: absolute;
  top: 9%;
  right: -16%;
  bottom: -7%;
  left: 9%;
  transform: rotate(2deg);
  background: var(--paper-deep);
  box-shadow: var(--shadow-paper);
  content: "";
  clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%, 0 4%);
}

.ticket-art {
  position: absolute;
  inset: 0 -10% 0 0;
  width: 110%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
  transform: rotate(-2.4deg);
}

.ticket-print {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: 14%;
  bottom: 25%;
  left: 12%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  color: var(--navy-900);
  transform: rotate(-2.4deg);
}

.ticket-print-brand {
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.ticket-print-brand span {
  color: var(--gold-dark);
  font-size: 1.18em;
}

.ticket-print > small {
  margin-top: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ticket-print-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(7, 26, 48, 0.45);
}

.ticket-print-facts span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticket-print-facts strong {
  display: block;
  margin-top: 5px;
  color: var(--navy-900);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
}

.demo-stamp {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: 8%;
  padding: 7px 12px;
  transform: rotate(5deg);
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability-strip {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 6%;
  left: 8%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 8px;
  background: rgba(3, 16, 31, 0.9);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.8);
  color: var(--paper-white);
  backdrop-filter: blur(12px);
}

.availability-strip span,
.availability-strip strong {
  font-size: 0.78rem;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  border-radius: 99px;
  background: rgba(245, 239, 223, 0.18);
}

.progress-track > span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.availability-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: rgba(245, 239, 223, 0.18);
  color: var(--gold);
  appearance: none;
}

.availability-progress::-webkit-progress-bar {
  border-radius: 99px;
  background: rgba(245, 239, 223, 0.18);
}

.availability-progress::-webkit-progress-value {
  border-radius: 99px;
  background: var(--gold);
}

.availability-progress::-moz-progress-bar {
  border-radius: 99px;
  background: var(--gold);
}

.serial-rail {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 8.95vw;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 0 max(24px, 5.55vw);
  border-top: 1px solid rgba(226, 173, 67, 0.42);
  background: rgba(3, 16, 31, 0.92);
}

.serial-label {
  flex: 0 0 148px;
  padding-right: 20px;
  border-right: 1px solid rgba(245, 239, 223, 0.4);
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serials {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.serials span {
  display: inline-flex;
  min-width: 88px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 7px), 0 7px);
}

.serials span:nth-child(4) {
  background: #cfe5ff;
  color: var(--blue-dark);
}

.proof-section,
.how-section,
.catalog-section,
.page-section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2,
.operation-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
}

.process-ledger {
  border-top: 2px solid var(--ink);
}

.process-row {
  display: grid;
  grid-template-columns: 90px minmax(180px, 0.7fr) 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.process-code {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
}

.process-row h3 {
  margin: 0;
  font-size: 1rem;
}

.process-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.process-state {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(22, 130, 96, 0.1);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.verification-band {
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--paper-white);
}

.verification-layout {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  min-height: 390px;
  align-items: stretch;
}

.verification-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 0;
}

.verification-copy h2 {
  max-width: 12ch;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.verification-copy p {
  max-width: 54ch;
  margin: 0 0 28px;
  color: rgba(255, 253, 248, 0.78);
}

.verification-specimen {
  position: relative;
  display: grid;
  align-content: center;
  padding: 46px;
  background: var(--paper);
  color: var(--ink);
}

.verification-specimen::before,
.verification-specimen::after {
  position: absolute;
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-dark);
  content: "";
}

.verification-specimen::before {
  top: 70px;
  box-shadow: 0 42px 0 var(--blue-dark), 0 84px 0 var(--blue-dark), 0 126px 0 var(--blue-dark), 0 168px 0 var(--blue-dark), 0 210px 0 var(--blue-dark);
}

.verification-specimen::after {
  display: none;
}

.verify-seal {
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 2px solid var(--gold-dark);
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
}

.verification-specimen strong {
  font-family: var(--display);
  font-size: 2.7rem;
  line-height: 1;
}

.verification-specimen span:last-child {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.page-hero {
  background: var(--navy-900);
  color: var(--paper-white);
}

.page-heading {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 58px;
}

.page-heading h1 {
  font-size: clamp(4.2rem, 8vw, 7.2rem);
}

.page-heading p {
  max-width: 64ch;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.7);
}

.raffle-list {
  border-top: 2px solid var(--ink);
}

.raffle-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 160px 190px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.raffle-row h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.raffle-row p,
.raffle-row small {
  margin: 0;
  color: var(--ink-soft);
}

.raffle-row strong {
  font-variant-numeric: tabular-nums;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(22, 130, 96, 0.1);
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill[data-status="closed"],
.status-pill[data-status="expired"] {
  background: rgba(65, 82, 106, 0.1);
  color: var(--ink-soft);
}

.status-pill[data-status="under_review"] {
  background: rgba(226, 173, 67, 0.16);
  color: var(--gold-dark);
}

.status-pill[data-status="rejected"] {
  background: rgba(213, 77, 77, 0.1);
  color: var(--coral);
}

.raffle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(38px, 7vw, 90px);
  padding-top: 64px;
  padding-bottom: 84px;
}

.raffle-visual {
  position: sticky;
  top: 118px;
  align-self: start;
  overflow: hidden;
  min-height: 540px;
  border-radius: 6px;
  background: var(--navy-900);
}

.raffle-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.raffle-visual--porsche img {
  object-position: 51% 57%;
}

.visual-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(3, 16, 31, 0.82);
  color: var(--paper-white);
  font-size: 0.72rem;
}

.raffle-heading h1 {
  color: var(--ink);
  font-size: clamp(4rem, 7vw, 7.4rem);
}

.raffle-heading > p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.detail-fact {
  padding: 20px 20px 20px 0;
}

.detail-fact:nth-child(2n) {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

.detail-fact span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.detail-fact strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.quantity-control {
  display: grid;
  grid-template-columns: 46px minmax(58px, 1fr) 46px;
  max-width: 220px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
}

.quantity-control button {
  min-height: 48px;
  border: 0;
  background: var(--navy-900);
  color: var(--paper-white);
  cursor: pointer;
  font-size: 1.35rem;
}

.quantity-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: var(--paper-white);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}

.reserve-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}

.reserve-total span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.reserve-total strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
}

.rules-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.rules-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.rules-list li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue-dark);
  border-radius: 50%;
  content: "";
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  padding-top: 58px;
  padding-bottom: 92px;
}

.checkout-form {
  min-width: 0;
}

.form-section {
  min-width: 0;
  max-width: 100%;
  margin: 0 0 42px;
  padding: 0;
  border: 0;
}

.form-section legend,
.form-section h2 {
  width: 100%;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-size: 0.86rem;
  font-weight: 700;
}

.field small,
.field-hint {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(7, 26, 48, 0.42);
  border-radius: 8px;
  background: var(--paper-white);
  color: var(--ink);
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

.field input:hover,
.field select:hover {
  border-color: var(--ink);
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 124, 243, 0.14);
  outline: 0;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(213, 77, 77, 0.1);
}

.field-error {
  min-height: 1.1em;
  color: var(--coral);
  font-size: 0.76rem;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-choice {
  position: relative;
  display: grid;
  min-height: 110px;
  align-content: center;
  gap: 4px;
  padding: 16px 16px 16px 46px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--paper-white);
  cursor: pointer;
}

.radio-choice input {
  position: absolute;
  top: 22px;
  left: 16px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue-dark);
}

.radio-choice:has(input:checked) {
  border-color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px var(--blue-dark);
}

.radio-choice small {
  color: var(--ink-soft);
}

.payment-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(33, 124, 243, 0.08);
  color: var(--blue-dark);
  font-size: 0.82rem;
}

.file-box {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px dashed rgba(7, 26, 48, 0.44);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.64);
}

.file-box input[type="file"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.88rem;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue-dark);
}

.error-summary {
  margin-bottom: 30px;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(213, 77, 77, 0.09);
  color: #812b2b;
}

.error-summary:empty,
.error-summary[hidden] {
  display: none;
}

.error-summary strong {
  display: block;
  margin-bottom: 8px;
}

.error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.order-summary {
  position: sticky;
  top: 126px;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow-soft);
  color: var(--paper-white);
}

.order-summary__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 53% 56%;
}

.order-summary--porsche {
  background: #130806;
  box-shadow: 0 28px 70px rgba(45, 9, 4, 0.24);
}

.order-summary--porsche .order-ticket::after {
  background: #ff5018;
}

.order-summary--porsche .order-ticket span {
  color: #ff8a3d;
}

.is-porsche-purchase .page-hero {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 80, 24, 0.18), transparent 28%),
    #130806;
}

.is-porsche-purchase .page-heading h1,
.is-porsche-purchase .page-heading p {
  color: #fff4df;
}

.is-porsche-purchase .button-dark {
  border-color: #ff5018;
  background: #ff5018;
  color: #090403;
}

.is-porsche-purchase .button-dark:hover {
  border-color: #ff8a3d;
  background: #ff8a3d;
}

.is-porsche-purchase .raffle-heading .status-line {
  color: #a82912;
}

.order-ticket {
  padding: 28px;
  border-bottom: 1px dashed rgba(245, 239, 223, 0.35);
}

.order-ticket::after {
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 22px;
  background: var(--gold);
  content: "";
}

.order-ticket span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-ticket h2 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 0.95;
}

.summary-lines {
  display: grid;
  gap: 14px;
  padding: 24px 28px 28px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.84rem;
}

.summary-line strong {
  color: var(--paper-white);
  font-variant-numeric: tabular-nums;
}

.summary-total {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 239, 223, 0.22);
  font-size: 1rem;
}

.summary-total strong {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 2rem;
}

.lookup-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(340px, 1.16fr);
  gap: 60px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 96px;
}

.lookup-intro h1,
.confirmation-title,
.admin-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.lookup-intro p {
  max-width: 46ch;
  color: var(--ink-soft);
}

.lookup-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-top: 4px solid var(--blue-dark);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper-white);
  box-shadow: var(--shadow-soft);
}

.lookup-result {
  grid-column: 1 / -1;
}

.status-sheet {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper-white);
  box-shadow: var(--shadow-soft);
}

.status-sheet::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  transform: translate(35%, -35%) rotate(45deg);
  background: rgba(226, 173, 67, 0.18);
  content: "";
}

.status-sheet h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.95;
}

.status-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 28px 0;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.status-meta div {
  padding: 16px;
  background: var(--paper-white);
}

.status-meta span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.status-meta strong {
  font-variant-numeric: tabular-nums;
}

.ticket-number-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ticket-number-list span {
  padding: 7px 10px;
  border-radius: 4px;
  background: #e7f1ff;
  color: var(--blue-dark);
  font-family: var(--display);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.confirmation-shell {
  padding-top: 64px;
  padding-bottom: 96px;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1.26fr);
  gap: 64px;
  margin-top: 44px;
}

.code-ticket {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--paper-white);
}

.code-ticket::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, var(--paper) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
}

.code-ticket > * {
  position: relative;
  z-index: 1;
}

.code-ticket span {
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-ticket strong {
  display: block;
  margin: 12px 0 24px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 86px;
  padding: 0 0 26px 46px;
  color: var(--ink-soft);
}

.timeline li::before {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.timeline li::after {
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 11px;
  width: 1px;
  background: var(--line-dark);
  content: "";
}

.timeline li:last-child::after {
  display: none;
}

.timeline li[data-done="true"]::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--paper);
}

.timeline li[data-current="true"]::before {
  border-color: var(--gold-dark);
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(226, 173, 67, 0.14);
}

.timeline strong {
  display: block;
  color: var(--ink);
}

.admin-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.admin-lock {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 40px auto;
}

.admin-lock-panel {
  padding: 32px;
  border-top: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper-white);
  box-shadow: var(--shadow-soft);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 26px 0 30px;
}

.admin-tools {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  max-width: 680px;
}

.admin-tools input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--ink-soft);
  border-radius: 8px;
  background: var(--paper-white);
  color: var(--ink);
}

.admin-tools p { margin: 0; }
.admin-table tr[hidden] { display: none; }

.admin-toolbar p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: var(--paper-white);
}

.segmented button {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.segmented button[aria-pressed="true"] {
  background: var(--navy-900);
  color: var(--paper-white);
}

.inventory-line {
  display: grid;
  grid-template-columns: auto 1fr repeat(3, auto);
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--paper-white);
}

.inventory-line > span {
  color: var(--gold-bright);
  font-weight: 700;
}

.inventory-line small {
  color: rgba(255, 253, 248, 0.66);
}

.admin-table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table td {
  font-size: 0.84rem;
}

.admin-table .code-cell {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--paper-white);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.row-actions button[data-action="approve"] {
  border-color: var(--green);
  color: var(--green);
}

.row-actions button[data-action="reject"] {
  border-color: var(--coral);
  color: var(--coral);
}

.audit-panel {
  margin-top: 60px;
}

.audit-panel h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 2.4rem;
}

.audit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.audit-list li {
  display: grid;
  grid-template-columns: 190px 170px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

.audit-list time,
.audit-list span {
  color: var(--ink-soft);
}

.empty-state,
.route-error {
  padding: 46px;
  border: 1px dashed rgba(7, 26, 48, 0.34);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state h2,
.route-error h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}

.toast-region {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(390px, calc(100% - 40px));
  gap: 10px;
}

.toast {
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--navy-900);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.72);
  color: var(--paper-white);
  font-size: 0.84rem;
}

.toast[data-kind="error"] {
  background: #7e2828;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 160px;
  padding: 36px max(24px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--line-light);
  background: var(--navy-950);
  color: var(--paper-white);
}

.footer-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 1.5rem;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
}

/* Porsche 911 Turbo S — campaña principal de Halloween */
.is-halloween-home {
  background: #090403;
}

.is-halloween-home .site-header {
  min-height: 78px;
  border-bottom-color: rgba(255, 80, 24, 0.28);
  background: rgba(9, 4, 3, 0.92);
  backdrop-filter: blur(18px) saturate(1.18);
}

.is-halloween-home .primary-nav a,
.is-halloween-home .operator-link {
  color: rgba(255, 244, 223, 0.72);
}

.is-halloween-home .primary-nav a::after,
.is-halloween-home .operator-link::after {
  background: #ff5018;
}

.is-halloween-home .site-footer {
  border-top-color: rgba(255, 80, 24, 0.4);
  background: #090403;
}

.is-halloween-home .footer-mark {
  width: 62px;
  height: 62px;
  border: 0;
}

.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-campaign {
  --campaign-ink: #090403;
  --campaign-coal: #130806;
  --campaign-blood: #74150d;
  --campaign-ember: #ff5018;
  --campaign-flame: #ff8a3d;
  --campaign-bone: #fff4df;
  --campaign-paper: #f3e6d2;
  background: var(--campaign-ink);
  color: var(--campaign-bone);
}

.campaign-hero {
  position: relative;
  min-height: max(820px, calc(100svh - 78px));
  overflow: hidden;
  isolation: isolate;
  background: var(--campaign-ink);
}

.campaign-hero__backdrop,
.campaign-hero__backdrop img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
}

.campaign-hero__backdrop img {
  object-fit: cover;
  object-position: 58% 58%;
  transform: scale(1.035);
  filter: saturate(0.96) contrast(1.03) brightness(0.82);
}

.campaign-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 4, 3, 0.96) 0%, rgba(9, 4, 3, 0.78) 30%, rgba(9, 4, 3, 0.18) 62%, rgba(9, 4, 3, 0.24) 100%),
    linear-gradient(180deg, rgba(9, 4, 3, 0.26) 0%, transparent 48%, rgba(9, 4, 3, 0.72) 100%);
}

.campaign-hero__content {
  display: flex;
  flex-direction: column;
  width: min(1420px, calc(100% - 96px));
  min-height: max(720px, calc(100svh - 176px));
  margin: 0 auto;
  padding: clamp(54px, 7vh, 84px) 0 38px;
}

.campaign-hero__copy {
  width: min(650px, 47vw);
}

.campaign-hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.8rem, 7.1vw, 6rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.campaign-hero h1 span,
.campaign-hero h1 strong {
  display: block;
}

.campaign-hero h1 span {
  color: var(--campaign-bone);
}

.campaign-hero h1 strong {
  color: var(--campaign-ember);
}

.campaign-hero__status {
  width: fit-content;
  margin: 26px 0 0;
  padding: 8px 12px;
  background: var(--campaign-bone);
  color: var(--campaign-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-hero__lead {
  max-width: 55ch;
  margin: 20px 0 0;
  color: rgba(255, 244, 223, 0.78);
  font-size: 1rem;
  line-height: 1.6;
}

.campaign-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.campaign-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 20px;
  background: var(--campaign-ember);
  color: var(--campaign-ink);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease-out, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-button:hover {
  transform: translateY(-2px);
  background: var(--campaign-flame);
}

.campaign-button svg,
.campaign-link svg {
  width: 20px;
  height: 20px;
}

.campaign-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--campaign-bone);
  font-weight: 700;
  text-decoration-color: rgba(255, 80, 24, 0.76);
  text-underline-offset: 7px;
}

.campaign-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  width: min(620px, 52vw);
  margin: auto 0 0;
  border-top: 1px solid rgba(255, 244, 223, 0.32);
  border-bottom: 1px solid rgba(255, 244, 223, 0.22);
}

.campaign-hero__facts div {
  padding: 16px 20px;
  border-left: 1px solid rgba(255, 244, 223, 0.18);
}

.campaign-hero__facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.campaign-hero__facts dt {
  color: rgba(255, 244, 223, 0.58);
  font-size: 0.7rem;
}

.campaign-hero__facts dd {
  margin: 5px 0 0;
  color: var(--campaign-bone);
  font-size: 0.86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.campaign-hero__source {
  width: fit-content;
  margin-top: 12px;
  color: rgba(255, 244, 223, 0.62);
  font-size: 0.72rem;
  text-decoration-color: rgba(255, 80, 24, 0.6);
}

.campaign-hero__rail {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  min-height: 98px;
  padding: 0 max(48px, calc((100vw - 1420px) / 2));
  border-top: 1px solid rgba(255, 80, 24, 0.46);
  background: rgba(9, 4, 3, 0.92);
  backdrop-filter: blur(14px);
}

.campaign-hero__rail span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 28px;
  border-left: 1px solid rgba(255, 244, 223, 0.14);
  color: rgba(255, 244, 223, 0.65);
  font-size: 0.72rem;
}

.campaign-hero__rail span:first-child {
  padding-left: 0;
  border-left: 0;
}

.campaign-hero__rail strong {
  margin-bottom: 3px;
  color: var(--campaign-bone);
  font-size: 0.82rem;
}

.home-campaign .how-section {
  background: var(--campaign-paper);
  color: #1a0b08;
}

.home-campaign .section-heading p,
.home-campaign .process-row p {
  color: #6d554b;
}

.home-campaign .process-ledger {
  border-top-color: #1a0b08;
}

.home-campaign .process-row {
  border-bottom-color: rgba(26, 11, 8, 0.18);
}

.home-campaign .process-code {
  color: #c93612;
}

.home-campaign .process-state {
  background: rgba(116, 21, 13, 0.1);
  color: #74150d;
}

.home-campaign .verification-band {
  background: var(--campaign-coal);
  color: var(--campaign-bone);
}

.home-campaign .verification-copy p {
  color: rgba(255, 244, 223, 0.72);
}

.home-campaign .verification-copy .button {
  background: var(--campaign-ember);
  color: var(--campaign-ink);
}

.home-campaign .verification-copy .button:hover {
  background: var(--campaign-flame);
}

.home-campaign .verification-specimen {
  background: var(--campaign-paper);
  color: #1a0b08;
}

.home-campaign .verification-specimen::before {
  background: var(--campaign-coal);
  box-shadow: 0 42px 0 var(--campaign-coal), 0 84px 0 var(--campaign-coal), 0 126px 0 var(--campaign-coal), 0 168px 0 var(--campaign-coal), 0 210px 0 var(--campaign-coal);
}

.home-campaign .verify-seal {
  border-color: #9a2a15;
  color: #9a2a15;
}

.home-campaign .verification-specimen span:last-child {
  color: #6d554b;
}

@keyframes campaign-settle {
  from { transform: scale(1.07); filter: saturate(0.8) contrast(1.04) brightness(0.68) blur(2px); }
  to { transform: scale(1.035); filter: saturate(0.96) contrast(1.03) brightness(0.82) blur(0); }
}

.campaign-hero.is-ready .campaign-hero__backdrop img {
  animation: campaign-settle 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ticket-settle {
  from { transform: translate3d(22px, -10px, 0) rotate(-1deg); filter: blur(3px); opacity: 0.72; }
  to { transform: translate3d(0, 0, 0) rotate(-2.4deg); filter: blur(0); opacity: 1; }
}

.hero.is-ready .ticket-art {
  animation: ticket-settle 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 72px;
  }

  .primary-nav {
    display: none;
  }

  .operator-link {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 138px;
  }

  .hero h1 {
    width: auto;
    white-space: normal;
    transform: none;
  }

  .hero h1 .money {
    display: block;
  }

  .hero-copy {
    max-width: 720px;
    transform: none;
  }

  .ticket-stage {
    min-height: 460px;
    transform: none;
  }

  .section-heading,
  .verification-layout,
  .raffle-detail,
  .checkout-layout,
  .lookup-shell,
  .confirmation-grid,
  .admin-lock {
    grid-template-columns: 1fr;
  }

  .verification-copy {
    padding-right: 0;
  }

  .verification-specimen {
    min-height: 320px;
  }

  .raffle-visual {
    position: relative;
    top: auto;
  }

  .checkout-layout {
    gap: 26px;
  }

  .order-summary {
    position: relative;
    top: auto;
    grid-row: 1;
  }

  .lookup-result {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: 1.65rem;
    transform: none;
  }

  .operator-link {
    display: inline-flex;
    padding: 20px 0 18px;
    font-size: 0.76rem;
  }

  .demo-ribbon {
    display: none;
  }

  .section-shell,
  .page-heading,
  .hero-grid,
  .admin-shell {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 42px;
    min-height: auto;
    padding: 44px 0 128px;
  }

  .hero .button {
    min-height: 54px;
    font-size: 1rem;
  }

  .hero h1,
  .page-heading h1,
  .raffle-heading h1,
  .lookup-intro h1,
  .confirmation-title,
  .admin-title {
    font-size: clamp(3.7rem, 18vw, 5.3rem);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 4rem);
    line-height: 0.9;
  }

  .hero-facts {
    margin: 28px 0 26px;
  }

  .hero-fact {
    min-width: 0;
    padding: 0 16px;
  }

  .hero-fact strong {
    font-size: 1.8rem;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button,
  .button-row .text-link {
    width: 100%;
  }

  .ticket-stage {
    min-height: 330px;
  }

  .ticket-print {
    top: 17%;
    right: 18%;
    bottom: 19%;
    left: 10%;
  }

  .ticket-print-brand {
    font-size: 2rem;
  }

  .ticket-print > small {
    font-size: 0.52rem;
  }

  .ticket-print-facts {
    gap: 8px;
    padding-top: 8px;
  }

  .ticket-print-facts span {
    font-size: 0.42rem;
  }

  .ticket-print-facts strong {
    font-size: 1.2rem;
  }

  .ticket-art {
    inset: 0;
    width: 100%;
    object-position: 58% center;
  }

  .availability-strip {
    right: 0;
    left: 0;
    grid-template-columns: 1fr auto;
  }

  .availability-strip .progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .availability-strip .availability-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .serial-rail {
    min-height: 70px;
    padding: 0 16px;
  }

  .serial-label {
    display: none;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .operation-heading h2,
  .verification-copy h2 {
    font-size: clamp(3.2rem, 14vw, 4.3rem);
  }

  .process-row {
    grid-template-columns: 56px 1fr;
    gap: 10px 16px;
  }

  .process-row p,
  .process-state {
    grid-column: 2;
  }

  .verification-copy {
    padding: 52px 0;
  }

  .verification-specimen {
    margin: 0 -16px;
    padding: 42px 34px;
  }

  .raffle-row {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .raffle-row > :nth-child(3),
  .raffle-row > :nth-child(4) {
    grid-column: 1 / -1;
  }

  .raffle-visual,
  .raffle-visual img {
    min-height: 360px;
  }

  .raffle-visual--porsche,
  .raffle-visual--porsche img {
    min-height: 480px;
  }

  .order-summary__image {
    aspect-ratio: 1.65 / 1;
  }

  .reserve-bar {
    grid-template-columns: 1fr;
  }

  .reserve-bar .button {
    width: 100%;
  }

  .form-grid,
  .radio-grid {
    grid-template-columns: 1fr;
  }

  .status-meta {
    grid-template-columns: 1fr;
  }

  .lookup-form,
  .status-sheet,
  .code-ticket,
  .admin-lock-panel {
    padding: 24px;
  }

  .inventory-line {
    grid-template-columns: 1fr auto;
  }

  .inventory-line .progress-track {
    grid-column: 1 / -1;
  }

  .inventory-line .availability-progress {
    grid-column: 1 / -1;
  }

  .inventory-line small {
    display: none;
  }

  .audit-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    padding: 34px 18px;
  }

  .site-footer nav {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-fact {
    padding: 0 12px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-fact:nth-child(2n) {
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .progress-track,
  .progress-track > span,
  .status-pill,
  .process-state {
    border: 1px solid CanvasText;
  }
}

@media (max-width: 980px) {
  .campaign-hero__content {
    width: min(100% - 48px, 900px);
  }

  .campaign-hero__copy {
    width: min(620px, 72vw);
  }

  .campaign-hero__facts {
    width: min(620px, 74vw);
  }

  .campaign-hero__shade {
    background:
      linear-gradient(90deg, rgba(9, 4, 3, 0.94) 0%, rgba(9, 4, 3, 0.7) 42%, rgba(9, 4, 3, 0.16) 78%),
      linear-gradient(180deg, rgba(9, 4, 3, 0.28), transparent 48%, rgba(9, 4, 3, 0.78));
  }
}

@media (max-width: 720px) {
  .is-halloween-home .site-header {
    min-height: 70px;
  }

  .brand {
    gap: 8px;
  }

  .brand > img {
    width: 50px;
    height: 50px;
  }

  .brand-wordmark {
    font-size: 1.45rem;
  }

  .campaign-hero {
    min-height: 1080px;
  }

  .campaign-hero__backdrop img {
    object-position: 51% 52%;
    filter: saturate(0.94) contrast(1.04) brightness(0.72);
  }

  .campaign-hero__shade {
    background:
      linear-gradient(180deg, rgba(9, 4, 3, 0.94) 0%, rgba(9, 4, 3, 0.74) 27%, rgba(9, 4, 3, 0.12) 54%, rgba(9, 4, 3, 0.78) 88%, rgba(9, 4, 3, 0.96) 100%),
      linear-gradient(90deg, rgba(9, 4, 3, 0.4), transparent 66%);
  }

  .campaign-hero__content {
    width: calc(100% - 36px);
    min-height: 970px;
    padding: 42px 0 30px;
  }

  .campaign-hero__copy,
  .campaign-hero__facts {
    width: 100%;
  }

  .campaign-hero h1 {
    font-size: clamp(3.55rem, 16.4vw, 4.15rem);
    line-height: 0.8;
  }

  .campaign-hero__status {
    margin-top: 20px;
    font-size: 0.68rem;
  }

  .campaign-hero__lead {
    max-width: 39ch;
    margin-top: 16px;
    font-size: 0.88rem;
  }

  .campaign-hero__actions {
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .campaign-button,
  .campaign-link {
    width: 100%;
  }

  .campaign-link {
    justify-content: center;
  }

  .campaign-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
  }

  .campaign-hero__facts div,
  .campaign-hero__facts div:first-child {
    padding: 12px 8px;
  }

  .campaign-hero__facts dt {
    min-height: 2.7em;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .campaign-hero__facts dd {
    font-size: 0.72rem;
  }

  .campaign-hero__source {
    margin-top: 10px;
    font-size: 0.66rem;
  }

  .campaign-hero__rail {
    min-height: 110px;
    padding: 0 12px;
  }

  .campaign-hero__rail span,
  .campaign-hero__rail span:first-child {
    padding: 13px 8px;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .campaign-hero__rail strong {
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  .brand-wordmark {
    display: none;
  }

  .campaign-hero h1 {
    font-size: clamp(3.35rem, 16vw, 3.85rem);
  }

  .campaign-hero__rail {
    grid-template-columns: 1.1fr 1fr 0.72fr;
  }
}
