/**
 * Hero copy as a napkin — 3 switchable treatments.
 * Activate via html[data-napkin="linen|cocktail|black-tie"]
 * (aliases: 1 / 2 / 3). Query: ?napkin=linen|cocktail|black-tie
 */

/* —— Shared napkin shell (left hero copy card only) —— */
html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  --napkin-pad-x: 1.25rem;
  --napkin-pad-y: 1.05rem;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: auto;
  min-height: 0;
  width: fit-content;
  max-width: min(26rem, 100%);
  box-sizing: border-box;
  padding: var(--napkin-pad-y) var(--napkin-pad-x) calc(var(--napkin-pad-y) + 0.1rem);
  /* Kill glass look */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transform-origin: 18% 12%;
  animation:
    napkin-unfold 0.9s cubic-bezier(0.22, 0.82, 0.28, 1) both,
    napkin-rest 8.5s ease-in-out 0.95s infinite;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > :last-child {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > :last-child .btn {
  margin-top: 0.05rem;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede {
  margin: 0 0 0.55rem;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame h1 {
  margin: 0.12rem 0 0.4rem;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-kicker {
  margin: 0 0 0.4rem;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting {
  margin: 0 0 0.95rem;
  animation: none;
}

/* Soft unfold. The cloth tilts flat; the type stays readable the whole way. */
@keyframes napkin-unfold {
  from {
    opacity: 1;
    transform: perspective(720px) rotateX(6deg) rotateZ(-0.8deg) scale(0.985);
  }
  to {
    opacity: 1;
    transform: perspective(720px) rotateX(0deg) rotateZ(0deg) scale(1);
  }
}

/* Idle: linen just set down — a slow breath, not a bounce. */
@keyframes napkin-rest {
  0%,
  100% {
    transform: perspective(720px) rotateX(0deg) rotateZ(0deg) translateY(0) scale(1);
  }
  50% {
    transform: perspective(720px) rotateX(1.1deg) rotateZ(0.35deg) translateY(-3px) scale(1);
  }
}

/* Light walking the cloth, the way a room lamp crosses a set napkin. */
@keyframes napkin-sheen {
  0%,
  64%,
  100% {
    background-position: 130% 0, 0 0, 0 0;
  }
  82% {
    background-position: -45% 0, 0 0, 0 0;
  }
}

/* Idle corner breath — applied to decorative fold after settle */
@keyframes napkin-corner-lift {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-1.2deg) translateY(-1.5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
    animation: none !important;
  }

  html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after,
  html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-copy::before,
  html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-copy::before {
    animation: none !important;
  }
}

/* Shared fabric weave (CSS-only, no heavy image) */
html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* Folded corner tag */
html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
  width: 1.65rem;
  height: 1.65rem;
  top: 0.35rem;
  right: 0.4rem;
  transform-origin: 100% 0;
  animation: napkin-corner-lift 5.5s ease-in-out 0.9s infinite;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > * {
  position: relative;
  z-index: 2;
}

/* The sky word stays in the top bar. The card keeps the cloth, not a second Clear. */
html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-sky {
  display: none;
}

html[data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.napkin-sky) .greeting {
  padding-right: 0;
  max-width: calc(100% - 10.75rem);
}

html[data-day-playing='1'][data-napkin]:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.day-replay-hour:not([hidden])) .greeting {
  padding-right: 0;
  max-width: calc(100% - 10.75rem);
}

/* ============================================================
   1. LINEN — soft cloth, scalloped edge, ink-on-cloth
   ============================================================ */
html[data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  /* Warm paper-white cloth. Extra inset so type clears the scallop bites. */
  --napkin-pad-x: 2.25rem;
  --napkin-pad-y: 1.36rem;
  max-width: min(28.5rem, 100%);
  padding: 1.36rem 2.25rem 2.15rem 3.45rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 46%, #fbf7f0 100%);
  color: #161410;
  box-shadow:
    0 10px 28px color-mix(in srgb, #1a1814 22%, transparent),
    0 1px 0 color-mix(in srgb, #fff 70%, transparent) inset;
  -webkit-mask-image: url('hero/napkin-mask-scallop.svg?v=tight');
  mask-image: url('hero/napkin-mask-scallop.svg?v=tight');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (max-width: 560px) {
  html[data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
  html[data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
    padding: 1.16rem 1.7rem 1.75rem 2.55rem;
    max-width: 100%;
  }
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-copy::before {
  /* Faint warm thread — normal blend so it does not grey the cloth.
     The first layer is a slow sheen; the weave stays put. */
  background:
    linear-gradient(
      105deg,
      transparent 40%,
      rgba(255, 252, 245, 0.72) 50%,
      transparent 60%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(196, 176, 138, 0.14) 0 1px,
      transparent 1px 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.35) 0 1px,
      transparent 1px 5px
    );
  background-size: 240% 100%, auto, auto;
  background-repeat: no-repeat, repeat, repeat;
  background-position: 130% 0, 0 0, 0 0;
  opacity: 0.55;
  mix-blend-mode: normal;
  box-shadow: inset 0 0 0 11px rgba(232, 220, 196, 0.18);
  animation: napkin-sheen 9.5s ease-in-out 1.4s infinite;
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-copy::after {
  background: linear-gradient(135deg, #fff 40%, #f6f0e4 43%, transparent 46%);
  box-shadow: -1px 1px 2px color-mix(in srgb, #1a1814 14%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Shorter corner curl — stays inside the padding, clear of the type */
html[data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after {
  width: 0.85rem;
  height: 0.85rem;
  top: 0.5rem;
  right: 0.7rem;
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='linen'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .lede {
  color: #161410;
  text-shadow: 0 1px 0 color-mix(in srgb, #fff 55%, transparent);
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .lede {
  color: color-mix(in srgb, #161410 92%, #5c5348);
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-kicker {
  opacity: 0.72;
  letter-spacing: 0.1em;
}

html[data-napkin='linen'] .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-napkin='1'] .hero-feature.hero-has-crew-frame .hero-copy .btn {
  background: linear-gradient(180deg, #243044, #152033);
  background-color: #152033;
  color: #f7f2e8;
  border-radius: 0.35rem;
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 18%, transparent) inset;
}

/* Street lantern — night and evening only. Sits in the top-right padding. */
.napkin-lantern {
  display: none;
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  display: block;
  position: absolute;
  z-index: 4;
  top: 0.22rem;
  right: 0.38rem;
  width: 3.25rem;
  height: 5.5rem;
  pointer-events: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 5px rgba(255, 196, 96, 0.9)) drop-shadow(0 0 12px rgba(226, 150, 52, 0.55));
}

.napkin-lantern-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.oil-glass {
  fill: rgba(255, 246, 226, 0.42);
}

.oil-flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: napkin-flame 1.35s ease-in-out infinite;
}

@keyframes napkin-flame {
  0%,
  100% {
    transform: scale(1, 1) rotate(-1.4deg);
  }
  38% {
    transform: scale(0.9, 1.08) rotate(2deg);
  }
  72% {
    transform: scale(1.06, 0.94) rotate(-0.6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oil-flame {
    animation: none;
  }
}

/* Evening lamp is just lit; night burns brighter. */
html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  filter: drop-shadow(0 0 2px rgba(212, 156, 64, 0.4));
  opacity: 0.9;
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::after {
  display: none;
}

/* Morning — brighter daylight paper, no lantern */
html[data-phase='morning'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-phase='morning'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 42%, #f3f6fb 100%);
  color: #141814;
}

/* Evening — dusk linen, still cloth, lantern just lit */
html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  background:
    radial-gradient(ellipse 55% 42% at 18% 0%, rgba(255, 236, 206, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 34% at 88% 8%, rgba(214, 164, 84, 0.22), transparent 64%),
    linear-gradient(168deg, #8f7d68 0%, #7a6a58 48%, #6b5c4c 100%);
  color: #f6f0e4;
  padding-right: 4rem;
}

/* Night — deep warm linen, not a navy panel */
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  background:
    radial-gradient(ellipse 60% 48% at 12% 0%, rgba(255, 228, 190, 0.1), transparent 55%),
    radial-gradient(ellipse 42% 36% at 90% 10%, rgba(214, 158, 72, 0.2), transparent 66%),
    linear-gradient(168deg, #5c5146 0%, #4a4138 46%, #3c342e 100%);
  color: #f6f1e6;
  padding-right: 4rem;
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  background:
    repeating-linear-gradient(
      93deg,
      rgba(255, 236, 210, 0.08) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      3deg,
      rgba(48, 36, 24, 0.16) 0 1px,
      transparent 1px 3px
    );
  opacity: 0.9;
  mix-blend-mode: normal;
  box-shadow: inset 0 0 22px rgba(36, 26, 16, 0.22);
}

@media (max-width: 560px) {
  html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
  html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
  html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
  html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
    width: 2.55rem;
    height: 4.3rem;
    right: 0.28rem;
  }

  html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
  html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
  html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
  html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
    padding-right: 3.15rem;
    padding-left: 2.55rem;
  }
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame h1,
html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame h1,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame h1,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame h1,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede {
  color: #f6f1e6;
  text-shadow: 0 1px 0 rgba(12, 14, 20, 0.35);
}

html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .lede {
  color: color-mix(in srgb, #f6f1e6 88%, #c4b08a);
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .btn {
  background: linear-gradient(180deg, #f3e6c4, #d4bc8c);
  background-color: #e4d0a4;
  color: #1a1814;
}

/* House lights on — same charcoal linen, about 12% cream. No spill, no second sheet. */
html[data-lights='on'][data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-lights='on'][data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  background: linear-gradient(
    168deg,
    color-mix(in srgb, #f6f1e6 12%, #8f7d68) 0%,
    color-mix(in srgb, #f6f1e6 12%, #7a6a58) 48%,
    color-mix(in srgb, #f6f1e6 12%, #6b5c4c) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-lights='on'][data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-lights='on'][data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  background: linear-gradient(
    168deg,
    color-mix(in srgb, #f6f1e6 12%, #5c5146) 0%,
    color-mix(in srgb, #f6f1e6 12%, #4a4138) 46%,
    color-mix(in srgb, #f6f1e6 12%, #3c342e) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-lights='on'][data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-lights='on'][data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-lights='on'][data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-lights='on'][data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  box-shadow: none;
}

/* House lights on: the oil lamp stays, the flame goes out. */
html[data-lights='on'][data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-lights='on'][data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-lights='on'][data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-lights='on'][data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  filter: none;
  opacity: 1;
  box-shadow: none;
}

html[data-lights='on'] .oil-flame {
  display: none;
}

html[data-lights='on'] .oil-glass {
  fill: #6e655c;
}

html[data-lights='on'] .oil-shine {
  opacity: 0;
}

html[data-lights='on'] .oil-wick {
  fill: #14110e;
}

/* ============================================================
   2. COCKTAIL — default left card. A celebration tablecloth:
   ivory linen, a floral hem, laid on the table.
   ============================================================ */
html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  /* Ivory cloth. The hem dots live on .napkin-hem-x / .napkin-hem-y so each side is even. */
  background-color: #f4e7d6;
  background-image: none;
  color: #1c1612;
  border-radius: 0.35rem;
  box-shadow:
    0 1px 0 rgba(255, 252, 247, 0.7),
    0 14px 22px rgba(48, 32, 18, 0.18);
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  --napkin-pad-x: 1.7rem;
  --napkin-pad-y: 1.7rem;
  --napkin-inset: 1.7rem;
  padding: var(--napkin-inset);
  text-align: left;
  align-items: stretch;
  transform: none;
  animation: none;
}

@keyframes napkin-settle {
  from {
    opacity: 0;
    transform: perspective(720px) rotateX(8deg) rotateZ(-1.6deg) scale(0.96);
    filter: brightness(0.97);
  }
  62% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: rotate(-0.35deg);
    filter: none;
  }
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  /* Ivory linen over the hem, with a fold and a stitched gold line. */
  inset: 0.72rem;
  border-radius: 0.12rem;
  opacity: 1;
  mix-blend-mode: normal;
  box-shadow:
    inset 0 0 0 1px rgba(196, 154, 96, 0.55),
    inset 0 0 0 4px rgba(247, 241, 230, 0.55),
    inset 0 0 0 5px rgba(196, 154, 96, 0.35);
  /* Night sky is the default. Phase and weather retint it below. */
  background-color: #070b16;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 115%, rgba(48, 72, 120, 0.45), transparent 58%),
    linear-gradient(180deg, #070b16 0%, #10182c 46%, #1a2438 100%);
  background-size: auto, auto;
  background-position: center, center;
  background-repeat: no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-copy::after {
  content: none;
  animation: none;
}

/* Gold, blue, rose. Same pitch on opposite sides, and the same gap at both ends. */
html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-x,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-x,
html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-y,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-y {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-x,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-x {
  inset: 0;
  background-image:
    radial-gradient(circle at 7px 0.36rem, #c9963a 2.3px, transparent 2.8px),
    radial-gradient(circle at 21px 0.36rem, #2f6cb5 2.3px, transparent 2.8px),
    radial-gradient(circle at 35px 0.36rem, #b84a52 2.3px, transparent 2.8px),
    radial-gradient(circle at 7px calc(100% - 0.36rem), #c9963a 2.3px, transparent 2.8px),
    radial-gradient(circle at 21px calc(100% - 0.36rem), #2f6cb5 2.3px, transparent 2.8px),
    radial-gradient(circle at 35px calc(100% - 0.36rem), #b84a52 2.3px, transparent 2.8px);
  background-size: 42px 100%;
  background-repeat: round no-repeat, round no-repeat, round no-repeat, round no-repeat, round no-repeat, round no-repeat;
  background-position: center top;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-y,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hem-y {
  top: 0.72rem;
  bottom: 0.72rem;
  left: 0;
  right: 0;
  background-image:
    radial-gradient(circle at 0.36rem 7px, #c9963a 2.3px, transparent 2.8px),
    radial-gradient(circle at 0.36rem 21px, #2f6cb5 2.3px, transparent 2.8px),
    radial-gradient(circle at 0.36rem 35px, #b84a52 2.3px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 0.36rem) 7px, #c9963a 2.3px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 0.36rem) 21px, #2f6cb5 2.3px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 0.36rem) 35px, #b84a52 2.3px, transparent 2.8px);
  background-size: 100% 42px;
  background-repeat: no-repeat round, no-repeat round, no-repeat round, no-repeat round, no-repeat round, no-repeat round;
  background-position: left center;
}

/* Real bulbs replace the painted dots: glass, a slow color shift, a rolling glow. */
@property --bulb {
  syntax: '<color>';
  inherits: true;
  initial-value: #e2b15a;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-bulbs,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-bulbs {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.napkin-bulbs) > .napkin-hem-x,
html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.napkin-bulbs) > .napkin-hem-y,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.napkin-bulbs) > .napkin-hem-x,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy:has(.napkin-bulbs) > .napkin-hem-y {
  display: none;
}

.hem-bulb {
  --bulb: #e2b15a;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 32% 28%, #fff 0 1.3px, rgba(255, 255, 255, 0.45) 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 58%, var(--bulb) 0 48%, color-mix(in srgb, var(--bulb) 42%, #24180c) 100%);
  box-shadow: 0 0 3px color-mix(in srgb, var(--bulb) 70%, transparent);
  transition: --bulb 0.9s ease, transform 0.16s ease, box-shadow 0.16s ease, filter 0.2s ease;
}

.hem-bulb[data-tone='0'] { --bulb: #e2b15a; }
.hem-bulb[data-tone='1'] { --bulb: #6aadee; }
.hem-bulb[data-tone='2'] { --bulb: #e78992; }

.hem-bulb.is-hot {
  z-index: 1;
  transform: translate(-50%, -50%) scale(1.45);
  filter: brightness(1.28);
  box-shadow: 0 0 7px 2px color-mix(in srgb, var(--bulb) 85%, transparent);
}

.hem-bulb.is-burst {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1.65);
  box-shadow:
    0 0 0 2px rgba(255, 248, 230, 0.95),
    0 0 0 5px color-mix(in srgb, var(--bulb) 75%, transparent),
    0 0 14px 4px color-mix(in srgb, var(--bulb) 80%, transparent);
}

.hem-bulb.is-burst::before,
.hem-bulb.is-burst::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.hem-bulb.is-burst::before {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 246, 220, 0.95);
  border-radius: 3px;
  animation: hem-box 0.8s ease-out forwards;
}

.hem-bulb.is-burst::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 -16px 0 0 #fff6d0,
    13px -9px 0 0 #f0c14a,
    16px 5px 0 0 #7eb6f0,
    5px 15px 0 0 #f0a0a8,
    -11px 12px 0 0 #fff6d0,
    -16px 1px 0 0 #7eb6f0,
    -8px -12px 0 0 #f0c14a;
  animation: hem-pop 0.8s ease-out forwards;
}

@keyframes hem-box {
  from { transform: translate(-50%, -50%) scale(0.35); opacity: 1; }
  to { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

@keyframes hem-pop {
  from { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
  to { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hem-bulb,
  .hem-bulb.is-burst::before,
  .hem-bulb.is-burst::after {
    animation: none;
    transition: none;
  }
}

/* Time of day retints the cloth. Weather lays clouds, rain, or snow on top. */
html[data-phase='evening'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='evening'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  background-color: #14182e;
  background-image: linear-gradient(180deg, #14182e 0%, #2c2454 40%, #6e3d48 74%, #e39a62 100%);
}

html[data-phase='morning'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='morning'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  background-color: #8ebfe4;
  background-image: linear-gradient(180deg, #6eaddd 0%, #f0c9a0 58%, #f8ead4 100%);
}

html[data-phase='afternoon'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-phase='afternoon'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy::before {
  background-color: #4aa3e0;
  background-image: linear-gradient(180deg, #3d98dc 0%, #8ecff5 50%, #e7f4fb 100%);
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-atmo,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-atmo {
  position: absolute;
  inset: 0.72rem;
  z-index: 1;
  border-radius: 0.12rem;
  overflow: hidden;
  pointer-events: none;
}

.napkin-atmo .atmo-stars,
.napkin-atmo .atmo-sun,
.napkin-atmo .atmo-moon,
.napkin-atmo .atmo-cloud,
.napkin-atmo .atmo-fall {
  position: absolute;
  display: none;
  pointer-events: none;
}

.napkin-atmo .atmo-stars {
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0.6px, transparent 0.95px),
    radial-gradient(circle, rgba(255, 248, 220, 0.75) 0.7px, transparent 1.05px);
  background-size: 46px 52px, 78px 64px;
  background-position: 4px 8px, 22px 26px;
}

.napkin-atmo .atmo-stars::after {
  content: '';
  position: absolute;
  left: 8%;
  top: 18%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    28px 10px 0 0 rgba(255, 255, 255, 0.85),
    90px -6px 0 0 #fff,
    150px 22px 0 0 rgba(255, 248, 220, 0.9),
    210px 4px 0 0 rgba(255, 255, 255, 0.7),
    40px 48px 0 0 rgba(255, 255, 255, 0.55),
    120px 70px 0 0 rgba(255, 255, 255, 0.8),
    250px 56px 0 0 #fff,
    180px 96px 0 0 rgba(255, 248, 220, 0.65),
    70px 110px 0 0 rgba(255, 255, 255, 0.5);
}

html[data-phase='night'] .napkin-atmo .atmo-stars,
html[data-phase='evening'] .napkin-atmo .atmo-stars {
  display: block;
  opacity: 0.9;
}

html[data-sky='cloud'] .napkin-atmo .atmo-stars,
html[data-sky='fog'] .napkin-atmo .atmo-stars,
html[data-sky='rain'] .napkin-atmo .atmo-stars,
html[data-sky='snow'] .napkin-atmo .atmo-stars,
html[data-sky='storm'] .napkin-atmo .atmo-stars {
  opacity: 0.22;
}

html[data-sky='cloud'] .napkin-atmo,
html[data-sky='fog'] .napkin-atmo {
  background: linear-gradient(180deg, rgba(86, 102, 120, 0.42), rgba(170, 182, 194, 0.16));
}

html[data-sky='rain'] .napkin-atmo {
  background: linear-gradient(180deg, rgba(22, 36, 54, 0.55), rgba(36, 52, 72, 0.32));
}

html[data-sky='storm'] .napkin-atmo {
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.66), rgba(14, 20, 32, 0.4));
}

html[data-sky='snow'] .napkin-atmo {
  background: linear-gradient(180deg, rgba(214, 224, 236, 0.22), rgba(236, 242, 248, 0.08));
}

html[data-sky='moon'] .napkin-atmo .atmo-moon {
  display: block;
  top: min(var(--sun-y, 18%), 14%);
  bottom: auto;
  left: var(--sun-x, 8%);
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 40%, transparent 0 32%, #f4efe4 33% 56%, transparent 57%);
  box-shadow: 0 0 18px 5px rgba(228, 232, 240, 0.35);
}

html[data-sky='sun'] .napkin-atmo .atmo-sun {
  display: block;
  top: var(--sun-y, 8%);
  left: var(--sun-x, 42%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8df 0 40%, #f0c14a 66%, transparent 70%);
  box-shadow: 0 0 22px 8px rgba(240, 193, 74, 0.45);
}

html[data-sky='cloud'] .napkin-atmo .atmo-cloud,
html[data-sky='fog'] .napkin-atmo .atmo-cloud,
html[data-sky='rain'] .napkin-atmo .atmo-cloud,
html[data-sky='snow'] .napkin-atmo .atmo-cloud,
html[data-sky='storm'] .napkin-atmo .atmo-cloud {
  display: block;
  top: 22%;
  height: 0.7rem;
  width: 3.2rem;
  border-radius: 999px;
  background: rgba(244, 239, 228, 0.72);
  box-shadow:
    1rem -0.48rem 0 -0.1rem rgba(244, 239, 228, 0.62),
    2rem -0.08rem 0 0.05rem rgba(244, 239, 228, 0.5);
  animation: napkin-cloud 26s linear infinite;
}

.napkin-atmo .atmo-cloud-a { left: -20%; top: 10%; animation-duration: 28s; }
.napkin-atmo .atmo-cloud-b { left: 8%; top: 70%; width: 3.4rem; opacity: 0.55; animation-duration: 36s; animation-delay: -12s; }
.napkin-atmo .atmo-cloud-c { left: 48%; top: 6%; width: 2.4rem; opacity: 0.6; animation-duration: 22s; animation-delay: -6s; }

@keyframes napkin-cloud {
  from { transform: translateX(0); }
  to { transform: translateX(18rem); }
}

html[data-sky='rain'] .napkin-atmo .atmo-fall,
html[data-sky='storm'] .napkin-atmo .atmo-fall {
  display: block;
  inset: -20% 0;
  background: repeating-linear-gradient(
    108deg,
    transparent 0 8px,
    rgba(198, 220, 236, 0.55) 8px 9px
  );
  animation: napkin-rain 0.7s linear infinite;
}

html[data-sky='snow'] .napkin-atmo .atmo-fall {
  display: block;
  inset: -10% 0;
  background:
    radial-gradient(circle, #fff 1.2px, transparent 1.6px) 0 0 / 22px 18px,
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 1px, transparent 1.4px) 10px 8px / 28px 22px;
  animation: napkin-snow 3.2s linear infinite;
}

@keyframes napkin-rain {
  from { transform: translateY(-10px); }
  to { transform: translateY(10px); }
}

@keyframes napkin-snow {
  from { background-position: 0 0, 10px 0; }
  to { background-position: 12px 40px, 0 48px; }
}

/* Day skies are light, so the type flips to ink. Rain and storm stay light-on-dark. */
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-sky,
html[data-phase='morning'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .day-replay-hour,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-sky,
html[data-phase='afternoon'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .day-replay-hour,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-sky,
html[data-phase='morning'][data-napkin='2'] .hero-feature.hero-has-crew-frame .day-replay-hour,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-sky,
html[data-phase='afternoon'][data-napkin='2'] .hero-feature.hero-has-crew-frame .day-replay-hour {
  color: #1c1612;
  text-shadow: 0 1px 0 rgba(255, 252, 247, 0.45);
}

html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede {
  color: #f7f1ea;
  text-shadow: 0 1px 2px rgba(16, 12, 8, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .napkin-atmo .atmo-cloud,
  .napkin-atmo .atmo-fall {
    animation: none;
  }
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .lede {
  color: #f7f1ea;
  text-shadow: 0 1px 2px rgba(16, 12, 8, 0.55);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame h1 {
  /* Centered on the cloth, in its own band under the greeting. */
  position: static;
  width: 100%;
  margin: 1.15rem 0 0.95rem;
  align-self: stretch;
  text-align: center;
  letter-spacing: -0.02em;
  font-weight: 650;
  z-index: 2;
}

/* Moon and sun share the title's center line, in the sky above the words. */
html[data-napkin='cocktail'] .napkin-atmo .atmo-moon,
html[data-napkin='2'] .napkin-atmo .atmo-moon,
html[data-napkin='cocktail'] .napkin-atmo .atmo-sun,
html[data-napkin='2'] .napkin-atmo .atmo-sun {
  top: 0.55rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* The Clear / Sunny line already carries the mark. A second moon or sun beside it repeats it. */
html[data-napkin='cocktail'][data-sky='moon'] .napkin-atmo .atmo-moon,
html[data-napkin='2'][data-sky='moon'] .napkin-atmo .atmo-moon,
html[data-napkin='cocktail'][data-sky='sun'] .napkin-atmo .atmo-sun,
html[data-napkin='2'][data-sky='sun'] .napkin-atmo .atmo-sun {
  display: none;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
  padding-bottom: 4.7rem;
  margin-bottom: 5px;
  /* Holds the two greeting lines, the two title lines, and the closer. */
  min-height: 14.25rem;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .day-replay,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .day-replay {
  transition: background-color 0.75s ease, border-color 0.75s ease;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .lede {
  position: absolute;
  bottom: var(--napkin-inset, 1.7rem);
  margin: 0;
  z-index: 3;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay {
  margin: 0;
  padding: 0.12rem 0.48rem;
  font-size: 0.64rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f7f1ea;
  background: rgba(255, 250, 242, 0.16);
  border: 1px solid rgba(247, 241, 234, 0.78);
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .day-replay,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .day-replay {
  position: absolute;
  top: auto;
  right: auto;
  bottom: var(--napkin-inset, 1.7rem);
  left: var(--napkin-inset, 1.7rem);
  transform: none;
  z-index: 5;
  height: 1.7rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede {
  position: absolute;
  right: var(--napkin-inset, 1.7rem);
  left: auto;
  bottom: var(--napkin-inset, 1.7rem);
  padding: 0;
  height: 1.7rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  margin: 0;
  text-align: right;
  color: rgba(247, 241, 234, 0.9);
  z-index: 3;
}

/* Narrow cloth: the centered replay pill takes the bottom row, and the closer sits above it. */
@media (max-width: 580px) {
  html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy,
  html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy {
    padding-bottom: 6.1rem;
  }

  html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
  html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede {
    bottom: calc(var(--napkin-inset, 1.7rem) + 2.6rem);
    left: var(--napkin-inset, 1.7rem);
    width: auto;
    height: auto;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .day-replay,
  html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .day-replay {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Day cloth is light. These two sit above the sky rule, so they flip with it. */
html[data-phase='morning'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='morning'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede {
  color: rgba(28, 22, 18, 0.82);
}

html[data-phase='morning'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='morning'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay {
  color: #1c1612;
  background: rgba(28, 22, 18, 0.06);
  border-color: rgba(28, 22, 18, 0.55);
}

html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='morning'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='morning'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .lede {
  color: rgba(247, 241, 234, 0.9);
}

html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='morning'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='morning'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy .day-replay {
  color: #f7f1ea;
  background: rgba(255, 250, 242, 0.16);
  border-color: rgba(247, 241, 234, 0.78);
}

html[data-day-playing='1'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting-wish,
html[data-day-playing='1'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .greeting-wish {
  opacity: 1;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting {
  align-self: stretch;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  /* Greeting plus the weekend line. The second slot stays even when the wish is absent. */
  min-height: 2.85em;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting-line,
html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .greeting-wish,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting-line,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .greeting-wish {
  white-space: nowrap;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame h1 {
  white-space: nowrap;
}

/* Sky word, replay button, and the hour share one top-right corner.
   The hour leads, large enough to read as the sky changes under it. */
html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-corner,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-corner {
  position: absolute;
  top: var(--napkin-inset, 1.7rem);
  right: var(--napkin-inset, 1.7rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.42rem;
  margin: 0;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner-row,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky {
  display: none;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay {
  position: absolute;
  top: auto;
  right: auto;
  bottom: var(--napkin-inset, 1.7rem);
  left: var(--napkin-inset, 1.7rem);
  transform: none;
  z-index: 5;
  height: 1.7rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour {
  order: -1;
  display: grid;
  margin: 0 0 0.15rem;
  padding: 0;
  background: none;
  border-radius: 0;
  opacity: 1;
  font-size: 1.02rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  color: #f7f1ea;
  text-shadow: 0 1px 2px rgba(7, 11, 22, 0.55);
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-face,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-face {
  align-items: flex-end;
  text-align: right;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-now,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-now {
  font-size: 0.92rem;
  font-weight: 650;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-range,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .day-replay-range {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

html[data-phase='morning'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='morning'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky {
  color: #1c1612;
  text-shadow: none;
}

html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .day-replay-hour,
html[data-phase='morning'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='morning'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='morning'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='morning'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-sky='rain'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky,
html[data-phase='afternoon'][data-sky='storm'][data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .napkin-corner .napkin-sky {
  color: #f7f1ea;
  text-shadow: 0 1px 2px rgba(7, 11, 22, 0.55);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .lede {
  color: rgba(247, 241, 234, 0.92);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-kicker {
  opacity: 1;
  color: rgba(247, 241, 234, 0.88);
}

/* Two cords from the header (the ceiling) down to the card. */
html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame {
  padding-top: 3.15rem;
}

html[data-napkin='cocktail']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hang,
html[data-napkin='2']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-hang {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: 0;
  margin: 0;
  z-index: 6;
  pointer-events: none;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-cord,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-cord {
  position: absolute;
  top: -3.15rem;
  width: 2px;
  height: 3.15rem;
  border-radius: 1px;
  background: repeating-linear-gradient(
    180deg,
    #4a3b2a 0 3px,
    #c4b08a 3px 5px,
    #2c241c 5px 8px
  );
  box-shadow: 1px 0 0 rgba(255, 248, 230, 0.45);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-cord-left,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-cord-left {
  left: 18%;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-cord-right,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-cord-right {
  right: 18%;
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-cord::before,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-cord::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border: 1.5px solid #e4d2b0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f6ecd8, #8d734c 62%, #3a2e22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .napkin-cord::after,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .napkin-cord::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7f1ea, #c4a87a 50%, #6b5228);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1.5px rgba(74, 52, 24, 0.45);
}

html[data-napkin='cocktail'] .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-napkin='2'] .hero-feature.hero-has-crew-frame .hero-copy .btn {
  align-self: flex-end;
  background: linear-gradient(180deg, #243044, #152033);
  background-color: #152033;
  color: #f7f2e8;
  border-radius: 0.2rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   3. BLACK-TIE — charcoal/navy cloth, satin, folded hem, ivory type
   ============================================================ */
html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-copy,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-copy {
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, #1a2230 88%, #3a4a62) 0%,
      #121820 42%,
      color-mix(in srgb, #0e141c 92%, #2a3850) 100%
    );
  color: #f2ebe0;
  box-shadow:
    0 14px 36px color-mix(in srgb, #000 42%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
    inset 0 -1px 0 color-mix(in srgb, #000 35%, transparent);
  -webkit-mask-image: url('hero/napkin-mask-hem.svg');
  mask-image: url('hero/napkin-mask-hem.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  padding: calc(var(--napkin-pad-y) + 0.2rem) calc(var(--napkin-pad-x) + 0.15rem)
    calc(var(--napkin-pad-y) + 0.25rem);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-copy::before,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-copy::before {
  /* Satin sheen + double hem stitch */
  background:
    linear-gradient(
      118deg,
      transparent 18%,
      color-mix(in srgb, #fff 10%, transparent) 36%,
      transparent 52%,
      color-mix(in srgb, #fff 5%, transparent) 68%,
      transparent 82%
    ),
    repeating-linear-gradient(
      0deg,
      color-mix(in srgb, #fff 3.5%, transparent) 0 1px,
      transparent 1px 4px
    );
  opacity: 0.85;
  mix-blend-mode: soft-light;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #e8dfd0 22%, transparent),
    inset 0 0 0 7px transparent,
    inset 0 0 0 8px color-mix(in srgb, #e8dfd0 16%, transparent);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-copy::after,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-copy::after {
  background: linear-gradient(135deg, color-mix(in srgb, #e8dfd0 28%, #1a2230) 40%, transparent 42%);
  box-shadow: -1px 1px 3px color-mix(in srgb, #000 40%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .lede {
  color: #f2ebe0;
  /* Embroidery-like: soft lift, no heavy glass shadow */
  text-shadow: 0 0.5px 0 color-mix(in srgb, #000 55%, transparent);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame h1,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame h1 {
  letter-spacing: 0.01em;
  font-weight: 600;
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .greeting,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .greeting {
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 0.92;
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .lede,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .lede {
  color: color-mix(in srgb, #f2ebe0 86%, transparent);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-kicker,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-kicker {
  opacity: 0.7;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, #e8dfd0 78%, #8a9ab0);
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-copy .btn,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-copy .btn {
  background: linear-gradient(180deg, #f2ebe0, #d8cfc0);
  background-color: #e8dfd0;
  color: #121820;
  border-radius: 0.25rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 40%, transparent) inset;
}

html[data-napkin='black-tie'] .hero-feature.hero-has-crew-frame .hero-copy .btn:hover,
html[data-napkin='3'] .hero-feature.hero-has-crew-frame .hero-copy .btn:hover {
  filter: brightness(1.04);
}

/* Lamppost stands on the napkin all day. Flame only after dusk. No click. */
html[data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  display: block;
  position: absolute;
  z-index: 4;
  top: auto;
  bottom: 0.35rem;
  right: 0.45rem;
  width: 2.35rem;
  height: 3.6rem;
  pointer-events: none;
  filter: none;
  opacity: 1;
}

html[data-phase='morning'] .oil-flame,
html[data-phase='afternoon'] .oil-flame,
html:not([data-phase]) .oil-flame {
  display: none;
}

html[data-phase='morning'] .oil-glass,
html[data-phase='afternoon'] .oil-glass,
html:not([data-phase]) .oil-glass {
  fill: #6e655c;
  opacity: 0.85;
}

html[data-phase='evening'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='evening'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  top: auto;
  bottom: 0.35rem;
  width: 2.35rem;
  height: 3.6rem;
  filter: drop-shadow(0 0 3px rgba(212, 156, 64, 0.55));
}

html[data-phase='night'][data-napkin='linen']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern,
html[data-phase='night'][data-napkin='1']:not([data-napkin='']) .hero-feature.hero-has-crew-frame .hero-copy > .napkin-lantern {
  top: auto;
  bottom: 0.35rem;
  width: 2.35rem;
  height: 3.6rem;
  filter: drop-shadow(0 0 5px rgba(255, 196, 96, 0.85)) drop-shadow(0 0 10px rgba(226, 150, 52, 0.4));
}

