.customer-story-page {
    --story-navy: #08234d;
    --story-green: #007b67;
    --story-text: #314663;
    --story-muted: #66778b;
    --story-line: #dce8e6;
    font-family: Poppins, sans-serif;
    color: var(--story-text);
    background: #fff;
}
.customer-story-page *, .customer-story-page *::before, .customer-story-page *::after { box-sizing: border-box; }
.story-container { width: min(1380px, calc(100% - 64px)); margin-inline: auto; }
.customer-story-page h1, .customer-story-page h2, .customer-story-page h3 { font-family: 'Work Sans', sans-serif; font-weight: 700; color: var(--story-navy); }
.customer-story-page h1 span, .story-section-heading h2 span { color: var(--story-green); }
.customer-story-page .story-eyebrow { margin: 0 0 .8rem; color: var(--story-green); font-size: .7rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.customer-story-page a:focus-visible { outline: 3px solid #3bae91; outline-offset: 5px; }
.customer-story-page [id] { scroll-margin-top: 7rem; }
.story-hero { padding: 7.6rem 0 2.6rem; background: linear-gradient(165deg, #fff 40%, #eff8f5); border-bottom: 1px solid var(--story-line); }
.story-back { display: inline-flex; align-items: center; gap: .65rem; font-size: .76rem; font-weight: 600; line-height: 1.5; color: var(--story-green); text-decoration: none; }
.story-back:hover { text-decoration: underline; text-underline-offset: .2rem; }
.story-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin-top: 1.8rem; }
.story-hero-copy { min-width: 0; }
.story-hero h1 { margin: 0; font-size: clamp(2.6rem, 4.1vw, 4.4rem); letter-spacing: -.055em; line-height: 1.05; text-wrap: balance; }
.story-hero h1 span { display: block; margin-top: .16em; }
.story-lead { max-width: 41rem; margin: 1.3rem 0 0; font-size: clamp(.94rem, 1.05vw, 1.06rem); line-height: 1.75; }
.story-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1.15rem; font-size: .67rem; color: var(--story-muted); }
.story-meta > :not(:first-child) { border-left: 1px solid #c3d7d1; padding-left: 1rem; }
.story-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.story-button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.05rem; border: 1px solid var(--story-green); border-radius: .48rem; background: var(--story-green); color: #fff; font-size: .76rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.story-hero-visual { min-width: 0; margin: .5rem 0 0; border: 1px solid var(--story-line); border-radius: 1.2rem; overflow: hidden; background: #fff; box-shadow: 0 1.2rem 3rem rgba(8,35,77,.09); }
.story-hero-image { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.story-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.story-hero-visual.is-logo .story-hero-image { padding: 2.5rem; background: linear-gradient(140deg, #fff, #f5faf8); }
.story-hero-visual.is-logo img { width: 100%; height: auto; max-height: 14rem; object-fit: contain; }
.story-hero-visual figcaption { display: grid; gap: .25rem; padding: 1rem 1.35rem; border-top: 1px solid var(--story-line); background: #fff; }
.story-hero-visual figcaption span { color: var(--story-muted); font-size: .65rem; }
.story-hero-visual figcaption strong { color: var(--story-navy); font-size: .85rem; }
.story-highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--story-line); border-radius: 1rem; overflow: hidden; background: linear-gradient(115deg, #f4faf7, #fff); }
.story-highlights article { display: grid; grid-template-rows: minmax(3.1rem, auto) minmax(2.3rem, auto) auto; align-content: start; padding: 1.6rem 1.8rem; border-right: 1px solid var(--story-line); }
.story-highlights article:last-child { border-right: 0; }
.story-highlights article > strong { color: var(--story-green); font-family: 'Work Sans', sans-serif; font-size: clamp(1.5rem, 2.3vw, 2.3rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.story-highlights article h2 { margin: .6rem 0 0; font-size: .95rem; line-height: 1.4; }
.story-highlights article p { margin: .6rem 0 0; color: var(--story-muted); font-size: .76rem; line-height: 1.65; }
.story-reading { padding: 1rem 0; }
.story-reading-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(15rem, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.story-article { min-width: 0; max-width: 48rem; }
.story-body { font-size: .97rem; line-height: 1.85; overflow-wrap: anywhere; }
.story-body p { margin: 0 0 1.2rem; line-height: inherit; }
.story-body > h2 { margin: 2.1rem 0 1rem; font-size: clamp(1.65rem, 2.3vw, 2.3rem); line-height: 1.15; letter-spacing: -.035em; }
.story-body > h2:first-child { margin-top: 0; }
.story-body > h2 b, .story-body > h2 strong { font-weight: inherit; }
.story-body ul, .story-body ol { display: grid; gap: .6rem; margin: 1.15rem 0 1.5rem; padding-left: 1.35rem; list-style: revert; }
.story-body li { padding-left: .3rem; }
.story-body li::marker { color: var(--story-green); }
.story-body a:not(.story-button) { color: var(--story-green); text-decoration: underline; text-underline-offset: .2em; }
.story-body hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--story-line); }
.story-body blockquote { margin: 1.8rem 0; padding: 1.4rem 1.6rem; border: 1px solid #d6e9e2; border-left: 4px solid var(--story-green); border-radius: 0 .9rem .9rem 0; background: linear-gradient(120deg, #eaf6f0, #f6fbf9); color: #03564b; font-family: 'Work Sans', sans-serif; font-size: clamp(1.15rem, 1.65vw, 1.5rem); font-weight: 500; line-height: 1.5; }
.story-body blockquote strong, .story-body blockquote b { font-weight: 600; }
.story-body blockquote p:last-child { margin-bottom: 0; }
.story-body img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: .7rem; }
.story-body table { width: 100%; max-width: 100%; }
.story-return { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--story-line); width: 100%; }
.story-sidebar { min-width: 0; align-self: stretch; }
.story-sidebar-inner { position: sticky; top: 7.5rem; display: grid; gap: 1.3rem; }
.story-company-card { padding: 1.6rem; border: 1px solid var(--story-line); border-radius: .9rem; background: #f6faf9; }
.story-company-logo { display: block; max-width: 100%; width: 9rem; height: 3.8rem; object-fit: contain; object-position: left center; margin: 0 0 1.3rem; }
.story-company-card h2, .story-contents h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.story-company-card dl { margin: 0; }
.story-company-card dl > div + div { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--story-line); }
.story-company-card dt { color: var(--story-muted); font-size: .67rem; }
.story-company-card dd { margin: .3rem 0 0; color: var(--story-navy); font-size: .82rem; line-height: 1.55; }
.story-contents { padding: .4rem .5rem; }
.story-contents ul { display: grid; gap: .15rem; padding: 0; margin: 0; list-style: none; }
.story-contents a { display: block; padding: .45rem 0 .45rem .85rem; border-left: 2px solid var(--story-line); color: var(--story-text); font-size: .76rem; line-height: 1.5; text-decoration: none; }
.story-contents a:hover, .story-contents a:focus-visible { border-color: var(--story-green); color: var(--story-green); background: #f3faf6; }
.story-related { padding: 2.5rem 0; background: #f5f9f8; border-block: 1px solid #e4ede9; }
.story-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.story-section-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; }
.story-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.story-related-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--story-line); border-radius: .9rem; background: #fff; transition: transform 180ms ease, box-shadow 180ms ease; }
.story-related-image { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border-bottom: 1px solid var(--story-line); }
.story-related-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.story-related-image.is-logo { padding: 1.5rem; }
.story-related-image.is-logo img { object-fit: contain; height: auto; max-height: 9rem; }
.story-related-copy { display: flex; flex-direction: column; flex: 1; padding: 1.35rem; }
.story-related-copy h3 { margin: 0 0 .7rem; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; }
.story-related-copy h3 a { color: inherit; text-decoration: none; }
.story-related-copy > p:not(.story-eyebrow) { margin: 0 0 1.3rem; font-size: .78rem; line-height: 1.75; color: var(--story-muted); }
.story-related-link { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--story-line); color: var(--story-green); font-size: .8rem; font-weight: 600; text-decoration: none; }
.customer-story-page .staging-closing-title { color: #fff; }
.customer-story-page .staging-consultation-section { padding-bottom: 3rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .story-related-card:hover { transform: translateY(-3px); box-shadow: 0 .8rem 1.8rem rgba(8,35,77,.08); }
}
@media (max-width: 1100px) {
    .story-reading-grid { grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr); gap: 2rem; }
    .story-highlights article { padding: 1.3rem; }
}
@media (max-width: 960px) {
    .story-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .story-hero-copy { max-width: 46rem; }
    .story-hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
    .story-hero-visual { width: min(100%, 38rem); margin-inline: auto; }
    .story-reading-grid { grid-template-columns: minmax(0, 1fr); }
    .story-article { max-width: none; }
    .story-sidebar { order: -1; }
    .story-sidebar-inner { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .story-sidebar-inner > .story-button { align-self: end; }
    .story-company-card { grid-row: span 2; }
    .story-highlights article { grid-template-rows: minmax(4rem, auto) minmax(3rem, auto) auto; }
    .story-related-grid { gap: .85rem; }
    .story-related-copy { padding: 1rem; }
}
@media (max-width: 640px) {
    .story-container { width: calc(100% - 40px); }
    .story-hero { padding-top: 7.8rem; padding-bottom: 1.7rem; }
    .story-hero h1 { font-size: clamp(2.2rem, 8.5vw, 3.1rem); }
    .story-lead { font-size: .91rem; }
    .story-hero-visual.is-logo .story-hero-image { padding: 1.7rem; }
    .story-highlights-grid { grid-template-columns: 1fr; }
    .story-highlights article { display: block; padding: 1.3rem; border-right: 0; border-bottom: 1px solid var(--story-line); }
    .story-highlights article:last-child { border-bottom: 0; }
    .story-highlights article > strong { font-size: 1.9rem; }
    .story-sidebar-inner { grid-template-columns: 1fr; }
    .story-company-card { grid-row: auto; }
    .story-company-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .story-company-card dl > div + div { margin: 0; padding: 0; border: 0; }
    .story-company-card dl > div:last-child { grid-column: 1 / -1; }
    .story-body { font-size: .92rem; }
    .story-body blockquote { padding: 1.1rem 1.2rem; }
    .story-section-heading { display: block; }
    .story-section-heading > a { margin-top: 1rem; }
    .story-related-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .story-related-copy { padding: 1.3rem; }
}
