  * { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}




  :root {
    --rarify-orange: #d95933;
    --rarify-orange-2: #f26722;
  }





.rarify-site-header {
  position: relative;
  height: 88px;
  z-index: 1000;
}

.rarify-scroll-scene {
  height: calc(100vh - 88px);
  min-height: 0;
}



/* =========================================================
   RARIFY SITE NAVIGATION
   ========================================================= */

.rarify-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 88px;
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #eeeeee;
}

.rarify-nav-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rarify-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rarify-nav-logo {
  display: block;
  width: 165px;
  height: auto;
}

.rarify-main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.rarify-main-nav a {
  position: relative;
  padding: 24px 0 22px;
  color: #e64b2f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.rarify-main-nav a:hover {
  color: #bd351f;
}

.rarify-main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  height: 1px;
  background: #e64b2f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.rarify-main-nav a:hover::after,
.rarify-main-nav a.is-active::after {
  transform: scaleX(1);
}


/* MOBILE MENU BUTTON */

.rarify-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rarify-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #e64b2f;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}


/* TABLET AND MOBILE */

@media (max-width: 900px) {
  .rarify-site-header {
    height: 68px;
  }

  .rarify-nav-inner {
    padding: 0 22px;
  }

  .rarify-nav-logo {
    width: 122px;
  }

  .rarify-menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .rarify-main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 26px 28px 38px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  .rarify-main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .rarify-main-nav a {
    width: 100%;
    padding: 17px 0;
    font-size: 24px;
    border-bottom: 1px solid #eeeeee;
  }

  .rarify-main-nav a::after {
    display: none;
  }

  .rarify-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .rarify-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .rarify-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

  



  /* HERO PHONE SPIN */
  .rarify-scroll-scene {
  position: relative;
  height: 100vh;
  background: #fff;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;

    padding-top: 50px;   /* Increase to 32px or 40px if desired */
}

  .headline {
    position: absolute;
    left: 10vw;
    top: 40%;
    transform: translateY(-50%);
    z-index: 8;
    width: 760px;
    max-width: 760px;
    text-align: left;
  }

  .rarify-hero-title {
    margin: 0 !important;
    padding: 0 !important;
    width: 550px !important;
    max-width: 550px !important;
    font-family: Gotham, Montserrat, Avenir Next, Helvetica Neue, Arial, sans-serif !important;
    font-weight: 510 !important;
    font-size: 60px !important;
    line-height: 1 !important;
    letter-spacing: 0.015em !important;
    color: #ffffff !important;
  }





.rarify-hero-title {
  position: relative;
}

.rarify-hero-title::before {
  content: "";
  position: absolute;
  top: -24px;          /* distance above the headline */
  left: 0;
  width: 140px;        /* length of the line */
  height: 4px;         /* thickness */
  background: #d95933; /* Rarify orange */
  border-radius: 2px;
}


  .rarify-hero-title .accent,
  .headline-two h2 span {
    color: var(--rarify-orange) !important;
  }





  .headline-one p {
    margin: 24px 0 0 0 !important;
    max-width: 470px !important;
    font-family: Gotham, Montserrat, Avenir Next, Helvetica Neue, Arial, sans-serif !important;
    color: #ffffff  !important;
    font-weight: 300 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .headline-two {
    opacity: 0;
    top: 38%;
  }

  .headline-two h2 {
    margin: 0 !important;
    color: #ffffff  !important;
    font-family: Gotham, Montserrat, Avenir Next, Helvetica Neue, Arial, sans-serif !important;
    font-weight: 550  !important;
    font-size: 50px !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em !important;
    max-width: 550px !important;
  }

  .headline-two p {
    margin-top: 24px !important;
    max-width: 400px !important;
    font-family: Gotham, Montserrat, Avenir Next, Helvetica Neue, Arial, sans-serif !important;
    color: #ffff !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }








.hero-cta{
    margin-top:42px;
}

/* BUTTON */

.demo-button{
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:18px 34px;
    border-radius:14px;
    background:#df5a32;
    color:#fff;
    text-decoration:none;
    font-family:Gotham, Montserrat, Arial, sans-serif;
    font-size:22px;
    font-weight:500;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
    box-shadow:
        0 18px 40px rgba(217,89,51,.28);
}

.demo-button:hover{
    transform:translateY(-2px);
    background:#e8653e;
    box-shadow:
        0 24px 50px rgba(217,89,51,.34);
}

.demo-button svg{
    width:24px;
    height:24px;
    stroke:currentColor;
    stroke-width:2;
    fill:none;
    transition:transform .25s ease;
}

.demo-button:hover svg{
    transform:translateX(4px);
}


/* SMALL NOTE */

.demo-note{
    margin-top:18px;
    display:flex;
    align-items:center;
    gap:12px;
    color:rgba(255,255,255,.86);
    font-family:Gotham, Montserrat, Arial, sans-serif;
    font-size:17px;
    font-weight:300;
}

.demo-note strong{
    color:#fff;
    font-weight:500;
}

.demo-icon{
    width:22px;
    height:22px;
    flex:none;
    stroke:#ffffff;
    stroke-width:1.8;
    fill:none;
    opacity:.9;
}





.hero-cta-mobile {
    display: none;
}

@media (max-width: 900px) {

    /* Hide the CTA that's inside the hero image */
    .hero-cta-desktop {
        display: none !important;
    }

    /* Show the CTA below the hero image */
.hero-cta-mobile {
    display: block;
    position: relative;
    z-index: 20;

    width: calc(100% - 48px);
    max-width: 340px;

    /* Places the CTA about 24px below the image */
    margin: calc(724px - 100vh) auto 50px;

    text-align: center;
}


    .hero-cta-mobile .demo-button {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        gap: 16px;

        padding: 15px 20px;
        font-size: 18px;
        border-radius: 14px;
    }

    .hero-cta-mobile .demo-note {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;

        max-width: 240px;
        margin: 15px auto 0;

        color: #666;
        font-size: 15px;
        line-height: 1.35;
        text-align: left;
    }

    .hero-cta-mobile .demo-icon {
        stroke: var(--rarify-orange);
    }

    .hero-cta-mobile .demo-note strong {
        color: #333;
    }
}







.hero-restaurant-bg {
  position: absolute;
  left: 2vw;
  top: 80px;
  width: 96vw;
  height: 620px;
  overflow: hidden;
  z-index: 1;
  border-radius: 34px;
  isolation: isolate;
  background: #000;
}

.hero-restaurant-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center !important;
  display: block;
  visibility: visible;
}

.hero-bg-empty {
  opacity: 1;
  z-index: 1;
}

.hero-bg-full {
  opacity: 0;
  z-index: 2;
}







  .phone-stage {
    position: absolute;
    right: 39vw;
    top: 50%;
    width: 760px;
    height: 900px;
    transform: translateY(-50%);
    z-index: 5;
  }

  .main-phone {
    position: relative;
    width: 1200px;
    height: 1400px;
    overflow: visible;
    z-index: 10;
    transform-origin: center center;
  }

  .phone-visual {
    position: absolute;
    inset: 0;
    overflow: visible;
  }

  .phone-sequence-img,
  .side-phone-img {
    position: absolute;
    width: 1200px;
    height: auto;
    right: -310px;
    top: 30px;
    display: block;
  }

  .side-phone-left .side-phone-img {
    width: 300px;
    right: 140px;
    top: 60px
    ;
}

.side-phone-right .side-phone-img {
    width: 300px;
    right: 100px;
    top: 60px;
}

  .side-phone {
    position: absolute;
    left: 0;
    top: 0;
    width: 1200px;
    height: 1400px;
    opacity: 0;
    z-index: 4;
    transform-origin: center center;
  }




  
/* ==========================
   THE SHIFT MODULE
========================== */

.rarify-transition {
  position: relative;
  overflow: visible;
  background: #fff;
  padding: 0 6vw;
  margin-top: -52px;
}


.transition-headline span{
    color:var(--rarify-orange);
    font-weight:650;
}

.transition-copy strong{
    font-weight:600;
    color:#333;
}

.rarify-transition-inner {
    position: relative;
    max-width: 730px;
    margin: 0 auto;
    text-align: center;
    transform-origin: center center;
    will-change: transform, opacity;
}

.transition-eyebrow{
    font-family:Gotham, Montserrat, Arial, sans-serif;
    font-size:18px;
    font-weight:600;
    color:#d95933;
    letter-spacing:.02em;
    margin-bottom:26px;
}

.transition-eyebrow {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.transition-eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 82px;
  height: 3px;
  background: #111;
  border-radius: 999px;
  transform: translateX(-50%);
}


.transition-headline{
    margin:0 auto 14px;
    font-family:Gotham, Montserrat, Arial, sans-serif;
    font-size:clamp(24px,3vw,38px);
    line-height:.95;
    font-weight:530;
    letter-spacing:-.04em;
    color:#444;
    max-width:980px;
}

.transition-copy{
    margin:0 auto;
    max-width:760px;
    
    font-family: Montserrat, Arial, sans-serif !important;
    font-size:18px;
    line-height:1.35;
    font-weight:300;
    font-style: normal !important;
    color:#6d6d6d;
}

@media (max-width: 900px) {

  .rarify-transition {
    padding: 0px 24px 46px;
    margin-top: -100px;
  }

  .transition-eyebrow {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .transition-headline {
    max-width: 340px;
    margin: 0 auto 22px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .transition-copy{
    max-width: 335px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.42;
  }
}











/* ==========================
   SCROLL-DRIVEN CAROUSEL
========================== */

.shift-carousel {
--card-width: min(66vw, 740px);
--card-height: min(38vw, 420px);
--card-gap: clamp(-340px, -22vw, -220px);

    position: relative;
    width: 100vw;

    margin-top: 70px;
    margin-left: calc(50% - 50vw);

    overflow: hidden;
}

.shift-carousel-viewport {
    position: relative;
    width: 100%;
    height: calc(var(--card-height) + 70px);

    overflow: hidden;
}

.shift-carousel-track {
    position: absolute;
    top: 20px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0px;
    width: max-content;
    transition: none;
    will-change: transform;
}

.shift-story-card {
    position: relative;

    flex: 0 0 var(--card-width);
    width: var(--card-width);
    height: var(--card-height);

    overflow: hidden;
    border-radius: 22px;

    cursor: pointer;

    transform-origin: center center;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, .10);

    transition:
        box-shadow 300ms ease;

    will-change:
        transform,
        opacity,
        filter;
}

.shift-story-card.is-active {
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .22);
}

.shift-story-card img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform-origin: center center;

    will-change: transform;
}

.shift-story-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, .18) 0%,
      rgba(0, 0, 0, .30) 48%,
      rgba(0, 0, 0, .42) 100%
    );

  opacity: .72;

  transition:
    opacity 500ms ease;
}

.shift-story-card.is-active .shift-story-overlay {
  opacity: .88;
}



/* ==========================
   SHIFT CAROUSEL STORY COPY
========================== */

.shift-story-content {
    position: relative;
    width: min(680px, calc(100% - 48px));
    margin: 8px auto 0;
    padding: 0 24px 20px;

    text-align: center;

    font-family:
        Gotham,
        Montserrat,
        Arial,
        sans-serif;
}

.shift-story-number {
    margin-bottom: 10px;

    color: var(--rarify-orange);
    font-size: 13px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.shift-story-title {
    margin: 0;

    color: #333;
    font-family:
        Gotham,
        Montserrat,
        Arial,
        sans-serif;

    font-size: clamp(34px, 3.6vw, 52px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.045em;
}

.shift-story-copy {
    max-width: 580px;
    margin: 16px auto 0;

    color: #666;
    font-family:
        Gotham,
        Montserrat,
        Arial,
        sans-serif;

    font-size: 19px;
    line-height: 1.4;
    font-weight: 300;
}




.shift-carousel-scroll-shell {
    position: relative;
    height: 500vh;
}

.shift-sticky-frame {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
  padding-top: 28px;
}

.shift-carousel {
  position: relative;
  top: -28px;
  width: 100vw;
  margin-top: 30px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;

}


/* ==========================
   COPY INSIDE CAROUSEL CARDS
========================== */

.shift-card-copy {
  position: absolute;
  z-index: 5;

  left: 50%;
  top: 50%;

  width: min(78%, 590px);

  text-align: center;
  pointer-events: none;

  opacity: 0;

  transform:
    translate(-50%, calc(-50% + 24px));

  transition:
    opacity 500ms ease,
    transform 750ms cubic-bezier(.22, .61, .36, 1);
}

.shift-card-copy h3 {
  margin: 0 0 16px;

  color: #fff;

  font-family:
    Gotham,
    Montserrat,
    Arial,
    sans-serif;

  font-size: clamp(34px, 4vw, 56px);
  line-height: .96;
  font-weight: 600;
  letter-spacing: -.045em;

  text-shadow:
    0 4px 28px rgba(0, 0, 0, .68);
}

.shift-card-copy p {
  margin: 0 auto;
  max-width: 560px;

  color: rgba(255, 255, 255, .94);

  font-family:
    Gotham,
    Montserrat,
    Arial,
    sans-serif;

  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.38;
  font-weight: 300;

  text-shadow:
    0 3px 24px rgba(0, 0, 0, .75);
}

/* Reveal only the centered active card's copy */

.shift-story-card.is-active .shift-card-copy {
  opacity: 1;

  transform:
    translate(-50%, -50%);
}


.shift-card-copy h3,
.shift-card-copy p {
  opacity: 0;
  transform: translateY(16px);
}

.shift-card-copy h3 {
  transition:
    opacity 450ms ease 80ms,
    transform 650ms cubic-bezier(.22, .61, .36, 1) 80ms;
}

.shift-card-copy p {
  transition:
    opacity 450ms ease 190ms,
    transform 650ms cubic-bezier(.22, .61, .36, 1) 190ms;
}

.shift-story-card.is-active .shift-card-copy h3,
.shift-story-card.is-active .shift-card-copy p {
  opacity: 1;
  transform: translateY(0);
}







  
  /* WELCOME DEVICE SCENE */
  
  .rarify-welcome-scene {
  position: relative;
  height: min(860px, 100vh);
  min-height: 760px;
  left: 0;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: none;
  overflow: visible;
  background: #ffffff;
  padding-top: 120px;
}

.welcome-bg {
  position: absolute;
  left: 50%;
  top: 80px;
  width: min(1500px, 98vw);
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
}

.welcome-stage {
  position: absolute;
  left: 50%;
  top: 370px;
  width: min(1320px, 96vw);
  height: 700px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.welcome-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  transform: translate(-50%, -50%) scale(1.18);
  transform-origin: center center;
  z-index: 5;
  will-change: transform;
}

  .welcome-phone-frame {
    position: relative;
    width: 100%;
    display: block;
    z-index: 3;
    pointer-events: none;
  }

 .welcome-video-mask {
  position: absolute;
  left: 5.4%;
  top: 2.4%;
  width: 89.2%;
  height: 95.1%;
  border-radius: 38px;
  overflow: hidden;
  z-index: 2;
  background: #111;
}

  .welcome-video {
    width: 101%;
    height: 104%;
    object-fit: cover;
    display: block;
    transform: translate(-2%, -2%);
  }

  .welcome-tablet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 520px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.45);
    z-index: 4;
    will-change: transform, opacity;
  }

  .welcome-tablet-left {
  width: 585px;
}

.welcome-tablet-right {
  width: 520px;
}

/* FINAL MESSAGE */

.welcome-message {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  width: min(1000px, 90vw);
  z-index: 20;
  text-align: center;
  pointer-events: none;
}

.welcome-headline {
  position: absolute;
  left: 50%;
  top: 125px;
  transform: translateX(-50%);
  width: 90%;
  z-index: 20;
  text-align: center;
  pointer-events: none;
}

.welcome-headline h2 {
  margin: 0;
  font-family:Gotham, Montserrat, Arial, sans-serif;
  font-size: clamp(44px, 4.2vw, 68px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  color: #fff;
}



  .welcome-copy {
    position: absolute;
    left: 50%;
    top: 675px;
    transform: translateX(-50%);
    width: min(1300px, 94vw);
    z-index: 20;
    text-align: center;
}

.welcome-copy p {
    margin: 0 auto;
    max-width: 1180px;
    font-family: Gotham, Montserrat, Arial, sans-serif;
    font-size: clamp(26px, 2.1vw, 36px);
    line-height: 1.25;
    font-weight: 300;
    color: #111;
}


.welcome-transition-panel{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  box-sizing:border-box;
  padding:65px 6vw 50px;
  text-align:center;
  background:transparent;
  z-index:100;
}


.welcome-transition-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:560px;
  background:#f6f6f6;
  border-radius:0 0 60px 60px;
  z-index:0;
}

.welcome-panel-content,
.welcome-transition-panel .rarify-statement-strip{
  position:relative;
  z-index:1;
}



/* ===================================
   RARIFY FEATURES INTRO
=================================== */

.rarify-features-intro{
  position:relative;
  width:100%;
  box-sizing:border-box;
  padding:65px 6vw 50px;
  text-align:center;
  background:#f6f6f6;
}

.welcome-panel-content {
  position:relative;
  width:100%;
  max-width:none;
  margin:0 auto;
  padding:0;
  text-align:center;
}

.welcome-panel-content .intro-eyebrow{
  margin:0 0 22px;
  font-family:Gotham,Montserrat,Arial,sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:.22em;
  color:#d95933;
}

.welcome-panel-content h2{
  max-width:900px;
  margin:0 auto 28px;
  font-family:Gotham,Montserrat,Arial,sans-serif;
  font-size:clamp(32px,3vw,46px);
  line-height:1.05;
  letter-spacing:-.055em;
  font-weight:550;
  color:#111;
}

.welcome-panel-content h2 span{
  color:#d95933;
}

.welcome-panel-content p{
  max-width:840px;
  margin:0 auto;
  font-family:Gotham,Montserrat,Arial,sans-serif;
  font-size:24px;
  line-height:1.4;
  font-weight:300;
  color:#666;
}

@media (max-width:900px){

  .rarify-features-intro{
    padding:50px 8vw 40px;
  }

  .features-intro-content h2{
    font-size:44px;
  }

  .features-intro-content p{
    font-size:20px;
  }

}
  



.welcome-transition-panel .rarify-statement-strip{
  position:relative;
  left:auto;
  top:auto;
  bottom:auto;
  width:min(900px, 88vw);
  margin:55px auto 0;
  transform:none;
  box-sizing:border-box;
}



@media (max-width: 767px) {

  .welcome-transition-panel{
    padding:45px 7vw 30px;
  }

  .welcome-transition-panel::before{
   height: 100%;
   border-radius:0 0 42px 42px;
  }

  .rarify-video-module{
    margin-top:calc(120px - min(860px, 100vh));
    padding-top:20px;
  }

}



/* FEATURE NUMBER BADGE */

.feature-number {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #f4511e;
  color: #fff;
  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

/* SHOW MODULE NUMBER POSITION */

.rarify-video-inner .feature-number-wrap {
  position: absolute;
  left: 64%;
  top: 120px;
  transform: translateX(-50%);
  z-index: 30;
}







/* SHOW MODULE */

.rarify-video-module {
  position: relative;
  width: 100%;

  margin-top: calc(390px - min(860px, 100vh));
  padding: 40px 0 140px;

  overflow: hidden;
  background: #ffffff;
  z-index: 90;
}

.rarify-video-inner {
  position: relative;

  /* Make the module 96% of the browser width */
  width: 89vw;
  max-width: none;

  margin-top: -35px;
  /* Break it out of any narrower parent container */
  margin-left: calc(50% - 47vw + 35px);
  margin-right: 0;
}

.rarify-feature-video {
  display: block;
  width:100%;
  height: auto;

  border-radius: 28px;
  object-fit: cover;
}



/* MOBILE */
@media (max-width: 767px) {
  .rarify-video-module {
    padding: 70px 0 90px;
  }
  .rarify-video-inner {
    width: 92vw;
  }
  .rarify-feature-video {
    border-radius: 18px;
  }
}

  
/* Overlay */

.rarify-video-inner {
  position: relative;
}

.video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Headline & body */

.video-copy {
  position: absolute;
  top: 240px;
  right: 35px;
  width: 610px;
  opacity: 0;
}

.video-copy h2 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: .95;
  color: #fff;
}

.video-copy h2 span {
  color: #f15a24;
}

.video-copy p {
  margin: 0;
  max-width: 390px;
  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
  color: #fff;
}



/* FEATURES */

.video-features {
    position: absolute;
    left: 665px;
    right: -40px;
    bottom: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    z-index: 25;
}

.video-features .feature {
    position: relative;

    width: 185px;
    flex: 0 0 185px;

    padding: 0 30px;

    box-sizing: border-box;
    text-align: left;
}

.video-features .feature:first-child {
    padding-left: 0;
}

.video-features .feature:last-child {
    padding-right: 0;
}

.video-features .feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;

    width: 1px;
    height: 138px;

    background: #d8d1ca;
}

.video-features .feature-icon {
    font-size: 30px;
    line-height: 1;
    color: #f15a24;
    margin-bottom: 12px;
}

.video-features .feature h3 {
    margin: 0 0 9px;

    font-family: Gotham, Montserrat, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.08;
    font-weight: 700;
    color: #111;
}

.video-features .feature p {
    margin: 0;
    font-family: Gotham, Montserrat, Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 300;
    color: #444;
}

  
@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(18px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}  



/* Hidden until SHOW video resolves */

.video-copy,
.video-features {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.feature-number-wrap {
  opacity: 0;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* Reveal together */
.rarify-video-module.show-content-visible .video-copy,
.rarify-video-module.show-content-visible .video-features {
  opacity: 1;
  transform: translateY(0);
}

.rarify-video-module.show-content-visible .feature-number-wrap {
  opacity: 1;
  transform: translate(-50%, 0);
}





/* =========================================================
   SHOW MODULE — MOBILE
   ========================================================= */

@media (max-width: 640px) {
  .rarify-video-module {
    width: 100% !important;
    margin: 0 !important;
    padding: 0px 0 70px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }


  /* Make the main visual almost full-screen width */

.rarify-video-inner {
  position: relative !important;
  left: auto !important;
  width: 130vw !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  transform: none !important;
}

  .rarify-feature-video {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    border-radius: 0px !important;
    object-fit: cover !important;
  }



  /* Keep the number on the lower-right corner of the visual */



  .feature-number {
    width: 50px !important;
    height: 50px !important;

    border-radius: 16px !important;

    font-size: 26px !important;
    line-height: 1 !important;
  }


  /* Remove the desktop overlay layout completely */

.video-overlay {
  position: relative !important;
  inset: auto !important;

  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 42px 24px 0 !important;

  box-sizing: border-box !important;
  pointer-events: none !important;
}



  /* Main headline and intro directly under the visual */

.video-overlay {
  position: relative !important;
  inset: auto !important;

  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 42px 24px 0 !important;

  box-sizing: border-box !important;
  pointer-events: none !important;
}


  .video-copy h2 {
    margin: 0 0 14px !important;

    color: #111111 !important;

    font-size: 38px !important;
    line-height: 0.96 !important;
    letter-spacing: -0.035em !important;
  }

  .video-copy h2 span {
    color: #f15a24 !important;
  }

  .video-copy p {
    width: 100% !important;
    max-width: 350px !important;

    margin: 0 !important;

    color: #444444 !important;

    font-size: 17px !important;
    line-height: 1.42 !important;
    font-weight: 300 !important;
  }


  /* Feature points become a clean vertical list */

  .video-features {
    position: relative !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: calc(100% - 40px) !important;
    max-width: 320px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: block !important;

    opacity: 1 !important;
    transform: none !important;
  }

  .video-features .feature {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word;

    min-height: 0 !important;
    flex: none !important;

    padding: 22px 0 !important;

    text-align: left !important;

    border-bottom: 1px solid #dedbd7 !important;
  }

  .video-features .feature:first-child {
    padding-left: 0 !important;
  }

  .video-features .feature:last-child {
    padding-right: 0 !important;
    border-bottom: 0 !important;
  }

  .video-features .feature:not(:last-child)::after {
    display: none !important;
  }

  .video-features .feature-icon {
    margin: 0 0 10px !important;

    color: #f15a24 !important;
    font-size: 25px !important;
  }

  .video-features .feature h3 {
    width: 100% !important;
    max-width: 2900px !important;
    margin: 0 0 7px !important;

    color: #111111 !important;

    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .video-features .feature p {
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 !important;

    color: #444444 !important;

    font-size: 16px !important;
    line-height: 1.42 !important;
  }


  /* Prevent the desktop reveal classes from hiding mobile content */

  .video-copy,
  .video-features,
  .feature-number-wrap,
  .rarify-video-module.show-content-visible .video-copy,
  .rarify-video-module.show-content-visible .video-features,
  .rarify-video-module.show-content-visible .feature-number-wrap {
    opacity: 1 !important;
  }
}





















/* =========================================================
   02 — POWERS EVERYTHING
   PINNED SCROLL-VIDEO MODULE
   ========================================================= */


.rarify-power-scroll {
  position: relative;
  width: 100%;

  /*
    This creates the scrolling distance while the
    inner frame remains pinned.
  */

  height: 300vh;
  background: #ffffff;
  font-family: Gotham, Montserrat, Arial, sans-serif;
}

.rarify-power-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  overflow: hidden;
  background: #ffffff;
}

/* CONTENT */

.rarify-power-content {
  width: min(1080px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HEADING */

.rarify-power-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: fit-content;
  margin: 0 auto 14px;
}

/* NUMBER */

.rarify-power-number {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #f4511e;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 37px;
  font-weight: 700;
  line-height: 1;
}

/* TITLE */

.rarify-power-title {
  margin: 0;
  width: 400px;
  color: #111;
  font-size: clamp(38px, 3vw, 40px);
  font-weight: 525;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: left;
}

.rarify-power-title span {
  color: #f4511e;
}

/* BODY COPY */

.rarify-power-copy {
  width: 630px;
  max-width: 100%;
  margin: 6px auto 6px;
  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

/* VIDEO */

.rarify-power-video-wrap {
  position: relative;
  width: 100%;
  height: min(66vh, 720px);
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  transform: translateY(18px);
  opacity: 0.35;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.rarify-power-video-wrap.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rarify-power-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.rarify-power-progress {
  position: absolute;
  right: 30px;
  top: 50%;

  width: 3px;
  height: 160px;

  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.12);

  transform: translateY(-50%);
}

.rarify-power-progress-fill {
  width: 100%;
  height: 100%;

  background: #f4511e;

  transform: scaleY(0);
  transform-origin: top;
}


/* TABLET */
@media (max-width: 900px) {

  .rarify-power-scroll {
    height: 350vh;
  }

  .rarify-power-sticky {
    min-height: 600px;
  }

  .rarify-power-content {
    width: min(100% - 48px, 760px);
  }

  .rarify-power-heading {
    gap: 28px;
  }

  .rarify-power-number {
    width: 110px;
    height: 118px;
    border-radius: 30px;

    font-size: 48px;
  }

  .rarify-power-title {
    font-size: clamp(50px, 9vw, 76px);
  }

  .rarify-power-copy {
    margin-left: 138px;
  }

  .rarify-power-video-wrap {
    height: min(46vh, 460px);
    border-radius: 22px;
  }

  .rarify-power-progress {
    right: 14px;
  }
}


/* MOBILE */
@media (max-width: 640px) {

  .rarify-power-scroll {
    height: 350vh;
  }

  .rarify-power-sticky {
    min-height: 560px;
    align-items: center;
  }

  .rarify-power-content {
    width: calc(100% - 36px);
  }

  .rarify-power-heading {
    gap: 18px;
    margin-bottom: 18px;
  }

  .rarify-power-number {
    width: 76px;
    height: 82px;
    border-radius: 22px;

    font-size: 34px;
  }

  .rarify-power-title {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 0.95;
  }

  .rarify-power-copy {
    width: 100%;
    margin: 0 0 22px 0;

    font-size: 17px;
    line-height: 1.4;
  }

  .rarify-power-video-wrap {
    height: 42vh;
    min-height: 260px;
    max-height: 400px;

    border-radius: 18px;
  }

  .rarify-power-progress {
    display: none;
  }
}


/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

  .rarify-power-scroll {
    height: auto;
  }

  .rarify-power-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 90px 0;
  }

  .rarify-power-video-wrap {
    opacity: 1;
    transform: none;
  }
}






/* =========================================================
   04 — BRING THE WHOLE PARTY
   ========================================================= */

.rarify-party-module {
  position: relative;
  height: 420vh;
  background: #ffffff;
  font-family: Gotham, Montserrat, Arial, sans-serif;
}

.party-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;
  min-height: 720px;

  overflow: hidden;
  background: #efefef;

  padding: 54px 0 42px;
}

.party-header {
  position: relative;
  z-index: 10;

  width: min(880px, calc(100% - 48px));
  margin: 0 auto 34px;

  text-align: center;
}

.party-heading-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.party-number {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border-radius: 20px;
  background: #f4511e;
  color: #ffffff;

  font-size: 28px;
  font-weight: 700;
}

.party-title {
  margin: 0;

  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.035em;

  text-align: left;
}

.party-title span {
  color: #f4511e;
}

.party-intro {
  max-width: 650px;
  margin: 18px auto 0;

  color: #222222;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 300;
}

.party-stage {
  position: relative;

  width: 100%;
  height: min(58vh, 540px);

  overflow: hidden;
}

.party-track {
  position: absolute;
  left: 50%;
  top: 0;

  display: flex;
  align-items: stretch;
  gap: 0px;

  width: max-content;

  transform: translateX(-50%);
  will-change: transform;
}

.party-card {
  position: relative;

  width: min(37vw, 470px);
  height: min(55vh, 520px);

  flex: 0 0 auto;

  overflow: hidden;
  border-radius: 30px;

  background: #ffffff;

  opacity: 0.38;
  transform: scale(0.82);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.08);

  transition:
    opacity 350ms ease,
    box-shadow 350ms ease;

  will-change:
    transform,
    opacity;
}

.party-card.is-active {
  opacity: 1;

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.16);
}

.party-video-frame {
  position: absolute;
  inset: 0;
  z-index: 1;

  overflow: hidden;
  background: #ffffff;
}

.party-video {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;

  background: #ffffff;
}


.party-progress {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(320px, 62vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
}

.party-progress span {
  display: block;

  width: 100%;
  height: 100%;

  background: #f4511e;

  transform: scaleX(0);
  transform-origin: left center;
}



.party-active-copy {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 20;

  width: max-content;
  max-width: min(680px, calc(100% - 48px));

  margin: 0;
  padding: 13px 34px;

  border: 2px solid #f4511e;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);

  color: #171717;
  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.2;
  font-weight: 400;
  text-align: center;

  transform: translateX(-50%);
  opacity: 1;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);

  transition:
    opacity 240ms ease,
    transform 320ms ease;
}

.party-active-copy.is-changing {
  opacity: 0;
  transform: translate(-50%, 8px);
}




/* TABLET */

@media (max-width: 900px) {

  .rarify-party-module {
    height: 360vh;
  }

  .party-sticky {
    min-height: 660px;
    padding-top: 40px;
  }

  .party-card {
    width: min(66vw, 470px);
  }
}


/* MOBILE */

@media (max-width: 640px) {

  .rarify-party-module {
    height: 340vh;
  }

  .party-sticky {
    min-height: 600px;
    padding-top: 28px;
  }

  .party-heading-row {
    gap: 14px;
  }

  .party-number {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 22px;
  }

  .party-title {
    font-size: 34px;
  }

  .party-intro {
    font-size: 15px;
  }

  .party-stage {
    height: 54vh;
  }

  .party-card {
    width: 78vw;
    height: 50vh;
    border-radius: 22px;
  }

  .party-card-copy {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}






/* =========================================================
   04 — RECOGNIZE
   ========================================================= */

.rarify-recognize-module {
  position: relative;
  height: 340vh;
  background: #000;
}

.recognize-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;
  min-height: 720px;

  overflow: hidden;
  background: #000;
}

.recognize-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 1;
}


.recognize-copy {
  position: absolute;
  left: 7vw;
  top: 50%;
  z-index: 5;

  width: min(430px, 34vw);

  color: #fff;

  opacity: 0;
  transform: translateY(28px);
}

.recognize-number {
  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;

  border-radius: 24px;
  background: #f4511e;

  color: #fff;
  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.recognize-copy h2 {
  margin: 0 0 18px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  font-weight: 700;
  color: #fff;
}

.recognize-copy p {
  margin: 0;

  font-family: Gotham, Montserrat, Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.96);
}

.recognize-tablet {
  position: absolute;
  right: -14vw;
  top: 50%;
  z-index: 4;

  width: min(60vw, 980px);
  height: auto;

  opacity: 0;
  transform:
    translate(120px, -50%)
    scale(0.96);

  will-change:
    transform,
    opacity;
}


/* TABLET */

@media (max-width: 900px) {

  .rarify-recognize-module {
    height: 300vh;
  }

  .recognize-copy {
    left: 7vw;
    top: 24%;
    width: 70vw;
  }

  .recognize-tablet {
    right: -18vw;
    top: 68%;
    width: 88vw;
  }
}


/* MOBILE */

@media (max-width: 640px) {

  .recognize-sticky {
    min-height: 640px;
  }

  .recognize-copy {
    left: 24px;
    right: 24px;
    top: 14%;
    width: auto;
  }

  .recognize-number {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 27px;
    margin-bottom: 18px;
  }

  .recognize-copy h2 {
    font-size: 44px;
  }

  .recognize-copy p {
    font-size: 16px;
  }

  .recognize-tablet {
    right: -36vw;
    top: 70%;
    width: 130vw;
  }
}







/* =========================================================
   05 — TABLEFLOW AI
   ========================================================= */

.rarify-tableflow-module {
  position: relative;
  height: calc(380vh + 140px);
  padding-top: 140px;

  background: #000;
  color: #fff;

  font-family:
    Gotham,
    Montserrat,
    Arial,
    sans-serif;
}

.tableflow-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;
  min-height: 760px;

  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 48px 4vw 32px;
  margin: 0;

  background: #000;
}


/* HEADER */

.tableflow-header {
  position: relative;
  z-index: 5;

  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 24px;

  text-align: center;
}

.tableflow-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.tableflow-number {
  width: 76px;
  height: 76px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 21px;

  background: #f4511e;
  color: #ffffff;

  font-size: 31px;
  line-height: 1;
  font-weight: 700;

  box-shadow:
    0 14px 35px rgba(244, 81, 30, 0.22);
}

.tableflow-title {
    max-width: 510px; 
    margin: 0;

  color: #ffffff;

  font-family:
    Gotham,
    Montserrat,
    Arial,
    sans-serif;

  font-size: clamp(32px, 3vw, 42px);
  line-height: 0.96;
  font-weight: 650;
  letter-spacing: -0.045em;

  text-align: left;
}

.tableflow-title span {
  color: #f4511e;
}

.tableflow-intro {
  max-width: 650px;
  margin: 20px auto 0;

  color: rgba(255, 255, 255, 0.78);

  font-size: clamp(11px, 1.25vw, 16px);
  line-height: 1.4;
  font-weight: 200;
}


.tableflow-intro {

    margin-bottom: 28px;
}

/* VIDEO */

.tableflow-video-shell {
  position: relative;
  z-index: 3;

  width: min(1240px, 92vw);
  height: min(62vh, 690px);

  flex: 0 1 auto;

  overflow: hidden;

  border: none;
  border-radius: 30px;

  background: #000000;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.68),
    0 0 70px rgba(244, 81, 30, 0.05);

  opacity: 0.4;
  transform: translateY(22px) scale(0.985);

  transition:
    opacity 800ms ease,
    transform 1000ms cubic-bezier(.22, .61, .36, 1);
}

.tableflow-video-shell.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tableflow-video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  background: #000;
}


/* CLOSING LINE */

.tableflow-closing {
  position: relative;
  z-index: 5;

  margin: 18px auto 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.2;
  font-weight: 350;
  letter-spacing: 0.01em;

  text-align: center;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 700ms ease,
    transform 800ms ease;
}

.tableflow-closing span {
  color: #f4511e;
  font-weight: 500;
}

.tableflow-sticky.is-complete .tableflow-closing {
  opacity: 1;
  transform: translateY(0);
}


/* TABLET */

@media (max-width: 900px) {

  .rarify-tableflow-module {
    height: 340vh;
  }

  .tableflow-sticky {
    min-height: 680px;
    padding-top: 38px;
  }

  .tableflow-heading-row {
    gap: 18px;
  }

  .tableflow-number {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    font-size: 27px;
  }

  .tableflow-title {
    font-size: clamp(34px, 6.4vw, 50px);
  }

  .tableflow-video-shell {
    width: 94vw;
    height: min(58vh, 560px);
    border-radius: 23px;
  }
}


/* MOBILE */

@media (max-width: 640px) {

  .rarify-tableflow-module {
    height: 320vh;
  }

  .tableflow-sticky {
    min-height: 620px;
    padding: 28px 18px 24px;
  }

  .tableflow-header {
    width: 100%;
    margin-bottom: 20px;
  }

  .tableflow-heading-row {
    align-items: flex-start;
    gap: 14px;
  }

  .tableflow-number {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    font-size: 22px;
  }

  .tableflow-title {
    flex: 1;
    font-size: 32px;
    line-height: 0.98;
  }

  .tableflow-intro {
    font-size: 15px;
    line-height: 1.35;
  }

  .tableflow-video-shell {
    width: 100%;
    height: 48vh;
    min-height: 300px;

    border-radius: 18px;
  }

  .tableflow-closing {
    margin-top: 14px;
    font-size: 15px;
  }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .rarify-tableflow-module {
    height: auto;
  }

  .tableflow-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 70px 4vw;
  }

  .tableflow-video-shell,
  .tableflow-closing {
    opacity: 1;
    transform: none;
  }
}





/* =========================================================
   PRICING REVEAL MODULE — COMPACT VERSION
   ========================================================= */

.rarify-pricing-module {
  position: relative;
  width: 100%;
  overflow: hidden;

  padding: 72px 5vw 58px;

  background:
    radial-gradient(
      circle at 50% 24%,
      rgba(244, 81, 30, 0.04),
      transparent 32%
    ),
    #ffffff;

  color: #111111;

  font-family:
    Gotham,
    Montserrat,
    Arial,
    sans-serif;
}

.rarify-pricing-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  text-align: center;
}


/* EYEBROW */

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 0 18px;

  border: 1px solid rgba(244, 81, 30, 0.36);
  border-radius: 999px;

  color: #e64b2f;

  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* TITLE */

.pricing-title {
  margin: 10px auto 0;

  color: #10131d;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(68px, 7.8vw, 116px);
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: -0.06em;
}


/* PRICE */

.pricing-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;

  margin-top: 5px;
}

.pricing-price {
  color: #e94d22;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(82px, 8.8vw, 132px);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.pricing-frequency {
  margin: 0 0 8px 10px;

  color: #e94d22;

  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1;
  font-weight: 600;
}


/* INTRO */

.pricing-intro {
  max-width: 620px;
  margin: 18px auto 30px;

  color: #20232b;

  font-size: 17px;
  line-height: 1.4;
  font-weight: 300;
}


/* FEATURE GRID */

.pricing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  border: 1px solid #dedede;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.78);

  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.04);

  overflow: hidden;
}

.pricing-feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;

  min-height: 104px;
  padding: 17px 22px;

  text-align: left;

  border-right: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

.pricing-feature:nth-child(3n) {
  border-right: none;
}

.pricing-feature:nth-child(n + 7) {
  border-bottom: none;
}


/* ICON */

.pricing-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(244, 81, 30, 0.09),
      rgba(244, 81, 30, 0.035)
    );
}

.pricing-icon svg {
  width: 27px;
  height: 27px;

  fill: none;
  stroke: #e94d22;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* FEATURE COPY */

.pricing-feature h3 {
  margin: 0 0 4px;

  color: #151821;

  font-size: 15px;
  line-height: 1.15;
  font-weight: 650;
}

.pricing-feature p {
  margin: 0;

  color: #333844;

  font-size: 13.5px;
  line-height: 1.34;
  font-weight: 300;
}


/* DIVIDER */

.pricing-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;

  width: min(1120px, 92%);
  margin: 24px auto 18px;
}

.pricing-divider span {
  height: 1px;
  background: rgba(233, 77, 34, 0.52);
}

.pricing-divider p {
  margin: 0;

  color: #e94d22;

  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* BUTTON */

.pricing-button {
  width: min(390px, 100%);
  min-height: 56px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  padding: 0 26px;

  border-radius: 10px;

  background: #e94d22;
  color: #ffffff;

  font-size: 17px;
  line-height: 1;
  font-weight: 600;

  text-decoration: none;

  box-shadow:
    0 13px 28px rgba(233, 77, 34, 0.2);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.pricing-button svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 220ms ease;
}

.pricing-button:hover {
  background: #d9441c;

  transform: translateY(-2px);

  box-shadow:
    0 17px 34px rgba(233, 77, 34, 0.27);
}

.pricing-button:hover svg {
  transform: translateX(4px);
}

.pricing-comparison-note {
  margin: 9px 0 0;

  color: #747985;

  font-size: 13px;
  line-height: 1.35;
  font-weight: 300;
}


/* =========================================================
   PRICING — TABLET
   ========================================================= */

@media (max-width: 900px) {

  .rarify-pricing-module {
    padding: 78px 24px 68px;
  }

  .pricing-title {
    font-size: clamp(70px, 15vw, 104px);
  }

  .pricing-price {
    font-size: clamp(86px, 18vw, 126px);
  }

  .pricing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-feature {
    min-height: 100px;

    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
  }

  .pricing-feature:nth-child(3n) {
    border-right: 1px solid #e7e7e7;
  }

  .pricing-feature:nth-child(2n) {
    border-right: none;
  }

  .pricing-feature:nth-child(n + 7) {
    border-bottom: 1px solid #e7e7e7;
  }

  .pricing-feature:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }

  .pricing-feature:nth-last-child(2) {
    border-bottom: none;
  }
}


/* =========================================================
   PRICING — MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .rarify-pricing-module {
    padding: 60px 18px 60px;
  }

  .pricing-eyebrow {
    min-height: 30px;
    padding: 0 14px;

    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .pricing-title {
    margin-top: 14px;

    font-size: clamp(58px, 20vw, 80px);
    line-height: 0.9;
  }

  .pricing-price-row {
    margin-top: 10px;
  }

  .pricing-price {
    font-size: clamp(78px, 26vw, 110px);
  }

  .pricing-frequency {
    margin: 0 0 6px 6px;
    font-size: 15px;
  }

  .pricing-intro {
    margin: 22px auto 28px;

    font-size: 16px;
    line-height: 1.4;
  }

  .pricing-feature-grid {
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .pricing-feature {
    grid-template-columns: 48px 1fr;
    gap: 14px;

    min-height: 0;
    padding: 17px 17px;

    border-right: none !important;
    border-bottom: 1px solid #e7e7e7 !important;
  }

  .pricing-feature:last-child {
    grid-column: auto;
    border-bottom: none !important;
  }

  .pricing-icon {
    width: 46px;
    height: 46px;
  }

  .pricing-icon svg {
    width: 24px;
    height: 24px;
  }

  .pricing-feature h3 {
    font-size: 15px;
  }

  .pricing-feature p {
    font-size: 13px;
    line-height: 1.32;
  }

  .pricing-divider {
    grid-template-columns: 1fr;
    gap: 12px;

    margin: 26px auto 20px;
  }

  .pricing-divider span {
    display: none;
  }

  .pricing-divider p {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .pricing-button {
    width: 100%;
    min-height: 54px;

    font-size: 16px;
  }

  .pricing-comparison-note {
    max-width: 280px;
    margin: 10px auto 0;

    font-size: 13px;
  }
}






/* =========================================================
   FINAL CTA + FOOTER
   ========================================================= */

.rarify-final {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: Gotham, Montserrat, Arial, sans-serif;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.rarify-final-inner {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 150px 0 90px;
}


/* Closing statement */

.rarify-closing-statement {
  width: fit-content;
  margin: 0 auto 110px;
}

.rarify-closing-statement p {
  margin: 0;
  font-size: clamp(38px, 4vw, 68px);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.rarify-closing-statement .rarify-closing-accent {
  color: #e65d16;
}


/* CTA content */

.rarify-final-cta {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.rarify-final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.06;
  font-weight: 450;
  letter-spacing: -0.045em;
}

.rarify-final-copy {
  max-width: 650px;
  margin: 24px auto 0;
  color: #6b6b72;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
}


/* CTA button */

.rarify-final-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  min-width: 290px;
  min-height: 58px;
  margin-top: 38px;
  padding: 16px 28px;

  color: #ffffff;
  background: #e65d16;
  border-radius: 6px;

  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(230, 93, 22, 0.16);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.rarify-final-button:hover {
  background: #d95210;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(230, 93, 22, 0.23);
}

.rarify-final-arrow {
  display: inline-block;
  font-size: 23px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.rarify-final-button:hover .rarify-final-arrow {
  transform: translateX(5px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.rarify-footer {
  width: 100%;
  border-top: 1px solid #dddddf;
}

.rarify-footer-inner {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
}

.rarify-footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 70px;
  padding: 56px 0 42px;
}


/* Brand */

.rarify-footer-brand {
  padding-top: 4px;
}

.rarify-footer-logo {
  display: inline-block;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.23em;
  text-decoration: none;
}

.rarify-footer-brand p {
  margin: 23px 0 0;
  color: #707078;
  font-size: 15px;
  line-height: 1.5;
}


/* Footer links */

.rarify-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rarify-footer-column h3 {
  margin: 0 0 20px;
  color: #111111;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rarify-footer-column a {
  position: relative;
  margin-bottom: 15px;
  color: #707078;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s ease;
}

.rarify-footer-column a:hover {
  color: #e65d16;
}


/* Bottom row */

.rarify-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 26px 0 34px;
  border-top: 1px solid #dddddf;
}

.rarify-footer-bottom p {
  margin: 0;
  color: #707078;
  font-size: 14px;
  line-height: 1.4;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .rarify-final-inner,
  .rarify-footer-inner {
    width: min(100% - 48px, 900px);
  }

  .rarify-final-inner {
    padding-top: 120px;
  }

  .rarify-footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }

  .rarify-footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .rarify-final-inner,
  .rarify-footer-inner {
    width: calc(100% - 40px);
  }

  .rarify-final-inner {
    padding: 90px 0 70px;
  }

  .rarify-closing-statement {
    width: 100%;
    margin-bottom: 86px;
  }

  .rarify-closing-statement p {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.08;
  }

  .rarify-final-cta h2 {
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.04;
  }

  .rarify-final-cta h2 br {
    display: none;
  }

  .rarify-final-copy {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.55;
  }

  .rarify-final-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 32px;
  }

  .rarify-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 30px;
    padding: 44px 0 38px;
  }

  .rarify-footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

  .rarify-footer-logo {
    font-size: 27px;
  }

  .rarify-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0 30px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 460px) {

  .rarify-final-inner,
  .rarify-footer-inner {
    width: calc(100% - 32px);
  }

  .rarify-footer-main {
    grid-template-columns: 1fr;
  }

  .rarify-footer-brand {
    grid-column: auto;
  }

}












  
  /* STORY SECTION */
  .rarify-story-v2 {
    height: 650vh;
    background: #fff;
    font-family: Helvetica, Arial, sans-serif;
  }

  .rsv-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 200px 24px 18px;
  }

  .rsv-header {
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
    height: 160px;
  }

  .rsv-header p {
    color: var(--rarify-orange-2);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 900;
    margin: 0 0 8px;
  }

  .rsv-header h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin: 0;
    font-weight: 900;
  }

  .rsv-header h2 span {
    color: var(--rarify-orange-2);
  }

  .rsv-header h4 {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
  }

  .rsv-dock {
    width: min(92vw, 1080px);
    height: 130px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }

  .dock-tile {
    height: 56px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px;
    opacity: 0;
  }

  .dock-tile strong {
    color: var(--rarify-orange-2);
    font-size: 24px;
    line-height: 1;
    min-width: 92px;
  }

  .dock-tile span {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .rsv-stage {
    position: relative;
    width: min(92vw, 1080px);
    height: calc(100vh - 338px);
    margin: 0 auto;
  }

  .story-card,
  .story-equation {
    position: absolute;
    inset: 0;
    height: 390px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    padding: 38px 54px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
  }

  .story-card h3 {
    font-size: clamp(24px, 4.4vw, 36px);
    line-height: 0.92;
    letter-spacing: -0.055em;
    margin: 0 0 12px;
    font-weight: 900;
  }

  .story-card strong {
    display: block;
    color: var(--rarify-orange-2);
    font-size: clamp(56px, 6vw, 88px);
    line-height: 0.8;
    letter-spacing: -0.08em;
    font-weight: 900;
    margin: 8px 0;
  }

  .story-card em {
    color: var(--rarify-orange-2);
    font-style: normal;
    font-size: 18px;
    margin-bottom: 14px;
    display: block;
  }

  .story-card p {
    font-size: 17px;
    line-height: 1.3;
    color: #4d4d4d;
    max-width: 430px;
    margin: 0;
  }

  .image-stage {
    height: 280px;
    display: grid;
    place-items: center;
    overflow: hidden;
  }

  .image-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .dark-stage {
    background: #111;
    border-radius: 22px;
    padding: 18px;
  }

  .story-equation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #121212;
    color: #fff;
    height: 250px;
    top: 70px;
  }

  .story-equation h3 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 0;
    font-weight: 900;
  }

  .story-equation b {
    color: var(--rarify-orange-2);
  }

  .story-equation p {
    margin: 18px auto 0;
    max-width: 700px;
    font-size: 18px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
  }

  .vip-card {
    grid-template-columns: 52% 48%;
  }

  .image-stage-vip {
    margin-left: -60px;
  }

  .module-2-image {
    transform: scale(1.45);
  }

  .vip-card > div:last-child {
    transform: translateX(80px);
  }

  .story-card.card-2,
  .story-card.card-2 .image-stage-vip,
  .story-card.card-2 .image-stage {
    overflow: visible !important;
  }

  .story-card.card-2 .image-stage-vip {
    height: 360px;
  }

  .story-card.card-2 .image-stage-vip img.module-2-image {
    width: auto !important;
    height: 400px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: unset !important;
    transform: translate(20px, -30px);
  }

  .story-card.card-2 > div:last-child {
    transform: translate(80px, 0px);
  }

  .guest-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .guest-mini img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
  }

  .guest-mini strong {
    display: block;
    font-size: 16px;
    line-height: 1;
    color: #111;
    margin: 0;
    letter-spacing: -0.03em;
  }

  .guest-mini span {
    display: block;
    font-size: 11px;
    line-height: 1;
    color: var(--rarify-orange-2);
    font-weight: 900;
    margin-top: 4px;
  }

  .module-2-copy .module-stat {
    display: block;
    color: var(--rarify-orange-2);
    font-size: clamp(56px, 6vw, 88px);
    line-height: 0.8;
    letter-spacing: -0.08em;
    margin: 8px 0;
  }







  
  @media (max-width: 900px) {

    .main-phone {
      width: 430px;
      height: 600px;
    }

    .phone-sequence-img {
      width: 780px;
      right: -165px;
      top: 0;
    }

    .side-phone { display: none; }

    .rarify-welcome-scene {
      height: 720px;
      min-height: 720px;
    }

    .welcome-stage { height: 560px; }
    .welcome-phone { width: 220px; }
    .welcome-tablet { width: 240px; }
  }





/* HERO BACKGROUND ROUNDED MASK */

.rarify-scroll-scene .hero-restaurant-bg {
  top: 0px !important;
  left: 2vw !important;
  width: 96vw !important;
  border-radius: 34px !important;
  overflow: hidden !important;
}

.rarify-scroll-scene .hero-restaurant-bg img,
.rarify-scroll-scene .hero-bg-overlay {
  border-radius: 34px !important;
}


.rarify-scroll-scene .hero-restaurant-bg {
  height: 700px !important;
}

.rarify-scroll-scene .hero-restaurant-bg img {
  object-fit: cover !important;
  object-position: center center !important;
}



/* HERO IMAGE DARKENING */

.rarify-scroll-scene .hero-restaurant-bg .hero-bg-empty,
.rarify-scroll-scene .hero-restaurant-bg .hero-bg-full {
  filter: brightness(100%);
}



/* HERO GRADIENT ONLY */

.rarify-scroll-scene .hero-bg-overlay {
  display: none !important;
}

.rarify-scroll-scene .hero-restaurant-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  border-radius: 34px;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.60) 22%,
    rgba(0,0,0,0.20) 52%,
    rgba(0,0,0,0.00) 70%
  );
}

.rarify-welcome-scene {
  position: relative;
  width: 100%;
}

.rarify-intelligence-module {
  position: relative;
  z-index: 1;
  width: 100%;
  clear: both;
  background: #ffffff;
}

.rarify-section-intro {
  position: relative;
  clear: both;
}


.rarify-site-header {
  margin-bottom: 40px;
}



.party-card {
  isolation: isolate;
}

.party-video-frame {
  z-index: 1;
}

.party-card-copy {
  z-index: 5;
}


/* =========================================================
   PREVENT HORIZONTAL PAGE EXPANSION
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}


/* =========================================================
   RESPONSIVE COPY HELPERS
   ========================================================= */

.desktop-copy {
  display: block;
}

.mobile-copy {
  display: none;
}

@media (max-width: 640px) {
  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: block;
  }

}




/* =========================================================
   MOBILE HERO AND WIDTH CONTAINMENT
   ========================================================= */

@media (max-width: 900px) {

  .headline-one p {
    display: none !important;
  }

  .headline-two p {
    opacity: 1 !important;
    transform: none !important;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  main,
  section {
    max-width: 100%;
  }

  .rarify-scroll-scene {
    width: 100%;
    max-width: 100%;
    height: 900px;
    min-height: 900px;
    overflow: hidden;
    background: #fff;
  }

  .rarify-hero-shell {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rarify-scroll-scene .hero-restaurant-bg {
    top: 0 !important;
    left: 4vw !important;
    width: 92vw !important;
    height: 605px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .headline {
    left: 50%;
    top: 48px;
    right: auto;
    width: 80%;
    max-width: 320px;
    transform: translateX(-50%);
    text-align: center;
  }


  .rarify-hero-title,
  .headline-two h2 {
    max-width: none !important;
    width: 100% !important;
    font-size: clamp(30px, 7.8vw, 38px) !important;
    line-height: .95 !important;
    letter-spacing: -.03em !important;
    text-align: center;
  }

.rarify-hero-title::before {
  top: -14px;      /* was effectively -24px */
  left: 50%;
  width: 72px;
  transform: translateX(-50%);
}

  .headline-one p,
  .headline-two p {
    position: absolute;
    top: 560px;
    left: calc(-9vw + 24px);
    width: calc(100vw - 48px);
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 0 50px;
    color: #555 !important;
    background: #fff;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    text-align: center;
  }

.phone-stage {
  left: 50%;
  right: auto;
  top: 470px; /* was 610px */
  width: 430px;
  height: 600px;
  max-width: 100vw;
  transform: translate(-50%, -50%);
}

  /* Contain deliberately oversized desktop modules on mobile. */
  .shift-carousel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .shift-carousel-viewport,
  .shift-sticky-frame,
  .party-sticky,
  .recognize-sticky,
  .tableflow-sticky {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rarify-video-inner {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
}





/* =========================================================
   SHIFT CAROUSEL — MOBILE SWIPE CAROUSEL
   ========================================================= */

@media (max-width: 640px) {

  .shift-card-copy p {
    display: none !important;
}

  .shift-story-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    scale: 1 !important;
  }

  .shift-story-card img,
  .shift-story-overlay,
  .shift-card-copy {
    transform: none !important;
    scale: 1 !important;
  }


  .shift-carousel-scroll-shell {
    height: auto;
  }

  .shift-sticky-frame {
    position: relative;
    top: auto;

    width: 100%;
    min-height: 0;

    padding: 48px 0 64px;

    overflow: hidden;
    background: #fff;
  }

  .shift-carousel {
    position: relative;
    top: auto;

    width: 100%;
    max-width: 100%;

    margin: 0;
    overflow: hidden;
  }

  .shift-carousel-viewport {
    width: 100%;
    height: auto;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .shift-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .shift-carousel-track {
    position: relative;
    top: auto;
    left: auto;

    display: flex;
    flex-direction: row;
    gap: 16px;

    width: max-content;

    padding: 0 24px;

    transform: none !important;
  }

  .shift-story-card {
    width: 70vw;
    max-width: 270px;
    height: 370px;
    min-height: 0;

    flex: 0 0 auto;

    scroll-snap-align: center;
    scroll-snap-stop: always;

    opacity: 1 !important;
    filter: none !important;
    transform: none !important;

    border-radius: 22px;
    overflow: hidden;

    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.12);
  }

  .shift-story-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .shift-story-overlay {
    opacity: 0.82 !important;

    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.32) 45%,
        rgba(0, 0, 0, 0.78) 100%
      );
  }

  .shift-card-copy {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 26px;
    top: auto;

    width: auto;

    opacity: 1 !important;
    transform: none !important;

    text-align: left;
  }

  .shift-card-copy h3,
  .shift-card-copy p {
    opacity: 1 !important;
    transform: none !important;
  }

  .shift-card-copy h3 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 0.98;
  }

  .shift-card-copy p {
    max-width: none;
    margin: 0;

    font-size: 16px;
    line-height: 1.38;
  }

  .shift-story-content {
    display: none;
  }

}







/* =========================================================
   WELCOME MODULE — MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .rarify-welcome-scene {
    position: relative;
    width: 100%;
    height: 800px;
    min-height: 800px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
  }


  /* =======================================================
     RESTAURANT BACKGROUND
     ======================================================= */

  .welcome-bg {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 790px !important;
    max-width: none !important;

    display: block;

    object-fit: cover !important;
    object-position: center 40% !important;

    transform: none !important;
    border-radius: 0 !important;

    z-index: 1;
  }


  /* White fade across the actual bottom edge of the image */

.rarify-welcome-scene::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 545px;
  height: 330px;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 12%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(255, 255, 255, 0.58) 52%,
    rgba(255, 255, 255, 0.88) 76%,
    #ffffff 100%
  );
}

  /* Subtle vignette over the top and outside edges */

  .rarify-welcome-scene::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    top: 0;

    height: 590px;

    z-index: 2;
    pointer-events: none;

    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.02) 22%,
        rgba(0, 0, 0, 0.02) 78%,
        rgba(0, 0, 0, 0.18) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0) 40%
      );
  }


  /* =======================================================
     DEVICE COMPOSITION
     ======================================================= */

  .welcome-stage {
    position: absolute !important;
    left: 50% !important;
    top: 305px !important;
    width: 100% !important;
    height: 620px !important;
    z-index: 10;
    transform: translate(-50%, -50%) !important;
  }

  .welcome-phone {
    left: 50%;
    top: 54%;

    width: 250px;

    z-index: 14;
    transform-origin: center center;
  }

  .welcome-phone-frame,
  .welcome-video-mask {
    z-index: 14;
  }

  /* Restore the larger tablet proportions */

  .welcome-tablet {
    top: 42%;
    width: 285px;

    z-index: 11;
    opacity: 1;
  }

  .welcome-tablet-left,
  .welcome-tablet-right {
    left: 50%;
  }


  /* =======================================================
     HEADLINE
     ======================================================= */

  .welcome-headline {
    position: absolute !important;

    left: 20px !important;
    right: 20px !important;
    top: 58px !important;

    width: auto !important;

    z-index: 20;

    margin: 0 !important;
    text-align: center;

    transform: none !important;
  }

  .welcome-headline h2 {
    width: 100%;
    margin: 0 auto;

    font-size: 42px;
    line-height: 0.91;
    letter-spacing: -0.04em;
  }


  /* =======================================================
     BODY COPY
     ======================================================= */

  .welcome-copy {
  position: absolute !important;

  left: 24px !important;
  right: 24px !important;
  top: 560px !important;

  width: auto !important;

  z-index: 20;

  margin: 0 !important;
  text-align: center;

  transform: none !important;
}

.welcome-copy p {
  width: 100%;
  max-width: 355px;

  margin: 0 auto !important;

  font-size: 20px;
  line-height: 1.1;
  text-align: center;
}
}


/* =========================================================
   SHOW MODULE — FINAL MOBILE LAYOUT CORRECTION
   ========================================================= */

@media (max-width: 640px) {

  .rarify-video-inner {
    position: relative !important;
  }

  .video-overlay {
    position: relative !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 28px 24px 0 !important;

    box-sizing: border-box !important;
  }

  .video-copy {
    position: static !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 390px !important;

    margin: 0 auto 36px !important;
    padding: 0 !important;

    opacity: 1 !important;
    transform: none !important;

    visibility: visible !important;
    text-align: left !important;
  }

  .video-copy h2 {
    margin: 0 0 16px !important;
    font-size: 40px !important;
    line-height: 0.96 !important;
    color: #111 !important;
  }

  .video-copy p {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    font-size: 17px !important;
    line-height: 1.42 !important;
    color: #444 !important;
  }

  .video-features {
    position: static !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 390px !important;

    margin: 0 auto !important;

    opacity: 1 !important;
    transform: none !important;
  }

  .feature-number-wrap {
    position: absolute !important;

    top: -42px !important;
    right: 10px !important;
    bottom: -1px !important;
    left: auto !important;

    transform: none !important;
  }
}

@media (max-width: 640px) {

  .rarify-video-inner {
    position: relative !important;
  }

  .rarify-video-inner > .feature-number-wrap {
    position: absolute !important;

    top: 30px !important;
    right: 53px !important;
    bottom: auto !important;
    left: auto !important;

    margin: 0 !important;
    transform: none !important;
    z-index: 100 !important;
  }
}


/* =========================================================
   MODULE 02 — FINAL MOBILE SIZING
   ========================================================= */

@media (max-width: 640px) {

  .rarify-power-sticky {
    padding-top: 34px !important;
    align-items: flex-start !important;
  }

  .rarify-power-content {
    width: calc(100% - 36px) !important;
    max-width: 430px !important;
  }

  .rarify-power-heading {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    align-items: center !important;

    width: 100% !important;
    gap: 14px !important;

    margin: 0 0 20px !important;
  }

  .rarify-power-number {
    width: 60px !important;
    height: 60px !important;

    border-radius: 18px !important;

    font-size: 29px !important;
  }

  .rarify-power-title {
    width: auto !important;
    max-width: 100% !important;

    font-size: 30px !important;
    line-height: 0.93 !important;
    letter-spacing: -0.045em !important;

    overflow-wrap: normal !important;
  }

  .rarify-power-copy {
    width: 100% !important;

    margin: 0 0 24px !important;

    font-size: 17px !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  .rarify-power-video-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin-top: 8px !important;
  }

  .rarify-power-video {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}


@media (max-width: 640px) {

  .rarify-power-sticky {

    height: auto !important;

    min-height: 0 !important;

    padding-bottom: 30px !important;

  }

}


@media (max-width: 640px) {

  .party-track {
    left: 0;
    transform: translateX(0);
  }

}


@media (max-width: 640px) {

  .recognize-copy {
    transform: translateY(-60px) !important;
  }

}



@media (max-width: 640px) {

  .welcome-transition-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px 24px 90px !important;
  }

  .welcome-panel-content {
    width: 100% !important;
    margin: 0 auto !important;
    transform: none !important;
  }

}


/* =========================================================
   SHOW MODULE — MOBILE NUMBER + HEADLINE
   ========================================================= */

@media (max-width: 640px) {

  /* Hide the original number attached to the image */
  .rarify-video-module .feature-number-wrap {
    display: none !important;
  }

  /* Reset desktop positioning and create the mobile layout */
  .rarify-video-module .video-copy {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    align-items: start !important;

    margin: 0 !important;

    opacity: 1 !important;
    transform: none !important;
  }

  /* Replacement number beside the headline */
  .rarify-video-module .video-copy::before {
    content: "01";

    grid-column: 1;
    grid-row: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border-radius: 17px;
    background: #f15a24;

    box-sizing: border-box;

    font-family: Gotham, Montserrat, Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
  }

  /* Headline beside number */
  .rarify-video-module .video-copy h2 {
    grid-column: 2;
    grid-row: 1;

    margin: 2px 0 0 !important;

    font-size: 31px !important;
    line-height: 0.97 !important;
    letter-spacing: -0.035em !important;
  }

  /* Paragraph beneath both */
  .rarify-video-module .video-copy p {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100% !important;
    max-width: 350px !important;

    margin: 24px 0 0 !important;
  }
}


/* =========================================================
   MOBILE HERO CTA — FINAL POSITION FIX
   Keep the outside CTA and hide the duplicate inside headline
   ========================================================= */

@media (max-width: 900px) {

  /* Hide the accidental mobile CTA inside the hero headline */
  .headline-two > .hero-cta-mobile {
    display: none !important;
  }

  /* Position the intended mobile CTA directly below the hero copy */
  .rarify-hero-shell > .hero-cta-mobile {
    display: block !important;
    position: relative !important;
    z-index: 30 !important;

    width: calc(100% - 48px) !important;
    max-width: 340px !important;

    margin: -115px auto 50px !important;
    text-align: center !important;
  }

  .rarify-hero-shell > .hero-cta-mobile .demo-button {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;

    padding: 15px 20px !important;
    font-size: 18px !important;
    border-radius: 14px !important;
  }

  .rarify-hero-shell > .hero-cta-mobile .demo-note {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 10px !important;

    max-width: 240px !important;
    margin: 15px auto 0 !important;

    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  .rarify-hero-shell > .hero-cta-mobile .demo-icon {
    stroke: var(--rarify-orange) !important;
  }

  .rarify-hero-shell > .hero-cta-mobile .demo-note strong {
    color: #333 !important;
  }
}


