.cw-community-detail {
  --cw-cd-ink: #231f20;
  --cw-cd-charcoal: #2c2b2a;
  --cw-cd-navy: #09111e;
  --cw-cd-paper: #f8f6f3;
  --cw-cd-soft: #ede8e1;
  --cw-cd-stone: #70778b;
  --cw-cd-line: rgba(35, 31, 32, 0.16);
  --cw-cd-white: #fff;
  --cw-community-image-overlay: rgba(34, 34, 34, 0.62);
  --cw-community-hero-overlay: rgba(34, 34, 34, 0.77);
  --cw-cd-h2-max: 3rem;
  --cw-cd-serif: "adobe-garamond-pro", Georgia, serif;
  --cw-cd-sans: "Inter", Arial, sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--cw-cd-white);
  color: var(--cw-cd-ink);
  font-family: var(--cw-cd-sans);
  font-size: 1rem;
  line-height: 1.72;
}

/*
 * The theme's off-canvas menu styles set horizontal overflow to hidden on
 * #tophead from 901px through 1229px. That makes it a scroll container and
 * prevents descendants using position: sticky from tracking the viewport.
 * Keep the same clipping without creating an ancestor scroll container.
 */
@media (min-width: 901px) and (max-width: 1229px) {
  body.page-template-community-detail #tophead.cbp-spmenu-push {
    overflow-x: clip;
    overflow-y: visible;
  }
}

.cw-community-detail *,
.cw-community-detail *::before,
.cw-community-detail *::after {
  box-sizing: border-box;
}

.cw-community-detail img {
  display: block;
  width: 100%;
  max-width: none;
}

.cw-community-detail a {
  color: inherit;
}

.cw-community-detail h1,
.cw-community-detail h2,
.cw-community-detail h3,
.cw-community-detail h4 {
  margin: 0;
  color: inherit;
  font-family: var(--cw-cd-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.cw-community-detail h1 {
  max-width: 1020px;
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.96;
  text-wrap: balance;
}

.cw-community-detail h2 {
  font-size: clamp(2.35rem, 3vw, var(--cw-cd-h2-max));
  line-height: 1.02;
  text-wrap: balance;
}

.cw-community-detail h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

.cw-community-detail p,
.cw-community-detail li {
  font-size: clamp(1rem, 1.08vw, 1.125rem);
}

.cw-cd-inner {
  width: min(1240px, calc(100% - clamp(48px, 9vw, 168px)));
  margin-right: auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.cw-cd-reading-width {
  max-width: 820px;
}

.cw-cd-section {
  padding: clamp(84px, 9vw, 136px) 0;
}

.cw-cd-eyebrow {
  margin: 0 0 18px !important;
  color: var(--cw-cd-stone);
  font-family: var(--cw-cd-sans);
  font-size: 0.76rem !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.25;
  text-transform: uppercase;
}

.cw-cd-rich {
  max-width: 70ch;
}

.cw-cd-rich > :first-child {
  margin-top: 0;
}

.cw-cd-rich > :last-child {
  margin-bottom: 0;
}

.cw-cd-rich p {
  margin: 20px 0 0;
  line-height: 1.78;
}

.cw-cd-rich ul,
.cw-cd-rich ol {
  margin: 22px 0 0;
  padding-left: 1.35em;
}

.cw-cd-rich li {
  margin-top: 9px;
  line-height: 1.68;
}

.cw-cd-rich strong {
  font-weight: 650;
}

.cw-cd-rich a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(35, 31, 32, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 180ms ease;
}

.cw-cd-rich a:hover,
.cw-cd-rich a:focus-visible {
  text-decoration-color: currentColor;
}

.cw-cd-rich blockquote {
  margin: 30px 0 0;
  padding: 2px 0 2px 26px;
  border-left: 2px solid var(--cw-cd-ink);
  font-family: var(--cw-cd-serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.35;
}

.cw-cd-rich blockquote p {
  font: inherit;
}

.cw-cd-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.cw-cd-button {
  min-height: 52px;
  padding: 17px 27px 15px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-cd-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.cw-community-detail .cw-cd-button-light {
  border-color: var(--cw-cd-soft);
  background: var(--cw-cd-soft);
  color: var(--cw-cd-charcoal);
}

.cw-community-detail .cw-cd-button-light:hover,
.cw-community-detail .cw-cd-button-light:focus-visible {
  border-color: var(--cw-cd-white);
  background: var(--cw-cd-white);
  color: var(--cw-cd-charcoal);
}

.cw-community-detail .cw-cd-button-ghost {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(9, 17, 30, 0.28);
  color: var(--cw-cd-white);
}

.cw-community-detail .cw-cd-button-ghost:hover,
.cw-community-detail .cw-cd-button-ghost:focus-visible {
  border-color: var(--cw-cd-white);
  background: var(--cw-cd-white);
  color: var(--cw-cd-charcoal);
}

.cw-community-detail a:focus-visible,
.cw-community-detail summary:focus-visible {
  outline: 3px solid var(--cw-cd-ink);
  outline-offset: 4px;
}

.cw-cd-hero a:focus-visible,
.cw-cd-site a:focus-visible,
.cw-cd-process-panel a:focus-visible,
.cw-cd-closing a:focus-visible {
  outline-color: var(--cw-cd-white);
}

.cw-cd-media {
  margin: 0;
}

.cw-cd-media img,
.cw-cd-hero-image,
.cw-cd-closing-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.cw-cd-media-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  padding-top: 12px;
  color: #5f5c5a;
  font-size: 0.75rem;
  line-height: 1.45;
}

.cw-cd-media-credit {
  color: #78736f;
}

.cw-cd-media-credit::before {
  content: "Credit: ";
}

/* Hero */

.cw-cd-hero {
  min-height: 760px;
  min-height: max(760px, 78svh);
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cw-cd-navy);
  color: var(--cw-cd-white);
}

.cw-cd-hero-media,
.cw-cd-hero-media picture,
.cw-cd-hero-image {
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

.cw-cd-hero-media picture,
.cw-cd-hero-image {
  z-index: 0;
}

.cw-cd-hero-image {
  object-fit: cover;
  object-position: var(--cw-cd-hero-position, center center);
}

.cw-cd-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 17, 30, var(--cw-cd-hero-overlay-start, 0.72)) 0%,
      rgba(9, 17, 30, var(--cw-cd-hero-overlay-mid, 0.6)) 48%,
      rgba(9, 17, 30, var(--cw-cd-hero-overlay-end, 0.32)) 100%
    ),
    linear-gradient(0deg, rgba(9, 17, 30, 0.45) 0%, rgba(9, 17, 30, 0) 46%);
  pointer-events: none;
}

.cw-cd-hero.is-text-first::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.38;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.05) 58% 58.08%, transparent 58.08%),
    radial-gradient(circle at 82% 15%, rgba(112, 119, 139, 0.27), transparent 38%);
}

.cw-cd-hero.is-text-first .cw-cd-hero-overlay {
  background: linear-gradient(90deg, rgba(9, 17, 30, 0.34), rgba(9, 17, 30, 0));
}

.cw-cd-back-link {
  min-height: 44px;
  padding: 10px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  z-index: 4;
  top: clamp(112px, 9vw, 154px);
  left: clamp(18px, 3vw, 56px);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--cw-cd-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.cw-cd-back-link-arrow {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 180ms ease;
}

.cw-cd-back-link:hover,
.cw-cd-back-link:focus-visible {
  color: var(--cw-cd-white);
}

.cw-cd-back-link:hover .cw-cd-back-link-arrow,
.cw-cd-back-link:focus-visible .cw-cd-back-link-arrow {
  transform: translateX(-4px);
}

.cw-cd-hero-inner {
  min-height: inherit;
  padding-top: clamp(112px, 13vw, 176px);
  padding-bottom: clamp(108px, 11vw, 154px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cw-cd-hero-copy {
  width: min(930px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.cw-cd-hero-copy .cw-cd-eyebrow {
  color: var(--cw-cd-soft);
}

.cw-cd-hero-intro {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 22.4px;
  color: rgba(255, 255, 255, 0.9);
}

.cw-cd-hero-copy .cw-cd-buttons {
  justify-content: center;
  margin-top: 27.2px;
}

.cw-cd-hero-intro p {
  color: inherit;
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.68;
}

.cw-cd-hero-intro a {
  text-decoration-color: rgba(255, 255, 255, 0.56);
}

.cw-cd-hero-media > .cw-cd-media-caption {
  max-width: min(560px, calc(100% - 48px));
  padding: 9px 12px;
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4.5vw, 72px);
  bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(9, 17, 30, 0.5);
  font-size: 0.68rem;
}

.cw-cd-hero-media > .cw-cd-media-caption .cw-cd-media-credit {
  color: rgba(255, 255, 255, 0.72);
}

/* Trust strip */

.cw-cd-trust {
  padding: clamp(46px, 5vw, 66px) 0;
  border-bottom: 1px solid var(--cw-cd-line);
  background: var(--cw-cd-paper);
}

.cw-cd-trust h2 {
  max-width: 820px;
  margin: 0 auto clamp(30px, 4vw, 42px);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  text-align: center;
}

.cw-community-detail .cw-cd-trust-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.cw-community-detail .cw-cd-trust-list > li {
  margin: 0;
  min-height: 124px;
  padding: 4px clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--cw-cd-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  position: static;
  color: #4b4846;
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
  list-style: none;
}

.cw-community-detail .cw-cd-trust-list > li::before {
  content: none;
  display: none;
}

.cw-community-detail .cw-cd-trust-list > li::marker {
  content: "";
}

.cw-community-detail .cw-cd-trust-list > li:last-child {
  border-right: 0;
}

.cw-cd-trust-icon {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-cd-stone);
  font-size: 42px;
  line-height: 1;
}

.cw-cd-trust-text {
  max-width: 23ch;
}

/* Editorial introduction */

.cw-cd-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(56px, 8vw, 124px);
}

.cw-cd-editorial-layout.has-no-media {
  grid-template-columns: 1fr;
}

.cw-cd-editorial-layout.has-no-media .cw-cd-section-copy {
  max-width: 850px;
}

.cw-cd-section-copy h2 + .cw-cd-rich,
.cw-cd-section-lead h2 + .cw-cd-rich,
.cw-cd-decisions-lead h2 + .cw-cd-rich {
  margin-top: 28px;
}

.cw-cd-section-copy > .cw-cd-rich,
.cw-cd-section-lead > .cw-cd-rich {
  color: #4f4b49;
}

.cw-cd-intro-media {
  aspect-ratio: 4 / 5;
}

.cw-cd-intro-media .cw-cd-media-caption {
  aspect-ratio: auto;
}

/* Layered design narrative */

.cw-cd-design {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.075), transparent 30%),
    var(--cw-cd-navy);
  color: var(--cw-cd-white);
}

.cw-cd-design-signature-wrap {
  z-index: 1;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.cw-cd-design-signature {
  max-width: 100%;
  margin: 0;
  overflow: visible;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--cw-cd-serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  pointer-events: none;
  user-select: none;
}

.cw-cd-design-signature.is-short-name {
  font-size: clamp(6.2rem, 13vw, 13rem) !important;
}

.cw-cd-design-signature.is-medium-name {
  font-size: clamp(5.4rem, 10.5vw, 10rem) !important;
}

.cw-cd-design-signature.is-long-name {
  font-size: clamp(4.4rem, 7.4vw, 7.4rem) !important;
}

.cw-cd-design-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
}

.cw-cd-design .cw-cd-section-copy {
  grid-column: 7 / -1;
  grid-row: 1;
  z-index: 3;
  padding: clamp(44px, 5.2vw, 74px);
  position: relative;
  background: var(--cw-cd-paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  color: var(--cw-cd-ink);
}

.cw-cd-design .cw-cd-section-copy::before {
  content: "";
  width: 72px;
  height: 1px;
  position: absolute;
  top: clamp(25px, 3vw, 40px);
  right: clamp(30px, 4vw, 56px);
  background: rgba(35, 31, 32, 0.38);
}

.cw-cd-design-community {
  padding-right: 86px;
  color: #686f80;
}

#cw-cd-design-heading {
  font-size: clamp(2.65rem, 3vw, var(--cw-cd-h2-max));
}

.cw-cd-design .cw-cd-section-copy > .cw-cd-rich {
  color: #4f4b49;
}

.cw-cd-design .cw-cd-section-copy > .cw-cd-rich p,
.cw-cd-design .cw-cd-section-copy > .cw-cd-rich li {
  color: inherit;
}

.cw-cd-design .cw-cd-section-copy > .cw-cd-rich h3 {
  margin: 42px 0 0;
  padding-top: 34px;
  border-top: 1px solid var(--cw-cd-line);
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
}

.cw-cd-design-media {
  min-width: 0;
  aspect-ratio: auto;
  grid-column: 1 / 9;
  grid-row: 1;
  z-index: 1;
}

.cw-cd-design-image-frame {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--cw-cd-charcoal);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.32);
}

.cw-cd-design-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 17, 30, 0.04), rgba(9, 17, 30, 0.16));
}

.cw-cd-design-image-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.cw-cd-design-media > .cw-cd-media-caption {
  max-width: calc(100% - 34px);
  padding: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cw-cd-design-media > .cw-cd-media-caption .cw-cd-media-credit {
  color: rgba(255, 255, 255, 0.56);
}

.cw-cd-design.has-no-media .cw-cd-design-layout {
  min-height: clamp(510px, 48vw, 650px);
}

.cw-cd-design.has-no-media .cw-cd-section-copy {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  column-gap: clamp(52px, 7vw, 104px);
  row-gap: 20px;
}

.cw-cd-design.has-no-media .cw-cd-design-community {
  grid-column: 1 / -1;
}

.cw-cd-design.has-no-media .cw-cd-section-copy h2 {
  grid-column: 1;
}

.cw-cd-design.has-no-media .cw-cd-section-copy > .cw-cd-rich {
  max-width: 62ch;
  margin-top: 0;
  grid-column: 2;
}

/* Site intelligence */

.cw-cd-section.cw-cd-site {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--cw-cd-charcoal);
  color: var(--cw-cd-white);
}

.cw-cd-site > .cw-cd-inner {
  width: min(1240px, calc(100% - clamp(56px, 10vw, 180px)));
}

.cw-cd-section-lead {
  max-width: 850px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.cw-cd-site-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: start;
}

.cw-cd-site-layout.has-no-lead {
  grid-template-columns: 1fr;
}

.cw-cd-site-layout.has-no-lead .cw-cd-site-grid {
  grid-column: 1 / -1;
}

.cw-cd-site-intro {
  width: 100%;
  max-width: 470px;
  margin-bottom: 0;
  position: sticky;
  top: clamp(92px, 8vw, 132px);
  align-self: start;
}

.cw-cd-site-intro h2 {
  max-width: 470px;
  font-size: clamp(1.84rem, 3.84vw, 4rem);
}

.cw-cd-site-intro > .cw-cd-rich {
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.76);
}

.cw-cd-site-intro > .cw-cd-rich p {
  font-size: 20px;
}

.cw-cd-site .cw-cd-rich a,
.cw-cd-process-panel .cw-cd-rich a,
.cw-cd-closing .cw-cd-rich a {
  text-decoration-color: rgba(255, 255, 255, 0.48);
}

.cw-cd-site-grid {
  width: 100%;
  display: grid;
  gap: 18px;
  border-top: 0;
}

.cw-cd-site-item {
  min-height: 0;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 42px);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cw-cd-number {
  margin: 0 0 32px !important;
  color: var(--cw-cd-stone);
  font-family: var(--cw-cd-serif);
  font-size: 1rem !important;
  letter-spacing: 0.12em;
  line-height: 1;
}

.cw-cd-process .cw-cd-number {
  color: rgba(255, 255, 255, 0.62);
}

.cw-cd-site-item-copy {
  min-width: 0;
}

.cw-cd-site-item > .cw-cd-number {
  margin: 0 !important;
  color: var(--cw-cd-soft);
  font-size: clamp(5rem, 8.8vw, 8.2rem) !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.cw-cd-site-item h3 {
  color: var(--cw-cd-white);
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
}

.cw-cd-site-item-copy > .cw-cd-rich {
  margin-top: 17px;
  color: var(--cw-cd-paper);
}

.cw-cd-site .cw-cd-rich p,
.cw-cd-site .cw-cd-rich li,
.cw-cd-site .cw-cd-rich a {
  color: var(--cw-cd-white);
}

.cw-cd-site-item-copy > .cw-cd-rich p {
  color: var(--cw-cd-paper);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.7;
}

/* Mid-page invitation */

.cw-cd-mid-cta {
  padding: clamp(70px, 8vw, 104px) 0;
  background: var(--cw-cd-white);
  color: var(--cw-cd-ink);
}

.cw-cd-mid-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.cw-cd-mid-cta-copy {
  max-width: 850px;
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid var(--cw-cd-line);
}

.cw-cd-mid-cta h2 {
  font-size: clamp(2.15rem, 3.4vw, var(--cw-cd-h2-max));
}

.cw-cd-mid-cta .cw-cd-rich {
  margin-top: 20px;
  color: var(--cw-cd-charcoal);
}

.cw-cd-mid-cta .cw-cd-rich p,
.cw-cd-mid-cta .cw-cd-rich li {
  color: inherit;
}

.cw-community-detail .cw-cd-mid-cta .cw-cd-button {
  border-color: var(--cw-cd-ink);
  background: var(--cw-cd-ink);
  color: var(--cw-cd-white);
}

.cw-community-detail .cw-cd-mid-cta .cw-cd-button:hover,
.cw-community-detail .cw-cd-mid-cta .cw-cd-button:focus-visible {
  border-color: var(--cw-cd-charcoal);
  background: var(--cw-cd-charcoal);
  color: var(--cw-cd-white);
}

/* Decisions */

.cw-cd-decisions {
  background: var(--cw-cd-white);
}

.cw-cd-decisions-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  align-items: start;
  gap: clamp(64px, 10vw, 150px);
}

.cw-cd-decisions-lead {
  position: sticky;
  top: 120px;
}

.cw-cd-decisions-lead .cw-cd-rich {
  color: #55514e;
}

.cw-cd-decision-list {
  border-top: 1px solid var(--cw-cd-line);
}

.cw-cd-decision {
  padding: 31px 0 34px;
  border-bottom: 1px solid var(--cw-cd-line);
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
}

.cw-cd-decision .cw-cd-number {
  margin-top: 8px !important;
  font-size: 42px !important;
  letter-spacing: 0;
  line-height: 1;
}

.cw-cd-decision .cw-cd-rich {
  margin-top: 13px;
  color: #55514e;
}

.cw-cd-decision .cw-cd-rich p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Confirmed and representative work */

.cw-cd-work {
  background: var(--cw-cd-paper);
}

.cw-cd-work-lead {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(34px, 4vw, 48px);
  display: block;
}

.cw-cd-work-lead > h2 {
  max-width: none;
}

.cw-cd-work-lead > .cw-cd-rich {
  max-width: 94ch;
  margin-top: 20px;
  padding-top: 0;
}

#cw-cd-work-heading {
  scroll-margin-top: 118px;
}

.cw-cd-work-lead > .cw-cd-rich h3 {
  margin: clamp(32px, 4vw, 48px) 0 0;
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
}

.cw-community-detail .cw-cd-rich h3 > span:has(
    > a[href^="#label-"],
    > a[href="#top"]
  ) {
  display: none;
}

.cw-cd-work-lead > .cw-cd-rich h3 + p {
  margin-top: 14px;
}

.cw-cd-work.has-no-projects .cw-cd-work-lead {
  margin-bottom: 0;
}

.cw-cd-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 5vw, 66px) clamp(24px, 3vw, 40px);
}

.cw-cd-project-carousel {
  --cw-cd-project-column-gap: clamp(24px, 3vw, 40px);
  --cw-cd-project-row-gap: clamp(38px, 5vw, 66px);
  min-width: 0;
}

.cw-cd-project-carousel-controls {
  margin-bottom: clamp(20px, 2.4vw, 30px);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cw-cd-project-carousel-controls[hidden] {
  display: none !important;
}

.cw-cd-project-carousel-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--cw-cd-line);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cw-cd-ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.cw-cd-project-carousel-button:hover,
.cw-cd-project-carousel-button:focus-visible {
  border-color: var(--cw-cd-ink);
  background: var(--cw-cd-ink);
  color: var(--cw-cd-white);
}

.cw-cd-project-carousel-button:focus-visible {
  outline: 3px solid var(--cw-cd-stone);
  outline-offset: 3px;
}

.cw-cd-project-carousel-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.cw-cd-project-carousel-button:disabled:hover {
  border-color: var(--cw-cd-line);
  background: transparent;
  color: var(--cw-cd-ink);
}

.cw-cd-projects-track {
  grid-template-columns: none;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--cw-cd-project-column-gap)) / 2);
  gap: var(--cw-cd-project-row-gap) var(--cw-cd-project-column-gap);
  max-width: 100%;
  padding: 1px 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 1px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(37, 36, 35, 0.42) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.cw-cd-project-carousel.is-single-row-peek .cw-cd-projects-track {
  grid-template-rows: minmax(0, auto);
}

@media (min-width: 901px) {
  .cw-cd-projects-track:has(> .cw-cd-project:nth-child(5)),
  .cw-cd-project-carousel.is-single-row-peek .cw-cd-projects-track {
    width: calc(50% + 50vw);
    max-width: none;
    grid-auto-columns: calc(
      (100% - var(--cw-cd-project-column-gap) - var(--cw-cd-project-column-gap)) / 2.5
    );
  }
}

.cw-cd-projects-track:focus-visible {
  outline: 2px solid var(--cw-cd-stone);
  outline-offset: 8px;
}

.cw-cd-projects-track > .cw-cd-project {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.cw-cd-project {
  min-width: 0;
  border-top: 1px solid var(--cw-cd-line);
  position: relative;
  background: var(--cw-cd-white);
}

.cw-cd-project-media {
  overflow: hidden;
}

.cw-cd-project-media > img,
.cw-cd-project-media > picture {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

.cw-cd-project-media > picture {
  position: relative;
}

.cw-cd-project-media > picture > img {
  position: absolute;
  inset: 0;
}

.cw-cd-project-media img {
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cw-cd-project:hover .cw-cd-project-media img,
.cw-cd-project:focus-within .cw-cd-project-media img {
  transform: scale(1.025);
}

.cw-cd-project-media .cw-cd-media-caption {
  padding-right: clamp(24px, 3vw, 38px);
  padding-left: clamp(24px, 3vw, 38px);
}

.cw-cd-project-copy {
  padding: clamp(28px, 4vw, 46px);
  position: relative;
  z-index: 1;
}

.cw-cd-project-status {
  margin: 0 0 15px !important;
  color: var(--cw-cd-stone);
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.cw-cd-project-copy .cw-cd-rich {
  margin-top: 15px;
  color: #55514e;
}

.cw-cd-project-copy .cw-cd-rich p {
  font-size: 0.98rem;
  line-height: 1.68;
}

.cw-cd-text-link {
  margin-top: 24px;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.cw-cd-project-card-link {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.cw-cd-text-link-motion {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  position: relative;
  z-index: 4;
  transition: transform 180ms ease;
}

.cw-cd-text-link-arrow {
  font-size: 1.1rem;
  font-weight: 400;
}

.cw-cd-project:hover .cw-cd-text-link-motion,
.cw-cd-project:focus-within .cw-cd-text-link-motion {
  transform: translateX(5px);
}

.cw-cd-project:focus-within {
  outline: 3px solid var(--cw-cd-stone);
  outline-offset: 4px;
}

.cw-cd-project .cw-cd-project-card-link:focus-visible {
  outline: 0;
}

.cw-cd-projects.is-single .cw-cd-project.has-image {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  align-items: stretch;
}

.cw-cd-projects.is-single .cw-cd-project.has-image .cw-cd-project-media {
  height: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  align-self: start;
}

.cw-cd-projects.is-single .cw-cd-project.has-image .cw-cd-project-media > img,
.cw-cd-projects.is-single .cw-cd-project.has-image .cw-cd-project-media > picture {
  min-height: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
}

.cw-cd-project.is-text-only {
  background: transparent;
}

.cw-cd-project.is-text-only .cw-cd-project-copy {
  padding-right: 0;
  padding-left: 0;
}

/* Process */

.cw-cd-section.cw-cd-process {
  padding-top: 0;
  background: var(--cw-cd-paper);
  color: var(--cw-cd-ink);
}

.cw-cd-process-lead {
  max-width: 1120px;
  margin-bottom: 0;
}

.cw-cd-process-lead h2 {
  max-width: 20ch;
  font-size: clamp(2.75rem, 4.35vw, 4.75rem);
  line-height: 0.98;
}

.cw-cd-process-lead > .cw-cd-rich {
  max-width: 1080px;
  color: #4f4b49;
}

.cw-cd-process-showcase {
  margin-top: 42px;
}

/* The unenhanced fallback keeps every phase visible. */
.cw-cd-process-tabs {
  display: none;
}

.cw-cd-process-panel-wrap {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.cw-cd-process-panel {
  min-width: 0;
  min-height: 430px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(112, 119, 139, 0.28), transparent 34%),
    var(--cw-cd-navy);
  color: var(--cw-cd-white);
}

.cw-cd-process-media {
  margin: 0;
  position: absolute;
  z-index: 0;
  inset: 0;
}

.cw-cd-process-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.cw-cd-process-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 17, 30, 0.08) 8%,
    rgba(9, 17, 30, 0.25) 42%,
    rgba(9, 17, 30, 0.9) 100%
  );
  pointer-events: none;
}

.cw-cd-process-caption {
  max-width: min(62%, 470px);
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(9, 17, 30, 0.7);
  font-family: var(--cw-cd-sans);
  font-size: 0.68rem;
  line-height: 1.4;
}

.cw-cd-process-media-label {
  margin: 0 !important;
  padding: 8px 11px;
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(9, 17, 30, 0.7);
  font-family: var(--cw-cd-sans);
  font-size: 0.62rem !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cw-cd-process-panel.has-media-label .cw-cd-process-caption {
  top: 54px;
}

.cw-cd-process-caption-credit {
  color: rgba(255, 255, 255, 0.68);
}

.cw-cd-process-panel-copy {
  width: 100%;
  max-width: 730px;
  padding: clamp(34px, 5vw, 64px);
  position: relative;
  z-index: 3;
}

.cw-cd-process-panel h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.cw-cd-process-panel .cw-cd-rich {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.cw-cd-process-panel .cw-cd-rich p,
.cw-cd-process-panel .cw-cd-rich li {
  color: inherit;
  font-size: 1rem;
  line-height: 1.55;
}

.cw-cd-process-showcase.is-enhanced {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  align-items: stretch;
  gap: clamp(12px, 2vw, 28px);
}

.cw-cd-process-showcase.is-enhanced .cw-cd-process-tabs {
  height: 100%;
  min-height: 430px;
  border: 0;
  border-top: 1px solid var(--cw-cd-line);
  display: grid;
  grid-template-rows: repeat(var(--cw-cd-process-count, 5), minmax(0, 1fr));
  align-content: stretch;
}

.cw-cd-process-tab {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 18px 16px;
  border: 0;
  border-bottom: 1px solid var(--cw-cd-line);
  border-radius: 0;
  display: flex;
  align-items: center;
  appearance: none;
  background: transparent;
  color: var(--cw-cd-ink);
  font-family: var(--cw-cd-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.cw-cd-process-tab:hover,
.cw-cd-process-tab.is-active,
.cw-cd-process-tab:focus-visible {
  background: #423f3c;
  color: var(--cw-cd-white);
  box-shadow: none;
}

.cw-cd-process-tab:focus-visible {
  z-index: 2;
}

.cw-cd-process-tab-title {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.cw-cd-process-showcase.is-enhanced .cw-cd-process-panel-wrap {
  min-width: 0;
  min-height: 430px;
  display: block;
  overflow: hidden;
}

.cw-cd-process-panel-wrap:focus-visible {
  outline: 3px solid var(--cw-cd-stone);
  outline-offset: 4px;
}

.cw-cd-process-showcase.is-enhanced .cw-cd-process-panel {
  display: none;
}

.cw-cd-process-showcase.is-enhanced .cw-cd-process-panel.is-active {
  display: flex;
}

.cw-cd-process-controls {
  display: none;
}

.cw-cd-process-controls[hidden] {
  display: none !important;
}

.cw-cd-process-arrow,
.cw-cd-process-dot {
  margin: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: var(--cw-cd-ink);
  cursor: pointer;
}

.cw-cd-process-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--cw-cd-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.cw-cd-process-arrow:not(:disabled):hover,
.cw-cd-process-arrow:focus-visible {
  border-color: var(--cw-cd-ink);
  background: var(--cw-cd-ink);
  color: var(--cw-cd-white);
}

.cw-cd-process-arrow:focus-visible,
.cw-cd-process-dot:focus-visible {
  outline: 3px solid var(--cw-cd-stone);
  outline-offset: 3px;
}

.cw-cd-process-arrow:disabled {
  opacity: 0.38;
  cursor: default;
}

.cw-cd-process-dots {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.cw-cd-process-dot {
  width: 34px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cw-cd-process-dot > span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--cw-cd-stone);
  border-radius: 50%;
  display: block;
}

.cw-cd-process-dot.is-active > span {
  background: var(--cw-cd-ink);
  border-color: var(--cw-cd-ink);
}

/* FAQs */

.cw-cd-faq-section {
  background: var(--cw-cd-white);
}

.cw-cd-faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(38px, 5vw, 64px);
}

.cw-cd-faq-lead {
  position: static;
}

.cw-cd-faq-lead h2 {
  max-width: none;
}

.cw-cd-faq-list {
  width: 100%;
  border-top: 1px solid var(--cw-cd-line);
}

.cw-cd-faq-list details {
  border-bottom: 1px solid var(--cw-cd-line);
}

.cw-cd-faq-list summary {
  min-height: 84px;
  padding: 25px 58px 24px 0;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: var(--cw-cd-ink);
  font-family: var(--cw-cd-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  line-height: 1.25;
  list-style: none;
}

.cw-cd-faq-list summary::-webkit-details-marker {
  display: none;
}

.cw-cd-faq-list summary::before,
.cw-cd-faq-list summary::after {
  content: "";
  width: 20px;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 5px;
  background: var(--cw-cd-ink);
  transition: transform 180ms ease;
}

.cw-cd-faq-list summary::after {
  transform: rotate(90deg);
}

.cw-cd-faq-list details[open] summary::after {
  transform: rotate(0);
}

.cw-cd-faq-answer {
  padding: 0 60px 28px 0;
  color: #55514e;
}

.cw-cd-faq-answer p {
  margin-top: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Closing conversation */

.cw-cd-closing {
  min-height: 0;
  padding: clamp(86px, 7vw, 130px) 0;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cw-cd-charcoal);
  color: var(--cw-cd-white);
}

.cw-cd-closing-media,
.cw-cd-closing-image {
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

.cw-cd-closing-image {
  z-index: 0;
  object-fit: cover;
  object-position: var(--cw-cd-closing-position, center center);
}

.cw-cd-closing picture.cw-cd-closing-image {
  height: 100% !important;
}

.cw-cd-closing picture.cw-cd-closing-image > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: var(--cw-cd-closing-position, center center);
}

/* Match the soft background treatment of the renovations inquiry section. */
.cw-cd-closing-media > img.cw-cd-closing-image,
.cw-cd-closing picture.cw-cd-closing-image > img {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px) !important;
  height: calc(100% + 12px) !important;
  filter: blur(2px);
  transform: scale(1.01);
}

.cw-cd-closing-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 17, 30, var(--cw-cd-closing-overlay-start, 0.84)) 0%,
      rgba(9, 17, 30, var(--cw-cd-closing-overlay-mid, 0.62)) 50%,
      rgba(9, 17, 30, var(--cw-cd-closing-overlay-end, 0.32)) 100%
    );
  pointer-events: none;
}

.cw-cd-closing.is-text-first::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 64%, rgba(255, 255, 255, 0.045) 64% 64.08%, transparent 64.08%),
    radial-gradient(circle at 78% 28%, rgba(112, 119, 139, 0.23), transparent 36%);
}

.cw-cd-closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.cw-cd-closing.has-no-form .cw-cd-closing-inner {
  grid-template-columns: minmax(0, 830px);
}

.cw-cd-closing-copy {
  max-width: 720px;
}

.cw-cd-closing-copy .cw-cd-rich {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.cw-cd-closing-copy .cw-cd-rich p,
.cw-cd-closing-copy .cw-cd-rich li {
  color: inherit;
}

.cw-cd-closing-form-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  scroll-margin-top: 120px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color: var(--cw-cd-ink);
}

.cw-cd-closing-form-card:focus-visible {
  outline: 3px solid var(--cw-cd-white);
  outline-offset: 6px;
}

.cw-cd-closing-form-card h3 {
  margin-bottom: 22px;
  color: var(--cw-cd-ink);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.cw-cd-closing-form-frame {
  margin: 0;
}

.cw-cd-closing-form-frame iframe {
  width: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.cw-cd-closing-media > .cw-cd-media-caption {
  max-width: min(560px, calc(50% - 48px));
  padding: 9px 12px;
  position: absolute;
  z-index: 3;
  right: auto;
  bottom: 24px;
  left: clamp(24px, 4.5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(9, 17, 30, 0.5);
  font-size: 0.68rem;
}

.cw-cd-closing-media > .cw-cd-media-caption .cw-cd-media-credit {
  color: rgba(255, 255, 255, 0.72);
}

/* Content fallback */

.cw-cd-content-fallback {
  background: var(--cw-cd-white);
}

@media (max-width: 1100px) {
  .cw-cd-editorial-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 54px;
  }

  .cw-cd-design .cw-cd-section-copy {
    grid-column: 6 / -1;
    padding: clamp(42px, 5vw, 58px);
  }

  .cw-cd-design-media {
    grid-column: 1 / 8;
  }

  .cw-cd-design.has-no-media .cw-cd-section-copy {
    grid-column: 1 / -1;
  }

}

@media (max-width: 980px) {
  .cw-cd-section.cw-cd-site {
    padding-top: clamp(32px, 3.8vw, 56px);
    padding-bottom: clamp(32px, 3.8vw, 56px);
  }

  .cw-cd-site > .cw-cd-inner {
    width: min(calc(100% - 40px), 920px);
  }

  .cw-cd-site-layout {
    grid-template-columns: 1fr;
  }

  .cw-cd-site-intro {
    max-width: none;
    position: relative;
    top: auto;
  }

  .cw-cd-site-intro h2 {
    max-width: none;
  }

  .cw-cd-process-showcase.is-enhanced {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-tabs {
    min-height: 0;
  }

  .cw-cd-process-tab {
    min-height: 58px;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-panel-wrap,
  .cw-cd-process-panel {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .cw-cd-back-link {
    top: 98px;
    left: 18px;
  }

  .cw-community-detail .cw-cd-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .cw-community-detail .cw-cd-trust-list > li:nth-child(even) {
    border-right: 0;
  }

  .cw-cd-editorial-layout,
  .cw-cd-decisions-layout {
    grid-template-columns: 1fr;
  }

  .cw-cd-intro-media {
    aspect-ratio: 5 / 4;
  }

  .cw-cd-design {
    padding-top: 76px;
    padding-bottom: 88px;
  }

  .cw-cd-design-signature-wrap {
    margin-bottom: 34px;
  }

  .cw-cd-design-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cw-cd-design .cw-cd-section-copy,
  .cw-cd-design.has-no-media .cw-cd-section-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .cw-cd-design.has-no-media .cw-cd-design-layout {
    min-height: 0;
  }

  .cw-cd-design.has-no-media .cw-cd-section-copy {
    display: block;
  }

  .cw-cd-design.has-no-media .cw-cd-section-copy > .cw-cd-rich {
    margin-top: 28px;
  }

  .cw-cd-design-media {
    margin-top: 38px;
    grid-column: 1;
    grid-row: 2;
  }

  .cw-cd-design-image-frame {
    aspect-ratio: 16 / 10;
  }

  .cw-cd-decisions-lead {
    position: static;
  }

  .cw-cd-closing-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cw-cd-closing-copy {
    max-width: 720px;
  }

  .cw-cd-closing-form-card {
    width: 100%;
    max-width: 680px;
  }

  .cw-cd-mid-cta-inner {
    grid-template-columns: 1fr;
  }

  .cw-cd-mid-cta .cw-cd-button {
    justify-self: start;
  }

  .cw-cd-work-lead > .cw-cd-rich {
    padding-top: 0;
  }

  .cw-cd-projects.is-single .cw-cd-project.has-image {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .cw-cd-inner {
    width: min(calc(100% - 36px), 620px);
  }

  .cw-community-detail h1 {
    font-size: clamp(2.8rem, 12vw, 4.25rem);
    line-height: 0.98;
  }

  .cw-community-detail h2 {
    font-size: clamp(2.25rem, 9.5vw, var(--cw-cd-h2-max));
  }

  .cw-cd-section {
    padding: 78px 0;
  }

  .cw-cd-buttons,
  .cw-cd-button {
    width: 100%;
  }

  .cw-cd-hero {
    min-height: 720px;
    min-height: 92svh;
  }

  .cw-cd-hero-image {
    object-position: var(--cw-cd-hero-mobile-position, var(--cw-cd-hero-position, center center));
  }

  .cw-cd-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(9, 17, 30, 0.46) 0%,
        rgba(9, 17, 30, var(--cw-cd-hero-overlay-mid, 0.66)) 44%,
        rgba(9, 17, 30, var(--cw-cd-hero-overlay-start, 0.78)) 100%
      );
  }

  .cw-cd-hero-inner {
    padding-top: 116px;
    padding-bottom: 120px;
  }

  .cw-cd-back-link {
    top: 88px;
    font-size: 0.66rem;
  }

  .cw-cd-hero-intro {
    margin-top: 18.4px;
  }

  .cw-cd-hero-media > .cw-cd-media-caption,
  .cw-cd-closing-media > .cw-cd-media-caption {
    max-width: calc(100% - 36px);
    right: 18px;
    bottom: 15px;
  }

  .cw-cd-site-grid,
  .cw-cd-projects {
    grid-template-columns: 1fr;
  }

  .cw-cd-projects-track {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, auto));
    grid-auto-columns: 100%;
  }

  .cw-cd-project-carousel-controls {
    justify-content: flex-start;
  }

  .cw-community-detail .cw-cd-trust-list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .cw-community-detail .cw-cd-trust-list > li {
    padding: 18px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--cw-cd-line);
    justify-content: flex-start;
  }

  .cw-community-detail .cw-cd-trust-list > li:last-child {
    border-bottom: 0;
  }

  .cw-cd-trust-text {
    max-width: none;
  }

  .cw-cd-design-signature.is-short-name {
    font-size: clamp(4rem, 18vw, 7rem) !important;
  }

  .cw-cd-design-signature.is-medium-name {
    font-size: clamp(2rem, 10.5vw, 5.4rem) !important;
  }

  .cw-cd-design-signature.is-long-name {
    font-size: clamp(2.4rem, 9.2vw, 4.1rem) !important;
  }

  .cw-cd-design .cw-cd-section-copy {
    padding: 46px 28px 42px;
  }

  .cw-cd-design .cw-cd-section-copy::before {
    width: 48px;
    top: 28px;
    right: 28px;
  }

  .cw-cd-design-community {
    padding-right: 64px;
  }

  #cw-cd-design-heading {
    font-size: clamp(2.25rem, 10vw, var(--cw-cd-h2-max));
  }

  .cw-cd-design-image-frame {
    aspect-ratio: 5 / 4;
  }

  .cw-cd-site-item {
    min-height: 0;
    padding: 34px 0;
    border-right: 0;
  }

  .cw-cd-mid-cta-copy {
    padding-left: 22px;
  }

  .cw-cd-decision {
    grid-template-columns: 48px 1fr;
    gap: 13px;
  }

  .cw-cd-process-lead {
    margin-bottom: 0;
  }

  .cw-cd-process-showcase {
    margin-top: 34px;
  }

  .cw-cd-process-showcase.is-enhanced {
    display: block;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-tabs {
    display: none;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-panel-wrap {
    min-height: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-panel-wrap::-webkit-scrollbar {
    display: none;
  }

  .cw-cd-process-showcase.is-enhanced .cw-cd-process-panel {
    min-height: 520px;
    display: flex;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cw-cd-process-panel-copy {
    padding: 32px 28px 34px;
  }

  .cw-cd-process-panel h3 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .cw-cd-process-panel .cw-cd-rich {
    margin-top: 14px;
  }

  .cw-cd-process-panel .cw-cd-rich p,
  .cw-cd-process-panel .cw-cd-rich li {
    font-size: 0.95rem;
  }

  .cw-cd-process-caption {
    max-width: calc(100% - 32px);
    top: 16px;
    right: 16px;
    font-size: 0.64rem;
  }

  .cw-cd-process-media-label {
    top: 16px;
    left: 16px;
  }

  .cw-cd-process-panel.has-media-label .cw-cd-process-caption {
    top: 52px;
  }

  .cw-cd-process-controls {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .cw-cd-faq-list summary {
    min-height: 76px;
    padding-right: 46px;
    font-size: 1.3rem;
  }

  .cw-cd-faq-answer {
    padding-right: 0;
  }

  .cw-cd-closing {
    min-height: 0;
    padding: 72px 0;
  }

  .cw-cd-closing-form-card {
    padding: 22px;
  }

  .cw-cd-closing-media > .cw-cd-media-caption {
    max-width: calc(100% - 36px);
    right: auto;
    left: 18px;
  }
}

@media (max-width: 700px) {
  .cw-community-detail {
    --cw-community-image-overlay: rgba(18, 18, 18, 0.62);
    --cw-community-hero-overlay: rgba(18, 18, 18, 0.77);
  }

  .cw-cd-site > .cw-cd-inner {
    width: min(calc(100% - 36px), 920px);
  }

  .cw-cd-site-layout {
    gap: 48px;
  }

  .cw-community-detail .cw-cd-site-intro h2 {
    font-size: clamp(1.6rem, 8vw, 2.64rem);
  }

  .cw-cd-site-intro > .cw-cd-rich p {
    font-size: 18px;
  }

  .cw-cd-site-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (min-width: 901px) {
  .cw-cd-hero-copy {
    width: min(1116px, 100%);
  }

  .cw-cd-hero-copy > h1 {
    max-width: none;
  }

  .cw-cd-faq-layout {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    gap: clamp(42px, 6vw, 76px);
  }

  .cw-cd-faq-lead {
    position: sticky;
    top: 120px;
  }

  .cw-cd-faq-lead h2 {
    max-width: 10ch;
  }
}

.cw-community-detail .cw-cd-hero .cw-cd-hero-overlay {
  background-color: rgba(9, 17, 30, 0.22);
}

.cw-community-detail .cw-cd-hero.has-image .cw-cd-hero-overlay {
  background: var(--cw-community-hero-overlay);
}

.cw-community-detail .cw-cd-closing.has-image .cw-cd-closing-overlay {
  background: var(--cw-community-image-overlay);
}

@media (prefers-reduced-motion: reduce) {
  .cw-community-detail *,
  .cw-community-detail *::before,
  .cw-community-detail *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Community labels for the current community detail pages. */
body.page-id-3840 .cw-cd-work {
  --cw-cd-project-community-label: "Silverleaf";
}
body.page-id-3841 .cw-cd-work {
  --cw-cd-project-community-label: "Silverleaf · Representative portfolio work";
}
body.page-id-3842 .cw-cd-work {
  --cw-cd-project-community-label: "Desert Mountain";
}
body.page-id-3843 .cw-cd-work {
  --cw-cd-project-community-label: "Whisper Rock";
}
body.page-id-3845 .cw-cd-work {
  --cw-cd-project-community-label: "Mirabel";
}
body.page-id-3848 .cw-cd-work {
  --cw-cd-project-community-label: "Mummy Mountain · Project launch";
}
body.page-id-3851 .cw-cd-work {
  --cw-cd-project-community-label: "Paradise Valley · Representative portfolio work";
}
body.page-id-3854 .cw-cd-work {
  --cw-cd-project-community-label: "Silverleaf";
}
body.page-id-3857 .cw-cd-work {
  --cw-cd-project-community-label: "Silverleaf · Representative portfolio work";
}

:is(body.page-id-3840, body.page-id-3841, body.page-id-3842, body.page-id-3843, body.page-id-3845, body.page-id-3848, body.page-id-3851, body.page-id-3854, body.page-id-3857) .cw-cd-project-status {
  display: none;
}

:is(body.page-id-3840, body.page-id-3841, body.page-id-3842, body.page-id-3843, body.page-id-3845, body.page-id-3848, body.page-id-3851, body.page-id-3854, body.page-id-3857) .cw-cd-project-copy::before {
  content: var(--cw-cd-project-community-label);
  display: block;
  margin: 0 0 15px;
  color: #686f80;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}


/* Mummy Mountain Loom revisions, September 22, 2026. */
body.page-id-3848 .cw-cd-intro-media {
  aspect-ratio: 16 / 10;
}

/* Keep the homeowners and their complete rendering clear of the text card. */
@media (min-width: 981px) {
  body.page-id-3848 .cw-cd-design-media {
    grid-column: 1 / 7;
  }

  body.page-id-3848 .cw-cd-design .cw-cd-section-copy {
    grid-column: 7 / -1;
  }
}

/* Phase photos are decorative; the native phase copy stays accessible. */
body.page-id-3848 #cw-cd-process-panel-3848-2 .cw-cd-process-media {
  background-image: url("https://www.calviswyant.com/wp-content/uploads/2025/08/DSC09419.webp");
}

body.page-id-3848 #cw-cd-process-panel-3848-3 .cw-cd-process-media {
  background-image: url("https://www.calviswyant.com/wp-content/uploads/2026/01/Calvis-Wyant-Office-Design-Build-Meeting-with-Team.jpg");
}

body.page-id-3848 #cw-cd-process-panel-3848-4 .cw-cd-process-media {
  background-image: url("https://www.calviswyant.com/wp-content/uploads/2025/08/DSC09401.webp");
}

body.page-id-3848 #cw-cd-process-panel-3848-5 .cw-cd-process-media {
  background-image: url("https://www.calviswyant.com/wp-content/uploads/2026/09/Tony-Calvis.webp");
}

body.page-id-3848 :is(
  #cw-cd-process-panel-3848-2,
  #cw-cd-process-panel-3848-3,
  #cw-cd-process-panel-3848-4,
  #cw-cd-process-panel-3848-5
) .cw-cd-process-media {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.page-id-3848 #cw-cd-process-panel-3848-5 .cw-cd-process-media {
  background-position: center top;
}

body.page-id-3848 :is(
  #cw-cd-process-panel-3848-2,
  #cw-cd-process-panel-3848-3,
  #cw-cd-process-panel-3848-4,
  #cw-cd-process-panel-3848-5
) .cw-cd-process-media :is(img, picture) {
  display: none;
}


/* Troon Village Loom: use each portfolio home's native community label. */
body.page-id-3857 .cw-cd-project-copy::before {
  content: none;
  display: none;
}
body.page-id-3857 .cw-cd-project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.page-id-3857 .cw-cd-project-copy > .cw-cd-rich {
  order: -1;
  margin: 0 0 15px;
}
body.page-id-3857 .cw-cd-project-copy .cw-cd-project-community {
  display: block;
  margin: 0;
  color: #686f80;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}
