/* Partyhelp landing pages. Tokens follow the new partyhelp.com.au Elementor kit. */
:root {
  --bg: #000927;          /* Alt Bg */
  --bg-deep: #00071f;     /* Bg Overlay */
  --bg-alt: #1d0033;      /* Alt Bg Light */
  --purple: #8b01fd;      /* Accent */
  --purple-2: #a020f0;    /* Purple */
  --purple-dark: #4b0082; /* Hover / Active */
  --text: #d9d9d9;
  --white: #ffffff;
  --line: rgba(237, 237, 237, 0.12);
  --card: rgba(255, 255, 255, 0.03);
  --radius: 20px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--white); margin: 0 0 16px; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0 0 16px; }
.hl { color: var(--purple-2); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--purple-2); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px/1.4 var(--body); color: var(--white); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--purple); border-radius: 2px; }
.eyebrow img + * , .eyebrow img { margin: 0; }
.eyebrow:has(img)::before { display: none; }

/* Buttons: pill with a round arrow badge, as on the main site */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 6px 6px 6px 26px; min-height: 52px;
  border: 1px solid var(--purple); border-radius: 50px;
  background: var(--purple); color: var(--white);
  font: 500 16px/1 var(--body); text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn__icon {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--white) url("../img/ph-arrow-up-right.svg") center / 16px no-repeat;
  transition: transform .2s;
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--ghost { background: transparent; border-color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--bg); }
.btn--light .btn__icon { background-color: var(--purple); background-image: url("../img/ph-arrow-up-right-white.svg"); }
.btn--light:hover { background: #ece4ff; border-color: #ece4ff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.actions--center { justify-content: center; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding-top: 24px; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 20px; border: 1px solid var(--line); border-radius: 50px;
  background: rgba(0, 7, 31, 0.35); backdrop-filter: blur(6px);
}
.site-header__logo img { width: 150px; height: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--white); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--purple-2); }
.site-header .btn { min-height: 46px; padding-left: 20px; font-size: 15px; }
.site-header .btn__icon { width: 34px; height: 34px; }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 170px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 7, 31, .95) 0%, rgba(0, 7, 31, .82) 45%, rgba(0, 7, 31, .45) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(0, 9, 39, 0) 30%);
}
.hero__inner > :not(.stats) { max-width: 760px; }
.hero__inner > .lead { max-width: 640px; }
.hero__inner--center { text-align: center; }
.hero__inner--center > * { margin-left: auto; margin-right: auto; }
.hero .lead { color: var(--text); }
.hero .btn { margin-top: 10px; }
.hero--short { padding: 190px 0 90px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 56px 0 0; padding: 26px 10px;
  background: rgba(29, 0, 51, .75); border: 1px solid var(--line); border-radius: var(--radius);
}
.stats > div { text-align: center; padding: 6px 12px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font: 600 clamp(26px, 3vw, 38px)/1.1 var(--head); color: var(--white); }
.stats dd { margin: 6px 0 0; font-size: 14px; }

/* Sections */
.section { padding: 90px 0; }
.section + .section { padding-top: 30px; }
.prose { max-width: 900px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.row-head h2 { margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 24px; }
.card--pad { padding: 30px; }
.card--pad .eyebrow { font-family: var(--head); font-size: 18px; font-weight: 600; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--purple-2);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 8px; width: 4px; height: 7px;
  border: solid var(--purple-2); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ticks--sm li { font-size: 14px; margin-bottom: 6px; }

/* How it works */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; overflow: hidden; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step img { margin-bottom: 18px; }
.step__no { display: block; color: var(--purple-2); font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.step__big { position: absolute; right: 14px; top: 2px; font: 700 96px/1 var(--head); color: rgba(255, 255, 255, .05); }

/* Testimonials */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0; }
.quote__mark { font: 700 54px/0.8 var(--head); color: var(--purple-2); height: 30px; }
.quote blockquote { margin: 0 0 22px; flex: 1; font-size: 15px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font: 600 17px/1.2 var(--head); color: var(--white); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: var(--white); font: 600 15px/1 var(--head); }
.slider-nav { display: flex; gap: 10px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--white); font-size: 18px; cursor: pointer; }
.round:hover { background: var(--purple); border-color: var(--purple); }

/* Venues */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px;
  padding: 34px 40px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(110deg, var(--bg-alt) 0%, #2b0a52 60%, var(--purple-dark) 100%);
}
.band__title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.band p { margin: 0; max-width: 640px; }

/* Form */
.section--form { padding-top: 0; }
.form-panel { max-width: 960px; margin: 0 auto; padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.form-panel noscript p { margin: 0; }

/* Partyhelp embed brand overrides (variables documented in docs/EMBED.md of the Partyhelp app) */
#partyhelp-form .partyhelp-form-wrapper {
  --ph-bg-form: transparent; --ph-bg-input: var(--bg); --ph-bg-dark: var(--bg);
  --ph-border: rgba(237, 237, 237, 0.18); --ph-text: #ffffff; --ph-text-muted: var(--text);
  --ph-primary: var(--purple); --ph-primary-hover: var(--purple-dark); --ph-error: #ff8a8a;
  --ph-radius: 0; --ph-radius-sm: 10px;
  font-family: var(--body); max-width: none; padding: 0; box-shadow: none; border: 0;
}
#partyhelp-form .partyhelp-form-heading { font-family: var(--head); font-weight: 600; color: var(--white); font-size: 24px; line-height: 1.3; }
#partyhelp-form .partyhelp-venue-styles-label,
#partyhelp-form .partyhelp-preferred-location-field-group-label,
#partyhelp-form .partyhelp-location-area-name { font-family: var(--head); color: var(--white); }
#partyhelp-form .partyhelp-submit-button { border-radius: 50px; min-height: 54px; font: 500 16px/1 var(--body); background: var(--purple); color: #fff; box-shadow: 0 10px 30px rgba(139, 1, 253, .35); }
#partyhelp-form .partyhelp-submit-button:hover,
#partyhelp-form .partyhelp-submit-button:focus { background: var(--purple-dark); }
#partyhelp-form .partyhelp-input:focus,
#partyhelp-form .partyhelp-select:focus,
#partyhelp-form .partyhelp-textarea:focus { border-color: var(--purple-2); box-shadow: 0 0 0 3px rgba(160, 32, 240, .25); }
#partyhelp-form input[type=checkbox] { accent-color: var(--purple); }
#partyhelp-form .partyhelp-form-help a { color: var(--purple-2); }
#partyhelp-form .partyhelp-location-option,
#partyhelp-form .partyhelp-location-area-name { display: flex; align-items: center; gap: 10px; }
#partyhelp-form input[type=checkbox] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
#partyhelp-form input[type="date"] { color-scheme: dark; }

/* Thank-you page */
.ty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.numbered { margin: 0; padding-left: 22px; }
.numbered li { margin-bottom: 10px; }
.numbered li::marker { color: var(--purple-2); font-weight: 600; }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); }
.site-footer__main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.site-footer__main p { max-width: 460px; font-size: 15px; }
.site-footer h2 { font-size: 20px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.social a:hover { background: var(--purple); border-color: var(--purple); }
.social svg { width: 16px; height: 16px; fill: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: var(--text); }
.footer-links a:hover { color: var(--white); }
.site-footer__bar { background: var(--bg-alt); padding: 22px 0; font-size: 14px; }
.site-footer__bar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bar a { color: var(--text); }

/* Responsive */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 860px) {
  .cards, .gallery, .ty-grid { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .site-footer__main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 14px; }
  .site-header__bar { padding-left: 14px; }
  .site-header__logo img { width: 118px; }
  .site-header .btn { padding-left: 14px; gap: 10px; font-size: 14px; min-height: 42px; }
  .site-header .btn__icon { width: 30px; height: 30px; background-size: 13px; }
  .hero { padding: 130px 0 50px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(0, 7, 31, .85) 35%, rgba(0, 7, 31, .7) 100%); }
  .stats { grid-template-columns: 1fr 1fr; padding: 10px; }
  .stats > div { padding: 14px 8px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 60px 0; }
  .cards, .gallery, .ty-grid, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery img { border-radius: 12px; }
  .quotes { grid-auto-columns: 88%; }
  .row-head { align-items: flex-start; }
  .slider-nav { display: none; }
  .form-panel { padding: 22px 16px; border-radius: 16px; }
  .btn { padding-left: 20px; }
}
