:root {
  --dwelly-bg: #f5f0e5;
  --dwelly-card: #fffdf7;
  --dwelly-forest: #1c3629;
  --dwelly-lime: #d8ff69;
  --dwelly-clay: #b86f56;
  --dwelly-border: #d9d1c4;
  --dwelly-header-height: 90px;
}

/* Step 2A marketing-page contract. Mirrors the React editorial scale and spacing. */
.step2-page{overflow-x:clip;background:#fbf6e9;color:#625f59;font-family:var(--font-abc-walter-neue,"Arial",sans-serif)}
.step2-shell{width:min(1320px,calc(100% - 7.25rem));margin-inline:auto}.step2-page h1,.step2-page h2,.step2-page h3{margin:0;color:#1c3629;font-family:var(--font-hw-cigars,Georgia,serif);font-weight:400}.step2-page h1{max-width:900px;font-size:clamp(3.4rem,7.3vw,6.5rem);line-height:.94;letter-spacing:-.02em}.step2-page h2{font-size:clamp(2.65rem,5vw,4.75rem);line-height:1.02}.step2-page h3{font-size:1.9rem;line-height:1.08}.step2-page p{margin:0 0 1rem}.step2-hero{padding:10rem 0 6rem}.step2-lede{max-width:680px;margin:1.75rem 0!important;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.45}.step2-section{padding:6rem 0}.step2-section--stone{background:#f1eee8}.step2-section--dark{background:#1c3629;color:#fbf6e9}.step2-section--dark h1,.step2-section--dark h2,.step2-section--dark h3{color:#fbf6e9}.step2-eyebrow{margin-bottom:1.25rem!important;color:#1c3629;font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.step2-eyebrow--lime{color:#d6f29a!important}.step2-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4.5rem;align-items:center}.step2-split--end{align-items:end}.step2-split--reverse>div{order:2}.step2-copy-large{margin-top:1.5rem!important;font-size:clamp(1.15rem,1.8vw,1.45rem);line-height:1.55}.step2-narrow{max-width:720px}.step2-hero-image,.step2-feature-image{width:100%;height:560px;border-radius:1.75rem;object-fit:cover}.step2-card-grid{display:grid;gap:1.5rem;margin-top:3rem}.step2-card-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.step2-card-grid--five{grid-template-columns:repeat(5,minmax(0,1fr))}.step2-rule-card{padding:2rem 1.35rem;border-block:1px solid #cbc5ba}.step2-rule-card>span,.step2-service-card>span,.step2-numbered span{display:block;margin-bottom:2rem;color:#b86745;font-size:.85rem;letter-spacing:.14em}.step2-rule-card h3{margin-bottom:1rem;font-family:var(--font-abc-walter-neue,"Arial",sans-serif);font-size:1rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.step2-rule-card p{line-height:1.55}.step2-facts{margin-top:2rem;border-top:1px solid #cbc5ba}.step2-facts p{padding:1.25rem 0;border-bottom:1px solid #cbc5ba;font-size:1.12rem;line-height:1.5}.step2-dark-card{padding:2.5rem;border-radius:1.75rem;background:#1c3629;color:#fbf6e9}.step2-dark-card h2{color:#fbf6e9}.step2-dark-card a{display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem;padding:1.3rem 0;border-bottom:1px solid #ffffff2b;color:#fbf6e9;text-decoration:none}.step2-dark-card a span{grid-column:1;opacity:.72}.step2-dark-card a b{grid-column:2;grid-row:1/3;color:#d6f29a;font-size:1.5rem}.step2-plan-card,.step2-service-card{overflow:hidden;border:1px solid #1c362926;border-radius:1.5rem;background:#f1eee8}.step2-plan-card img{width:100%;height:300px;object-fit:cover}.step2-plan-card>div,.step2-service-card{padding:1.5rem}.step2-plan-card small{display:block;margin:.75rem 0;text-transform:uppercase}.step2-chapter-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;margin-top:3.5rem}.step2-chapter-strip article{min-height:220px;padding:1.5rem;border:1px solid #fbf6e947;border-radius:1rem;display:flex;flex-direction:column;justify-content:space-between}.step2-chapter-strip span{color:#d6f29a}.step2-chapter-strip h3{font-family:var(--font-abc-walter-neue,"Arial",sans-serif);font-size:1.45rem}.step2-faq-wrap{padding-block:6rem}.step2-mark-hero{padding:11rem 0 6rem;text-align:center}.step2-mark-hero img{width:110px;height:110px;margin:0 auto 2rem;object-fit:contain}.step2-mark-hero h1{margin-inline:auto}.step2-editorial{display:grid;grid-template-columns:.82fr 1.18fr;gap:5rem}.step2-editorial>div{font-size:1.18rem;line-height:1.65}.step2-landscape{margin:0}.step2-landscape img{display:block;width:100%;height:min(70vw,760px);object-fit:cover}.step2-numbered{margin-top:3rem;border-top:1px solid #cbc5ba}.step2-numbered article{display:grid;grid-template-columns:90px minmax(230px,.8fr) 1.2fr;gap:2rem;padding:2rem 0;border-bottom:1px solid #cbc5ba}.step2-numbered h3{font-size:2rem}.step2-numbered p{line-height:1.55}.step2-quote p{font-family:var(--font-hw-cigars,Georgia,serif);font-size:clamp(2rem,4vw,3.8rem);line-height:1.06;color:#1c3629}.step2-quote cite{display:flex;flex-direction:column;font-style:normal}.step2-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}.step2-centered{text-align:center}.step2-service-card{background:#fff}.step2-service-card ul{padding-left:1.15rem;line-height:1.7}.step2-inline-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:3rem;padding:2rem;border:1px solid #1c362940;border-radius:1.25rem}.step2-mini-card{display:block;padding:1rem;border:1px solid #1c362933;border-radius:.75rem;color:#1c3629;text-decoration:none}.step2-checks{margin-top:1.5rem}.step2-checks p{padding:.7rem 0;border-bottom:1px solid #cbc5ba}.step2-checks p:before{content:'✓';margin-right:.7rem;color:#1c3629}
@media(max-width:1023px){.step2-card-grid--five{grid-template-columns:repeat(2,minmax(0,1fr))}.step2-chapter-strip{display:flex;overflow-x:auto}.step2-chapter-strip article{min-width:240px}}
@media(max-width:767px){.step2-shell{width:calc(100% - 3rem)}.step2-hero{padding:8rem 0 4rem}.step2-section{padding:4rem 0}.step2-split,.step2-editorial{grid-template-columns:1fr;gap:2.5rem}.step2-split--reverse>div{order:initial}.step2-page h1{font-size:clamp(2.8rem,13vw,4.1rem)}.step2-page h2{font-size:clamp(2.35rem,10vw,3.5rem)}.step2-hero-image,.step2-feature-image{height:360px}.step2-card-grid--three,.step2-card-grid--five{grid-template-columns:1fr}.step2-numbered article{grid-template-columns:50px 1fr}.step2-numbered article p{grid-column:2}.step2-mark-hero{padding:8rem 0 4rem}.step2-inline-cta{align-items:flex-start;flex-direction:column}}

/* Header and navigation: mirrors FunctionalHeaderNav.tsx. */
.functional-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  color: #fff;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.functional-header.is-opaque,
body.menu-open .functional-header {
  color: var(--dwelly-forest);
  background: var(--dwelly-bg);
  box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}
.functional-header__bar {
  display: grid;
  min-height: var(--dwelly-header-height);
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 57.9906px;
}
.functional-header__logo { display: block; position: relative; z-index: 100; }
.functional-header__logo img { display: block; width: 150px; height: auto; }
.functional-header .functional-header__logo .header-mark--dark,
.functional-header .functional-header__logo .header-mark--light { display: none; }
.functional-header .header-logo--dark { display: none; }
.functional-header.is-opaque .header-logo--dark,
body.menu-open .functional-header .header-logo--dark { display: block; }
.functional-header.is-opaque .header-logo--light,
body.menu-open .functional-header .header-logo--light { display: none; }
.functional-desktop-nav { min-width: 0; }
.functional-nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.functional-nav-item { margin: 0; padding: 0; list-style: none; }
.functional-nav-trigger,
.functional-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.functional-nav-trigger:focus-visible,
.functional-nav-link:focus-visible,
.mega-menu-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.mega-menu-panel {
  position: fixed;
  top: var(--dwelly-header-height);
  right: 0;
  left: 0;
  display: none;
  border-top: 1px solid var(--dwelly-border);
  border-bottom: 1px solid var(--dwelly-border);
  border-radius: 0 0 28px 28px;
  background: var(--dwelly-bg);
  box-shadow: 0 18px 42px rgb(0 0 0 / 10%);
  color: var(--dwelly-forest);
  padding: 24px 57.9906px 28px;
}
.functional-nav-item.is-open > .mega-menu-panel { display: block; }
body.admin-bar .mega-menu-panel { top: calc(var(--dwelly-header-height) + 32px); }
.mega-menu-panel__inner {
  display: grid;
  grid-template-columns: minmax(220px, .52fr) minmax(640px, 1.48fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.mega-menu-panel__kicker { margin: 0 0 8px; color: #628400; font-size: 14px; }
.mega-menu-panel__intro h2 {
  margin: 0;
  color: var(--dwelly-forest);
  font-family: var(--wp--preset--font-family--hw-cigars), serif;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.mega-menu-panel__intro > p:last-child { margin: 12px 0 0; max-width: 420px; font-size: 14px; line-height: 1.45; }
.mega-menu-grid {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mega-menu-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-menu-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-menu-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(28 54 41 / 20%);
  border-radius: 16px;
  background: var(--dwelly-card);
  padding: 12px;
  color: var(--dwelly-forest);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mega-menu-card:hover { transform: translateY(-2px); border-color: rgb(28 54 41 / 42%); box-shadow: 0 10px 24px rgb(0 0 0 / 8%); }
.mega-menu-card__badge {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--dwelly-lime);
  font-family: var(--wp--preset--font-family--hw-cigars), serif;
  font-size: 18px;
}
.mega-menu-card__media {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dwelly-border);
}
.mega-menu-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mega-menu-card:has(.mega-menu-card__media) { grid-template-columns: 72px minmax(0, 1fr); }
.mega-menu-card__copy,
.mega-menu-card__title,
.mega-menu-card__description { display: block; }
.mega-menu-card__title { font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: 22px; line-height: 1.15; }
.mega-menu-card__description { margin-top: 4px; color: #57534e; font-size: 12px; line-height: 1.4; }

.functional-mobile-nav-toggle,
.functional-mobile-nav-panel { display: none; }

/* Shared controls and content primitives. */
.home-hero { min-height: 85svh; max-height: 1360px; }
.dwelly-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--dwelly-forest);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--dwelly-forest);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.dwelly-button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgb(0 0 0 / 10%); }
.dwelly-button--primary { background: var(--dwelly-lime); }
.dwelly-button__arrow { font-size: 1.2em; }
.dwelly-card { height: 100%; overflow: hidden; border: 1px solid var(--dwelly-border); border-radius: 22px; background: var(--dwelly-card); transition: transform .2s ease, box-shadow .2s ease; }
.dwelly-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgb(0 0 0 / 12%); }
.dwelly-card__link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.dwelly-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.dwelly-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dwelly-card__body { padding: 20px; }
.dwelly-card__title { font-size: 26px; }
.dwelly-carousel { position: relative; overflow: visible; }
.dwelly-carousel__viewport { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 18px 30px; touch-action: pan-x pan-y; }
.dwelly-carousel__viewport::-webkit-scrollbar { display: none; }
.dwelly-carousel__track { display: flex; gap: 22px; width: max-content; }
.dwelly-carousel__track > * { flex: 0 0 min(82vw, 440px); scroll-snap-align: start; }
.dwelly-carousel__control { position: absolute; top: 50%; z-index: 3; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgb(28 54 41 / 24%); border-radius: 50%; background: var(--dwelly-bg); color: var(--dwelly-forest); font-size: 25px; box-shadow: 0 8px 20px rgb(0 0 0 / 9%); }
.dwelly-carousel__control--prev { left: 12px; }
.dwelly-carousel__control--next { right: 12px; }
.dwelly-carousel__control:hover { background: var(--dwelly-lime); }
.dwelly-testimonials > h2 { margin: 0 0 40px; color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: clamp(48px, 6vw, 72px); line-height: 1; text-align: center; }
.dwelly-testimonial { min-height: 310px; border: 1px solid var(--dwelly-border); border-radius: 24px; background: var(--dwelly-card); padding: 28px; }
.dwelly-testimonial > p { font-size: 20px; line-height: 1.42; }
.home-testimonials-shared .dwelly-testimonial > p { font-size:clamp(22px,1.7vw,24px); line-height:1.38; }
.dwelly-testimonial footer { margin-top: 24px; color: var(--dwelly-forest); }
.dwelly-testimonial cite,
.dwelly-testimonial footer span { display: block; }
.dwelly-testimonial footer span { margin-top: 4px; font-size: 13px; }
.life-fact-icon { display:grid; width:72px; height:72px; place-items:center; border:1px solid var(--dwelly-border); border-radius:50%; background:var(--dwelly-bg); color:var(--dwelly-forest); }
.life-fact-icon svg { width:40px; height:40px; }
.step2-facts > p { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; gap:20px; }
.life-research-fact { grid-template-columns:72px minmax(0,1fr); align-items:center; }
.life-resource-badge { display:grid; width:64px; height:64px; place-items:center; border-radius:10px; background:#e4f7a8; color:#1c3629; font-family:var(--wp--preset--font-family--hw-cigars),serif; font-size:42px; line-height:1; }
.step2-dark-card > a { grid-template-columns:64px minmax(0,1fr) auto; gap:16px; align-items:center; }
.step2-dark-card > a > .life-resource-badge { grid-column:1; grid-row:1; opacity:1; }
.step2-dark-card > a > span:nth-child(2) { grid-column:2; grid-row:1; opacity:1; }
.step2-dark-card > a > span:nth-child(2) span { display:block; grid-column:auto; }
.step2-dark-card > a > b { grid-column:3; grid-row:1; }
.step2-plan-card__status { display:inline-flex; margin-top:24px; min-height:44px; align-items:center; border:1px solid var(--dwelly-border); border-radius:999px; padding:0 20px; color:var(--dwelly-forest); }
.home-chapters-carousel,
.home-designs-carousel { padding: 0 24px; }
.home-chapter-card { height: 537px; overflow: hidden; border: 1px solid rgb(28 54 41 / 30%); border-radius: 16px; background: var(--dwelly-card); }
.home-chapters-carousel .dwelly-carousel__track > article { position: relative; }
.home-chapters-carousel .dwelly-carousel__track > article::after { content: '→'; position: absolute; top: 50%; right: -24px; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--dwelly-lime); color: var(--dwelly-forest); transform: translate(50%,-50%); }
.home-chapter-card > a { display: flex; height: 100%; flex-direction: column; padding: 32px; color: var(--dwelly-forest); text-align: center; text-decoration: none; }
.home-chapter-card img { width: 100%; height: 42%; object-fit: contain; transition: transform .25s ease; }
.home-chapter-card__copy { margin-top: 24px; }
.home-chapter-card h3 { font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: 28px; line-height: 1.08; }
.home-chapter-card p { margin-top: 16px; line-height: 1.5; }
.home-chapter-card__link { display: inline-flex; margin-top: 20px; align-items: center; gap: 8px; text-decoration: underline; }
.home-chapter-card:hover img { transform: scale(1.035); }
.home-design-card { display: flex; height: 100%; flex-direction: column; }
.home-design-card > a { display: flex; height: 100%; flex-direction: column; }
.home-design-card figure { aspect-ratio: .92 / 1; min-height: 420px; overflow: hidden; border-radius: 16px; background: #57534e; transition: box-shadow .2s ease, transform .2s ease; }
.home-design-card img { width: 100%; height: 100%; object-fit: cover; }
.home-design-card h3 { margin-top: 16px; color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: 28px; }
.home-design-card:hover figure { transform: translateY(-2px); box-shadow: 0 18px 42px rgb(0 0 0 / 14%); }
.dwelly-faq__eyebrow { margin-bottom: 12px; color: var(--dwelly-clay); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.dwelly-faq__intro h2 { color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: clamp(48px, 6vw, 74px); line-height: 1.02; }
.dwelly-faq__items { border-top: 1px solid var(--dwelly-border); }
.dwelly-faq__item { border-bottom: 1px solid var(--dwelly-border); }
.dwelly-faq__trigger { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: none; padding: 20px 0; color: var(--dwelly-forest); font-size: 18px; text-align: left; cursor: pointer; }
.dwelly-faq__trigger [data-faq-icon] { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid transparent; border-radius: 50%; font-size: 24px; line-height: 1; transition: background-color .2s ease, border-color .2s ease; }
.dwelly-faq__trigger:hover [data-faq-icon],
.dwelly-faq__trigger:focus-visible [data-faq-icon] { border-color: var(--dwelly-forest); background: var(--dwelly-lime); }
.dwelly-faq__answer { max-width: 720px; padding: 0 48px 24px 0; font-size: 15px; line-height: 1.55; }
.dwelly-gallery { position: relative; outline-offset: 6px; touch-action: pan-y; }
.dwelly-gallery__slides figure { aspect-ratio: 1.2 / 1; overflow: hidden; border-radius: 28px; }
.dwelly-gallery__slides img { width: 100%; height: 100%; object-fit: cover; }
.dwelly-gallery__footer { display: flex; margin-top: 20px; align-items: center; justify-content: space-between; gap: 16px; }
.dwelly-gallery__controls { display: flex; gap: 8px; }
.dwelly-gallery__controls button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--dwelly-forest); border-radius: 50%; color: var(--dwelly-forest); font-size: 24px; }
.dwelly-gallery__controls button:hover { background: var(--dwelly-lime); }
.dwelly-gallery__dots { display: flex; gap: 8px; }
.dwelly-gallery__dots button { width: 10px; height: 10px; border: 0; border-radius: 999px; background: rgb(28 54 41 / 30%); padding: 0; transition: width .2s ease, background-color .2s ease; }
.dwelly-gallery__dots button[aria-current=true] { width: 32px; background: var(--dwelly-forest); }

.functional-nav-item.is-active > .functional-nav-link,
.functional-mobile-nav-item.is-active > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}
.dwelly-floor-plans { display: grid; width: 100%; justify-self: stretch; gap: 16px; }
.dwelly-floor-plan { position: relative; display: flex; width: 100%; flex-direction: column; align-items: stretch; border: 1px solid var(--dwelly-border); border-radius: 22px; background: var(--dwelly-card); padding: 16px; color: var(--dwelly-forest); text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.dwelly-floor-plan:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgb(0 0 0 / 13%); }
.dwelly-floor-plan__media { display: grid; aspect-ratio: 1.7 / 1; place-items: center; overflow: hidden; border: 1px solid var(--dwelly-border); border-radius: 16px; background: var(--dwelly-bg); }
.dwelly-floor-plan__media img { width: 100%; height: 100%; object-fit: contain; }
.dwelly-floor-plan__diagram { position: relative; display: block; width: 84%; height: 84%; border: 2px solid rgb(var(--dwelly-forest-rgb) / 70%); background: linear-gradient(90deg,transparent calc(25% - 1px),var(--dwelly-border) 25%,transparent calc(25% + 1px)),linear-gradient(0deg,transparent calc(50% - 1px),var(--dwelly-border) 50%,transparent calc(50% + 1px)); }
.dwelly-floor-plan__diagram::after { position: absolute; inset: 10%; display: grid; place-items: center; color: var(--dwelly-forest); font-size: 11px; line-height: 2.8; text-align: center; white-space: pre; }
.dwelly-floor-plan__diagram[data-plan=main]::after { content: 'Living       Kitchen\A Bedroom     Bath / Entry'; }
.dwelly-floor-plan__diagram[data-plan=loft]::after { content: 'Loft          Open\A              Storage'; }
.dwelly-floor-plan__diagram[data-plan=furnished]::after { content: 'Sofa          Table\A Queen         Desk'; }
.dwelly-floor-plan__label { margin-top: 12px; padding: 0 2px 2px; font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: 26px; line-height: 1.05; }
.mega-menu-card.is-coming-soon { cursor: default; }
.mega-menu-card__status { display: block; margin-top: 5px; color: var(--dwelly-clay); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.functional-mobile-coming-soon { display: flex; min-height: 68px; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid rgb(28 54 41 / 15%); border-radius: 16px; background: var(--dwelly-card); padding: 12px 16px; color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars),serif; font-size: 20px; line-height: 1.1; }
.functional-mobile-coming-soon small { margin-top: 5px; color: var(--dwelly-clay); font-family: var(--wp--preset--font-family--abc-walter-neue),sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dwelly-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgb(0 0 0 / 76%); padding: 32px; }
.dwelly-lightbox[hidden] { display: none; }
.dwelly-lightbox__content { display: grid; width: min(960px,92vw); max-height: 84vh; place-items: center; }
.dwelly-lightbox__content > img { max-width: 100%; max-height: 84vh; background: #fff; object-fit: contain; }
.dwelly-lightbox__content > .dwelly-floor-plan__media { display: grid; width: min(780px,88vw); aspect-ratio: 1.22 / 1; place-items: center; border-radius: 22px; background: var(--dwelly-bg); }
.dwelly-lightbox__content .dwelly-floor-plan__diagram { width: 88%; height: 84%; background-color: var(--dwelly-card); }
.dwelly-lightbox__content .dwelly-floor-plan__diagram::after { font-size: clamp(14px,2vw,22px); }
.dwelly-lightbox [data-lightbox-close] { position: absolute; top: 16px; right: 16px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #fff; border-radius: 50%; color: #fff; font-size: 28px; }
html.modal-open,
body.modal-open { overflow: hidden; }
.field-house-included__rule { display: block; width: 128px; height: 1px; margin-top: 20px; background: var(--dwelly-clay); }
.field-house-included__grid { display: grid; gap: 12px; }
.field-house-included__card { display: flex; min-height: 230px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--dwelly-border); border-radius: 16px; background: var(--dwelly-bg); padding: 24px 16px; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field-house-included__card:hover { background: var(--dwelly-card); box-shadow: 0 16px 38px rgb(0 0 0 / 9%); transform: translateY(-2px); }
.field-house-included__card svg,
.field-house-included__disclaimer svg { width: 46px; height: 46px; flex: 0 0 auto; fill: none; stroke: var(--dwelly-clay); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.field-house-included__divider { width: 40px; height: 1px; margin-top: 20px; background: var(--dwelly-clay); }
.field-house-included__card h3 { max-width: 220px; margin-top: 16px; color: var(--dwelly-forest); font-size: 13px; font-weight: 600; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.field-house-included__card p { max-width: 245px; margin-top: 12px; font-size: 13px; line-height: 1.45; }
.field-house-included__disclaimer { display: grid; margin-top: 28px; border-top: 1px solid var(--dwelly-border); padding-top: 24px; gap: 20px; grid-template-columns: 46px 1fr; }
.field-house-included__disclaimer p { max-width: 900px; font-size: 15px; line-height: 1.55; }
.dwelly-statistics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.dwelly-statistics > h2 { color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.dwelly-statistics__body { max-width: 860px; margin-top: 20px; font-size: 19px; line-height: 1.55; }
.dwelly-statistics__grid { margin-top: 48px; }
.dwelly-statistics__grid article { border-bottom: 1px solid var(--dwelly-border); padding: 36px; }
.dwelly-statistics strong { display: block; font-size: clamp(48px, 8vw, 112px); }
.dwelly-statistics strong { min-height: 1em; font-variant-numeric: tabular-nums; }
.dwelly-statistics__grid span { display: block; max-width: 460px; margin-top: 16px; font-size: 18px; }
.dwelly-statistics__note { margin-top: 32px; font-size: 12px; }
.home-stats .dwelly-statistics { max-width: 100%; }
.home-stats .dwelly-statistics__grid { grid-template-columns: 1fr; gap: 0; }
.home-stats .dwelly-statistics__grid article { padding: 32px 0; }
.home-stats .dwelly-statistics strong { color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: clamp(76px,9vw,128px); font-weight: 400; letter-spacing: -1.7px; line-height: 1; }
.home-arrow-divider { display:flex; height:128px; align-items:center; justify-content:center; margin-block:-24px; overflow:visible; pointer-events:none; }
.home-arrow-divider > div { height:100%; opacity:1; will-change:transform; }
.home-arrow-divider img { display:block; width:225px; height:100%; object-fit:contain; }
.home-arrow-divider--wide img { width:357px; }
.home-arrow-divider--high { margin-top:-64px; }
.home-arrow-divider--testimonials { height:150px; margin:0; padding-block:24px; }
.home-arrow-divider--flip img { transform:scaleX(-1); }
.home-arrow-transition { display:none; position:relative; z-index:1; min-height:260px; overflow:visible; pointer-events:none; }
.home-arrow-transition > div { position:absolute; right:22vw; top:34%; will-change:transform; }
.home-arrow-transition img { display:block; width:clamp(260px,24vw,420px); max-width:none; transform:translateY(-50%); }
.home-sustainability figure > div:last-child { display:none; }
.home-sustainability figure > div:nth-of-type(2) { display:none; }
.home-sustainability figure > * { display:none; }
.home-sustainability figure { border:0!important; border-radius:0; background:transparent!important; }
.home-sustainability figure > img { display:block; inset:0; width:100%; height:100%; border-radius:0; object-fit:contain; }
.dwelly-adu-sequence { display: grid; align-items: start; gap: 40px; padding: 48px 24px; }
.dwelly-adu-sequence__media { position: relative; order: 2; min-height: 0; padding: 8%; }
.dwelly-adu-sequence__stack { display: grid; gap: 20px; }
.dwelly-adu-sequence__media article { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: var(--dwelly-border); transition: opacity .3s ease, transform .3s ease; }
.dwelly-adu-sequence__media article img { width: 100%; height: 100%; object-fit: cover; }
.dwelly-adu-sequence__media article:nth-child(1) { transform:rotate(-2.4deg); }
.dwelly-adu-sequence__media article:nth-child(2) { transform:rotate(1.5deg); }
.dwelly-adu-sequence__media article:nth-child(3) { transform:rotate(-1.1deg); }
.dwelly-adu-sequence__media article:nth-child(4) { transform:rotate(2.2deg); }
.dwelly-adu-sequence__content { order: 1; }
.dwelly-adu-sequence__eyebrow { color: #628400; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.dwelly-adu-sequence__content h2 { margin: 16px 0 0; color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: clamp(48px, 6vw, 78px); line-height: 1; }
.dwelly-adu-sequence__body { margin-top: 28px; font-size: 18px; line-height: 1.58; }
.dwelly-adu-sequence__body p + p { margin-top: 20px; }
.home-included__media { padding: 5%; }
.home-included__media { order: 1; }
.home-included > div:last-child { order: 2; }
.home-included__media figure { min-height: 420px; overflow: hidden; border-radius: 23px; background: var(--dwelly-border); transform: rotate(-6deg); }
.home-included__media img { width: 100%; height: 100%; min-height: 420px; object-fit: contain; }
.dwelly-portfolio__map { position: relative; }
.dwelly-map-pin { position: absolute; top: var(--y); left: var(--x); width: 18px; height: 18px; border-radius: 50%; background: var(--dwelly-lime); transform: translate(-50%, -50%); }

@media (min-width: 768px) {
  .home-process > div:first-child,
  .home-included > div:last-child { width:75%; margin-inline-start:25%; }
  .home-process > div:last-child { display:flex; align-items:center; justify-content:center; }
  .home-process > div:last-child img { width:60%; height:auto; aspect-ratio:auto; }
  .home-sustainability figure > img { inset:0; width:100%; height:100%; }
  .home-included > div:last-child { order: 1; }
  .home-included__media { order: 2; }
  .home-stats .dwelly-statistics__grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; position:relative; }
  .home-stats .dwelly-statistics__grid::before { content:""; position:absolute; inset-block:0; left:50%; width:1px; background:var(--dwelly-border); }
  .home-stats .dwelly-statistics__grid article { padding:36px 0; }
  .home-arrow-divider { height:236px; margin-block:-39px; }
  .home-arrow-divider--high { margin-top:-96px; }
  .home-arrow-divider--testimonials { height:210px; margin:0; padding-block:32px; }
  .home-arrow-transition { display:block; }
  .dwelly-gallery__slides figure { aspect-ratio: 1.28 / 1; }
  .field-house-faq .dwelly-faq { display: grid; gap: 40px; grid-template-columns: .82fr 1.18fr; }
  .field-house-included__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-hero { min-height: 850px; }
  .home-chapters-carousel,
  .home-designs-carousel { padding: 0 57.9906px; }
  .dwelly-carousel__track > * { flex-basis: min(34vw, 470px); }
  .testimonial-carousel .dwelly-carousel__track > * { flex-basis:calc((100vw - 160px) / 2); }
  .home-design-card figure { min-height: 520px; }
  .home-included__media figure,
  .home-included__media img { min-height: 620px; }
  .dwelly-floor-plans,
  .dwelly-adu-sequence { grid-template-columns: 1fr 1fr; }
  .design-page .dwelly-floor-plans { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dwelly-adu-sequence { gap: 161px; padding: 55px 57.9906px; }
  .dwelly-adu-sequence__media { order: 1; min-height: 230vh; }
  .dwelly-adu-sequence__stack { position: sticky; top: 112px; display: block; aspect-ratio: 1; }
  .dwelly-adu-sequence__media article { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
  .dwelly-adu-sequence__media article.is-active { opacity: 1; }
  .dwelly-adu-sequence__content { position: sticky; top: 144px; order: 2; }
}

@media (min-width: 1200px) {
  .testimonial-carousel .dwelly-carousel__track > * { flex-basis:calc((100vw - 160px) / 3); }
}

@media (max-width: 767px) {
  .testimonial-carousel .dwelly-carousel__track > * { flex-basis:calc(100vw - 48px); }
  .home-process > div:last-child img { width:60%; height:auto; margin-inline:auto; aspect-ratio:auto; }
  .home-sustainability figure > img { inset:0; width:100%; height:100%; }
}

@media (min-width: 1024px) {
  .field-house-included__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .field-house-included__card { min-height: 250px; padding: 28px 20px; }
}

@media (max-width: 767px) {
  .dwelly-floor-plans { width: 100%; }
  :root { --dwelly-header-height: 80px; }
  .functional-header__bar { display: flex; min-height: 80px; justify-content: space-between; padding: 0 16px 0 24px; }
  .functional-header .functional-header__bar > .functional-header__logo {
    width: auto;
    height: auto;
    min-height: 0;
  }
  .functional-header .functional-header__logo .header-logo--dark,
  .functional-header .functional-header__logo .header-logo--light { display: none; }
  body.menu-open .functional-header .functional-header__logo .header-logo--dark,
  body.menu-open .functional-header .functional-header__logo .header-logo--light { display: none; }
  .functional-header .functional-header__logo .header-mark--light { display: block; width: 28px; height: auto; }
  .functional-header.is-opaque .functional-header__logo .header-mark--light,
  body.menu-open .functional-header .functional-header__logo .header-mark--light { display: none; }
  .functional-header.is-opaque .functional-header__logo .header-mark--dark,
  body.menu-open .functional-header .functional-header__logo .header-mark--dark { display: block; width: 28px; height: auto; }
  .functional-desktop-nav,
  .functional-header__bar > .dwelly-button { display: none; }
  .functional-header > .functional-header__bar > .functional-mobile-nav-toggle {
    position: relative;
    z-index: 100;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgb(28 54 41 / 15%);
    border-radius: 50%;
    background: var(--dwelly-lime);
    box-shadow: 0 6px 18px rgb(0 0 0 / 8%);
  }
  .functional-mobile-nav-toggle span { position: absolute; width: 24px; height: 2px; border-radius: 2px; background: var(--dwelly-forest); transition: transform .2s ease, opacity .2s ease; }
  .functional-mobile-nav-toggle span:first-child { transform: translateY(-7px); }
  .functional-mobile-nav-toggle span:last-child { transform: translateY(7px); }
  body.menu-open .functional-mobile-nav-toggle span:first-child { transform: rotate(45deg); }
  body.menu-open .functional-mobile-nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .functional-mobile-nav-toggle span:last-child { transform: rotate(-45deg); }
  .functional-mobile-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 95;
    overflow-y: auto;
    overscroll-behavior: contain;
    height: 100dvh;
    background: var(--dwelly-bg);
    padding: 96px 24px 40px;
    color: var(--dwelly-forest);
  }
  .functional-mobile-nav-panel[hidden] { display: none; }
  .functional-mobile-nav-panel:not([hidden]) { display: block; }
  .functional-mobile-nav-list,
  .functional-mobile-submenu { margin: 0; padding: 0; list-style: none; }
  .functional-mobile-nav-list { display: flex; flex-direction: column; gap: 16px; }
  .functional-mobile-nav-item > a,
  .functional-mobile-submenu-toggle { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; border: 0; background: none; padding: 0; color: var(--dwelly-forest); font-family: var(--wp--preset--font-family--hw-cigars), serif; font-size: 28px; line-height: 1.1; text-align: left; text-decoration: none; }
  .functional-mobile-submenu { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .functional-mobile-submenu[hidden] { display: none; }
  .functional-mobile-submenu .functional-mobile-nav-item > a { display: flex; min-height: 68px; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid rgb(28 54 41 / 15%); border-radius: 16px; background: var(--dwelly-card); padding: 12px 16px; font-size: 20px; }
  .functional-mobile-submenu small { margin-top: 4px; color: #57534e; font-family: inherit; font-size: 13px; line-height: 1.35; }
  .mega-menu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .mega-menu-panel { top: calc(var(--dwelly-header-height) + 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .functional-header,
  .functional-mobile-nav-toggle span,
  .mega-menu-card,
  .dwelly-button,
  .dwelly-card,
  .dwelly-floor-plan,
  .dwelly-adu-sequence__media img { transition: none; }
  .mega-menu-card:hover,
  .dwelly-button:hover,
  .dwelly-card:hover,
  .dwelly-floor-plan:hover { transform: none; }
}
/* Homepage Kit checklist form: intentionally isolated from every other Kit form. */
.home-hero-checklist {
  width: min(100%, 720px);
  margin: 28px auto 0;
  text-align: center;
}

.home-hero-checklist > h2 {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--color-orange-50, #fff8ed);
  font-family: var(--font-heading, inherit);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

.home-hero-checklist .formkit-form,
.home-hero-checklist .formkit-fields,
.home-hero-checklist .wp-block-convertkit-form-builder,
.home-hero-checklist .wp-block-convertkit-form-builder form {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
}

.home-hero-checklist .formkit-fields,
.home-hero-checklist .wp-block-convertkit-form-builder form {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
}

.home-hero-checklist .formkit-field,
.home-hero-checklist .convertkit-form-builder-field {
  flex: 1 1 320px !important;
  margin: 0 !important;
}

.home-hero-checklist .formkit-input,
.home-hero-checklist .formkit-submit,
.home-hero-checklist .convertkit-form-builder-field input,
.home-hero-checklist .home-hero-checklist__submit {
  min-height: 52px !important;
  border-radius: 999px !important;
  font: inherit !important;
}

.home-hero-checklist .formkit-input,
.home-hero-checklist .convertkit-form-builder-field input {
  width: 100% !important;
  border: 1px solid rgba(255, 248, 237, .85) !important;
  background: rgba(255, 248, 237, .96) !important;
  color: #17362c !important;
  padding: 0 22px !important;
}

.home-hero-checklist .formkit-input:focus-visible,
.home-hero-checklist .convertkit-form-builder-field input:focus-visible {
  outline: 3px solid #fff8ed !important;
  outline-offset: 3px !important;
}

.home-hero-checklist .formkit-submit,
.home-hero-checklist .home-hero-checklist__submit {
  flex: 0 0 auto !important;
  border: 1px solid var(--color-lime-700, #597236) !important;
  background: var(--color-lime-700, #597236) !important;
  color: #fff8ed !important;
  padding: 0 26px !important;
  cursor: pointer !important;
}

.home-hero-checklist .formkit-submit:hover,
.home-hero-checklist .home-hero-checklist__submit:hover {
  filter: brightness(.92);
}

.home-hero-checklist .formkit-submit:focus-visible,
.home-hero-checklist .home-hero-checklist__submit:focus-visible {
  outline: 3px solid #fff8ed !important;
  outline-offset: 3px !important;
}

.home-hero-checklist .formkit-alert,
.home-hero-checklist .formkit-alert-error,
.home-hero-checklist .formkit-alert-success {
  margin-top: 12px !important;
  text-align: center !important;
}

.home-hero-checklist .formkit-alert-error {
  color: #7a1d0d !important;
}

.home-hero-checklist .formkit-alert-success {
  color: #17362c !important;
}

.home-hero-checklist .convertkit-form-builder-subscribed-message {
  width: 100%;
  color: #fff8ed;
  text-align: center;
}

@media (max-width: 767px) {
  .home-hero-checklist {
    width: min(100%, 390px);
    margin-top: 22px;
  }

  .home-hero-checklist > h2 {
    margin-bottom: 14px;
    font-size: clamp(19px, 6vw, 24px);
  }

  .home-hero-checklist .formkit-fields,
  .home-hero-checklist .wp-block-convertkit-form-builder form {
    flex-direction: column !important;
  }

  .home-hero-checklist .formkit-field,
  .home-hero-checklist .formkit-submit,
  .home-hero-checklist .convertkit-form-builder-field,
  .home-hero-checklist .home-hero-checklist__submit {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}
