:root {
  --ink: var(--parares-ink, #191714);
  --muted: var(--parares-muted, #6a6258);
  --paper: var(--parares-paper, #f6efe1);
  --paper-strong: var(--parares-paper-strong, #fffaf0);
  --burgundy: var(--parares-burgundy, #7e1d2d);
  --burgundy-deep: var(--parares-burgundy-deep, #4c1220);
  --gold: var(--parares-gold, #c49a45);
  --gold-soft: var(--parares-gold-soft, #edd28a);
  --teal: var(--parares-teal, #0f615c);
  --teal-deep: var(--parares-teal-deep, #073b3a);
  --blue: var(--parares-blue, #274a6d);
  --line: var(--parares-border, rgba(25, 23, 20, 0.16));
  --shadow: var(--parares-shadow, 0 20px 70px rgba(18, 15, 11, 0.18));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--parares-background, #f4f0e7);
  font-family: var(--parares-font-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  letter-spacing: 0;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--paper-strong);
  color: var(--ink);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 5vw;
  color: #fffaf0;
  background: rgba(16, 18, 17, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.site-banner {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 5vw;
  color: #1d1a16;
  background:
    linear-gradient(90deg, rgba(196, 154, 69, 0.24), rgba(255, 250, 240, 0.96)),
    #fffaf0;
  border-bottom: 1px solid rgba(25, 23, 20, 0.12);
}

.site-banner.is-offline {
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(76, 18, 32, 0.96), rgba(126, 29, 45, 0.9)),
    #7e1d2d;
}

.site-banner[hidden] {
  display: none !important;
}

.site-banner strong,
.site-banner span {
  display: block;
}

.site-banner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.site-banner span {
  margin-top: 0.12rem;
  color: currentColor;
  opacity: 0.78;
  font-size: 0.9rem;
  line-height: 1.35;
}

.site-banner a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 23, 20, 0.14);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.9);
  color: #1d1a16;
  padding: 0 0.8rem;
  font-weight: 800;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-lockup {
  display: block;
  width: auto;
  height: clamp(60px, 5.5vw, 72px);
  max-width: min(286px, 76vw);
  object-fit: contain;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}

.brand strong,
.brand small {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.brand small {
  margin-top: 0.1rem;
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.78rem;
}

.nav-links {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  color: rgba(255, 250, 240, 0.84);
}

.nav-links a {
  flex: 0 0 auto;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--gold);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.lang-button {
  min-width: 44px;
  min-height: 34px;
  color: #fffaf0;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.lang-button.is-active {
  color: var(--ink);
  background: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 80svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffaf0;
  background: #15130f;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 12, 9, 0.82) 0%, rgba(18, 12, 9, 0.54) 42%, rgba(18, 12, 9, 0.08) 100%),
    linear-gradient(180deg, rgba(18, 12, 9, 0.06) 0%, rgba(18, 12, 9, 0.58) 100%);
}

.hero-inner {
  position: relative;
  width: min(760px, 90vw);
  padding: 5.8rem 0 10.2rem 5vw;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 0.95;
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  margin: 1.3rem 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action,
.solid-button,
.quiet-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.1;
}

.primary-action,
.solid-button {
  color: #201306;
  background: linear-gradient(135deg, #ffe3a0, #bc822f);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.secondary-action,
.quiet-button {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.legal-note {
  max-width: 620px;
  margin: 1.15rem 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-strip {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.route-tile {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 0.34rem;
  padding: 1.2rem;
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.route-tile:hover,
.route-tile:focus-visible {
  background: rgba(255, 250, 240, 0.2);
  border-color: rgba(237, 210, 138, 0.82);
}

.route-kicker {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.route-tile strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.route-tile span:last-child {
  color: rgba(255, 250, 240, 0.78);
}

.section {
  padding: 5.5rem 5vw;
}

.intro-section {
  background: linear-gradient(90deg, #fffaf0, #f3efe6);
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 2rem;
}

.section-heading.narrow {
  max-width: 780px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.value-grid,
.ops-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-grid article,
.ops-grid article {
  min-height: 148px;
  padding: 1.3rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(39, 74, 109, 0.08);
}

.value-grid strong,
.ops-grid strong {
  display: block;
  color: var(--burgundy);
  font-size: 1.08rem;
}

.value-grid p,
.ops-grid span {
  display: block;
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.category-strip {
  width: min(1120px, 100%);
  margin: 1.1rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.category-pill {
  display: grid;
  gap: 0.38rem;
  min-height: 118px;
  padding: 1.15rem;
  color: #1d1a16;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(87, 49, 37, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(39, 74, 109, 0.07);
}

.category-pill:hover,
.category-pill:focus-visible {
  border-color: rgba(122, 30, 45, 0.42);
  box-shadow: 0 18px 42px rgba(39, 74, 109, 0.11);
}

.category-pill span {
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-pill strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.category-pill small {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.product-section {
  background: var(--paper);
}

.product-section + .product-section {
  border-top: 1px solid rgba(25, 23, 20, 0.12);
}

.shop-items-section {
  background: linear-gradient(180deg, #fffaf0, #f0e8d9);
  border-top: 1px solid rgba(25, 23, 20, 0.12);
}

.shop-items-section[hidden] {
  display: none;
}

.shop-product-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.shop-product-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(39, 74, 109, 0.1);
}

.shop-card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #eee4d1;
}

.shop-card-media img,
.shop-card-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-card-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  color: #fffaf0;
  background: radial-gradient(circle at 50% 25%, rgba(196, 154, 69, 0.45), rgba(45, 44, 40, 0.96));
}

.shop-card-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.shop-card-placeholder span {
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.78rem;
}

.shop-card-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.shop-card-thumbs img {
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1px solid rgba(25, 23, 20, 0.1);
}

.shop-card-copy {
  display: grid;
  gap: 0.4rem;
}

.shop-card-copy span {
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-card-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.14;
}

.shop-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.shop-card-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 0.65rem;
}

.shop-card-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.shop-card-controls select,
.shop-card-controls input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shop-card-footer small {
  color: var(--muted);
  font-weight: 800;
}

.shop-card-footer .quiet-button.is-selected {
  color: #fffaf0;
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.config-shell,
.seat-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.control-panel,
.seat-controls,
.certificate-stage,
.seat-map-panel {
  min-width: 0;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.control-panel,
.seat-controls {
  padding: 1.2rem;
}

.control-panel {
  display: grid;
  gap: 1rem;
}

label,
fieldset {
  min-width: 0;
}

label > span,
legend {
  display: block;
  margin-bottom: 0.38rem;
  color: #3a332b;
  font-weight: 800;
}

input[type="email"],
input[type="text"],
select,
textarea {
  width: 100%;
  border: 1px solid rgba(25, 23, 20, 0.24);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 0.75rem 0.8rem;
}

textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.45;
}

.field-hint {
  display: block;
  margin-top: 0.38rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.segmented,
.delivery-options {
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.segmented legend {
  grid-column: 1 / -1;
}

.segment {
  min-height: 42px;
  padding: 0.55rem 0.45rem;
  color: var(--ink);
  background: #f2e7d4;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 6px;
  font-weight: 800;
}

.segment.is-active {
  color: #fffaf0;
  background: var(--teal);
}

.delivery-options {
  display: grid;
  gap: 0.5rem;
}

.delivery-options label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(25, 23, 20, 0.14);
  border-radius: 6px;
}

.delivery-note {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.quote-line {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
  border-radius: 6px;
}

.quote-line strong {
  color: var(--gold-soft);
  font-size: 1.35rem;
}

.certificate-stage {
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(196, 154, 69, 0.18), transparent 26%),
    linear-gradient(135deg, #1c312f, #10120f 68%);
}

.certificate-preview {
  position: relative;
  width: min(520px, 100%);
  min-height: 600px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 3.2rem 2.6rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.5), transparent 22%),
    radial-gradient(circle at 82% 74%, rgba(88, 47, 18, 0.12), transparent 28%),
    linear-gradient(135deg, #f8e6bd, #d9b879 52%, #f2dcae);
  border: 10px double rgba(79, 37, 15, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  font-family: "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

.certificate-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(88, 47, 18, 0.35);
  box-shadow: inset 0 0 48px rgba(88, 47, 18, 0.16);
  pointer-events: none;
}

.certificate-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(76, 18, 32, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(76, 18, 32, 0.05) 1px, transparent 1px);
  background-size: 34px 34px, 42px 42px;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.certificate-preview.style-baroque {
  color: #fff7df;
  background:
    radial-gradient(circle at 50% 24%, rgba(237, 210, 138, 0.28), transparent 25%),
    linear-gradient(135deg, #2b1019, #7e1d2d 46%, #1b1212);
  border-color: rgba(237, 210, 138, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), inset 0 0 0 9px rgba(237, 210, 138, 0.14);
}

.certificate-preview.style-gold {
  color: #271706;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.65), transparent 23%),
    linear-gradient(130deg, #fff5c9, #cf9a2e 46%, #fff0b1 72%, #8d5e18);
  border-color: rgba(76, 18, 32, 0.58);
  box-shadow: 0 28px 70px rgba(90, 57, 13, 0.36), inset 0 0 0 10px rgba(255, 250, 240, 0.26);
}

.certificate-preview.style-archive {
  color: #28251f;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.34), transparent 21%),
    linear-gradient(135deg, #ddd4bd, #b7ac91 54%, #ebe1c9);
  border-color: rgba(15, 97, 92, 0.58);
  box-shadow: 0 28px 70px rgba(32, 41, 37, 0.32), inset 0 0 0 10px rgba(15, 97, 92, 0.1);
  filter: saturate(0.9);
}

.certificate-preview > *:not(.certificate-watermark) {
  position: relative;
  z-index: 2;
}

.certificate-watermark {
  position: absolute;
  z-index: 1;
  width: 255px;
  height: 255px;
  object-fit: contain;
  opacity: 0.13;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.style-baroque .certificate-watermark {
  opacity: 0.2;
  filter: sepia(1) saturate(1.3) brightness(1.35);
}

.style-gold .certificate-watermark {
  opacity: 0.13;
}

.certificate-kicker,
.certificate-small {
  margin: 0;
  color: #6b3019;
  font-weight: 800;
}

.style-baroque .certificate-kicker,
.style-baroque #certificate-purpose,
.style-baroque #certificate-dedication,
.style-baroque .certificate-small,
.style-baroque .certificate-meta {
  color: rgba(255, 247, 223, 0.9);
}

.style-gold .certificate-kicker,
.style-gold #certificate-purpose,
.style-gold #certificate-dedication,
.style-gold .certificate-small,
.style-gold .certificate-meta {
  color: rgba(39, 23, 6, 0.86);
}

.style-archive .certificate-kicker,
.style-archive #certificate-purpose,
.style-archive #certificate-dedication,
.style-archive .certificate-small,
.style-archive .certificate-meta {
  color: rgba(24, 43, 39, 0.82);
}

.certificate-kicker {
  text-transform: uppercase;
  font-size: 0.86rem;
}

.certificate-preview h3 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  line-height: 1.05;
}

#certificate-purpose {
  margin: 0;
  color: #6a3420;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

#certificate-dedication {
  max-width: 32ch;
  margin: 0;
  color: #3c3023;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-line;
  max-height: 10.4em;
  overflow: hidden;
}

.certificate-seal {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.certificate-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(72, 26, 18, 0.3));
  opacity: 1;
}

.certificate-meta {
  margin: -0.2rem 0 0;
  color: rgba(57, 37, 25, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.certificate-small {
  max-width: 36ch;
  color: rgba(57, 37, 25, 0.74);
  font-size: 0.72rem;
  line-height: 1.4;
}

.ornament {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 50, 19, 0.7), transparent);
}

.seats-section {
  background: #edf3ef;
}

.seat-shell {
  grid-template-columns: 360px 1fr;
}

.seat-controls {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.metric-row span {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
}

.metric-row strong {
  color: var(--teal);
  font-size: 1.55rem;
}

.metric-row small {
  color: var(--muted);
}

.block-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  max-height: 328px;
  overflow: auto;
  padding-right: 0.2rem;
  overscroll-behavior: contain;
}

.block-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.75rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(25, 23, 20, 0.14);
  border-radius: 6px;
  text-align: left;
}

.block-button.is-active {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  border-color: rgba(15, 97, 92, 0.65);
}

.block-button b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-button small {
  opacity: 0.74;
}

.legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.legend span {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted);
}

.legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(25, 23, 20, 0.18);
}

.hover-readout {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 0.26rem;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
}

.hover-readout span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hover-readout strong {
  color: var(--teal-deep);
  line-height: 1.35;
}

.legend-free {
  background: #f8f6ed;
}

.legend-selected {
  background: var(--gold);
}

.legend-held {
  background: var(--blue);
}

.legend-sold {
  background: var(--burgundy);
}

.selected-box {
  min-height: 152px;
  padding: 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
}

.selected-box ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.selected-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.48rem 0.58rem;
  background: #f4f0e7;
  border-radius: 6px;
  color: #2c2822;
  font-size: 0.92rem;
}

.selected-box button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #fffaf0;
  background: var(--burgundy);
  border: 0;
  border-radius: 50%;
  font-weight: 800;
}

#empty-selection {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.seat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.quiet-button {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(25, 23, 20, 0.16);
}

.draft-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 700;
  line-height: 1.45;
}

.seat-map-panel {
  overflow: hidden;
}

.seat-map-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: #fffaf0;
  background: linear-gradient(135deg, #142522, var(--teal-deep));
}

.seat-map-header span {
  display: block;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.84rem;
}

.seat-map-header strong {
  display: block;
  margin-top: 0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

#block-availability {
  flex: 0 0 auto;
  padding: 0.45rem 0.65rem;
  color: #201306;
  background: var(--gold-soft);
  border-radius: 999px;
  font-weight: 800;
}

.map-tools,
.cosmic-tools {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.map-mode,
.cosmic-mode {
  min-height: 32px;
  padding: 0.34rem 0.65rem;
  color: #fffaf0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.map-mode.is-active,
.cosmic-mode.is-active {
  color: #201306;
  background: var(--gold-soft);
}

.map-canvas-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

#seat-canvas,
#space-canvas {
  width: 100%;
  aspect-ratio: 980 / 650;
  display: block;
  background:
    radial-gradient(circle at 50% 12%, rgba(237, 210, 138, 0.18), transparent 30%),
    linear-gradient(180deg, #f8fbf7, #e4ebe4);
  touch-action: manipulation;
}

#space-canvas {
  display: none;
  background: #050706;
  touch-action: none;
}

.seat-map-panel.is-space #seat-canvas {
  display: none;
}

.seat-map-panel.is-space #space-canvas {
  display: block;
}

.seat-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 240px;
  padding: 0.48rem 0.62rem;
  color: #fffaf0;
  background: rgba(16, 18, 17, 0.92);
  border: 1px solid rgba(237, 210, 138, 0.42);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-size: 0.86rem;
  line-height: 1.35;
  pointer-events: none;
}

.space-help {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: none;
  padding: 0.7rem 0.8rem;
  color: rgba(255, 250, 240, 0.78);
  background: rgba(10, 13, 14, 0.72);
  border: 1px solid rgba(237, 210, 138, 0.22);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}

.seat-map-panel.is-space .space-help {
  display: block;
}

.checkout-section {
  background: linear-gradient(180deg, var(--paper-strong), #eee8dc);
}

.checkout-trust-row {
  width: min(1120px, 100%);
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.checkout-trust-row span {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 0.28rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
}

.checkout-trust-row strong {
  color: var(--teal-deep);
  font-size: 0.92rem;
}

.checkout-trust-row small {
  color: var(--muted);
  line-height: 1.38;
}

.checkout-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.checkout-panel,
.order-access-panel {
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(39, 74, 109, 0.1);
}

.panel-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--burgundy);
}

.panel-kicker span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-kicker strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.checkbox-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-summary {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.checkout-line {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  background: #fbfaf7;
  border: 1px solid rgba(25, 23, 20, 0.1);
  border-radius: 8px;
}

.checkout-line span,
.order-card li span {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.checkout-line small,
.order-card li small {
  color: var(--muted);
  line-height: 1.35;
}

.checkout-line.is-summary,
.order-item-row.is-summary {
  min-height: 48px;
  background: rgba(237, 210, 138, 0.1);
  border-color: rgba(196, 154, 69, 0.24);
}

.checkout-line.is-total,
.order-item-row.is-total {
  min-height: 52px;
  background: rgba(126, 29, 45, 0.1);
  border-color: rgba(196, 154, 69, 0.38);
}

.checkout-line.is-total strong,
.checkout-line.is-total b {
  color: #7e1d2d;
}

.order-item-row.is-total strong,
.order-item-row.is-total b {
  color: #edd28a;
}

.checkout-empty,
.checkout-note,
.lookup-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-fields {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
}

.payment-box {
  min-inline-size: 0;
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0.85rem;
  color: #fffaf0;
  background: linear-gradient(135deg, #142522, var(--teal-deep));
  border: 0;
  border-radius: 8px;
}

.payment-box legend {
  padding: 0;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-option {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  cursor: pointer;
}

.payment-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.payment-option input {
  margin-top: 0.18rem;
}

.payment-option span {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.payment-option strong {
  color: #fffaf0;
  font-size: 0.94rem;
}

.payment-option small,
.payment-box small {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.4;
}

.payment-status {
  color: var(--gold-soft) !important;
  font-weight: 800;
}

.delivery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.checkout-legal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.delivery-summary span,
.checkout-legal-summary span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 0.24rem;
  padding: 0.72rem;
  background: #fbfaf7;
  border: 1px solid rgba(25, 23, 20, 0.1);
  border-radius: 8px;
}

.delivery-summary strong,
.checkout-legal-summary strong {
  color: var(--burgundy-deep);
  font-size: 0.9rem;
}

.delivery-summary small,
.checkout-legal-summary small,
.access-helper {
  color: var(--muted);
  line-height: 1.38;
}

.legal-consent {
  align-items: flex-start;
  margin: 0 0 1rem;
  background: #fbfaf7;
}

.legal-consent input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.legal-consent > span {
  min-width: 0;
  display: grid;
  gap: 0.48rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-inline-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-inline-links a,
.footer-links a {
  color: var(--teal-deep);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.access-helper {
  margin: -0.2rem 0 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(15, 97, 92, 0.08);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
}

.checkout-note {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-weight: 800;
}

.is-error {
  color: var(--burgundy) !important;
}

.lookup-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.order-result,
.lookup-result {
  margin-bottom: 1rem;
}

.order-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(196, 154, 69, 0.18), transparent 34%),
    #18211f;
  color: #fffaf0;
  border-radius: 8px;
}

.order-card-head,
.order-card h3,
.order-card h4,
.order-card ul {
  margin: 0;
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.18rem;
}

.order-card-head span {
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.status-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  color: #fffaf0;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.status-chip.is-good {
  background: #0f615c;
}

.status-chip.is-waiting {
  color: #201306;
  background: #edd28a;
}

.status-chip.is-muted {
  background: #6a6258;
}

.status-chip.is-neutral {
  background: #274a6d;
}

.order-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.order-meta span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  padding: 0.58rem 0.65rem;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.order-meta small {
  color: rgba(255, 250, 240, 0.55);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-card-section {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.25rem;
}

.order-card-section h4 {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-card ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.order-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 8px;
}

.fulfillment-row {
  background: rgba(237, 210, 138, 0.11);
  border-color: rgba(237, 210, 138, 0.22);
}

.document-row {
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(196, 154, 69, 0.28);
}

.communication-row {
  background: rgba(15, 97, 92, 0.16);
  border-color: rgba(237, 210, 138, 0.18);
}

.fulfillment-row b {
  white-space: normal;
}

.pdf-links {
  display: grid;
  gap: 0.55rem;
}

.pdf-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(237, 210, 138, 0.26);
  border-radius: 8px;
}

.pdf-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #201306;
  background: linear-gradient(135deg, #ffe3a0, #bc822f);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
}

.pdf-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.pdf-copy strong {
  color: #fffaf0;
}

.pdf-copy small,
.pdf-empty span,
.order-card small {
  color: rgba(255, 250, 240, 0.74);
  line-height: 1.4;
}

.pdf-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.85rem;
  color: #201306;
  background: linear-gradient(135deg, #ffe3a0, #bc822f);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.pdf-button:hover,
.pdf-button:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.pdf-empty {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  background: rgba(255, 250, 240, 0.08);
  border: 1px dashed rgba(237, 210, 138, 0.28);
  border-radius: 8px;
}

.order-hint {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.82rem;
  line-height: 1.45;
}

.order-hint strong {
  color: var(--gold-soft);
}

.order-hint ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-preview {
  background: #fffaf0;
}

.ops-grid article {
  background: #18211f;
  color: #fffaf0;
}

.ops-grid strong {
  color: var(--gold-soft);
}

.ops-grid span {
  color: rgba(255, 250, 240, 0.74);
}

.faq-section {
  background: #f4f0e7;
}

.faq-list {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(25, 23, 20, 0.06);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 1rem 1.1rem;
  color: var(--burgundy-deep);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 5vw;
  color: rgba(255, 250, 240, 0.78);
  background: #101211;
}

.site-footer strong {
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.footer-brandline {
  min-width: min(100%, 460px);
  display: grid;
  gap: 0.25rem;
}

.footer-brandline span {
  line-height: 1.45;
}

.site-footer .footer-links a {
  color: rgba(255, 250, 240, 0.82);
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--gold-soft);
}

.legal-page {
  background: linear-gradient(180deg, #fffaf0 0%, #f4f0e7 46%, #ede6d8 100%);
}

.legal-hero {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 1.4rem;
  align-items: end;
  padding: 5.5rem 0 2rem;
}

.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.legal-hero p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-status {
  display: grid;
  gap: 0.32rem;
  padding: 1rem;
  color: #fffaf0;
  background: #18211f;
  border: 1px solid rgba(237, 210, 138, 0.28);
  border-radius: 8px;
}

.legal-status strong {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-status span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.legal-status small {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.45;
}

.legal-layout {
  width: min(1120px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 0.25fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 0 0 4rem;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(25, 23, 20, 0.06);
}

.legal-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
  color: var(--teal-deep);
  border-radius: 6px;
  font-weight: 850;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: #fffaf0;
  background: var(--teal-deep);
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-card {
  scroll-margin-top: 104px;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(39, 74, 109, 0.1);
}

.legal-card h2,
.legal-card h3,
.legal-card p,
.legal-card ul,
.legal-data-list {
  margin-top: 0;
}

.legal-card h2 {
  margin-bottom: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.legal-card h3 {
  margin-bottom: 0.45rem;
  color: var(--burgundy-deep);
  font-size: 1rem;
}

.legal-card p,
.legal-card li,
.legal-data-list dd {
  color: var(--muted);
  line-height: 1.68;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-data-list:last-child {
  margin-bottom: 0;
}

.legal-placeholder,
.legal-callout {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--paper-strong);
  border: 1px dashed rgba(126, 29, 45, 0.36);
  border-radius: 8px;
}

.legal-placeholder strong,
.legal-callout strong {
  color: var(--burgundy-deep);
}

.legal-placeholder p,
.legal-callout p {
  margin: 0.35rem 0 0;
}

.legal-data-list {
  display: grid;
  gap: 0.65rem;
}

.legal-data-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem;
  background: #fbfaf7;
  border: 1px solid rgba(25, 23, 20, 0.1);
  border-radius: 8px;
}

.legal-data-list dt {
  color: var(--teal-deep);
  font-weight: 900;
}

.legal-data-list dd {
  margin: 0;
}

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

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.18rem;
    -webkit-overflow-scrolling: touch;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(720px, 90vw);
    padding: 5rem 0 1.4rem 5vw;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .product-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 90vw;
    margin: 0 auto 1.8rem;
  }

  .config-shell,
  .seat-shell,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-trust-row {
    grid-template-columns: 1fr;
  }

  .certificate-stage {
    min-height: auto;
  }

  .value-grid,
  .ops-grid,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .seat-map-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .map-tools,
  .cosmic-tools {
    justify-self: stretch;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .delivery-summary,
  .checkout-legal-summary {
    grid-template-columns: 1fr;
  }

  .shop-card-controls,
  .shop-card-footer {
    grid-template-columns: 1fr;
  }

  .shop-card-footer {
    display: grid;
    align-items: stretch;
  }

  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.8rem 1rem;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.92rem;
  }

  .nav-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .site-banner {
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem;
  }

  .site-banner a {
    justify-self: start;
  }

  .hero-inner {
    width: calc(100% - 2rem);
    padding: 3.4rem 0 1rem 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .product-strip {
    width: calc(100% - 2rem);
    gap: 0.65rem;
    margin-bottom: 1.1rem;
  }

  .route-tile {
    min-height: 102px;
    padding: 0.95rem;
  }

  .legal-note {
    margin-top: 0.85rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .control-panel,
  .seat-controls,
  .checkout-panel,
  .order-access-panel {
    padding: 1rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .segmented,
  .metric-row,
  .legend,
  .seat-actions {
    grid-template-columns: 1fr;
  }

  .certificate-preview {
    min-height: 520px;
    padding: 2.6rem 1.5rem;
  }

  .certificate-preview h3 {
    font-size: 2.15rem;
  }

  .map-tools,
  .cosmic-tools {
    width: 100%;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    border-radius: 8px;
  }

  .map-mode,
  .cosmic-mode {
    width: 100%;
    min-height: 40px;
    border-radius: 7px;
  }

  .block-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 72%);
    grid-template-columns: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 0.2rem;
    -webkit-overflow-scrolling: touch;
  }

  .block-button {
    min-height: 58px;
    align-items: flex-start;
    flex-direction: column;
  }

  .map-canvas-wrap {
    min-height: 0;
  }

  #seat-canvas,
  #space-canvas {
    height: clamp(348px, 108vw, 520px);
    aspect-ratio: auto;
  }

  .seat-tooltip {
    max-width: min(240px, calc(100vw - 48px));
  }

  .checkout-line,
  .order-item-row,
  .pdf-tile,
  .order-meta {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .pdf-button {
    width: 100%;
  }

  .panel-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-card-head {
    display: grid;
    gap: 0.65rem;
  }

  .status-chip {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .legal-nav,
  .legal-data-list div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .language-switch {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .nav-links {
    grid-row: 3;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo-lockup {
    height: 56px;
    max-width: 82vw;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .certificate-preview {
    padding: 2.2rem 1rem;
  }

  .certificate-preview h3 {
    font-size: 1.85rem;
  }

  .metric-row span,
  .selected-box,
  .hover-readout {
    min-height: auto;
  }
}
