
/* Ultra-wide: retain desktop typography and composition, add breathing room. */
@media (min-width: 1441px) {
  :root { --container-pad: 180px; --section-pad: 100px; }
  .container { max-width: 1440px; }
  body[data-page="about"] .about-page .container { max-width: 1440px; }
  body[data-page="about"] .about-page .section,
  body[data-page="about"] .about-page .testimonials-section { padding-block: 100px; }
  body[data-page="contact"] .contact-faq { padding-block: 100px; }
  body[data-page="contact"] .contact-cta { padding-block: 100px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --container-pad: 100px; --section-pad: 80px; }
  .container { max-width: none; }
  .journey-row, .benefits-grid { gap: 24px; }
  body[data-page="about"] .about-page .container { width: calc(100% - 200px); max-width: none; }
  body[data-page="about"] .about-page .section { padding-block: 80px; }
  body[data-page="about"] .about-feature { gap: 24px; }
  body[data-page="contact"] .contact-panel { gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --container-pad: 60px; --section-pad: 60px; }
  .container { max-width: none; }
  .about-grid, .system-grid, .benefits-grid { gap: 24px; }
  .journey-row, .journey-row--reverse { gap: 40px; }
  body[data-page="about"] .about-page .about-feature { gap: 24px; }
  body[data-page="about"] .about-page .about-feature__art { min-width: 0; }
  body[data-page="about"] .about-page .about-values__grid,
  body[data-page="about"] .about-page .about-expertise__grid { gap: 20px; }
  body[data-page="contact"] .contact-hero { padding-bottom: 60px; }
}
@media (max-width: 767px) {
  :root { --container-pad: 24px; --section-pad: 48px; }
  .container { width: calc(100% - 48px); max-width: none; }
  .eyebrow, .about-chip { font-size: 12px; line-height: 16px; }
  .section__header .eyebrow { margin-bottom: 12px; }
  .hero__actions .btn { min-height: 48px; }
  .about-grid, .system-grid, .benefits-grid, .testimonials-grid { gap: 16px; }
  .journey-list { gap: 32px; }
  .journey-row, .journey-row--reverse { gap: 24px; }
  .metrics-grid { gap: 16px; }
  .metric-card { min-width: 0; }
  .site-header, body[data-page="home"] .site-header { left: 0; right: 0; top: 12px; padding: 0; }
  .site-header__inner, body[data-page="home"] .site-header__inner {
    min-height: 56px; padding: 12px 16px; gap: 12px;
  }
  .site-header__brand img, body[data-page="home"] .site-header__brand img { width: auto; height: 32px; max-width: 144px; }
  .site-header__actions .btn, body[data-page="home"] .site-header__actions .btn { display: none; }
  .nav-toggle { display: flex; width: 32px; height: 32px; padding: 4px; flex: 0 0 32px; }
  .site-header .site-nav, body[data-page="home"] .site-header .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    width: 100%; margin: 0; transform: translateY(-8px);
    z-index: 10; pointer-events: none;
  }
  .site-header .site-nav.is-open, body[data-page="home"] .site-header .site-nav.is-open {
    transform: translateY(0); pointer-events: auto;
  }
  .site-header .site-nav__list { display: grid; gap: 4px; padding: 12px; }
  .site-header .site-nav__link { display: block; padding: 12px 16px; font-size: 14px; line-height: 20px; }
  body[data-page="home"] .about-section .section__header { display: block; }
  body[data-page="home"] .about-section .section__header > p:last-child { font-size: 16px; line-height: 24px; }
  body[data-page="about"] .about-page .container { width: calc(100% - 48px); max-width: none; }
  body[data-page="about"] .about-page .about-values__grid,
  body[data-page="about"] .about-page .about-expertise__grid { grid-template-columns: 1fr; gap: 16px; }
  body[data-page="about"] .about-page .about-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  body[data-page="about"] .about-facts p,
  body[data-page="about"] .about-role p { font-size: 14px; line-height: 20px; }
  body[data-page="about"] .about-comparison { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body[data-page="about"] .about-cta__stage { max-width: 100%; }
  body[data-page="about"] .about-cta__bottom { max-width: calc(100% - 24px); }
  body[data-page="contact"] .contact-hero { padding: 112px 0 48px; }
  body[data-page="contact"] .contact-hero__copy { margin-bottom: 32px; }
  body[data-page="contact"] .contact-panel { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  body[data-page="contact"] .contact-panel__email { font-size: 14px; line-height: 20px; }
  body[data-page="contact"] .contact-faq .faq-section__inner { gap: 32px; }
  body[data-page="contact"] .contact-faq .accordion__trigger { font-size: 16px; line-height: 24px; }
  body[data-page="contact"] .contact-faq .accordion__panel p { font-size: 14px; line-height: 22px; }
  body[data-page="contact"] .contact-cta__play-icon { width: 48px; height: 48px; }
  .site-footer__nav { flex-wrap: wrap; }
  .site-footer__wordmark { max-width: 100%; min-width: 0; }
}

@media (max-width: 389px) {
  .metrics-grid { grid-template-columns: 1fr; }
  body[data-page="about"] .about-facts { grid-template-columns: 1fr; }
  body[data-page="contact"] .contact-field__phone select { flex-basis: 88px; width: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav { transition: none; }
}


@media (max-width: 1279px) {
  /* Keep media inside flexible grid columns without distortion. */
  .hero__content, .hero__collage, .journey-row__content,
  .metrics-section__intro, .about-card, .system-card,
  .benefit, .testimonial, .contact-panel > *,
  .about-feature > *, .about-value, .about-role { min-width: 0; }
  .hero__collage img, .about-card img, .system-card img,
  .journey-row img, .testimonial img,
  .about-feature__art img, .contact-cta img,
  .about-cta img { max-width: 100%; height: auto; }
  .about-feature__art img, .journey-row img { object-fit: contain; }
  .about-hero__mock img { display: block; max-width: 100%; height: auto; }
  .contact-cta__video, .contact-cta__media,
  .about-cta__stage { max-width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* At 768px, content area is 648px; avoid squeezed three/four-column layouts. */
  body[data-page="home"] .about-grid,
  body[data-page="home"] .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .metrics-section__inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  body[data-page="home"] .metrics-section__intro { max-width: 100%; }
  body[data-page="home"] .journey-row,
  body[data-page="home"] .journey-row--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  body[data-page="home"] .journey-row img { width: 100%; }
  body[data-page="about"] .about-hero__visual { width: 100%; max-width: 100%; }
  body[data-page="about"] .about-hero__mock { max-width: 78%; }
  body[data-page="about"] .about-feature { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body[data-page="about"] .about-feature__art { height: 360px; padding: 24px; }
  body[data-page="about"] .about-values__grid,
  body[data-page="about"] .about-expertise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="contact"] .contact-panel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  body[data-page="contact"] .contact-cta__video,
  body[data-page="contact"] .contact-cta__media { width: 100%; }
}

@media (max-width: 767px) {
  /* Responsive images and containers: preserve aspect ratio and avoid clipping. */
  body[data-page="home"] .about-grid,
  body[data-page="home"] .system-grid,
  body[data-page="home"] .benefits-grid,
  body[data-page="home"] .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .metrics-section__inner,
  body[data-page="home"] .journey-row,
  body[data-page="home"] .journey-row--reverse,
  body[data-page="home"] .faq-section__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  body[data-page="home"] .journey-row__content,
  body[data-page="home"] .journey-row__visual { width: 100%; max-width: 100%; }
  body[data-page="home"] .journey-row img,
  body[data-page="home"] .about-card img,
  body[data-page="home"] .system-card img { display: block; width: 100%; max-width: 100%; height: auto; }
  body[data-page="home"] .hero__collage { max-width: 100%; }
  body[data-page="home"] .hero__collage img { display: block; width: 100%; height: auto; }
  body[data-page="home"] .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body[data-page="home"] .metric-card { padding: 16px; }
  body[data-page="home"] .hero__actions { flex-wrap: wrap; }
  body[data-page="about"] .about-hero__visual { width: 100%; max-width: 100%; }
  body[data-page="about"] .about-hero__mock { width: 78%; max-width: 78%; }
  body[data-page="about"] .about-hero__card { max-width: 46%; height: auto; }
  body[data-page="about"] .about-feature,
  body[data-page="about"] .about-page .about-section-heading--split { grid-template-columns: minmax(0,1fr); }
  body[data-page="about"] .about-feature__art { width: 100%; max-width: 100%; }
  body[data-page="about"] .about-feature__art img { display: block; width: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
  body[data-page="about"] .about-feature--reverse .about-feature__art { order: 0; }
  body[data-page="about"] .about-feature--reverse .about-feature__copy { order: 1; }
  body[data-page="about"] .rf-stories__row,
  body[data-page="about"] .rf-stories__row:nth-child(2) { grid-template-columns: minmax(0,1fr); }
  body[data-page="about"] .rf-story--wide { grid-column: auto; }
  body[data-page="about"] .rf-story-photo img { max-width: 100%; }
  body[data-page="contact"] .contact-panel { grid-template-columns: minmax(0,1fr); }
  body[data-page="contact"] .contact-panel > *,
  body[data-page="contact"] .contact-form,
  body[data-page="contact"] .contact-field { min-width: 0; max-width: 100%; }
  body[data-page="contact"] .contact-field input,
  body[data-page="contact"] .contact-field textarea { min-width: 0; max-width: 100%; }
  body[data-page="contact"] .contact-cta__video,
  body[data-page="contact"] .contact-cta__media { width: 100%; max-width: 100%; }
  body[data-page="contact"] .contact-cta__video img,
  body[data-page="contact"] .contact-cta__media img { display: block; width: 100%; height: auto; }
  .site-footer__top { gap: 32px; }
  .site-footer__brand, .site-footer__nav { min-width: 0; max-width: 100%; }
}

/* Compact phones: these overrides are deliberately last. */
@media (max-width: 389px) {
  body[data-page="home"] .metrics-grid { grid-template-columns: minmax(0,1fr); }
  body[data-page="about"] .about-hero__card { max-width: 42%; }
  body[data-page="about"] .about-facts { grid-template-columns: minmax(0,1fr); }
  body[data-page="contact"] .contact-panel { padding: 16px; }
}

/* === CONSOLIDATED RESPONSIVE TYPOGRAPHY === */
/* RezFlow responsive typography and content wrapping.
   Loaded after all legacy page CSS and responsive.css. No Tailwind dependency. */
:root { --rf-h1:64px; --rf-h1-lh:80px; --rf-h2:48px; --rf-h2-lh:60px; --rf-h3:24px; --rf-h3-lh:32px; --rf-copy:18px; --rf-copy-lh:28px; --rf-support:16px; --rf-support-lh:24px; --rf-metric:48px; --rf-metric-lh:56px; }
/* Allow grid children, headings and descriptions to shrink and wrap. */
body[data-page] main :is(.container,.section__header,.section__header > *, .hero__copy,.about-hero__copy,.contact-hero__copy,.about-section-heading,.about-section-heading > *, .about-feature__copy,.faq-section__intro,.contact-panel > *,.contact-cta__inner,.about-cta__heading,.journey-row__content,.metrics-section__intro) { min-width:0; }
body[data-page] main :is(h1,h2,h3,p) { max-width:100%; white-space:normal; overflow-wrap:break-word; }
body[data-page] main :is(.section__header,.about-section-heading,.faq-section__intro,.contact-hero__copy,.hero__copy,.about-hero__copy,.about-cta__heading,.contact-cta) p { white-space:normal; overflow-wrap:break-word; }
/* Major section headings only; the Contact Us form's internal h2 is intentionally excluded. */
body[data-page="home"] main :is(.section__header h2,.metrics-section__intro h2,.faq-section__intro h2,.cta-section h2),
body[data-page="about"] main :is(.about-section-heading h2,.testimonials-section .section__header h2,.faq-section__intro h2,.about-cta__heading h2),
body[data-page="contact"] main :is(.contact-faq .faq-section__intro h2,.contact-cta h2) { font-family:var(--font-heading);font-size:var(--rf-h2);line-height:var(--rf-h2-lh);font-weight:700;letter-spacing:normal; }
body[data-page="home"] main .hero h1,
body[data-page="about"] main .about-hero h1,
body[data-page="contact"] main .contact-hero h1 { font-family:var(--font-heading);font-size:var(--rf-h1);line-height:var(--rf-h1-lh);font-weight:700; }
/* Consistent card subheadings; accordion buttons retain their own sizing. */
body[data-page="home"] main :is(.about-card h3,.system-card h3,.benefit-card h3,.journey-row h3,.metric-card h3),
body[data-page="about"] main :is(.about-value h3,.about-role h3,.about-facts h3),
body[data-page="contact"] main .contact-panel__info h3 { font-size:var(--rf-h3);line-height:var(--rf-h3-lh); }
/* Metric value numerals use their own fluid token (36->40->48 across bands). */
body[data-page="home"] main :is(.metric-card strong,.metric-card__top strong) { font-size:var(--rf-metric);line-height:var(--rf-metric-lh); }
/* Main section supporting copy: avoid fixed widths and nowrap. */
body[data-page="home"] main :is(.section__header > p:not(.eyebrow),.metrics-section__intro > p:not(.eyebrow),.faq-section__intro > p:not(.eyebrow),.cta-section > .container > p:not(.eyebrow),.hero__lead),
body[data-page="about"] main :is(.about-section-heading > p,.about-section-heading > div > p,.about-feature__copy > p,.faq-section__intro > p,.about-hero__copy > p,.about-cta__heading > p),
body[data-page="contact"] main :is(.contact-hero__copy > p,.contact-faq .faq-section__intro > p,.contact-cta > .container > p) { font-size:var(--rf-copy);line-height:var(--rf-copy-lh); }
/* Keep image proportions while avoiding horizontal overflow. */
body[data-page] main :is(.journey-row__visual,.about-feature__art,.about-hero__visual,.contact-cta__media,.contact-cta__video) { min-width:0;max-width:100%; }
body[data-page] main :is(.journey-row__visual,.about-feature__art,.contact-cta__media,.contact-cta__video) img { max-width:100%;height:auto; }
/* Keep the 1440px desktop composition until the dedicated ultra-wide breakpoint. */
@media (min-width:1920px) {
  :root { --container-pad:180px;--section-pad:100px; }
  body[data-page] main .container { max-width:1560px; }
  body[data-page="about"] main .about-page .container { max-width:1560px; }
}
@media (min-width:1024px) and (max-width:1439px) {
  /* Laptop band: fluid 1024->1439. H1 48->64, H2 40->48, H3 20->24, metric 40->48. */
  :root { --rf-h1:clamp(48px,4.45vw,64px); --rf-h1-lh:clamp(58px,5.35vw,77px);
    --rf-h2:clamp(40px,3.34vw,48px); --rf-h2-lh:clamp(50px,4.17vw,60px);
    --rf-h3:clamp(20px,1.67vw,24px); --rf-h3-lh:clamp(28px,2.29vw,33px);
    --rf-metric:clamp(40px,3.34vw,48px); --rf-metric-lh:clamp(46px,3.89vw,56px);
    --rf-copy:18px; --rf-copy-lh:28px; --rf-support:16px; --rf-support-lh:24px;
    --rf-eyebrow-gap:clamp(14px,1.11vw,16px); --rf-sub-gap:20px; --rf-content-gap:clamp(32px,2.78vw,40px);
    --rf-section-pad:clamp(60px,5.56vw,80px); --rf-card-pad:24px; --rf-form-pad:32px;
  }
  body[data-page] main .container { max-width:calc(100% - 200px); }
  body[data-page="about"] main .about-page .container { max-width:calc(100% - 200px); }
}
@media (min-width:768px) and (max-width:1023px) {
  /* Tablet band: fluid 768->1023. H1 44->48, H2 36->40, H3 18->20, metric 36->40. */
  :root { --rf-h1:clamp(44px,4.69vw,48px); --rf-h1-lh:clamp(53px,5.67vw,58px);
    --rf-h2:clamp(36px,3.91vw,40px); --rf-h2-lh:clamp(44px,4.79vw,49px);
    --rf-h3:clamp(18px,1.96vw,20px); --rf-h3-lh:clamp(26px,2.83vw,29px);
    --rf-metric:clamp(36px,3.91vw,40px); --rf-metric-lh:clamp(42px,4.59vw,47px);
    --rf-copy:16px; --rf-copy-lh:24px; --rf-support:14px; --rf-support-lh:20px;
    --rf-eyebrow-gap:14px; --rf-sub-gap:18px; --rf-content-gap:32px;
    --rf-section-pad:48px; --rf-card-pad:clamp(20px,2.35vw,24px); --rf-form-pad:24px;
  }
  body[data-page] main .container { max-width:calc(100% - 120px); }
  body[data-page="about"] main .about-page .container { max-width:calc(100% - 120px); }
}
@media (max-width:767px) {
  :root { --rf-h1:clamp(32px,9vw,36px);--rf-h1-lh:clamp(40px,11vw,44px);--rf-h2:clamp(20px,6vw,24px);--rf-h2-lh:clamp(28px,8vw,32px);--rf-h3:18px;--rf-h3-lh:28px;--rf-copy:16px;--rf-copy-lh:24px;--rf-support:14px;--rf-support-lh:20px; }
}
@media (max-width:1023px) {
  body[data-page] main :is(.section__header,.about-section-heading,.faq-section__intro,.about-cta__heading,.contact-hero__copy,.contact-cta) { max-width:100%; }
  body[data-page] main :is(.section__header,.about-section-heading,.faq-section__intro,.about-cta__heading,.contact-hero__copy,.contact-cta) p { max-width:100%; }
}
@media (max-width:767px) {
  body[data-page] main :is(.about-feature,.journey-row,.journey-row--reverse,.contact-panel) > * { min-width:0; }
  body[data-page] main :is(.about-feature__art,.journey-row__visual,.contact-cta__media,.contact-cta__video) { width:100%; }
}

/* Consistent section spacing and card padding per approved bands.
   --container-pad drives side margins (60px tablet / 100px laptop / 120px wide). */
@media (min-width:768px) and (max-width:1023px) {
  :root { --container-pad:60px; --section-pad:48px; }
  .section { padding-block:var(--rf-section-pad); }
  .section__header .eyebrow { margin-bottom:var(--rf-eyebrow-gap); }
  .section__header h2, .about-section-heading h2 { margin-block:var(--rf-eyebrow-gap) var(--rf-sub-gap); }
  .section__header, .about-section-heading { margin-bottom:var(--rf-content-gap); }
  :is(.about-card,.system-card,.benefit,.about-value,.about-role,.testimonial,.rf-story,.metric-card) { padding:var(--rf-card-pad); }
  body[data-page="contact"] .contact-panel { padding:var(--rf-form-pad); }
}
@media (min-width:1024px) and (max-width:1439px) {
  :root { --container-pad:100px; --section-pad:var(--rf-section-pad); }
  .section { padding-block:var(--rf-section-pad); }
  .section__header .eyebrow { margin-bottom:var(--rf-eyebrow-gap); }
  .section__header h2, .about-section-heading h2 { margin-block:var(--rf-eyebrow-gap) var(--rf-sub-gap); }
  .section__header, .about-section-heading { margin-bottom:var(--rf-content-gap); }
  :is(.about-card,.system-card,.benefit,.about-value,.about-role,.testimonial,.rf-story,.metric-card) { padding:var(--rf-card-pad); }
  body[data-page="contact"] .contact-panel { padding:var(--rf-form-pad); }
}

/* === ULTRA-WIDE 1920px+ AND SHARED FAQ FIXES === */
/* RezFlow 1920+ visual corrections. Intentionally scoped to ultra-wide only. */
/* 1920px viewport: 220px gutters, 1480px usable width. */
@media (min-width:1920px) {
 :root { --container-pad:220px; --container-max:calc(100vw - 440px); --section-pad:100px; }
 body[data-page] .container,
 body[data-page="about"] .about-page .container,
 body[data-page] main .container,
 body[data-page="about"] main .about-page .container {
   width:calc(100% - 440px);max-width:none;margin-inline:auto;
 }
 /* The floating navigation and footer must obey the same outer gutters. */
 body[data-page] .site-header > .container,
 body[data-page] .site-footer > .container {width:calc(100% - 440px);max-width:none;margin-inline:auto;}
 /* Several sections retained fixed 1200px wrappers from the 1440 design. */
 body[data-page="home"] .metrics-section__inner,
 body[data-page="home"] .hero__content,
 body[data-page="home"] .benefits-grid,
 body[data-page="home"] .benefits-section .section__header,
 body[data-page="home"] .testimonials-section .section__header,
 body[data-page="about"] .testimonials-section .section__header,
 body[data-page="contact"] .contact-hero__inner,
 body[data-page="contact"] .contact-faq .faq-section__inner,
 body[data-page="contact"] .contact-cta__inner {
   width:100%;max-width:none;
 }
 body[data-page="home"] .metrics-section__inner {width:calc(100% - 440px);margin-inline:auto;}
 /* Keep centered text readable but let the section layout use the full width. */
 body[data-page] main :is(.section__header,.about-section-heading,.faq-section__intro,.about-hero__copy,.contact-hero__copy) {min-width:0;}
 body[data-page] main :is(.section__header h2,.about-section-heading h2,.faq-section__intro h2,.about-cta__heading h2,.contact-cta h2) {white-space:normal;overflow-wrap:normal;text-wrap:balance;}
 body[data-page] main :is(.section__header p,.about-section-heading p,.faq-section__intro p) {white-space:normal;text-wrap:pretty;}
 /* All section eyebrows, excluding hero eyebrows. */
 body[data-page] main :is(.section:not(.hero):not(.about-hero):not(.contact-hero),.about-cta,.contact-cta) :is(.eyebrow,.about-chip) {font-size:14px;line-height:20px;}
 body[data-page] main :is(.section:not(.hero):not(.about-hero):not(.contact-hero),.about-cta,.contact-cta) :is(.eyebrow,.about-chip) :is(img,svg,.about-chip__icon) {width:20px;height:20px;flex:0 0 20px;object-fit:contain;}
 /* 1920 section spacing should grow without stretching media unnaturally. */
 body[data-page="about"] .about-page .section,
 body[data-page="about"] .about-page .testimonials-section,
 body[data-page="contact"] .contact-faq,
 body[data-page="contact"] .contact-cta {padding-block:100px;}
}
/* FAQ heading parity on every page at the approved 1440 desktop scale. */
@media (min-width:1280px) {
 body[data-page="home"] main .faq-section__intro h2,
 body[data-page="about"] main .faq-section__intro h2,
 body[data-page="contact"] main .contact-faq .faq-section__intro h2 {
   font-family:var(--font-heading);font-size:var(--rf-h2);line-height:var(--rf-h2-lh);font-weight:700;
 }
}
/* FAQ sweep animation shares the same reveal used by other major headings. */
html.js body[data-page="contact"] [data-heading-sweep].is-visible.rf2-ink-active {
 animation:rf2-heading-arrive 1150ms cubic-bezier(.18,.78,.18,1) both,rf2-heading-ink 1500ms 140ms cubic-bezier(.25,.75,.2,1) both!important;
}
@media (prefers-reduced-motion:reduce) {
 html.js body[data-page] .faq-section [data-heading-sweep] {opacity:1!important;animation:none!important;transform:none!important;background-image:none!important;-webkit-text-fill-color:currentColor!important;}
}


/* === FINAL BREAKPOINT CONSISTENCY === */
@media (min-width: 1920px) {
  :root { --container-pad: 220px; --section-pad: 100px; }
  body[data-page] .site-header__inner, body[data-page] .site-footer__inner { max-width: none; }
  body[data-page] main :is(.faq-section__intro h2, .about-cta__heading h2, .contact-cta__heading h2) { font-size: 48px; line-height: 60px; font-weight: 700; }
}
@media (max-width: 767px) {
  body[data-page] main :is(.section__header, .about-section-heading, .faq-section__intro, .contact-hero__copy) { min-width: 0; }
  body[data-page] main :is(.section__header p, .about-section-heading p, .faq-section__intro p, .contact-hero__copy p) { white-space: normal; overflow-wrap: break-word; }
}

/* Mission, Vision and values are subsections, not page-level H2 headings. */
body[data-page="about"] .about-page .about-feature__copy h3 {
  margin:12px 0 24px; font:700 var(--rf-h3)/var(--rf-h3-lh) var(--font-heading);
}
body[data-page="about"] .about-page .about-values > .container > h3 {
  font:600 24px/36px var(--font-heading); letter-spacing:.72px;
  color:#081120; text-align:center; margin-bottom:40px;
}

/* ===============================================================
   LOCKED 1920+ REFINEMENTS - Home / About / Contact
   Do not affect the approved 1440px layout or smaller breakpoints.
   =============================================================== */
@media (min-width:1920px) {
  /* All content, including navigation and footer, uses 220px gutters. */
  body[data-page] .site-header > .container,
  body[data-page] .site-footer > .container,
  body[data-page] main .container,
  body[data-page="about"] main .about-page .container {
    width:calc(100% - 440px); max-width:none; margin-inline:auto;
  }
  /* Navbar: scale logo and links without changing the floating shape. */
  body[data-page] .site-header__brand img {height:58px;width:auto;max-width:none;}
  body[data-page] .site-nav__link {font-size:18px;line-height:28px;}
  body[data-page] .site-header__actions .btn {
    font-size:20px;line-height:28px;min-height:60px;padding:16px 36px;
  }
  /* Consistent primary buttons on ultra-wide layouts. */
  body[data-page] main .btn {font-size:20px;line-height:28px;}

  /* At a glance: release fixed 650/556/1000px limits. */
  body[data-page="home"] .system-section .section__header {
    width:100%;max-width:none;margin-inline:auto;
  }
  body[data-page="home"] .system-section .section__header h2 {
    max-width:none;width:100%;font-size:var(--rf-h2);line-height:var(--rf-h2-lh);
  }
  body[data-page="home"] .system-section .section__header h2 br {display:none;}
  body[data-page="home"] .system-section .section__header > p:last-child {
    max-width:none;width:100%;font-size:20px;line-height:32px;
  }
  body[data-page="home"] .system-grid {
    width:100%;max-width:none;gap:32px;
  }
  body[data-page="home"] .system-card {min-width:0;padding:32px;}
  body[data-page="home"] .system-card__description {
    max-width:none;font-size:16px;line-height:24px;
  }
  body[data-page="home"] .system-card h3 {font-size:24px;line-height:36px;}
  /* Retain approved icon dimensions. */
  body[data-page="home"] .system-card__header img {width:32px;height:32px;}

  /* Testimonials on Home and About fill the actual content width. */
  body[data-page="home"] .testimonials-section .section__header,
  body[data-page="about"] .testimonials-section .section__header,
  body[data-page="home"] .testimonials-section .rf-stories,
  body[data-page="about"] .testimonials-section .rf-stories {
    width:100%;max-width:none;margin-inline:auto;
  }
  body[data-page="home"] .testimonials-section .rf-stories__row,
  body[data-page="about"] .testimonials-section .rf-stories__row {width:100%;}

 
  body[data-page="home"] main .section__header > p:not(.eyebrow),
  body[data-page="about"] main .about-section-heading > p,
  body[data-page="about"] main .about-section-heading > div > p,
  body[data-page="contact"] main .contact-faq .faq-section__intro > p:not(.eyebrow),
  body[data-page="contact"] main .contact-cta__description {
    font-size:20px;line-height:32px;
  }
  body[data-page="contact"] main .contact-panel__intro > p,
  body[data-page="contact"] main .contact-panel__info > p {
    font-size:18px;line-height:28px;
  }
  body[data-page="contact"] main .contact-faq .accordion__panel p {
    font-size:18px;line-height:28px;
  }
  /* Shared footer: no tiny 13px/14px copy at 1920. */
  body[data-page] .site-footer__brand img {width:208px;height:auto;max-width:100%;}
  body[data-page] .site-footer__brand p,
  body[data-page] .site-footer__nav a,
  body[data-page] .site-footer__heading {font-size:16px;line-height:24px;}
  body[data-page] .site-footer__bottom,
  body[data-page] .site-footer__legal {font-size:14px;line-height:24px;}
  body[data-page] .site-footer__wordmark {width:100%;max-width:none;}
}

/* ================================================================
   1920+ FINAL READABILITY / MEDIA / FULL-WIDTH REFINEMENTS
   Scoped to ultra-wide screens only. The approved 1440px layout is
   intentionally unaffected. Keep future breakpoint edits in this file.
   ================================================================ */
@media (min-width: 1920px) {
  /* Shared container: 220px gutters, including the contact FAQ. */
  body[data-page="contact"] main .contact-faq > .container.faq-section__inner {
    width: calc(100% - 440px);
    max-width: none;
    margin-inline: auto;
  }
  body[data-page="contact"] .contact-faq .accordion {
    width: 100%; max-width: none; min-width: 0;
  }
  body[data-page="contact"] .contact-faq .faq-section__intro {
    width: 100%; max-width: none;
  }

  /* Home: retain the approved two-column At a Glance card structure.
     Scale media in both dimensions at its source aspect ratio 512:264. */
  body[data-page="home"] .system-section .system-grid {
    width: 100%; max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  body[data-page="home"] .system-section .system-card > img {
    width: 100%; height: auto; aspect-ratio: 512 / 264;
    object-fit: cover; object-position: center;
  }
  body[data-page="home"] .system-section .system-card__description {
    font-size: 18px; line-height: 28px; text-align: left;
    overflow-wrap: break-word;
  }
  body[data-page="home"] .system-section .section__header h2,
  body[data-page="home"] .system-section .section__header > p:last-child {
    width: 100%; max-width: none;
  }

  /* Heading + supporting copy: larger ultra-wide type, natural wrapping. */
  body[data-page] main :is(
    .section__header > p:not(.eyebrow),
    .about-section-heading > p,
    .about-hero__copy > p,
    .contact-hero__copy > p,
    .faq-section__intro > p:not(.eyebrow),
    .contact-cta__description
  ) {
    font-size: 20px; line-height: 32px;
    overflow-wrap: break-word; text-wrap: pretty;
  }
  body[data-page="about"] .about-expertise .about-section-heading {
    width: 100%; max-width: none;
  }
  body[data-page="about"] .about-expertise .about-section-heading h2 {
    width: 100%; max-width: none; text-wrap: balance;
  }
  body[data-page="about"] .about-expertise .about-section-heading p {
    width: 100%; max-width: none;
  }

  /* Home + About: identical Hotel Stories grid and wrapping behavior.
     These pages already share .rf-stories markup and card structure. */
  body[data-page="home"] .testimonials-section .rf-stories,
  body[data-page="about"] .testimonials-section .rf-stories {
    width: 100%; max-width: none; margin-inline: auto;
  }
  body[data-page="home"] .testimonials-section .rf-stories__row,
  body[data-page="about"] .testimonials-section .rf-stories__row {
    width: 100%; min-width: 0;
  }
  body[data-page="home"] .testimonials-section .rf-story,
  body[data-page="about"] .testimonials-section .rf-story {
    min-width: 0; padding: 24px 28px;
  }
  body[data-page="home"] .testimonials-section .rf-story__quote,
  body[data-page="about"] .testimonials-section .rf-story__quote {
    max-width: none; min-width: 0;
    overflow-wrap: break-word; white-space: normal; text-wrap: pretty;
  }
  body[data-page="home"] .testimonials-section .section__header,
  body[data-page="about"] .testimonials-section .section__header {
    width: 100%; max-width: none;
  }
  body[data-page="home"] .testimonials-section .section__header > p:not(.eyebrow),
  body[data-page="about"] .testimonials-section .section__header > p:not(.eyebrow) {
    font-size: 20px; line-height: 32px;
    max-width: 1000px; margin-inline: auto;
  }

  /* Inner card text: 14px -> 16px; 16px -> 18px. */
  body[data-page="home"] .journey-row__content li,
  body[data-page="home"] .journey-row__content > p:not(.journey-row__step),
  body[data-page="home"] .benefit-card p,
  body[data-page="about"] .about-value p,
  body[data-page="about"] .about-role p,
  body[data-page="about"] .about-facts p,
  body[data-page="contact"] .contact-panel__intro p {
    font-size: 18px; line-height: 28px;
    overflow-wrap: break-word;
  }
  body[data-page="home"] .system-card__chip,
  body[data-page="about"] .about-role strong,
  body[data-page="home"] .metric-card__details p {
    font-size: 16px; line-height: 24px;
  }
  body[data-page="home"] .journey-row__content li {
    white-space: normal;
  }
}

/* ===============================================================
   1024-1279px: approved laptop layout (22 Nov 2026)
   Deliberately scoped: does not affect 1440px or 1920px designs.
   =============================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --container-pad: 100px;
    --section-pad: 60px;
  }

  /* Consistent 100px gutters and 60px vertical section rhythm. */
  body[data-page] main .container {
    width: calc(100% - 200px);
    max-width: none;
    margin-inline: auto;
  }
  body[data-page="home"] main :is(
    .section, .about-section, .system-section, .benefits-section,
    .journey-section, .testimonials-section, .faq-section,
    .metrics-section, .cta-section
  ) {
    padding-top: var(--rf-section-pad);
    padding-bottom: var(--rf-section-pad);
  }
  body[data-page="about"] .about-page :is(.section, .testimonials-section, .faq-section, .cta-section),
  body[data-page="contact"] main :is(.contact-faq, .contact-cta) {
    padding-top: var(--rf-section-pad);
    padding-bottom: var(--rf-section-pad);
  }

  /* Keep the floating navigation clear of the hero, with a smaller top offset. */
  body[data-page="home"] .hero { padding-top: 144px; }
  body[data-page="about"] .about-hero { padding-top: 144px; }
  body[data-page="contact"] .contact-hero { padding-top: 144px; }

  /* Typography: hero H1 > major section H2 > subsection/card H3. */
  body[data-page="home"] .hero h1,
  body[data-page="about"] .about-hero h1,
  body[data-page="contact"] .contact-hero h1 {
    font-size: var(--rf-h1); line-height: var(--rf-h1-lh); font-weight: 700;
    max-width: 100%; overflow-wrap: break-word;
  }
  body[data-page="home"] main :is(
    .section__header h2, .metrics-section h2, .faq-section__intro h2,
    .cta-section h2
  ),
  body[data-page="about"] main :is(
    .about-section-heading h2, .about-feature__copy h2,
    .testimonials-section .section__header h2,
    .faq-section__intro h2, .about-cta h2
  ),
  body[data-page="contact"] main :is(
    .contact-faq .faq-section__intro h2, .contact-cta h2
  ) {
    font-size: var(--rf-h2); line-height: var(--rf-h2-lh); font-weight: 700;
    max-width: 100%; overflow-wrap: break-word; text-wrap: balance;
  }
  /* Do not promote About values or Mission/Vision H3s into H2s. */
  body[data-page] main :is(
    .about-card h3, .system-card h3, .benefit-card h3,
    .journey-row h3, .about-value h3, .about-role h3,
    .about-facts h3
  ) {
    font-size: var(--rf-h3); line-height: var(--rf-h3-lh);
  }

  /* 20px between a section heading and its supporting description. */
  body[data-page="home"] main .section__header > p:not(.eyebrow),
  body[data-page="about"] main .about-section-heading > p:not(.eyebrow),
  body[data-page="about"] main .faq-section__intro > p:not(.eyebrow),
  body[data-page="contact"] main .faq-section__intro > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 16px; line-height: 24px;
    max-width: 100%; overflow-wrap: break-word;
  }
  body[data-page] main :is(.section__header, .about-section-heading, .faq-section__intro)
  > :is(.eyebrow, .about-chip) {
    margin-bottom: 14px;
  }
  body[data-page="home"] main .hero__lead,
  body[data-page="about"] main .about-hero__copy > p,
  body[data-page="contact"] main .contact-hero__copy > p {
    font-size: 16px; line-height: 24px; max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Three-column card sections remain three columns. */
  body[data-page="home"] .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  }
  body[data-page="home"] :is(.about-card, .system-card, .benefit-card),
  body[data-page="about"] :is(.about-value, .about-role) {
    min-width: 0;
  }
  body[data-page="home"] .about-card__content,
  body[data-page="home"] .system-card__content,
  body[data-page="home"] .benefit-card,
  body[data-page="about"] :is(.about-value, .about-role) {
    padding: 24px;
  }
  body[data-page="home"] :is(.about-grid, .benefits-grid, .system-grid),
  body[data-page="about"] :is(.about-values__grid, .about-expertise__grid) {
    gap: 16px;
  }

  /* Reduce imagery inside narrower cards without stretching/cropping. */
  body[data-page="home"] :is(.about-card, .system-card, .benefit-card) img:not(.eyebrow img),
  body[data-page="about"] :is(.about-value, .about-role) img {
    max-width: 100%; height: auto;
  }
  body[data-page="home"] .about-card > img,
  body[data-page="home"] .system-card > img {
    display: block; width: 100%; height: auto; object-fit: contain;
  }
  body[data-page="home"] .hero__collage img,
  body[data-page="about"] .about-hero__mock img {
    max-width: 100%; height: auto; object-fit: contain;
  }

  /* 40px gap between copy and imagery, including alternating sections. */
  body[data-page="home"] :is(.journey-row, .about-section .about-grid),
  body[data-page="about"] .about-feature {
    column-gap: 40px;
  }
  body[data-page="about"] .about-feature__art {
    min-width: 0; height: 400px; padding: 24px;
  }
  body[data-page="about"] .about-feature__art img {
    max-width: 100%; max-height: 100%; object-fit: contain;
  }
  body[data-page="contact"] .contact-panel {
    gap: 24px; padding: var(--rf-form-pad, 24px);
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  }

  /* Accordion: retain 16px question-to-answer gap. */
  body[data-page] main .accordion__item.is-open .accordion__panel p {
    padding-top: 16px;
  }
  body[data-page] main .accordion__trigger {
    font-size: 18px; line-height: 28px;
  }
  body[data-page] main .accordion__panel p {
    font-size: 16px; line-height: 24px;
  }

  /* Buttons and inputs scale with the laptop breakpoint. */
  body[data-page] main .btn {
    min-height: 52px; padding-inline: 24px;
    font-size: 16px; line-height: 24px;
  }
  body[data-page="home"] .hero__actions .btn {
    min-height: 52px; padding: 12px 24px;
    font-size: 16px; line-height: 24px;
  }
  body[data-page="contact"] .contact-panel :is(input, select) {
    max-width: 100%; min-width: 0;
  }
}

/* ==========================================================
   REZFLOW 1024px LAPTOP REFINEMENTS - 2026-11-22
   Only 1024-1279px. 1440px and 1920px remain untouched.
   ========================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* Shared type hierarchy: H1 56, H2 40, H3 20. */
  body[data-page] main :is(.section__header h2, .metrics-section h2,
    .faq-section__intro h2, .cta-section h2,
    .about-section-heading h2, .about-feature__copy h2,
    .about-cta__heading h2, .contact-cta h2) {
    font-size: var(--rf-h2); line-height: var(--rf-h2-lh); font-weight: 700;
    max-width: 100%; overflow-wrap: break-word;
  }
  body[data-page] main :is(.about-card h3, .system-card h3,
    .benefit h3, .journey-row__content h3, .metric-card__details h3,
    .about-role h3, .about-value h3, .about-facts h3,
    .rf-story h3) {
    font-size: var(--rf-h3); line-height: var(--rf-h3-lh);
  }
  body[data-page] main :is(.section__header, .about-section-heading, .faq-section__intro)
    > :is(.eyebrow, .about-chip) { margin-bottom: 14px; }
  body[data-page] main :is(.section__header, .about-section-heading, .faq-section__intro)
    > p:not(.eyebrow) { margin-top: 20px; overflow-wrap: break-word; }

  /* Navbar: balanced layout comes from the shared grid; scale chrome only. */
  .site-header__inner, body[data-page="home"] .site-header__inner {
    min-height: 76px; padding: 10px 18px;
  }
  .site-header__brand img, body[data-page="home"] .site-header__brand img {
    height: 48px; width: auto; max-width: none;
  }
  .site-header .site-nav {
    position: static; margin: 0; transform: none;
  }
  .site-header .site-nav__list { gap: 24px; }
  .site-header .site-header__actions { justify-self: end; margin: 0; }
  .site-header .site-header__actions .btn,
  body[data-page="home"] .site-header__actions .btn {
    min-height: 40px; padding: 8px 18px;
    font-size: 14px; line-height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* Home: Connect / Operate / Grow: image and copy share one left edge. */
  body[data-page="home"] .about-section .section__header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: 20px;
  }
  body[data-page="home"] .about-section .section__header > p:not(.eyebrow) {
    max-width: none;
  }
  body[data-page="home"] .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  }
  body[data-page="home"] .about-card {
    display: flex; flex-direction: column; min-width: 0;
    overflow: visible;
  }
  body[data-page="home"] .about-card > img {
    display: block; width: 100%; height: auto; object-fit: contain;
  }
  body[data-page="home"] .about-card__content {
    padding: 20px 0 0 !important;
    min-width: 0;
  }
  body[data-page="home"] .about-card h3 { font-size: 18px; line-height: 28px; }
  body[data-page="home"] .about-card p { font-size: 16px; line-height: 24px; }
  body[data-page="home"] .about-card__link {
    margin-top: 16px; padding: 0;
    align-self: flex-start;
  }

  /* Home: metrics content anchored to bottom, no additional bottom padding. */
  body[data-page="home"] .metrics-section {
    padding-bottom: 0 !important;
  }
  body[data-page="home"] .metrics-section__inner {
    align-items: end; padding-bottom: 0;
  }
  body[data-page="home"] .metrics-grid {
    align-items: end; gap: 20px; padding-bottom: 0;
  }
  body[data-page="home"] .metrics-section .metric-card {
    display: flex; flex-direction: column;
    justify-content: space-between !important;
    padding: 20px;
  }
  body[data-page="home"] .metrics-section .metric-card__top {
    flex: 0 0 auto; align-items: flex-start;
  }
  body[data-page="home"] .metrics-section .metric-card__details,
  body[data-page="home"] .metrics-section .metric-card:nth-child(4) .metric-card__details {
    display: block; flex: 0 0 auto;
    margin-top: auto; justify-content: initial !important;
  }
  body[data-page="home"] .metrics-section .metric-card__details h3 {
    font-size: 20px; line-height: 28px;
  }

  /* Home: journey is a compact landscape composition, not a tall stack. */
  body[data-page="home"] .journey-list { gap: 20px; padding-bottom: 0; }
  body[data-page="home"] .journey-row,
  body[data-page="home"] .journey-row--reverse {
    min-height: 0; padding-block: 40px;
    margin-bottom: 0; column-gap: 40px;
  }
  body[data-page="home"] .journey-row img {
    width: 100%; max-height: 360px; object-fit: contain;
  }
  body[data-page="home"] .journey-row__content h3 { font-size: 20px; line-height: 28px; }
  body[data-page="home"] .journey-row__content ul { margin-block: 20px; gap: 12px; }

  /* Shared testimonials: natural height, unclipped chip and 40px max inner gap. */
  body[data-page="home"] .testimonials-section,
  body[data-page="about"] .testimonials-section {
    overflow: visible;
  }
  body[data-page="home"] .testimonials-section .section__header,
  body[data-page="about"] .testimonials-section .section__header,
  body[data-page="about"] .testimonials-section .about-section-heading {
    overflow: visible; margin-bottom: 40px;
  }
  body[data-page="home"] .testimonials-section .eyebrow,
  body[data-page="about"] .testimonials-section .eyebrow,
  body[data-page="about"] .testimonials-section .about-chip {
    overflow: visible; height: auto; min-height: 0;
    white-space: normal;
  }
  body[data-page="home"] .rf-stories,
  body[data-page="about"] .rf-stories {
    max-width: 100%; gap: 20px;
  }
  body[data-page="home"] .rf-stories__row,
  body[data-page="about"] .rf-stories__row {
    min-height: 0; gap: 20px;
  }
  body[data-page="home"] .rf-story,
  body[data-page="about"] .rf-story {
    min-height: 0; height: auto;
    gap: 40px; padding: 20px;
    justify-content: space-between;
  }
  body[data-page="home"] .rf-story__footer,
  body[data-page="about"] .rf-story__footer { gap: 16px; }
  body[data-page="home"] .rf-story-photo,
  body[data-page="about"] .rf-story-photo {
    height: auto; min-height: 220px; max-height: 280px;
  }
  body[data-page="home"] .rf-story-photo img,
  body[data-page="about"] .rf-story-photo img {
    width: 100%; height: 100%; object-fit: cover;
  }

  /* FAQs on Home and About follow Contact's stacked heading layout. */
  body[data-page="home"] .faq-section__inner,
  body[data-page="about"] .faq-section__inner {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 32px; align-items: start;
  }
  body[data-page="home"] .faq-section__intro,
  body[data-page="about"] .faq-section__intro {
    width: 100%; max-width: none; text-align: center;
  }
  body[data-page="home"] .faq-section__intro h2,
  body[data-page="about"] .faq-section__intro h2 {
    max-width: none; margin-inline: auto;
    font-size: var(--rf-h2); line-height: var(--rf-h2-lh);
  }
  body[data-page="home"] .faq-section__intro > p:not(.eyebrow),
  body[data-page="about"] .faq-section__intro > p:not(.eyebrow) {
    max-width: 700px; margin: 20px auto 0;
    text-align: center;
  }
  body[data-page="home"] .faq-section .accordion,
  body[data-page="about"] .faq-section .accordion { width: 100%; min-width: 0; }
  body[data-page] .faq-section .accordion__panel p { padding-top: 16px; }

  /* About: reduce unused hero stage and button-to-collage spacing. */
  body[data-page="about"] .about-hero__visual {
    height: 276px; max-width: 100%;
    margin-top: 28px;
  }
  body[data-page="about"] .about-hero__inner {
    min-height: 0;
  }
  body[data-page="about"] .about-hero {
    min-height: 0; padding-bottom: 48px;
  }
  body[data-page="about"] .about-hero__mock {
    max-width: 620px; bottom: 0;
  }

  /* About: image-only visual, no fixed-height gradient card. */
  body[data-page="about"] .about-feature {
    column-gap: 40px; align-items: center;
  }
  body[data-page="about"] .about-feature__art {
    display: block; height: auto; min-height: 0;
    padding: 0; border-radius: 0;
    background: none; overflow: visible;
  }
  body[data-page="about"] .about-feature__art img {
    display: block; width: 100%; height: auto;
    max-width: 100%; max-height: none;
    object-fit: contain; filter: none;
  }
  body[data-page="about"] .about-feature__copy { min-width: 0; }

  /* About: values and expertise become balanced 2x2 grids. */
  body[data-page="about"] .about-values__grid,
  body[data-page="about"] .about-expertise__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; align-items: stretch;
  }
  body[data-page="about"] .about-value,
  body[data-page="about"] .about-role {
    min-width: 0; min-height: 0; height: auto;
    align-self: stretch; padding: 24px;
  }
  body[data-page="about"] .about-role h3,
  body[data-page="about"] .about-value h3 {
    font-size: 20px; line-height: 28px;
  }
  body[data-page="about"] .about-expertise__grid { align-items: stretch; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body[data-page="home"] main :is(.section, .testimonials-section, .faq-section),
  body[data-page="about"] .about-page .section,
  body[data-page="about"] .about-page .testimonials-section,
  body[data-page="contact"] main :is(.contact-faq, .contact-cta) {
    padding-top: 60px; padding-bottom: 60px;
  }
  body[data-page="home"] .metrics-section { padding-bottom: 0 !important; }
}

/* ================================================================
   1024-1279px | CONSISTENT HEADING & MISSION/VISION CORRECTIONS
   All three pages, single breakpoint, scoped to avoid 1440/1920.
   ================================================================ */
@media (min-width:1024px) and (max-width:1279px) {
  /* Global section-level H2 scale: no page or section exceptions.
     Do not touch card H3s or the H1 hero hierarchy. */
  body[data-page="home"] main h2,
  body[data-page="about"] main h2,
  body[data-page="contact"] main h2 {
    font-family:var(--font-heading);
    font-size:var(--rf-h2) !important;
    line-height:var(--rf-h2-lh) !important;
    font-weight:700 !important;
    max-width:100%;
    overflow-wrap:break-word;
  }
  /* Mission and Vision are true H2 headings, not H3. */
  body[data-page="about"] .about-mission .about-feature__copy h2 {
    font-size:var(--rf-h2) !important;
    line-height:var(--rf-h2-lh) !important;
    font-weight:700 !important;
    margin:16px 0 20px;
  }
  /* Maintain H3 hierarchy for Values, expertise and card headings. */
  body[data-page="home"] main h3,
  body[data-page="about"] main h3,
  body[data-page="contact"] main h3 {
    font-size:var(--rf-h3) !important;
    line-height:var(--rf-h3-lh) !important;
  }
  /* Connect cards deliberately use 18px titles at this breakpoint. */
  body[data-page="home"] .about-card h3 {
    font-size:var(--rf-h3) !important;
    line-height:var(--rf-h3-lh) !important;
  }
  /* Only the artwork's intrinsic height determines the row height.
     Removes the old 540px frame and empty bottom region. */
  body[data-page="about"] .about-mission .about-feature,
  body[data-page="about"] .about-mission .about-feature--reverse {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center !important;
    gap:40px;
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    margin-bottom:40px;
  }
  body[data-page="about"] .about-mission .about-feature__art {
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:0 !important;
    margin:0 !important;
    background:none !important;
    border:0;
    border-radius:0;
    overflow:visible;
    align-self:center;
  }
  body[data-page="about"] .about-mission .about-feature__art img {
    display:block;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    max-height:none !important;
    object-fit:contain !important;
    filter:none;
  }
  body[data-page="about"] .about-mission .about-feature__copy {
    align-self:center !important;
    min-width:0;
    margin:0 !important;
    padding:0 !important;
  }
  /* Keep reverse layout image on right, text on left. */
  body[data-page="about"] .about-mission .about-feature--reverse .about-feature__copy {
    grid-column:1;grid-row:1;
  }
  body[data-page="about"] .about-mission .about-feature--reverse .about-feature__art {
    grid-column:2;grid-row:1;
  }
}

/* Preserve the previously approved desktop appearance after the semantic
   Mission/Vision H3 -> H2 correction. Only 1024 uses the 40px H2 scale. */
@media (min-width:1280px) {
  body[data-page="about"] .about-page .about-mission .about-feature__copy h2 {
    font:700 var(--rf-h3)/var(--rf-h3-lh) var(--font-heading);
    margin:12px 0 24px;
  }
}

/* 1024px consolidated shared-component fixes, scoped to landscape only. */
@media (min-width:1024px) and (max-width:1279px) {
  body[data-page] main .faq-section__inner,
  body[data-page="contact"] main .contact-faq .faq-section__inner {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:32px!important;grid-template-columns:none!important}
  body[data-page] main .faq-section__intro {width:100%!important;max-width:none!important;text-align:center!important;margin:0!important}
  body[data-page] main .faq-section__intro > :is(.eyebrow,.about-chip) {display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle;height:auto!important;min-height:0!important;margin:0 auto 14px!important;padding:8px 12px!important;line-height:16px!important}
  body[data-page] main .faq-section__intro h2 {font:700 var(--rf-h2)/var(--rf-h2-lh) var(--font-heading)!important;margin:0 auto!important;max-width:100%!important}
  body[data-page] main .faq-section__intro > p:not(.eyebrow) {margin:20px auto 0!important;max-width:700px!important;text-align:center!important}
  body[data-page] main .faq-section__intro .btn,body[data-page] main .faq-section__intro > a {margin:20px auto 0!important}
  body[data-page] main .faq-section .accordion {width:100%!important;max-width:none!important;min-width:0!important}
  body[data-page] main .faq-section .accordion__trigger {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:64px!important;padding:16px 20px!important;font:600 18px/28px var(--font-heading)!important}
  body[data-page] main .faq-section .accordion__trigger > span {margin:0!important;align-self:center!important}
  body[data-page] main .faq-section .accordion__panel p {padding-top:0!important;margin-top:0!important}
  body[data-page] main .faq-section .accordion__panel {padding-top:0!important}
  body[data-page="home"] .rf-stories,body[data-page="about"] .rf-stories {width:100%!important;max-width:none!important;display:flex!important;flex-direction:column!important;gap:20px!important}
  body[data-page="home"] .rf-stories__row,body[data-page="about"] .rf-stories__row,body[data-page="home"] .rf-stories__row:nth-child(2),body[data-page="about"] .rf-stories__row:nth-child(2) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;min-height:0!important}
  body[data-page="home"] .rf-story--wide,body[data-page="about"] .rf-story--wide {grid-column:span 2!important}
  body[data-page="home"] .rf-story,body[data-page="about"] .rf-story {min-height:0!important;height:auto!important;padding:20px!important;gap:40px!important;justify-content:space-between!important}
  body[data-page="home"] .rf-story__footer,body[data-page="about"] .rf-story__footer {margin-top:auto!important;gap:16px!important}
  body[data-page="home"] .rf-story-photo,body[data-page="about"] .rf-story-photo {height:280px!important;min-height:0!important}
  body[data-page="home"] .testimonials-section .section__header,body[data-page="about"] .testimonials-section .section__header {margin-bottom:32px!important;overflow:visible!important}
  body[data-page="home"] .journey-section,body[data-page="home"] .journey-list {overflow:visible!important}
  body[data-page="home"] .journey-list {display:flex!important;flex-direction:column!important;gap:40px!important;padding-bottom:0!important;min-height:0!important;height:auto!important}
  body[data-page="home"] .journey-row,body[data-page="home"] .journey-row--reverse,body[data-page="home"] .journey-row:nth-child(2),body[data-page="home"] .journey-row:nth-child(3) {position:relative!important;top:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;gap:40px!important;transform:none!important;opacity:1!important}
  body[data-page="home"] .journey-row img {max-height:360px!important}
  body[data-page="home"] .cta-section {padding:40px!important}
  body[data-page="home"] .cta-section__inner {width:100%;max-width:100%}
  body[data-page] main .btn,body[data-page] main button.btn,body[data-page] main a.btn {min-height:44px!important;padding:10px 18px!important;font-size:16px!important;line-height:24px!important;display:inline-flex;align-items:center;justify-content:center}
  body[data-page="home"] .cta-section .btn[data-open-video] {padding:10px 18px!important;font-size:16px!important}
}

/* ==============================================================
   REZFLOW 1024 + 768 RESPONSIVE CONSOLIDATION - 22 NOV 2026
   Only 768-1279px. Approved desktop >=1280px is untouched.
   ============================================================== */
@media (min-width:768px) and (max-width:1279px) {
  /* Expertise cards: remove all earlier per-card minimum heights. */
  body[data-page="about"] .about-expertise__grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
    align-items:start !important;
  }
  body[data-page="about"] .about-expertise__grid .about-role,
  body[data-page="about"] .about-expertise__grid .about-role:nth-child(n) {
    min-height:0 !important;
    height:auto !important;
    align-self:start !important;
    padding:24px !important;
    gap:12px !important;
    justify-content:flex-start !important;
  }
  body[data-page="about"] .about-role__top {min-height:32px !important}
  body[data-page="about"] .about-role h3,
  body[data-page="about"] .about-role p {margin:0 !important}
  /* Dashboard CTA uses the same side gutters as all sections. */
  body[data-page="about"] .about-cta__stage {
    width:calc(100% - 2 * var(--container-pad)) !important;
    max-width:none !important;
    margin:40px auto 0 !important;
    padding-bottom:clamp(72px,10vw,120px) !important;
    min-width:0 !important;
  }
  body[data-page="about"] .about-cta__dashboard {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    object-fit:cover !important;
    object-position:top center !important;
  }
  body[data-page="about"] .about-cta__heading,
  body[data-page="about"] .about-cta__heading h2 {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    text-wrap:wrap !important;
  }
  body[data-page="about"] .about-cta__bottom {
    width:calc(100% - 32px) !important;
    max-width:100% !important;
  }
  body[data-page="about"] .about-cta__bottom p {
    max-width:100% !important;
    overflow-wrap:break-word !important;
  }
  /* Contact: reclaim 16px from each side of the panel. */
  body[data-page="contact"] .contact-panel {
    padding:var(--rf-form-pad) !important;
    gap:32px !important;
    min-width:0 !important;
  }
  body[data-page="contact"] .contact-panel > *,
  body[data-page="contact"] .contact-form,
  body[data-page="contact"] .contact-panel__email {min-width:0 !important}
  body[data-page="contact"] .contact-panel__email {
    max-width:100% !important;
    font-size:16px !important;
    line-height:24px !important;
    padding:12px !important;
    gap:8px !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }
  /* Avoid extra height in FAQ and testimonial components. */
  body[data-page] .faq-section .accordion__trigger {
    display:flex !important;align-items:center !important;
    justify-content:space-between !important;
  }
  body[data-page] .faq-section .accordion__trigger span {
    align-self:center !important;
  }
  body[data-page="home"] .journey-list {
    height:auto !important;min-height:0 !important;
  }
  body[data-page="home"] .journey-row {
    height:auto !important;min-height:0 !important;
  }
}
@media (min-width:1024px) and (max-width:1279px) {
  :root {--container-pad:100px;--section-pad:60px}
  body[data-page] main .section {padding-block:var(--rf-section-pad)}
  body[data-page="about"] .about-page .section,
  body[data-page="about"] .about-page .testimonials-section {padding-block:var(--rf-section-pad)}
  body[data-page] main .section__header h2,
  body[data-page] main .faq-section__intro h2,
  body[data-page] main .metrics-section h2,
  body[data-page="about"] main .about-section-heading h2,
  body[data-page="about"] main .about-feature__copy h2,
  body[data-page] main .cta-section h2 {
    font-size:var(--rf-h2) !important;line-height:var(--rf-h2-lh) !important;font-weight:700 !important;
  }
  body[data-page="about"] .about-cta__stage {width:calc(100% - 200px) !important}
  body[data-page="about"] .about-cta__bottom p {font-size:16px !important;line-height:24px !important}
  body[data-page="contact"] .contact-panel {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important}
  body[data-page="contact"] .contact-panel__email {font-size:14px !important;letter-spacing:-.2px}
}
@media (min-width:768px) and (max-width:1023px) {
  :root {--container-pad:60px;--section-pad:48px}
  body[data-page] .container,
  body[data-page="about"] .about-page .container {
    width:calc(100% - 120px) !important;
    max-width:none !important;
    margin-inline:auto !important;
  }
  body[data-page="about"] .about-page .section,
  body[data-page="about"] .about-page .testimonials-section {padding-block:48px}
  body[data-page] main .section__header h2,
  body[data-page] main .faq-section__intro h2,
  body[data-page] main .metrics-section h2,
  body[data-page="about"] main .about-section-heading h2,
  body[data-page="about"] main .about-feature__copy h2,
  body[data-page] main .cta-section h2 {
    font-size:var(--rf-h2) !important;line-height:var(--rf-h2-lh) !important;font-weight:700 !important;
  }
  body[data-page] main :is(.hero h1,.about-hero h1,.contact-hero h1) {
    font-size:var(--rf-h1) !important;line-height:var(--rf-h1-lh) !important;
  }
  body[data-page] main .section__header {margin-bottom:32px !important}
  body[data-page] main .section__header > p:not(.eyebrow) {font-size:16px;line-height:24px}
  body[data-page] main .section__header .eyebrow {margin-bottom:14px !important}
  body[data-page] main .section__header h2 + p {margin-top:18px !important}
  body[data-page="about"] .about-expertise__grid,
  body[data-page="about"] .about-values__grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:20px !important}
  body[data-page="about"] .about-feature,
  body[data-page="about"] .about-feature--reverse {
    display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:32px !important;align-items:center !important;
    height:auto !important;min-height:0 !important;margin-bottom:40px !important;
  }
  body[data-page="about"] .about-feature__art {
    height:auto !important;min-height:0 !important;
    padding:0 !important;background:transparent !important;
  }
  body[data-page="about"] .about-feature__art img {
    display:block !important;width:100% !important;height:auto !important;
    max-height:none !important;object-fit:contain !important;
  }
  body[data-page="about"] .about-cta__stage {width:calc(100% - 120px) !important}
  body[data-page="about"] .about-cta__heading h2 {max-width:100% !important}
  body[data-page="about"] .about-cta__bottom p {font-size:16px !important;line-height:24px !important}
  body[data-page="contact"] .contact-panel {
    grid-template-columns:1fr !important;gap:24px !important;
    padding:var(--rf-form-pad) !important;
  }
  body[data-page="contact"] .contact-panel__email {
    margin-top:20px !important;font-size:16px !important;
  }
  body[data-page] .faq-section__inner {
    display:flex !important;flex-direction:column !important;
    gap:32px !important;
  }
  body[data-page] .faq-section__intro {
    width:100% !important;max-width:none !important;text-align:center !important;
  }
  body[data-page] .faq-section .accordion {
    width:100% !important;max-width:none !important;
  }
  body[data-page="home"] .journey-list {
    display:flex !important;flex-direction:column !important;
    gap:40px !important;
  }
  body[data-page="home"] .journey-row {
    position:relative !important;top:auto !important;
    margin:0 !important;padding:0 !important;
    gap:32px !important;
  }
  body[data-page="home"] .journey-row img {max-width:100%;height:auto}
  body[data-page="home"] .about-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="home"] .cta-section {padding:40px !important}
  body[data-page] main .btn {
    padding:10px 18px !important;
    font-size:16px !important;line-height:24px !important;
  }
  body[data-page="home"] .rf-stories__row,
  body[data-page="about"] .rf-stories__row {
    display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
  }
  body[data-page="home"] .rf-story--wide,
  body[data-page="about"] .rf-story--wide {grid-column:span 2 !important}
  body[data-page="home"] .rf-story,
  body[data-page="about"] .rf-story {
    min-height:0 !important;height:auto !important;padding:20px !important;
  }
  body[data-page="home"] .rf-story-photo,
  body[data-page="about"] .rf-story-photo {height:260px !important}
  body[data-page] .site-header__brand img {height:40px !important;width:auto !important}
}
/* RezFlow 2026-11-22: tablet visual corrections, scoped; desktop untouched. */
@media (min-width:768px) and (max-width:1023px) {
  /* Shared tablet typography, including all metrics and card headings. */
  body[data-page="home"] main .metric-card strong,
  body[data-page="home"] main .metric-card__top strong,
  body[data-page="about"] main .about-facts strong:not(.about-facts__icon) {
    font-size:var(--rf-metric) !important;
    line-height:var(--rf-metric-lh) !important;
  }
  body[data-page="about"] .about-facts__icon {height:var(--rf-metric-lh) !important}
  body[data-page="home"] main .about-card h3,
  body[data-page="home"] main .system-card h3,
  body[data-page="home"] main .benefit-card h3,
  body[data-page="home"] main .journey-row h3,
  body[data-page="about"] main .about-facts h3,
  body[data-page="about"] main .about-value h3,
  body[data-page="about"] main .about-role h3 {
    font-size:20px !important;line-height:28px !important;
  }
  /* Remove link/card pseudo-element overlays that add artificial spacing. */
  body[data-page="home"] .about-card {min-height:0 !important;height:auto !important;padding:0 !important;gap:0 !important;overflow:visible !important}
  body[data-page="home"] .about-card > img {display:block;width:100% !important;height:auto !important;aspect-ratio:512 / 409;object-fit:cover !important;border-radius:16px !important;margin:0 !important}
  body[data-page="home"] .about-card__content {padding:16px 0 0 !important;margin:0 !important;min-height:0 !important;gap:12px !important}
  body[data-page="home"] .about-card__link {margin-top:12px !important;padding-top:0 !important}
  /* Metrics: preserve eyebrow chip padding and align all cards to bottom. */
  body[data-page="home"] .metrics-section {padding-bottom:0 !important}
  body[data-page="home"] .metrics-section .eyebrow {padding:8px 12px !important;min-height:32px !important;gap:10px !important;align-items:center !important}
  body[data-page="home"] .metrics-grid {align-items:end !important}
  body[data-page="home"] .metric-card {margin-bottom:0 !important}
  /* FAQ: heading, chip, CTA and accordion use one centered flow. */
  body[data-page] .faq-section__inner {display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:32px !important}
  body[data-page] .faq-section__intro {display:flex !important;flex-direction:column !important;align-items:center !important;text-align:center !important;gap:0 !important;width:100% !important;max-width:none !important;margin:0 auto !important}
  body[data-page] .faq-section__intro .eyebrow {display:inline-flex !important;align-items:center !important;justify-content:center !important;align-self:center !important;margin:0 auto 14px !important;padding:8px 12px !important}
  body[data-page] .faq-section__intro h2 {width:100% !important;max-width:none !important;text-align:center !important;margin:0 auto !important;font-size:var(--rf-h2) !important;line-height:var(--rf-h2-lh) !important}
  body[data-page] .faq-section__intro > p:not(.eyebrow) {text-align:center !important;margin:18px auto 0 !important;max-width:600px !important}
  body[data-page] .faq-section__intro .btn {align-self:center !important;margin:24px auto 0 !important}
  body[data-page] .faq-section .accordion {width:100% !important;max-width:none !important}
  /* Navigation: center nav independently from unequal logo and CTA widths. */
  body[data-page] .site-header__inner {display:grid !important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;align-items:center !important;gap:12px !important;min-height:0 !important;padding:8px 12px !important}
  body[data-page] .site-header__brand {justify-self:start !important;min-width:0 !important}
  body[data-page] .site-header__brand img {width:auto !important;height:40px !important;max-width:100% !important}
  body[data-page] .site-header .site-nav {position:static !important;transform:none !important;margin:0 !important;justify-self:center !important}
  body[data-page] .site-header .site-nav__list {display:flex !important;gap:16px !important;align-items:center !important;justify-content:center !important;white-space:nowrap !important}
  body[data-page] .site-header .site-nav__link {font-size:14px !important;line-height:20px !important}
  body[data-page] .site-header .site-header__actions {justify-self:end !important;margin:0 !important}
  body[data-page] .site-header .site-header__actions .btn {font-size:14px !important;line-height:20px !important;min-height:44px !important;padding:10px 14px !important;white-space:nowrap !important}
  body[data-page] main .btn {min-height:44px !important;padding:10px 16px !important;font-size:14px !important;line-height:20px !important;display:inline-flex;align-items:center;justify-content:center}
  /* Guest journey: no decorative background or clipping on card edges. */
  body[data-page="home"] .journey-row,body[data-page="home"] .journey-row--reverse {background:transparent !important;box-shadow:none !important;border-radius:0 !important;overflow:visible !important;padding:0 !important}
  body[data-page="home"] .journey-row__content {background:transparent !important;box-shadow:none !important;border-radius:0 !important;overflow:visible !important}
  body[data-page="home"] .journey-row__step {overflow:visible !important}
  body[data-page="home"] .journey-row__step img {overflow:visible !important}
  /* Footer: flexible navigation columns, no narrow fixed tracks. */
  body[data-page] .site-footer__nav {display:grid !important;grid-template-columns:repeat(2,minmax(110px,1fr)) !important;gap:24px !important;min-width:0 !important}
  body[data-page] .site-footer__nav > * {min-width:0 !important}
  body[data-page] .site-footer__nav a {overflow-wrap:normal !important;word-break:normal !important;font-size:14px !important;line-height:22px !important}
  body[data-page] .site-footer__heading {font-size:14px !important;line-height:22px !important}
}
@media (min-width:1024px) and (max-width:1279px) {
  body[data-page] main .btn {min-height:46px !important;padding:10px 18px !important;font-size:16px !important;line-height:24px !important}
  body[data-page="home"] .metrics-section {padding-bottom:0 !important}
  body[data-page="home"] .metrics-section .eyebrow {padding:8px 12px !important;gap:10px !important;align-items:center !important}
  body[data-page="about"] main .about-facts strong:not(.about-facts__icon) {font-size:var(--rf-metric) !important;line-height:var(--rf-metric-lh) !important}
}
/* Figma WEBSITE-768 (13318:2204): measured properties, tablet only.
   Preserve all 1024px+ desktop rules and all <=767px mobile rules. */
@media (min-width:768px) and (max-width:1023px) {
  :root {--container-pad:48px;--section-pad:48px;--rf-h1:36px;--rf-h1-lh:48px;--rf-h2:32px;--rf-h2-lh:46px;--rf-h3:20px;--rf-h3-lh:32px;--rf-form-pad:24px;}
  body[data-page] main .container, body[data-page="about"] .about-page .container {width:calc(100% - 96px)!important;max-width:672px!important;margin-inline:auto!important;}
  body[data-page] main .section,body[data-page="about"] .about-page .section,body[data-page="about"] .about-page .testimonials-section {padding-block:48px!important;}
  body[data-page] main :is(.hero h1,.about-hero h1,.contact-hero h1) {font:700 36px/48px var(--font-heading)!important;}
  body[data-page] main :is(.section__header h2,.faq-section__intro h2,.metrics-section h2,.cta-section h2),
  body[data-page="about"] main :is(.about-section-heading h2,.about-feature__copy h2,.about-cta h2),
  body[data-page="contact"] main .contact-cta h2 {font-size:32px!important;line-height:46px!important;}
  body[data-page="about"] main .about-feature__copy h2 {font-weight:600!important;}
  body[data-page] main :is(.about-card h3,.system-card h3,.benefit h3,.benefit-card h3,.journey-row h3),
  body[data-page="about"] main :is(.about-role h3,.about-value h3) {font-size:20px!important;line-height:32px!important;}
  body[data-page] main :is(.section__header,.faq-section__intro) :is(p,h2) {max-width:100%;white-space:normal;overflow-wrap:normal;}
  /* Figma navbar: white pill 648 x 74 at x=60, y=20; transparent outer header. */
  body[data-page] .site-header,body[data-page] .site-header>.container {background:transparent!important;}
  body[data-page] .site-header__inner {background:rgba(255,255,255,.88)!important;border-radius:999px!important;}
  /* Home hero: top 120px; body section horizontal 48px, vertical 48px. */
  body[data-page="home"] .hero {padding-top:120px!important;padding-bottom:0!important;}
  body[data-page="home"] .about-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}
  body[data-page="home"] .about-grid .about-card {display:grid!important;grid-template-columns:164px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;height:auto!important;min-height:0!important;padding:0!important;}
  body[data-page="home"] .about-grid .about-card>img {width:164px!important;height:157px!important;object-fit:cover!important;border-radius:12px!important;}
  body[data-page="home"] .about-grid .about-card__content {padding:0!important;min-width:0!important;}
  body[data-page="home"] .about-grid .about-card__link {margin-top:12px!important;}
  body[data-page="home"] .benefits-grid {gap:24px!important;}
  body[data-page="home"] .metrics-section {padding-bottom:0!important;}
  body[data-page="home"] .journey-list {gap:60px!important;}
  body[data-page="home"] .journey-row,body[data-page="home"] .journey-row--reverse {border-radius:0!important;overflow:visible!important;box-shadow:none!important;background:transparent!important;}
  /* About hero 120px top, 48px bottom; founder frame uses 4+4+18px nested padding. */
  body[data-page="about"] .about-hero {min-height:0!important;padding:120px 0 48px!important;}
  body[data-page="about"] .about-hero__inner {min-height:0!important;}
  body[data-page="about"] .about-hero__visual {margin-top:24px!important;}
  body[data-page="about"] .about-founder {padding:26px!important;}
  body[data-page="about"] .about-expertise__grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important;}
  body[data-page="about"] .about-role {height:auto!important;min-height:0!important;}
  /* Figma comparison: 672px viewport deliberately contains a 1000px table; scroll horizontally.
     Never squash the columns into 672px or clip their text. */
  body[data-page="about"] .about-comparison {width:100%!important;max-width:672px!important;overflow-x:auto!important;overflow-y:hidden!important;}
  body[data-page="about"] .about-comparison table {width:1000px!important;min-width:1000px!important;table-layout:auto!important;}
  body[data-page="about"] .about-comparison th,body[data-page="about"] .about-comparison td {font-size:16px!important;line-height:24px!important;white-space:normal!important;overflow-wrap:normal!important;padding:20px!important;}
  body[data-page="about"] .about-cta__stage {max-width:672px!important;margin-inline:auto!important;}
  /* Contact Figma: 120px hero top, form 672px wide with 32px top/bottom, 24px sides.
     Info centered above two-column input rows (302px each), then full-width textarea. */
  body[data-page="contact"] .contact-hero {padding:120px 0 48px!important;}
  body[data-page="contact"] .contact-hero__copy {margin-bottom:60px!important;}
  body[data-page="contact"] .contact-hero__copy>p {font-size:16px!important;line-height:24px!important;}
  body[data-page="contact"] .contact-panel {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:32px 24px!important;}
  body[data-page="contact"] .contact-panel__info {display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;}
  body[data-page="contact"] .contact-panel__info>p {max-width:624px!important;text-align:center!important;}
  body[data-page="contact"] .contact-panel__email {margin-top:24px!important;max-width:100%!important;font-size:16px!important;line-height:24px!important;}
  body[data-page="contact"] .contact-form {width:100%!important;min-width:0!important;}
  body[data-page="contact"] .contact-form__grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:20px!important;row-gap:20px!important;}
  body[data-page="contact"] .contact-form__grid>.contact-field:last-child:nth-child(odd) {grid-column:1/-1;}
  body[data-page="contact"] .contact-cta__video,body[data-page="contact"] .contact-cta__media {width:100%!important;max-width:100%!important;}
  body[data-page] .faq-section__intro,body[data-page] .faq-section__intro h2 {text-align:center!important;}
  body[data-page] .faq-section__intro .eyebrow {align-self:center!important;}
}
/* 2026-11-22 Figma 768px correction: scoped overrides, no desktop impact. */
@media (min-width:768px) and (max-width:1023px) {
  /* Home: Figma metrics cards touch the bottom edge; 3 + 1 layout. */
  body[data-page="home"] .metrics-section {padding-bottom:0!important;overflow:hidden!important;}
  body[data-page="home"] .metrics-section__inner {width:calc(100% - 96px)!important;max-width:672px!important;padding-bottom:0!important;margin-inline:auto!important;}
  body[data-page="home"] .metrics-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;margin-bottom:0!important;padding-bottom:0!important;}
  body[data-page="home"] .metrics-grid .metric-card {min-width:0!important;height:151px!important;min-height:0!important;padding:18px!important;border-radius:12px 12px 0 0!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;}
  body[data-page="home"] .metrics-grid .metric-card:nth-child(3) {order:1!important;}
  body[data-page="home"] .metrics-grid .metric-card:nth-child(4) {order:2!important;}
  body[data-page="home"] .metrics-grid .metric-card:nth-child(1) {order:3!important;}
  body[data-page="home"] .metrics-grid .metric-card:nth-child(2) {order:4!important;grid-column:1/-1!important;height:147px!important;}
  body[data-page="home"] .metrics-grid .metric-card__top {flex:0 0 auto!important;}
  body[data-page="home"] .metrics-grid .metric-card__details,body[data-page="home"] .metrics-grid .metric-card:nth-child(4) .metric-card__details {display:block!important;flex:0 0 auto!important;margin-top:auto!important;padding-top:8px!important;}
  body[data-page="home"] .metrics-grid .metric-card__details h3 {font:600 18px/28px var(--font-body)!important;margin:0!important;}
  body[data-page="home"] .metrics-grid .metric-card__details p {font:400 14px/20px var(--font-body)!important;margin-top:4px!important;}
  body[data-page="home"] .metrics-grid .metric-card__top strong {font:700 36px/42px var(--font-body)!important;}
  /* Home hero: Figma specifies 40px between copy/actions and illustration. */
  body[data-page="home"] .hero__content {gap:40px!important;}
  body[data-page="home"] .hero__collage {margin-top:40px!important;}
  /* About hero: no extra 100px stage below collage. */
  body[data-page="about"] .about-hero {min-height:0!important;padding:120px 0 48px!important;background-position:center top!important;}
  body[data-page="about"] .about-hero__inner {min-height:0!important;}
  body[data-page="about"] .about-hero__copy p {margin-top:16px!important;}
  body[data-page="about"] .about-hero__visual {height:184.23px!important;margin-top:40px!important;max-width:422px!important;}
  body[data-page="about"] .about-hero__mock {width:100%!important;max-width:422px!important;bottom:0!important;}
  body[data-page="about"] .about-float--occupancy,body[data-page="about"] .about-float--revenue,body[data-page="about"] .about-hero__card--left,body[data-page="about"] .about-hero__card--right {display:none!important;}
  /* About founder metrics: value followed by label, with 16px separation. */
  body[data-page="about"] .about-facts {gap:0!important;padding:18px!important;}
  body[data-page="about"] .about-facts>div {min-height:0!important;justify-content:flex-start!important;gap:0!important;padding:0!important;}
  body[data-page="about"] .about-facts h3 {margin-top:16px!important;padding-top:0!important;font:600 18px/28px var(--font-heading)!important;}
  body[data-page="about"] .about-facts p {margin-top:4px!important;font:500 16px/24px var(--font-body)!important;}
  body[data-page="about"] .about-facts strong:not(.about-facts__icon) {font:700 32px/46px var(--font-body)!important;}
  body[data-page="about"] .about-facts__icon {height:46px!important;}
  /* Mission and Vision remain semantic H2, matching 32/46 Sora 600. */
  body[data-page="about"] .about-mission .about-feature__copy h2 {font:600 32px/46px var(--font-heading)!important;}
  /* Contact form: center submit without altering fields. */
  body[data-page="contact"] .contact-form__footer {display:flex!important;flex-direction:column!important;align-items:center!important;}
  body[data-page="contact"] .contact-form__footer .btn[type="submit"] {align-self:center!important;margin-inline:auto!important;}
}
@media (max-width:767px) {
  body[data-page="about"] .about-float--occupancy,body[data-page="about"] .about-float--revenue,body[data-page="about"] .about-hero__card--left,body[data-page="about"] .about-hero__card--right {display:none!important;}
}

/* RezFlow review corrections - 2026-11-22. Scoped to pages and breakpoints. */

/* Navbar fix: transparent full-width host; 88% white glass only on pill. */
body[data-page] .site-header,
body[data-page] .site-header.is-scrolled {
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
body[data-page] .site-header__inner {
  background:rgba(255,255,255,.88)!important;
  -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
  backdrop-filter:blur(32px) saturate(145%)!important;
  border-radius:999px!important;
}

/* Shared section chips: fixed Figma internal padding and 4px chip-to-title spacing. */
body[data-page] main :is(.section__header,.metrics-section__intro,.faq-section__intro,.about-section-heading,.about-cta__heading,.contact-cta__heading) > :is(.eyebrow,.about-chip) {
  margin-top:0!important;
  margin-bottom:4px!important;
  padding:8px 12px!important;
}
body[data-page] main :is(.section__header,.metrics-section__intro,.faq-section__intro,.about-section-heading) > h2 {
  margin-top:0!important;
}
body[data-page="about"] main .about-feature__copy .about-chip {padding:8px 12px!important;}

/* Mission and vision: image frame has no extra blue gradient or fixed height. */
@media(min-width:1280px) {
  body[data-page="about"] .about-mission .about-feature__art {
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    background:none!important;
    display:block!important;
    overflow:hidden!important;
    border-radius:24px!important;
  }
  body[data-page="about"] .about-mission .about-feature__art img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    filter:none!important;
  }
  body[data-page="about"] .about-mission .about-feature__copy h2 {
    font:600 48px/60px var(--font-heading)!important;
    margin:12px 0 24px!important;
  }
}

/* 1024 laptop band: restore Figma card edges, spacing and CTA. */
@media(min-width:1024px) and (max-width:1279px) {
  body[data-page="home"] .about-section .about-grid {
    padding-inline:0!important;
    margin-inline:0!important;
    gap:24px!important;
    width:100%!important;
  }
  body[data-page="home"] .about-section .about-card {margin-inline:0!important;min-width:0!important;}
  body[data-page="home"] .about-section .about-card h3 {font:600 18px/28px var(--font-heading)!important;}
  body[data-page="home"] .about-section .section__header {row-gap:4px!important;}
  body[data-page="home"] .about-section .section__header .eyebrow {margin:0 0 4px!important;}
  body[data-page="about"] .about-founder {padding:32px!important;}
  body[data-page="about"] .about-cta__heading {
    width:calc(100% - 200px)!important;
    max-width:none!important;
    margin-inline:100px!important;
  }
  body[data-page="about"] .about-cta__heading h2 {max-width:100%!important;}
  body[data-page="about"] .about-cta__clouds {
    width:100vw!important;
    max-width:none!important;
    object-fit:fill!important;
  }
  body[data-page="home"] .cta-section #cta-title {
    max-width:850px!important;
    margin-inline:auto!important;
    text-wrap:balance!important;
  }
  body[data-page="home"] .cta-section p:not(.eyebrow) {
    max-width:600px!important;
    margin-inline:auto!important;
  }
}

/* Tablet: no 48px padding inside metrics artwork; Figma typography. */
@media(min-width:768px) and (max-width:1023px) {
  body[data-page="home"] .metrics-section__inner {
    padding:0!important;
  }
  body[data-page="home"] .metrics-section .metrics-grid {
    padding-inline:0!important;
  }
  body[data-page="home"] .about-section .section__header {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:4px!important;
  }
  body[data-page="home"] .about-section .section__header > p:not(.eyebrow) {
    width:100%!important;
    max-width:672px!important;
    margin:12px 0 0!important;
    font:500 16px/24px var(--font-body)!important;
  }
  body[data-page="home"] .about-section .section__header h2 {
    font:700 32px/46px var(--font-heading)!important;
  }
  body[data-page="home"] .about-section .about-card h3,
  body[data-page="home"] main :is(.system-card h3,.benefit-card h3,.journey-row h3) {
    font-size:18px!important;
    line-height:28px!important;
  }
  body[data-page="home"] .about-section .about-card__link {
    display:inline-flex!important;
    align-self:flex-start!important;
    margin-top:12px!important;
    padding-top:0!important;
  }
  body[data-page="home"] .about-section .about-card__content {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  body[data-page="home"] .about-section .about-card__content p {
    margin-bottom:0!important;
  }
}
/* MOBILE NAV REPAIR: strictly below 1024px; desktop 1440/1920 untouched. */
@media (min-width:768px) and (max-width:1023px) {
 body[data-page] .site-header__inner,body[data-page="home"] .site-header__inner {
  background:rgba(255,255,255,.88)!important;
  -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
  backdrop-filter:blur(32px) saturate(145%)!important;
  border-radius:999px!important;
 }
 body[data-page] .site-header,body[data-page] .site-header>.container:not(.site-header__inner){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
}
@media (max-width:767px) {
 body[data-page] .site-header__inner,body[data-page="home"] .site-header__inner {
  position:relative!important;display:flex!important;justify-content:space-between!important;
  background:rgba(255,255,255,.88)!important;
  -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
  backdrop-filter:blur(32px) saturate(145%)!important;
  border-radius:999px!important;z-index:1!important;
 }
 body[data-page] .site-header .site-header__actions {display:flex!important;align-items:center!important;justify-self:auto!important;margin-left:auto!important;}
 body[data-page] .site-header .nav-toggle {display:flex!important;position:relative!important;z-index:1003!important;cursor:pointer!important;}
 body[data-page] .site-header .site-nav,body[data-page="home"] .site-header .site-nav {
  position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;
  width:100vw!important;height:100dvh!important;max-height:none!important;
  margin:0!important;padding:88px 24px 32px!important;display:flex!important;
  flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  background:#fff!important;box-shadow:-20px 0 50px rgba(8,17,32,.12)!important;
  border-radius:0!important;z-index:1000!important;overflow-y:auto!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateX(100%)!important;transition:transform .3s ease,opacity .3s ease,visibility .3s ease!important;
 }
 body[data-page] .site-header .site-nav.is-open {opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(0)!important;}
 body[data-page] .site-header .site-nav__list {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:24px 0 0!important;margin:0!important;white-space:normal!important;}
 body[data-page] .site-header .site-nav__link {display:block!important;padding:14px 8px!important;font:600 18px/28px var(--font-body)!important;text-align:center!important;}
 body[data-page] .site-header .site-nav__link[aria-current="page"]::after {left:calc(50% - 28px)!important;right:auto!important;width:56px!important;}
 body[data-page] .site-header .mobile-nav__brand {display:flex!important;justify-content:center!important;align-items:center!important;margin:0 auto!important;}
 body[data-page] .site-header .mobile-nav__brand img {width:170px!important;height:auto!important;max-height:54px!important;}
 body[data-page] .site-header .mobile-nav__demo {display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;margin:24px 0 0!important;min-height:52px!important;}
 body[data-page] .site-header .mobile-nav__close {display:flex!important;position:absolute!important;top:22px!important;right:24px!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;background:transparent!important;border:0!important;font-size:32px!important;line-height:1!important;color:#081120!important;cursor:pointer!important;}
 body[data-page] .site-header .site-header__inner:has(.site-nav.is-open) {background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
 body[data-page] .site-header .site-header__inner:has(.site-nav.is-open) > .site-header__brand,
 body[data-page] .site-header .site-header__inner:has(.site-nav.is-open) > .site-header__actions {visibility:hidden!important;}
 body[data-page].mobile-nav-open {overflow:hidden!important;}
}
@media (min-width:768px) {
 body[data-page] .site-header .mobile-nav__brand,body[data-page] .site-header .mobile-nav__demo,body[data-page] .site-header .mobile-nav__close {display:none!important;}
}
/* 768px Figma layout pass - tablet only. Do not modify 1440/1920. */
@media (min-width:768px) and (max-width:1023px) {
  /* The frosted surface belongs to the rounded navigation, never the full strip. */
  body[data-page] .site-header,
  body[data-page] .site-header::before,
  body[data-page] .site-header::after {
    background:transparent!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  body[data-page] .site-header__inner {
    background-color:rgba(255,255,255,.88)!important;
    -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
    backdrop-filter:blur(32px) saturate(145%)!important;
    isolation:isolate;
  }
  /* Figma 768 uses a 672px content column, including the hero-to-cards section. */
  body[data-page] main .container,
  body[data-page="about"] .about-page .container {
    width:calc(100% - 96px)!important;
    max-width:672px!important;
  }
  body[data-page] main .section__header,
  body[data-page] main .metrics-section__heading,
  body[data-page] main .faq-section__intro,
  body[data-page="about"] main .about-section-heading {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    gap:0!important;
  }
  body[data-page] main .section__header > .eyebrow,
  body[data-page] main .metrics-section__heading > .eyebrow,
  body[data-page] main .faq-section__intro > .eyebrow,
  body[data-page="about"] main .about-section-heading > .about-chip {
    margin:0 0 4px!important;
    align-self:center!important;
  }
  body[data-page] main .section__header > h2,
  body[data-page] main .metrics-section__heading > h2,
  body[data-page] main .faq-section__intro > h2 {
    margin:0!important;
    font:700 32px/46px var(--font-heading)!important;
    max-width:100%!important;
  }
  body[data-page] main .section__header > p:not(.eyebrow),
  body[data-page] main .metrics-section__copy > p,
  body[data-page] main .faq-section__intro > p:not(.eyebrow) {
    font:400 18px/28px var(--font-body)!important;
    max-width:672px!important;
    margin:12px auto 0!important;
    text-align:center!important;
  }
  /* The Connect / Operate / Grow header is stacked, not a split row. */
  body[data-page="home"] .about-section .section__header {
    display:flex!important;flex-direction:column!important;
    align-items:center!important;text-align:center!important;
    gap:0!important;margin-bottom:32px!important;
  }
  body[data-page="home"] .about-section .section__header > p:not(.eyebrow) {
    font:400 18px/28px var(--font-body)!important;
    max-width:672px!important;margin:12px auto 0!important;
    text-align:center!important;
  }
  body[data-page="home"] .about-section .about-grid {
    display:grid!important;grid-template-columns:1fr!important;
    width:100%!important;max-width:100%!important;
    margin:0!important;padding:0!important;gap:24px!important;
  }
  body[data-page="home"] .about-section .about-card {
    display:grid!important;grid-template-columns:164px minmax(0,1fr)!important;
    align-items:center!important;gap:16px!important;
    padding:0!important;margin:0!important;min-height:0!important;
  }
  body[data-page="home"] .about-section .about-card > img {
    width:164px!important;height:157px!important;aspect-ratio:auto!important;
    object-fit:cover!important;margin:0!important;
  }
  body[data-page="home"] .about-section .about-card__content {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    padding:0!important;gap:8px!important;
  }
  body[data-page="home"] .about-section .about-card h3,
  body[data-page="home"] .system-card h3,
  body[data-page="home"] .benefit h3,
  body[data-page="home"] .journey-row h3 {
    font-size:18px!important;line-height:28px!important;
  }
  body[data-page="home"] .about-section .about-card__content p {
    font-size:18px!important;line-height:28px!important;margin:0!important;
  }
  body[data-page="home"] .about-section .about-card__link {
    margin:12px 0 0!important;align-self:start!important;
  }
  /* Keep the tablet section breathing below the metric cards. */
  body[data-page="home"] .metrics-section {padding-bottom:48px!important;}
  body[data-page="home"] .metrics-section__inner,
  body[data-page="home"] .metrics-grid {padding-bottom:0!important;margin-bottom:0!important;}
  /* Mission and vision imagery hugs its image, without the extra frame gradient. */
  body[data-page="about"] .about-mission .about-feature__art {
    display:block!important;height:auto!important;min-height:0!important;
    padding:0!important;background:none!important;overflow:hidden!important;
  }
  body[data-page="about"] .about-mission .about-feature__art img {
    display:block!important;width:100%!important;height:auto!important;
    max-height:none!important;object-fit:contain!important;filter:none!important;
  }
  /* Contact form follows Figma: centered introduction, paired fields and full-width query. */
  body[data-page="contact"] .contact-panel {grid-template-columns:1fr!important;padding:32px 24px!important;}
  body[data-page="contact"] .contact-form__grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:20px!important;
  }
  body[data-page="contact"] .contact-form__grid > .contact-field:last-child {grid-column:1/-1!important;}
}
/* 768px Figma hero spacing repair (2026-11-22).
   Scoped exclusively to tablet: 1440/1920 and mobile remain untouched.
   Previous tablet overrides added a 40px flex gap AND a 40px collage margin,
   while desktop's lead/actions margins remained active. */
@media (min-width:768px) and (max-width:1023px) {
  body[data-page="home"] .hero {
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    min-height:0!important;
    padding-top:120px!important;
    padding-bottom:0!important;
    gap:40px!important;
  }
  body[data-page="home"] .hero__content {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:calc(100% - 96px)!important;
    max-width:672px!important;
    gap:0!important;
    margin:0 auto!important;
    padding:0!important;
  }
  body[data-page="home"] .hero__content h1 {
    font:700 36px/48px var(--font-heading)!important;
    letter-spacing:normal!important;
    margin:0!important;
    max-width:672px!important;
  }
  body[data-page="home"] .hero__lead {
    font:400 16px/24px var(--font-body)!important;
    margin:10px 0 0!important;
    max-width:672px!important;
  }
  body[data-page="home"] .hero__actions {
    margin:20px 0 0!important;
    gap:16px!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
  }
  body[data-page="home"] .hero__actions .btn {
    min-height:48px!important;
    padding:12px 20px!important;
    font:600 16px/24px var(--font-body)!important;
  }
  body[data-page="home"] .hero__collage {
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }
  body[data-page="home"] .hero__collage img {
    display:block!important;
    width:100%!important;
    height:auto!important;
  }
  /* Maintain the approved frosted-white navbar at the 768 breakpoint. */
  body[data-page] .site-header__inner {
    background:rgba(255,255,255,.88)!important;
    backdrop-filter:blur(32px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
  }
  /* Contact text styles from the supplied 768px Figma export. */
  body[data-page="contact"] .contact-hero__copy h1 {
    font:700 36px/48px var(--font-heading)!important;
  }
  body[data-page="contact"] .contact-hero__copy > p {
    font:400 16px/24px var(--font-body)!important;
  }
  body[data-page="contact"] .contact-panel__info h2 {
    font:700 24px/36px var(--font-heading)!important;
  }
  body[data-page="contact"] .contact-panel__info > p {
    font:400 16px/24px var(--font-body)!important;
  }
  body[data-page="contact"] .contact-panel__email {
    font:600 16px/24px var(--font-body)!important;
  }
}
/* Final scoped correction: mobile 320-425px only. Desktop/tablet approved layouts untouched. */
@media (min-width:320px) and (max-width:425px) {
  body[data-page] main h1,
  body[data-page="home"] main .hero h1,
  body[data-page="about"] main .about-hero h1,
  body[data-page="contact"] main .contact-hero__copy h1 {
    font-family:var(--font-heading)!important;
    font-size:32px!important;
    line-height:44px!important;
  }
  body[data-page] main h2,
  body[data-page="home"] main .section__header h2,
  body[data-page="home"] main .metrics-section h2,
  body[data-page="about"] main .about-feature h2,
  body[data-page="contact"] main .contact-cta h2,
  body[data-page="contact"] main .faq-section__intro h2 {
    font-family:var(--font-heading)!important;
    font-size:24px!important;
    line-height:36px!important;
  }
  body[data-page] main h3,
  body[data-page="home"] main .about-card h3,
  body[data-page="home"] main .system-card h3,
  body[data-page="home"] main .journey-row h3 {
    font-size:18px!important;
    line-height:28px!important;
  }
  body[data-page="home"] main .metric-card strong,
  body[data-page="about"] main .about-facts strong {
    font-size:24px!important;
    line-height:36px!important;
  }
  body[data-page] main .eyebrow,
  body[data-page] main .about-chip {
    display:inline-flex!important;
    align-items:center!important;
    gap:10px!important;
  }
  body[data-page] main .eyebrow > :is(svg,img),
  body[data-page] main .about-chip > :is(svg,img) {
    flex:none!important;
  }
}

/* Final scoped correction: 768-1023px frosted surface belongs to the pill only. */
@media (min-width:768px) and (max-width:1023px) {
  body[data-page] .site-header,
  body[data-page] .site-header::before,
  body[data-page] .site-header::after {
    background-color:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  body[data-page] .site-header .site-header__inner,
  body[data-page="home"] .site-header .site-header__inner {
    background:rgba(255,255,255,.88)!important;
    backdrop-filter:blur(32px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(32px) saturate(145%)!important;
    border-radius:999px!important;
  }
}

/* Figma mobile footer: only 320ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ425px. All wider breakpoints remain unchanged. */
@media (min-width:320px) and (max-width:425px) {
  body[data-page] .site-footer {
    background:#F8FBFF!important;
    border-top:4px solid #0456EC!important;
    padding:36px 24px 10px!important;
    overflow:hidden!important;
  }
  body[data-page] .site-footer > .container {
    width:100%!important; max-width:none!important;
    margin:0!important; padding:0!important;
    display:flex!important; flex-direction:column!important;
    align-items:stretch!important; gap:24px!important;
  }
  body[data-page] .site-footer__top {
    display:flex!important; flex-direction:column!important;
    align-items:stretch!important; gap:24px!important;
    padding:0!important; margin:0!important;
  }
  body[data-page] .site-footer__brand {
    width:100%!important; max-width:none!important; min-width:0!important;
    display:flex!important; flex-direction:column!important;
    align-items:center!important; gap:10px!important;
    margin:0!important;
  }
  body[data-page] .site-footer__brand img {
    width:208px!important; height:53px!important;
    max-width:100%!important; object-fit:contain!important;
  }
  body[data-page] .site-footer__brand p {
    margin:0!important; max-width:none!important; width:100%!important;
    color:#4D4D4D!important; text-align:center!important;
    font:400 14px/20px var(--font-body)!important;
  }
  body[data-page] .site-footer__nav {
    display:flex!important; flex-direction:column!important;
    align-items:stretch!important; gap:0!important;
    width:100%!important; min-width:0!important;
  }
  body[data-page] .site-footer__nav > div {width:100%!important; min-width:0!important;}
  body[data-page] .site-footer__heading {display:none!important;}
  body[data-page] .site-footer__nav ul {
    display:flex!important; flex-direction:column!important;
    gap:0!important; padding:0!important; margin:0!important;
    list-style:none!important;
  }
  body[data-page] .site-footer__nav li {margin:0!important; padding:0!important;}
  body[data-page] .site-footer__nav a {
    display:block!important; width:fit-content!important;
    color:#4D4D4D!important; font:600 16px/24px var(--font-body)!important;
    text-decoration:none!important; padding:0!important; margin:0!important;
  }
  body[data-page] .site-footer__nav a[href*="#query-form"] {color:#254B91!important;}
  body[data-page] .site-footer__bottom {
    display:flex!important; flex-direction:column!important;
    align-items:center!important; justify-content:center!important;
    gap:12px!important; padding:0!important; margin:0!important;
    border:0!important;
  }
  body[data-page] .site-footer__legal {
    margin:0!important; padding:0!important;
    font:400 14px/20px var(--font-body)!important;
    color:#666666!important; text-align:center!important;
  }
  body[data-page] .footer-status-dot {
    display:inline-block!important; width:6px!important; height:6px!important;
    margin-right:8px!important; vertical-align:middle!important;
    border-radius:50%!important; background:#029B29!important;
    box-shadow:0 0 0 1.54px rgba(2,155,41,.33)!important;
  }
  body[data-page] .site-footer__wordmark {
    display:block!important; width:100%!important; max-width:356px!important;
    height:auto!important; max-height:40.08px!important;
    object-fit:contain!important; margin:0 auto!important;
    opacity:.30!important;
  }
  body[data-page] .footer-legal-desktop {display:none!important;}
  body[data-page] .footer-legal-mobile {display:inline!important;}
}
@media (min-width:426px) {
  .footer-legal-mobile {display:none;}
}
/* Mobile footer Figma: four links in a left-aligned 2x2 grid. */
@media (min-width:320px) and (max-width:425px) {
  body[data-page] .site-footer__nav {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:16px!important;
    row-gap:0!important;
    align-items:start!important;
  }
  body[data-page] .site-footer__nav > div {
    display:contents!important;
  }
  body[data-page] .site-footer__nav ul {
    display:contents!important;
  }
  body[data-page] .site-footer__nav li {
    display:block!important;
    min-width:0!important;
  }
  body[data-page] .site-footer__nav li:nth-child(1) { grid-row:1; }
  body[data-page] .site-footer__nav li:nth-child(2) { grid-row:2; }
  body[data-page] .site-footer__nav > div:first-child li { grid-column:1; }
  body[data-page] .site-footer__nav > div:last-child li { grid-column:2; }
  body[data-page] .site-footer__nav a {
    display:block!important;
    width:100%!important;
    text-align:left!important;
    white-space:normal!important;
  }
}
/* About Us mobile hero: remove unintended space above collage only. */
@media (min-width:320px) and (max-width:425px) {
  body[data-page="about"] .about-hero__visual {
    margin-top:0!important;
  }
}
/* About hero collage: size the stage to the actual 1064x482 artwork,
   rather than reserving an empty 250px/184px absolute-positioned stage.
   Scoped to mobile/tablet; approved >=1024px layouts are untouched. */
@media (min-width:320px) and (max-width:767px) {
  body[data-page="about"] .about-hero {
    min-height:0!important;
    height:auto!important;
  }
  body[data-page="about"] .about-hero__inner {
    min-height:0!important;
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
  }
  body[data-page="about"] .about-hero__visual {
    width:100%!important;
    max-width:422px!important;
    height:auto!important;
    min-height:0!important;
    margin:24px auto 0!important;
    display:block!important;
    position:relative!important;
  }
  body[data-page="about"] .about-hero__mock {
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    display:block!important;
  }
  body[data-page="about"] .about-hero__mock img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }
}
@media (min-width:768px) and (max-width:1023px) {
  body[data-page="about"] .about-hero__visual {
    height:auto!important;
    min-height:0!important;
    max-width:422px!important;
    width:100%!important;
    margin:40px auto 0!important;
  }
  body[data-page="about"] .about-hero__mock {
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
  }
  body[data-page="about"] .about-hero__mock img {
    display:block!important;
    width:100%!important;
    height:auto!important;
  }
}

/* Mobile hero correction: Home/About only. Desktop and Contact remain locked. */
@media (min-width:320px) and (max-width:767px) {
  body[data-page="home"] main .hero,
  body[data-page="about"] main .about-hero {
    padding-top:120px!important;
  }
  body[data-page="home"] main .hero__content,
  body[data-page="about"] main .about-hero__copy {
    box-sizing:border-box!important;
    width:calc(100% - 48px)!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:auto!important;
  }
  body[data-page="home"] main .hero__content > h1,
  body[data-page="home"] main .hero__lead,
  body[data-page="about"] main .about-hero__copy > h1,
  body[data-page="about"] main .about-hero__copy > p {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
}

/* Homepage-only mobile corrections. No changes to tablet or desktop. */
@media (min-width: 320px) and (max-width: 425px) {
  /* Show only two text-only hotel testimonial cards. */
  body[data-page="home"] .testimonials-section .rf-stories__row,
  body[data-page="home"] .testimonials-section .rf-stories__row:nth-child(2) {
    display: contents !important;
  }
  body[data-page="home"] .testimonials-section .rf-stories {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  body[data-page="home"] .testimonials-section .rf-story,
  body[data-page="home"] .testimonials-section .rf-story-photo {
    display: none !important;
  }
  body[data-page="home"] .testimonials-section .rf-stories__row:first-child > article.rf-story:nth-child(1),
  body[data-page="home"] .testimonials-section .rf-stories__row:first-child > article.rf-story:nth-child(2) {
    display: flex !important;
    grid-column: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* Each guest journey item: image, icon, heading, body, bullets, CTA. */
  body[data-page="home"] .journey-section .journey-row,
  body[data-page="home"] .journey-section .journey-row--reverse {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    box-shadow: none !important;
    filter: none !important;
    min-height: 0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
  }
  body[data-page="home"] .journey-section .journey-row > img {
    order: -1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: none !important;
    filter: none !important;
  }
  body[data-page="home"] .journey-section .journey-row__content {
    order: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
  body[data-page="home"] .journey-section .journey-row__content > * {
    max-width: 100% !important;
  }
}

/* About Us: match the approved homepage testimonial behavior on mobile only. */
@media (min-width: 320px) and (max-width: 425px) {
  body[data-page="about"] .testimonials-section .rf-stories__row {
    display: contents !important;
  }
  body[data-page="about"] .testimonials-section .rf-stories {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  body[data-page="about"] .testimonials-section .rf-story,
  body[data-page="about"] .testimonials-section .rf-story-photo {
    display: none !important;
  }
  body[data-page="about"] .testimonials-section .rf-stories__row:first-child > article.rf-story:nth-child(1),
  body[data-page="about"] .testimonials-section .rf-stories__row:first-child > article.rf-story:nth-child(2) {
    display: flex !important;
    grid-column: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
}
