@font-face {
  font-family: Anton;
  src: url('/fonts/anton-latin.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Nunito;
  src: url('/fonts/nunito-latin.woff') format('woff');
  font-display: swap;
  font-weight: 200 1000;
  font-style: normal;
}
:root {
  --paper: #fff;
  --ink: #211e22;
  --muted: #625e65;
  --line: #27272730;
  --accent: #d5144b;
  --panel: #f8f7f9;
  font-family: Nunito, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  color: var(--paper);
  background: var(--accent);
}
/* Pair the seven route hues across both modes. */
.route-red {
  --accent: #d5144b;
  --ritual-accent: #f48ba8;
  --ritual-logo: #c75373;
}
.route-orange {
  --accent: #bb4400;
  --ritual-accent: #f2a477;
  --ritual-logo: #c47448;
}
.route-yellow {
  --accent: #866000;
  --ritual-accent: #e6bd56;
  --ritual-logo: #ac862c;
}
.route-green {
  --accent: #08754c;
  --ritual-accent: #77d2aa;
  --ritual-logo: #409a75;
}
.route-blue {
  --accent: #125cdb;
  --ritual-accent: #87baff;
  --ritual-logo: #5b88ca;
}
.route-indigo {
  --accent: #4735d0;
  --ritual-accent: #b0a7ff;
  --ritual-logo: #8475d4;
}
.route-violet {
  --accent: #9820bc;
  --ritual-accent: #e2a0f4;
  --ritual-logo: #b76ace;
}
.site-header {
  padding: 0 4.5%;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: relative;
  z-index: 20;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-actions form {
  margin: 0;
}
.account-link {
  font-size: 10px;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 11px 18px;
  border-radius: 0;
}
.text-button {
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.desktop-nav {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  padding: 15px 12px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
}
.desktop-nav a:first-child {
  padding-left: 0;
}
.desktop-nav a:last-child {
  border-right: 0;
  padding-right: 0;
}
.desktop-nav a[aria-current]:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}
.desktop-nav a:first-child[aria-current]:after {
  left: 0;
}
.desktop-nav a[aria-current] {
  font-weight: 700;
}
#menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-size: 10px;
  padding: 10px 0;
}
#mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding: 15px 6% 25px;
}
#mobile-menu:not([hidden]) {
  display: grid;
}
#mobile-menu a {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
#mobile-menu a small {
  font: 8px monospace;
  color: var(--muted);
}
#mobile-menu a > span {
  margin-left: auto;
}
#mobile-menu a[aria-current] {
  color: var(--accent);
}
.spectrum-scroll {
  background: var(--paper);
}
.spectrum-section {
  padding: 55px 6% 70px;
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 35px;
  font: 9px/1.6 monospace;
  letter-spacing: 0.8px;
}
.section-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
}
.section-top > span:last-child {
  color: var(--muted);
  text-align: right;
}
.section-top h2 {
  font: inherit;
  margin: 0;
}
.accent-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 5px;
  vertical-align: middle;
}
.eyebrow {
  font: 8px/1.6 monospace;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: block;
}
.spectrum-section h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1.7px;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.spectrum-section h2 em {
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: none;
  font-weight: 400;
  letter-spacing: -2.6px;
}
.spectrum-section p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 540px;
}
.placeholder {
  display: inline-block;
  font: 7px/1.65 monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 8px;
  margin: 6px 0;
  color: var(--muted);
  max-width: 100%;
}
.hero {
  padding-top: 24px;
  padding-bottom: 23px;
}
.hero .section-top {
  font-size: 8px;
  margin-bottom: 0;
}
.poster-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 15px;
  min-height: 590px;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 0;
}
.hero-copy > .eyebrow {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 15px;
}
.hero h1 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1.2px;
  margin: 10px 0 22px;
}
.hero h1 br {
  display: none;
}
.hero h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -3px;
  margin-left: 5px;
}
.hero-copy > p {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 23px;
}
.hero-links {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-links .text-link {
  margin: 0;
  font-size: 10px;
}
.hero-copy > .placeholder {
  margin-top: 19px;
  font-size: 6px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  min-height: 45px;
  min-width: 170px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font:
    10px/1.5 Arial,
    sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  max-width: 100%;
}
.black {
  background: var(--ink);
  color: var(--paper);
}
.black:hover:not(:disabled) {
  background: #343434;
}
.outline-button {
  background: transparent;
  color: var(--ink);
}
.outline-button:hover:not(:disabled) {
  background: #e5e2da;
}
.button .arrow-icon {
  color: var(--accent);
  width: 12px;
  height: 12px;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}
.button.black .arrow-icon {
  color: var(--paper);
}
.arrow-icon:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
}
.arrow-icon:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 15px;
  height: 1.4px;
  transform: rotate(-45deg);
  transform-origin: left center;
  background: currentColor;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  margin-top: 27px;
  text-decoration: none;
  font-size: 11px;
}
.text-link .arrow-icon {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.chrome-stage {
  position: relative;
  min-width: 0;
  min-height: 500px;
  display: grid;
  place-items: center;
}
.celestial-fallback {
  position: absolute;
  width: min(62%, 380px);
  aspect-ratio: 1;
  border-radius: 45% 47% 43% 46%;
  background:
    radial-gradient(ellipse at 28% 22%, white, transparent 26%),
    conic-gradient(from 34deg, #e7c2d1, #c5d9da, #ded1e4, #eddfc4, #e7c2d1);
  box-shadow: inset -16px -19px 40px #67556555;
}
#celestial-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  visibility: hidden;
  z-index: 1;
}
[data-rendered='true'] #celestial-canvas {
  visibility: visible;
}
[data-rendered='true'] .celestial-fallback {
  visibility: hidden;
}
.tilt-permission {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
}
.event-list {
  margin-top: 35px;
}
.event-row {
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.index {
  font: 8px monospace;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 5px;
}
.event-row h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 400;
  letter-spacing: -0.7px;
  text-transform: uppercase;
  margin: 9px 0;
}
.event-row p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.event-row .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}
.artist p {
  font: 9px/1.7 monospace;
  color: var(--muted);
  margin: 8px 0;
}
.artist .placeholder {
  font-size: 6px;
}
.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin-top: 35px;
}
.merch-item h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.merch-item > p {
  font-size: 10px;
  color: var(--muted);
}
.merch-item .small {
  display: block;
  margin-top: 10px;
}
.merch-item > .eyebrow {
  font-size: 8px;
  color: var(--accent);
}
.card-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin: 45px 20px 20px;
}
.card-promo h3 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin: 0 0 15px;
}
.card-promo p {
  font-size: 11px;
  color: var(--muted);
}
.card-promo .button {
  display: flex;
  max-width: 260px;
  margin-top: 22px;
}
.contact-list {
  margin-top: 35px;
}
.contact-list article {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.contact-list .eyebrow {
  color: var(--accent);
  font-size: 8px;
}
.contact-list h3 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(27px, 4vw, 48px);
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
  margin: 12px 0;
  text-transform: uppercase;
}
.page-main {
  min-height: 70svh;
  padding: 45px 6% 75px;
  background: var(--paper);
}
.page-heading {
  position: relative;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 28px;
  margin-bottom: 35px;
}
.page-heading h1 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(42px, 6.8vw, 93px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1.4px;
  text-transform: uppercase;
  margin: 27px 0 25px;
  max-width: 1150px;
  overflow-wrap: anywhere;
}
.lede {
  font:
    18px/1.65 Georgia,
    serif;
  max-width: 650px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}
.form-panel {
  border: 1px solid var(--ink);
  padding: 33px;
  background: var(--panel);
}
.form-panel > .eyebrow {
  color: var(--accent);
}
.form-panel h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 13px 0 18px;
}
.form-panel > p,
.form-panel small {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.form-panel form {
  margin-top: 25px;
}
.field {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  margin: 0 0 19px;
}
.field input,
.field textarea {
  display: block;
  margin-top: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid #36363666;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 Arial,
    sans-serif;
  padding: 10px 12px;
  min-height: 44px;
}
.field textarea {
  resize: vertical;
}
.form-panel .button {
  width: 100%;
  margin-top: 14px;
}
.form-switch {
  margin-top: 25px;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
}
.notice {
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
  padding: 16px 18px;
  font-size: 12px;
  line-height: 1.7;
}
.notice.error {
  border-style: dashed;
  color: var(--ink);
}
.preview-banner {
  background: #252525;
  color: #eee;
  font: 8px/1.5 monospace;
  padding: 9px 20px;
  text-align: center;
}
.small {
  font-size: 10px !important;
  line-height: 1.7 !important;
  color: var(--muted);
}
.card-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 75px;
  align-items: center;
}
.card-intro > .eyebrow {
  color: var(--accent);
}
.card-intro h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 4.8vw, 66px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 22px 0;
}
.card-intro h2 em {
  font-family: Georgia, serif;
  text-transform: none;
  font-weight: 400;
  letter-spacing: -2px;
}
.card-intro > p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 420px;
}
.card-status {
  font: 9px/1.7 monospace;
  color: var(--muted);
  margin: 25px 0 17px;
}
.card-status.active {
  color: var(--accent);
}
.card-status > span {
  margin-right: 7px;
}
.card-intro .button {
  width: 100%;
  max-width: 370px;
  margin-bottom: 17px;
}
.card-stage {
  min-width: 0;
  perspective: 1400px;
  padding: 20px 0;
}
.card-tilt {
  width: 100%;
  aspect-ratio: 1.37;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.16s ease-out;
  touch-action: pan-y;
  --shine-x: 50%;
  --shine-y: 50%;
  will-change: transform;
}
.card-flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.is-flipped .card-flip {
  transform: rotateY(180deg);
}
.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow:
    0 20px 40px #22222224,
    inset 0 0 1px 2px #ffffff77;
  overflow: hidden;
  color: #252727;
  background: linear-gradient(
    125deg,
    #f6f6f3,
    #bcc0bf 20%,
    #f4f5f1 38%,
    #9ea6a6 59%,
    #f2f3f0 78%,
    #b2b9ba
  );
}
.card-front {
  display: flex;
  flex-direction: column;
  padding: 25px 28px;
  transform: translateZ(1px);
}
.holo-sheen {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at var(--shine-x) var(--shine-y), #ffffffc0, transparent 52%),
    repeating-linear-gradient(112deg, transparent 0 5px, #ffffff1a 6px 7px);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}
.card-front > *:not(.holo-sheen) {
  position: relative;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  font: 8px/1.5 monospace;
  letter-spacing: 0.8px;
}
.card-star {
  font:
    45px/1 Georgia,
    serif;
  filter: grayscale(1);
}
.card-name {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(25px, 3.1vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 22px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
}
.stamp {
  border: 1px solid #25252566;
  border-radius: 50%;
  aspect-ratio: 1;
  max-height: 65px;
  display: grid;
  place-items: center;
  font: 9px monospace;
  filter: grayscale(1);
}
.stamp.stamped {
  font:
    40px Georgia,
    serif;
  background: #3a3a3a20;
  border: 1px solid #25252599;
  transform: rotate(-12deg);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font: 6px/1.5 monospace;
  letter-spacing: 0.5px;
  margin-top: 18px;
}
.card-back {
  transform: rotateY(180deg) translateZ(1px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.back-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font: 8px monospace;
  letter-spacing: 1px;
}
.qr-frame {
  padding: 7px;
  border: 1px solid #39393977;
  border-radius: 9px;
  background: linear-gradient(130deg, #e9eae7, #a9aeae, #f5f5f1, #adb1b1);
  box-shadow: 0 4px 14px #15151525;
  margin: 9px;
}
.qr-safe {
  background: #fff;
  padding: 0;
  line-height: 0;
  border: 0;
  isolation: isolate;
  border-radius: 3px;
  overflow: hidden;
}
.qr-safe img {
  display: block;
  width: clamp(180px, 18vw, 232px);
  height: auto;
  aspect-ratio: 1;
  filter: none;
  opacity: 1;
  image-rendering: pixelated;
}
.back-bottom {
  text-align: center;
  display: grid;
  gap: 4px;
  font-size: 10px;
}
.back-bottom strong {
  font-weight: 500;
}
.back-bottom span {
  font: 7px/1.5 monospace;
}
.card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.card-hint {
  text-align: center;
  margin-top: 14px;
}
.stamp-history {
  border-top: 1px solid var(--ink);
  margin-top: 65px;
  padding-top: 25px;
}
.stamp-history h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.count {
  font: 10px monospace;
  padding: 5px 8px;
  border: 1px solid var(--line);
  margin-left: 12px;
  vertical-align: middle;
}
.stamp-history > p {
  font-size: 11px;
  color: var(--muted);
}
.stamp-history ol {
  list-style: none;
  padding: 0;
}
.stamp-history li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font: 9px monospace;
}
.scanner-panel {
  max-width: 720px;
  margin: auto;
}
.scanner-panel h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 39px;
  font-weight: 400;
  text-transform: uppercase;
}
.scanner-panel p {
  font-size: 11px;
  line-height: 1.8;
}
.camera-frame {
  aspect-ratio: 4/3;
  background: #202020;
  position: relative;
  overflow: hidden;
  margin: 28px 0 20px;
  border: 1px solid var(--ink);
}
.camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-frame > span {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font: 8px monospace;
  letter-spacing: 1px;
  color: #fff;
  pointer-events: none;
}
.scan-guide {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffffaa;
  pointer-events: none;
}
.scan-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.scan-buttons .button {
  flex: 1;
  min-width: 170px;
  white-space: nowrap;
}
.file-label {
  position: relative;
  cursor: pointer;
}
.file-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.file-label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
#scan-result {
  border: 1px solid var(--ink);
  padding: 20px;
  font-size: 13px;
  line-height: 1.8;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
#scan-result.success {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}
#next-scan[hidden],
.text-button[hidden] {
  display: none;
}
.admin-shortcut {
  display: flex;
  gap: 35px;
  align-items: center;
  padding-bottom: 35px;
}
.admin-shortcut p {
  font-size: 11px;
  line-height: 1.8;
  max-width: 420px;
  color: var(--muted);
}
.editor {
  padding: 25px 0;
}
.editor .section-top {
  margin-bottom: 12px;
}
.editor .section-top h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.editor .section-top > span {
  font-size: 8px;
}
.editor details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.editor summary {
  font-size: 13px;
}
.editor-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 25px;
  margin-top: 25px;
}
.editor-form .field {
  margin: 0;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
.ticket-shop {
  border: 1px solid var(--ink);
  padding: 35px;
  max-width: 950px;
  margin-top: 35px;
}
.ticket-shop > .eyebrow {
  color: var(--accent);
}
.ticket-shop h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 39px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
}
.ticket-shop p {
  font-size: 12px;
  line-height: 1.8;
}
.embed-shell {
  margin-top: 30px;
}
.embed-shell iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
  background: #fff;
}
.contact-form {
  max-width: 650px;
  margin-top: 40px;
}
.contact-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.honey,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.inquiry {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.inquiry p {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.inquiry h3 {
  font-weight: 500;
}
.inquiry small {
  font: 9px monospace;
}
.site-footer {
  background: #202020;
  color: #e8e6e0;
  padding: 45px 6% 24px;
  overflow: hidden;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 30;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus {
  top: 15px;
}
@media (min-width: 1550px) {
  .spectrum-section,
  .page-main {
    padding-left: 10%;
    padding-right: 10%;
  }
  .chrome-stage {
    min-height: 560px;
  }
  .poster-grid {
    min-height: 650px;
  }
  .site-header {
    padding: 0 7%;
  }
  .card-layout {
    max-width: 1250px;
    margin: auto;
  }
}
@media (max-width: 1150px) {
  .poster-grid {
    min-height: 500px;
  }
  .chrome-stage {
    min-height: 420px;
  }
  .hero h1 {
    font-size: 5vw;
  }
  .desktop-nav a {
    gap: 8px;
    padding: 14px 9px;
    font-size: 10px;
  }
  .header-actions {
    gap: 15px;
  }
  .card-layout {
    gap: 35px;
    grid-template-columns: 1fr 1.15fr;
  }
  .card-front {
    padding: 20px;
  }
  .card-top {
    font-size: 7px;
  }
  .card-star {
    font-size: 35px;
  }
  .card-name {
    margin: 17px 0;
    font-size: 31px;
  }
  .stamp {
    max-height: 53px;
  }
  .stamp.stamped {
    font-size: 30px;
  }
  .card-back {
    padding: 15px;
  }
  .qr-safe img {
    width: 190px;
  }
  .back-bottom {
    font-size: 9px;
  }
  .back-bottom span {
    font-size: 6px;
  }
}
@media (max-width: 850px) {
  .site-header {
    padding: 0 5%;
  }
  .masthead {
    min-height: 78px;
  }
  .desktop-nav a {
    font-size: 9px;
    gap: 5px;
    padding: 13px 7px;
  }
  .header-actions {
    gap: 14px;
  }
  .account-link {
    font-size: 9px;
    padding: 9px 12px;
  }
  #menu-toggle {
    display: block;
  }
  .poster-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
  }
  .hero h1 br {
    display: block;
  }
  .hero h1 em {
    margin-left: 0;
  }
  .hero-links {
    gap: 20px;
  }
  .hero-links .text-link {
    display: none;
  }
  .chrome-stage {
    min-height: 350px;
  }
  .spectrum-section h2 {
    font-size: 51px;
    letter-spacing: -1px;
  }
  .card-promo {
    margin-left: 0;
    margin-right: 0;
    gap: 45px;
  }
  .card-promo h3 {
    font-size: 30px;
  }
  .card-layout {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: auto;
    gap: 30px;
  }
  .card-intro > p {
    max-width: 100%;
  }
  .card-stage {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .card-front {
    padding: 25px 28px;
  }
  .card-name {
    font-size: 38px;
    margin: 22px 0;
  }
  .card-top {
    font-size: 8px;
  }
  .card-star {
    font-size: 45px;
  }
  .stamp {
    max-height: 65px;
  }
  .stamp.stamped {
    font-size: 40px;
  }
  .card-back {
    padding: 20px 24px;
  }
  .qr-safe img {
    width: 232px;
  }
  .back-bottom {
    font-size: 10px;
  }
  .auth-layout {
    gap: 30px;
  }
  .form-panel {
    padding: 27px;
  }
  .account-grid {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0 20px;
  }
  .masthead {
    min-height: 72px;
    gap: 15px;
  }
  .header-actions {
    gap: 15px;
  }
  .account-link {
    font-size: 8px;
    padding: 9px 11px;
  }
  .header-actions .text-button {
    font-size: 8px;
  }
  #menu-toggle {
    font-size: 9px;
  }
  .desktop-nav {
    display: flex;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .desktop-nav::-webkit-scrollbar {
    display: none;
  }
  .desktop-nav a {
    flex: 0 0 auto;
    border: 0;
    font-size: 10px;
    padding: 12px 17px 13px 0;
    gap: 0;
    white-space: nowrap;
  }
  .desktop-nav a[aria-current]:after {
    left: 0;
    right: 17px;
  }
  .spectrum-section {
    padding: 33px 21px 45px;
  }
  .section-top {
    font-size: 7px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    padding-bottom: 13px;
    gap: 14px;
  }
  .section-top > span:last-child {
    max-width: 128px;
  }
  .hero {
    padding-top: 20px;
    padding-bottom: 18px;
  }
  .hero .section-top {
    font-size: 6px;
    margin-bottom: 0;
    line-height: 1.6;
  }
  .hero .section-top > span:last-child {
    max-width: 110px;
  }
  .poster-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0;
  }
  .hero-copy {
    padding: 28px 0 0;
  }
  .hero-copy > .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: 37px;
    letter-spacing: -0.6px;
    margin: 13px 0 17px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em {
    letter-spacing: -1.8px;
    margin-left: 4px;
  }
  .hero-copy > p {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 19px;
  }
  .hero-links .button {
    min-height: 41px;
    font-size: 9px;
    min-width: 172px;
    padding: 12px 17px;
  }
  .hero-copy > .placeholder {
    font-size: 5.5px;
    margin-top: 13px;
  }
  .chrome-stage {
    min-height: 250px;
    height: 260px;
    width: 100%;
    margin: 2px 0 13px;
  }
  .spectrum-section h2 {
    font-size: 44px;
    letter-spacing: -0.9px;
    line-height: 1.06;
  }
  .spectrum-section h2 em {
    letter-spacing: -1.8px;
  }
  .spectrum-section p {
    font-size: 11px;
    line-height: 1.8;
  }
  .placeholder {
    font-size: 6px;
    line-height: 1.6;
  }
  .event-list {
    margin-top: 28px;
  }
  .event-row {
    gap: 15px;
    padding: 22px 0;
    align-items: start;
  }
  .event-row h3 {
    font-size: 29px;
    letter-spacing: -0.5px;
  }
  .event-row p {
    font-size: 9px;
  }
  .event-row .eyebrow {
    font-size: 7px;
  }
  .index {
    font-size: 7px;
  }
  .text-link {
    font-size: 10px;
    margin-top: 22px;
    gap: 45px;
  }
  .merch-grid {
    gap: 17px;
    margin-top: 28px;
  }
  .merch-item h3 {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.3px;
  }
  .merch-item > .eyebrow {
    font-size: 6px;
  }
  .merch-item > p {
    font-size: 9px;
  }
  .merch-item .placeholder {
    font-size: 5px;
  }
  .merch-item .small {
    font-size: 8px !important;
  }
  .card-promo {
    grid-template-columns: 1fr;
    gap: 34px;
    margin: 35px 0 0;
  }
  .card-promo h3 {
    font-size: 31px;
    margin-bottom: 13px;
  }
  .card-promo p {
    font-size: 10px;
  }
  .card-promo .button {
    max-width: 240px;
    font-size: 10px;
  }
  .artist-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 25px;
  }
  .artist {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 1px 18px;
    align-items: start;
  }
  .artist p {
    font-size: 8px;
    margin: 3px 0;
  }
  .artist .placeholder {
    font-size: 5.5px;
    justify-self: start;
    max-width: 185px;
  }
  .contact-list {
    margin-top: 27px;
  }
  .contact-list article {
    padding: 21px 0;
  }
  .contact-list .eyebrow {
    font-size: 7px;
  }
  .contact-list h3 {
    font-size: 31px;
    letter-spacing: -0.6px;
  }
  .page-main {
    padding: 29px 21px 50px;
  }
  .page-heading {
    padding-bottom: 23px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 45px;
    line-height: 1.07;
    letter-spacing: -0.9px;
    margin: 22px 0 20px;
  }
  .lede {
    font-size: 16px;
    line-height: 1.6;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 450px;
  }
  .form-panel {
    padding: 24px 20px;
  }
  .form-panel h2 {
    font-size: 29px;
  }
  .form-panel .eyebrow {
    font-size: 7px;
  }
  .form-panel > p,
  .form-panel small {
    font-size: 9px;
  }
  .field {
    font-size: 10px;
  }
  .field input,
  .field textarea {
    font-size: 16px;
  }
  .button {
    font-size: 10px;
    padding: 13px 17px;
    min-width: 160px;
    gap: 22px;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card-layout {
    gap: 22px;
  }
  .card-intro > .eyebrow {
    font-size: 7px;
  }
  .card-intro h2 {
    font-size: 45px;
    line-height: 1.04;
    margin: 18px 0;
  }
  .card-intro > p {
    font-size: 11px;
  }
  .card-intro .button {
    font-size: 9px;
    min-width: 0;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .card-status {
    font-size: 8px;
  }
  .small {
    font-size: 9px !important;
  }
  .card-stage {
    padding-top: 14px;
  }
  .card-tilt {
    aspect-ratio: 1.18;
  }
  .card-face {
    border-radius: 13px;
  }
  .card-front {
    padding: 19px 21px;
  }
  .card-top {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .card-star {
    font-size: 34px;
  }
  .card-name {
    font-size: 32px;
    line-height: 1.1;
    margin: 17px 0;
  }
  .stamp-grid {
    gap: 8px;
  }
  .stamp {
    max-height: 48px;
    font-size: 8px;
  }
  .stamp.stamped {
    font-size: 31px;
  }
  .card-bottom {
    font-size: 5px;
    gap: 6px;
    margin-top: 13px;
    letter-spacing: 0.1px;
  }
  .card-back {
    padding: 14px 18px;
  }
  .back-top {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .qr-frame {
    padding: 5px;
    border-radius: 7px;
    margin: 6px;
  }
  .qr-safe img {
    width: 180px;
  }
  .back-bottom {
    font-size: 8px;
  }
  .back-bottom span {
    font-size: 5.5px;
  }
  .card-actions {
    margin-top: 25px;
    gap: 12px;
  }
  .card-actions .button {
    min-width: 180px;
    font-size: 9px;
    min-height: 41px;
  }
  .card-hint {
    font-size: 7.5px !important;
  }
  .stamp-history {
    margin-top: 40px;
    padding-top: 20px;
  }
  .stamp-history h2 {
    font-size: 28px;
  }
  .stamp-history li {
    font-size: 7px;
    gap: 12px;
    line-height: 1.8;
  }
  .count {
    font-size: 8px;
    padding: 4px 7px;
  }
  .scanner-panel h2 {
    font-size: 32px;
  }
  .scanner-panel p {
    font-size: 10px;
  }
  .camera-frame {
    aspect-ratio: 1;
    margin-top: 23px;
  }
  .camera-frame > span {
    font-size: 6px;
  }
  .scan-buttons .button {
    min-width: 130px;
    font-size: 9px;
    gap: 9px;
    padding: 12px 15px;
  }
  .file-label {
    flex-basis: 100% !important;
  }
  .scanner-panel .small {
    font-size: 8px !important;
  }
  #scan-result {
    font-size: 11px;
    padding: 15px;
  }
  .admin-shortcut {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .admin-shortcut p {
    font-size: 10px;
  }
  .editor-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .editor .section-top h2 {
    font-size: 28px;
  }
  .editor .section-top > span {
    font-size: 6px;
  }
  .editor summary {
    font-size: 12px;
  }
  .checkbox {
    font-size: 10px;
  }
  .ticket-shop {
    padding: 24px 20px;
  }
  .ticket-shop h2 {
    font-size: 32px;
  }
  .ticket-shop p {
    font-size: 11px;
  }
  .ticket-shop .button {
    min-width: 0;
    gap: 20px;
  }
  .embed-shell iframe {
    min-height: 700px;
  }
  .contact-form {
    margin-top: 30px;
  }
  .inquiry p {
    font-size: 11px;
  }
  .inquiry small {
    font-size: 8px;
  }
  .notice {
    font-size: 11px;
    padding: 14px 16px;
  }
  .site-footer {
    padding: 33px 21px 20px;
  }
  .preview-banner {
    font-size: 6px;
    padding: 8px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .card-tilt {
    transform: none !important;
  }
}

.stamp-history li > span {
  filter: grayscale(1);
}

/* Keep both Ritual marks from the supplied artwork in one header control. */
.brand-lockup {
  display: block;
  width: 100%;
  line-height: 1;
}
.bisous-lettering {
  display: block;
  width: 100%;
  aspect-ratio: 3.6;
  background-color: currentColor;
  mask: url('/art/bisous-mask.webp') center / contain no-repeat;
}
.ritual-lockup {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7%;
  width: 100%;
  color: inherit;
}
.ritual-emblem,
.ritual-lettering {
  display: inline-block;
  background-color: currentColor;
  mask-image: url('/art/ritual.webp?v=2');
  mask-mode: luminance;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.ritual-emblem {
  width: 30%;
  aspect-ratio: 325/332;
  mask-size: 172.31% auto;
  mask-position: 46.38% 21.49%;
}
.ritual-lettering {
  width: 60%;
  aspect-ratio: 199/101;
  mask-size: 281.41% auto;
  mask-position: 48.2% 86.33%;
}
#ritual-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 156px;
  min-height: 56px;
  padding: 4px;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 3px;
}
[data-theme='ritual'] #ritual-switch {
  color: var(--ritual-logo);
}
#ritual-switch:not(:disabled):hover {
  border-color: var(--accent);
}
#ritual-switch:disabled {
  opacity: 1;
}
@media (max-width: 600px) {
  #ritual-switch {
    width: clamp(110px, 37vw, 144px);
    min-height: 52px;
  }
}

.night-title {
  display: none;
}

/* Reading and touch sizes are shared by both themes. */
.account-link,
.header-actions .text-button,
#menu-toggle {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#menu-toggle {
  display: none;
}
.desktop-nav a {
  font-size: 14px;
  min-height: 48px;
  gap: 8px;
}
.section-top,
.hero .section-top {
  font-size: 11px;
  letter-spacing: 0.3px;
}
.eyebrow,
.hero-copy > .eyebrow {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.6px;
}
.placeholder,
.hero-copy > .placeholder,
.artist .placeholder,
.merch-item .placeholder {
  font-size: 11px;
  line-height: 1.6;
  padding: 5px 8px;
}
.hero-copy > p,
.spectrum-section p {
  font-size: 16px;
  line-height: 1.7;
}
.button,
.hero-links .button,
.hero-links .text-link,
.text-link {
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
}
.index {
  font-size: 11px;
}
.event-row .eyebrow,
.event-row p {
  font-size: 12px;
  line-height: 1.7;
}
.artist p,
.merch-item > .eyebrow {
  font-size: 12px;
}
.merch-item > p,
.merch-item .small {
  font-size: 14px !important;
}
.field,
.checkbox {
  font-size: 14px;
}
.field input,
.field textarea {
  border-color: var(--muted);
}
.form-panel > p,
.form-panel small,
.form-panel .eyebrow,
.small,
.scanner-panel p,
.scanner-panel .small,
.ticket-shop p,
.inquiry p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.form-panel .field {
  font-size: 14px;
}
.card-intro > p {
  font-size: 16px;
}
.card-status {
  font-size: 12px;
}
.card-intro .button,
.card-actions .button {
  font-size: 14px;
}
.card-top,
.back-top {
  font-size: 10px;
  letter-spacing: 0.2px;
}
.card-bottom {
  font-size: 8px;
  letter-spacing: 0;
}
.back-bottom {
  font-size: 12px;
}
.back-bottom span {
  font-size: 10px;
}
.card-hint {
  font-size: 12px !important;
}
.card-top,
.back-top,
.card-name,
.stamp-grid,
.card-bottom,
.back-bottom {
  color: #252727;
}
.card-face .small {
  color: #393939;
}
.stamp-history li {
  font-size: 12px;
}
.camera-frame > span {
  font-size: 11px;
}
.scan-buttons .button {
  font-size: 14px;
  min-height: 48px;
}
.scanner-panel #scan-result {
  font-size: 16px;
}
.editor summary,
.editor-form .field,
.editor .section-top > span,
.inquiry small {
  font-size: 13px;
}
.preview-banner {
  font-size: 12px;
}
.notice {
  font-size: 14px;
}
.black:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 85%, var(--paper));
  color: var(--paper);
}
.outline-button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}

/* Ritual keeps the route's single hue, with readable dark-surface values. */
:root[data-theme='ritual'] {
  color-scheme: dark;
  --paper: #0b0b0d;
  --ink: #f1eff2;
  --panel: #171719;
  --muted: #b6b4ad;
  --line: #e8e6de38;
}
[data-theme='ritual'] body {
  --accent: var(--ritual-accent);
}
[data-theme='ritual'] .bisous-lettering {
  display: none;
}
[data-theme='ritual'] .ritual-lockup {
  display: flex;
}
[data-theme='ritual'] .day-title {
  display: none;
}
[data-theme='ritual'] .night-title {
  display: inline;
}
[data-theme='ritual'] .celestial-fallback {
  border-radius: 50%;
  background: radial-gradient(ellipse at 80% 26%, #747472, #373735 36%, #18181a 62%, #070708 79%);
  box-shadow: inset 0 0 24px #050505;
}
[data-theme='ritual'] .site-footer {
  background: #080808;
  border-top: 1px solid var(--line);
}

@media (max-width: 1150px) {
  .masthead {
    gap: 20px;
  }
  .header-actions {
    gap: 10px;
  }
  .desktop-nav a {
    font-size: 13px;
  }
}
@media (max-width: 850px) {
  .header-actions {
    gap: 10px;
  }
  #menu-toggle {
    display: inline-flex;
  }
  .desktop-nav a {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .card-stage {
    padding: 25px 0;
  }
  .card-face {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0 20px;
  }
  .masthead {
    min-height: 84px;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .header-actions {
    gap: 7px;
    margin-left: auto;
  }
  .account-link {
    padding: 8px;
    font-size: 12px;
  }
  #menu-toggle {
    font-size: 12px;
    min-width: 44px;
    padding: 7px 0;
  }
  .header-actions .text-button {
    font-size: 12px;
  }
  .header-actions form {
    display: block;
  }
  html[data-theme] .desktop-nav {
    display: none;
  }
  .section-top,
  .hero .section-top {
    font-size: 10px;
    gap: 16px;
    line-height: 1.7;
  }
  .section-top > span:last-child {
    max-width: 135px;
  }
  .hero .section-top > span:last-child {
    display: none;
  }
  .hero-copy > .eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.15;
  }
  .hero-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-links .button {
    font-size: 14px;
    min-height: 46px;
    min-width: 190px;
  }
  .hero-copy > .placeholder {
    font-size: 11px;
  }
  .chrome-stage {
    height: 290px;
    min-height: 290px;
  }
  .spectrum-section h2 {
    font-size: 40px;
  }
  .spectrum-section p {
    font-size: 16px;
    line-height: 1.7;
  }
  .placeholder,
  .artist .placeholder,
  .merch-item .placeholder {
    font-size: 11px;
  }
  .text-link {
    font-size: 14px;
    min-height: 44px;
  }
  .event-row h3 {
    font-size: 28px;
  }
  .event-row {
    gap: 13px;
  }
  .index {
    font-size: 11px;
  }
  .event-row p,
  .event-row .eyebrow {
    font-size: 12px;
  }
  .merch-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .merch-item > .eyebrow {
    font-size: 12px;
  }
  .merch-item h3 {
    font-size: 30px;
  }
  .merch-item > p {
    font-size: 14px;
  }
  .artist {
    grid-template-columns: 90px 1fr;
    gap: 6px 15px;
  }
  .artist p {
    font-size: 12px;
  }
  .artist .placeholder {
    font-size: 10px;
  }
  .contact-list .eyebrow {
    font-size: 12px;
  }
  .contact-list h3 {
    font-size: 31px;
    overflow-wrap: anywhere;
  }
  .page-heading h1 {
    font-size: 42px;
  }
  .form-panel {
    padding: 23px 20px;
  }
  .form-panel .eyebrow {
    font-size: 11px;
  }
  .field,
  .form-panel .field,
  .checkbox {
    font-size: 14px;
  }
  .field input,
  .field textarea {
    font-size: 16px;
  }
  .button {
    font-size: 14px;
    min-height: 46px;
    min-width: 0;
  }
  .card-intro > p {
    font-size: 16px;
  }
  .card-intro .button {
    font-size: 14px;
  }
  .card-status {
    font-size: 12px;
  }
  .card-tilt {
    aspect-ratio: 0.98;
  }
  .card-name {
    font-size: 30px;
    margin: 18px 0;
  }
  .card-top,
  .back-top {
    font-size: 9px;
  }
  .card-bottom {
    font-size: 8px;
    margin-top: 15px;
  }
  .back-bottom {
    font-size: 11px;
  }
  .back-bottom span {
    font-size: 9px;
  }
  .qr-safe img {
    width: 180px;
  }
  .card-actions .button {
    font-size: 14px;
  }
  .card-hint {
    font-size: 12px !important;
  }
  .stamp-history li {
    font-size: 11px;
  }
  .card-stage {
    padding: 15px 0;
  }
  .stamp-grid {
    gap: 8px;
  }
  .stamp {
    max-height: 49px;
  }
  .card-front {
    padding: 20px;
  }
  .card-back {
    padding: 16px;
  }
  .card-promo .button {
    font-size: 14px;
  }
  .card-promo p {
    font-size: 16px;
  }
  .scanner-panel .small,
  .scanner-panel p {
    font-size: 14px !important;
  }
  .scan-buttons .button {
    font-size: 14px;
    min-width: 125px;
  }
  .camera-frame > span {
    font-size: 11px;
  }
  #scan-result {
    font-size: 16px;
  }
  .editor summary,
  .editor-form .field,
  .checkbox,
  .editor .section-top > span {
    font-size: 13px;
  }
  .ticket-shop p {
    font-size: 14px;
  }
  .ticket-shop .button {
    font-size: 14px;
  }
  .preview-banner {
    font-size: 12px;
  }
  .notice {
    font-size: 14px;
  }
}

.hero h1 em {
  margin-inline-start: 0.15em;
}

/* Shared layout for Bisous and Ritual. */
.site-header {
  padding-inline: clamp(18px, 5vw, 76px);
  border-bottom-color: var(--line);
}
.masthead {
  max-width: 1340px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-height: 84px;
  margin-inline: auto;
  border: 0;
}
#ritual-switch {
  width: 132px;
  padding: 5px;
  margin-left: -5px;
  border-radius: 12px;
  background: transparent;
}
.header-actions {
  justify-self: end;
}
.account-link,
#menu-toggle {
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.desktop-nav a,
.desktop-nav a:first-child,
.desktop-nav a:last-child {
  min-height: 44px;
  padding: 8px 11px;
  font-size: 14px;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
}
.desktop-nav a[aria-current],
#mobile-menu a[aria-current] {
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
  color: var(--accent);
  font-weight: 800;
}
.desktop-nav a[aria-current]::after {
  content: none;
}
.desktop-nav a:not([aria-current]):hover,
.account-link:hover,
#menu-toggle:hover {
  background: var(--panel);
}
#mobile-menu {
  padding: 8px 18px 20px;
  border-color: var(--line);
  box-shadow: 0 10px 24px #0002;
}
#mobile-menu a {
  padding: 11px 14px;
  font-size: 16px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
}
.preview-banner {
  padding: 7px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font:
    700 12px/1.4 Nunito,
    system-ui,
    sans-serif;
}
.hero {
  isolation: isolate;
  padding: clamp(22px, 4vw, 54px) clamp(20px, 7vw, 110px);
  border: 0;
  background:
    radial-gradient(
      ellipse at 78% 67%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 53%
    ),
    var(--paper);
}
.poster-grid {
  max-width: 1240px;
  min-height: min(580px, 68svh);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-inline: auto;
}
.hero-copy {
  padding: 10px 0;
}
.hero h1 {
  max-width: 8ch;
  font:
    950 clamp(64px, 8.1vw, 128px)/0.89 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: -0.073em;
  margin: 0 0 23px;
  overflow-wrap: normal;
}
.hero h1 em {
  display: block;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}
.hero h1 em {
  color: var(--accent);
}
.hero-copy > p {
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.35;
  margin: 0 0 26px;
}
.button {
  border-radius: 999px;
  font-family: inherit;
  min-width: 0;
  gap: 16px;
}
.hero-button {
  min-height: 52px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 800;
}
.hero-button.black .arrow-icon {
  color: currentColor;
}
.hero-button.black:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 85%, black);
  color: #fff;
}
.chrome-stage {
  min-height: clamp(360px, 43vw, 620px);
}
.chrome-stage::before,
.chrome-stage::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.chrome-stage::before {
  inset: 73% 13% 5%;
  background: radial-gradient(ellipse, #4c29202b, transparent 66%);
  filter: blur(11px);
  transform: translateY(9%);
}
.tilt-permission {
  border-radius: 999px;
}
[data-theme='ritual'] .hero {
  background:
    radial-gradient(ellipse at 78% 54%, #202024 0%, transparent 51%),
    linear-gradient(180deg, #0b0b0d 52%, #141419 84%, #0b0b0d);
}
[data-theme='ritual'] .hero-button,
[data-theme='ritual'] .hero-button.black:hover:not(:disabled) {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
[data-theme='ritual'] .hero-button.black:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 90%, white);
}
[data-theme='ritual'] .chrome-stage::before {
  inset: 57% -23% -8% -23%;
  background:
    radial-gradient(ellipse 44% 9% at 49% 48%, #c6c5cd45, transparent),
    radial-gradient(ellipse 35% 10% at 78% 36%, #b4b4bd28, transparent),
    radial-gradient(ellipse 43% 17% at 56% 58%, #9999a233, transparent),
    radial-gradient(ellipse 35% 19% at 34% 70%, #9a999f33, transparent);
  filter: blur(17px);
  transform: rotate(-6deg);
}
[data-theme='ritual'] .chrome-stage::after {
  z-index: 2;
  inset: 62% -15% 4% -15%;
  background:
    radial-gradient(ellipse 45% 9% at 38% 49%, #d5d3d835, transparent),
    radial-gradient(ellipse 41% 12% at 69% 71%, #c1c0ca32, transparent);
  filter: blur(10px);
  transform: rotate(3deg);
}

.home-directory {
  width: min(100% - 2 * clamp(20px, 7vw, 110px), 1240px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-block: 22px 70px;
  margin-inline: auto;
}
.home-directory .spectrum-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 40px);
  background: var(--panel);
}
.home-directory h2,
.page-heading h1 {
  margin: 0 0 16px;
  text-transform: none;
  font:
    900 clamp(28px, 4vw, 48px)/1.06 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
}
.home-directory .text-link {
  margin-top: 10px;
  gap: 14px;
  min-height: 44px;
  font-weight: 750;
}
.empty-note {
  color: var(--muted);
}
.home-directory p,
.item-meta {
  margin-block: 0 8px;
}
.home-directory .event-list,
.home-directory .artist-grid,
.home-directory .merch-grid,
.home-directory .contact-list {
  margin-top: 16px;
}
.page-main {
  width: min(100% - 2 * clamp(20px, 7vw, 110px), 1140px);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 80px) 0;
}
.page-heading {
  border-bottom: 0;
  padding: 0;
  margin: 0 0 27px;
}
.page-heading h1 {
  font-size: clamp(44px, 6vw, 78px);
  color: var(--ink);
}
.event-row,
.contact-list article {
  border-color: var(--line);
  padding: 15px 0;
}
.event-row h3,
.contact-list h3,
.artist h3,
.merch-item h3,
.form-panel h2,
.card-intro h2 {
  font:
    850 clamp(20px, 2.4vw, 29px)/1.12 Nunito,
    system-ui,
    sans-serif;
  text-transform: none;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}
.item-meta {
  color: var(--muted);
  font-size: 14px;
}
.artist,
.merch-item {
  padding: 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.home-directory .artist-grid,
.home-directory .merch-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 10px;
}
.form-panel,
.ticket-shop,
.editor {
  border-radius: 20px;
  background: var(--panel);
  border-color: var(--line);
}
.auth-layout {
  display: block;
  max-width: 520px;
}
.contact-form {
  max-width: 620px;
}
.field input,
.field textarea {
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 20px clamp(20px, 7vw, 110px);
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

@media (min-width: 861px) {
  #menu-toggle {
    display: none;
  }
}
@media (max-width: 860px) {
  .masthead {
    grid-template-columns: 1fr auto;
    min-height: 70px;
    padding-block: 4px;
  }
  #menu-toggle {
    display: inline-flex;
  }
  html[data-theme] .desktop-nav {
    display: none;
  }
  html:not([data-theme]) .desktop-nav {
    order: 3;
    grid-column: 1 / -1;
    padding-bottom: 8px;
  }
  html:not([data-theme]) #menu-toggle {
    display: none;
  }
}
@media (max-width: 650px) {
  .hero {
    padding: 26px 20px 10px;
  }
  .poster-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .hero-copy {
    text-align: center;
    padding: 10px 0 0;
  }
  .hero h1 {
    max-width: none;
    margin: 0 0 12px;
    font-size: clamp(54px, 12vw, 73px);
  }
  .hero-copy > p {
    margin-bottom: 17px;
  }
  .hero-button {
    min-height: 46px;
  }
  .chrome-stage {
    height: clamp(265px, 78vw, 390px);
    min-height: 0;
    margin: 0;
  }
  .home-directory {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 14px 36px;
  }
  .home-directory .spectrum-section {
    border-radius: 18px;
  }
  .page-main .artist-grid,
  .page-main .merch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
