/* ==========================================================================
   Ripple event page (8 Oct: The Room That Gives Back), version 1
   The funnel's dark look: same tokens as the Get Info and Thank You pages.

   PART 1 · GoHighLevel. Everything down to the "PART 2" line goes into the
   page's Custom CSS. It styles the five Custom HTML blocks (event, ticket,
   about, host, footer), all scoped under .re so nothing leaks into GHL's own
   markup. The form is GHL's own Form element, styled in the Form Builder.
   ========================================================================== */
.re, .re-page {
  --re-ink: #130C19;
  --re-ink-2: #1B1223;
  --re-orange: #FF751F;
  --re-orange-hi: #FF9A55;
  --re-orange-ink: #B34A06;
  --re-gold: #F2C46B;
  --re-on-ink: #F8F3FA;
  --re-on-ink-2: rgba(248, 243, 250, .76);
  --re-on-ink-3: rgba(248, 243, 250, .56);
  --re-text: #1C1422;
  --re-text-2: #5D5366;
  --re-text-3: #766C7F;
  --re-line: rgba(28, 20, 34, .14);
  --re-grad: linear-gradient(100deg, #FF751F 0%, #E0607E 52%, #975AB6 100%);
  --re-font: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.re { font-family: var(--re-font); color: var(--re-on-ink); -webkit-font-smoothing: antialiased; }
.re *, .re *::before, .re *::after { box-sizing: border-box; }
/* resets carry no specificity (:where), so every component rule below wins over them */
.re :where(p, h1, h2, ul) { margin: 0; padding: 0; }
.re :where(ul) { list-style: none; }
.re :where(img) { display: block; max-width: 100%; }
.re-i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- event: logo, banner, title, host, when / where / price ---- */
.re-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 28px 0 14px; }
.re-meta .re-eyebrow { margin: 0; }
.re-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.re-chip__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--re-orange); box-shadow: 0 0 0 4px rgba(255, 117, 31, .22); }
.re-cover { padding: 2px; border-radius: 22px; background: var(--re-grad); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 80px -26px rgba(151, 90, 182, .55); }
.re-cover img { width: 100%; height: auto; aspect-ratio: 1532 / 854; object-fit: cover; border-radius: 20px; }
.re-eyebrow { display: flex; align-items: center; gap: 12px; margin: 30px 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--re-orange); }
.re-eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; border-radius: 2px; background: var(--re-grad); }
.re-title { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.re-scb { position: relative; display: inline-block; padding-right: .06em; font-style: italic; font-weight: 300; letter-spacing: -.03em; }
.re-scb svg { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .28em; overflow: visible; }
.re-scb path { fill: none; stroke: var(--re-orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: reDraw 1.1s .5s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes reDraw { to { stroke-dashoffset: 0; } }
.re-host { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 1rem; color: var(--re-on-ink-2); }
.re-host img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--re-orange); }
.re-host b { font-weight: 700; color: #fff; }
.re-details { display: grid; gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.re-details li { display: flex; align-items: center; gap: 16px; }
.re-details__txt { display: grid; gap: 2px; font-size: .95rem; line-height: 1.4; color: var(--re-on-ink-2); }
.re-details__txt b { font-size: 1.05rem; font-weight: 700; color: #fff; }
.re-local { color: var(--re-orange-hi); font-weight: 600; }
.re-cal, .re-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; }
.re-cal { align-content: center; gap: 1px; background: #fff; color: var(--re-ink); text-align: center; overflow: hidden; }
.re-cal b { display: block; width: 52px; padding: 3px 0 2px; background: var(--re-orange); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--re-ink); }
.re-cal i { font-style: normal; font-size: 1.3rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.re-cal { place-items: stretch; align-content: start; }
.re-ico { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--re-orange-hi); }

/* ---- ticket: the top of the white form card ---- */
.re-ticket { color: var(--re-text); scroll-margin-top: 24px; }
.re-ticket__title { font-size: 1.45rem; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--re-text); }
.re-ticket__sub { margin-top: 6px; font-size: .98rem; color: var(--re-text-2); }
.re-ticket__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 22px; padding: 14px 16px; border-radius: 14px; background: #FFF4EC; box-shadow: inset 0 0 0 1px rgba(255, 117, 31, .25); font-size: .95rem; font-weight: 600; color: var(--re-text); }
.re-ticket__row b { font-size: 1.1rem; font-weight: 800; color: var(--re-orange-ink); }

/* ---- about ---- */
.re-about { max-width: 42rem; font-size: 1.06rem; line-height: 1.7; color: var(--re-on-ink-2); }
.re-about .re-eyebrow { margin-top: 0; }
.re-about__title { margin-bottom: 18px; font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.re-about__q { margin-bottom: 18px; font-size: clamp(1.2rem, 1rem + .6vw, 1.42rem); font-style: italic; font-weight: 300; line-height: 1.45; color: #fff; }
.re-about p + p { margin-top: 16px; }
.re-about__h { margin-top: 28px !important; font-weight: 700; color: #fff; }
.re-list { display: grid; gap: 12px; margin: 16px 0 28px; }
.re-list li { display: flex; align-items: flex-start; gap: 14px; }
.re-list .re-i { width: 26px; height: 26px; margin-top: 1px; padding: 5px; border-radius: 50%; background: rgba(255, 117, 31, .16); color: var(--re-orange-hi); stroke-width: 3; }
.re-about__close { margin-top: 26px !important; padding: 20px 22px; border-left: 3px solid var(--re-orange); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, .05); font-size: 1.14rem; font-weight: 600; line-height: 1.55; color: #fff; }

/* ---- host card, beside the about ---- */
.re-hostcard { display: grid; justify-items: center; padding: 32px 28px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-align: center; }
.re-hostcard__img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--re-grad); }
.re-hostcard__by { margin-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--re-on-ink-3); }
.re-hostcard__name { margin-top: 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.re-hostcard__role { margin-top: 2px; font-size: 1rem; color: var(--re-orange-hi); }
.re-hostcard__when { margin: 20px 0 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); width: 100%; font-size: .95rem; color: var(--re-on-ink-2); }
.re-hostcard__when b { color: #fff; }
.re-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--re-orange); font: 700 1.05rem/1.2 var(--re-font); color: var(--re-ink); text-decoration: none; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(255, 117, 31, .75); transition: transform .25s, background .25s; }
.re-btn:hover { transform: translateY(-1px); background: var(--re-orange-hi); }
.re-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.re-btn .re-i { width: 20px; height: 20px; }
.re-ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .95rem; font-weight: 600; color: var(--re-on-ink-2); text-decoration: none; }
.re-ask .re-i { width: 18px; height: 18px; }
.re-ask:hover { color: #fff; }

/* ---- footer ---- */
.re-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); background: #0B070F; font-size: .88rem; text-align: center; color: var(--re-on-ink-3); }
.re-foot__logo { width: auto; height: 30px; }
.re-foot__links { display: flex; gap: 20px; }
.re-foot a { color: var(--re-on-ink-2); text-decoration: underline; text-underline-offset: 3px; }
.re-foot a:hover { color: #fff; }

@media (max-width: 760px) {
  .re-cover, .re-cover img { border-radius: 16px; }
  .re-meta { margin-top: 22px; }
  .re-title { font-size: 1.95rem; }
  .re-cal, .re-ico { width: 46px; height: 46px; border-radius: 12px; }
  .re-cal b { width: 46px; }
  .re-about { font-size: 1rem; }
  .re-hostcard { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .re-scb path { animation: none; stroke-dashoffset: 0; }
  .re-btn { transition: none; }
}

/* ==========================================================================
   PART 2 · PREVIEW ONLY — not for GoHighLevel.
   In GHL the backgrounds, rows, columns and the white card are section, row
   and column settings, and the form is GHL's own Form element styled in the
   Form Builder (values in ghl/BUILD-IN-GHL.md). These rules only make the
   preview look and behave the same.
   ========================================================================== */
.re-page *, .re-page *::before, .re-page *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.re-page { margin: 0; background: var(--re-ink); font-family: var(--re-font); color: var(--re-text); -webkit-font-smoothing: antialiased; }
.re-page [hidden] { display: none !important; }
.re-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* section 1: the event and the form card */
.re-hero { padding: clamp(28px, 5vh, 64px) clamp(16px, 4vw, 44px) clamp(44px, 7vh, 88px); background: var(--re-ink) url("../img/re-bg.webp") center top / cover no-repeat; }
.re-row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(32px, 5vw, 72px); width: 100%; max-width: 1180px; margin: 0 auto; }
.re-col--form { padding: clamp(26px, 3vw, 36px) clamp(22px, 2.6vw, 32px); border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }

/* section 2: about and the host card */
.re-more { padding: clamp(48px, 8vh, 96px) clamp(16px, 4vw, 44px); background: var(--re-ink); border-top: 1px solid rgba(255, 255, 255, .06); }
.re-row--more { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.re-col--host { position: sticky; top: 24px; }

/* the stand-in form: what the Form Builder settings in BUILD-IN-GHL.md produce */
.re-form { display: grid; gap: 16px; margin: 0; }
.re-field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.re-label { padding: 0; font-size: .95rem; font-weight: 600; line-height: 1.45; color: var(--re-text); }
.re-req { color: var(--re-orange-ink); }
.re-help { margin: 0; font-size: .84rem; color: var(--re-text-3); }
.re-input, .re-dial { height: 50px; border: 1px solid #DCD8DE; border-radius: 12px; background: #fff; font: 500 1rem var(--re-font); color: var(--re-text); transition: border-color .2s, box-shadow .2s; }
.re-input { width: 100%; padding: 0 16px; }
.re-input::placeholder { color: var(--re-text-3); opacity: 1; }
.re-input:focus, .re-dial:focus-within { outline: none; border-color: var(--re-orange); box-shadow: 0 0 0 4px rgba(255, 117, 31, .18); }
.re-phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.re-dial { position: relative; display: flex; align-items: center; padding: 0 34px 0 16px; }
.re-dial select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: inherit; }
.re-dial__shown { font-weight: 600; white-space: nowrap; }
.re-dial::after { content: ""; position: absolute; top: 50%; right: 16px; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--re-text-3); border-bottom: 2px solid var(--re-text-3); transform: rotate(45deg); pointer-events: none; }
.re-choice { display: block; }
.re-choice legend { margin-bottom: 10px; }
.re-options { display: grid; gap: 8px; }
.re-check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border: 1px solid #DCD8DE; border-radius: 12px; font-weight: 500; color: var(--re-text); cursor: pointer; transition: border-color .2s, background-color .2s; }
.re-check input { width: 19px; height: 19px; margin: 0; accent-color: var(--re-orange); }
.re-check:has(input:checked) { border-color: var(--re-orange); background: #FFF4EC; }
.re-check:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(255, 117, 31, .18); }
.re-choice.is-bad .re-check { border-color: #D64545; }
.re-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FDECEC; font-size: .9rem; font-weight: 600; color: #A12A2A; }
.re-btn--submit { margin-top: 4px; }
.re-btn--submit:focus-visible { outline-color: var(--re-ink); }

/* after sending: GHL's "show message" setting */
.re-done { display: grid; justify-items: center; gap: 10px; padding: 26px 8px 10px; text-align: center; color: var(--re-text-2); outline: none; }
.re-done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--re-orange); color: var(--re-ink); }
.re-done__icon .re-i { width: 30px; height: 30px; stroke-width: 2.6; }
.re-done__title { margin: 6px 0 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--re-text); }
.re-done p { max-width: 30ch; margin: 0; line-height: 1.55; }

/* the note the preview's placeholder links show */
.re-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 10; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7); font: 600 .9rem/1.4 var(--re-font); color: var(--re-text); transform: translateX(-50%); }

@media (max-width: 960px) {
  .re-row, .re-row--more { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .re-col--host { position: static; }
}
@media (max-width: 760px) {
  .re-hero { padding: 24px 16px 40px; background-position: 70% top; }
  .re-col--form { border-radius: 22px; }
  .re-phone { grid-template-columns: 104px minmax(0, 1fr); }
  .re-more { padding: 44px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
