/* Pumpkin Carving — candle-lit autumn evening. Tokens live on .pumpkin so the club theme stays untouched. */

.pumpkin {
  --pc-night: #1B0B13;
  --pc-plum: #3A1026;
  --pc-gold: #F7A81B;
  --pc-pumpkin: #FF7A12;
  --pc-cranberry: #D41367;
  --pc-cream: #FFF1DC;
  --pc-cream-soft: rgba(255, 241, 220, .78);
  --pc-line: rgba(255, 241, 220, .14);

  --pc-display: "Fraunces", Georgia, serif;
  --pc-value: "Bricolage Grotesque", system-ui, sans-serif;
  --pc-sans: "Open Sans", system-ui, sans-serif;

  /* same page edges as the club site */
  --pc-page: 1100px;
  --pc-gutter: max(clamp(16px, 5vw, 64px), (100% - var(--pc-page)) / 2);

  margin: 0;
  font-family: var(--pc-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--pc-cream);
  background: var(--pc-night);
  overflow-x: hidden;
}

.pumpkin *, .pumpkin *::before, .pumpkin *::after { box-sizing: border-box; }
:where(.pumpkin) img { max-width: 100%; height: auto; display: block; }
:where(.pumpkin) :where(h1, h2, h3, p, ul, figure) { margin: 0; padding: 0; }
:where(.pumpkin) ul { list-style: none; }

html { scroll-behavior: smooth; }
#formular { scroll-margin-top: 16px; }

.pumpkin :focus-visible { outline: 3px solid var(--pc-gold); outline-offset: 3px; border-radius: 4px; }

.pc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- shared pieces ---------- */

.pc-tag {
  display: inline-block;
  padding: .3em .9em;
  border-radius: 999px;
  background: var(--pc-cranberry);
  color: var(--pc-cream);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pc-title {
  margin-top: 14px;
  font-family: var(--pc-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  line-height: 1.1;
  color: var(--pc-gold);
}

.pc-lead { max-width: 40em; margin-top: 14px; font-size: 1.08rem; color: var(--pc-cream-soft); }

.pc-section { padding: 64px var(--pc-gutter); }
.pc-section--alt { background: var(--pc-plum); }

.pc-btn {
  display: inline-block;
  padding: .85em 2.2em;
  border-radius: 999px;
  background: var(--pc-gold);
  color: var(--pc-night);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .15s, background-color .15s;
}
.pc-btn:hover { transform: translateY(-2px); background: #ffb93d; }

/* ---------- menu (same layout as the other pages) ---------- */

.pc-nav { position: relative; z-index: 5; --menu-display: var(--pc-display); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-nav__logo { display: inline-block; flex: none; }
.pc-nav__logo img { width: 124px; }
.pc-nav__links { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 700; white-space: nowrap; }
.pc-nav__links a, .pc-nav__toggle { color: var(--pc-cream); text-decoration: none; }
.pc-nav__links a:not(.pc-nav__cta), .pc-nav__toggle { padding: 0 0 2px; border: dashed transparent; border-width: 0 0 2px; }
.pc-nav__links a:not(.pc-nav__cta):hover, .pc-nav__toggle:hover, .pc-nav__toggle[aria-expanded="true"] { border-bottom-color: var(--pc-cream); }
.pc-nav__toggle { background: none; font: inherit; cursor: pointer; }
.pc-nav__toggle::after { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 0 .2em .45em; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .2s; }
.pc-nav__toggle[aria-expanded="true"]::after { rotate: 225deg; margin-bottom: 0; }
.pc-nav__cta { display: inline-block; padding: .5em 1.1em; border-radius: 999px; background: var(--pc-cream); color: var(--pc-night) !important; }

/* ---------- hero ---------- */

.pc-hero {
  position: relative;
  padding: 18px var(--pc-gutter) 72px;
  background: var(--pc-night);
  overflow-x: clip;
}

/* warm candle light behind the content */
.pc-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  animation: pc-flicker 4s ease-in-out infinite;
}
.pc-glow--1 { top: 18%; left: -10%; width: 340px; height: 340px; background: rgba(255, 122, 18, .22); }
.pc-glow--2 { bottom: -6%; right: -8%; width: 420px; height: 420px; background: rgba(247, 168, 27, .16); animation-delay: -1.7s; }

.pc-hero__grid { position: relative; display: grid; gap: 40px; align-items: center; margin-top: 48px; text-align: center; }

/* hero eases in piece by piece */
.pc-hero__text > * { animation: pc-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.pc-hero__text > :nth-child(2) { animation-delay: .1s; }
.pc-hero__text > :nth-child(3) { animation-delay: .22s; }
.pc-hero__text > :nth-child(4) { animation-delay: .34s; }
.pc-hero__text > :nth-child(5) { animation-delay: .46s; }
.pc-poster { animation: pc-poster-in .9s cubic-bezier(.2, .8, .2, 1) .25s both; }

.pc-hero__title {
  margin-top: 18px;
  font-family: var(--pc-display);
  font-weight: 900;
  font-size: clamp(3rem, 13vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--pc-gold);
}
.pc-hero__slogan { margin-top: 14px; font-size: clamp(1.15rem, 4.5vw, 1.45rem); font-weight: 600; }

.pc-hero__facts { display: grid; gap: 10px; justify-items: center; margin-top: 26px; }
.pc-hero__facts li {
  font-family: var(--pc-value);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--pc-pumpkin);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pc-cranberry);
}
.pc-hero__facts a, .pc-card__value a { color: inherit; text-decoration: none; }
.pc-hero__facts a:hover, .pc-card__value a:hover { color: var(--pc-pumpkin); text-decoration: underline; text-underline-offset: 4px; }
.pc-hero .pc-btn { margin-top: 30px; }

.pc-poster { max-width: 360px; margin: 0 auto; }
.pc-poster[hidden] { display: none; }
.pc-poster img { border-radius: 18px; rotate: 2deg; box-shadow: 0 0 0 6px var(--pc-plum), 0 18px 50px rgba(255, 122, 18, .25); }

/* ---------- details ---------- */

.pc-cards { display: grid; gap: 16px; margin-top: 32px; }
.pc-card {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--pc-line);
  border-top: 3px solid var(--pc-cranberry);
  border-radius: 18px;
  background: var(--pc-plum);
}
.pc-card__icon { position: absolute; top: 20px; right: 20px; font-size: 1.6rem; line-height: 1; }
.pc-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pc-cream-soft); }
.pc-card__value { margin-top: 8px; font-family: var(--pc-value); font-weight: 800; font-size: 1.5rem; line-height: 1.2; color: var(--pc-gold); }
.pc-card__extra { margin-top: 2px; font-family: var(--pc-value); font-weight: 800; font-size: 1.05rem; color: var(--pc-pumpkin); }

/* ---------- how to take part ---------- */

.pc-options { display: grid; gap: 16px; margin-top: 30px; }
.pc-option { padding: 24px 22px; border: 2px dashed rgba(255, 122, 18, .5); border-radius: 18px; background: rgba(27, 11, 19, .5); }
.pc-option__who { font-family: var(--pc-display); font-weight: 900; font-size: 1.5rem; line-height: 1.2; color: var(--pc-gold); }
.pc-option__how { margin-top: 4px; color: var(--pc-cream-soft); }
.pc-option__price { margin-top: 12px; font-family: var(--pc-value); font-weight: 800; font-size: 1.6rem; color: var(--pc-pumpkin); }
.pc-option__price span { font-size: .6em; color: var(--pc-cream-soft); }

/* ---------- for a good cause (Rotabebe) ---------- */

.pc-cause {
  margin-top: 28px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #C2185B;
  background-image: radial-gradient(#D2386F 3px, transparent 3.5px);
  background-size: 26px 26px;
  color: #fff;
}
.pc-cause__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc-cause__text { margin-top: 8px; font-size: 1.02rem; }
.pc-cause__text a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.pc-cause__more { display: inline-block; margin-top: 12px; padding: .5em 1.2em; border-radius: 999px; background: #fff; color: #C2185B; font-weight: 700; text-decoration: none; }
.pc-cause__more:hover { transform: translateY(-2px); }
.pc-cause a:focus-visible { outline-color: #fff; }

/* ---------- sign-up form ---------- */

.pc-form { margin-top: 30px; border-radius: 18px; overflow: hidden; background: #fff; }
.pc-form iframe { display: block; width: 100%; height: 1300px; border: 0; }
.pc-form__fallback { margin-top: 16px; text-align: center; }
.pc-form__fallback a { color: var(--pc-gold); font-weight: 700; text-underline-offset: 3px; }

.pc-note {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--pc-cranberry);
  border-radius: 0 14px 14px 0;
  background: var(--pc-plum);
  color: var(--pc-cream-soft);
  font-size: .95rem;
}
.pc-note strong { color: var(--pc-cream); }

/* ---------- add to calendar ---------- */

.pc-btn--ghost { background: transparent; color: var(--pc-gold); box-shadow: inset 0 0 0 2px var(--pc-gold); }
.pc-btn--ghost:hover { background: rgba(247, 168, 27, .12); }

.pc-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 30px 24px 26px;
  border: 1px solid var(--pc-line);
  border-top: 3px solid var(--pc-cranberry);
  border-radius: 20px;
  background: var(--pc-plum);
  color: var(--pc-cream);
  text-align: center;
}
.pc-dialog::backdrop { background: rgba(27, 11, 19, .75); }
.pc-dialog__title { margin-top: 12px; font-family: var(--pc-display); font-weight: 900; font-size: 1.7rem; line-height: 1.15; color: var(--pc-gold); }
.pc-dialog__when { margin-top: 10px; font-family: var(--pc-value); font-weight: 800; color: var(--pc-pumpkin); line-height: 1.5; }
.pc-dialog__actions { display: grid; gap: 12px; margin-top: 24px; }
.pc-dialog__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pc-cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.pc-dialog__close:hover { background: rgba(255, 241, 220, .1); }

/* ---------- footer ---------- */

.pc-footer { padding: 44px 16px 34px; border-top: 1px solid var(--pc-line); text-align: center; background: var(--pc-night); }
.pc-footer__logo { display: inline-block; }
.pc-footer__logo img { width: 180px; margin: 0 auto 14px; }
.pc-footer p { font-size: .9rem; color: var(--pc-cream-soft); }
.pc-footer__heart { color: var(--pc-pumpkin); }

@keyframes pc-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pc-poster-in { from { opacity: 0; transform: translateY(24px) rotate(-3deg) scale(.96); } }
@keyframes pc-flicker { 0%, 100% { opacity: 1; transform: scale(1); } 40% { opacity: .75; transform: scale(.96); } 70% { opacity: .9; transform: scale(1.03); } }

/* ---------- larger screens ---------- */

@media (max-width: 380px) {
  .pc-nav__home { display: none; }
  .pc-nav__logo img { width: 104px; }
  .pc-nav__links { gap: 10px; font-size: .88rem; }
}

@media (min-width: 600px) {
  .pc-cards { grid-template-columns: repeat(3, 1fr); }
  .pc-options { grid-template-columns: repeat(2, 1fr); }
  .pc-form iframe { height: 1200px; }
}

/* same breakpoint as the club site's menu */
@media (min-width: 821px) {
  .pc-nav__logo img { width: clamp(150px, 20vw, 210px); }
  .pc-nav__links { gap: clamp(12px, 2.5vw, 30px); font-size: 1rem; }
  .pc-hero__grid { grid-template-columns: 1.15fr .85fr; text-align: left; }
  .pc-hero__facts { justify-items: start; }
  .pc-poster { max-width: 400px; margin: 0 0 0 auto; }
  .pc-section { padding-block: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pumpkin *, .pumpkin *::before, .pumpkin *::after { animation: none !important; transition: none !important; }
}
