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

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: #0c1411;
  color: #f3e6c8;
}

body {
  overflow: hidden;
}

.leaf {
  display: contents;
}

.hero-side,
.hero-night-desk {
  display: none;
}

.stage {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  transition: background 1.8s ease;
}

.stage.is-day {
  background: #d8cbb4;
}

.stage.is-night {
  background: #321c0c;
}

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.8s ease;
}

.hero-night {
  object-position: center 36%;
  opacity: 1;
  z-index: 0;
}

.hero-day {
  object-position: center 34%;
  opacity: 0;
  z-index: 1;
}

.stage.is-day .hero-day {
  opacity: 1;
}

.stage.is-day .hero-night {
  opacity: 0.15;
}

.stage.is-night .hero-night {
  top: 2.4rem;
  bottom: -2.4rem;
}

.stage.is-night::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: 4.4rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #2b170b 0%,
    #321c0c 46%,
    rgba(50, 28, 12, 0) 100%
  );
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 1.8s ease;
}

.veil-night {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(8, 14, 12, 0.38) 0%, transparent 34%),
    linear-gradient(90deg, rgba(8, 14, 12, 0.42) 0%, transparent 42%),
    radial-gradient(ellipse 80% 70% at 70% 55%, transparent 40%, rgba(6, 10, 9, 0.28) 100%);
}

.veil-day {
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.34) 0%, transparent 36%),
    linear-gradient(90deg, rgba(248, 238, 220, 0.4) 0%, transparent 42%);
}

.stage.is-day .veil-night {
  opacity: 0;
}

.stage.is-day .veil-day {
  opacity: 1;
}

.plate {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 1.35rem;
  row-gap: 0.35rem;
  max-width: none;
  max-height: none;
  overflow: visible;
  padding: 0.85rem 1.35rem 1.15rem;
  padding-top: max(0.85rem, env(safe-area-inset-top));
  border-radius: 0;
  background: rgba(8, 14, 12, 0.9);
  transition: color 1.8s ease, background 1.8s ease, text-shadow 1.8s ease;
}

.stage.is-day .plate {
  background: rgba(255, 248, 236, 0.94);
}

.kicker,
.when {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: #f3e6c8;
  transition: color 1.8s ease;
}

.kicker {
  width: 100%;
  margin-bottom: 0;
}

h1 {
  margin: 0;
  font-family: "Poiret One", "Didot", "Bodoni 72", serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: #f6edd8;
  text-shadow: 0 1px 18px rgba(8, 12, 10, 0.45);
  transition: color 1.8s ease, text-shadow 1.8s ease;
}

.stage.is-night h1,
.stage.is-night .hold summary {
  animation: moon-sign 7.2s linear infinite;
}

@keyframes moon-sign {
  0%, 8%, 100% {
    color: #e7f6ee;
    text-shadow:
      0 0 8px rgba(46, 190, 120, 0.55),
      0 0 22px rgba(16, 140, 88, 0.42);
  }
  10%, 14%, 22%, 31%, 44%, 52% {
    color: #d8ffe8;
    text-shadow:
      0 0 4px rgba(220, 255, 236, 1),
      0 0 16px rgba(64, 255, 160, 0.95),
      0 0 36px rgba(12, 180, 100, 0.78),
      0 0 52px rgba(8, 120, 70, 0.48);
  }
  12%, 16%, 19%, 27%, 36%, 48%, 55% {
    color: #efe6d2;
    text-shadow:
      0 0 2px rgba(22, 90, 60, 0.2);
  }
  62%, 78% {
    color: #eafff3;
    text-shadow:
      0 0 12px rgba(80, 230, 150, 0.72),
      0 0 28px rgba(24, 170, 100, 0.52);
  }
  70% {
    color: #f4efe2;
    text-shadow:
      0 0 6px rgba(46, 180, 110, 0.35);
  }
}

.rule {
  width: 7.5rem;
  height: 1px;
  margin: 1.05rem 0 0.95rem;
  background: #c4a574;
  opacity: 0.85;
  transition: background 1.8s ease, width 1.2s ease;
}

.when {
  letter-spacing: 0.28em;
}

.tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  max-width: 18.5rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #e8d7b4;
  transition: color 1.8s ease, opacity 1.2s ease;
}

.tagline-lead {
  margin: 0;
}

.tagline-rule {
  display: block;
  width: 6.5rem;
  height: 1px;
  background: #c4a574;
  opacity: 0.55;
  transition: background 1.8s ease, opacity 1.2s ease, width 1.2s ease;
}

.tagline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-style: normal;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.tagline-item {
  position: relative;
  margin: 0;
  padding: 0.2rem 0.45rem 0.2rem 1.15rem;
  margin-left: -0.45rem;
  border-radius: 2px;
  line-height: 1.32;
  cursor: pointer;
  transition: color 1.8s ease, background-color 0.35s ease;
}

.tagline-item + .tagline-item {
  margin-top: 0.08rem;
}

/* Hollow diamond mark — picks up each line’s jewel color */
.tagline-item::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0.28rem;
  width: 0.34rem;
  height: 0.34rem;
  border: 1px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
  opacity: 0.8;
  transition: border-color 1.8s ease, opacity 1.2s ease;
}

/* Night (moon): luminous jade + rose garnet */
.tagline-item--tea {
  color: #7eb39a;
}

.tagline-item--vows {
  color: #c4889c;
}

.tagline-item--tea:hover,
.tagline-item--tea:focus-visible {
  background-color: rgba(126, 179, 154, 0.22);
  outline: none;
}

.tagline-item--vows:hover,
.tagline-item--vows:focus-visible {
  background-color: rgba(196, 136, 156, 0.22);
  outline: none;
}

/* Day (sun): deeper forest emerald + wine */
.stage.is-day .tagline-item--tea {
  color: #1f5a45;
}

.stage.is-day .tagline-item--vows {
  color: #6e2740;
}

.stage.is-day .tagline-item--tea:hover,
.stage.is-day .tagline-item--tea:focus-visible {
  background-color: rgba(31, 90, 69, 0.14);
}

.stage.is-day .tagline-item--vows:hover,
.stage.is-day .tagline-item--vows:focus-visible {
  background-color: rgba(110, 39, 64, 0.14);
}

.guest-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
}

.guest-cta {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(216, 194, 154, 0.65);
  border-radius: 2px;
  background: rgba(8, 14, 12, 0.42);
  color: #f6edd8;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s ease, border-color 0.35s ease, color 1.8s ease;
}

.guest-cta:hover,
.guest-cta:focus-visible {
  background: rgba(216, 194, 154, 0.22);
  border-color: rgba(216, 194, 154, 0.95);
  outline: none;
}

.guest-cta-note {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #e8d7b4;
  opacity: 0.85;
  transition: color 1.8s ease;
}

.stage.is-day .guest-cta {
  border-color: rgba(74, 58, 40, 0.45);
  background: rgba(255, 248, 236, 0.55);
  color: #2c2418;
}

.stage.is-day .guest-cta:hover,
.stage.is-day .guest-cta:focus-visible {
  background: rgba(255, 248, 236, 0.85);
  border-color: rgba(74, 58, 40, 0.7);
}

.stage.is-day .guest-cta-note {
  color: #4a3a28;
}

.hold {
  margin: 0 0 0.15rem;
}

.hold summary {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  cursor: pointer;
  list-style: none;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: #e8d7b4;
}

.hold summary::-webkit-details-marker {
  display: none;
}

.hold summary::marker {
  content: "";
}

.hold summary::before {
  content: "▶";
  font-style: normal;
  font-size: 0.62em;
  line-height: 1;
  color: inherit;
}

.hold[open] summary::before {
  content: "▼";
}

.hold-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.hold-form label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d8c29a;
}

.hold-form input {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(216, 194, 154, 0.45);
  border-radius: 2px;
  background: rgba(8, 14, 12, 0.45);
  color: #f6edd8;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

button.guest-cta {
  appearance: none;
  cursor: pointer;
}

.hold-save {
  margin-top: 0.25rem;
  align-self: flex-start;
}

.hold-note {
  margin: 0.55rem 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #f6edd8;
}

.stage.is-day .hold summary,
.stage.is-day .hold-form label,
.stage.is-day .hold-note {
  color: #4a3a28;
}

.stage.is-day .hold-form input {
  border-color: rgba(74, 58, 40, 0.35);
  background: rgba(255, 248, 236, 0.72);
  color: #2c2418;
}

.stage.is-day .kicker,
.stage.is-day .when {
  color: #6b5340;
}

.stage.is-day h1 {
  color: #2c2418;
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.35);
}

.stage.is-day .rule {
  background: #8a6a48;
}

.stage.is-day .tagline {
  color: #4a3a28;
}

.stage.is-day .tagline-rule {
  background: #8a6a48;
  opacity: 0.5;
}

.poster-line {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 4;
  flex: 1 1 16rem;
  width: auto;
  max-width: 22rem;
  margin: 0;
  padding: 0;
  transform: none;
  text-align: left;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.82rem, 2.1vw, 1.05rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #f3e6c8;
  text-shadow: none;
  background: transparent;
  border-radius: 0;
  pointer-events: none;
  transition: color 1.8s ease, text-shadow 1.8s ease, background 1.8s ease;
}

.poster-line-caret {
  display: inline-block;
  width: 0.55em;
  margin-left: 0.06em;
  border-right: 1px solid currentColor;
  opacity: 0.55;
  animation: poster-caret 0.9s steps(1) infinite;
  vertical-align: baseline;
}

.poster-line.is-done .poster-line-caret {
  opacity: 0;
  animation: none;
  border-right-color: transparent;
}

@keyframes poster-caret {
  50% {
    opacity: 0;
  }
}

.stage.is-day .poster-line {
  color: #2c2418;
  text-shadow: none;
  background: transparent;
}

.orbit {
  position: absolute;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  z-index: 4;
  display: flex;
  gap: 0.45rem;
}

.orb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.38rem 0.7rem 0.38rem 0.5rem;
  border: 1px solid rgba(216, 194, 154, 0.35);
  background: rgba(8, 14, 12, 0.28);
  color: #e8d7b4;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
}

.orb-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.orb-sun .orb-mark {
  background: #e8c98a;
  box-shadow: 0 0 8px rgba(232, 201, 138, 0.45);
}

.orb-moon .orb-mark {
  background: transparent;
  box-shadow: inset -0.22rem 0 0 currentColor;
  border-color: transparent;
}

.orb[aria-pressed="true"] {
  border-color: rgba(216, 194, 154, 0.85);
  background: rgba(8, 14, 12, 0.5);
}

.stage.is-day .orb {
  border-color: rgba(74, 58, 40, 0.28);
  background: rgba(255, 248, 236, 0.42);
  color: #4a3a28;
}

.stage.is-day .orb[aria-pressed="true"] {
  border-color: rgba(74, 58, 40, 0.55);
  background: rgba(255, 248, 236, 0.7);
}

@media (max-width: 900px), ((hover: none) and (pointer: coarse)) {
  body {
    overflow: auto;
  }

  .hero-night,
  .hero-day {
    object-fit: cover;
    object-position: center 42%;
    transform: none;
  }

  .veil-night {
    background:
      linear-gradient(180deg, rgba(8, 14, 12, 0.22) 0%, transparent 28%, rgba(8, 14, 12, 0.55) 78%, rgba(8, 14, 12, 0.78) 100%),
      linear-gradient(90deg, rgba(8, 14, 12, 0.2) 0%, transparent 50%);
  }

  .veil-day {
    background:
      linear-gradient(180deg, transparent 0%, transparent 48%, rgba(255, 248, 236, 0.55) 100%),
      linear-gradient(90deg, rgba(255, 248, 236, 0.18) 0%, transparent 50%);
  }

  .stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .stage.is-day .plate {
    background: rgba(255, 248, 236, 0.92);
  }

  .plate {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    row-gap: 0.2rem;
    max-width: none;
    max-height: none;
    min-width: 0;
    margin: 0;
    padding: 0.6rem 1rem 0.7rem;
    padding-top: max(0.6rem, env(safe-area-inset-top));
    background: rgba(8, 14, 12, 0.9);
  }

  h1 {
    font-size: 2.05rem;
  }

  .rule {
    margin: 0.35rem 0;
  }

  .poster-line {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: flex-start;
    box-sizing: border-box;
    flex: none;
    width: auto;
    max-width: 18rem;
    min-width: 0;
    margin: 0.35rem 0 0;
    padding: 0;
    transform: none;
    white-space: normal;
    overflow-wrap: break-word;
    font-size: 0.86rem;
    text-align: left;
  }

  .orbit {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    margin: auto 1.25rem max(1rem, env(safe-area-inset-bottom));
  }

  .tagline {
    max-width: 22rem;
  }

  .tagline-list {
    max-width: 22rem;
  }
}

.plate.is-fitted {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 1.05rem;
  row-gap: 0.28rem;
  overflow: hidden;
  font-weight: 600;
}

.plate.is-fitted > * {
  min-width: 0;
  max-width: 100%;
}

.plate-side {
  display: contents;
}

.plate.is-fitted .kicker { grid-column: 1; grid-row: 1; }
.plate.is-fitted h1 { grid-column: 1; grid-row: 2; }
.plate.is-fitted .when { grid-column: 1; grid-row: 3; }
.plate.is-fitted .guest-cta-wrap { grid-column: 1; grid-row: 4; align-self: start; }
.plate.is-fitted .poster-line { grid-column: 1; grid-row: 5; align-self: end; }
.plate.is-fitted .plate-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: stretch;
  gap: 0.7rem;
  min-height: 0;
  height: 100%;
}
.plate.is-fitted .plate-side .tagline,
.plate.is-fitted .plate-side .hold {
  grid-column: auto;
  grid-row: auto;
  transition: opacity 0.4s ease;
}
.plate.is-fitted .plate-side .tagline {
  min-height: auto;
  overflow: visible;
}
.plate.is-fitted .plate-side .hold {
  flex: 0 0 auto;
  min-height: auto;
}
.plate.is-fitted.is-naming .tagline-lead,
.plate.is-fitted.is-naming .tagline-rule,
.plate.is-fitted.is-naming .tagline-item {
  display: none;
}
.plate.is-fitted.is-naming .plate-side {
  gap: 0;
  justify-content: flex-start;
}
.plate.is-fitted.is-naming .hold {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
}
.plate.is-fitted.is-naming .hold-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.22rem 0.35rem;
  margin-top: 0.28rem;
  align-content: start;
}
.plate.is-fitted.is-naming .hold-form label:nth-child(3),
.plate.is-fitted.is-naming .hold-save {
  grid-column: 1 / -1;
}
.plate.is-fitted.is-naming .hold-form label {
  gap: 0.06rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}
.plate.is-fitted.is-naming .hold-form input {
  padding: 0.22rem 0.35rem;
  font-size: 0.92rem;
}
.plate.is-fitted .rule { display: none; }

.plate.is-fitted h1 {
  font-size: 1.7rem;
  line-height: 1.02;
  -webkit-text-stroke: 0.45px currentColor;
  paint-order: stroke fill;
}

.plate.is-fitted .kicker,
.plate.is-fitted .when,
.plate.is-fitted .tagline,
.plate.is-fitted .tagline-item,
.plate.is-fitted .guest-cta,
.plate.is-fitted .hold,
.plate.is-fitted .hold summary,
.plate.is-fitted .poster-line {
  font-weight: 600;
}

.plate.is-fitted .kicker,
.plate.is-fitted .when {
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.plate.is-fitted .tagline,
.plate.is-fitted .tagline-list {
  display: contents;
}

.plate.is-fitted .tagline-lead {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.plate.is-fitted .tagline-rule {
  display: none;
}

.plate.is-fitted .tagline-list,
.plate.is-fitted .poster-line {
  max-width: 100%;
}

.plate.is-fitted .tagline-item {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.32;
  white-space: normal;
  overflow-wrap: break-word;
}

.plate.is-fitted .guest-cta-wrap {
  max-width: 100%;
  margin: 0;
}

.plate.is-fitted .guest-cta {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.32rem 0.55rem;
  letter-spacing: 0.08em;
  font-size: 0.64rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.plate.is-fitted .hold {
  margin: 0;
  padding-top: 0;
}

.plate.is-fitted .hold summary {
  font-size: 0.84rem;
  line-height: 1.3;
}

.plate.is-fitted .poster-line {
  flex: none;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
}

.plate.is-tight {
  row-gap: 0.1rem;
}

.plate.is-tight h1 {
  font-size: 1.42rem;
}

.plate.is-tight .rule,
.plate.is-tight .tagline-rule {
  display: none;
}

.plate.is-tight .tagline {
  font-size: 0.84rem;
  line-height: 1.22;
}

.plate.is-tight .kicker,
.plate.is-tight .when {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.plate.is-tight .guest-cta {
  letter-spacing: 0.1em;
  padding: 0.28rem 0.55rem;
}

.qa-tools {
  position: fixed;
  z-index: 40;
  left: 0.55rem;
  bottom: max(0.55rem, env(safe-area-inset-bottom));
  width: 11.6rem;
  padding: 0.32rem 0.42rem 0.45rem;
  color: #2c2418;
  background: rgba(255, 248, 236, 0.96);
  border: 1px solid rgba(74, 58, 40, 0.4);
  border-radius: 0.45rem;
  box-shadow: 0 8px 22px rgba(8, 14, 12, 0.28);
  font: 600 0.62rem/1.2 -apple-system, BlinkMacSystemFont, sans-serif;
}

.qa-tools.is-min {
  width: auto;
  padding: 0.22rem 0.32rem;
}

.qa-tools.is-min .qa-tools-body {
  display: none;
}

.qa-tools-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 1.35rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.qa-tools-bar strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.58rem;
}

.qa-tools-min {
  margin: 0;
  padding: 0.12rem 0.38rem;
  cursor: pointer;
  color: #2c2418;
  background: #fff;
  border: 1px solid rgba(74, 58, 40, 0.35);
  border-radius: 0.25rem;
  font: 700 0.75rem/1 -apple-system, BlinkMacSystemFont, sans-serif;
}

.qa-tools-body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-top: 0.28rem;
}

.qa-tools-body label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.08rem 0.35rem;
  align-items: center;
}

.qa-tools-body input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: #6b5340;
}

.qa-tools-body output {
  font-variant-numeric: tabular-nums;
  color: #6b5340;
}

.qa-pages {
  left: auto;
  right: 0.55rem;
  bottom: auto;
  top: 0.55rem;
}

.qa-images-open,
.qa-slot,
.qa-image-close {
  font: inherit;
  cursor: pointer;
}

.qa-images-open {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid rgba(74, 58, 40, 0.45);
  background: #fff;
  color: #2c2418;
}

.qa-image-modal {
  position: fixed;
  z-index: 50;
  right: 0.55rem;
  top: 14rem;
  width: min(18rem, calc(100vw - 1.2rem));
}

.qa-image-sheet {
  padding: 0.4rem;
  background: rgba(255, 248, 236, 0.98);
  border: 1px solid rgba(74, 58, 40, 0.4);
  border-radius: 0.45rem;
  box-shadow: 0 10px 28px rgba(8, 14, 12, 0.32);
}

.qa-image-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.qa-image-bar strong {
  margin-right: auto;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qa-slot,
.qa-image-close {
  border: 1px solid rgba(74, 58, 40, 0.35);
  background: #fff;
  color: #2c2418;
  padding: 0.15rem 0.4rem;
}

.qa-slot.is-on {
  background: #2c2418;
  color: #f6f1e7;
}

.qa-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.28rem;
  max-height: 16rem;
  overflow: auto;
}

.qa-thumb {
  padding: 0;
  border: 2px solid transparent;
  background: #1c1612;
  cursor: pointer;
}

.qa-thumb.is-on {
  border-color: #6b5340;
}

.qa-thumb img {
  display: block;
  width: 100%;
  height: 3.2rem;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .veil,
  .plate,
  .kicker,
  .when,
  h1,
  .rule,
  .tagline,
  .tagline-rule,
  .poster-line,
  .stage,
  .plate.is-fitted .plate-side,
  .plate.is-fitted .plate-side .tagline {
    transition: none;
  }

  .stage.is-night h1,
  .stage.is-night .hold summary {
    animation: none;
  }

  .poster-line-caret {
    animation: none;
    opacity: 0;
  }
}

@media (min-width: 980px) and (hover: hover) and (pointer: fine) {
  body {
    overflow: hidden;
    background: #140e0a;
  }

  .stage {
    display: grid;
    grid-template-columns: 551px 551px;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0.55rem 0.55rem 3.3rem;
    background: #140e0a;
  }

  .leaf {
    display: block;
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 768px;
    margin: 8px;
    padding: 2px;
    overflow: hidden;
  }

  .stage.is-night::before,
  .veil {
    display: none;
  }

  .leaf .hero,
  .stage.is-night .hero-night,
  .stage.is-night .hero-night-desk {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 34%;
  }

  .hero-day,
  .hero-night,
  .hero-side {
    display: none;
  }

  .stage.is-night .hero-night-desk,
  .stage.is-night .hero-night-side,
  .stage.is-day .hero-day,
  .stage.is-day .hero-day-side {
    display: block;
  }

  .leaf-copy .plate {
    position: absolute;
    inset: auto;
    left: -6px;
    top: 458px;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 547px;
    max-width: none;
    height: 329px;
    margin: 0;
    padding: 80px;
    opacity: 1;
    overflow: hidden;
    border-radius: 0;
    background: rgba(12, 10, 8, 0.42);
    box-shadow: none;
    text-align: left;
  }

  .leaf-copy .kicker,
  .leaf-copy .when,
  .leaf-copy h1,
  .leaf-copy .rule,
  .leaf-copy .guest-cta-wrap,
  .leaf-copy .plate-side,
  .leaf-copy .poster-line {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    align-self: stretch;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .stage.is-day .leaf-copy .plate {
    background: rgba(255, 248, 236, 0.55);
  }

  h1 {
    font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  }

  .tagline-lead {
    font-size: 1.2rem;
  }

  .tagline-item {
    font-size: 1.05rem;
  }

  .plate-side {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .orbit {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0.7rem;
  }

  .leaf-copy .plate.is-fitted {
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .leaf-copy .plate.is-fitted .poster-line,
  .leaf-copy .plate.is-fitted .plate-side,
  .leaf-copy .plate.is-fitted .tagline,
  .leaf-copy .plate.is-fitted .tagline-list {
    display: block;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    overflow: visible;
  }
}
