/* ============================================================
   Page sections - geometry from the measured composition spec.
   Section rhythm: dark -> white -> gray -> white -> dark -> gray ->
   white -> dark, all hard cuts, 1280px content column (80px
   side padding at 1440).
   ============================================================ */

/* ---------- fixed header ---------- */
/* transparent + 30px vertical padding at top; solid black + 12px once scrolled */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 30px 40px;
  background: transparent;
  transition: background var(--dur-slow), padding var(--dur-base);
}
.site-header.scrolled {
  background: #1F0812;
  padding-block: 12px;
}

.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FFEBD8;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: #FFEBD8;
  transition: transform var(--dur-base), opacity var(--dur-base);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
/* one full-bleed photo, two edge-anchored content zones (no centered container) */
.hero {
  position: relative;
  height: 846px;
  overflow: hidden;
  color: #FFEBD8;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%; /* overscan so the parallax drift never reveals an edge */
  object-fit: cover;
  will-change: transform;
}
/* legibility grade (top/left/right/bottom) + subtle Coffee Bean wash to pull
   the off-palette photo toward brand */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(31 8 18 / 0.5), transparent 20%),
    linear-gradient(90deg, rgb(31 8 18 / 0.68), rgb(31 8 18 / 0.22) 52%, rgb(31 8 18 / 0.48)),
    linear-gradient(0deg, rgb(31 8 18 / 0.6), transparent 62%),
    rgb(31 8 18 / 0.1);
}

.hero-left {
  position: absolute;
  z-index: 1;
  left: 35px;
  top: 194px;
}
.hero-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.0;
}
.hero-heading .line { display: block; }
/* emphasis word ("Works") — elegant serif italic like altagency's accent word;
   taupe, distinguished by font + the wave shimmer (bright glow via wave-bright) */
.hero-heading .line--accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.42em; /* larger than the Manrope lines — the focal emphasis word */
  line-height: 1;
  color: var(--muted);
}
.award-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  gap: 16px 32px;
  margin-top: 159px; /* awards land at page y=613 */
  align-items: center;
}
.award .award-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 235 216 / 0.85);
  border: 1px solid rgb(255 235 216 / 0.35);
  border-radius: 6px;
}
.hero-left .circle-btn {
  margin-top: 82px; /* awards bottom ~644 -> circle 726 */
  width: 40px;
  height: 40px;
}

.hero-panel {
  position: absolute;
  z-index: 1;
  left: 828px;
  top: 485px;
  width: 432px;
}
.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
}
.hero-panel p {
  font-size: 16px;
  line-height: 26px;
  margin-top: 37px;
}
.hero-ctas { display: flex; gap: 21px; margin-top: 23px; }

@media (max-width: 1280px) {
  .hero-panel { position: static; width: auto; max-width: 520px; margin: 60px 0 0 35px; padding-bottom: 60px; }
  .hero { height: auto; }
  .hero-left { position: static; padding-top: 150px; }
  .hero-left, .hero-panel { position: relative; top: auto; left: auto; }
}

/* ---------- beyond (white intro) ---------- */
/* measured geometry (section-local, top = page 846):
   pill 80 / heading 155-267 / big photo 313-659 (x5-502 container-local)
   bridge photo 159-386 (x465-719, overlaps big photo corner, z-above)
   right photo 111-328 (x898-1279) / text col 468-688 (x748-1263)
   link row ~698-739 / section height 857 */
.beyond { position: relative; }
.beyond .container { position: relative; height: 895px; }
.beyond .eyebrow { position: absolute; top: 80px; left: 0; }
.beyond h2 {
  position: absolute;
  top: 147px;
  left: 0;
  font-family: var(--font-display);
  font-size: 63px;
  font-weight: 500;
  line-height: 0.97;
}
.beyond-photo-big {
  position: absolute;
  top: 313px;
  left: 5px;
  width: 498px;
  height: 347px;
  object-fit: cover;
}
.beyond-photo-bridge {
  position: absolute;
  top: 300px;
  left: 470px;
  width: 255px;
  height: 228px;
  object-fit: cover;
  z-index: 2;
}
.beyond-photo-right {
  position: absolute;
  top: 111px;
  left: 898px;
  width: 382px;
  height: 218px;
  object-fit: cover;
}
.beyond-copy {
  position: absolute;
  top: 455px;
  left: 748px;
  width: 515px;
}
.beyond-copy p {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 30px;
}
.beyond-cta-row {
  position: absolute;
  top: 750px;
  left: 748px;
  width: 515px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.beyond-cta-row .link { margin-top: 26px; }
.beyond-cta-row .circle-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
}

@media (max-width: 1200px) {
  .beyond .container { height: auto; display: flex; flex-direction: column; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
  .beyond .eyebrow, .beyond h2, .beyond-photo-big, .beyond-photo-bridge,
  .beyond-photo-right, .beyond-copy, .beyond-cta-row { position: static; width: auto; height: auto; }
  .beyond-photo-bridge { display: none; }
  .beyond-photo-big { aspect-ratio: 498 / 347; width: 100%; max-width: 498px; }
  .beyond-photo-right { aspect-ratio: 382 / 218; width: 100%; max-width: 382px; }
  .beyond-cta-row { position: relative; top: auto; left: auto; }
}

/* ---------- our work (gray grid) ---------- */
.work {
  background: var(--section-tint);
  color: #1F0812;
  padding: 92px 0 60px;
}
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px; /* glyph-to-image gap 47px incl. h2 descender box */
}
.work-head h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 10px;
}
.portfolio-item-container { display: flex; flex-direction: column; }
.view {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 418 / 315;
}
.view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease-in-out;
}
.view .mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  opacity: 0;
  background: rgb(244 244 244 / 0.92);
  transition: all 0.5s linear;
}
.view .mask h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.view .mask p { font-size: 14px; max-width: 320px; }
.view .mask h3,
.view .mask p,
.view .mask .portfolio-btn {
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s linear;
}
.view:hover img { transform: scale(10); opacity: 0; }
.view:hover .mask { opacity: 1; }
.view:hover .mask h3,
.view:hover .mask p,
.view:hover .mask .portfolio-btn { opacity: 1; transform: scale(1); }

.out-work-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  min-height: 26px;
}
.out-work-item-title p { font-size: 18px; }
.out-work-item-title svg { transition: transform var(--dur-base); }
.portfolio-link:hover .out-work-item-title svg { transform: translateX(8px); }

.work-cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
  padding-bottom: 1px; /* keep 61px section bottom via .work padding */
}

/* light-context iocaste link (black stroke) */
.section-light .link, .work .link { color: #1F0812; }

/* ---------- USP trio (white centered) ---------- */
.usp {
  padding: 82px 0 63px;
  text-align: center;
}
.usp h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 38px;
}
.usp-intro {
  max-width: 790px;
  margin: 0 auto 51px;
  font-size: 14px;
  line-height: 20.5px;
}
.usp-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.web-design-item h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 26px;
}
.web-design-item p { font-size: 14px; line-height: 21px; }

/* ---------- testimonials (gray slider) ---------- */
.testimonials {
  background: var(--section-tint);
  color: #1F0812;
  padding: 106px 0 80px;
  text-align: center;
}
.testimonials h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 33px;
}
.test-track {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}
.testItem {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  visibility: hidden;
}
.testItem.is-active { visibility: visible; }
.testionials-quotes-big {
  max-width: 750px;
  margin: 0 auto 31px;
  font-size: 22px;
  line-height: 29px;
}
.testItem > span { display: block; font-size: 15px; font-weight: 700; }
.testItem .bio span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}
.test-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.test-nav button { padding: 10px; }
.test-nav .prev svg { opacity: 0.35; transform: rotate(180deg); }

/* ---------- blog ---------- */
.blog {
  padding: 87px 0 37px;
  background: #FFEBD8;
  color: #1F0812;
  overflow: hidden;
}
.blog .container {
  display: flex;
  gap: 59px;
  align-items: flex-start;
}
.blog-intro { width: 365px; flex: none; }
.blog-intro h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 27px;
}
.blog-intro p { font-size: 15px; line-height: 22px; margin-bottom: 40px; }
.blog-track {
  display: flex;
  gap: 17px;
  flex: none;
}
.blog-card { width: 418px; flex: none; }
.blog-card .thumb {
  aspect-ratio: 418 / 230;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .arrow-row { border-bottom: 0; }
.blog-card .arrow-row p { font-size: 20px; line-height: 26px; font-weight: 500; max-width: 360px; }

/* ---------- big text ticker ---------- */
.ticker-strip {
  background: #1F0812;
  color: #FFEBD8;
  padding: 50px 0;
}
.ticker-strip .m-scroll {
  font-family: var(--font-display);
  font-size: clamp(64px, 7.6vw, 110px);
  font-weight: 800;
  line-height: 1.1;
}
.ticker-strip .m-scroll .sep { margin: 0 35px; opacity: 0.5; }

/* ---------- image marquee ---------- */
.image-marquee {
  background: #1F0812;
  padding: 40px 0 60px;
}
.image-marquee .marquee__group { gap: 30px; padding-right: 30px; align-items: center; }
.image-marquee img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  flex: none;
}
.image-marquee .circle-img { border-radius: 50%; }
.image-marquee .rounded-img { border-radius: var(--r-xl); }

/* ---------- footer ---------- */
.site-footer {
  background: #1F0812;
  color: #FFEBD8;
  border-top: 1px solid #FFEBD8;
  display: flex;
  justify-content: space-between;
  padding: 50px 60px 50px 90px;
  gap: 50px;
}
.footer-brand { max-width: 340px; }
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 54px;
}
.footer-brand p { font-size: 14px; font-weight: 600; line-height: 18px; margin-bottom: 14px; }
.footer-brand .policies { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand .policies a { font-size: 14px; font-weight: 600; transition: color var(--dur-base); }
.footer-brand .policies a:hover { color: var(--gold); }
.footer-brand .stats { font-weight: 400; color: rgb(255 235 216 / 0.85); }

.footer-cols { display: flex; gap: 0; }
.footer-col {
  padding: 0 40px;
  min-width: 180px;
}
.footer-col--divided { border-left: 1px solid #FFEBD8; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-col address {
  font-size: 14px;
  font-style: normal;
  line-height: 19px;
  transition: color var(--dur-base);
}
.footer-col a:hover { color: var(--gold); }

/* ---------- responsive collapse (template-level, coarse) ---------- */
@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; }
  .plan-grid { gap: 16px; }
  .plan { padding: 32px 22px 28px; }
  .plan--featured { padding: 44px 26px 38px; }
  .hero-panel { padding-top: 40px; }
  .beyond .container { grid-template-columns: 1fr; row-gap: 60px; }
  .beyond-photo-bridge { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: 1fr; gap: 50px; }
  .blog .container { flex-direction: column; }
  .site-footer { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 30px; }
  .footer-col { padding: 0; min-width: 0; }
  .footer-col--divided { border-left: 0; }
}
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-wrap: wrap; }
  .award-wrapper { grid-template-columns: repeat(2, 140px); }
  .site-footer { padding: 50px 30px; }
  .footer-cols { flex-wrap: wrap; gap: 30px; }
}

/* ============================================================
   RGL-only sections (no template equivalent)
   ============================================================ */

/* ---------- compact page hero (subpages) ---------- */
.page-hero {
  padding: 180px 0 90px;
}
.page-hero h1 { max-width: 900px; }
.page-hero .lede {
  max-width: 620px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.6;
  color: rgb(255 235 216 / 0.85);
}

/* ---------- footer CTA band (audit form, every page) ---------- */
.cta-band {
  background: var(--bg);
  color: var(--light);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-band h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
.cta-band .reassure {
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.6;
  color: rgb(255 235 216 / 0.8);
  max-width: 480px;
}
.cta-band .areas {
  margin-top: 35px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- process steps — "How Working With Us Looks" ---------- */
.process { padding: 96px 0; }
/* halo colour behind each badge, so the journey line reads as a clean break */
.process.section-tint  { --proc-bg: var(--section-tint); }
.process.section-light { --proc-bg: var(--light); }
.process.section-dark  { --proc-bg: var(--bg); }
.process h2 { text-align: center; margin-bottom: 16px; }
.process .proc-intro { text-align: center; margin: 0 auto 62px; max-width: 560px; }

.process-flow { position: relative; max-width: 960px; margin: 0 auto; }
/* hand-drawn flow arrows: one centered in each gap between badges (left set
   inline per step), sitting just behind the badges */
.proc-arrow {
  position: absolute; top: 33px;
  transform: translateX(-50%);
  width: 100px; z-index: 0; color: var(--gold);
  pointer-events: none;
}
.proc-arrow svg { display: block; width: 100%; height: auto; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  position: relative; z-index: 1;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.proc-badge {
  position: relative;
  width: 82px; height: 82px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--bg);                 /* ink chip = a dark context */
  color: var(--light);
  border: 1.5px solid rgb(216 167 20 / 0.55);   /* warm gold rim, on-brand on ink */
  box-shadow: 0 0 0 7px var(--proc-bg), 0 14px 30px rgb(31 8 18 / 0.16);
}
.proc-badge svg { width: 34px; height: 34px; }
.proc-step-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px;
}
.process-step h5 { margin-bottom: 9px; }
.process-step p {
  font-size: 14px; line-height: 21px; color: rgb(31 8 18 / 0.8);
  max-width: 260px;
}
.section-dark .process-step p { color: rgb(255 235 216 / 0.8); }

@media (max-width: 820px) {
  .process-grid { grid-template-columns: 1fr; gap: 40px; max-width: 330px; margin: 0 auto; }
  .proc-arrow { display: none; }
  .process-step p { max-width: none; }
}

/* ---------- FAQ accordion (Why page) ---------- */
.faq { padding: 90px 0; }
.faq-list { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  text-align: left;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.faq-q .indicator { flex: none; transition: transform var(--dur-base); font-size: 24px; font-weight: 500; }
.faq-item.open .indicator { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) ease-out, padding var(--dur-base) ease-out;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 28px; }
.faq-a p { font-size: 15px; line-height: 1.65; max-width: 740px; }
.faq-a p + p { margin-top: 12px; }

/* ---------- portfolio split-scroll showcase ---------- */
.showcase { padding: 90px 0; overflow: hidden; }
.sp-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-height: 720px;
  overflow: hidden;
  border-radius: var(--r-md);
}
.sp-col { display: flex; flex-direction: column; gap: 20px; }
.sp-col img { border-radius: var(--r-sm); width: 100%; }
.sp-right-image { margin-top: -240px; }

/* ---------- project blocks (Portfolio) ---------- */
.project-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid rgb(31 8 18 / 0.15);
}
.project-block .shot { border-radius: var(--r-md); overflow: hidden; }
.project-block .meta-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.project-block h3 { margin-bottom: 18px; }
.project-block ul { padding-left: 18px; margin: 18px 0 0; }
.project-block li { font-size: 15px; line-height: 1.7; }

/* ---------- pillar tabs label tweak ---------- */
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .cta-band .container { grid-template-columns: 1fr; gap: 50px; }
  .project-block { grid-template-columns: 1fr; gap: 30px; }
  .sp-scroll { grid-template-columns: 1fr; max-height: none; }
  .sp-right-image { margin-top: 0; }
  .page-hero { padding: 140px 0 60px; }
}

/* ============================================================
   PIVOT components — productized GHL system
   ============================================================ */

/* ---------- social-proof bar ---------- */
.social-proof { padding: 30px 0; border-bottom: 1px solid rgb(31 8 18 / 0.08); }
.social-proof .container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proof-stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.proof-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- system title lockup ("The RGL System") ---------- */
.system-intro { text-align: center; padding-top: 110px; }
.system-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
/* .system-intro / .incl-section prefix raises specificity above the generic
   .usp h2 rule (the lockup is shared: home title card + pricing "Inside") */
.system-intro .system-title,
.incl-section .system-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.24em;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0;
}
.system-intro .system-title .st-the,
.incl-section .system-title .st-the { font-style: italic; font-weight: 500; color: var(--muted); }
.system-intro .system-title .st-mark,
.incl-section .system-title .st-mark {
  height: 0.82em;
  width: auto;
  align-self: center;
  transform: translateY(0.04em);
}
.system-intro .system-title .st-system,
.incl-section .system-title .st-system { font-weight: 700; }
.system-intro .usp-intro { margin-top: 30px; max-width: 640px; }
/* the pricing version sits a step below the home title card; both flanking
   words are uniform black bold (owner spec) and the crowned RGL mark runs
   larger than the text */
/* words bottom-align to the wordmark (the crowned column is much taller than
   the text); crown ~= letter height per the owner's lockup reference */
.incl-section .system-title { font-size: clamp(44px, 6.5vw, 84px); align-items: flex-end; }
.incl-section .system-title .st-the { font-style: normal; font-weight: 700; color: inherit; }
.incl-section .st-the, .incl-section .st-system { margin-bottom: 0.05em; }
.incl-section .st-rgl {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.07em;
  margin: 0 0.08em;
}
.incl-section .st-rgl .st-mark { display: block; height: 1.14em; transform: none; }
/* official crown asset (already the on-light ink) — ~= letter cap height */
.incl-section .st-crown { display: block; height: 0.96em; width: auto; }
.incl-section .usp-intro { margin-top: 26px; max-width: 640px; }
/* plain title variant (home "Everything You Get") — reset the lockup's flex row
   back to a normal centered heading; the crown/word-mark spans aren't rendered */
.incl-section .system-title--plain {
  display: block;
  text-align: center;
  font-size: clamp(38px, 5.6vw, 72px);
}

@media (max-width: 600px) {
  .system-intro { padding-top: 70px; }
  .system-intro .system-title,
  .incl-section .system-title { gap: 0.14em; }
}

/* ---------- feature row (alternating image/text) ---------- */
.feature-row { padding: 90px 0; }
.feature-row .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-media img {
  width: 100%;
  border-radius: var(--r-md);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.feature-text h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; margin-bottom: 20px; }
.feature-text p { font-size: 16px; line-height: 1.6; margin-bottom: 16px; max-width: 540px; }
.section-dark .feature-text p { color: rgb(255 235 216 / 0.85); }
.feature-bullets { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-bullets li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
}
.feature-bullets--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
.feature-bullets--center li { padding-left: 24px; }
.feature-cta { margin-top: 28px; }
.feature-intro { padding: 70px 0 10px; }

/* ---------- trades grid ---------- */
.trades-niche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 10px auto 50px;
}
.trade-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: left;
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.trade-card:hover { border-color: var(--muted); transform: translateY(-3px); }
.trade-name { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.trade-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.trades-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.trade-chip {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.section-dark .trade-chip { border-color: rgb(255 235 216 / 0.25); }

/* ---------- pricing: three-tier plans (dark section) ----------
   Built around the flagship $297 System: the featured card is the only light
   card and the only place gold appears, so the eye lands center (center-stage
   effect); the $497 anchor sits right, the $150 contrast tier left. */
.plans { padding: 150px 0 100px; }
.plans-head { text-align: center; margin-bottom: 64px; }
.plans-logo { display: block; width: 150px; height: auto; margin: 0 auto 26px; opacity: 0.92; }
.plans-head h1 { margin: 0 auto; }
.plans-head .lede {
  max-width: 560px; margin: 20px auto 0;
  font-size: 17px; line-height: 1.6; color: rgb(255 235 216 / 0.82);
}
.plan-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.16fr 1fr;
  gap: 24px; align-items: stretch;
}
.plan {
  display: flex; flex-direction: column;
  border: 1px solid rgb(255 235 216 / 0.15);
  background: rgb(255 235 216 / 0.045);
  border-radius: var(--r-lg);
  padding: 36px 30px 32px;
}
/* the one light card on the dark stage — bigger, brighter, elevated */
.plan--featured {
  position: relative;
  background: var(--light); color: var(--bg);
  border-color: var(--light);
  margin: -26px 0;
  padding: 48px 34px 42px;
  box-shadow: 0 54px 110px -42px rgb(0 0 0 / 0.72);
}
.plan-flag {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold); color: var(--bg);
  font-family: var(--font-body); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 8px 20px;
  white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-size: 25px; line-height: 1.08; margin: 0 0 10px; }
.plan--featured .plan-name { font-size: 30px; }
.plan-sub { font-size: 14.5px; line-height: 1.5; color: rgb(255 235 216 / 0.72); margin: 0 0 24px; min-height: 44px; }
.plan--featured .plan-sub { color: rgb(31 8 18 / 0.72); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-family: var(--font-display); font-size: 52px; font-weight: 800; line-height: 1; }
.plan--featured .plan-amount { font-size: 68px; color: var(--gold); }
.plan-per { font-size: 15px; color: var(--muted); }
.plan-value { font-size: 13px; font-weight: 600; color: rgb(31 8 18 / 0.66); margin: 12px 0 0; }
.plan .button { width: 100%; margin-top: 26px; }
.plan-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.plan-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 20px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.plan-divider::before, .plan-divider::after { content: ''; flex: 1; height: 1px; background: rgb(255 235 216 / 0.14); }
.plan--featured .plan-divider::before, .plan--featured .plan-divider::after { background: rgb(31 8 18 / 0.14); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.plan-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.45; }
.plan--featured .plan-list li { font-size: 15.5px; }
.plan-check { flex: none; width: 19px; height: 19px; color: rgb(255 235 216 / 0.55); margin-top: 1px; }
.plan--featured .plan-check { color: var(--gold); }
.plan-hint {
  margin: auto 0 0; padding-top: 22px;
  font-size: 13px; line-height: 1.5; font-style: italic; color: rgb(255 235 216 / 0.5);
}
.plans-footnote {
  max-width: 620px; margin: 54px auto 0;
  text-align: center; font-size: 13.5px; line-height: 1.6; color: rgb(255 235 216 / 0.6);
}

/* "Inside The RGL System" — Stone-style 3x3 systems & features grid, kept
   editorial for the brand: borderless rows (no boxy cards), a soft icon chip,
   left-aligned text under a centered heading */
.incl-section { padding-top: 34px; }
.incl-grid {
  max-width: 1060px; margin: 52px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px;
}
.incl-item { display: grid; grid-template-columns: 48px 1fr; gap: 17px; align-items: start; text-align: left; }
.incl-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: rgb(31 8 18 / 0.045);
  border: 1px solid rgb(31 8 18 / 0.1);
  color: var(--bg);
  transition: background var(--dur-base), border-color var(--dur-base);
}
.incl-icon svg { width: 24px; height: 24px; }
.incl-body { display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.incl-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.incl-desc { font-size: 14px; line-height: 21px; color: var(--muted); }
.incl-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color var(--dur-base);
}
.incl-link svg { width: 15px; height: auto; transition: transform var(--dur-base); }
a.incl-item:hover .incl-link { color: var(--dark-on-light); }
a.incl-item:hover .incl-link svg { transform: translateX(3px); }
a.incl-item:hover .incl-icon { background: rgb(31 8 18 / 0.09); border-color: rgb(31 8 18 / 0.2); }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { padding: 56px 0 84px; }
.legal .container { max-width: 780px; }
.legal-updated { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.legal h2 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 42px 0 14px; }
.legal p { font-size: 15.5px; line-height: 1.65; color: rgb(31 8 18 / 0.82); margin-bottom: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15.5px; line-height: 1.65; color: rgb(31 8 18 / 0.82); margin-bottom: 9px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* SMS/CTIA disclosure under the booking embed (dark band) */
.sms-disclosure { margin: 14px 4px 0; font-size: 11.5px; line-height: 1.55; color: rgb(255 235 216 / 0.55); }
.sms-disclosure a { color: rgb(255 235 216 / 0.75); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- booking band + embed ---------- */
.booking-band .container { align-items: center; }
.booking-embed {
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 600px;
  background: rgb(255 235 216 / 0.05);
}
/* default height before form_embed.js auto-resizes the iframe to its content */
.booking-embed iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking-embed--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 50px 30px;
  border: 2px dashed var(--border);
}
.booking-ph-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--light); }
.booking-ph-note { font-size: 13px; color: var(--muted); max-width: 320px; }
.booking-ph-note code { color: var(--light); font-size: 12px; }

/* ---------- fullscreen menu: product sub-links ---------- */
.menu-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 560px;
  margin-top: 28px;
}
.menu-products a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgb(255 235 216 / 0.65);
  transition: color var(--dur-base);
}
.menu-products a:hover { color: var(--light); }

@media (max-width: 900px) {
  .feature-row .container { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.side-right .feature-media { order: -1; }
  .feature-row { padding: 60px 0; }
  .incl-grid { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
  .plans { padding: 130px 0 80px; }
  .plans-head { margin-bottom: 52px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; gap: 26px; }
  /* stacked: the flagship card leads */
  .plan--featured { order: -1; margin: 0; padding: 44px 26px 36px; }
  .plan { padding: 32px 24px 28px; }
  .plan-sub { min-height: 0; }
  .plan--featured .plan-amount { font-size: 60px; }
  .trades-niche { grid-template-columns: 1fr; }
  .social-proof .container { gap: 30px; }
  .booking-embed { min-height: 0; }
}
@media (max-width: 600px) {
  .incl-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   MOBILE REFINEMENTS (≤760px) — match altagency's phone layout:
   left-pinned logo, compact header, headings that scale down,
   tighter gutters, and a docked Book-a-Call bar.
   ============================================================ */

/* docked bottom CTA bar — phone only */
.mobile-cta-bar { display: none; }

@media (max-width: 760px) {
  /* tighter page gutters so content isn't pinched by the 40px desktop pad */
  :root { --container-pad: 22px; }

  /* --- header: logo left, CTA + burger pushed right (was a centered logo
     that collided with the Book-a-Call pill) --- */
  .site-header { justify-content: flex-start; gap: 12px; padding: 16px 20px; }
  .site-header.scrolled { padding-block: 12px; }
  .site-logo {
    position: static;
    left: auto;
    transform: none;
    margin-right: auto; /* shoves the CTA + hamburger to the right edge */
  }
  .site-logo img { height: 28px !important; }
  .site-header .button { height: 38px; padding: 0 16px; }
  .hamburger { padding: 8px 0; }

  /* --- hero: edge-anchored zones get real gutters; heading scales --- */
  .hero-left { position: static; padding: 128px var(--container-pad) 0; }
  .hero-panel { margin-left: var(--container-pad); margin-right: var(--container-pad); }
  .hero-heading { font-size: clamp(40px, 11vw, 56px); }
  .hero-left .circle-btn { margin-top: 40px; }

  /* --- beyond: the fixed 63px heading is oversized at phone width --- */
  .beyond h2 { font-size: clamp(38px, 10.5vw, 54px); }
  .beyond .container { padding-top: 70px; padding-bottom: 70px; }

  /* --- beyond collage: staggered overlapping pair, images first (matches
     the reference's mobile layout: photos → eyebrow → heading → copy) --- */
  .beyond-left { display: flex; flex-direction: column; }
  .beyond-collage { order: -1; position: relative; margin-bottom: 34px; }
  .beyond .eyebrow { order: 0; align-self: flex-start; }
  .beyond h2 { order: 1; margin-top: 18px; }

  .beyond-photo-bridge { display: block; }   /* un-hide the second photo */
  .beyond-photo-right { display: none; }      /* drop the third to match the pair */
  .beyond-photo-big,
  .beyond-photo-bridge {
    width: 64%;
    max-width: none;
    inset: auto;          /* clear leftover desktop absolute offsets */
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--r-sm);
  }
  .beyond-photo-big { margin-left: auto; }    /* upper image → right edge */
  .beyond-photo-bridge {                       /* lower image → left, pulled up to overlap */
    margin-top: -15%;
    margin-right: auto;
    position: relative;
    z-index: 2;
  }

  /* --- clear the docked bar so the footer bottom isn't hidden --- */
  body { padding-bottom: 60px; }

  /* --- the bar itself --- */
  .mobile-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 0 env(safe-area-inset-bottom);
    background: var(--bg);
    border-top: 1px solid var(--border);
    color: var(--light);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    box-shadow: 0 -10px 26px rgb(31 8 18 / 0.28);
  }
  .mobile-cta-bar span { display: inline-flex; align-items: center; gap: 10px; }
  .mobile-cta-bar svg { transition: transform var(--dur-base); }
  .mobile-cta-bar:active svg { transform: translateX(5px); }
}

/* ============================================================
   GOLD ACCENT (#D8A714) — scoped to dark contexts where it has
   strong contrast; small kicker/eyebrow labels turn gold so the
   accent recurs through the dark sections without overwhelming.
   ============================================================ */
.section-dark .kicker { color: var(--gold); }
.section-dark .eyebrow { color: var(--gold); }

/* ============================================================
   ANIMATED PHONE DEMO (Missed-Call Text-Back module) — driven by
   phone-demo.js. A texting thread that types + pops in and loops.
   ============================================================ */
.feature-media--demo { display: flex; justify-content: center; align-items: center; }
.phone-demo { width: 100%; display: flex; justify-content: center; }
/* Device slab — layered shadow + bevel rim + side buttons give it real depth */
.phone {
  position: relative;
  width: 266px;
  max-width: 82%;
  aspect-ratio: 9 / 18.5;
  max-height: 548px;
  padding: 13px;
  border-radius: 46px;
  background: linear-gradient(150deg, #3a1922 0%, #2a0f17 40%, #190810 100%);
  box-shadow:
    0 42px 80px -18px rgb(31 8 18 / 0.55),
    0 16px 34px -12px rgb(31 8 18 / 0.45),
    0 2px 6px rgb(31 8 18 / 0.4),
    inset 0 0 0 2px rgb(255 235 216 / 0.07),
    inset 0 1.5px 1px rgb(255 235 216 / 0.2),
    inset 0 -2px 5px rgb(0 0 0 / 0.5);
}
/* side buttons — power (right), volume (left) */
.phone::before,
.phone::after {
  content: ""; position: absolute;
  background: linear-gradient(180deg, #3a1922, #190810);
  border-radius: 0 3px 3px 0;
}
.phone::after { right: -3px; top: 32%; width: 3px; height: 56px; box-shadow: 2px 0 4px rgb(31 8 18 / 0.4); }
.phone::before { left: -3px; top: 26%; width: 3px; height: 44px; border-radius: 3px 0 0 3px; box-shadow: -2px 0 4px rgb(31 8 18 / 0.4); }
/* dynamic-island notch with speaker slit + camera dot */
.phone-notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 28%; height: 22px; background: #0c0307; border-radius: 14px; z-index: 4;
  box-shadow: inset 0 0 0 1px rgb(255 235 216 / 0.05);
}
.phone-notch::before {
  content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 4px; border-radius: 2px; background: rgb(255 235 216 / 0.07);
}
.phone-notch::after {
  content: ""; position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #2c3e4e, #06090f 70%);
  box-shadow: inset 0 0 0 1px rgb(255 235 216 / 0.07);
}
/* recessed screen */
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 33px; background: var(--light); color: var(--dark-on-light);
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgb(31 8 18 / 0.06), inset 0 2px 9px rgb(31 8 18 / 0.13);
}
/* glass sheen across the screen */
.phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  border-radius: 33px;
  background: linear-gradient(125deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0) 24%, rgb(255 255 255 / 0) 80%, rgb(31 8 18 / 0.05) 100%);
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px 2px 16px; position: relative; z-index: 2; color: var(--dark-on-light);
}
.ps-time { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.ps-icons { display: inline-flex; align-items: center; gap: 4px; }
.ps-icons svg { display: block; }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px 11px;
  background: rgb(31 8 18 / 0.04);
  border-bottom: 1px solid rgb(31 8 18 / 0.08);
}
.chat-avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); color: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.chat-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chat-meta strong { font-size: 13px; }
.chat-status { font-size: 10.5px; color: var(--muted); }
.chat-body {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: 14px 12px 16px; overflow: hidden;
}
.msg {
  display: none;
  max-width: 80%; padding: 8px 12px; border-radius: 15px;
  font-family: var(--font-body); font-size: 12.5px; line-height: 1.35;
}
.msg.show { display: inline-block; animation: msgPop 0.42s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.msg--in { align-self: flex-start; background: rgb(31 8 18 / 0.08); border-bottom-left-radius: 5px; box-shadow: 0 1px 1px rgb(31 8 18 / 0.06); }
.msg--out { align-self: flex-end; background: var(--gold); color: var(--bg); font-weight: 500; border-bottom-right-radius: 5px; box-shadow: 0 2px 7px rgb(216 167 20 / 0.3); }
/* centered system event — the missed call that kicks the whole thread off */
.msg--event {
  align-self: center; max-width: 92%;
  background: rgb(31 8 18 / 0.05); color: var(--muted);
  font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  gap: 6px; align-items: center;
}
.msg--event.show { display: inline-flex; }
.msg--event .event-icon { flex: none; color: #c2584c; }
.msg--typing { align-self: flex-start; background: rgb(31 8 18 / 0.08); border-bottom-left-radius: 5px; padding: 11px 12px; }
.msg--typing.show { display: inline-flex; gap: 4px; align-items: center; animation: msgPop 0.3s ease both; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typingDot 1.2s ease-in-out infinite; }
.msg--typing span:nth-child(2) { animation-delay: 0.18s; }
.msg--typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes msgPop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 900px) {
  .feature-row.side-left .feature-media--demo { order: -1; }
  .phone { width: 244px; }
}

/* ============================================================
   ANIMATED LAPTOP DEMO (5-Star Review Funnel) — driven by phone-demo.js.
   A Google-reviews screen: stars light gold, reviews pour in, count ticks up.
   ============================================================ */
.laptop-demo { width: 100%; display: flex; justify-content: center; }
.laptop { width: 100%; max-width: 432px; }
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 9px 9px 14px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(152deg, #3a1922 0%, #2a0f17 44%, #190810 100%);
  box-shadow:
    0 36px 62px -20px rgb(0 0 0 / 0.55),
    0 12px 24px -10px rgb(0 0 0 / 0.42),
    inset 0 0 0 1.5px rgb(255 235 216 / 0.08),
    inset 0 2px 1px rgb(255 235 216 / 0.22),
    inset 0 -2px 3px rgb(0 0 0 / 0.4);
}
/* webcam dot in the top bezel */
.laptop-screen::before {
  content: ""; position: absolute; top: 3.5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 30%, #3a4654, #0a0d12 72%);
  box-shadow: 0 0 0 1px rgb(255 235 216 / 0.06);
}
.browser {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 8px; background: var(--light); color: var(--dark-on-light);
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgb(31 8 18 / 0.06);
}
/* glass sheen across the screen */
.browser::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  border-radius: 8px;
  background: linear-gradient(120deg, rgb(255 255 255 / 0.14) 0%, rgb(255 255 255 / 0) 26%, rgb(255 255 255 / 0) 82%, rgb(31 8 18 / 0.05) 100%);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 11px; background: rgb(31 8 18 / 0.05);
  border-bottom: 1px solid rgb(31 8 18 / 0.07);
}
.bdot { width: 8px; height: 8px; border-radius: 50%; background: rgb(31 8 18 / 0.16); flex: none; }
.burl {
  margin-left: 5px; flex: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; background: rgb(31 8 18 / 0.05);
  font-family: var(--font-body); font-size: 10px; color: var(--muted);
  white-space: nowrap; overflow: hidden;
}
.burl svg { flex: none; opacity: 0.7; }
.browser-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 14px; }
.gbp-head { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid rgb(31 8 18 / 0.08); }
.gbp-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); color: var(--light);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.gbp-id { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; min-width: 0; }
.gbp-id strong { font-size: 12.5px; }
.gbp-sub { font-size: 10px; color: var(--muted); }
.gbp-rating { display: flex; align-items: center; gap: 5px; flex: none; }
.gbp-score { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--dark-on-light); }
.gbp-stars { display: inline-flex; font-size: 13px; letter-spacing: 1px; color: rgb(31 8 18 / 0.17); }
.gbp-stars .star { transition: color 0.3s ease; }
.gbp-stars .star.lit { color: var(--gold); }
.gbp-count { font-size: 11px; color: var(--muted); }
.gbp-reviews {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px; padding-top: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
}
.review { display: none; gap: 9px; }
.review.show { display: flex; animation: msgPop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.rev-avatar {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); color: var(--light);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.rev-main { min-width: 0; }
.rev-top { display: flex; align-items: baseline; gap: 6px; }
.rev-top strong { font-size: 12px; }
.rev-when { font-size: 9.5px; color: var(--muted); }
.rev-stars { display: block; font-size: 10px; letter-spacing: 0.5px; color: var(--gold); margin: 1px 0 3px; }
.rev-main p { margin: 0; font-family: var(--font-body); font-size: 11px; line-height: 1.35; color: var(--dark-on-light); opacity: 0.82; }
.laptop-base {
  position: relative;
  width: 117%; height: 17px; margin: 0 auto; left: -8.5%;
  border-radius: 2px 2px 10px 10px / 2px 2px 18px 18px;
  background: linear-gradient(180deg, #4a2530 0%, #341620 18%, #20101a 56%, #120509 100%);
  box-shadow:
    0 30px 30px -16px rgb(0 0 0 / 0.6),
    inset 0 1.5px 0 rgb(255 235 216 / 0.2),
    inset 0 -2px 4px rgb(0 0 0 / 0.5),
    inset 8px 0 10px -8px rgb(0 0 0 / 0.45),
    inset -8px 0 10px -8px rgb(0 0 0 / 0.45);
}
/* recessed hinge line where the lid meets the deck */
.laptop-base::before {
  content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 2.5px;
  background: rgb(0 0 0 / 0.4); border-radius: 0 0 3px 3px;
}
/* front-centre opening groove */
.laptop-base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 13%; height: 5px; background: rgb(0 0 0 / 0.42); border-radius: 0 0 8px 8px;
  box-shadow: inset 0 -1px 1px rgb(255 235 216 / 0.08);
}

@media (max-width: 900px) {
  .laptop { max-width: 360px; }
}

/* ============================================================
   LEAD FOLLOW-UP DEMO — laptop auto-fills a contact form, then slides
   aside as a phone rises and the system texts the lead (phone-demo.js).
   ============================================================ */
.followup-demo {
  position: relative; width: 100%; max-width: 520px; margin: 0 auto;
  height: clamp(384px, 33vw, 436px);
  pointer-events: none;
}
.fd-laptop {
  position: absolute; top: 2px; left: 50%; width: 84%;
  transform: translateX(-50%); transform-origin: center center;
  transition: transform 0.85s cubic-bezier(0.6, 0, 0.3, 1);
  z-index: 1;
}
.fd-laptop .laptop { max-width: none; }
.fd-laptop .browser-body { padding: 0; overflow: hidden; display: block; }
.followup-demo.stage2 .fd-laptop { transform: translateX(calc(-50% - 58px)) scale(0.8); }
.fd-phone {
  position: absolute; right: 0; bottom: 0; width: 40%;
  transform: translateY(70px); opacity: 0;
  transition: transform 0.8s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.55s ease;
  z-index: 2;
}
.fd-phone .phone { width: 100%; max-width: none; max-height: none; }
.fd-phone .msg { max-width: 86%; }
.fd-phone .chat-avatar { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em; }
.followup-demo.stage2 .fd-phone { transform: translateY(0); opacity: 1; }

/* recreated client website inside the laptop — authored at 980x600, scaled to
   fit + zoomed into the quote form by JS (transform set inline). */
.site {
  position: relative; width: 980px; height: 600px;
  transform-origin: 0 0; will-change: transform;
  transition: transform 1.05s cubic-bezier(0.6, 0, 0.25, 1);
  background: #0d0a10; font-family: var(--font-body);
}
.site-nav {
  position: relative; z-index: 3; height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 42px; background: #faf6e6; box-shadow: 0 2px 14px rgb(0 0 0 / 0.12);
}
/* scoped to .site-nav so it never touches the real RGL header logo (same class) */
.site-nav .site-logo { display: flex; align-items: center; gap: 9px; filter: blur(3px); }
.site-logo-mark { width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #36b15c, #14622f); box-shadow: inset 0 0 0 3px #0c3d1c; }
.site-logo-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 0.9; color: #14622f; letter-spacing: 0.02em; text-transform: uppercase; }
.site-links { display: flex; align-items: center; gap: 22px; margin-left: 16px; }
.site-links span { font-size: 15px; font-weight: 600; color: #2a2422; }
.site-reqbtn { margin-left: auto; background: #1c7c3e; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; padding: 14px 24px; border-radius: 5px; }
.site-hero { position: absolute; top: 72px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.site-hero-bg {
  position: absolute; inset: 0; background: #241830;
  background-image: url("/assets/img/stock/hero-house.jpg");
  background-size: cover; background-position: center 44%;
}
.site-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 6 11 / 0.72) 0%, rgb(9 6 11 / 0.44) 40%, rgb(9 6 11 / 0.12) 66%, rgb(9 6 11 / 0.26) 100%); }
.site-hero-left { position: absolute; left: 58px; top: 64px; width: 48%; z-index: 2; color: #fff; }
.site-headline { font-family: var(--font-display); font-weight: 800; font-size: 45px; line-height: 1.05; margin: 0 0 26px; text-shadow: 0 2px 18px rgb(0 0 0 / 0.5); }
.site-uline { position: relative; white-space: nowrap; }
.site-swoosh { position: absolute; left: -2px; bottom: -11px; width: calc(100% + 9px); height: 13px; overflow: visible; }
.site-tag { position: relative; padding-left: 17px; font-size: 17px; line-height: 1.5; max-width: 380px; margin: 0 0 30px; }
.site-tag-bar { position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: #f2a81c; }
.site-cta { display: flex; align-items: center; gap: 24px; }
.site-cta-btn { background: #f2a81c; color: #1a1207; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; padding: 16px 30px; border-radius: 5px; }
.site-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px; }
.site-phone svg { color: #f2a81c; }
/* the "Request a Services" quote form panel (the zoom target) */
.site-form { position: absolute; right: 52px; top: 40px; width: 346px; z-index: 2; background: rgb(14 10 14 / 0.62); padding: 15px 20px; border-radius: 4px; box-shadow: 0 20px 50px rgb(0 0 0 / 0.42); border: 1px solid rgb(255 255 255 / 0.07); }
.site-form-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; text-align: center; margin: 0 0 8px; }
.site-form .cf-row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.site-form .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.site-form .cf-grid .cf-row { margin-bottom: 0; }
.site-form .cf-label { font-size: 12px; font-weight: 600; color: #fff; }
.site-form .cf-input {
  min-height: 27px; display: flex; align-items: center; padding: 4px 10px;
  background: #fff; border-radius: 2px; border: 1.5px solid transparent;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.site-form .cf-val { font-family: var(--font-body); font-size: 13.5px; color: #1d1d1d; white-space: pre-wrap; }
.site-form .cf-row.active .cf-input { border-color: #f2a81c; box-shadow: 0 0 0 3px rgb(242 168 28 / 0.32); }
.site-form .cf-row.active .cf-val::after {
  content: ''; display: inline-block; width: 1.5px; height: 15px;
  background: #1d1d1d; margin-left: 1px; vertical-align: -2px;
  animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.site-form .cf-submit { margin-top: 4px; }
.site-form .cf-btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  padding: 11px; border-radius: 3px; background: #f2a81c; color: #1a1207;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.site-form .cf-submit.pressed .cf-btn { transform: scale(0.97); filter: brightness(0.93); }

@media (max-width: 900px) {
  .followup-demo { max-width: 440px; height: clamp(372px, 104vw, 416px); }
  .fd-laptop { width: 100%; }
  /* slightly taller screen on small phones so the zoomed form stays legible */
  .fd-laptop .laptop-screen { aspect-ratio: 16 / 11.5; }
  .followup-demo.stage2 .fd-laptop { transform: translateX(calc(-50% - 30px)) scale(0.72); }
  .fd-phone { width: 47%; }
}

/* ============================================================
   FUNCTIONAL WEBSITE DEMO — a laptop slides in from the left and
   *opens*, then auto-scrolls a (fictional) patio-remodeler site,
   pausing to spotlight the features that make it convert: the CTA,
   the quote form, a live-chat widget, and real reviews. The page is
   authored at 900px wide and scaled to fit; a viewport-fixed layer
   holds the chat widget + the spotlight/label. Driven by phone-demo.js.
   ============================================================ */
.fw-demo { width: 100%; display: flex; justify-content: center; pointer-events: none; perspective: 1800px; }
/* slide-in + lid-opening: the whole rig eases in from the left while the
   screen (the lid) swings up from its hinge. Open state toggled by JS. */
.fw-laptop {
  width: 100%; max-width: 482px;
  transform: translateX(-52%); opacity: 0;
  transition: transform 0.8s cubic-bezier(0.4, 0.04, 0.18, 1), opacity 0.5s ease;
}
.fw-laptop .laptop { max-width: none; }
.fw-laptop .laptop-screen {
  transform: rotateX(-90deg); transform-origin: center bottom;
  transition: transform 0.85s cubic-bezier(0.5, 0.03, 0.2, 1);
}
/* phase 1: the shut laptop slides into place */
.fw-demo.fw-in .fw-laptop { transform: translateX(0); opacity: 1; }
/* phase 2: the lid lifts open (cover dissolves via .fw-open below) */
.fw-demo.fw-open .fw-laptop .laptop-screen { transform: rotateX(0deg); }
/* snap straight to the shut state at the start of each run (no transition) */
.fw-demo.fw-instant .fw-laptop,
.fw-demo.fw-instant .fw-laptop .laptop-screen,
.fw-demo.fw-instant .fw-lid { transition: none; }
/* this demo's screen is a scrolling page, not a flex column */
.fw-demo .browser-body { display: block; padding: 0; overflow: hidden; position: relative; }
/* closed-lid cover: an aluminum panel over the screen while the laptop is shut,
   that dissolves into the live site partway through the lid lifting */
.fw-lid {
  position: absolute; top: 9px; left: 9px; right: 9px; bottom: 14px; z-index: 3;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(152deg, #3a1922 0%, #2a0f17 46%, #190810 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1.5px 0 rgb(255 235 216 / 0.12), inset 0 -3px 9px rgb(0 0 0 / 0.5);
  transition: opacity 0.45s ease;
}
.fw-lid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgb(255 255 255 / 0.1) 0%, rgb(255 255 255 / 0) 32%, rgb(255 255 255 / 0) 100%); }
.fw-lid-badge { position: relative; display: flex; }
.fw-lid .fw-logo-mark { width: 54px; height: 54px; color: rgb(255 235 216 / 0.17); }
.fw-demo.fw-open .fw-lid { opacity: 0; }
.fw-stage { position: absolute; top: 0; left: 0; width: 900px; transform-origin: 0 0; }
.fwsite {
  position: relative; width: 900px; background: #16140f; color: #f5f0e4;
  font-family: var(--font-body); will-change: transform;
  transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1);
}

/* --- nav --- */
.fw-nav { position: relative; z-index: 2; height: 60px; display: flex; align-items: center; gap: 24px; padding: 0 38px; background: #16140f; }
.fw-logo { display: flex; align-items: center; gap: 10px; }
.fw-logo-mark { color: #c97a32; flex: none; }
.fw-logo-name { display: flex; flex-direction: column; line-height: 1; }
.fw-logo-name b { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0.16em; color: #f5f0e4; }
.fw-logo-name > span { font-size: 8px; letter-spacing: 0.34em; color: #9a8f7e; text-transform: uppercase; margin-top: 4px; }
.fw-nav-links { display: flex; gap: 22px; margin-left: 12px; }
.fw-nav-links span { font-size: 14px; font-weight: 600; color: #d8cfc0; }
.fw-nav-cta { margin-left: auto; background: #c97a32; color: #1a1207; font-family: var(--font-display); font-weight: 800; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 12px 22px; border-radius: 6px; }

/* --- hero --- */
.fw-hero { position: relative; height: 442px; overflow: hidden; display: flex; align-items: center; }
.fw-hero-bg { position: absolute; inset: 0; background: #241a12 url("/assets/img/stock/patio-hero.jpg") center 40% / cover; }
.fw-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgb(12 9 6 / 0.84) 0%, rgb(12 9 6 / 0.56) 42%, rgb(12 9 6 / 0.12) 72%, rgb(12 9 6 / 0.36) 100%); }
.fw-hero-inner { position: relative; z-index: 2; padding: 0 56px; max-width: 560px; }
.fw-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #e7a85f; margin-bottom: 15px; }
.fw-h1 { font-family: var(--font-display); font-weight: 800; font-size: 49px; line-height: 1.05; margin: 0 0 18px; text-shadow: 0 3px 22px rgb(0 0 0 / 0.55); }
.fw-sub { font-size: 17.5px; line-height: 1.5; max-width: 425px; margin: 0 0 30px; color: #ece4d4; }
.fw-hero-cta { display: flex; align-items: center; gap: 16px; }
.fw-btn { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.03em; padding: 16px 26px; border-radius: 9px; display: inline-flex; align-items: center; gap: 10px; }
/* real-website CTA: warm gradient fill, top sheen + bottom lip, a lift shadow,
   and a forward arrow inside a soft chip */
.fw-btn--primary {
  background: linear-gradient(177deg, #e2964d 0%, #cd7f36 48%, #ba6e28 100%);
  color: #2a1908; text-transform: uppercase; padding: 16px 22px 16px 26px;
  box-shadow:
    0 18px 30px -8px rgb(176 100 36 / 0.62),
    0 5px 12px rgb(120 66 18 / 0.34),
    inset 0 1px 0 rgb(255 247 234 / 0.6),
    inset 0 -2px 1px rgb(120 60 14 / 0.4);
}
.fw-btn--primary .fw-arrow {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; flex: none;
  background: rgb(42 25 8 / 0.16); box-shadow: inset 0 0 0 1px rgb(42 25 8 / 0.12);
}
.fw-btn--ghost { background: rgb(20 14 8 / 0.32); color: #f7f2e7; border: 1.5px solid rgb(255 255 255 / 0.5); border-radius: 9px; }
.fw-btn--ghost svg { color: #e7a85f; }

/* --- service strip --- */
.fw-strip { height: 58px; display: flex; align-items: center; justify-content: center; background: #c97a32; color: #1c1207; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.fw-strip span { padding: 0 22px; position: relative; }
.fw-strip span + span::before { content: "\2022"; position: absolute; left: -3px; opacity: 0.55; }

/* --- quote / form --- */
.fw-quote { display: flex; gap: 40px; padding: 46px 56px; background: #f5f0e4; }
.fw-quote-left { flex: 1; }
.fw-quote-left .fw-eyebrow { color: #b9692a; }
.fw-h2 { font-family: var(--font-display); font-weight: 800; font-size: 33px; line-height: 1.1; color: #1c1a14; margin: 0 0 14px; }
.fw-quote-left p { font-size: 16px; line-height: 1.55; color: #6b6258; margin: 0 0 20px; max-width: 320px; }
.fw-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fw-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #2c2920; }
.fw-checks svg { color: #2f9e57; flex: none; }
.fw-form { width: 322px; flex: none; background: #fff; border-radius: 11px; padding: 22px 22px 24px; box-shadow: 0 24px 52px rgb(28 20 10 / 0.18); border: 1px solid rgb(28 20 10 / 0.06); }
.fw-form-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #1c1a14; margin: 0 0 15px; }
.fw-field { margin-bottom: 12px; }
.fw-field > span { display: block; font-size: 11px; font-weight: 700; color: #8a8072; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.fw-field > i { display: flex; align-items: center; justify-content: space-between; height: 40px; border-radius: 7px; border: 1.5px solid #e2dacb; background: #fbf9f3; padding: 0 13px; font-style: normal; font-size: 14px; color: #9a9082; }
.fw-field--select > i { color: #4a4439; }
.fw-field--select svg { color: #b9692a; }
.fw-form-btn { margin-top: 4px; width: 100%; justify-content: center; background: #c97a32; color: #1a1207; font-size: 14px; text-transform: uppercase; padding: 14px; }

/* --- reviews --- */
.fw-reviews { padding: 44px 56px 50px; background: #1c1a14; text-align: center; }
.fw-reviews .fw-eyebrow { color: #e7a85f; }
.fw-reviews .fw-h2 { color: #f5f0e4; margin-bottom: 24px; }
.fw-rev-track { position: relative; height: 176px; max-width: 560px; margin: 0 auto; }
.fw-rev-card { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; background: #262219; border: 1px solid rgb(245 240 228 / 0.1); border-radius: 13px; padding: 26px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fw-rev-card.is-active { opacity: 1; transform: none; }
.fw-rev-stars { color: #e7a85f; font-size: 18px; letter-spacing: 3px; margin-bottom: 13px; }
.fw-rev-quote { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.4; margin: 0 0 18px; color: #f1ead9; }
.fw-rev-by { display: flex; align-items: center; gap: 11px; }
.fw-rev-ava { width: 34px; height: 34px; border-radius: 50%; background: #c97a32; color: #1a1207; font-family: var(--font-display); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.fw-rev-by div { text-align: left; font-size: 13px; line-height: 1.35; color: #c8bda9; }
.fw-rev-by strong { color: #f1ead9; }
.fw-rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.fw-rev-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(245 240 228 / 0.25); transition: background 0.3s ease, transform 0.3s ease; }
.fw-rev-dots i.is-active { background: #e7a85f; transform: scale(1.25); }

/* --- footer --- */
.fw-foot { padding: 26px 56px; background: #16140f; display: flex; align-items: center; justify-content: space-between; }
.fw-foot .fw-logo-name b { font-size: 16px; }
.fw-foot-cols { display: flex; gap: 36px; font-size: 13px; }
.fw-foot-cols span { color: #c2b8a6; }

/* --- viewport-fixed live-chat widget (scaled to match the site) --- */
.fw-chat { position: absolute; right: 16px; bottom: 14px; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transform-origin: bottom right; transform: scale(var(--fw-s, 0.46)); }
.fw-chat-panel { width: 232px; background: #fff; border-radius: 15px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.34); overflow: hidden; transform-origin: bottom right; opacity: 0; transform: translateY(10px) scale(0.9); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1); }
.fw-chat.is-open .fw-chat-panel { opacity: 1; transform: none; }
.fw-chat-head { display: flex; align-items: center; gap: 9px; background: #16140f; color: #f5f0e4; padding: 13px 16px; font-size: 14px; font-weight: 700; }
.fw-chat-head svg { width: 18px; height: 18px; color: #e7a85f; flex: none; }
.fw-chat-msg { padding: 15px 16px 17px; font-size: 14px; line-height: 1.45; color: #2c2920; }
.fw-chat-bubble { width: 56px; height: 56px; border-radius: 50%; background: #c97a32; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgb(201 122 50 / 0.5); }
.fw-chat-bubble svg { width: 27px; height: 27px; }

/* --- spotlight + label annotation layer --- */
.fw-anno { position: absolute; inset: 0; z-index: 6; overflow: hidden; pointer-events: none; }
.fw-spot {
  position: absolute; border-radius: 11px; opacity: 0; transition: opacity 0.42s ease;
  box-shadow: 0 0 0 2.5px var(--gold), 0 0 22px 3px rgb(216 167 20 / 0.45), 0 0 0 9999px rgb(11 8 12 / 0.62);
}
.fw-spot::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--gold); border-radius: inherit; opacity: 0; }
.fw-anno.lit .fw-spot { opacity: 1; }
.fw-anno.lit .fw-spot::after { animation: fwPulse 1.5s ease-out infinite; }
@keyframes fwPulse { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.09); } }
.fw-tag {
  position: absolute; opacity: 0; transition: opacity 0.42s ease; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg); color: var(--light);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
  padding: 8px 13px; border-radius: 999px;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.4), inset 0 0 0 1px rgb(216 167 20 / 0.45);
}
.fw-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px 1px rgb(216 167 20 / 0.8); flex: none; }
.fw-anno.lit .fw-tag { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .fw-laptop, .fw-laptop .laptop-screen, .fwsite, .fw-rev-card, .fw-lid { transition: none; }
}
@media (max-width: 900px) {
  .fw-demo .laptop { max-width: 460px; }
}

/* ============================================================
   5-STAR REVIEW FUNNEL DEMO — the customer's journey on a phone:
   text ask → tap the link → "How did we do?" stars fill to 5 →
   Google-style review box pre-filled → Posted. (initReviewFunnel)
   ============================================================ */
.rf-stage { position: relative; flex: 1; min-height: 0; }
.rf-scene {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(26px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.rf-scene.is-on { opacity: 1; transform: none; }
/* the tappable review link the system texts out */
.rf-link {
  display: none; align-self: flex-end; align-items: center; gap: 9px;
  max-width: 86%; padding: 9px 12px; border-radius: 15px; border-bottom-right-radius: 5px;
  background: #fff; border: 1px solid rgb(31 8 18 / 0.1);
  box-shadow: 0 2px 8px rgb(31 8 18 / 0.08);
  transition: transform 0.16s ease, box-shadow 0.3s ease;
}
.rf-link.show { display: inline-flex; animation: msgPop 0.42s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.rf-link.pressed { transform: scale(0.95); box-shadow: 0 0 0 3px rgb(216 167 20 / 0.35); }
.rf-link-star { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rf-link-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rf-link-txt strong { font-size: 11.5px; color: var(--dark-on-light); }
.rf-link-txt span { font-size: 9.5px; color: var(--muted); }
/* scene 2 — the funnel star picker */
.rf-scene--rate { align-items: center; justify-content: center; padding: 16px; }
.rf-card {
  width: 100%; background: #fff; border-radius: 16px; padding: 22px 16px 18px;
  border: 1px solid rgb(31 8 18 / 0.07); box-shadow: 0 14px 34px rgb(31 8 18 / 0.12);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.rf-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--dark-on-light); }
.rf-sub { font-size: 10.5px; color: var(--muted); }
.rf-stars { display: flex; gap: 7px; margin: 10px 0 4px; font-size: 30px; line-height: 1; }
.rf-stars i { font-style: normal; color: rgb(31 8 18 / 0.15); transition: color 0.2s ease; }
.rf-stars i.lit { color: var(--gold); animation: rfStar 0.32s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.rf-route { display: block; min-height: 15px; font-size: 10.5px; font-weight: 600; color: #2f9e57; opacity: 0; transition: opacity 0.35s ease; }
.rf-route.show { opacity: 1; }
/* scene 3 — the Google-style review compose */
.rf-scene--post { align-items: center; justify-content: center; padding: 14px; }
.rf-gcard {
  position: relative; width: 100%; background: #fff; border-radius: 14px; padding: 14px 14px 13px;
  border: 1px solid rgb(31 8 18 / 0.09); box-shadow: 0 14px 34px rgb(31 8 18 / 0.12);
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.rf-ghead { display: flex; align-items: center; gap: 8px; }
.rf-gmark { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--light); font-family: var(--font-display); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rf-gmeta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.rf-gmeta strong { font-size: 12px; color: var(--dark-on-light); }
.rf-gmeta span { font-size: 9.5px; color: var(--muted); }
.rf-gstars { display: flex; gap: 4px; font-size: 19px; line-height: 1; }
.rf-gstars i { font-style: normal; color: var(--gold); }
.rf-gtext { min-height: 44px; border: 1.5px solid rgb(31 8 18 / 0.1); border-radius: 8px; padding: 7px 9px; font-family: var(--font-body); font-size: 11px; line-height: 1.4; color: var(--dark-on-light); }
.rf-gtext span::after { content: ''; display: inline-block; width: 1.5px; height: 11px; background: var(--dark-on-light); margin-left: 1px; vertical-align: -1px; animation: caretBlink 0.9s steps(1) infinite; }
.rf-scene--post.done .rf-gtext span::after { display: none; }
.rf-gpost { align-self: flex-end; background: var(--gold); color: var(--bg); font-family: var(--font-display); font-weight: 800; font-size: 11.5px; padding: 7px 18px; border-radius: 999px; transition: transform 0.15s ease, filter 0.15s ease; }
.rf-gpost.pressed { transform: scale(0.94); filter: brightness(0.93); }
/* posted! success overlay inside the card */
.rf-done {
  position: absolute; inset: 0; z-index: 2; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.rf-done.show { opacity: 1; }
.rf-done-check { width: 34px; height: 34px; border-radius: 50%; background: #2f9e57; color: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; }
.rf-done.show .rf-done-check { animation: rfStar 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.rf-done strong { font-family: var(--font-display); font-size: 13.5px; color: var(--dark-on-light); }
.rf-done-chip { background: rgb(216 167 20 / 0.14); color: var(--dark-on-light); font-size: 10.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
@keyframes rfStar { from { transform: scale(0.3); } 60% { transform: scale(1.18); } to { transform: scale(1); } }

/* ============================================================
   ONE-CLICK CAMPAIGNS DEMO — one linear story: a pre-built campaign
   + ONE Send tap → "sent" banner + confetti → the actual text a past
   customer receives → a happy reply. (initCampaign)
   ============================================================ */
.cb-stage { position: relative; flex: 1; min-height: 0; }
.cb-scene {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(26px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.cb-scene.is-on { opacity: 1; transform: none; }
.cb-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px 13px; }
.cb-card { background: rgb(31 8 18 / 0.045); border: 1px solid rgb(31 8 18 / 0.08); border-radius: 13px; padding: 13px 14px; display: flex; flex-direction: column; gap: 4px; }
.cb-eyebrow { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cb-title { font-family: var(--font-display); font-size: 14.5px; font-weight: 800; color: var(--dark-on-light); margin: 1px 0 3px; }
.cb-msg { margin: 0; font-family: var(--font-body); font-size: 11px; line-height: 1.45; color: rgb(31 8 18 / 0.72); }
.cb-chip { align-self: flex-start; margin-top: 7px; display: inline-flex; background: rgb(216 167 20 / 0.16); border-radius: 999px; padding: 4px 10px; font-family: var(--font-body); font-size: 10px; font-weight: 600; color: var(--dark-on-light); }
.cb-send { margin-top: auto; }
.cb-btn { appearance: none; -webkit-appearance: none; border: none; font: inherit; width: 100%; padding: 13px; border-radius: 13px; background: var(--gold); color: var(--bg); font-family: var(--font-display); font-weight: 800; font-size: 13.5px; letter-spacing: 0.02em; box-shadow: 0 6px 16px rgb(216 167 20 / 0.34); transition: transform 0.14s ease, background 0.3s ease, color 0.3s ease, filter 0.14s ease; }
.cb-btn.is-sending { transform: scale(0.97); filter: brightness(0.94); }
.cb-btn.is-sent { background: #2f9e57; color: var(--light); box-shadow: 0 4px 12px rgb(47 158 87 / 0.3); transform: scale(1); animation: cbPop 0.3s ease both; }
/* "+6 more replies" proof chip under the thread */
.cb-more {
  display: none; align-self: center; align-items: center; gap: 6px;
  background: rgb(47 158 87 / 0.1); color: #237440;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.cb-more.show { display: inline-flex; animation: msgPop 0.42s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
/* sent banner + confetti overlay */
.cb-banner-wrap { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; padding: 0 14px; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.cb-banner-wrap.show { opacity: 1; }
.cb-banner {
  display: inline-flex; align-items: center; gap: 8px; text-align: center;
  background: #2f9e57; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px;
  padding: 11px 16px; border-radius: 12px; box-shadow: 0 14px 32px rgb(31 8 18 / 0.3);
}
.cb-banner-wrap.show .cb-banner { animation: cbPop 0.35s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.cb-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cb-confetti i { position: absolute; top: 38%; left: 50%; width: 6px; height: 9px; border-radius: 2px; background: var(--gold); opacity: 0; }
.cb-banner-wrap.show .cb-confetti i { animation: cbConfetti 1.15s cubic-bezier(0.2, 0.6, 0.4, 1) both; }
.cb-confetti i:nth-child(2n) { background: rgb(216 167 20 / 0.55); width: 5px; height: 7px; }
.cb-confetti i:nth-child(3n) { background: var(--bg); }
.cb-confetti i:nth-child(1)  { --cx: -92px;  --cy: -70px;  --rot: 190deg; animation-delay: 0.02s !important; }
.cb-confetti i:nth-child(2)  { --cx: -58px;  --cy: -104px; --rot: -160deg; animation-delay: 0.1s !important; }
.cb-confetti i:nth-child(3)  { --cx: -30px;  --cy: -84px;  --rot: 220deg; }
.cb-confetti i:nth-child(4)  { --cx: 26px;   --cy: -112px; --rot: -200deg; animation-delay: 0.07s !important; }
.cb-confetti i:nth-child(5)  { --cx: 62px;   --cy: -88px;  --rot: 170deg; animation-delay: 0.13s !important; }
.cb-confetti i:nth-child(6)  { --cx: 96px;   --cy: -62px;  --rot: -190deg; animation-delay: 0.04s !important; }
.cb-confetti i:nth-child(7)  { --cx: -78px;  --cy: 36px;   --rot: 210deg; animation-delay: 0.09s !important; }
.cb-confetti i:nth-child(8)  { --cx: -38px;  --cy: 66px;   --rot: -170deg; animation-delay: 0.15s !important; }
.cb-confetti i:nth-child(9)  { --cx: 12px;   --cy: 78px;   --rot: 240deg; animation-delay: 0.05s !important; }
.cb-confetti i:nth-child(10) { --cx: 52px;   --cy: 58px;   --rot: -220deg; animation-delay: 0.11s !important; }
.cb-confetti i:nth-child(11) { --cx: 84px;   --cy: 24px;   --rot: 180deg; animation-delay: 0.17s !important; }
.cb-confetti i:nth-child(12) { --cx: -14px;  --cy: -126px; --rot: -240deg; animation-delay: 0.12s !important; }
@keyframes cbConfetti {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx, 0px), var(--cy, -90px)) rotate(var(--rot, 200deg)); }
}
@keyframes cbPop { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ============================================================
   LOCAL SEO DEMO — modeled on stonesystems.io's LOCAL_SEO demo:
   Google-style result cards float over the business's blurred
   website; "Your Business" climbs (FLIP) while its badge counts
   DOWN #20 → #1 and a drawn gold arrow marks each climb. (initMapPack)
   ============================================================ */
/* the business's website, blurred behind the results (Stone's backdrop) */
.mq-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; filter: blur(7px) brightness(0.96); transform: scale(1.06); pointer-events: none; }
.mq-bg-nav { position: absolute; top: 0; left: 0; right: 0; height: 44px; background: #16140f; }
.mq-bg-hero { position: absolute; top: 44px; left: 0; right: 0; height: 46%; background: #241a12 url("/assets/img/stock/patio-hero.jpg") center 42% / cover; opacity: 0.9; }
.mq-bg-line { position: absolute; top: 58%; left: 12%; right: 30%; height: 13px; border-radius: 7px; background: rgb(31 8 18 / 0.28); }
.mq-bg-line--short { top: 63%; right: 48%; background: rgb(31 8 18 / 0.18); }
.mq-bg-btn { position: absolute; top: 70%; left: 12%; width: 34%; height: 30px; border-radius: 7px; background: var(--gold); opacity: 0.85; }
/* result cards float above the blur */
.mq-stage { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; padding: 12px 10px 4px 6px; }
.mq-arrow { flex: none; width: 26px; display: flex; align-items: center; justify-content: center; color: var(--gold); opacity: 0; transition: opacity 0.3s ease; }
.mq-arrow.show { opacity: 1; }
.mq-arrow-svg { width: 22px; height: 72%; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.35)); }
.mq-arrow-line, .mq-arrow-head { stroke-dasharray: 160; stroke-dashoffset: 160; }
.mq-arrow.show .mq-arrow-line { animation: mqDraw 0.5s ease-out forwards; }
.mq-arrow.show .mq-arrow-head { animation: mqDraw 0.35s ease-out 0.3s forwards; }
@keyframes mqDraw { to { stroke-dashoffset: 0; } }
.mq-stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.mq-card {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 11px; padding: 9px 10px 9px 12px;
  box-shadow: 0 7px 20px rgb(15 6 12 / 0.24);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
}
.mq-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mq-name { font-size: 12.5px; color: var(--dark-on-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-rating { font-family: var(--font-body); font-size: 10.5px; color: var(--muted); }
.mq-rating i { font-style: normal; color: var(--gold); font-size: 10px; letter-spacing: 0.5px; }
.mq-meta { font-family: var(--font-body); font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-actions { flex: none; display: flex; gap: 7px; }
.mq-act { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mq-act svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; border: 1px solid rgb(31 8 18 / 0.14); color: #3a6fb0; }
.mq-act i { font-style: normal; font-family: var(--font-body); font-size: 7px; color: var(--muted); }
/* the rank badge on Your Business — counts down #20 → #1 */
.mq-badge {
  position: absolute; top: -7px; left: -7px; z-index: 3;
  min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--light);
  font-family: var(--font-display); font-weight: 800; font-size: 10px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgb(15 6 12 / 0.4), inset 0 0 0 1.5px rgb(255 235 216 / 0.16);
  transition: background 0.3s ease, color 0.3s ease;
}
.mq-badge.tick { animation: cbPop 0.3s ease both; }
.mq-badge.gold { background: var(--gold); color: var(--bg); box-shadow: 0 4px 12px rgb(216 167 20 / 0.5); }
.mq-card--you { background: #fff7e8; box-shadow: 0 9px 24px rgb(15 6 12 / 0.3), inset 0 0 0 1.5px rgb(216 167 20 / 0.35); }
.mq-card--you.is-top { background: #fff4dc; box-shadow: 0 12px 28px rgb(216 167 20 / 0.3), inset 0 0 0 2px var(--gold); }
.map-cap { position: relative; z-index: 2; flex: none; text-align: center; font-family: var(--font-display); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding: 5px 0 9px; opacity: 0; transform: translateY(4px); transition: opacity 0.5s ease, transform 0.5s ease; }
.map-cap.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cb-body { padding: 11px; gap: 8px; }
  .cb-btn { padding: 11px; }
  .rf-stars { font-size: 26px; }
  .mq-meta2 { display: none; }
  .mq-card { padding: 7px 8px 7px 10px; border-radius: 10px; }
  .mq-name { font-size: 11.5px; }
  .mq-act svg { width: 23px; height: 23px; padding: 5px; }
  .mq-act i { display: none; }
  .mq-badge { min-width: 23px; height: 23px; font-size: 9px; }
  .map-cap { padding: 4px 0 7px; }
}
