/* Local-only visual layer matching the approved desktop reference. */
.referral-page{min-height:100svh;background:#f8ead8;overflow:hidden}.referral-page main{min-height:100svh}.referral-page .simple-header{display:none!important}
.referral-page .hero{position:relative;isolation:isolate;display:grid!important;grid-template-columns:minmax(460px,550px) minmax(470px,540px)!important;align-items:stretch!important;justify-content:center;gap:54px!important;width:100%;min-height:100svh!important;padding:32px 28px!important;background:#f8ead8 url('../images/vrindam-riverside-ui-bg-v1.png') center/cover no-repeat!important;overflow:hidden}
.referral-page .hero:before{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(90deg,rgba(255,246,232,.06),rgba(255,248,237,.12) 50%,rgba(255,246,232,.04));filter:none!important;transform:none!important;pointer-events:none}.referral-page .hero:after,.referral-page .hero-slide,.referral-page .petals{display:none!important}
.referral-page .rcs-promo,.referral-page .hero-form-shell{position:relative!important;z-index:2;width:100%!important;height:calc(100svh - 64px)!important;min-height:720px!important;max-height:900px!important;margin:0!important;top:auto!important;left:auto!important;transform:none!important}
.referral-page .rcs-promo,.referral-page .hero-form-shell .rsvp-card{border:2px solid #d79427!important;border-radius:30px 30px 38px 38px!important;background:linear-gradient(145deg,rgba(255,253,246,.985),rgba(250,239,215,.97))!important;box-shadow:0 20px 45px rgba(84,49,13,.2),inset 0 0 0 3px rgba(255,255,255,.74),inset 0 0 55px rgba(190,124,24,.06)!important;backdrop-filter:none!important}
.referral-page .rcs-promo:before,.referral-page .rcs-promo:after,.referral-page .hero-form-shell .rsvp-card:before,.referral-page .hero-form-shell .rsvp-card:after{content:"";position:absolute;z-index:0;width:120px;height:120px;opacity:.18;pointer-events:none;background:radial-gradient(ellipse at 100% 100%,transparent 59%,#bd7d1b 60% 61%,transparent 62%),radial-gradient(ellipse at 78% 82%,transparent 63%,#bd7d1b 64% 65%,transparent 66%)}
.referral-page .rcs-promo:before,.referral-page .hero-form-shell .rsvp-card:before{top:9px;left:9px;transform:rotate(-90deg)}.referral-page .rcs-promo:after,.referral-page .hero-form-shell .rsvp-card:after{top:9px;right:9px;transform:rotate(180deg)}
.referral-page .rcs-promo{display:flex!important;justify-content:flex-start!important;padding:20px 46px 24px!important;text-align:center}.referral-page .rcs-promo>*{position:relative;z-index:1}
.referral-page .rcs-card-logo{width:132px;height:72px;margin:0 auto 4px}.referral-page .rcs-brandline{font-size:12px;letter-spacing:.22em;color:#73411d}.referral-page .rcs-mantra{margin:10px 0 7px;color:#244a2e;font-size:20px}
.referral-page .hero .rcs-promo h1{color:#9d590d;font:500 clamp(48px,4vw,67px)/.92 "Playfair Display",serif;letter-spacing:-.035em;text-transform:none}.referral-page .hero .rcs-promo h1 span{margin-top:10px;color:#794112;font-size:.52em;letter-spacing:.18em}.referral-page .rcs-kicker{margin:15px 0 12px;color:#9b5d1c;font-size:11px;letter-spacing:.36em}.referral-page .rcs-message{padding:10px 10px 13px;border-top:1px solid rgba(181,116,25,.28)}.referral-page .rcs-copy{max-width:430px;font:500 14px/1.6 "DM Sans",sans-serif;color:#38291f}
.referral-page .rcs-date{margin:5px 0 7px}.referral-page .rcs-date:before,.referral-page .rcs-date:after{background:#c98519}.referral-page .rcs-date span{padding:8px 22px;border:2px solid #cb871d;border-radius:999px;background:linear-gradient(180deg,#b96c0c,#8d4b08);box-shadow:inset 0 0 0 2px #f0b94c;color:#fff9e9;font-size:15px;font-weight:700;letter-spacing:.035em}.referral-page .rcs-time{margin-bottom:14px;color:#6e3c18;font-size:12px}.referral-page .rcs-venue span{font-size:11px;color:#9b5d1c}.referral-page .rcs-venue strong{font:600 18px/1.3 "Playfair Display",serif;color:#59311b}.referral-page .rcs-venue small{font-size:12px;color:#5c4536}.referral-page .rcs-signoff{margin-top:auto;padding-top:14px}.referral-page .rcs-signoff:before{background:#c8871d}.referral-page .rcs-signoff strong{color:#663816;letter-spacing:.14em}
.referral-page .hero-form-shell{display:block!important}.referral-page .hero-form-shell .rsvp-card{display:flex!important;flex-direction:column;justify-content:center;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:44px 28px 36px!important;overflow:hidden}.referral-page .hero-form-shell .rsvp-card>*{position:relative;z-index:1}.referral-page .hero-form-shell .peacock-feather-image{width:69px;height:96px;margin:-24px auto -15px}.referral-page .hero-form-shell .hindi-form-heading h2{font-size:42px;color:#9b5b13;text-shadow:0 2px 11px rgba(164,96,16,.14)}.referral-page .hero-form-shell .form-heading{margin-bottom:15px}
.referral-page .venue-line{width:100%;justify-content:flex-start;margin:0 0 17px;padding:0 10px;color:#4a2818}.referral-page .venue-icon{flex-basis:38px;width:38px;height:38px;background:#f5dfad;color:#ad6709;box-shadow:0 5px 14px rgba(139,81,7,.12)}.referral-page .venue-line strong{font:600 17px/1.25 "Playfair Display",serif}.referral-page .venue-line small{font-size:11px;color:#5d4436}
.referral-page .hero-form-shell .icon-field{margin-bottom:10px}.referral-page .hero-form-shell .icon-field input,.referral-page .hero-form-shell .icon-field select{height:51px;border-color:#d3a55e;border-radius:15px;background:rgba(255,253,248,.94);box-shadow:0 7px 13px rgba(95,56,14,.1);font-size:15px}.referral-page .hero-form-shell .field-icon{left:21px;color:#b26808}.referral-page .hero-form-shell .form-submit{min-height:62px;margin-top:18px;border:2px solid #a65f05;background:linear-gradient(180deg,#e6a01c,#b66b08 82%);box-shadow:inset 0 0 0 2px #f8c85c,0 10px 20px rgba(125,67,4,.22);font:500 20px "Playfair Display",serif}.referral-page .form-submit .button-arrow{right:-10px;width:62px;height:62px;border:2px solid #b66c0b;background:#fffaf0}.referral-page .hero-form-shell .privacy-note{margin-top:38px;font-size:10px;color:#5d4c41}

/* Reference-matched event meta ornaments. */
.referral-page .rcs-date{overflow:visible}.referral-page .rcs-date span:before,.referral-page .rcs-date span:after{top:50%;width:58px;height:18px;color:transparent;background:linear-gradient(45deg,transparent 42%,#bd7611 43% 57%,transparent 58%) left 3px center/10px 10px no-repeat,linear-gradient(#bd7611,#bd7611) right center/45px 1px no-repeat;transform:translateY(-50%)}.referral-page .rcs-date span:before{left:-62px}.referral-page .rcs-date span:after{right:-62px;transform:translateY(-50%) scaleX(-1)}.referral-page .rcs-date span{box-shadow:inset 0 0 0 2px #f2bd51,0 3px 8px rgba(106,57,3,.2)}
.referral-page .rcs-date:before,.referral-page .rcs-date:after{background:transparent!important}
.referral-page .rcs-date span:before,.referral-page .rcs-date span:after{display:none!important}.referral-page .rcs-date{justify-content:center;gap:11px}.referral-page .rcs-date-flourish{display:block;flex:0 0 52px;width:52px;height:20px;color:#b86f0b}.referral-page .rcs-date-flourish svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.referral-page .rcs-date-flourish.is-right{transform:scaleX(-1)}
.referral-page .rcs-date{right:auto!important;left:50%!important;width:430px!important;height:70px;transform:translateX(-50%);background:url('../images/vrindam-date-plaque-v1.png') center/contain no-repeat}.referral-page .rcs-date-flourish{display:none!important}.referral-page .rcs-date span{position:relative;z-index:1;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff9e9;font-size:15px;font-weight:700;text-shadow:0 1px 2px rgba(88,43,0,.45)}
.referral-page .rcs-time{display:flex;align-items:center;justify-content:center;gap:7px}.referral-page .rcs-clock{display:inline-grid;place-items:center;width:18px;height:18px}.referral-page .rcs-clock svg{width:17px;height:17px;fill:none;stroke:#9d5e13;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.referral-page .rcs-venue-label{display:flex!important;align-items:center;justify-content:center;gap:7px}.referral-page .rcs-venue-label i{width:38px;height:1px;background:linear-gradient(90deg,transparent,#c08225)}.referral-page .rcs-venue-label i:last-child{background:linear-gradient(90deg,#c08225,transparent)}.referral-page .rcs-venue-label svg{width:13px;height:13px;fill:none;stroke:#a96612;stroke-width:1.7}.referral-page .rcs-venue-label b{font:600 11px/1 "DM Sans",sans-serif;letter-spacing:.24em;text-transform:uppercase}
.referral-page .rcs-signoff-ornament{display:flex!important;align-items:center;justify-content:center;gap:7px;margin-bottom:2px}.referral-page .rcs-signoff-ornament i{width:58px;height:1px;background:linear-gradient(90deg,transparent,#bd7912)}.referral-page .rcs-signoff-ornament i:last-child{background:linear-gradient(90deg,#bd7912,transparent)}.referral-page .rcs-signoff-ornament svg{width:34px;height:18px;fill:none;stroke:#bd7912;stroke-width:1.3;stroke-linejoin:round}
.referral-page .hero-form-shell .rsvp-card{padding-right:44px!important;padding-left:44px!important}.referral-page .hero-form-shell .venue-line{width:max-content;max-width:100%;margin-right:auto;margin-left:auto;justify-content:flex-start;text-align:left}
@media(max-height:800px) and (min-width:901px){.referral-page .hero{padding-top:20px!important;padding-bottom:20px!important}.referral-page .rcs-promo,.referral-page .hero-form-shell{height:calc(100svh - 40px)!important;min-height:680px!important}.referral-page .rcs-promo{padding:14px 40px 18px!important}.referral-page .rcs-card-logo{height:60px}.referral-page .rcs-mantra{margin:5px 0}.referral-page .hero .rcs-promo h1{font-size:50px}.referral-page .rcs-kicker{margin:10px 0}.referral-page .rcs-copy{font-size:12px}.referral-page .rcs-signoff{padding-top:8px}.referral-page .hero-form-shell .rsvp-card{padding-top:27px!important;padding-bottom:25px!important}.referral-page .hero-form-shell .peacock-feather-image{width:58px;height:80px}.referral-page .hero-form-shell .hindi-form-heading h2{font-size:34px}.referral-page .hero-form-shell .icon-field input,.referral-page .hero-form-shell .icon-field select{height:46px}.referral-page .hero-form-shell .form-submit{margin-top:11px}.referral-page .hero-form-shell .privacy-note{margin-top:24px}}
@media(max-width:900px){.referral-page{overflow-x:hidden;overflow-y:auto}.referral-page .hero{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;width:auto!important;max-width:100vw;min-height:100svh!important;padding:18px 12px 32px!important;background-position:center top!important}.referral-page .rcs-promo,.referral-page .hero-form-shell{width:100%!important;max-width:calc(100vw - 24px)!important;height:auto!important;min-width:0!important;min-height:0!important;max-height:none!important}.referral-page .rcs-promo{padding:24px 18px!important}.referral-page .hero-form-shell .rsvp-card{padding:30px 18px 31px!important}.referral-page .hero .rcs-promo h1{max-width:100%;font-size:34px;overflow-wrap:anywhere}.referral-page .rcs-brandline{font-size:9px;letter-spacing:.14em}.referral-page .rcs-mantra{font-size:16px}.referral-page .rcs-copy{font-size:12px}.referral-page .rcs-date span{padding:7px 10px;font-size:10px;white-space:normal}.referral-page .rcs-time{font-size:10px}.referral-page .rcs-venue strong{font-size:15px}.referral-page .rcs-venue small{font-size:11px}.referral-page .hero-form-shell .hindi-form-heading h2{font-size:31px}.referral-page .venue-line>span:last-child{min-width:0}.referral-page .venue-line strong,.referral-page .venue-line small{overflow-wrap:anywhere}}

/* Generated panel skins: artwork, frame and internal ornament are raster assets. */
.referral-page .rcs-promo{border:0!important;border-radius:0!important;background:transparent url('../images/vrindam-left-invitation-panel-v1.png') center/100% 100% no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 18px 22px rgba(78,43,8,.2))}
.referral-page .hero-form-shell .rsvp-card{border:0!important;border-radius:0!important;background:transparent url('../images/vrindam-right-form-panel-v1.png') center/100% 100% no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 18px 22px rgba(78,43,8,.2))}
.referral-page .rcs-promo:before,.referral-page .rcs-promo:after,.referral-page .hero-form-shell .rsvp-card:before,.referral-page .hero-form-shell .rsvp-card:after{display:none!important}
.referral-page .rcs-promo{padding:30px 52px 38px!important}.referral-page .rcs-message{margin-top:74px;padding-top:0;border-top:0}.referral-page .hero-form-shell .rsvp-card{padding:82px 32px 55px!important}
@media(min-width:901px){.referral-page .hero{grid-template-columns:580px 570px!important;gap:12px!important}.referral-page .hero .rcs-promo h1{width:420px;max-width:100%;margin-right:auto!important;margin-left:auto!important}.referral-page .rcs-kicker{margin-top:84px}.referral-page .rcs-message{margin-top:0}.referral-page .rcs-signoff{position:absolute;right:52px;bottom:122px;left:52px;margin:0}.referral-page .rcs-promo{padding-right:58px!important;padding-left:58px!important}}
@media(max-height:800px) and (min-width:901px){.referral-page .rcs-promo{padding:24px 47px 31px!important}.referral-page .rcs-message{margin-top:58px}.referral-page .hero-form-shell .rsvp-card{padding:64px 31px 42px!important}}
@media(max-width:900px){.referral-page .rcs-promo{aspect-ratio:984/1536;padding:28px 26px 34px!important}.referral-page .rcs-message{margin-top:48px}.referral-page .hero-form-shell .rsvp-card{aspect-ratio:981/1561;padding:78px 20px 48px!important}}

/* Desktop invitation copy follows the reference artwork's exact vertical rhythm. */
@media(min-width:901px){
  .referral-page .rcs-promo{display:block!important;padding:0!important}
  .referral-page .rcs-promo>*{position:absolute!important;right:58px;left:58px;width:auto;margin:0!important}
  .referral-page .rcs-card-logo{top:3.9%;right:auto!important;left:50%!important;width:118px;height:62px;transform:translateX(-50%)}
  .referral-page .rcs-brandline{top:13.9%;line-height:1.2}
  .referral-page .rcs-mantra{top:17.9%;line-height:1.3}
  .referral-page .hero .rcs-promo h1{top:22%;right:auto!important;left:50%!important;width:420px;transform:translateX(-50%)}
  .referral-page .rcs-kicker{top:47%;display:flex!important;justify-content:center}
  .referral-page .rcs-message{top:50.5%;padding:0 8px!important}
  .referral-page .rcs-date{top:59.3%}
  .referral-page .rcs-time{top:71.2%}
  .referral-page .rcs-venue{top:75%}
  .referral-page .rcs-signoff{top:84%;right:auto!important;bottom:auto;left:50%!important;width:340px!important;padding:9px 30px 14px!important;gap:2px;transform:translateX(-50%);border-radius:0;background:transparent!important;isolation:isolate}
  .referral-page .rcs-signoff:after{content:"";position:absolute;z-index:-1;inset:0;background:rgba(255,244,220,.9);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 87%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 10%,#000 74%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 87%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 10%,#000 74%,transparent 100%);mask-composite:intersect;pointer-events:none}
  .referral-page .rcs-signoff:before{display:none!important}
  .referral-page .hero-form-shell .rsvp-card{padding-right:48px!important;padding-left:48px!important}
  .referral-page .hero-form-shell .venue-line{width:max-content;max-width:100%;margin-right:auto;margin-left:auto;justify-content:flex-start;text-align:left}
}

/* Mobile uses the same proportional placement inside the generated panel artwork. */
@media(max-width:900px){
  .referral-page .hero{padding-right:10px!important;padding-left:10px!important}
  .referral-page .rcs-promo,.referral-page .hero-form-shell{justify-self:center;width:calc(100vw - 40px)!important;max-width:350px!important;min-width:0!important;margin-right:auto!important;margin-left:auto!important;overflow:hidden}
  .referral-page .rcs-promo{position:relative!important;display:block!important;aspect-ratio:984/1536;padding:0!important}
  .referral-page .rcs-promo>*{position:absolute!important;right:22px;left:22px;width:auto;max-width:calc(100% - 44px);margin:0!important}
  .referral-page .rcs-card-logo{top:3%;right:auto!important;left:50%!important;width:96px;height:54px;transform:translateX(-50%)}
  .referral-page .rcs-brandline{top:13%;font-size:8px;line-height:1.2;letter-spacing:.15em}
  .referral-page .rcs-mantra{top:17%;font-size:14px;line-height:1.2}
  .referral-page .hero .rcs-promo h1{top:21%;right:auto!important;left:50%!important;width:300px;max-width:calc(100% - 40px);font-size:34px;line-height:.96;transform:translateX(-50%)}
  .referral-page .hero .rcs-promo h1 span{margin-top:7px;font-size:.48em}
  .referral-page .rcs-kicker{top:46.5%;display:flex!important;justify-content:center;font-size:8px;letter-spacing:.2em}
  .referral-page .rcs-message{top:50%;padding:0!important}
  .referral-page .rcs-copy{font-size:10px;line-height:1.42}
  .referral-page .rcs-date{top:60%;right:auto!important;left:50%!important;width:min(320px,calc(100vw - 58px))!important;max-width:none;height:55px;transform:translateX(-50%)}
  .referral-page .rcs-date span{font-size:10px!important}
  .referral-page .rcs-time{top:70.5%;font-size:9px;gap:5px}
  .referral-page .rcs-clock,.referral-page .rcs-clock svg{width:14px;height:14px}
  .referral-page .rcs-venue{top:74.5%;padding:0 8px!important}
  .referral-page .rcs-venue-label b{font-size:9px}.referral-page .rcs-venue strong{font-size:14px}.referral-page .rcs-venue small{font-size:9px}
  .referral-page .rcs-signoff{top:84%;right:auto!important;left:50%!important;width:260px!important;padding:4px 12px!important;transform:translateX(-50%);background:linear-gradient(90deg,rgba(255,244,220,0),rgba(255,244,220,.98) 18%,rgba(255,244,220,.98) 82%,rgba(255,244,220,0))}
  .referral-page .rcs-signoff-ornament svg{width:28px;height:15px}.referral-page .rcs-signoff-ornament i{width:42px}.referral-page .rcs-signoff>span:not(.rcs-signoff-ornament){font-size:8px}.referral-page .rcs-signoff strong{font-size:11px}
  .referral-page .hero-form-shell .rsvp-card{width:100%!important;aspect-ratio:981/1561;padding:76px 24px 44px!important}
  .referral-page .hero-form-shell .venue-line{width:100%;max-width:300px;margin-right:auto;margin-left:auto;padding:0}
  .referral-page .hero-form-shell .venue-line>span:last-child{min-width:0;max-width:250px}.referral-page .hero-form-shell .venue-line strong{font-size:15px;white-space:normal}.referral-page .hero-form-shell .venue-line small{font-size:10px;white-space:normal}
}

/* Final mobile fit: use the full phone width while keeping every control inside the artwork. */
@media(max-width:900px){
  .referral-page .hero{
    gap:14px!important;
    padding:8px 6px 24px!important;
  }
  .referral-page .rcs-promo,
  .referral-page .hero-form-shell{
    width:calc(100vw - 12px)!important;
    max-width:410px!important;
    overflow:visible!important;
  }
  .referral-page .rcs-promo{
    overflow:hidden!important;
  }
  .referral-page .rcs-promo>*{
    right:18px;
    left:18px;
    max-width:calc(100% - 36px);
  }
  .referral-page .hero .rcs-promo h1{
    width:330px;
    max-width:calc(100% - 28px);
    font-size:42px;
    line-height:.94;
  }
  .referral-page .hero .rcs-promo h1 span{margin-top:9px;font-size:.5em}
  .referral-page .rcs-copy{
    padding:0 5px;
    font-size:10.5px;
    line-height:1.45;
  }
  .referral-page .rcs-date{
    width:min(352px,calc(100vw - 30px))!important;
    height:58px;
  }
  .referral-page .rcs-date span{font-size:11px!important}
  .referral-page .rcs-time{font-size:10px}
  .referral-page .rcs-venue strong{font-size:15px}
  .referral-page .rcs-venue small{font-size:9.5px}

  .referral-page .hero-form-shell .rsvp-card{
    box-sizing:border-box!important;
    width:100%!important;
    padding:66px 30px 46px!important;
    overflow:hidden!important;
  }
  .referral-page .hero-form-shell .peacock-feather-image{
    flex:0 0 auto;
    width:66px;
    height:92px;
    margin:0 auto -12px!important;
    overflow:visible;
  }
  .referral-page .hero-form-shell .peacock-feather-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
  }
  .referral-page .hero-form-shell .hindi-form-heading h2{font-size:32px}
  .referral-page .hero-form-shell .form-heading{margin-bottom:12px}
  .referral-page .hero-form-shell .venue-line{
    box-sizing:border-box;
    max-width:none;
    margin-bottom:14px;
  }
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{
    box-sizing:border-box;
    width:100%;
    font-size:14px;
  }
  .referral-page .hero-form-shell form{min-width:0;width:100%}
  .referral-page .hero-form-shell .form-submit{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:58px;
    margin-top:14px;
    padding-right:62px;
    font-size:18px;
  }
  .referral-page .form-submit .button-arrow{
    right:3px;
    width:52px;
    height:52px;
  }
  .referral-page .hero-form-shell .privacy-note{margin-top:24px}
}

@media(max-width:370px){
  .referral-page .hero .rcs-promo h1{font-size:38px}
  .referral-page .hero-form-shell .rsvp-card{padding-right:25px!important;padding-left:25px!important}
  .referral-page .hero-form-shell .venue-line strong{font-size:14px}
  .referral-page .hero-form-shell .venue-line small{font-size:9px}
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{font-size:13px}
  .referral-page .hero-form-shell .form-submit{font-size:16px}
}

/* Keep all invitation and form copy comfortably readable on phones. */
@media(max-width:900px){
  .referral-page .rcs-brandline{font-size:9.5px;letter-spacing:.13em}
  .referral-page .rcs-mantra{font-size:16px}
  .referral-page .rcs-kicker{font-size:9.5px;letter-spacing:.17em}
  .referral-page .rcs-copy{font-size:12px;line-height:1.42}
  .referral-page .rcs-date span{font-size:12px!important}
  .referral-page .rcs-time{font-size:11px;letter-spacing:.08em}
  .referral-page .rcs-venue-label b{font-size:10px}
  .referral-page .rcs-venue strong{font-size:16px;line-height:1.25}
  .referral-page .rcs-venue small{font-size:10.5px;line-height:1.3}
  .referral-page .rcs-signoff>span:not(.rcs-signoff-ornament){font-size:9.5px}
  .referral-page .rcs-signoff strong{font-size:12.5px}

  .referral-page .hero-form-shell .venue-line strong{font-size:16px;line-height:1.25}
  .referral-page .hero-form-shell .venue-line small{font-size:11px;line-height:1.3}
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{font-size:15px}
  .referral-page .hero-form-shell .form-submit{font-size:19px}
  .referral-page .hero-form-shell .privacy-note{font-size:10.5px;line-height:1.35}
  .referral-page .rcs-signoff-ornament{display:flex!important;margin-bottom:2px!important}
  .referral-page .rcs-signoff-ornament i{
    display:block!important;
    width:38px!important;
    height:1px!important;
    background:linear-gradient(90deg,transparent,#bd7912)!important;
  }
  .referral-page .rcs-signoff-ornament i:last-child{
    background:linear-gradient(90deg,#bd7912,transparent)!important;
  }
  .referral-page .rcs-signoff-ornament svg{display:block!important;width:30px;height:16px}
  .referral-page .rcs-signoff{
    padding:7px 14px 8px!important;
    background:radial-gradient(ellipse at center,
      rgba(255,248,232,.92) 0%,
      rgba(255,248,232,.82) 44%,
      rgba(255,248,232,.42) 66%,
      rgba(255,248,232,0) 86%)!important;
  }
}

@media(max-width:370px){
  .referral-page .rcs-copy{font-size:11px}
  .referral-page .rcs-date span{font-size:11px!important}
  .referral-page .rcs-venue strong{font-size:15px}
  .referral-page .rcs-venue small{font-size:10px}
  .referral-page .hero-form-shell .venue-line strong{font-size:15px}
  .referral-page .hero-form-shell .venue-line small{font-size:10px}
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{font-size:14px}
  .referral-page .hero-form-shell .form-submit{font-size:17px}
}

/* Final phone type scale and lower privacy-note placement. */
@media(max-width:900px){
  .referral-page .rcs-brandline{font-size:10px}
  .referral-page .rcs-mantra{font-size:17px}
  .referral-page .rcs-kicker{font-size:10px}
  .referral-page .rcs-copy{font-size:12.5px}
  .referral-page .rcs-date span{font-size:12.5px!important}
  .referral-page .rcs-time{font-size:11.5px}
  .referral-page .rcs-venue-label b{font-size:10.5px}
  .referral-page .rcs-venue strong{font-size:17px}
  .referral-page .rcs-venue small{font-size:11px}
  .referral-page .rcs-signoff>span:not(.rcs-signoff-ornament){font-size:10px}
  .referral-page .rcs-signoff strong{font-size:13px}

  .referral-page .hero-form-shell .venue-line strong{font-size:17px}
  .referral-page .hero-form-shell .venue-line small{font-size:11.5px}
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{font-size:16px}
  .referral-page .hero-form-shell .form-submit{font-size:20px}
  .referral-page .hero-form-shell .privacy-note{
    margin-top:34px!important;
    font-size:11px;
    line-height:1.35;
  }
}

@media(max-width:370px){
  .referral-page .rcs-copy{font-size:11.5px}
  .referral-page .rcs-date span{font-size:11.5px!important}
  .referral-page .hero-form-shell .icon-field input,
  .referral-page .hero-form-shell .icon-field select{font-size:15px}
  .referral-page .hero-form-shell .form-submit{font-size:18px}
  .referral-page .hero-form-shell .privacy-note{font-size:10px}
}

/* Keep the mobile venue heading balanced on one line. */
@media(max-width:900px){
  .referral-page .hero-form-shell .venue-line{
    display:flex;
    align-items:center;
    gap:9px;
    border:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    text-decoration:none!important;
  }
  .referral-page .hero-form-shell .venue-line:before,
  .referral-page .hero-form-shell .venue-line:after{display:none!important}
  .referral-page .hero-form-shell .venue-icon{
    flex:0 0 34px;
    width:34px;
    height:34px;
  }
  .referral-page .hero-form-shell .venue-line>span:last-child{
    flex:1 1 auto;
    width:auto;
    max-width:none;
  }
  .referral-page .hero-form-shell .venue-line strong{
    font-size:15.5px;
    line-height:1.2;
    letter-spacing:-.025em;
    white-space:nowrap;
  }
  .referral-page .hero-form-shell .venue-line small{
    font-size:11px;
    line-height:1.25;
  }
}

@media(max-width:370px){
  .referral-page .hero-form-shell .venue-line{gap:7px}
  .referral-page .hero-form-shell .venue-icon{flex-basis:30px;width:30px;height:30px}
  .referral-page .hero-form-shell .venue-line strong{font-size:14px}
  .referral-page .hero-form-shell .venue-line small{font-size:10px}
}
