/* ==========================================================================
   Ripple event page (8 Oct: The Room That Gives Back), version 2
   Only the nas.com page's own copy.
   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 three Custom HTML blocks (event, ticket,
   about), 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: banner, Limited slots, title, host, when, where ---- */
.re-cover { position: relative; 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-limited { margin-top: 16px; font-size: .95rem; font-weight: 700; color: var(--re-orange-hi); }
.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 { margin-top: 8px; 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-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-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; }
.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 { 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 p + p { margin-top: 16px; }
.re-about__h { font-weight: 700; color: #fff; }
.re-list { display: grid; gap: 12px; margin: 16px 0 0; }
.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; }
/* two columns: the title, the question and the story left, the session card right; then who it's for and the closing line */
.re-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 30px clamp(32px, 5vw, 64px); }
.re-about__grid > * { margin: 0 !important; }
.re-about__card { padding: 28px 28px 26px; border-radius: 24px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11); }
.re-about__fit, .re-about__grid > .re-about__close { align-self: center; }
.re-about__close { 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; }

.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; }

@media (max-width: 900px) {
  .re-about__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .re-cover, .re-cover img { border-radius: 16px; }
  .re-limited { margin-top: 14px; }
  .re-title { font-size: 1.95rem; }
  .re-ico { width: 46px; height: 46px; border-radius: 12px; }
  .re-about { font-size: 1rem; }
  .re-about__card { padding: 22px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .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: the about, one column */
.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, 1fr); }

/* 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-iconfield { position: relative; }
.re-iconfield .re-i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--re-text-3); pointer-events: none; }
.re-iconfield .re-input { padding-left: 46px; }
.re-group { margin: 6px 0 -4px; font-size: .95rem; font-weight: 700; color: var(--re-text); }
.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; }
}
@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; }
}
