.company-case-studies,
.company-case-study-home {
  --ccs-ink: #18181b;
  --ccs-muted: #71717a;
  --ccs-paper: #fcfbfb;
  --ccs-panel: #f3eeee;
  --ccs-line: #e4dedd;
  --ccs-red: #c72e32;
  --ccs-pink: #f3eeee;
  background: var(--ccs-paper);
  color: var(--ccs-ink);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* Match the story canvas without changing the shared header's geometry. */
body[data-company-area="true"]:has(.company-case-studies) { background: #fcfbfb; }
body[data-company-area="true"]:has(.company-case-studies) #main-header:is([data-landing-header-state="expanded"], [data-landing-header-state="standard"]),
body[data-company-area="true"]:has(.company-case-studies) #main-header[data-landing-header-state] [data-landing-header-shell] { background: #fcfbfb; }

.ccs-shell { width: min(1608px, calc(100% - 120px)); margin-inline: auto; }
.ccs-index { min-height: calc(100svh - 76px); }
/* Align the list with the expanded header's content edges at every width. */
.ccs-index > .ccs-shell { box-sizing: border-box; width: min(96rem, 100%); padding-inline: 1rem; }
@media (min-width: 768px) {
  .ccs-index > .ccs-shell { padding-inline: 1.25rem; }
}
.ccs-breadcrumbs { padding-top: 94px; font-size: 16px; line-height: 24px; }
.ccs-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ccs-breadcrumbs li { display: inline-flex; align-items: center; gap: 12px; color: var(--ccs-muted); }
.ccs-breadcrumbs li + li::before { content: "/"; color: var(--ccs-ink); }
.ccs-breadcrumbs a { color: inherit; text-decoration: none; }
.ccs-breadcrumbs [aria-current="page"] { color: var(--ccs-ink); }
.ccs-breadcrumbs [aria-current="page"] > span { text-decoration: underline; text-underline-offset: 5px; }
.ccs-index-hero { padding-block: 48px 80px; text-align: center; }
.ccs-index-kicker { font-size: 14px; font-weight: 400; line-height: 21px; letter-spacing: .12em; }
.ccs-index-hero h1 { margin-top: 12px; font-size: clamp(48px, 6vw, 88px); line-height: 1.12; letter-spacing: -.025em; font-weight: 400; }
.ccs-library { padding-bottom: 112px; }
.ccs-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 80px; }
.ccs-card { min-width: 0; }
.ccs-card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.ccs-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--ccs-panel); }
.ccs-card-image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ccs-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 16px; }
.ccs-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px; line-height: 18px; color: var(--ccs-muted); font-weight: 400; }
.ccs-card h3 { margin-top: 10px; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; font-weight: 400; }
.ccs-card-copy > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 10px; color: var(--ccs-muted); font-size: 16px; line-height: 1.5; letter-spacing: -.015em; }
.ccs-image-fallback { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 8%; color: var(--ccs-ink); background: var(--ccs-panel); }
.ccs-fallback-mark { display: flex; align-items: flex-start; justify-content: space-between; font-family: Arial, sans-serif; font-size: clamp(60px, 7vw, 110px); font-weight: 900; line-height: 1; letter-spacing: -.09em; }
.ccs-fallback-mark > span { font-weight: 400; font-size: .7em; letter-spacing: 0; }
.ccs-fallback-client { font-size: 18px; font-weight: 500; }
.ccs-empty { padding: 64px 28px; border-radius: 10px; text-align: center; background: var(--ccs-panel); }
.ccs-empty h2 { font-size: 26px; line-height: 1.4; font-weight: 500; }
.ccs-empty p { margin-top: 14px; color: var(--ccs-muted); font-size: 16px; }
.ccs-empty .ccs-text-link { margin-top: 20px; }
.ccs-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 64px; }
.ccs-pagination-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-size: 14px; color: var(--ccs-ink); text-decoration: none; }
.ccs-page-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ccs-panel); font-size: 14px; }
.ccs-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .16em; }
.ccs-eyebrow > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--ccs-red); }
.ccs-text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--ccs-ink); font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; }
.ccs-text-link > span { font-size: 21px; font-weight: 400; transition: transform .2s ease; }
.ccs-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.ccs-section-heading h2 { font-size: 30px; font-weight: 400; line-height: 1.3; letter-spacing: -.04em; }
.ccs-related { padding-block: 76px 100px; }
.ccs-cta { background: var(--ccs-panel); }
.ccs-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 72px; }
.ccs-cta h2 { margin-top: 22px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.3; letter-spacing: -.04em; font-weight: 400; }
.ccs-cta h2 + p { margin-top: 20px; color: var(--ccs-muted); font-size: 16px; line-height: 1.7; }
.ccs-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 32px; min-height: 54px; padding: 14px 24px; border: 1px solid var(--ccs-ink); border-radius: 40px; background: var(--ccs-ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.6; text-decoration: none; transition: opacity .2s; }
.ccs-button > span { font-size: 24px; line-height: 1; font-weight: 400; }
.ccs-preview { background: #f7e8bd; color: #655013; border-bottom: 1px solid #dece9f; }
.ccs-preview .ccs-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; font-size: 12px; }
.ccs-preview p { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ccs-preview a { min-height: 32px; display: inline-flex; align-items: center; flex-shrink: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.company-case-studies :is(a, button, summary):focus-visible,
.company-case-study-home a:focus-visible { outline: 2px solid var(--ccs-ink); outline-offset: 5px; }

/* Company home: featured stories on the page's own white surface, aligned to
   its shell. The lead story spans the row with its outcome and campuses. */
.company-case-study-home { --ccs-ink: #111318; --ccs-muted: #5b5f67; --ccs-paper: #fff; --ccs-panel: #f3f4f5; padding-block: clamp(64px, 7vw, 112px); }
.ccs-home-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 3.6vw, 52px); }
.cch-all-link { display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 22px; border: 1px solid #dfe1e4; border-radius: 999px; color: var(--ccs-ink); font-size: 15px; font-weight: var(--company-weight-strong, 600); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.cch-all-link svg { width: 18px; height: 18px; transition: transform .25s ease; }
.cch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(24px, 2.6vw, 40px); }
.cch-card { min-width: 0; }
.cch-card--feature { grid-column: 1 / -1; }
.cch-link { display: flex; height: 100%; flex-direction: column; gap: 24px; color: inherit; text-decoration: none; }
.company-case-study-home .cch-media { border-radius: 20px; }
.cch-media > img:not(.ccs-thumbnail-logo) { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cch-body { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; }
.cch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; color: var(--ccs-muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
.cch-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: #b3b6bc; vertical-align: middle; }
.cch-category { display: inline-flex; align-items: center; gap: 8px; color: var(--ccs-ink); font-weight: var(--company-weight-strong, 600); }
.cch-category::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ed1c24; }
.company-case-study-home .cch-title { margin: 12px 0 0; color: var(--ccs-ink); font-size: clamp(21px, 1.7vw, 25px); font-weight: var(--company-weight-heading, 600); line-height: 1.38; letter-spacing: -.035em; }
.cch-summary { display: -webkit-box; margin: 12px 0 0; overflow: hidden; color: var(--ccs-muted); font-size: 16px; line-height: 1.75; letter-spacing: -.015em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cch-metrics { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 28px 0 0; }
.cch-metrics > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.cch-metrics dt { color: var(--ccs-muted); font-size: 14px; font-weight: 600; }
.cch-metrics dd { margin: 0; color: var(--ccs-ink); font-size: 32px; font-weight: var(--company-weight-figure, 700); line-height: 1; letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums; }
.cch-schools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: 100%; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e8e9eb; }
.cch-school-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cch-school-logos li { display: grid; width: 40px; height: 40px; place-items: center; padding: 5px; border: 1px solid #e8e9eb; border-radius: 12px; background: #fff; color: var(--ccs-muted); font-size: 15px; font-weight: var(--company-weight-figure, 700); }
.cch-school-logos img { width: 100%; height: 100%; object-fit: contain; }
.cch-school-label { margin: 0; color: var(--ccs-muted); font-size: 14px; font-weight: 600; }
.cch-school-label strong { color: var(--ccs-ink); font-weight: var(--company-weight-figure, 700); }
.cch-more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; color: var(--ccs-ink); font-size: 15px; font-weight: var(--company-weight-strong, 600); }
.cch-more-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #f1f2f4; transition: background-color .25s ease, color .25s ease; }
.cch-more-icon svg { width: 18px; height: 18px; transition: transform .25s ease; }
@media (min-width: 1024px) {
  /* The picture takes the story's full height, so both columns share edges. */
  .cch-card--feature .cch-link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: clamp(40px, 4.6vw, 80px); }
  .cch-card--feature .cch-media { height: 100%; min-height: 360px; aspect-ratio: auto; }
  .cch-card--feature .cch-title { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.28; letter-spacing: -.045em; }
  .cch-card--feature .cch-summary { font-size: clamp(16px, 1.2vw, 18px); -webkit-line-clamp: 3; }
  .cch-card--feature .cch-metrics dd { font-size: clamp(40px, 3.6vw, 56px); }
}

/* Story browser, for three or more stories. A wide screen shows the chosen
   story large and lists every story beneath it as tabs; a narrow screen swipes
   through the stories themselves. */
.cch-browser { --cch-gap: 20px; --cch-bleed: 32px; }
.cch-stage, .cch-rail { position: relative; }
.cch-panel { min-width: 0; }
.cch-panel > .cch-card { height: 100%; }
.cch-dots { display: none; }
.cch-rail-frame { margin-top: clamp(40px, 4vw, 56px); }
.cch-rail-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.cch-rail-controls[hidden] { display: none; }
.cch-rail-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #dfe1e4; border-radius: 50%; background: #fff; color: var(--ccs-ink); cursor: pointer; transition: border-color .2s ease, opacity .2s ease; }
.cch-rail-arrow svg { width: 18px; height: 18px; }
.cch-rail-arrow:disabled { opacity: .35; cursor: default; }
/* The padding gives focus rings room inside the scrolling rail; the margin keeps its edges. */
.cch-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cch-columns) - 1) * var(--cch-gap)) / var(--cch-columns)); gap: var(--cch-gap); margin: -6px -6px 0; padding: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cch-rail::-webkit-scrollbar { display: none; }
.cch-tab { display: flex; min-width: 0; flex-direction: column; padding: 18px 0 4px; border: 0; border-top: 2px solid #e4e6e9; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; transition: border-color .25s ease; }
.cch-tab.is-selected { border-top-color: #ed1c24; }
.company-case-study-home .cch-tab-media { border-radius: 12px; transition: filter .3s ease, opacity .3s ease; }
/* Like the partner logos above, stories not shown are monochrome until chosen or hovered. */
.cch-tab:not(.is-selected) .cch-tab-media { filter: grayscale(1); opacity: .82; }
.cch-tab-meta { margin-top: 14px; color: var(--ccs-muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.cch-tab-title { display: -webkit-box; margin-top: 2px; overflow: hidden; color: var(--ccs-muted); font-size: 15px; font-weight: var(--company-weight-strong, 600); line-height: 1.45; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; transition: color .25s ease; }
.cch-tab.is-selected .cch-tab-title { color: var(--ccs-ink); }
.cch-tab:focus-visible { outline: 2px solid var(--ccs-ink); outline-offset: 3px; border-radius: 2px; }
@keyframes cch-rise { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
@keyframes cch-settle { from { transform: scale(1.04); } }

@media (min-width: 1024px) {
  /* Stories share one cell, so the stage keeps the tallest story's height. */
  .cch-stage { display: grid; }
  .cch-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  .cch-panel.is-selected { opacity: 1; visibility: visible; transition: opacity .45s ease; }
  .cch-browser[data-case-animate] .cch-panel.is-selected .cch-body { animation: cch-rise .55s cubic-bezier(.2, .7, .2, 1) both; }
  .cch-browser[data-case-animate] .cch-panel.is-selected .cch-media > img:not(.ccs-thumbnail-logo) { animation: cch-settle 1s cubic-bezier(.2, .7, .2, 1) both; }
}

@media (max-width: 1023px) {
  .cch-stage { display: flex; gap: 16px; margin-inline: calc(-1 * var(--cch-bleed)); padding-inline: var(--cch-bleed); overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--cch-bleed); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cch-stage::-webkit-scrollbar { display: none; }
  .cch-panel { flex: 0 0 min(76%, 520px); scroll-snap-align: start; }
  .cch-rail-frame { display: none; }
  .cch-dots { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
  .cch-dots > span { width: 6px; height: 6px; border-radius: 3px; background: #d3d5d9; transition: width .25s ease, background-color .25s ease; }
  .cch-dots > span.is-active { width: 20px; background: var(--ccs-ink); }
}

@media (hover: hover) {
  .ccs-card-link:hover .ccs-card-image > img { transform: scale(1.025); }
  .ccs-card-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .ccs-breadcrumbs a:hover { color: var(--ccs-ink); }
  .ccs-button:hover { opacity: .85; }
  .ccs-text-link:hover > span { transform: translate(2px, -2px); }
  .cch-all-link:hover { border-color: var(--ccs-ink); }
  .cch-all-link:hover svg, .cch-link:hover .cch-more-icon svg { transform: translateX(3px); }
  .cch-link:hover .cch-media > img:not(.ccs-thumbnail-logo) { transform: scale(1.03); }
  .cch-link:hover .cch-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .cch-link:hover .cch-more-icon { background: var(--ccs-ink); color: #fff; }
  .cch-tab:hover { border-top-color: #b6b9bf; }
  .cch-tab.is-selected:hover { border-top-color: #ed1c24; }
  .cch-tab:hover .cch-tab-media { filter: none; opacity: 1; }
  .cch-tab:hover .cch-tab-title { color: var(--ccs-ink); }
  .cch-rail-arrow:not(:disabled):hover { border-color: var(--ccs-ink); }
}

@media (max-width: 1023px) {
  .ccs-shell { width: calc(100% - 64px); }
  .cch-card--feature .cch-title { font-size: clamp(22px, 3.4vw, 28px); }
  .ccs-breadcrumbs { padding-top: 48px; font-size: 14px; }
  .ccs-index-hero { padding-block: 48px 64px; }
  .ccs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .ccs-card h3 { font-size: 19px; }
  .ccs-card-copy > p { font-size: 15px; }
  .ccs-cta-inner { gap: 32px; }
}

@media (max-width: 767px) {
  .ccs-home-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .cch-grid { grid-template-columns: minmax(0, 1fr); }
  .company-case-study-home .cch-media { border-radius: 16px; }
  .cch-browser { --cch-bleed: 24px; }
  .cch-panel { flex-basis: 86%; }
}

@media (max-width: 639px) {
  .ccs-shell { width: calc(100% - 40px); }
  .ccs-index { min-height: calc(100svh - 48px); }
  .ccs-breadcrumbs { padding-top: 32px; font-size: 13px; }
  .ccs-index-hero { padding-block: 42px 48px; }
  .ccs-index-kicker { font-size: 11px; }
  .ccs-index-hero h1 { margin-top: 12px; font-size: clamp(34px, 9vw, 48px); letter-spacing: -.045em; }
  .ccs-card-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ccs-card-copy { padding-top: 16px; }
  .ccs-card h3 { font-size: 20px; }
  .ccs-card-copy > p { font-size: 15px; }
  .ccs-library { padding-bottom: 64px; }
  .ccs-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .ccs-related { padding-block: 52px 64px; }
  .ccs-empty { padding: 36px 20px; }
  .ccs-empty h2 { font-size: 23px; }
  .ccs-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding-block: 48px; }
  .ccs-cta h2 { font-size: 32px; }
  .ccs-button { width: 100%; max-width: 380px; }
  .ccs-preview .ccs-shell { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .company-case-studies *, .company-case-study-home * { transition: none !important; scroll-behavior: auto !important; }
  .company-case-study-home .cch-browser * { animation: none !important; }
}
.ccs-card-image-branded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 5%), rgb(0 0 0 / 18%), rgb(0 0 0 / 5%));
  pointer-events: none;
}
.ccs-card-image img.ccs-thumbnail-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56%;
  height: 38%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.ccs-card-link:hover .ccs-card-image img.ccs-thumbnail-logo {
  transform: translate(-50%, -50%);
}
