.cwd-home, .cwd-services-page, .cwd-about-page, .cwd-contact-page, .cwd-portfolio-page, .cwd-resources-page, .cwd-legal-page, .cwd-portfolio-detail-page, .cwd-service-detail-page, .cwd-resource-article-page {
  --cwd-home-bg: #f8f7fa;
  --cwd-home-surface: #fff;
  --cwd-home-border: rgba(110, 86, 172, 0.12);
  --cwd-home-border-neutral: rgba(44, 34, 69, 0.08);
  --cwd-home-inset: #ececee;
  --cwd-home-radius: 20px;
  --cwd-home-accent: var(--cwd-gradient-brand);
  --cwd-home-accent-vertical: var(--cwd-gradient-brand-vertical);
  --cwd-home-text: #2d2d35;
  --cwd-home-muted: #454558;
  --cwd-home-section-y: clamp(3rem, 6vw, 5rem);
}

.cwd-home .cwd-main, .cwd-services-page .cwd-main, .cwd-about-page .cwd-main, .cwd-contact-page .cwd-main, .cwd-portfolio-page .cwd-main, .cwd-resources-page .cwd-main, .cwd-legal-page .cwd-main, .cwd-portfolio-detail-page .cwd-main {
  background: var(--cwd-home-bg);
}

/* Typography accents */

.cwd-home .cwd-tx--strong, .cwd-services-page .cwd-tx--strong, .cwd-about-page .cwd-tx--strong, .cwd-contact-page .cwd-tx--strong, .cwd-portfolio-page .cwd-tx--strong, .cwd-resources-page .cwd-tx--strong, .cwd-legal-page .cwd-tx--strong, .cwd-portfolio-detail-page .cwd-tx--strong {
  font-weight: 600;
  color: inherit;
}

.cwd-home .cwd-hero__glass .cwd-tx--strong, .cwd-services-page .cwd-hero__glass .cwd-tx--strong, .cwd-about-page .cwd-hero__glass .cwd-tx--strong, .cwd-contact-page .cwd-hero__glass .cwd-tx--strong, .cwd-portfolio-page .cwd-hero__glass .cwd-tx--strong, .cwd-resources-page .cwd-hero__glass .cwd-tx--strong, .cwd-legal-page .cwd-hero__glass .cwd-tx--strong, .cwd-portfolio-detail-page .cwd-hero__glass .cwd-tx--strong {
  color: #fff;
}

.cwd-home .cwd-hero__glass .cwd-tx--lead, .cwd-services-page .cwd-hero__glass .cwd-tx--lead, .cwd-about-page .cwd-hero__glass .cwd-tx--lead, .cwd-contact-page .cwd-hero__glass .cwd-tx--lead, .cwd-portfolio-page .cwd-hero__glass .cwd-tx--lead, .cwd-resources-page .cwd-hero__glass .cwd-tx--lead, .cwd-legal-page .cwd-hero__glass .cwd-tx--lead, .cwd-portfolio-detail-page .cwd-hero__glass .cwd-tx--lead {
  display: inline;
  font-size: inherit;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.98);
}

/* Purple/pink accents */

.cwd-home .cwd-hero__glass .cwd-tx--accent, .cwd-services-page .cwd-hero__glass .cwd-tx--accent, .cwd-about-page .cwd-hero__glass .cwd-tx--accent, .cwd-contact-page .cwd-hero__glass .cwd-tx--accent, .cwd-portfolio-page .cwd-hero__glass .cwd-tx--accent, .cwd-resources-page .cwd-hero__glass .cwd-tx--accent, .cwd-legal-page .cwd-hero__glass .cwd-tx--accent, .cwd-portfolio-detail-page .cwd-hero__glass .cwd-tx--accent, .cwd-service-detail-page .cwd-hero__glass .cwd-tx--accent, .cwd-resource-article-page .cwd-hero__glass .cwd-tx--accent {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.cwd-home .cwd-tx--lead, .cwd-services-page .cwd-tx--lead, .cwd-about-page .cwd-tx--lead, .cwd-contact-page .cwd-tx--lead, .cwd-portfolio-page .cwd-tx--lead, .cwd-resources-page .cwd-tx--lead, .cwd-legal-page .cwd-tx--lead, .cwd-portfolio-detail-page .cwd-tx--lead {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--cwd-home-text);
  margin-bottom: 0.75rem;
}

.cwd-home .cwd-tx--accent, .cwd-services-page .cwd-tx--accent, .cwd-about-page .cwd-tx--accent, .cwd-contact-page .cwd-tx--accent, .cwd-portfolio-page .cwd-tx--accent, .cwd-resources-page .cwd-tx--accent, .cwd-legal-page .cwd-tx--accent, .cwd-portfolio-detail-page .cwd-tx--accent {
  font-weight: 600;
  color: var(--bs-primary);
}

/* Inline accents on light surfaces use purple/pink — blue is non-text only */

.cwd-home .cwd-tx--accent-info, .cwd-services-page .cwd-tx--accent-info, .cwd-about-page .cwd-tx--accent-info, .cwd-contact-page .cwd-tx--accent-info, .cwd-portfolio-page .cwd-tx--accent-info, .cwd-resources-page .cwd-tx--accent-info, .cwd-legal-page .cwd-tx--accent-info, .cwd-portfolio-detail-page .cwd-tx--accent-info {
  font-weight: 600;
  color: var(--bs-primary);
}

/* Section accent underlines */

.cwd-home .cwd-services__title::after, .cwd-home .cwd-story__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--cwd-home-accent);
}

/* Shared white surfaces */

.cwd-home .cwd-home-surface, .cwd-services-page .cwd-home-surface, .cwd-about-page .cwd-home-surface, .cwd-contact-page .cwd-home-surface, .cwd-portfolio-page .cwd-home-surface, .cwd-resources-page .cwd-home-surface, .cwd-legal-page .cwd-home-surface, .cwd-portfolio-detail-page .cwd-home-surface, .cwd-service-detail-page .cwd-home-surface {
  position: relative;
  overflow: hidden;
  background: var(--cwd-home-surface);
  border-radius: var(--cwd-home-radius);
  border: 1px solid var(--cwd-home-border);
  box-shadow: var(--cwd-shadow-lg);
  padding: clamp(2.25rem, 4vw, 3.25rem);
}

.cwd-home .cwd-home-surface::before, .cwd-services-page .cwd-home-surface::before, .cwd-about-page .cwd-home-surface::before, .cwd-contact-page .cwd-home-surface::before, .cwd-portfolio-page .cwd-home-surface::before, .cwd-resources-page .cwd-home-surface::before, .cwd-legal-page .cwd-home-surface::before, .cwd-portfolio-detail-page .cwd-home-surface::before, .cwd-service-detail-page .cwd-home-surface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--cwd-home-accent-vertical);
  border-radius: var(--cwd-home-radius) 0 0 var(--cwd-home-radius);
  pointer-events: none;
}

.cwd-home .cwd-home-section .cwd-section__container, .cwd-services-page .cwd-home-section .cwd-section__container, .cwd-about-page .cwd-home-section .cwd-section__container, .cwd-contact-page .cwd-home-section .cwd-section__container, .cwd-portfolio-page .cwd-home-section .cwd-section__container, .cwd-resources-page .cwd-home-section .cwd-section__container, .cwd-legal-page .cwd-home-section .cwd-section__container, .cwd-portfolio-detail-page .cwd-home-section .cwd-section__container, .cwd-service-detail-page .cwd-home-section .cwd-section__container {
  padding-top: var(--cwd-home-section-y);
  padding-bottom: var(--cwd-home-section-y);
}

.cwd-home .cwd-home-section:first-of-type .cwd-section__container, .cwd-services-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-about-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-contact-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-portfolio-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-resources-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-legal-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-portfolio-detail-page .cwd-home-section:first-of-type .cwd-section__container, .cwd-service-detail-page .cwd-home-section:first-of-type .cwd-section__container {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.cwd-home .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-services-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-about-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-contact-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-portfolio-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-resources-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-legal-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-portfolio-detail-page .cwd-home-section + .cwd-home-section .cwd-section__container, .cwd-service-detail-page .cwd-home-section + .cwd-home-section .cwd-section__container {
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* --- Hero --- */

.cwd-home .cwd-hero__media, .cwd-services-page .cwd-hero__media, .cwd-about-page .cwd-hero__media, .cwd-contact-page .cwd-hero__media, .cwd-portfolio-page .cwd-hero__media, .cwd-resources-page .cwd-hero__media, .cwd-legal-page .cwd-hero__media, .cwd-portfolio-detail-page .cwd-hero__media {
  background-size: cover !important;
}

.cwd-home .cwd-hero__media::before, .cwd-services-page .cwd-hero__media::before, .cwd-about-page .cwd-hero__media::before, .cwd-contact-page .cwd-hero__media::before, .cwd-portfolio-page .cwd-hero__media::before, .cwd-resources-page .cwd-hero__media::before, .cwd-legal-page .cwd-hero__media::before, .cwd-portfolio-detail-page .cwd-hero__media::before {
  background: linear-gradient( 90deg, rgba(44, 34, 69, 0.58) 0%, rgba(44, 34, 69, 0.34) 42%, rgba(44, 34, 69, 0.12) 100% ), linear-gradient( 105deg, rgba(70, 133, 204, 0.1) 0%, rgba(70, 133, 204, 0.04) 55%, transparent 100% ), linear-gradient(180deg, transparent 0%, transparent 90%, var(--cwd-home-bg) 100%) !important;
}

.cwd-home .cwd-hero__media::after, .cwd-services-page .cwd-hero__media::after, .cwd-about-page .cwd-hero__media::after, .cwd-contact-page .cwd-hero__media::after, .cwd-portfolio-page .cwd-hero__media::after, .cwd-resources-page .cwd-hero__media::after, .cwd-legal-page .cwd-hero__media::after, .cwd-portfolio-detail-page .cwd-hero__media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cwd-home-accent);
  z-index: 2;
  pointer-events: none;
}

.cwd-home .cwd-hero__row, .cwd-services-page .cwd-hero__row, .cwd-about-page .cwd-hero__row, .cwd-contact-page .cwd-hero__row, .cwd-portfolio-page .cwd-hero__row, .cwd-resources-page .cwd-hero__row, .cwd-legal-page .cwd-hero__row, .cwd-portfolio-detail-page .cwd-hero__row {
  min-height: clamp(360px, 50vh, 460px);
}

.cwd-home .cwd-hero__glass, .cwd-services-page .cwd-hero__glass, .cwd-about-page .cwd-hero__glass, .cwd-contact-page .cwd-hero__glass, .cwd-portfolio-page .cwd-hero__glass, .cwd-resources-page .cwd-hero__glass, .cwd-legal-page .cwd-hero__glass, .cwd-portfolio-detail-page .cwd-hero__glass {
  position: relative;
  width: 100%;
  max-width: 36rem;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) clamp(2rem, 4vw, 3rem) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(32px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: var(--cwd-radius-lg) !important;
  box-shadow: 0 20px 50px rgba(31, 38, 135, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.cwd-home .cwd-hero__glass-inner, .cwd-services-page .cwd-hero__glass-inner, .cwd-about-page .cwd-hero__glass-inner, .cwd-contact-page .cwd-hero__glass-inner, .cwd-portfolio-page .cwd-hero__glass-inner, .cwd-resources-page .cwd-hero__glass-inner, .cwd-legal-page .cwd-hero__glass-inner, .cwd-portfolio-detail-page .cwd-hero__glass-inner {
  max-width: none;
}

.cwd-home .cwd-hero__glass h1, .cwd-services-page .cwd-hero__glass h1, .cwd-about-page .cwd-hero__glass h1, .cwd-contact-page .cwd-hero__glass h1, .cwd-portfolio-page .cwd-hero__glass h1, .cwd-resources-page .cwd-hero__glass h1, .cwd-legal-page .cwd-hero__glass h1, .cwd-portfolio-detail-page .cwd-hero__glass h1 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  max-width: 22ch;
}

.cwd-home .cwd-hero__glass h1 .cwd-tx--strong, .cwd-services-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-about-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-contact-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-portfolio-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-resources-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-legal-page .cwd-hero__glass h1 .cwd-tx--strong, .cwd-portfolio-detail-page .cwd-hero__glass h1 .cwd-tx--strong {
  font-weight: 700 !important;
}

.cwd-home .cwd-hero__glass h1::after, .cwd-services-page .cwd-hero__glass h1::after, .cwd-about-page .cwd-hero__glass h1::after, .cwd-contact-page .cwd-hero__glass h1::after, .cwd-portfolio-page .cwd-hero__glass h1::after, .cwd-resources-page .cwd-hero__glass h1::after, .cwd-legal-page .cwd-hero__glass h1::after, .cwd-portfolio-detail-page .cwd-hero__glass h1::after {
  width: 56px !important;
  height: 3px !important;
  margin-top: 1.125rem !important;
  border-radius: 2px !important;
  background: var(--cwd-home-accent) !important;
}

.cwd-home .cwd-hero__glass p, .cwd-services-page .cwd-hero__glass p, .cwd-about-page .cwd-hero__glass p, .cwd-contact-page .cwd-hero__glass p, .cwd-portfolio-page .cwd-hero__glass p, .cwd-resources-page .cwd-hero__glass p, .cwd-legal-page .cwd-hero__glass p, .cwd-portfolio-detail-page .cwd-hero__glass p {
  font-size: clamp(1.025rem, 2vw, 1.125rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  max-width: 48ch;
}

.cwd-home .cwd-hero__actions, .cwd-services-page .cwd-hero__actions, .cwd-about-page .cwd-hero__actions, .cwd-contact-page .cwd-hero__actions, .cwd-portfolio-page .cwd-hero__actions, .cwd-resources-page .cwd-hero__actions, .cwd-legal-page .cwd-hero__actions, .cwd-portfolio-detail-page .cwd-hero__actions {
  margin-top: 0.25rem;
}

/* --- Services --- */

.cwd-home .cwd-services__intro {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.cwd-home .cwd-services__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  color: var(--cwd-home-text);
}

.cwd-home .cwd-services__intro-cta {
  margin-top: 1.75rem;
}

@media (min-width: 992px) {
  .cwd-home .cwd-services__intro-cta {
    margin-top: 2rem;
  }
}

.cwd-home .cwd-services__intro .cwd-section__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--cwd-home-muted);
  max-width: none;
}

.cwd-home .cwd-services__grid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.cwd-home .cwd-services .service-card {
  border: 1px solid rgba(110, 86, 172, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: var(--cwd-shadow-sm) !important;
  min-height: 12rem !important;
  background: var(--cwd-home-surface) !important;
}

.cwd-home .cwd-service-card__link:hover .service-card, .cwd-home .cwd-service-card__link:focus .service-card {
  transform: translateY(-6px) !important;
  box-shadow: var(--cwd-shadow-md) !important;
  border-color: rgba(110, 86, 172, 0.18) !important;
}

.cwd-home .cwd-service-card__body {
  padding: 2rem 1.5rem 2.25rem !important;
}

.cwd-home .cwd-service-card__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0 !important;
}

.cwd-home .cwd-service-card__icon {
  border-radius: 50% !important;
  width: 3.75rem !important;
  height: 3.75rem !important;
  margin-bottom: 1rem !important;
  font-size: 1.35rem !important;
}

.cwd-home .cwd-service-card__title h3 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9375rem;
  line-height: 1.35;
  margin: 0;
  color: var(--cwd-home-text);
  transition: font-weight var(--cwd-transition), color var(--cwd-transition);
}

.cwd-home .cwd-service-card__link:hover .cwd-service-card__title h3, .cwd-home .cwd-service-card__link:focus .cwd-service-card__title h3 {
  font-weight: 700;
  color: var(--bs-primary);
}

.cwd-home .service-card::after {
  display: none !important;
}

/* --- Story (Transform) --- */

.cwd-home .cwd-story__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.cwd-home .cwd-story__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--cwd-home-text);
  max-width: none;
}

.cwd-home .cwd-story__title-eyebrow {
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cwd-home-muted);
  margin-bottom: 0.35rem;
}

.cwd-home .cwd-story__title-accent {
  display: block;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--bs-primary);
}

.cwd-home .cwd-story__title::after {
  margin-top: 1.125rem;
}

.cwd-home .cwd-story__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 36rem;
}

.cwd-home .cwd-story__lead {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--cwd-home-muted);
  margin-bottom: 0;
}

.cwd-home .cwd-story__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--cwd-home-muted);
  margin-bottom: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(44, 34, 69, 0.08);
}

/* Layered graphic (neutral surface, brand accents on cards) */

.cwd-home .cwd-story__visual {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 280px;
  border-radius: calc(var(--cwd-home-radius) - 4px);
  border: 1px solid rgba(44, 34, 69, 0.06);
  background: #fff;
  overflow: hidden;
}

.cwd-home .cwd-story__graphic {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.cwd-home .cwd-story__graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(44, 34, 69, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

.cwd-home .cwd-story__graphic-card {
  position: absolute;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(44, 34, 69, 0.07);
  box-shadow: 0 4px 6px rgba(44, 34, 69, 0.04), 0 16px 40px rgba(44, 34, 69, 0.08);
}

.cwd-home .cwd-story__graphic-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 4px;
  border-radius: 0 3px 3px 0;
}

.cwd-home .cwd-story__graphic-card--1 {
  width: 58%;
  height: 38%;
  left: 10%;
  top: 18%;
  transform: rotate(-2deg);
}

.cwd-home .cwd-story__graphic-card--1::before {
  background: var(--bs-info);
}

.cwd-home .cwd-story__graphic-card--2 {
  width: 52%;
  height: 34%;
  right: 8%;
  top: 38%;
  transform: rotate(3deg);
  z-index: 2;
}

.cwd-home .cwd-story__graphic-card--2::before {
  background: var(--bs-primary);
}

.cwd-home .cwd-story__graphic-card--3 {
  width: 48%;
  height: 30%;
  left: 22%;
  bottom: 14%;
  transform: rotate(-1deg);
  z-index: 3;
}

.cwd-home .cwd-story__graphic-card--3::before {
  background: var(--bs-secondary);
}

.cwd-home .cwd-story__foot {
  padding: clamp(2rem, 4vw, 2.5rem) 0 0;
  margin-top: 0;
  border-top: 1px solid rgba(44, 34, 69, 0.08);
}

.cwd-home .cwd-story__foot-copy {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--cwd-home-muted);
}

.cwd-home .cwd-story__foot-copy .cwd-tx--strong {
  color: var(--cwd-home-text);
}

.cwd-home .cwd-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cwd-home .cwd-footer {
  background: #fff;
}

@media (min-width: 992px) {
  .cwd-home .cwd-story__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .cwd-home .cwd-story__visual {
    min-height: 100%;
  }
}

@media (max-width: 991.98px) {
  .cwd-home .cwd-story__visual {
    min-height: 220px;
  }
}

@media (max-width: 991.98px) {
  .cwd-home .cwd-story__graphic-card--1 {
    width: 64%;
  }
}

@media (max-width: 991.98px) {
  .cwd-home .cwd-story__graphic-card--2 {
    width: 58%;
  }
}

@media (max-width: 991.98px) {
  .cwd-home .cwd-story__graphic-card--3 {
    width: 54%;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home {
    overflow-x: clip;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-section__container, .cwd-page.cwd-home .cwd-breadcrumb .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-hero__container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-hero__row {
    --bs-gutter-x: 1rem;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-breadcrumb .breadcrumb {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-home-surface img, .cwd-page.cwd-home .card-img-top, .cwd-page.cwd-home .cwd-portfolio-card__frame img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-home-surface {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-nav .navbar-collapse .nav-link {
    padding: 0.65rem 0.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-nav .navbar-collapse .btn {
    width: 100%;
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .cwd-home .cwd-nav, .cwd-services-page .cwd-nav, .cwd-about-page .cwd-nav, .cwd-contact-page .cwd-nav, .cwd-portfolio-page .cwd-nav, .cwd-resources-page .cwd-nav, .cwd-legal-page .cwd-nav, .cwd-portfolio-detail-page .cwd-nav, .cwd-service-detail-page .cwd-nav, .cwd-resource-article-page .cwd-nav {
    position: relative;
    padding-top: 0;
    background: #fff;
    border-bottom: 1px solid rgba(44, 34, 69, 0.08);
  }
}

@media (max-width: 767.98px) {
  .cwd-home .cwd-nav .navbar, .cwd-services-page .cwd-nav .navbar, .cwd-about-page .cwd-nav .navbar, .cwd-contact-page .cwd-nav .navbar, .cwd-portfolio-page .cwd-nav .navbar, .cwd-resources-page .cwd-nav .navbar, .cwd-legal-page .cwd-nav .navbar, .cwd-portfolio-detail-page .cwd-nav .navbar {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
}

@media (max-width: 767.98px) {
  .cwd-home .cwd-nav .navbar.sticky-top, .cwd-services-page .cwd-nav .navbar.sticky-top, .cwd-about-page .cwd-nav .navbar.sticky-top, .cwd-contact-page .cwd-nav .navbar.sticky-top, .cwd-portfolio-page .cwd-nav .navbar.sticky-top, .cwd-resources-page .cwd-nav .navbar.sticky-top, .cwd-legal-page .cwd-nav .navbar.sticky-top, .cwd-portfolio-detail-page .cwd-nav .navbar.sticky-top {
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .cwd-home .cwd-hero__glass, .cwd-services-page .cwd-hero__glass, .cwd-about-page .cwd-hero__glass, .cwd-contact-page .cwd-hero__glass, .cwd-portfolio-page .cwd-hero__glass, .cwd-resources-page .cwd-hero__glass, .cwd-legal-page .cwd-hero__glass, .cwd-portfolio-detail-page .cwd-hero__glass, .cwd-service-detail-page .cwd-hero__glass, .cwd-resource-article-page .cwd-hero__glass {
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .cwd-home .cwd-home-surface, .cwd-services-page .cwd-home-surface, .cwd-about-page .cwd-home-surface, .cwd-contact-page .cwd-home-surface, .cwd-portfolio-page .cwd-home-surface, .cwd-resources-page .cwd-home-surface, .cwd-legal-page .cwd-home-surface, .cwd-portfolio-detail-page .cwd-home-surface, .cwd-service-detail-page .cwd-home-surface, .cwd-resource-article-page .cwd-home-surface {
    padding: clamp(1.75rem, 4vw, 2.25rem);
  }
}

@media (max-width: 767.98px) {
  .cwd-page.cwd-home .cwd-hero__actions .btn, .cwd-page.cwd-home .cwd-resource-cta .btn, .cwd-page.cwd-home .cwd-service-detail-cta .btn {
    width: 100%;
    margin-right: 0 !important;
  }
}

/* Featured work bento (homepage) */

.cwd-page.cwd-home .fit-cover {
  object-fit: cover;
}

.cwd-page.cwd-home .cwd-featured-work__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.1;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  max-width: none;
}

.cwd-page.cwd-home .cwd-featured-work__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 2px;
  background: var(--cwd-home-accent);
}

.cwd-page.cwd-home .cwd-featured-work__title-eyebrow {
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

/* Featured work */

.cwd-page.cwd-home .cwd-featured-work.cwd-band--soft {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.cwd-page.cwd-home .cwd-featured-work__inner {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.cwd-page.cwd-home .cwd-featured-work__title {
  color: var(--cwd-home-text);
}

.cwd-page.cwd-home .cwd-featured-work__title-eyebrow {
  color: var(--cwd-home-muted);
}

.cwd-page.cwd-home .cwd-featured-work__title-accent {
  display: block;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--bs-primary);
}

.cwd-page.cwd-home .cwd-featured-work__actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.cwd-page.cwd-home .cwd-featured-bento {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}

.cwd-page.cwd-home .cwd-featured-bento__cell .cwd-portfolio-card__inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--cwd-home-border-neutral);
  border-radius: calc(var(--cwd-home-radius) - 6px);
  box-shadow: var(--cwd-shadow-md);
  transition: transform var(--cwd-transition), box-shadow var(--cwd-transition), border-color var(--cwd-transition);
}

.cwd-page.cwd-home .cwd-featured-bento__cell:hover .cwd-portfolio-card__inner, .cwd-page.cwd-home .cwd-featured-bento__cell:focus-within .cwd-portfolio-card__inner {
  transform: translateY(-6px);
  box-shadow: var(--cwd-shadow-lg);
  border-color: rgba(110, 86, 172, 0.2);
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__frame {
  margin-bottom: 1.25rem;
  border: 1px solid var(--cwd-home-border-neutral);
  border-radius: calc(var(--cwd-radius-md) - 2px);
  overflow: hidden;
  background: #fff;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__frame-chrome {
  display: flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(180deg, #f0f0f3 0%, #e8e8ed 100%);
  border-bottom: 1px solid rgba(44, 34, 69, 0.08);
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__frame-chrome::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8c8d4;
  box-shadow: 14px 0 0 #c8c8d4, 28px 0 0 #c8c8d4;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__frame-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ececee;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__frame-media img {
  width: 100%;
  height: 100% !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.cwd-page.cwd-home .cwd-featured-bento__cell:hover .cwd-portfolio-card__frame-media img {
  transform: scale(1.02);
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__body {
  padding: 0 0.25rem 0.25rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__body h3 {
  font-size: 1.0625rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--cwd-home-text);
  margin-bottom: 0.35rem;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__body > a:not(.cwd-portfolio-card__cta) {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__body h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__title-link {
  color: var(--cwd-home-text);
  text-decoration: none;
  transition: color var(--cwd-transition);
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__title-link:hover {
  color: var(--bs-primary);
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

.cwd-page.cwd-home .cwd-featured-bento .cwd-portfolio-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .cwd-page.cwd-home .cwd-featured-bento {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 992px) {
  .cwd-page.cwd-home .cwd-featured-bento__cell .cwd-portfolio-card__inner {
    padding: 1.5rem;
  }
}

