:root {
  --case-accent: #5b3e8f;
  --case-accent-soft: #efeaf7;
  --case-secondary: #08b64a;
  --case-ink: #293343;
  --case-muted: #667085;
  --case-paper: #f5f7f8;
  --case-line: #e2e7eb;
}

.collection-case-study { color: var(--case-ink); }
.case--beckham-brothers { --case-accent: #9b753b; --case-accent-soft: #f5efe5; --case-secondary: #c5a15f; }
.case--studentvip { --case-accent: #3a73b9; --case-accent-soft: #eaf2fb; --case-secondary: #e4b02b; }
.case--polycultural { --case-accent: #6b287b; --case-accent-soft: #f5eafa; --case-secondary: #ed6a4b; }
.case--brandpoint { --case-accent: #174d43; --case-accent-soft: #e6f1ee; --case-secondary: #d8bd38; }
.case--college-pro { --case-accent: #168dc6; --case-accent-soft: #e8f5fb; --case-secondary: #f5d726; }

.case-switcher { position: relative; z-index: 4; padding-top: 92px; border-bottom: 1px solid var(--case-line); background: rgba(255,255,255,.97); }
.case-switcher-inner { display: flex; align-items: center; gap: 25px; min-width: 0; min-height: 67px; }
.case-switcher-label { flex: 0 0 auto; color: var(--case-ink); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.case-switcher-links { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.case-switcher-links::-webkit-scrollbar { display: none; }
.case-switcher-links a { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; color: #5d6672; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.case-switcher-links a:hover { color: var(--case-accent); background: var(--case-accent-soft); }
.case-switcher-links a[aria-current="page"] { color: #fff; background: var(--case-accent); }

.collection-hero { overflow: hidden; padding: 80px 0 76px; background: linear-gradient(155deg, #fff 0%, #f8fafb 64%, var(--case-accent-soft) 125%); }
.collection-hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); gap: 70px; align-items: center; }
.collection-hero-grid > *, .case-hero-grid > * { min-width: 0; }
.case-eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--case-accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.case-eyebrow::before, .section-kicker::before { width: 24px; height: 2px; background: var(--case-secondary); content: ""; }
.collection-logo-wrap { display: flex; align-items: center; width: 300px; height: 118px; margin: 24px 0 18px; }
.collection-client-logo { display: block; width: auto; max-width: 285px; max-height: 105px; object-fit: contain; object-position: left center; }
.collection-hero h1 { max-width: 660px; margin: 0; color: var(--case-ink); font-size: clamp(2.65rem, 4vw, 3.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.01; }
.collection-hero-copy > p { max-width: 640px; margin: 27px 0 0; color: var(--case-muted); font-size: 1.06rem; line-height: 1.75; }
.case-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.case-tags li { padding: 8px 12px; border: 1px solid #d6dde2; border-radius: 999px; color: #52606e; background: rgba(255,255,255,.82); font-size: .73rem; font-weight: 700; }
.collection-hero-visual { position: relative; min-height: 570px; }
.collection-photo { position: absolute; inset: 32px 0 38px 10%; width: 90%; height: calc(100% - 70px); border-radius: 22px; object-fit: cover; box-shadow: 0 24px 55px rgba(35,50,65,.16); }

.ui-card { position: absolute; overflow: hidden; border: 1px solid rgba(38,48,61,.14); border-radius: 18px; background: #fff; box-shadow: 0 22px 44px rgba(28,37,48,.2); }
.ui-card-bar { display: flex; align-items: center; gap: 6px; height: 35px; padding: 0 13px; border-bottom: 1px solid #e8ecef; background: #f7f8f9; }
.ui-card-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c7cbd0; }
.ui-card-body { padding: 20px; }
.ui-overline { display: block; margin-bottom: 9px; color: var(--case-accent); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ui-title { display: block; margin-bottom: 14px; color: var(--case-ink); font-size: 1rem; font-weight: 800; }
.ui-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0f2; color: #606a76; font-size: .7rem; }
.ui-row strong { color: var(--case-ink); font-size: .71rem; }
.ui-pill { padding: 4px 7px; border-radius: 999px; color: var(--case-accent); background: var(--case-accent-soft); font-size: .58rem; font-weight: 800; }
.ui-action { display: inline-block; margin-top: 14px; padding: 8px 11px; border-radius: 7px; color: #fff; background: var(--case-accent); font-size: .63rem; font-weight: 800; }
.mock-phone { position: absolute; overflow: hidden; width: 246px; min-height: 500px; border: 7px solid #17222d; border-radius: 32px; background: #fff; box-shadow: 0 26px 54px rgba(30,40,50,.24); }
.mock-phone-notch { width: 84px; height: 18px; margin: 0 auto 8px; border-radius: 0 0 12px 12px; background: #17222d; }
.mock-phone-head { padding: 18px 20px 16px; color: #fff; background: var(--case-accent); }
.mock-phone-head small { display: block; opacity: .76; font-size: .6rem; }
.mock-phone-head strong { display: block; margin-top: 5px; font-size: 1rem; }
.mock-phone-body { padding: 17px; }
.mock-stat { margin-bottom: 11px; padding: 14px; border-radius: 12px; background: var(--case-accent-soft); }
.mock-stat small { display: block; color: var(--case-muted); font-size: .58rem; }
.mock-stat strong { display: block; margin-top: 4px; color: var(--case-ink); font-size: .78rem; }

.case--beckham-brothers .ui-card { right: 3%; bottom: 35px; width: 370px; }
.case--studentvip .mock-phone { left: 7%; bottom: 0; transform: rotate(-3deg); }
.case--studentvip .ui-card { right: 1%; top: 25px; width: 300px; }
.case--polycultural .ui-card { right: 0; bottom: 24px; width: 410px; }
.case--brandpoint .mock-phone { left: 5%; bottom: 0; transform: rotate(-2deg); }
.case--brandpoint .ui-card { right: 0; top: 26px; width: 310px; }

/* Public, privacy-safe interface captures used in the case-study heroes. */
.case--beckham-brothers .collection-photo,
.case--studentvip .collection-photo,
.case--polycultural .collection-photo,
.case--brandpoint .collection-photo,
.case--college-pro .collection-photo { display: none; }
.real-showcase { position: absolute; inset: 0; }
.real-showcase::before { position: absolute; inset: 35px 0 20px 8%; border-radius: 28px; background: var(--case-accent-soft); content: ""; }
.real-screen { position: absolute; overflow: hidden; margin: 0; border: 1px solid rgba(33,43,54,.16); background: #fff; box-shadow: 0 24px 55px rgba(29,39,51,.22); }
.real-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.real-phone { border: 7px solid #17222d; border-radius: 30px; background: #17222d; }
.real-tablet { border: 9px solid #17222d; border-radius: 26px; background: #17222d; }
.real-browser { border-radius: 15px; }
.real-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-bottom: 1px solid #e4e8eb; background: #f5f6f7; }
.real-browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c2c8cd; }
.real-browser > img { height: calc(100% - 34px); }

.real-tablet--studentvip { right: 0; top: 22px; z-index: 2; width: 425px; height: 542px; transform: rotate(1.2deg); }
.real-phone--studentvip { left: 2%; bottom: 8px; z-index: 3; width: 170px; height: 338px; transform: rotate(-4deg); }
.real-browser--beckham-canada { left: 0; top: 28px; z-index: 2; width: 510px; height: 353px; transform: rotate(-1.2deg); }
.real-browser--beckham-pipers { right: 0; bottom: 18px; z-index: 3; width: 475px; height: 331px; transform: rotate(1.5deg); }
.real-browser--polycultural { right: 0; top: 55px; z-index: 2; width: 525px; height: 365px; }
.real-phone--polycultural { left: 3%; bottom: 0; z-index: 3; width: 190px; height: 345px; transform: rotate(-2deg); }
.real-phone--brandpoint-login { left: 5%; top: 22px; z-index: 2; width: 235px; height: 425px; transform: rotate(-3deg); }
.real-phone--brandpoint-dashboard { right: 5%; bottom: 4px; z-index: 3; width: 245px; height: 440px; transform: rotate(3deg); }
.real-browser--college-pro { left: 0; top: 55px; z-index: 2; width: 525px; height: 365px; transform: rotate(-1deg); }
.real-phone--college-pro { right: 1%; bottom: 0; z-index: 3; width: 192px; height: 374px; transform: rotate(2deg); }

.collection-summary { border-top: 1px solid var(--case-line); border-bottom: 1px solid var(--case-line); background: #fff; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.summary-grid > div { padding: 28px 30px; border-right: 1px solid var(--case-line); }
.summary-grid > div:first-child { padding-left: 0; }
.summary-grid > div:last-child { padding-right: 0; border-right: 0; }
.summary-grid span { display: block; margin-bottom: 6px; color: var(--case-muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-grid strong { color: var(--case-ink); font-size: .92rem; line-height: 1.45; }

.collection-section { padding: 100px 0; }
.two-column-copy, .approach-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 90px; }
.collection-section h2, .workflow-section h2, .case-cta h2 { margin: 16px 0 0; color: var(--case-ink); font-size: clamp(2rem,3vw,2.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.07; }
.body-copy p, .approach-grid > div > p, .support-grid p { color: var(--case-muted); font-size: 1rem; line-height: 1.8; }
.body-copy p:first-child { margin-top: 4px; }
.challenge-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 55px; }
.challenge-cards article { padding: 28px; border: 1px solid var(--case-line); border-radius: 16px; background: var(--case-paper); }
.challenge-cards article > span { color: var(--case-accent); font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.challenge-cards h3 { margin: 18px 0 10px; color: var(--case-ink); font-size: 1.18rem; font-weight: 700; }
.challenge-cards p { margin: 0; color: var(--case-muted); font-size: .9rem; line-height: 1.65; }
.collection-approach { background: #f4f6f8; }
.approach-grid > div > p { margin-top: 5px; }
.approach-list { margin: 28px 0 0; padding: 0; list-style: none; }
.approach-list li { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 19px 0; border-top: 1px solid #dce2e6; }
.approach-list li:last-child { border-bottom: 1px solid #dce2e6; }
.approach-list strong { color: var(--case-accent); font-size: .88rem; }
.approach-list span { color: var(--case-muted); font-size: .88rem; line-height: 1.65; }

.integration-section { padding: 95px 0 100px; border-top: 1px solid var(--case-line); background: linear-gradient(155deg, #fff 0%, var(--case-accent-soft) 145%); }
.odgc-case-study .integration-section { --case-accent: #1b6096; --case-accent-soft: #eaf3f8; --case-secondary: #49913d; }
.integration-intro { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 90px; align-items: end; }
.integration-intro h2 { margin: 16px 0 0; color: var(--case-ink); font-size: clamp(2rem,3vw,2.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.07; }
.integration-intro > p { margin: 0; color: var(--case-muted); font-size: 1rem; line-height: 1.8; }
.integration-flow { display: grid; grid-template-columns: minmax(0,1fr) 94px minmax(0,1fr) 94px minmax(0,1fr); gap: 0; align-items: stretch; margin-top: 54px; }
.integration-node { display: flex; min-width: 0; min-height: 220px; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--case-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(34,45,58,.07); }
.integration-node::before { display: block; width: 38px; height: 4px; margin-bottom: auto; border-radius: 999px; background: var(--case-secondary); content: ""; }
.integration-node--brand::before { display: none; }
.integration-node--illustrated::before { display: none; }
.integration-node-logo { display: block; width: auto; max-width: 240px; height: 78px; margin: 0 0 auto; object-fit: contain; object-position: left center; color: #111; }
.integration-node .integration-node-icon { display: flex; width: 76px; height: 76px; margin: 0 0 auto; align-items: center; justify-content: center; border-radius: 18px; color: var(--case-accent); background: var(--case-accent-soft); }
.integration-node-icon .bi { display: flex; margin: 0; align-items: center; justify-content: center; font-size: 2.15rem; line-height: 1; }
.integration-node strong { display: block; margin-top: 28px; color: var(--case-ink); font-size: 1rem; font-weight: 800; line-height: 1.35; }
.integration-node span { display: block; margin-top: 9px; color: var(--case-muted); font-size: .79rem; line-height: 1.6; }
.integration-connector { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; }
.integration-connector i { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--case-accent); }
.integration-connector i::after { position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--case-accent); border-right: 2px solid var(--case-accent); transform: rotate(45deg); content: ""; }
.integration-connector span { position: relative; z-index: 1; max-width: 88px; padding: 5px 7px; color: var(--case-accent); background: #fff; font-size: .58rem; font-weight: 800; line-height: 1.25; text-align: center; text-transform: uppercase; letter-spacing: .05em; }

.workflow-section { padding: 95px 0 100px; color: #fff; background: linear-gradient(135deg, #2d1d4d, var(--case-accent)); }
.section-kicker-light { color: #dcf8e6; }
.workflow-section h2 { max-width: 760px; color: #fff; }
.workflow-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 55px 0 0; padding: 0; list-style: none; }
.workflow-list li { padding: 0 26px; border-left: 1px solid rgba(255,255,255,.2); }
.workflow-list li:first-child { padding-left: 0; border-left: 0; }
.workflow-list li:last-child { padding-right: 0; }
.workflow-list li > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.33); border-radius: 50%; color: #dcf8e6; font-size: .78rem; font-weight: 800; }
.workflow-list strong { display: block; margin-bottom: 9px; color: #fff; font-size: 1rem; }
.workflow-list p { margin: 0; color: rgba(255,255,255,.76); font-size: .8rem; line-height: 1.65; }
.support-section { padding-top: 85px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.support-grid p { margin: 23px 0 0; }
.technology-list { margin: 0; border-top: 1px solid var(--case-line); }
.technology-list > div { display: grid; grid-template-columns: 115px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid var(--case-line); }
.technology-list dt { color: var(--case-accent); font-size: .77rem; font-weight: 800; text-transform: uppercase; }
.technology-list dd { margin: 0; color: var(--case-muted); font-size: .9rem; line-height: 1.55; }
.northpacket-card { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 48px; margin-top: 64px; padding: 38px 42px; align-items: center; border: 1px solid #ddd7e8; border-radius: 18px; background: linear-gradient(135deg,#f8f7fb 0%,#f1edf8 100%); }
.case-northpacket-brand { display: inline-flex; min-height: 60px; align-items: center; gap: 13px; color: #30204f; line-height: 1; }
.case-northpacket-brand img { display: block; width: 78px; height: auto; }
.case-northpacket-divider { width: 1px; height: 32px; background: #c9c3d5; }
.case-northpacket-name { position: relative; padding-bottom: 5px; font-size: 1.6rem; font-weight: 500; letter-spacing: -.06em; }
.case-northpacket-name strong { color: #5b3b8d; font-weight: 800; }
.case-northpacket-name::after { position: absolute; right: 0; bottom: 0; width: 28px; height: 3px; border-radius: 999px; background: #4fba50; content: ""; }
.northpacket-card-copy h3 { margin: 10px 0; color: var(--case-ink); font-size: 1.45rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.northpacket-card-copy p { margin: 0; color: var(--case-muted); font-size: .92rem; line-height: 1.7; }
.northpacket-card-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.northpacket-card-copy li { padding: 7px 11px; border: 1px solid #d8d0e5; border-radius: 999px; color: #4b3a66; background: rgba(255,255,255,.72); font-size: .68rem; font-weight: 700; }
.case-cta { padding: 0 0 90px; }
.case-cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 45px; padding: 50px 56px; border-radius: 20px; color: #fff; background: var(--case-ink); }
.case-cta .case-eyebrow { color: #c9f4d7; }
.case-cta h2 { max-width: 660px; color: #fff; font-size: clamp(1.75rem,2.25vw,2.2rem); line-height: 1.12; }
.case-cta .btn { flex: 0 0 auto; }
.case-footer { padding: 0 0 35px; }

@media (min-width: 1400px) {
  .collection-case-study main .container,
  .collection-case-study .case-footer .container,
  .collection-case-study .case-switcher .container { max-width: 1140px; }
}
@media (max-width: 991px) {
  .collection-hero-grid { grid-template-columns: 1fr; }
  .collection-hero-visual { width: 100%; max-width: 650px; margin: 0 auto; }
  .summary-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .summary-grid > div, .summary-grid > div:first-child, .summary-grid > div:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--case-line); }
  .summary-grid > div:last-child { border-bottom: 0; }
  .two-column-copy, .approach-grid, .support-grid, .integration-intro { grid-template-columns: 1fr; gap: 35px; }
  .northpacket-card { grid-template-columns: 1fr; gap: 24px; }
  .integration-flow { grid-template-columns: 1fr; }
  .integration-node { min-height: 165px; }
  .integration-connector { min-height: 68px; }
  .integration-connector i { left: 50%; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .integration-connector i::after { right: -4px; top: auto; bottom: 0; transform: rotate(135deg); }
  .workflow-list { grid-template-columns: repeat(2,1fr); gap: 35px 0; }
  .workflow-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
  .heading-break { display: none; }
  .collection-case-study .wsmenu-list > li > a.h-link { color: #5d5d5d !important; }
  .case-switcher { padding-top: 82px; }
  .case-switcher-inner { display: block; padding-top: 13px; }
  .case-switcher-label { display: block; }
  .case-switcher-links { width: 100%; margin-right: 0; padding-right: 0; }
  .collection-hero { padding: 58px 0 52px; }
  .collection-hero h1 { font-size: 2.62rem; }
  .collection-hero h1, .case-hero h1 { max-width: 100%; overflow-wrap: break-word; }
  .collection-logo-wrap { width: 265px; height: 105px; margin: 20px 0 15px; }
  .collection-client-logo { max-width: 250px; max-height: 94px; }
  .collection-hero-copy > p { font-size: .97rem; }
  .collection-hero-copy, .case-hero-copy, .case-tags { width: 100%; max-width: 100%; }
  .collection-hero-visual { min-height: 500px; }
  .collection-photo { inset: 25px 0 45px 4%; width: 96%; }
  .ui-card { max-width: 86%; }
  .case--beckham-brothers .ui-card, .case--polycultural .ui-card { right: 2%; width: 345px; }
  .case--studentvip .mock-phone, .case--brandpoint .mock-phone { left: 2%; width: 220px; min-height: 455px; }
  .case--studentvip .ui-card, .case--brandpoint .ui-card { right: 0; width: 245px; }
  .real-showcase::before { inset: 25px 0 22px 2%; }
  .real-tablet--studentvip { right: 1%; width: 76%; height: auto; aspect-ratio: 3 / 4; }
  .real-phone--studentvip { left: 1%; width: 31%; height: auto; aspect-ratio: 620 / 1217; }
  .real-browser--beckham-canada { left: 0; width: 88%; height: auto; aspect-ratio: 1200 / 830; }
  .real-browser--beckham-pipers { right: 0; width: 82%; height: auto; aspect-ratio: 1200 / 830; }
  .real-browser--polycultural { right: 0; top: 50px; width: 91%; height: auto; aspect-ratio: 1200 / 830; }
  .real-phone--polycultural { left: 1%; width: 33%; height: auto; aspect-ratio: 620 / 1094; }
  .real-phone--brandpoint-login { left: 3%; width: 43%; height: auto; aspect-ratio: 620 / 1103; }
  .real-phone--brandpoint-dashboard { right: 3%; width: 44%; height: auto; aspect-ratio: 620 / 1103; }
  .real-browser--college-pro { left: 0; top: 50px; width: 91%; height: auto; aspect-ratio: 1440 / 982; }
  .real-phone--college-pro { right: 1%; width: 33%; height: auto; aspect-ratio: 600 / 1149; }
  .collection-section { padding: 70px 0; }
  .collection-section h2, .workflow-section h2, .case-cta h2, .integration-intro h2 { font-size: 2.18rem; }
  .integration-section { padding: 70px 0; }
  .integration-flow { margin-top: 38px; }
  .challenge-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .approach-list li { grid-template-columns: 1fr; gap: 7px; }
  .workflow-section { padding: 70px 0; }
  .workflow-list { grid-template-columns: 1fr; margin-top: 38px; }
  .workflow-list li, .workflow-list li:nth-child(odd) { padding: 0 0 25px; border-bottom: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .technology-list > div { grid-template-columns: 1fr; gap: 7px; }
  .northpacket-card { margin-top: 48px; padding: 30px 26px; }
  .case-northpacket-brand { gap: 10px; }
  .case-northpacket-brand img { width: 72px; }
  .case-northpacket-name { font-size: 1.48rem; }
  .case-cta { padding-bottom: 65px; }
  .case-cta-panel { align-items: flex-start; flex-direction: column; padding: 36px 28px; }
  .case-cta h2 { font-size: 1.75rem; line-height: 1.15; }
}
@media (max-width: 430px) {
  .collection-hero h1 { font-size: 2.35rem; }
  .collection-hero-visual { min-height: 470px; }
  .ui-card-body { padding: 15px; }
}
