/* ==========================================================================
   Ripple — evergreen opt-in page, version 1
   The Ripple membership page's look: Ripple's gold (from its logo) on deep ink,
   the funnel's violet glow, Work Sans with Instrument Serif for the voice lines.

   PART 1 · GoHighLevel. Everything down to the "PART 2" line goes into the
   page's Custom CSS. Every block is scoped under .ro; each GHL section is a
   plain full-width section holding one Custom HTML block, which carries its
   own spacing and background. The foil card's styles (.fc…) come last.
   ========================================================================== */
.ro, .ro-page {
  --ro-ink: #0C0910;
  --ro-ink-2: #14101A;
  --ro-ink-3: #1C1624;
  --ro-gold: #FFC861;
  --ro-orange: #FF7A2E;
  --ro-violet: #8E5BD0;
  --ro-text: #F6F1F8;
  --ro-text-2: rgba(246, 241, 248, .76);
  --ro-text-3: rgba(246, 241, 248, .54);
  --ro-line: rgba(255, 255, 255, .1);
  --ro-line-2: rgba(255, 200, 97, .28);
  --ro-grad: linear-gradient(100deg, #FFD883 0%, #FFAE4F 48%, #FF7A2E 100%);
  --ro-font: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ro-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ro-ease: cubic-bezier(.2, .7, .2, 1);
}
.ro { position: relative; overflow: hidden; background: var(--ro-ink); font-family: var(--ro-font); font-size: 17px; line-height: 1.6; color: var(--ro-text-2); -webkit-font-smoothing: antialiased; }
.ro *, .ro *::before, .ro *::after { box-sizing: border-box; }
/* resets carry no specificity (:where), so every component rule below wins over them */
.ro :where(p, h1, h2, h3, ul, ol, figure) { margin: 0; padding: 0; }
.ro :where(ul, ol) { list-style: none; }
.ro :where(img) { display: block; max-width: 100%; height: auto; }
.ro :where(button) { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.ro :where(a) { color: inherit; }
.ro-i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- shared parts ---- */
.ro-wrap { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }
.ro-sec { padding: clamp(72px, 9vw, 128px) 0; }
.ro-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--ro-gold); }
.ro-eyebrow::before { content: ""; flex: none; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--ro-gold)); }
/* the section labels: small gold capitals, as the line on top */
.ro-label { display: flex; margin: 0 0 22px; }
.ro-grad { background: var(--ro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em .06em 0; margin: 0 -.08em -.06em 0; }
.ro-serif { font-family: var(--ro-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.ro-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 34px; border-radius: 999px; background: var(--ro-grad); font: 700 .98rem/1.15 var(--ro-font); letter-spacing: .16em; text-transform: uppercase; color: #1A0E05; text-decoration: none; box-shadow: 0 18px 44px -16px rgba(255, 140, 50, .8), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .3s var(--ro-ease), box-shadow .3s; isolation: isolate; overflow: hidden; }
.ro-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ro-ease); }
.ro-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 54px -16px rgba(255, 140, 50, .95), inset 0 1px 0 rgba(255, 255, 255, .45); }
.ro-btn:hover::after { transform: translateX(120%); }
.ro-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ro-btn .ro-i { width: 20px; height: 20px; stroke-width: 2.2; transition: transform .3s var(--ro-ease); }
.ro-btn:hover .ro-i { transform: translateX(4px); }
.ro-cta { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 64px); }
.ro-glow { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.ro-glow--gold { background: radial-gradient(circle, rgba(255, 170, 70, .28) 0%, rgba(255, 170, 70, .08) 42%, transparent 70%); }
.ro-glow--violet { background: radial-gradient(circle, rgba(142, 91, 208, .42) 0%, rgba(142, 91, 208, .1) 42%, transparent 70%); }

/* ---- 01 hero: the promise beside Michelle's video ---- */
.ro-hero { padding: clamp(52px, 7vw, 104px) 0 clamp(64px, 8vw, 116px); background: radial-gradient(70% 60% at 25% 0%, #1E1328 0%, var(--ro-ink) 70%); }
.ro-rings { position: absolute; z-index: 0; width: 0; height: 0; pointer-events: none; }
.ro-hero .ro-rings { left: 76%; top: 64%; }
.ro-rings i { position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; border: 1px solid rgba(255, 190, 90, .45); opacity: 0; transform: scale(.12); animation: roRipple 9s cubic-bezier(.2, .6, .3, 1) infinite; }
.ro-rings i:nth-child(2) { animation-delay: 2.25s; }
.ro-rings i:nth-child(3) { animation-delay: 4.5s; }
.ro-rings i:nth-child(4) { animation-delay: 6.75s; }
@keyframes roRipple { 0% { transform: scale(.12); opacity: 0; } 12% { opacity: .85; } 100% { transform: scale(1.4); opacity: 0; } }
.ro-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "head head" "copy film" "cta film"; grid-template-rows: auto auto 1fr; align-items: start; column-gap: clamp(36px, 5vw, 72px); }
.ro-hero__head { grid-area: head; margin-bottom: clamp(36px, 4.5vw, 56px); }
.ro-hero__copy { grid-area: copy; }
.ro-hero__film { grid-area: film; }
.ro-hero__cta { grid-area: cta; align-self: start; margin-top: 34px; }
.ro-h1 { max-width: 24ch; margin-top: 22px; font-size: clamp(2.35rem, 1.1rem + 3.6vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.042em; color: #fff; text-wrap: balance; }
.ro-hero__sub { margin-top: 20px; font-family: var(--ro-serif); font-style: italic; font-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.35rem); line-height: 1.15; color: var(--ro-gold); }
.ro-hero__body { display: grid; gap: 14px; max-width: 36rem; font-size: clamp(1.02rem, .97rem + .25vw, 1.14rem); line-height: 1.65; }
.ro-hero__body .ro-that { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }

.ro-film { position: relative; width: 100%; padding: 2px; border-radius: 28px; background: linear-gradient(140deg, rgba(255, 216, 131, .9), rgba(255, 122, 46, .5) 40%, rgba(142, 91, 208, .7)); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(255, 150, 60, .5); }
.ro-film__box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px; background: #000; }
.ro-film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s var(--ro-ease); }
.ro-film__box:hover .ro-film__poster { transform: scale(1.03); }
.ro-film__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ro-film__box.is-playing .ro-film__poster, .ro-film__box.is-playing .ro-play { visibility: hidden; }
.ro-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(55% 65% at 50% 50%, rgba(12, 9, 16, 0) 0%, rgba(12, 9, 16, .5) 100%); }
.ro-play__btn { position: relative; display: grid; place-items: center; width: clamp(68px, 7vw, 92px); height: clamp(68px, 7vw, 92px); border-radius: 50%; background: var(--ro-grad); color: #1A0E05; box-shadow: 0 20px 50px -12px rgba(255, 140, 50, .9); transition: transform .35s var(--ro-ease); }
.ro-play__btn::before, .ro-play__btn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 200, 110, .75); animation: roPulse 2.6s ease-out infinite; }
.ro-play__btn::after { animation-delay: 1.3s; }
@keyframes roPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.ro-play__btn svg { width: 40%; height: 40%; margin-left: 8%; fill: currentColor; }
.ro-play:hover .ro-play__btn, .ro-play:focus-visible .ro-play__btn { transform: scale(1.08); }
.ro-play:focus-visible { outline: 3px solid #fff; outline-offset: -8px; border-radius: 26px; }
/* until the video's link is in, pressing play says so (the block's script adds .is-waiting) */
.ro-film__soon { position: absolute; left: 50%; bottom: 18px; padding: 8px 16px; border-radius: 999px; background: rgba(12, 9, 16, .82); box-shadow: inset 0 0 0 1px var(--ro-line-2); font-size: .84rem; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .3s var(--ro-ease); pointer-events: none; }
.ro-film__box.is-waiting .ro-film__soon { opacity: 1; transform: translate(-50%, 0); }

/* ---- 02 who is already in the room ---- */
.ro-room { padding-bottom: clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--ro-ink) 0%, var(--ro-ink-2) 100%); }
.ro-room__head { max-width: 62rem; }
.ro-h2 { font-size: clamp(1.95rem, 1.1rem + 2.7vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.ro-num { white-space: nowrap; }
.ro-room__mix { max-width: 48rem; margin-top: 24px; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.6; }
.ro-room__intro { max-width: 48rem; margin-top: clamp(48px, 6vw, 72px); font-size: 1.05rem; color: #fff; }
.ro-members { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.ro-member { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--ro-line); overflow: hidden; transition: transform .4s var(--ro-ease), box-shadow .4s; }
.ro-member::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 200, 97, .16); box-shadow: 0 0 0 22px rgba(255, 200, 97, .035), 0 0 0 44px rgba(255, 200, 97, .025); transition: transform .6s var(--ro-ease); }
.ro-member:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ro-line-2), 0 24px 50px -30px rgba(255, 150, 60, .5); }
.ro-member:hover::before { transform: scale(1.25); }
.ro-member__mono { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; padding: 2px; border-radius: 50%; background: var(--ro-grad); }
.ro-member__mono span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ro-ink-3); font-size: .86rem; font-weight: 800; letter-spacing: .04em; color: var(--ro-gold); }
.ro-member b { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.ro-member > span:last-child { font-size: .95rem; line-height: 1.5; }
.ro-room__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; margin-top: 14px; }
.ro-note { display: flex; align-items: flex-start; gap: 16px; padding: 24px 26px; border-radius: 20px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--ro-line); font-size: 1.05rem; line-height: 1.55; color: #fff; }
.ro-note--gold { background: linear-gradient(160deg, rgba(255, 190, 90, .14), rgba(255, 122, 46, .04) 60%, rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--ro-line-2); }
.ro-note__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 200, 97, .12); color: var(--ro-gold); }
.ro-note__icon .ro-i { width: 24px; height: 24px; }
.ro-place { color: var(--ro-gold); font-weight: 700; }

/* ---- 03 what happens inside ---- */
.ro-inside { padding-top: clamp(28px, 3.5vw, 48px); background: var(--ro-ink-2); }
.ro-inside .ro-label { margin-bottom: 26px; }
.ro-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ro-step { position: relative; padding: 32px 30px 36px; border-radius: 24px; background: linear-gradient(180deg, var(--ro-ink-3), rgba(28, 22, 36, .4)); box-shadow: inset 0 0 0 1px var(--ro-line); overflow: hidden; transition: box-shadow .4s, transform .4s var(--ro-ease); }
.ro-step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ro-line-2); }
.ro-step__big { position: absolute; right: 12px; bottom: -46px; font-size: 8.5rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 200, 97, .16); pointer-events: none; }
.ro-step h3 { position: relative; display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.ro-step__no { flex: none; font-size: .86rem; font-weight: 800; letter-spacing: .14em; color: var(--ro-gold); }
.ro-step p { position: relative; max-width: 32rem; margin-top: 14px; font-size: 1.02rem; line-height: 1.65; }

/* ---- 04 questions, and the invite card with the last button ---- */
.ro-qs { background: radial-gradient(60% 70% at 85% 40%, #1D1430 0%, var(--ro-ink) 72%); }
.ro-qs__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: clamp(36px, 6vw, 84px); }
.ro-qas .ro-label { margin-bottom: 10px; }
.ro-qa { border-top: 1px solid var(--ro-line); }
.ro-qa:last-child { border-bottom: 1px solid var(--ro-line); }
.ro-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; list-style: none; cursor: pointer; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; color: #fff; }
.ro-qa summary::-webkit-details-marker { display: none; }
.ro-qa summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 200, 97, .1) center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23FFC861' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .35s var(--ro-ease), background-color .3s; }
.ro-qa summary:hover::after { background-color: rgba(255, 200, 97, .18); }
.ro-qa[open] summary::after { transform: rotate(45deg); }
.ro-qa summary:focus-visible { outline: 2px solid var(--ro-gold); outline-offset: 4px; border-radius: 6px; }
.ro-qa p { padding: 0 54px 28px 0; font-size: 1.04rem; line-height: 1.7; }
.ro-eq { color: #fff; font-weight: 700; }
.ro-invite { position: sticky; top: 32px; display: grid; justify-items: center; gap: 30px; padding: clamp(24px, 3vw, 34px); border-radius: 30px; background: linear-gradient(180deg, rgba(28, 22, 36, .8), rgba(18, 14, 24, .5)); box-shadow: inset 0 0 0 1px var(--ro-line); }
.ro-invite .fc { max-width: 440px; }
.ro-invite .ro-btn { width: 100%; }

/* ---- 05 the logos ---- */
.ro-foot { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 44px); padding: 56px 20px calc(56px + env(safe-area-inset-bottom)); background: var(--ro-ink); border-top: 1px solid var(--ro-line); }
.ro-foot__ripple { width: auto; height: 46px; }
.ro-foot__fif { width: auto; height: 72px; }
.ro-foot__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ro-gold); opacity: .7; }

/* ---- smaller screens ---- */
@media (max-width: 1100px) {
  .ro-members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ro-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "copy" "film" "cta"; grid-template-rows: auto; }
  .ro-hero__film { margin-top: 36px; }
  .ro-hero .ro-rings { left: 50%; top: 70%; }
  .ro-room__pair, .ro-qs__grid { grid-template-columns: minmax(0, 1fr); }
  .ro-invite { position: static; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  .ro { font-size: 16px; }
  .ro-hero__cta .ro-btn, .ro-cta .ro-btn { width: 100%; }
  .ro-members { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ro-member { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .ro-member__mono { grid-row: span 2; margin: 0; }
  .ro-steps { grid-template-columns: minmax(0, 1fr); }
  .ro-step { padding: 26px 22px 30px; }
  .ro-step__big { font-size: 7rem; bottom: -30px; }
  .ro-note { padding: 20px; }
  .ro-qa p { padding-right: 0; }
  .ro-foot__ripple { height: 36px; }
  .ro-foot__fif { height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .ro-rings i, .ro-play__btn::before, .ro-play__btn::after { animation: none; }
  .ro-rings i { opacity: .22; }
  .ro-rings i:nth-child(1) { transform: scale(.35); } .ro-rings i:nth-child(2) { transform: scale(.65); }
  .ro-rings i:nth-child(3) { transform: scale(.95); } .ro-rings i:nth-child(4) { transform: scale(1.25); }
  .ro-btn, .ro-btn::after, .ro-member, .ro-step, .ro-film__poster { transition: none; }
}

/*
  Foil card: a 3D membership/pass card that tilts toward the pointer, lifts, and catches light.
  Pair with foil-card.js. Every size inside the card is in cqw, so it scales with its column.

  Structure:
    .fc                     wrapper: perspective + size container (put data-foil-card on it)
      .fc-object            the card; transformed from --fc-x/--fc-y/--fc-lift set by the JS
        .fc-edge            card thickness + drop shadow
        .fc-face            printed surface (finish gradients, clipped)
          .fc-emblem        oversized foil watermark (masked by --fc-mark)
          .fc-grain         paper/metal grain
          .fc-content       your text: brand, title, meta, chip...
          .fc-sheen         moving highlight
*/

.fc {
  perspective: 900px;
  container-type: inline-size;
  width: 100%;
  padding-block: 8px 14px; /* room for the lift and shadow */
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.fc-object {
  --fc-x: 0deg;        /* pointer tilt, written by JS */
  --fc-y: 0deg;
  --fc-lift: 0;        /* 0 at rest, 1 while hovered */
  --fc-shine-x: 50%;
  --fc-shine-y: 50%;

  /* Finish tokens: override these (or use a .fc-finish-* class) */
  --fc-ink: #43473f;
  --fc-ink-soft: #6b6f64;
  --fc-edge: #b4b6ab;
  --fc-face: radial-gradient(at 6% 0%, #fff 0%, transparent 60%),
             linear-gradient(120deg, #e1e3da, #f4f4ee 42%, #d7dacf 100%);
  --fc-face-ring: inset 0 0 0 1px rgb(255 255 255 / .65), inset 0 0 0 2px rgb(82 90 57 / .08), inset 0 -2px 3px rgb(28 36 21 / .13);
  --fc-foil: linear-gradient(120deg, #a9af9d 5%, #fff 24%, #c3cab7 38%, #fdfef8 47%, #b2baa1 64%, #fff 80%);
  --fc-emblem-opacity: .45;
  --fc-text-shadow: 0 1px 0 rgb(255 255 255 / .5);
  --fc-grain-opacity: .18;
  --fc-grain-blend: multiply;
  --fc-mark: none;     /* url(logo-mark.svg) to show a foil watermark */

  position: relative;
  width: 100%;
  aspect-ratio: 1.586; /* ISO ID-1 card */
  border-radius: 5.5cqw;
  color: var(--fc-ink);
  transform-style: preserve-3d;
  transform:
    scale(calc(1 + var(--fc-lift) * .035))
    rotateX(calc(var(--fc-y) + 6deg * var(--fc-lift)))
    rotateY(calc(var(--fc-x) - 6deg * var(--fc-lift)))
    rotateZ(calc(-2deg * var(--fc-lift)));
}

.fc-edge,
.fc-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.fc-edge {
  background: var(--fc-edge);
  transform: translateZ(-.5px) translateY(.5px);
  box-shadow:
    0 .5px .5px rgb(23 32 18 / .14),
    0 calc(12px + var(--fc-lift) * 8px) calc(16px + var(--fc-lift) * 8px) -10px rgb(23 32 18 / .32),
    0 calc(24px + var(--fc-lift) * 10px) calc(28px + var(--fc-lift) * 10px) -18px rgb(23 32 18 / .22);
}

.fc-face {
  isolation: isolate;
  overflow: hidden;
  background: var(--fc-face);
  box-shadow: var(--fc-face-ring);
  transform: translateZ(.5px);
}

/* Foil surfaces: the gradient slides with the pointer, so the colours shift like real foil. */
.fc-emblem,
.fc-foil {
  background-image: var(--fc-foil);
  background-size: 200% 200%;
  background-position: var(--fc-shine-x) var(--fc-shine-y);
}

.fc-emblem {
  position: absolute;
  inset: -22% -23% -35% 29%;
  opacity: var(--fc-emblem-opacity);
  transform: rotate(-24deg);
  -webkit-mask: var(--fc-mark) center / contain no-repeat;
  mask: var(--fc-mark) center / contain no-repeat;
}

.fc-grain,
.fc-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.fc-grain {
  z-index: 1;
  opacity: var(--fc-grain-opacity);
  mix-blend-mode: var(--fc-grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.fc-sheen {
  z-index: 3;
  mix-blend-mode: soft-light;
  opacity: calc(.15 + var(--fc-lift) * .5);
  background:
    radial-gradient(ellipse at var(--fc-shine-x) var(--fc-shine-y), rgb(255 255 255 / .44), rgb(255 255 255 / .06) 40%, transparent 72%),
    linear-gradient(125deg, transparent 20%, rgb(255 255 255 / .22) 40%, transparent 60%);
}

.fc-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7.5cqw;
  text-shadow: var(--fc-text-shadow);
}

/* Optional content pieces ---------------------------------------------------------------- */

.fc-brand {
  display: inline-flex;
  align-items: center;
  gap: 2.2cqw;
  font-size: 8.5cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.06em;
}
.fc-brand img,
.fc-brand svg { height: 1em; width: auto; display: block; }

.fc-bottom {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2.5cqw;
}
.fc-title {
  display: block;
  font-size: 6.1cqw;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.035em;
}
.fc-meta {
  display: flex;
  gap: 2.5cqw;
  margin-top: 1.6cqw;
  font-size: 2.6cqw;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fc-ink-soft);
}

/* Contactless waves drawn in foil */
.fc-contactless {
  width: 7cqw;
  height: 7cqw;
  margin-block: 3cqw;
  opacity: .9;
  filter: brightness(.8) contrast(1.3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5a4 4 0 0 1 0 5'/%3E%3Cpath d='M9.5 7a8 8 0 0 1 0 10'/%3E%3Cpath d='M13 4.5a12 12 0 0 1 0 15'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5a4 4 0 0 1 0 5'/%3E%3Cpath d='M9.5 7a8 8 0 0 1 0 10'/%3E%3Cpath d='M13 4.5a12 12 0 0 1 0 15'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Metal chip with its own glint */
.fc-chip {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 10cqw;
  aspect-ratio: 132 / 176;
  overflow: hidden;
  color: #748083;
  border: 1px solid #8b9698;
  border-radius: 1.3cqw;
  background: linear-gradient(135deg, #8e999b 0%, #f7fafa 19%, #aeb9bb 35%, #fff 48%, #9ea9ac 68%, #e7eded 84%, #909b9d 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .92), inset 0 -1px 1px rgb(98 112 115 / .4);
}
.fc-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .8;
  background: linear-gradient(110deg, transparent 24%, rgb(255 255 255 / .72) 38%, rgb(255 255 255 / .12) 44%, transparent 58%) 0 0 / 180% 100%;
  background-position: var(--fc-shine-x) 50%;
}
.fc-chip svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Finishes ------------------------------------------------------------------------------ */

.fc-finish-sage {
  --fc-ink: #263927;
  --fc-ink-soft: #3c5239;
  --fc-edge: #718266;
  --fc-face: radial-gradient(at 10% 0%, rgb(215 227 198 / .7), transparent 60%),
             linear-gradient(125deg, #afc39d, #bfd0b0 35%, #99b387 100%);
  --fc-foil: linear-gradient(120deg, #526347 5%, #e8efdb 26%, #90a67e 40%, #e2ebd7 50%, #658352 65%, #d4e4c6 80%);
  --fc-emblem-opacity: .6;
  --fc-text-shadow: 0 1px 0 rgb(232 243 217 / .33);
}

.fc-finish-obsidian {
  --fc-ink: #eff3e7;
  --fc-ink-soft: #c1ceb2;
  --fc-edge: #66705c;
  --fc-face: radial-gradient(at 0% 0%, rgb(81 89 76 / .5), transparent 60%),
             repeating-linear-gradient(0deg, rgb(255 255 255 / .008) 0 1px, transparent 1px 3px),
             linear-gradient(120deg, #282e29, #171c18 45%, #30382f);
  --fc-face-ring: inset 0 0 0 1px rgb(215 232 196 / .42), inset 0 2px 2px rgb(255 255 255 / .15), inset 0 -2px 3px rgb(0 0 0 / .65);
  --fc-foil: linear-gradient(125deg, #55684e 5%, #a3b791 18%, #e3e8c7 27%, #b5b2ca 36%, #d5e8d8 43%, #73896b 52%, #364e3e 60%, #a4b38c 70%, #dad1ab 78%, #cadcd1 88%, #6b8266 95%);
  --fc-emblem-opacity: .95;
  --fc-text-shadow: 0 1px 2px rgb(0 0 0 / .5);
  --fc-grain-opacity: .2;
  --fc-grain-blend: soft-light;
}
.fc-finish-obsidian .fc-contactless { filter: none; }

/* Touch screens and reduced motion: a still, flat card with a faint sheen. */
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .fc-object { transform: none; }
  .fc-emblem, .fc-foil { background-position: 50% 50%; }
  .fc-chip::after { background-position: 50% 50%; }
  .fc-sheen { opacity: .15; }
}

/* ---- the foil invite card: the foil-card effect in Ripple's finish ---- */
.ro .fc-object.fc-finish-ripple {
  --fc-mark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%20100%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%273.2%27%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2750%27%20r%3D%279%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2750%27%20r%3D%2721%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2750%27%20r%3D%2733%27%2F%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2750%27%20r%3D%2745%27%2F%3E%3C%2Fsvg%3E");
  --fc-ink: #FFF3DC;
  --fc-ink-soft: #FFC861;
  --fc-edge: #3A2A16;
  --fc-face: radial-gradient(at 0% 0%, rgb(142 91 208 / .4), transparent 58%),
             radial-gradient(at 100% 100%, rgb(255 122 46 / .24), transparent 55%),
             repeating-linear-gradient(0deg, rgb(255 255 255 / .008) 0 1px, transparent 1px 3px),
             linear-gradient(120deg, #201829, #0E0A13 46%, #1B1223);
  --fc-face-ring: inset 0 0 0 1px rgb(255 200 97 / .4), inset 0 2px 2px rgb(255 255 255 / .12), inset 0 -2px 3px rgb(0 0 0 / .65);
  --fc-foil: linear-gradient(125deg, #7A5222 4%, #FFE6AE 18%, #FFC861 30%, #FFF7E6 40%, #D6B4F2 52%, #FFB45E 64%, #FFF1CF 78%, #9A6BD8 92%);
  --fc-emblem-opacity: .62;
  --fc-text-shadow: 0 1px 2px rgb(0 0 0 / .5);
  --fc-grain-opacity: .22;
  --fc-grain-blend: soft-light;
}
.ro .fc-finish-ripple .fc-contactless { filter: none; }
.ro .fc-finish-ripple .fc-brand img { height: 1.1em; }
.ro .fc-finish-ripple .fc-title { font-weight: 600; }
.ro .fc-finish-ripple .fc-emblem { inset: -34% -40% -44% 44%; }

/* ==========================================================================
   PART 2 · PREVIEW ONLY — not for GoHighLevel.
   In GHL each block sits in its own full-width section with no padding; these
   rules only make the preview behave the same, and mark the date placeholder.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ro-page { margin: 0; background: var(--ro-ink); }
.ro-page .ro-ph { padding: 0 .15em; border-bottom: 1.5px dashed var(--ro-gold); color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
