/* Wedding (Americana diner) section styles */

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 45rem);
  padding-block: clamp(1.35rem, 4vw, 2.75rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 252, 242, .7), transparent 19rem),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .66), transparent 11rem),
    radial-gradient(circle at 82% 28%, rgba(243, 201, 105, .28), transparent 12rem),
    linear-gradient(180deg, rgba(207, 232, 246, .95), rgba(180, 207, 229, .95) 52%, rgba(127, 176, 216, .96));
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 9%, rgba(255, 255, 255, .65) 0 .18rem, transparent .2rem),
    radial-gradient(circle at 84% 17%, rgba(255, 255, 255, .7) 0 .14rem, transparent .16rem),
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, .55) 0 .12rem, transparent .14rem),
    radial-gradient(circle at 31% 62%, rgba(255, 255, 255, .46) 0 .1rem, transparent .12rem),
    linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, .2) 44%, transparent 56% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1.1rem, rgba(127, 176, 216, .14) 1.1rem 2.2rem);
  background-size: auto, auto, auto, auto, 220% 100%, auto;
  animation: heroLightSweep 12s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2.4rem;
  background:
    radial-gradient(circle at 1rem 0, transparent 0 .78rem, rgba(255, 248, 231, .9) .8rem .95rem, transparent .98rem) 0 0 / 2rem 1.35rem repeat-x,
    linear-gradient(rgba(255, 248, 231, .92), rgba(255, 248, 231, .92));
  opacity: .85;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-card {
  width: min(100%, 40rem);
  margin-inline: auto;
  animation: heroRise .8s ease-out both;
}

.hero-mark {
  position: relative;
  width: min(35rem, 96vw);
  aspect-ratio: 560 / 390;
  margin-inline: auto;
  filter: drop-shadow(0 22px 32px rgba(49, 82, 115, .2));
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-mark__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-mark__clouds {
  fill: rgba(255, 252, 242, .78);
  filter: drop-shadow(0 2px 0 rgba(98, 134, 160, .18));
  transform-origin: center;
  animation: heroCloudDrift 9s ease-in-out infinite;
}

.hero-mark__bouquet {
  position: relative;
  fill: var(--sage);
  stroke: #6f8f77;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
}

.hero-mark__bouquet ellipse {
  fill: #a6b995;
  stroke: #6f8f77;
  stroke-width: 1.5;
}

.hero-mark__rose {
  fill: #d94b3d;
  stroke: #9d302d;
  stroke-width: 2;
}

.hero-mark__rose--deep {
  fill: #b93630;
}

.hero-mark__bud {
  fill: #d94b3d;
  stroke: #9d302d;
  stroke-width: 1.5;
}

.hero-mark__heart-edge {
  fill: #eee4cf;
  stroke: #d5cbb9;
  stroke-width: 30;
}

.hero-mark__heart-ruffle {
  fill: none;
  stroke: #f8efd9;
  stroke-dasharray: 0 13;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 18;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .72));
}

.hero-mark__heart-fill {
  fill: #c94135;
  stroke: #f5ead4;
  stroke-width: 2;
  animation: heroHeartGlow 5.5s ease-in-out infinite;
}

.hero-mark__heart-lace-dots {
  fill: none;
  stroke: rgba(164, 154, 137, .5);
  stroke-dasharray: 0 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.hero-mark__heart-grain {
  fill: url(#hero-heart-speckles);
  opacity: .28;
}

.hero-mark__sparkles {
  fill: #f9efe2;
  filter: drop-shadow(0 1px 0 rgba(128, 52, 47, .24));
}

.hero-mark__sparkles path:nth-child(even) {
  fill: #b93630;
}

.hero-mark__sparkles path {
  transform-origin: center;
  animation: heroTwinkle 3.2s ease-in-out infinite;
}

.hero-mark__sparkles path:nth-child(2) {
  animation-delay: .45s;
}

.hero-mark__sparkles path:nth-child(3) {
  animation-delay: .9s;
}

.hero-mark__sparkles path:nth-child(4) {
  animation-delay: 1.35s;
}

.hero-mark__sparkles path:nth-child(5) {
  animation-delay: 1.8s;
}

.hero__names {
  position: absolute;
  z-index: 3;
  top: 35%;
  left: 50%;
  width: 66%;
  transform: translate(-50%, -50%) rotate(-3deg);
  margin: 0;
  color: #fff8e8;
  font-family: var(--f-script);
  font-size: clamp(2.2rem, 8.8vw, 4.7rem);
  font-weight: 400;
  line-height: .9;
  text-shadow:
    0 2px 0 rgba(111, 35, 33, .88),
    0 0 16px rgba(54, 14, 12, .18);
  white-space: nowrap;
}

.hero__names span {
  display: block;
}

.hero__names span + span {
  margin-top: .03em;
}

.hero__names em {
  display: inline-block;
  margin-right: .13em;
  font-size: .82em;
  font-style: normal;
}

.date-ribbon {
  position: absolute;
  z-index: 4;
  top: 61.5%;
  left: 19%;
  right: 19%;
  display: grid;
  min-height: clamp(2rem, 6vw, 2.8rem);
  place-items: center;
  padding-inline: clamp(.65rem, 2vw, 1rem);
  color: #263d55;
  background: linear-gradient(180deg, #fbf3df, #ded1b8);
  border: 1px solid rgba(93, 77, 61, .45);
  box-shadow:
    0 3px 7px rgba(42, 52, 63, .18),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  font-family: var(--f-body);
  font-size: clamp(.95rem, 2.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-2deg);
  animation: ribbonPop .75s cubic-bezier(.2, 1.2, .2, 1) .18s both;
}

.date-ribbon::before,
.date-ribbon::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: .42rem;
  width: clamp(3rem, 9vw, 4.4rem);
  height: clamp(1.35rem, 4vw, 1.8rem);
  background: linear-gradient(180deg, #f5ecd6, #d6c7ac);
  border: 1px solid rgba(93, 77, 61, .4);
  box-shadow: 0 2px 5px rgba(42, 52, 63, .14);
}

.date-ribbon::before {
  left: clamp(-2.35rem, -6vw, -1.5rem);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%, 16% 50%);
}

.date-ribbon::after {
  right: clamp(-2.35rem, -6vw, -1.5rem);
  clip-path: polygon(0 0, 100% 0, 84% 50%, 100% 100%, 0 100%, 16% 0);
}

.date-ribbon span {
  position: relative;
  z-index: 1;
}

.hero__welcome {
  margin: -.35rem auto 0;
  color: #263d55;
  font-family: var(--f-body);
  font-size: clamp(1.15rem, 3.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.hero__tagline {
  max-width: 35rem;
  margin: .45rem auto 0;
  color: rgba(44, 62, 92, .82);
  font-family: var(--f-ui);
  font-size: clamp(.98rem, 2.4vw, 1.08rem);
  font-weight: 700;
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .95rem 1.1rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.btn-diner {
  position: relative;
  display: inline-grid;
  min-width: min(10.6rem, calc(50vw - 1.4rem));
  min-height: 2.75rem;
  place-items: center;
  padding: .55rem 1.45rem;
  color: var(--red-deep);
  background:
    radial-gradient(circle at 0 50%, transparent 0 .42rem, var(--paper) .44rem),
    radial-gradient(circle at 100% 50%, transparent 0 .42rem, var(--paper) .44rem),
    linear-gradient(180deg, #fff5df, #eadcc2);
  border: 1px solid rgba(103, 86, 70, .5);
  border-radius: .75rem;
  box-shadow:
    0 3px 0 rgba(44, 62, 92, .22),
    inset 0 0 0 3px rgba(255, 255, 255, .5);
  font-family: var(--f-body);
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}

.btn-diner::before {
  content: "";
  position: absolute;
  inset: .28rem;
  border: 1px solid rgba(128, 105, 82, .36);
  border-radius: .55rem;
  pointer-events: none;
}

.btn-diner:hover {
  filter: brightness(1.04);
  transform: translateY(-2px) rotate(-.35deg);
}

.btn-diner:active {
  box-shadow:
    0 1px 0 rgba(44, 62, 92, .24),
    inset 0 0 0 3px rgba(255, 255, 255, .5);
  transform: translateY(1px);
}

.hero__cloud {
  position: absolute;
  inset: auto 0 0;
  height: 5rem;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(255, 255, 255, .86) 0 33%, transparent 35%),
    radial-gradient(ellipse at 28% 100%, rgba(255, 255, 255, .88) 0 29%, transparent 31%),
    radial-gradient(ellipse at 55% 100%, rgba(255, 255, 255, .82) 0 28%, transparent 30%),
    radial-gradient(ellipse at 82% 100%, rgba(255, 255, 255, .88) 0 34%, transparent 36%);
  animation: cloudShelf 8s ease-in-out infinite;
  pointer-events: none;
}

/* Countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

.countdown__unit {
  min-width: 4.35rem;
  padding: .65rem .85rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 242, .96), rgba(238, 223, 192, .92));
  border: 1px solid rgba(44, 62, 92, .45);
  border-radius: var(--radius-sm);
  box-shadow:
    0 10px 24px -18px rgba(44, 62, 92, .5),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: counterSettle .7s ease both;
}

.countdown__unit:nth-child(2) {
  animation-delay: .06s;
}

.countdown__unit:nth-child(3) {
  animation-delay: .12s;
}

.countdown__unit:nth-child(4) {
  animation-delay: .18s;
}

.countdown__n {
  color: var(--red-deep);
  font-family: var(--f-marquee);
  font-size: var(--step-1);
  line-height: 1;
}

.countdown__label {
  margin-top: .25rem;
  color: var(--ink-soft);
  font-family: var(--f-ui);
  font-size: .72rem;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.intro-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(circle at 20% 0, rgba(255, 252, 242, .64), transparent 16rem),
    radial-gradient(circle at 80% 80%, rgba(243, 201, 105, .24), transparent 17rem),
    linear-gradient(180deg, rgba(180, 207, 229, .92), rgba(127, 176, 216, .95));
  text-align: center;
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0) 18%, rgba(0,0,0,.04) 82%, rgba(255,255,255,.1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 1.15rem, rgba(83, 143, 188, .16) 1.15rem 2.3rem);
  opacity: .72;
  pointer-events: none;
}

.intro-section::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(3.5rem, 7vw, 5.8rem);
  background:
    linear-gradient(180deg, transparent, rgba(15, 19, 32, .18) 48%, rgba(15, 19, 32, .68)),
    radial-gradient(circle at 1.2rem 100%, rgba(255, 248, 231, .98) 0 .78rem, transparent .82rem) 0 100% / 2.4rem 1.35rem repeat-x,
    linear-gradient(180deg, transparent 56%, var(--felt) 57%);
  pointer-events: none;
}

.intro-section .container {
  position: relative;
  z-index: 1;
}

.intro-section__date {
  margin: 0;
  color: var(--red-deep);
  font-family: var(--f-script);
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.1;
}

.intro-section__copy {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-family: var(--f-body);
  font-size: var(--step-0);
}

.awning-stripes .checkerboard {
  height: 34px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent),
    repeating-linear-gradient(90deg, #fff8e8 0 1.6rem, var(--sky-dark) 1.6rem 3.2rem);
  border-block: 1px solid rgba(44, 62, 92, .22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 10px 24px -20px rgba(44, 62, 92, .8);
}

@keyframes heroLightSweep {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 130% 0, 0 0;
  }

  to {
    background-position: 0 0, 0 0, 0 0, 0 0, -130% 0, 0 0;
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    translate: 0 .75rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -.35rem;
  }
}

@keyframes heroCloudDrift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(.45rem);
  }
}

@keyframes heroHeartGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 248, 231, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(255, 248, 231, .42));
  }
}

@keyframes heroTwinkle {
  0%,
  100% {
    opacity: .68;
    transform: scale(.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes ribbonPop {
  from {
    opacity: 0;
    transform: translateY(.65rem) rotate(-5deg) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg) scale(1);
  }
}

@keyframes cloudShelf {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 .18rem;
  }
}

@keyframes counterSettle {
  from {
    opacity: 0;
    translate: 0 .55rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Details */
.details-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(226, 195, 105, .2), transparent 14rem),
    radial-gradient(circle at 86% 78%, rgba(209, 75, 63, .18), transparent 16rem),
    linear-gradient(135deg, rgba(30, 74, 58, .98), rgba(15, 19, 32, .98)),
    var(--felt);
  color: var(--bone);
}

.details-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 8px, transparent 8px 16px),
    linear-gradient(100deg, transparent 0 38%, rgba(255, 248, 231, .08) 48%, transparent 58% 100%);
  background-size: auto, 220% 100%;
  animation: detailsShimmer 9s linear infinite;
  pointer-events: none;
}

.details-board {
  position: relative;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(9, 12, 20, .42);
  border: 1px solid rgba(226, 195, 105, .46);
  border-radius: 8px;
  box-shadow: 0 24px 55px -32px rgba(0, 0, 0, .72);
}

.details-board::before,
.details-board::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  height: 3px;
  background:
    linear-gradient(90deg, transparent, var(--gold-hi), transparent),
    repeating-linear-gradient(90deg, var(--gold-hi) 0 10px, transparent 10px 18px);
  opacity: .74;
}

.details-board::before {
  top: .8rem;
}

.details-board::after {
  bottom: .8rem;
}

.details-board__header {
  max-width: 44rem;
  margin-inline: auto;
  padding-block: clamp(1rem, 3vw, 1.8rem);
  text-align: center;
}

.details-kicker,
.details-ticket__label,
.details-cta p {
  font-family: var(--f-ui);
}

.details-kicker {
  margin: 0 0 .5rem;
  color: var(--gold-hi);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.details-board__header h2 {
  color: #fff8e8;
  font-family: var(--f-marquee);
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 400;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .28);
}

.details-board__header p:last-child {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(237, 227, 208, .9);
  font-family: var(--f-ui);
}

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

.details-ticket {
  position: relative;
  min-height: 12rem;
  padding: 1.1rem;
  overflow: hidden;
  color: var(--midnight);
  background:
    radial-gradient(circle at 0 50%, transparent 0 .62rem, #fffaf0 .64rem),
    radial-gradient(circle at 100% 50%, transparent 0 .62rem, #fffaf0 .64rem),
    linear-gradient(180deg, #fff8e8, #eadcc2);
  border: 1px solid rgba(226, 195, 105, .62);
  border-radius: 8px;
  box-shadow:
    0 13px 28px -20px rgba(0, 0, 0, .8),
    inset 0 0 0 3px rgba(255, 255, 255, .45);
  animation: detailsDealIn .56s ease both;
  transform-origin: 50% 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.details-ticket:nth-child(2) {
  animation-delay: .08s;
}

.details-ticket:nth-child(3) {
  animation-delay: .16s;
}

.details-ticket:nth-child(4) {
  animation-delay: .24s;
}

.details-ticket::before {
  content: "";
  position: absolute;
  inset: .35rem;
  border: 1px dashed rgba(168, 55, 48, .34);
  border-radius: 6px;
  pointer-events: none;
}

.details-ticket::after {
  content: "";
  position: absolute;
  right: -.95rem;
  bottom: -.95rem;
  width: 3.9rem;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, transparent 0 36%, var(--red-deep) 37% 49%, var(--gold-hi) 50% 60%, var(--red-deep) 61% 72%, transparent 73%),
    repeating-conic-gradient(from 18deg, rgba(255, 248, 231, .92) 0 10deg, transparent 10deg 20deg);
  border-radius: 50%;
  opacity: .34;
}

.details-ticket:hover {
  box-shadow:
    0 18px 36px -22px rgba(0, 0, 0, .82),
    inset 0 0 0 3px rgba(255, 255, 255, .48);
  transform: translateY(-3px) rotate(-.5deg);
}

.details-ticket__label {
  position: relative;
  margin: 0 0 .45rem;
  color: var(--red-deep);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.details-ticket h3 {
  position: relative;
  margin: 0;
  color: var(--felt);
  font-family: var(--f-body);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.details-ticket p:last-child {
  position: relative;
  margin: .65rem 0 0;
  color: var(--ink-soft);
  font-family: var(--f-ui);
}

.details-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(1rem, 3vw, 1.4rem);
  border-top: 1px solid rgba(226, 195, 105, .28);
}

.details-cta p {
  margin: 0;
  color: rgba(237, 227, 208, .9);
  font-weight: 700;
}

.btn-diner--felt {
  flex: 0 0 auto;
  min-width: 11rem;
  color: #fff8e8;
  background:
    radial-gradient(circle at 0 50%, transparent 0 .42rem, var(--red-deep) .44rem),
    radial-gradient(circle at 100% 50%, transparent 0 .42rem, var(--red-deep) .44rem),
    linear-gradient(180deg, #d14b3f, #9e302b);
  border-color: rgba(255, 248, 231, .32);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, .35),
    inset 0 0 0 3px rgba(255, 255, 255, .16);
}

@keyframes detailsDealIn {
  from {
    opacity: 0;
    transform: translateY(1rem) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes detailsShimmer {
  from {
    background-position: 0 0, 120% 0;
  }

  to {
    background-position: 0 0, -120% 0;
  }
}

@media (max-width: 38rem) {
  .hero {
    min-height: auto;
    padding-block-start: 1rem;
  }

  .hero-card {
    width: 100%;
  }

  .hero-mark {
    width: min(33rem, 101vw);
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .hero__names {
    top: 34.5%;
    width: 68%;
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .date-ribbon {
    left: 18%;
    right: 18%;
  }

  .hero__cta {
    width: min(100%, 24rem);
    gap: .85rem;
  }

  .btn-diner {
    flex: 1 1 9.4rem;
  }
}

@media (max-width: 58rem) {
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .details-ticket {
    min-height: 10.5rem;
  }

  .details-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .details-cta .btn-diner {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-card,
  .hero-mark,
  .hero-mark__clouds,
  .hero-mark__heart-fill,
  .hero-mark__sparkles path,
  .date-ribbon,
  .hero__cloud,
  .countdown__unit,
  .details-section::before,
  .details-ticket {
    animation: none;
  }

  .hero-mark__clouds,
  .hero-mark__sparkles path,
  .details-ticket,
  .details-ticket:hover {
    transform: none;
  }
}

/* Wedding raffle */
.stag-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(30, 74, 58, .95), rgba(15, 19, 32, .98)),
    var(--felt);
  color: var(--bone);
}

.raffle-hero {
  padding-block: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.raffle-hero__grid,
.raffle-main__grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  align-items: stretch;
}

.raffle-main__grid {
  align-items: start;
}

.raffle-copy {
  display: grid;
  align-content: center;
  min-height: 18rem;
}

.raffle-kicker {
  margin: 0 0 .7rem;
  color: var(--gold-hi);
  font-family: var(--f-ui);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.raffle-copy h1 {
  max-width: 11ch;
  color: #fff8e8;
  font-family: var(--f-marquee);
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 400;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .28);
}

.raffle-copy__lede {
  max-width: 36rem;
  margin: .9rem 0 0;
  color: rgba(237, 227, 208, .88);
  font-family: var(--f-ui);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.raffle-schedule {
  display: grid;
  gap: .6rem;
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-family: var(--f-ui);
}

.raffle-schedule div {
  display: grid;
  grid-template-columns: minmax(8.5rem, .55fr) 1fr;
  gap: .75rem;
  padding: .65rem .8rem;
  background: rgba(9, 12, 20, .34);
  border: 1px solid rgba(226, 195, 105, .28);
  border-radius: 8px;
}

.raffle-schedule dt {
  color: var(--gold-hi);
  font-weight: 700;
}

.raffle-schedule dd {
  margin: 0;
  color: #fff8e8;
}

.raffle-total,
.raffle-form,
.raffle-baskets,
.basket-card {
  border: 1px solid rgba(226, 195, 105, .46);
  border-radius: 8px;
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .65);
}

.raffle-total {
  display: grid;
  align-content: center;
  min-height: 18rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 8px, transparent 8px 16px),
    rgba(9, 12, 20, .6);
}

.raffle-total__label,
.raffle-form__price {
  font-family: var(--f-ui);
}

.raffle-total__label {
  margin: 0;
  color: var(--gold-hi);
  font-weight: 700;
}

.raffle-total__amount {
  margin: .2rem 0 .4rem;
  color: #fff8e8;
  font-family: var(--f-marquee);
  font-size: clamp(2.8rem, 8vw, 5.25rem);
  line-height: 1;
}

.raffle-main {
  padding-block: 0 clamp(3rem, 8vw, 5rem);
}

.raffle-form,
.raffle-baskets {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(237, 227, 208, .96);
  color: var(--midnight);
}

.raffle-form h2,
.raffle-baskets h2 {
  color: var(--red-deep);
  font-family: var(--f-script);
  font-size: var(--step-2);
  font-weight: 400;
}

.raffle-form label {
  display: grid;
  gap: .3rem;
  margin-top: .85rem;
  font-family: var(--f-ui);
  font-weight: 700;
}

.raffle-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.raffle-field {
  width: 100%;
  min-height: 2.85rem;
  padding: .65rem .75rem;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid rgba(15, 19, 32, .24);
  border-radius: 8px;
  font: inherit;
}

.raffle-field:focus {
  outline: 3px solid rgba(201, 164, 73, .38);
  outline-offset: 2px;
}

.raffle-form .errorlist {
  margin: .3rem 0 0;
  padding-left: 1.1rem;
  color: var(--red-deep);
  font-family: var(--f-ui);
  font-size: .92rem;
}

.raffle-form__price {
  margin: 1rem 0 .75rem;
  color: var(--ink-soft);
}

.raffle-form__total {
  margin: 0 0 .9rem;
  color: var(--midnight);
  font-family: var(--f-ui);
  font-weight: 700;
}

.raffle-submit {
  width: 100%;
  min-height: 3rem;
  color: #fffaf0;
  background: var(--red-deep);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(56, 18, 16, .45);
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.raffle-submit:hover {
  filter: brightness(1.05);
}

.raffle-messages {
  margin: 0 0 1rem;
  padding: .75rem;
  background: rgba(30, 74, 58, .1);
  border: 1px solid rgba(30, 74, 58, .25);
  border-radius: 8px;
  font-family: var(--f-ui);
}

.raffle-messages p {
  margin: 0;
}

.basket-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.basket-help {
  margin: -.2rem 0 1rem;
  color: var(--ink-soft);
  font-family: var(--f-ui);
}

.basket-card {
  overflow: hidden;
  background: #fffaf0;
  box-shadow: none;
}

.basket-card__media,
.basket-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(30, 74, 58, .12);
}

.basket-card__media {
  position: relative;
  overflow: hidden;
}

.basket-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background:
    linear-gradient(45deg, rgba(30, 74, 58, .12) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(-45deg, rgba(30, 74, 58, .12) 25%, transparent 25%) 0 9px / 18px 18px,
    #efe4cf;
}

.basket-card__body {
  padding: .85rem;
}

.basket-card__label {
  margin: 0 0 .25rem;
  color: var(--red-deep);
  font-family: var(--f-ui);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.basket-card__label--claimed {
  color: var(--felt);
}

.basket-card h3 {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.15rem;
}

.basket-card__value {
  margin: .25rem 0 .55rem;
  color: var(--ink-soft);
  font-family: var(--f-ui);
  font-size: .95rem;
  font-weight: 700;
}

.basket-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-family: var(--f-ui);
}

.basket-card li + li {
  margin-top: .15rem;
}

@media (max-width: 48rem) {
  .raffle-hero__grid,
  .raffle-main__grid {
    grid-template-columns: 1fr;
  }

  .raffle-copy,
  .raffle-total {
    min-height: auto;
  }

  .raffle-schedule div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

/* Raffle control */
.control-page {
  display: grid;
  min-height: 100vh;
  place-items: start center;
  padding: clamp(1rem, 4vw, 3rem);
}

.control-panel {
  width: min(100%, 38rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--midnight);
  background: rgba(237, 227, 208, .96);
  border: 1px solid rgba(226, 195, 105, .46);
  border-radius: 8px;
}

.control-panel h1,
.control-panel h2 {
  color: var(--red-deep);
  font-family: var(--f-script);
  font-weight: 400;
}

.control-field {
  display: grid;
  gap: .35rem;
  font-family: var(--f-ui);
  font-weight: 700;
}

.control-baskets {
  margin-block: 1.5rem;
}

.control-basket {
  display: grid;
  gap: .6rem;
  padding-block: .85rem;
  border-top: 1px solid rgba(15, 19, 32, .12);
}

.control-check {
  display: flex;
  gap: .55rem;
  align-items: center;
  font-family: var(--f-ui);
  font-weight: 700;
}

.control-check input {
  width: 1.2rem;
  height: 1.2rem;
}

.control-link {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-ui);
  text-align: center;
}
