:root {
  --ink: #10100e !important;
  --paper: #f3ecdf !important;
  --lime: #c6a044 !important;
  --orange: #c6a044 !important;
  --teal: #29271f !important;
  --deep-teal: #151511 !important;
  --line: rgb(16 16 14 / 24%) !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline-color: var(--lime) !important;
}

.demo4-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.demo4-form-error-summary {
  margin: 9px 2px 0;
  color: #6d220f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.demo4-form-error-summary[hidden] {
  display: none !important;
}

html.demo4-menu-scroll-locked,
html.demo4-menu-scroll-locked body,
html.demo4-video-open,
html.demo4-video-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

html.demo4-menu-scroll-locked body {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

.demo4-brand-logo {
  display: block;
  width: clamp(154px, 13vw, 196px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
  transition: filter 220ms ease, opacity 220ms ease;
}

footer .demo4-brand-logo {
  width: clamp(174px, 15vw, 216px);
  max-height: 52px;
}

.hero-kicker,
.hero-copy-layer h1.demo4-hero-title,
.scroll-hint {
  color: var(--ink) !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
}

.hero-copy-layer {
  transition: opacity 160ms ease, visibility 160ms ease;
}

html.demo4-hero-dark-stage .hero-copy-layer {
  visibility: hidden !important;
  opacity: 0 !important;
}

.hero-index {
  display: none !important;
}

.site-header {
  color: var(--ink) !important;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-header .nav-cta {
  display: none !important;
}

.site-header:not(.demo4-header-on-dark):not(:has(.nav-links--open)) .demo4-brand-logo {
  filter: brightness(0) saturate(100%);
}

.site-header:has(.nav-links--open),
.site-header.demo4-header-on-dark {
  color: #fff !important;
}

.site-header:has(.nav-links--open) .demo4-brand-logo,
.site-header.demo4-header-on-dark .demo4-brand-logo {
  filter: none;
}

@media (max-width: 620px) {
  .site-header {
    background: transparent !important;
  }

  .site-header:has(.nav-links--open),
  .site-header.demo4-header-on-dark {
    background: rgb(16 16 14 / 94%) !important;
  }
}

.site-header.demo4-header-on-dark,
html.demo4-hero-dark-stage .scroll-hint {
  color: #fff !important;
  text-shadow: 0 1px 14px rgb(0 0 0 / 38%) !important;
}

.hero-copy-layer h1.demo4-hero-title {
  width: min(50vw, 820px);
  max-width: 50vw;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: none;
  text-wrap: balance;
}

.hero-copy-layer h1.demo4-hero-title span {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  color: var(--lime);
  transform: none;
  transform-origin: left center;
  white-space: normal;
}

.demo4-hero-attribution {
  width: fit-content;
  margin: clamp(20px, 2.1vw, 32px) 0 0;
  color: var(--lime);
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transform-origin: left center;
  will-change: transform, opacity;
}

/* The supporting sentence was removed from the desktop Hero brief. */
.hero-description {
  display: none !important;
}

.hero > .hero-cta {
  display: none !important;
}

.demo4-hero-lead-form {
  position: absolute;
  z-index: 16;
  left: clamp(20px, 4.6vw, 68px);
  bottom: clamp(58px, 10vh, 96px);
  width: min(34.35vw, 500px);
  min-width: 360px;
  padding: 26px 44px;
  border: 1.5px solid rgb(255 255 255 / 74%);
  border-radius: 28px;
  background: linear-gradient(135deg, rgb(255 255 255 / 82%), rgb(243 236 223 / 72%));
  box-shadow: 0 20px 55px rgb(16 16 14 / 14%), inset 0 1px 0 rgb(255 255 255 / 58%);
  color: var(--ink);
  contain: layout style;
  isolation: isolate;
  pointer-events: auto;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.demo4-hero-lead-form__title {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.demo4-hero-lead-form__rule {
  display: block;
  width: 50px;
  height: 2px;
  margin: 10px 0 14px;
  background: var(--lime);
}

.demo4-hero-lead-field {
  display: flex;
  min-width: 0;
  height: 58px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgb(16 16 14 / 11%);
  border-radius: 14px;
  background: rgb(255 255 255 / 74%);
  box-shadow: 0 5px 18px rgb(16 16 14 / 6%), inset 0 1px 0 rgb(255 255 255 / 70%);
  cursor: text;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.demo4-hero-lead-field + .demo4-hero-lead-field {
  margin-top: 12px;
}

.demo4-hero-lead-field:focus-within {
  border-color: var(--lime);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 0 0 3px rgb(198 160 68 / 20%), 0 6px 20px rgb(16 16 14 / 8%);
}

.demo4-hero-lead-field:has(input[aria-invalid="true"]),
.demo4-contact-field:has(input[aria-invalid="true"]) {
  border-color: #8f2d17 !important;
  box-shadow: 0 0 0 3px rgb(143 45 23 / 14%);
}

.demo4-hero-lead-field svg {
  flex: 0 0 22px;
  color: var(--lime);
}

.demo4-hero-lead-input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0 0 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1;
}

.demo4-hero-lead-input::placeholder {
  color: rgb(16 16 14 / 46%);
  opacity: 1;
}

.demo4-hero-lead-form__submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  color: #fff;
  box-shadow: 0 10px 22px rgb(16 16 14 / 16%);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.demo4-hero-lead-form__submit svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.demo4-hero-lead-form__submit:hover,
.demo4-hero-lead-form__submit:focus-visible {
  background: #b58d30;
  box-shadow: 0 15px 28px rgb(16 16 14 / 22%);
  transform: translateY(-2px);
}

.demo4-hero-lead-form__submit:active {
  transform: translateY(0) scale(0.985);
}

.demo4-hero-lead-status {
  margin: 12px 4px 0;
  color: rgb(16 16 14 / 72%);
  font-size: 11px;
  line-height: 1.4;
}

.demo4-hero-lead-status__link {
  color: var(--ink);
  font-weight: 800;
}

.demo4-hero-lead-form__helper {
  margin: 10px 2px 0;
  color: rgb(16 16 14 / 60%);
  font-size: 10px;
  line-height: 1.4;
}

.hero-black-copy::before {
  content: none !important;
}

.hero-black-copy {
  top: clamp(112px, 15vh, 164px);
  left: 54%;
  width: min(42vw, 630px);
}

.demo4-brand-panel-title {
  max-width: 610px;
  margin: 0 0 18px;
  color: var(--lime);
  font-family: Manrope, sans-serif;
  font-size: clamp(40px, 4.35vw, 68px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-black-copy > p {
  margin-top: 0;
  max-width: 520px;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
}

.hero-black-stats {
  margin-top: clamp(24px, 4vh, 40px);
}

.hero-gallery-preview {
  bottom: 4%;
  height: 25%;
}

/* Keep the moving Hero handoff on compositor-friendly transform and opacity paths. */
.hero-black-panel,
.hero-black-copy,
.hero-black-portrait,
.hero-gallery-preview,
.hero-visual .image-slice {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Hero artwork keeps the original three-slice scroll sequence: sky first, then the lower layers. */
.hero-visual .image-slice img.demo4-hero-layer-image {
  filter: none;
}

.hero-visual .image-slice--sky img.demo4-hero-layer-image {
  content: url("/assets/msx-drive/hero/hero-background.webp") !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.hero-visual .image-slice--middle img.demo4-hero-layer-image {
  content: url("/assets/msx-drive/hero/hero-leaves.webp") !important;
  object-fit: contain !important;
  object-position: left bottom !important;
}

.hero-visual .image-slice--base img.demo4-hero-layer-image {
  content: url("/assets/msx-drive/hero/hero-foreground.webp") !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

@media (min-width: 901px) {
  /* The supplied leaves sit behind the house; the house remains the primary lower-right visual. */
  .hero-visual .image-slice--middle img.demo4-hero-layer-image {
    transform: translateX(4%) scale(0.94);
    transform-origin: left bottom;
  }

  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(4%) scale(1.08);
    transform-origin: right bottom;
  }
}

@media (min-width: 1150px) {
  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(6%) scale(1.08);
  }
}

@media (min-width: 1400px) {
  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(4%) scale(1.1);
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  /* Short desktop screens keep the leaves low and the house large without entering the title zone. */
  .hero-visual .image-slice--middle img.demo4-hero-layer-image {
    transform: translateX(4%) scale(0.68);
    transform-origin: left bottom;
  }

  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(3%) scale(1);
  }
}

@media (min-width: 1150px) and (max-height: 760px) {
  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(3%) scale(1.06);
  }
}

@media (min-width: 1400px) and (max-height: 760px) {
  .hero-visual .image-slice--middle img.demo4-hero-layer-image {
    transform: translateX(4%) scale(0.72);
  }

  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    transform: translateX(2%) scale(1.08);
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .demo4-hero-lead-form {
    bottom: 0;
    width: min(30vw, 420px);
    min-width: 320px;
    padding: 20px 32px;
    border-radius: 22px;
  }

  .demo4-hero-lead-form__title {
    font-size: 18px;
  }

  .demo4-hero-lead-form__rule {
    margin: 8px 0 12px;
  }

  .demo4-hero-lead-field {
    height: 48px;
    padding-inline: 14px;
    border-radius: 12px;
  }

  .demo4-hero-lead-field + .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    margin-top: 10px;
  }

  .demo4-hero-lead-input {
    padding-left: 12px;
    font-size: 14px;
  }

  .demo4-hero-lead-form__submit {
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  /* Short desktop screens reserve separate vertical zones for copy, stats and photos. */
  .demo4-hero-lead-form {
    bottom: 0;
  }

  .demo4-hero-attribution {
    margin-top: 14px;
    font-size: 20px;
  }

  .hero-black-copy {
    top: clamp(96px, 14vh, 114px);
    left: 54%;
    width: min(43vw, 600px);
  }

  .demo4-brand-panel-title {
    margin-bottom: 14px;
    font-size: clamp(38px, 4vw, 56px);
  }

  .hero-black-copy > p {
    max-width: 500px;
    font-size: 13px;
    line-height: 1.46;
  }

  .hero-black-stats {
    gap: 18px;
    margin-top: 18px;
  }

  .hero-black-stats div {
    gap: 4px;
    padding-top: 9px;
  }

  .hero-black-stats strong {
    font-size: clamp(27px, 2.6vw, 36px);
  }

  .hero-black-stats span {
    font-size: 8px !important;
  }

  .hero-gallery-preview {
    bottom: 3.2%;
    height: 22%;
  }
}

.demo4-social-dock {
  position: fixed;
  z-index: 950;
  right: 14px;
  bottom: calc(clamp(54px, 8vh, 78px) + env(safe-area-inset-bottom));
  display: block;
  width: 64px;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--paper);
  box-shadow: none;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.demo4-social-dock__toggle {
  display: none;
}

.demo4-social-dock__panel {
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(243 236 223 / 28%);
  border-radius: 27px;
  background: var(--ink);
  box-shadow: 0 18px 40px rgb(16 16 14 / 30%);
}

body.project-gallery-open .demo4-social-dock,
body.demo4-video-open .demo4-social-dock {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.demo4-social-dock__link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 64px;
  color: var(--lime);
  text-decoration: none;
  transition: background 180ms ease;
}

.demo4-social-dock__link + .demo4-social-dock__link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  height: 1px;
  background: rgb(243 236 223 / 20%);
}

.demo4-social-dock__icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 180ms ease, opacity 180ms ease;
}

.demo4-social-dock__link--xiaohongshu .demo4-social-dock__icon {
  width: 37px;
}

.demo4-social-dock__link::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 22px rgb(16 16 14 / 20%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.demo4-social-dock__link:hover,
.demo4-social-dock__link:focus-visible {
  background: rgb(198 160 68 / 13%);
}

.demo4-social-dock__link:hover .demo4-social-dock__icon,
.demo4-social-dock__link:focus-visible .demo4-social-dock__icon {
  opacity: 1;
  transform: scale(1.1);
}

.demo4-social-dock__link:hover::after,
.demo4-social-dock__link:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.hero-gallery-preview img.demo4-homeowner-preview {
  object-fit: cover;
  object-position: center center;
  background: var(--ink);
}

.project-library__eyebrow,
.project-library__badge::before,
.project-popup__eyebrow {
  color: var(--lime, #c6a044);
}

.project-library__tab[aria-selected="true"],
.project-library__project-button:hover,
.project-library__project-button:focus-visible {
  background: var(--lime, #c6a044);
}

.project-library__dot[aria-current="true"] {
  color: var(--lime, #c6a044);
  border-color: currentColor;
}

.project-library__dot[aria-current="true"] {
  background: var(--lime, #c6a044);
}

.demo4-footer-link {
  color: inherit;
  text-decoration: none;
}

.demo4-footer-link:hover,
.demo4-footer-link:focus-visible {
  color: var(--lime);
}

footer p .demo4-footer-link {
  color: #fff;
  font-weight: 700;
}

/* The original Happenings block is replaced by this same-position video module. */
.demo4-video-module {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: clamp(78px, 9vw, 140px) 4vw clamp(28px, 3vw, 44px);
  background: var(--paper);
  color: var(--ink);
}

.demo4-video-module__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
}

.demo4-video-module__intro {
  min-width: 0;
}

.demo4-video-module__eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.demo4-video-module__title {
  max-width: 480px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(44px, 4.3vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.demo4-video-module__viewport {
  min-width: 0;
  overflow: hidden;
}

.demo4-video-module__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  overflow-x: auto;
  padding: 4px 3px 16px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.demo4-video-module__track::-webkit-scrollbar {
  display: none;
}

.demo4-video-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(190px, 15.6vw, 264px);
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #25241f;
  color: #fff;
  scroll-snap-align: start;
  box-shadow: 0 24px 48px rgb(16 16 14 / 18%);
}

.demo4-video-card__button {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.demo4-video-card__button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 10 9 / 12%) 36%, rgb(10 10 9 / 78%) 100%);
  pointer-events: none;
}

.demo4-video-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #25241f;
  pointer-events: none;
}

.demo4-video-card__open {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 54%);
  border-radius: 50%;
  background: rgb(16 16 14 / 28%);
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, background 220ms ease;
}

.demo4-video-card__button:hover .demo4-video-card__open,
.demo4-video-card__button:focus-visible .demo4-video-card__open {
  transform: rotate(12deg) scale(1.06);
  background: var(--lime);
  color: var(--ink);
}

.demo4-video-card__copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.demo4-video-card__label {
  display: block;
  margin-bottom: 9px;
  color: rgb(255 255 255 / 76%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.demo4-video-card__title {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.demo4-video-module__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.demo4-video-module__count {
  margin-right: 7px;
  color: rgb(16 16 14 / 55%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.demo4-video-module__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(16 16 14 / 20%);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 19px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.demo4-video-module__arrow:hover,
.demo4-video-module__arrow:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.demo4-video-modal[hidden] {
  display: none;
}

.demo4-video-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(0 0 0 / 91%);
  color: #fff;
  opacity: 1;
  transition: background 420ms ease;
}

.demo4-video-modal.is-ready {
  background: rgb(0 0 0 / 73%);
}

.demo4-video-modal__surface {
  position: relative;
  display: grid;
  place-items: center;
  width: min(84vw, 620px);
  max-height: 90vh;
  transform: scale(0.96);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.demo4-video-modal.is-ready .demo4-video-modal__surface {
  transform: scale(1);
}

.demo4-video-modal__video {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(82vh, 820px);
  max-height: 82vh;
  border-radius: 16px;
  background: #090909;
  box-shadow: 0 32px 90px rgb(0 0 0 / 45%);
}

.demo4-video-modal__close,
.demo4-video-modal__sound {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 999px;
  background: rgb(10 10 9 / 62%);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.demo4-video-modal__close {
  top: -10px;
  right: -10px;
  width: 44px;
  border-radius: 50%;
  font-size: 22px;
}

.demo4-video-modal__sound {
  right: 16px;
  bottom: 16px;
  padding: 0 15px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo4-video-modal__close:hover,
.demo4-video-modal__close:focus-visible,
.demo4-video-modal__sound:hover,
.demo4-video-modal__sound:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

body.demo4-video-open {
  overflow: hidden;
}

/* Review cards use the supplied MSX Facebook recommendation snapshot. */
.demo4-review-module {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 5vw, 76px) 0 clamp(90px, 10vw, 150px);
  background: var(--paper);
  color: var(--ink);
}

.demo4-review-module__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 0 4vw;
  margin-bottom: 42px;
}

.demo4-review-module__eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.demo4-review-module__title {
  max-width: 660px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.demo4-review-module__note {
  max-width: 280px;
  margin: 0;
  color: rgb(16 16 14 / 60%);
  font-size: 13px;
  line-height: 1.55;
}

.demo4-review-module__aside {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.demo4-review-module__viewport {
  position: relative;
  overflow: hidden;
  padding: 6px 0 22px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}

.demo4-review-module__viewport:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.demo4-review-module__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.demo4-review-module__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: 4vw;
}

.demo4-review-module--manual .demo4-review-module__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 91%, transparent 100%);
}

.demo4-review-module--manual .demo4-review-module__viewport::-webkit-scrollbar {
  display: none;
}

.demo4-review-module--manual .demo4-review-module__track {
  padding-right: 20px;
}

.demo4-review-module--manual .demo4-review-card {
  scroll-snap-align: start;
}

.demo4-review-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(290px, 24vw, 372px);
  min-height: 360px;
  flex-direction: column;
  border: 1px solid rgb(16 16 14 / 12%);
  border-radius: 24px;
  padding: 28px;
  background: rgb(255 255 255 / 52%);
  box-shadow: 0 18px 42px rgb(16 16 14 / 8%);
}

.demo4-review-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo4-review-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.demo4-review-card__name {
  font-size: 13px;
  font-weight: 800;
}

.demo4-review-card__meta {
  margin-top: 28px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo4-review-card__title {
  margin: 24px 0 14px;
  font-family: Manrope, sans-serif;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.demo4-review-card__body {
  margin: 0;
  color: rgb(16 16 14 / 70%);
  font-size: 14px;
  line-height: 1.6;
}

.demo4-review-card::after {
  position: absolute;
  top: 17px;
  right: 22px;
  color: rgb(198 160 68 / 26%);
  content: "“";
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 0.8;
  pointer-events: none;
}

.demo4-contact-privacy {
  margin: 18px 0 0;
  color: rgb(16 16 14 / 62%);
  font-size: 11px;
  line-height: 1.45;
}

/* The selected approach panel is intentionally lighter while its image labels stay legible. */
#approach.before-after {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

#projects.projects {
  background: var(--lime) !important;
  color: var(--ink) !important;
}

/* The project library now continues directly from the ochre Selected Work section. */
#project-library.project-library {
  padding: 0 4vw clamp(72px, 8vw, 120px);
  background: var(--lime, #c6a044) !important;
  color: var(--ink, #10100e) !important;
}

#project-library.project-library .project-library__intro {
  display: none;
}

@media (max-width: 760px) {
  #project-library.project-library {
    padding: 0 20px 74px;
  }
}

#approach.before-after .before-after-copy > p:not(.eyebrow) {
  color: rgb(16 16 14 / 70%) !important;
}

#approach.before-after .trust-line {
  border-top-color: var(--line) !important;
  color: rgb(16 16 14 / 78%) !important;
}

#approach.before-after .trust-line svg {
  color: var(--lime) !important;
}

#approach .comparison input[type="range"] {
  z-index: 5;
  touch-action: none;
}

#approach .comparison-line,
#approach .comparison-label {
  pointer-events: none;
}

/* Slightly enlarge the small navigational, caption and section-label type throughout the page. */
:where(
  .hero-kicker,
  .hero-index,
  .scroll-hint,
  .hero-black-stats span,
  .hero-gallery-preview figcaption,
  .eyebrow,
  .project-library__eyebrow,
  .project-library__badge,
  .project-popup__eyebrow,
  .project-tab span,
  .comparison-label,
  .service-list article > span,
  .demo4-video-module__eyebrow,
  .demo4-video-module__count,
  .demo4-video-card__label,
  .demo4-review-module__eyebrow,
  .demo4-review-card__meta,
  .contact-form label > span,
  .demo4-contact-field > span,
  footer > div
) {
  font-size: 11px !important;
}

@media (min-width: 901px) {
  :root {
    --demo4-social-safe: max(96px, 6.7vw);
  }

  .hero-gallery-preview {
    right: var(--demo4-social-safe) !important;
  }

  :where(#projects.projects, #approach.before-after, #services.services, #contact.contact) {
    padding-right: var(--demo4-social-safe) !important;
  }

  #project-library.project-library,
  .demo4-video-module {
    padding-right: var(--demo4-social-safe) !important;
  }

  .demo4-review-module__intro,
  footer {
    padding-right: var(--demo4-social-safe) !important;
  }

  .demo4-review-module__viewport {
    margin-right: var(--demo4-social-safe);
  }
}

@media (max-width: 900px) {
  .demo4-social-dock {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 48px;
  }

  .demo4-social-dock__toggle {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgb(243 236 223 / 28%);
    border-radius: 18px;
    padding: 0;
    background: var(--ink);
    color: var(--lime);
    box-shadow: 0 12px 30px rgb(16 16 14 / 28%);
    cursor: pointer;
  }

  .demo4-social-dock__toggle-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 180ms ease;
  }

  .demo4-social-dock.is-open .demo4-social-dock__toggle-icon {
    transform: rotate(-8deg) scale(1.08);
  }

  .demo4-social-dock__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 48px;
    border-radius: 19px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
    transform-origin: right bottom;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .demo4-social-dock.is-open .demo4-social-dock__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  html.demo4-hero-lead-active .demo4-social-dock,
  html.demo4-hero-dark-stage .demo4-social-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .hero-copy-layer h1.demo4-hero-title {
    max-width: 93vw;
    font-size: clamp(45px, 10.8vw, 78px);
    line-height: 0.82;
  }

  .demo4-hero-lead-form {
    right: 20px;
    bottom: 92px;
    left: 20px;
    width: auto;
    min-width: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .demo4-hero-lead-form__title {
    font-size: 20px;
  }

  .demo4-hero-lead-field {
    height: 58px;
  }

  .demo4-hero-lead-form__submit {
    min-height: 58px;
  }

  .demo4-video-module {
    padding: 86px 20px 36px;
  }

  .demo4-video-module__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .demo4-video-module__title {
    max-width: 520px;
    font-size: clamp(46px, 12vw, 72px);
  }

  .demo4-video-module__track {
    gap: 12px;
    padding-bottom: 13px;
  }

  .demo4-video-card {
    flex-basis: min(72vw, 292px);
    border-radius: 18px;
  }

  .demo4-video-module__footer {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .demo4-review-module__intro {
    display: block;
    padding: 0 20px;
    margin-bottom: 28px;
  }

  .demo4-review-module__title {
    font-size: clamp(48px, 13vw, 72px);
  }

  .demo4-review-module__note {
    margin-top: 18px;
  }

  .demo4-review-module__aside {
    display: block;
  }

  .demo4-review-module__track {
    gap: 12px;
    padding-left: 20px;
  }

  .demo4-review-card {
    flex-basis: min(82vw, 340px);
    min-height: 340px;
    border-radius: 20px;
    padding: 24px;
  }
}

@media (min-width: 621px) and (max-width: 900px) and (min-height: 521px) {
  .hero-copy-layer h1.demo4-hero-title {
    width: min(62vw, 610px);
    max-width: 62vw;
    margin-top: 7vh;
    font-size: clamp(52px, 9.4vw, 76px);
  }

  .demo4-hero-lead-form {
    right: auto;
    bottom: 44px;
    left: 4vw;
    width: min(46vw, 420px);
    min-width: 330px;
    padding: 20px 28px;
  }

  .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    min-height: 50px;
    height: 50px;
  }

  .scroll-hint {
    left: 72%;
  }
}

@media (max-width: 620px) {
  .demo4-brand-logo {
    width: 148px;
    max-height: 36px;
  }

  footer .demo4-brand-logo {
    width: 184px;
    max-height: 44px;
  }

  .hero-kicker {
    width: 100%;
    max-width: none;
    font-size: 10px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .hero-copy-layer h1.demo4-hero-title {
    width: calc(100vw - 40px);
    max-width: none;
    margin-top: clamp(18px, 3vh, 28px);
    font-size: clamp(40px, 10vw, 46px);
    line-height: 0.86;
  }

  .hero-copy-layer h1.demo4-hero-title span {
    max-width: 100%;
  }

  .hero-visual {
    inset: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    background: #b9dcf3 !important;
  }

  .hero-visual .image-slice {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-visual .image-slice--sky {
    background: #b9dcf3 !important;
  }

  .hero-visual .image-slice--sky::before {
    display: none !important;
  }

  .hero-visual .image-slice--sky img.demo4-hero-layer-image {
    content: url("/assets/msx-drive/hero/hero-background.webp") !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .hero-visual .image-slice--middle img.demo4-hero-layer-image {
    content: url("/assets/msx-drive/hero/hero-leaves.webp") !important;
    inset: auto auto -1.5% -72vw !important;
    width: 192vw !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left bottom !important;
    transform: none !important;
  }

  .hero-visual .image-slice--base img.demo4-hero-layer-image {
    content: url("/assets/msx-drive/hero/hero-foreground.webp") !important;
    inset: auto -30vw -1.5% auto !important;
    width: 205vw !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    transform: none !important;
  }

  .demo4-hero-attribution {
    margin-top: 18px;
    font-size: 16px;
  }

  .demo4-hero-lead-form {
    top: clamp(365px, 90vw, 395px);
    bottom: auto;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .demo4-hero-lead-form__rule {
    margin: 10px 0 14px;
  }

  .demo4-hero-lead-field {
    height: 54px;
    padding-inline: 14px;
  }

  .demo4-hero-lead-field + .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    margin-top: 10px;
  }

  .demo4-hero-lead-input {
    padding-left: 12px;
    font-size: 16px;
  }

  .demo4-hero-lead-form__helper {
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.35;
  }

  .demo4-brand-panel-title {
    margin-bottom: 16px;
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 0.9;
  }

  .hero-black-copy {
    top: calc(118px + env(safe-area-inset-top));
    right: 20px;
    left: 20px;
    width: auto;
  }

  .hero-black-copy > p {
    max-width: 330px;
    font-size: 12px;
    line-height: 1.42;
  }

  .hero-black-stats {
    gap: 10px;
    margin-top: 12px;
  }

  .hero-black-stats div {
    gap: 4px;
    padding-top: 8px;
  }

  .hero-black-stats strong {
    font-size: 24px;
  }

  .hero-black-stats span {
    font-size: 7px !important;
  }

  .hero-gallery-preview {
    bottom: 3%;
    height: 23%;
  }

  .demo4-hero-lead-form__submit {
    min-height: 54px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .demo4-social-dock {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 48px;
    border-radius: 0;
  }

  .demo4-social-dock__link {
    min-height: 46px;
  }

  .demo4-social-dock__icon {
    width: 22px;
    height: 22px;
  }

  .demo4-social-dock__link--xiaohongshu .demo4-social-dock__icon {
    width: 28px;
  }

  .demo4-social-dock__link::after {
    display: none;
  }

  /* Keep long-form copy and contact controls out from under the fixed dock. */
  :where(
    #projects .section-heading,
    #approach .before-after-copy,
    #services .services-intro,
    #services .service-list article,
    .demo4-video-module__intro,
    .demo4-review-module__intro,
    #contact .contact-copy,
    #contact .contact-form,
    footer
  ) {
    padding-right: 58px;
  }

  .demo4-video-card__open {
    display: none;
  }

  .demo4-video-modal {
    padding: 14px;
  }

  .demo4-video-modal__surface {
    width: min(94vw, 500px);
  }

  .demo4-video-modal__video {
    height: 78vh;
    max-height: 78vh;
    border-radius: 13px;
  }

  .demo4-video-modal__close {
    top: -7px;
    right: -4px;
  }

  .demo4-review-module--manual .demo4-review-card {
    flex-basis: min(82vw, 340px);
  }
}

@media (max-width: 620px) and (max-height: 1000px) {
  /* Short mobile screens need a shorter form so the attribution and scroll hint stay readable. */
  .demo4-hero-lead-form {
    padding: 16px 18px;
  }

  .demo4-hero-lead-form__title {
    font-size: 18px;
  }

  .demo4-hero-lead-form__rule {
    margin: 8px 0 10px;
  }

  .demo4-hero-lead-field {
    height: 48px;
  }

  .demo4-hero-lead-field + .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    margin-top: 8px;
  }

  .demo4-hero-lead-input {
    font-size: 16px;
  }

  .demo4-hero-lead-form__submit {
    min-height: 48px;
    font-size: 14px;
  }

  .demo4-hero-lead-form__helper {
    margin-top: 6px;
    font-size: 8px;
  }
}

@media (max-width: 900px) and (max-height: 520px) {
  .hero-copy-layer h1.demo4-hero-title {
    width: 46vw;
    max-width: 46vw;
    margin-top: 5vh;
    font-size: clamp(32px, 5.2vw, 44px);
    line-height: 0.82;
  }

  .demo4-hero-attribution {
    margin-top: 12px;
    font-size: 14px;
  }

  .hero-black-copy {
    top: calc(76px + env(safe-area-inset-top));
    right: 34px;
    left: 48%;
    width: auto;
  }

  .demo4-brand-panel-title {
    margin-bottom: 8px;
    font-size: clamp(28px, 4.2vw, 38px);
  }

  .hero-black-copy > p {
    max-width: 400px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .hero-black-stats {
    gap: 10px;
    margin-top: 10px;
  }

  .hero-black-stats div {
    gap: 3px;
    padding-top: 6px;
  }

  .hero-black-stats strong {
    font-size: 22px;
  }

  .hero-black-stats span {
    font-size: 7px !important;
  }

  .hero-gallery-preview {
    bottom: 3%;
    height: 22%;
  }

  .demo4-hero-lead-form {
    right: 34px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: auto;
    width: min(36vw, 304px);
    min-width: 280px;
    padding: 13px 16px;
    border-radius: 18px;
  }

  .demo4-hero-lead-form__title {
    font-size: 16px;
  }

  .demo4-hero-lead-form__rule {
    margin: 6px 0 8px;
  }

  .demo4-hero-lead-field {
    height: 40px;
    padding-inline: 12px;
  }

  .demo4-hero-lead-field + .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    margin-top: 7px;
  }

  .demo4-hero-lead-input {
    padding-left: 9px;
    font-size: 16px;
  }

  .demo4-hero-lead-form__submit {
    min-height: 40px;
    font-size: 12px;
  }

  .demo4-hero-lead-form__helper {
    margin-top: 5px;
    font-size: 7px;
    line-height: 1.25;
  }
}

/* Final readable helper size overrides compact layouts without changing the approved form composition. */
.demo4-hero-lead-form__helper {
  min-height: 15px;
  font-size: 11px;
  line-height: 1.35;
}

.demo4-contact-privacy {
  color: rgb(16 16 14 / 70%);
  font-size: 12px;
}

@media (min-width: 901px) and (max-height: 820px) {
  .demo4-hero-lead-form {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero-copy-layer h1.demo4-hero-title {
    margin-top: 5vh;
  }
}

/* Ultra-wide browser windows lose a large share of their usable height to browser chrome.
   Cap the Hero type by viewport height so the title, attribution and form keep separate zones. */
@media (min-width: 1300px) and (max-height: 720px) {
  .hero-copy-layer h1.demo4-hero-title {
    margin-top: 1.5vh;
    font-size: clamp(54px, 9.8vh, 72px);
  }
}

@media (min-width: 1300px) and (max-height: 620px) {
  .hero-copy-layer h1.demo4-hero-title {
    margin-top: 0;
    font-size: clamp(50px, 8.8vh, 60px);
  }

  .demo4-hero-attribution {
    margin-top: 10px;
    font-size: 18px;
  }
}

@media (max-width: 900px) and (max-height: 520px) {
  .scroll-hint {
    display: none !important;
  }
}

@media (max-width: 620px) and (max-height: 700px) and (orientation: portrait) {
  .hero-copy-layer h1.demo4-hero-title {
    width: calc(100vw - 40px);
    max-width: none;
    margin-top: 2vh;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 0.84;
  }

  .demo4-hero-attribution {
    margin-top: 10px;
    font-size: 14px;
  }

  .demo4-hero-lead-form {
    top: auto;
    right: 20px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 20px;
    width: auto;
    padding: 13px 16px;
    border-radius: 18px;
  }

  .demo4-hero-lead-form__title {
    font-size: 16px;
  }

  .demo4-hero-lead-form__rule {
    margin: 6px 0 8px;
  }

  .demo4-hero-lead-field {
    height: 40px;
    padding-inline: 12px;
  }

  .demo4-hero-lead-field + .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    margin-top: 7px;
  }

  .demo4-hero-lead-input {
    padding-left: 9px;
    font-size: 16px;
  }

  .demo4-hero-lead-form__submit {
    min-height: 40px;
    font-size: 12px;
  }

  .demo4-hero-lead-form__helper {
    margin-top: 5px;
  }

  .scroll-hint {
    display: none !important;
  }
}

@media (max-width: 340px) and (orientation: portrait) {
  .hero-copy-layer h1.demo4-hero-title {
    font-size: 36px;
    line-height: 0.84;
  }

  .scroll-hint {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo4-video-module__track,
  .demo4-review-module__viewport {
    scroll-behavior: auto;
  }

  .demo4-video-modal,
  .demo4-video-modal__surface,
  .demo4-video-card__open,
  .demo4-video-module__arrow,
  .demo4-social-dock,
  .demo4-social-dock__panel,
  .demo4-social-dock__toggle,
  .demo4-social-dock__link,
  .demo4-hero-lead-field,
  .demo4-hero-lead-form__submit {
    transition-duration: 0.01ms !important;
  }

}

/* Keep the mobile Hero enquiry stable while the virtual keyboard changes the viewport. */
@media (max-width: 620px), (max-width: 900px) and (max-height: 520px) {
  html.demo4-hero-lead-focus .hero-copy-layer,
  html.demo4-hero-lead-focus .demo4-hero-attribution,
  html.demo4-hero-lead-focus .scroll-hint {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html.demo4-hero-lead-focus,
  html.demo4-hero-lead-focus body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  html.demo4-hero-lead-focus body {
    position: fixed;
    top: calc(var(--demo4-hero-lead-scroll-y, 0px) * -1);
    right: 0;
    left: 0;
    width: 100%;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-form {
    position: fixed !important;
    z-index: 60;
    top: calc(env(safe-area-inset-top) + 60px);
    right: 14px;
    bottom: auto;
    left: 14px;
    width: auto;
    min-width: 0;
    max-height: calc(var(--demo4-visual-height, 100vh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgb(243 236 223 / 96%);
    box-shadow: 0 18px 48px rgb(16 16 14 / 24%), inset 0 1px 0 rgb(255 255 255 / 72%);
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-form__title {
    font-size: 16px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-form__rule {
    margin: 6px 0 8px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-field {
    height: 44px;
    padding-inline: 12px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-field + .demo4-hero-lead-field,
  html.demo4-hero-lead-focus .demo4-hero-lead-form__submit {
    margin-top: 7px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-input {
    padding-left: 9px;
    font-size: 16px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-form__submit {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 13px;
  }

  html.demo4-hero-lead-focus .demo4-hero-lead-form__helper {
    margin-top: 5px;
    font-size: 8px;
  }
}
