/*
 * Your global styles here
 */
html,
body {
  height: 100%;
}

html {
  background: white;
}

body {
  margin: 0;
}

/* Homepage hero banner: keep LCP image prioritized when marked eager-load */
.eager-load img,
.eager-load picture img {
  content-visibility: visible;
}

/*
 * CLS: theme shell uses min-height:100%, which does nothing until the parent has a
 * definite height. Empty #main-content then leaves the tall mobile footer under the
 * header (~0.86 CLS when it jumps away). Reserve viewport height on the host + main.
 * Head markup also sets these via inline style (shadow/host specificity).
 */
community_byo-scoped-header-and-footer.full-height,
community_byo-scoped-header-and-footer {
  min-height: 100vh;
  min-height: 100dvh;
}

#main-content,
main.community_byo-scoped-header-and-footer__main {
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
}

/* Customer story template (Experience Builder native sections)
 * One responsive tree — no duplicated mobile/desktop blocks.
 */
.ct-story-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 0.9rem;
}

.ct-story-breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  color: #5e666e;
}

.ct-story-breadcrumbs a {
  color: #2f2772;
  text-decoration: none;
}

.ct-story-text-link {
  margin: 0;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-weight: 300;
}

.ct-story-text-link a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ct-story-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 8px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.ct-story-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-story-quote {
  margin: 0;
  padding: 64px 0;
  color: #1e1949;
  background: #fdd029;
  text-align: center;
}

.ct-story-quote blockquote {
  margin: 0 auto;
  max-width: 900px;
}

.ct-story-quote p {
  margin: 0 0 16px;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.28;
}

.ct-story-quote footer {
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.ct-story-result-number {
  color: #fdd029;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 300;
  line-height: 0.75;
  text-align: center;
}

.ct-story-faq {
  border-top: 1px solid #e3e5e8;
}

.ct-story-faq details {
  border-bottom: 1px solid #e3e5e8;
}

.ct-story-faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: #1e1949;
  cursor: pointer;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  list-style: none;
}

.ct-story-faq summary::-webkit-details-marker {
  display: none;
}

.ct-story-faq summary::after {
  position: absolute;
  top: 19px;
  right: 8px;
  content: "+";
  color: #2f2772;
  font-size: 1.8rem;
  font-weight: 300;
}

.ct-story-faq details[open] summary::after {
  content: "−";
}

.ct-story-faq details > p,
.ct-story-faq .transcript > div {
  max-width: 820px;
  margin: 0;
  padding: 0 0 24px;
  color: #3b4045;
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.67;
}

.ct-story-faq .transcript {
  background: #eef0f5;
}

.ct-story-faq .transcript summary,
.ct-story-faq .transcript > div {
  padding-inline: 24px;
}

@media (max-width: 900px) {
  .ct-story-breadcrumbs ol {
    padding-top: 8px;
  }
}

@media (max-width: 600px) {
  .ct-story-quote {
    padding: 48px 0;
  }

  .ct-story-faq summary {
    font-size: 1.05rem;
  }
}

/* Financing Options landing page (Experience Builder native sections)
 * Section backgrounds come from scoped branding sets; type and cards are
 * styled here because dxp_base:textBlock only exposes branding text styles.
 */
.ct-finance-hero {
  padding: 85px 0 76px;
}

.ct-finance-eyebrow {
  margin: 0 0 14px;
  color: #2f2772;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ct-finance-hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.12;
}

.ct-finance-lead {
  max-width: 690px;
  margin: 0 0 40px;
  color: #3b4045;
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.ct-finance-hero .ct-finance-lead {
  margin-bottom: 0;
}

.ct-finance-offers {
  padding: 56px 0 64px;
}

.ct-finance-offers > h2 {
  margin: 0 0 10px;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.2;
}

.ct-finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.ct-finance-card {
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
  border: 1px solid #e3e5e8;
  border-top: 8px solid #fdd029;
  border-radius: 0;
  background: #ffffff;
}

.ct-finance-card .term {
  margin: 0 0 8px;
  color: #2f2772;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ct-finance-card .rate {
  margin: 0 0 12px;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 2.625rem;
  font-weight: 300;
  line-height: 1.05;
}

.ct-finance-card h3 {
  margin: 0 0 12px;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 1.25;
}

.ct-finance-card .desc {
  flex: 1 1 auto;
  margin: 0 0 24px;
  color: #3b4045;
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.45;
}

.ct-finance-apply {
  display: inline-block;
  align-self: flex-start;
  padding: 15px 18px;
  border: 1px solid #1e1949;
  border-radius: 0;
  background: #1e1949;
  color: #ffffff;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ct-finance-apply:hover,
.ct-finance-apply:focus {
  border-color: #2f2772;
  background: #2f2772;
  color: #ffffff;
  text-decoration: none;
}

.ct-finance-note {
  margin: 56px 0 0;
  padding: 32px;
  background: #edecf8;
}

.ct-finance-note h2 {
  margin: 0 0 8px;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ct-finance-note p {
  max-width: 1080px;
  margin: 0;
  color: #3b4045;
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.ct-finance-cta {
  padding: 65px 0 72px;
}

.ct-finance-cta h2 {
  max-width: 640px;
  margin: 0 0 12px;
  color: #ffffff;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 2.375rem;
  font-weight: 300;
  line-height: 1.2;
}

.ct-finance-cta p {
  max-width: 700px;
  margin: 0 0 28px;
  color: #ffffff;
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.ct-finance-seeoffers {
  display: inline-block;
  padding: 18px 20px;
  border: 1px solid #fdd029;
  border-radius: 0;
  background: #fdd029;
  color: #1e1949;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ct-finance-seeoffers:hover,
.ct-finance-seeoffers:focus {
  border-color: #f3ecb8;
  background: #f3ecb8;
  color: #1e1949;
  text-decoration: none;
}

@media (max-width: 900px) {
  .ct-finance-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ct-finance-hero {
    padding: 48px 0;
  }

  .ct-finance-offers {
    padding: 40px 0 48px;
  }

  .ct-finance-note {
    margin-top: 40px;
    padding: 24px;
  }

  .ct-finance-cta {
    padding: 48px 0;
  }
}

/* Customer story pages (Wanda, WeCover) - Experience Builder native sections.
 * Ported from the story LWC stylesheets and scoped to .ct-story-page so the
 * rules cannot affect the rest of the site. The gallery "lightbox-trigger" is
 * now an anchor to the full-size CMS image rather than a JS dialog.
 */
.ct-story-page {
  --ct-purple: #1e1949;
  --ct-purple-30: #2f2772;
  --ct-yellow: #fdd029;
  --ct-denim: #032734;
  --ct-denim-line: #064860;
  --ct-cream: #f6f4ed;
  --ct-stone: #eef0f5;
  --ct-ink: #1a1f21;
  --ct-muted: #575c5c;
  --ct-neutral-40: #5e666e;
  --ct-neutral-90: #d1d1c7;
  --ct-white: #ffffff;
  display: block;
  color: var(--ct-ink);
  font-family: Georgia_Regular, Georgia, "Times New Roman", serif;
}

.ct-story-page * {
  box-sizing: border-box;
  border-radius: 0;
}

.ct-story-page .story {
  overflow: hidden;
  background: var(--ct-white);
}

.ct-story-page .content-width {
  width: min(1240px, calc(100% - 200px));
  margin-inline: auto;
}

.ct-story-page .section-pad {
  padding-block: 96px;
}

.ct-story-page h1,
.ct-story-page h2,
.ct-story-page h3,
.ct-story-page .eyebrow,
.ct-story-page .button,
.ct-story-page dt,
.ct-story-page summary,
.ct-story-page figcaption,
.ct-story-page .value-index,
.ct-story-page .product-mark,
.ct-story-page .product-sub,
.ct-story-page .result-label,
.ct-story-page .result-time,
.ct-story-page .cta-phone-label,
.ct-story-page .cta-phone-number,
.ct-story-page .video-meta,
.ct-story-page .facts-grid dd,
.ct-story-page .facts-grid dt {
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
}

.ct-story-page h1,
.ct-story-page h2,
.ct-story-page h3,
.ct-story-page p {
  margin-top: 0;
}

.ct-story-page h1,
.ct-story-page h2,
.ct-story-page h3 {
  font-weight: 300;
}

.ct-story-page h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  color: var(--ct-white);
  font-size: 3.625rem;
  line-height: 1.103;
}

.ct-story-page h2 {
  margin-bottom: 24px;
  color: var(--ct-purple);
  font-size: 2.875rem;
  line-height: 1.175;
}

.ct-story-page h3 {
  margin-bottom: 16px;
  color: var(--ct-purple);
  font-size: 1.5rem;
  line-height: 1.25;
}

.ct-story-page p {
  margin-bottom: 1.1em;
  font-size: 1.125rem;
  line-height: 1.7;
}

.ct-story-page .eyebrow {
  margin-bottom: 16px;
  color: var(--ct-purple-30);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ct-story-page .breadcrumbs {
  padding-block: 18px;
}

.ct-story-page .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ct-story-page .breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  color: var(--ct-neutral-40);
}

.ct-story-page .breadcrumbs a {
  color: var(--ct-purple-30);
  text-decoration: none;
}

.ct-story-page .hero {
  color: var(--ct-white);
  background: var(--ct-purple);
}

.ct-story-page .hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 850px;
}

.ct-story-page .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px 100px 80px;
}

.ct-story-page .hero-eyebrow {
  color: var(--ct-yellow);
}

.ct-story-page .hero-lead {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--ct-white);
  font-size: 1.1875rem;
  line-height: 1.68;
}

.ct-story-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.ct-story-page .button {
  display: inline-flex;
  min-height: 52px;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.ct-story-page .story .button.button-primary {
  color: var(--ct-purple) !important;
  border-color: var(--ct-yellow);
  background-color: var(--ct-yellow) !important;
}

.ct-story-page .story .button.button-ghost {
  color: var(--ct-white) !important;
  border-color: transparent;
  background-color: var(--ct-purple-30) !important;
}

.ct-story-page .button:focus-visible,
.ct-story-page a:focus-visible,
.ct-story-page summary:focus-visible {
  outline: 2px solid var(--ct-yellow);
  outline-offset: 2px;
}

.ct-story-page .hero-media {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ct-story-page .video-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: 610px;
  background: #000;
}

.ct-story-page .video-shell iframe,
.ct-story-page .video-shell video {
  width: 100%;
  height: 100%;
  min-height: 610px;
  border: 0;
  object-fit: cover;
  background: #000;
}

.ct-story-page .video-meta {
  position: absolute;
  right: 28px;
  bottom: 24px;
  margin: 0;
  color: var(--ct-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-story-page .facts-rail {
  padding: 40px 40px 28px;
  background: var(--ct-denim);
}

.ct-story-page .facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.ct-story-page .facts-grid > div {
  padding-inline: 24px;
  border-left: 1px solid var(--ct-denim-line);
}

.ct-story-page .facts-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.ct-story-page .facts-grid dd {
  margin: 0 0 8px;
  color: var(--ct-white);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.ct-story-page .facts-grid dt {
  color: var(--ct-yellow);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ct-story-page .facts-note {
  margin: 24px 0 0;
  color: #c7d1d1;
  font-size: 0.6875rem;
  font-style: italic;
  line-height: 1.45;
}

.ct-story-page .intro-grid,
.ct-story-page .project-grid,
.ct-story-page .faq-grid,
.ct-story-page .cta-grid,
.ct-story-page .result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.ct-story-page .intro-body p:last-of-type {
  margin-bottom: 0;
}

.ct-story-page .intro-facts {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--ct-neutral-90);
}

.ct-story-page .intro-facts > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.ct-story-page .intro-facts > div:last-child {
  margin-bottom: 0;
}

.ct-story-page .intro-facts dt {
  margin: 0;
  color: var(--ct-purple-30);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-story-page .intro-facts dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.ct-story-page .project-photo {
  margin: 0;
}

.ct-story-page .project-photo .lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d8dde6;
}

.ct-story-page .project-photo .lightbox-trigger img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1 !important;
}

.ct-story-page .lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ct-story-page .lightbox-trigger img {
  transition: transform 0.25s ease-in-out;
  transform-origin: center center;
}

@media (hover: hover) {
  .ct-story-page .lightbox-trigger:hover img {
    transform: scale(1.03);
  }
}

.ct-story-page .lightbox-trigger:focus-visible {
  outline: 2px solid var(--ct-yellow);
  outline-offset: 2px;
}

.ct-story-page .project-photo figcaption {
  padding-top: 12px;
  color: var(--ct-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ct-story-page .quote-band {
  margin: 0;
  padding-block: 96px;
  color: var(--ct-white);
  background: var(--ct-denim);
}

.ct-story-page .quote-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: start;
  margin: 0;
}

.ct-story-page .quote-accent {
  display: block;
  width: 8px;
  min-height: 180px;
  background: var(--ct-yellow);
}

.ct-story-page .quote-mark {
  color: var(--ct-yellow);
  font-family: Georgia_Regular, Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
}

.ct-story-page .quote-inner p {
  margin: 0 0 24px;
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 3.125rem;
  font-weight: 300;
  line-height: 1.16;
}

.ct-story-page .quote-inner footer {
  color: var(--ct-yellow);
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ct-story-page .chapters {
  background: var(--ct-cream);
}

.ct-story-page .section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.ct-story-page .chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.ct-story-page .chapter {
  padding: 32px;
  border: 1px solid var(--ct-neutral-90);
  background: var(--ct-white);
}

.ct-story-page .chapter span {
  display: block;
  margin-bottom: 12px;
  color: var(--ct-purple-30);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ct-story-page .chapter h3 {
  padding-top: 16px;
  border-top: 1px solid var(--ct-neutral-90);
}

.ct-story-page .chapter p {
  margin-bottom: 0;
  color: var(--ct-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.ct-story-page .product-band {
  color: var(--ct-white);
  background: var(--ct-purple);
}

.ct-story-page .product-shell {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  min-height: 640px;
}

.ct-story-page .product-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: var(--ct-denim);
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 72px,
    rgba(255, 255, 255, 0.08) 72px,
    rgba(255, 255, 255, 0.08) 74px
  );
}

.ct-story-page .product-mark {
  margin: 0;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
}

.ct-story-page .product-sub {
  margin: 12px 0 0;
  color: var(--ct-yellow);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ct-story-page .product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 100px;
}

.ct-story-page .product-copy h2,
.ct-story-page .product-copy .eyebrow,
.ct-story-page .values-band .eyebrow,
.ct-story-page .values-band h2,
.ct-story-page .values-band h3,
.ct-story-page .faq-band .eyebrow,
.ct-story-page .faq-band h2,
.ct-story-page .cta-band .eyebrow,
.ct-story-page .cta-band h2 {
  color: var(--ct-white);
}

.ct-story-page .product-copy .eyebrow,
.ct-story-page .values-band .eyebrow,
.ct-story-page .faq-band .eyebrow,
.ct-story-page .cta-band .eyebrow {
  color: var(--ct-yellow);
}

.ct-story-page .product-note,
.ct-story-page .faq-note,
.ct-story-page .result-footnote {
  margin-top: 20px;
  margin-bottom: 0;
  color: #c7d1d1;
  font-size: 0.95rem;
}

.ct-story-page .more-stories {
  background: var(--ct-white);
}

.ct-story-page .more-stories c-customer-stories-slider {
  display: block;
  margin: 0 0 48px;
}

.ct-story-page .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.ct-story-page .related-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--ct-neutral-90);
  color: var(--ct-purple);
  background: var(--ct-cream);
  text-decoration: none;
}

.ct-story-page .related-card-dark {
  color: var(--ct-white);
  border-color: var(--ct-purple);
  background: var(--ct-purple);
}

.ct-story-page .related-card strong {
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
}

.ct-story-page .related-card span {
  flex: 1;
  font-size: 1rem;
  line-height: 1.55;
}

.ct-story-page .related-card em {
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ct-story-page .gallery-band {
  background: var(--ct-stone);
}

.ct-story-page .gallery-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

.ct-story-page .gallery-heading h2 {
  max-width: 18ch;
  color: var(--ct-purple);
  font-family: Outfit_Font, Outfit, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.ct-story-page .gallery-intro {
  margin: 0;
  padding-top: 28px;
  color: var(--ct-ink);
  font-size: 0.9375rem;
  line-height: 1.67;
}

.ct-story-page .gallery {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 290fr) minmax(0, 290fr);
  gap: 20px 30px;
  align-items: stretch;
}

.ct-story-page .gallery figure {
  margin: 0;
  min-width: 0;
  background: #d8dde6;
}

.ct-story-page .gallery .lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #d8dde6;
}

.ct-story-page .gallery .lightbox-trigger img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1 !important;
}

.ct-story-page .gallery-gables {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.ct-story-page .gallery-gables,
.ct-story-page .gallery-gables .lightbox-trigger {
  height: 100%;
  min-height: 480px;
}

.ct-story-page .gallery-panel {
  grid-column: 2 / span 2;
  grid-row: 1;
}

.ct-story-page .gallery-lighting {
  grid-column: 2;
  grid-row: 2;
}

.ct-story-page .gallery-garden {
  grid-column: 3;
  grid-row: 2;
}

.ct-story-page .gallery-panel .lightbox-trigger {
  aspect-ratio: 610 / 230;
}

.ct-story-page .gallery-lighting .lightbox-trigger,
.ct-story-page .gallery-garden .lightbox-trigger {
  aspect-ratio: 290 / 230;
}

.ct-story-page .values-band {
  color: var(--ct-purple);
  background: var(--ct-cream);
}

.ct-story-page .values-band .section-heading-light h2,
.ct-story-page .values-band .section-heading-light .eyebrow {
  color: var(--ct-purple);
}

.ct-story-page .values-band .eyebrow {
  color: var(--ct-purple-30);
}

.ct-story-page .values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.ct-story-page .values-grid article {
  min-height: 280px;
  padding: 32px;
  background: var(--ct-white);
  border: 1px solid var(--ct-neutral-90);
}

.ct-story-page .values-grid article:nth-child(2) {
  color: var(--ct-white);
  border-color: var(--ct-denim);
  background: var(--ct-denim);
}

.ct-story-page .values-grid article:nth-child(2) h3,
.ct-story-page .values-grid article:nth-child(2) .value-index {
  color: var(--ct-white);
}

.ct-story-page .value-index {
  display: block;
  margin-bottom: 24px;
  color: var(--ct-purple-30);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ct-story-page .values-grid p {
  margin-bottom: 0;
}

.ct-story-page .result-super {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-story-page .result-label {
  margin: 0;
  color: rgba(30, 25, 73, 0.18);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.ct-story-page .result-time {
  margin: 16px 0 0;
  color: var(--ct-purple);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.9;
}

.ct-story-page .faq-band {
  color: var(--ct-white);
  background: var(--ct-denim);
}

.ct-story-page .faq-note {
  color: #c7d1d1;
}

.ct-story-page .details-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ct-story-page details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ct-story-page summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--ct-white);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 300;
  list-style: none;
}

.ct-story-page summary::-webkit-details-marker {
  display: none;
}

.ct-story-page summary::after {
  position: absolute;
  top: 18px;
  right: 8px;
  content: "+";
  color: var(--ct-yellow);
  font-size: 1.8rem;
  font-weight: 300;
}

.ct-story-page details[open] summary::after {
  content: "−";
}

.ct-story-page details > p,
.ct-story-page .transcript > div {
  max-width: 820px;
  padding: 0 0 24px;
  color: #dce3e3;
}

.ct-story-page .transcript {
  background: rgba(255, 255, 255, 0.04);
}

.ct-story-page .transcript summary,
.ct-story-page .transcript > div {
  padding-inline: 16px;
}

.ct-story-page .cta-band {
  color: var(--ct-white);
  background: var(--ct-purple);
}

.ct-story-page .cta-grid h2 {
  max-width: 12ch;
  color: var(--ct-white);
}

.ct-story-page .cta-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.ct-story-page .cta-phone-label {
  margin: 0 0 12px;
  color: var(--ct-yellow);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ct-story-page .cta-phone-number {
  color: var(--ct-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

@media (hover: hover) {
  .ct-story-page .button,
  .ct-story-page .breadcrumbs a,
  .ct-story-page .related-card,
  .ct-story-page .cta-phone-number {
    transition:
      color 120ms cubic-bezier(0.2, 0, 0, 1),
      background-color 120ms cubic-bezier(0.2, 0, 0, 1),
      border-color 120ms cubic-bezier(0.2, 0, 0, 1);
  }

  .ct-story-page .button-primary:hover {
    color: var(--ct-white) !important;
    border-color: var(--ct-purple-30);
    background: var(--ct-purple-30) !important;
  }

  .ct-story-page .button-ghost:hover {
    border-color: var(--ct-white);
    background: transparent !important;
  }
}

@media (max-width: 1100px) {
  .ct-story-page .content-width {
    width: min(100% - 64px, 920px);
  }

  .ct-story-page .hero-shell,
  .ct-story-page .product-shell,
  .ct-story-page .intro-grid,
  .ct-story-page .project-grid,
  .ct-story-page .faq-grid,
  .ct-story-page .cta-grid,
  .ct-story-page .result-grid,
  .ct-story-page .gallery-heading,
  .ct-story-page .chapter-grid,
  .ct-story-page .values-grid,
  .ct-story-page .related-grid {
    grid-template-columns: 1fr;
  }

  .ct-story-page .hero-copy,
  .ct-story-page .product-copy {
    padding: 64px 40px;
  }

  .ct-story-page .product-visual {
    min-height: 220px;
    padding: 48px 40px;
  }

  .ct-story-page .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .ct-story-page .facts-grid > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .ct-story-page .gallery-intro {
    padding-top: 0;
  }

  .ct-story-page .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ct-story-page .gallery-gables {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .ct-story-page .gallery-gables .lightbox-trigger {
    aspect-ratio: 600 / 400;
  }

  .ct-story-page .gallery-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .ct-story-page .gallery-lighting,
  .ct-story-page .gallery-garden {
    grid-column: auto;
    grid-row: auto;
  }

  .ct-story-page .gallery-panel .lightbox-trigger {
    aspect-ratio: 16 / 7;
  }

  .ct-story-page .cta-phone {
    text-align: left;
  }

  .ct-story-page .quote-inner {
    grid-template-columns: 8px 1fr;
  }

  .ct-story-page .quote-mark {
    display: none;
  }

  .ct-story-page .quote-inner p {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .ct-story-page .content-width {
    width: calc(100% - 32px);
  }

  .ct-story-page .section-pad,
  .ct-story-page .quote-band {
    padding-block: 64px;
  }

  .ct-story-page h1 {
    font-size: 2.75rem;
  }

  .ct-story-page h2 {
    font-size: 2rem;
  }

  .ct-story-page .hero-actions,
  .ct-story-page .button {
    width: 100%;
  }

  .ct-story-page .button {
    min-height: 60px;
  }

  .ct-story-page .video-shell,
  .ct-story-page .video-shell iframe,
  .ct-story-page .video-shell video {
    min-height: 250px;
  }

  .ct-story-page .facts-grid {
    grid-template-columns: 1fr;
  }

  .ct-story-page .facts-grid > div,
  .ct-story-page .facts-grid > div:nth-child(3) {
    padding: 16px 0;
    border-top: 1px solid var(--ct-denim-line);
    border-left: 0;
  }

  .ct-story-page .facts-grid > div:first-child {
    border-top: 0;
  }

  .ct-story-page .intro-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ct-story-page .gallery {
    grid-template-columns: 1fr;
  }

  .ct-story-page .gallery-heading h2 {
    font-size: 2rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-story-page .lightbox-trigger img {
    transition: none;
  }

  .ct-story-page .lightbox-trigger:hover img {
    transform: none;
  }

  .ct-story-page *,
  .ct-story-page *::before,
  .ct-story-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.ct-story-page .lightbox-trigger {
  text-decoration: none;
}

.ct-story-page.ct-story-wanda .project-photo .lightbox-trigger {
  aspect-ratio: 5 / 4;
}
