/* GRO case studies: the index (csx-) and each project page (csd-).
   One device: the work itself. Real project images carry the page, set into
   the headline as pills, and every claim sits next to the figure behind it. */

/* ---------- Index: hero ----------
   The homepage hero (.home-hero in site.css) with the free website page's
   window panel: four featured projects, chosen with the homepage's tab style. */
.csx-hero .hero__grid { align-items: center; }
.csx-show { position: relative; min-width: 0; overflow: hidden; background: #19191D; border: 1px solid #FFFFFF32; border-radius: 16px; box-shadow: 0 30px 72px #00000030; }
.csx-show__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 4px 22px; font-size: 11px; color: var(--gray-300); border-bottom: 1px solid #FFFFFF20; }
.csx-show__dots { display: inline-flex; gap: 5px; }
.csx-show__dots i { width: 6px; height: 6px; border-radius: 50%; background: #81818A; }
.csx-show__pause { min-width: 44px; min-height: 44px; padding: 0; font: inherit; font-size: 11px; color: var(--gray-300); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.csx-show__pause[hidden] { display: inline-block; visibility: hidden; }
.csx-show__pause:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.csx-show__panel { position: relative; }
.csx-show__panel[hidden] { display: none; }
.csx-show__panel.is-arriving { animation: csx-arrive .5s var(--ease); }
@keyframes csx-arrive { from { opacity: 0; } to { opacity: 1; } }
.csx-show__site { padding: 18px 18px 0; background: var(--ink-850); }
.csx-show__site img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--ink-600); }
.csx-show__caption { padding: 12px 18px 16px; font-size: 11px; line-height: 1.6; color: var(--gray-400); background: var(--ink-850); }
.csx-show__result { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid #FFFFFF20; }
.csx-show__result p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.csx-show__result b { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--yellow); }
.csx-show__result span { font-size: 14px; color: var(--gray-300); }
.csx-show__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--cream); text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 6px; white-space: nowrap; }
.csx-show__link svg { width: 18px; height: 18px; flex: none; }
.csx-show__link::after { content: ''; position: absolute; inset: 0; }
.csx-show__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.csx-show__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 0 22px 22px; }
.csx-show__tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 10px 4px; font: inherit; font-size: 11px; line-height: 1.3; text-align: center; color: #D4D4D8; background: transparent; border: 1px solid #696970; border-radius: 8px; cursor: pointer; }
.csx-show__tabs button span:first-child { font-size: 10px; color: var(--gray-450); }
.csx-show__tabs button[aria-pressed="true"] { color: var(--yellow); background: #FCC5300C; border-color: var(--yellow); }
.csx-show__tabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Index: filters and grid ---------- */
.csx-work { padding-block: 0 clamp(64px, 8vw, 112px); }
.csx-work__head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: clamp(18px, 1.8vw, 24px); border-top: 1px solid #ffffff17; margin-bottom: 12px; }
.csx-work__title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--cream); }
.csx-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.csx-filters[hidden] { display: none; }
.csx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.csx-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 16px; font: inherit; font-size: 14px; font-weight: 500; color: var(--cream); background: transparent; border: 1px solid var(--border-control); border-radius: 999px; cursor: pointer; white-space: nowrap; }
.csx-chip b { font-weight: 600; color: var(--yellow); }
.csx-chip span { min-width: 26px; padding: 2px 8px; font-size: 12px; text-align: center; color: var(--gray-200); background: #ffffff14; border-radius: 999px; }
.csx-chip[aria-pressed="true"] { color: #151517; background: var(--yellow); border-color: var(--yellow); }
.csx-chip[aria-pressed="true"] b { color: #151517; }
.csx-chip[aria-pressed="true"] span { color: #151517; background: #1515171f; }
.csx-chip:focus-visible, .csx-select select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.csx-select select { appearance: none; min-height: 44px; padding: 0 44px 0 18px; font: inherit; font-size: 14px; font-weight: 500; color: var(--cream); background: var(--ink-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23FCC530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; border: 1px solid var(--border-control); border-radius: 999px; cursor: pointer; }
.csx-select select option { color: #151517; background: #fff; }
.csx-legend { margin-bottom: 18px; font-size: 15px; line-height: 1.55; color: var(--gray-300); }
/* The hint shows on phones; wider screens show it once a pillar is chosen. */
.csx-legend.is-default { display: none; }
.csx-legend b { color: var(--cream); font-weight: 600; }

.csx-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.6vw, 52px) clamp(18px, 2vw, 28px); margin: 18px 0 0; padding: 0; }
.csx-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.csx-card[hidden] { display: none; }
.csx-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--ink-600); box-shadow: inset 0 0 0 1px #ffffff12; }
.csx-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.csx-card__media noscript img { position: absolute; inset: 0; }
.csx-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.csx-card__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.csx-card__stat b { font-size: clamp(28px, 2.5vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: var(--yellow); }
.csx-card__stat span { font-size: 14px; line-height: 1.4; color: var(--gray-300); }
.csx-card__name { margin-top: 10px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--cream); }
.csx-card__name a { color: inherit; text-decoration: none; }
.csx-card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.csx-card__name a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 4px; }
.csx-card:has(a:focus-visible) .csx-card__media { box-shadow: 0 0 0 3px var(--yellow); }
.csx-card__work { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--gray-400); }
.csx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.csx-card__work + .csx-card__foot { margin-top: 16px; border-top: 1px solid #ffffff14; }
.csx-card__sector { font-size: 13px; color: var(--gray-300); }
.csx-meter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.csx-meter__steps { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.csx-meter__steps li span { display: grid; place-items: center; width: 24px; height: 24px; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; color: #8f8f99; border: 1px solid #4a4a52; border-radius: 50%; }
.csx-meter__steps li.is-on span { color: #151517; background: var(--yellow); border-color: var(--yellow); }
.csx-card .csx-meter__names { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.csx-meter__names { font-size: 14px; color: var(--gray-300); }

.csx-next { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; grid-column: span 2; padding: clamp(28px, 3.4vw, 48px); background: var(--ink-700) var(--dot-grid); background-size: var(--dot-size); border: 1px solid #ffffff1f; border-radius: 22px; }
.csx-next[hidden] { display: none; }
.csx-next__eyebrow { font-size: 14px; font-weight: 500; color: var(--yellow); }
.csx-next__title { max-width: 16ch; margin-top: 10px; font-size: clamp(30px, 3vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -.04em; color: var(--cream); text-wrap: balance; }
.csx-next__body { max-width: 46ch; margin: 16px 0 32px; font-size: 16px; line-height: 1.6; color: var(--gray-300); }

.csx-empty { margin-top: 24px; font-size: 16px; color: var(--gray-300); }
.csx-empty[hidden] { display: none; }
.csx-empty button { margin-left: 8px; padding: 0; font: inherit; color: var(--cream); background: none; border: 0; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.csx-empty button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Index: client words ---------- */
.csx-words .h2 { margin-bottom: clamp(28px, 3.6vw, 48px); }
.csx-words__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.csx-say { display: flex; flex-direction: column; padding: 30px 28px 24px; background: var(--ink-800); border: 1px solid #ffffff17; border-radius: 20px; }
.csx-say figure { margin: 0; }
.csx-say blockquote { margin: 0; }
.csx-say blockquote::before { content: '“'; display: block; height: 30px; margin-bottom: 8px; font-size: 64px; line-height: 1; font-weight: 600; color: var(--yellow); }
.csx-say blockquote p { font-size: 18px; line-height: 1.6; color: var(--cream); text-wrap: pretty; }
.csx-say figcaption { margin-top: 22px; font-size: 14px; color: var(--gray-300); }
.csx-say figcaption b { display: block; font-weight: 600; color: var(--cream); }
.csx-say__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 500; color: var(--cream); text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 6px; }
.csx-say__link svg, .csd-facts__site svg { width: 18px; height: 18px; flex: none; }
.csx-say__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Project page: hero ---------- */
.csd-hero { padding-block: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 24px); }
.csd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; font-size: 14px; color: var(--gray-300); }
.csd-crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--gray-500); }
.csd-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--gray-300); text-decoration: underline; text-decoration-color: #ffffff40; text-underline-offset: 5px; }
.csd-crumbs a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.csd-crumbs [aria-current] { color: var(--cream); }
.csd-hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 48px; flex-wrap: wrap; margin-top: clamp(18px, 2.2vw, 30px); }
.csd-hero__title { max-width: 18ch; font-size: clamp(38px, 4.6vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.042em; color: var(--cream); text-wrap: balance; }
.csd-hero__client { display: block; }
.csd-hero__work { display: block; margin-top: .3em; font-size: .46em; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: var(--yellow); }
.csd-hero__sector { display: flex; flex-direction: column; gap: 4px; padding-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--cream); text-align: right; }
.csd-hero__sector span { font-weight: 400; color: var(--gray-300); }
.csd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 32px clamp(40px, 5vw, 88px); margin-top: clamp(32px, 4vw, 56px); }
.csd-hero__dek { max-width: 34ch; font-size: clamp(20px, 1.9vw, 27px); font-weight: 400; letter-spacing: -.012em; line-height: 1.45; color: var(--gray-200); text-wrap: pretty; }
.csd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin: 0; padding: 26px 26px 28px; background: var(--ink-800); border: 1px solid #ffffff1c; border-radius: 22px; }
.csd-facts dt { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--gray-400); }
.csd-facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--cream); }
.csd-facts__wide { grid-column: 1 / -1; }
.csd-facts .csx-meter__names { font-size: 14px; }
.csd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; }
.csd-tags li > a, .csd-tags li:not(:has(a)) { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 13px; color: var(--cream); border: 1px solid #ffffff2b; border-radius: 999px; text-decoration: none; }
.csd-tags li > a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.csd-facts__site { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--cream); text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 5px; overflow-wrap: anywhere; }
.csd-facts__site:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.csd-hero__media { margin-top: clamp(22px, 2.6vw, 36px); }
.csd-pic { position: relative; margin: 0; }
.csd-pic noscript img { position: absolute; inset: 0; height: 100%; }
.csd-pic img { display: block; width: 100%; height: auto; border-radius: clamp(14px, 1.8vw, 26px); background: var(--ink-600); }

/* ---------- Project page: results ---------- */
.csd-stats { padding-block: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 24px); }
.csd-stats__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin: 0; padding: 0; }
.csd-stats__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.csd-stats__list--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.csd-stats__list li { padding-top: 20px; border-top: 1px solid #ffffff24; }
.csd-stats__list b { display: block; font-size: clamp(38px, 4.6vw, 72px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; color: var(--yellow); overflow-wrap: anywhere; }
.csd-stats__list span { display: block; max-width: 30ch; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--gray-300); }

/* ---------- Project page: story ---------- */
.csd-brief__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px clamp(40px, 5vw, 88px); align-items: start; }
.csd-copy { font-size: 17px; line-height: 1.72; color: var(--gray-200); }
.csd-copy > * + * { margin-top: 1.05em; }
.csd-copy strong { color: var(--cream); font-weight: 600; }
.csd-copy a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.csd-copy a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 3px; }
.csd-copy ul, .csd-copy ol { margin-left: 0; padding: 0; list-style: none; }
.csd-copy li { position: relative; padding-left: 26px; }
.csd-copy li + li { margin-top: .7em; }
.csd-copy ul > li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.csd-copy--lead > p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--cream); }
.csd-goals { padding-top: 24px; }
.csd-goals__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(28px, 4vw, 64px); align-items: start; }
.csd-goal .csd-pic { margin-bottom: 28px; }
.csd-h2 { margin-bottom: 18px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--cream); }
.csd-wide { padding-block: 16px clamp(56px, 7vw, 104px); }
.csd-process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(40px, 5vw, 88px); align-items: start; }
.csd-process__head { position: sticky; top: 112px; }
.csd-process__head p { margin-top: 18px; max-width: 26ch; font-size: 16px; line-height: 1.6; color: var(--gray-300); }
.csd-steps { list-style: none; margin: 0; padding: 0; }
.csd-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-block: 28px 32px; border-top: 1px solid #ffffff1c; }
.csd-step:first-child { padding-top: 6px; border-top: 0; }
.csd-step__num { font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.csd-step h3 { margin-bottom: 12px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--cream); }
.csd-step .csd-copy { font-size: 16px; }

.csd-quote figure { max-width: 980px; margin: 0 auto; }
.csd-quote blockquote { margin: 0; }
.csd-quote blockquote::before { content: '“'; display: block; height: 52px; margin-bottom: 12px; font-size: 112px; line-height: 1; font-weight: 600; color: var(--yellow); }
.csd-quote blockquote p { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; line-height: 1.32; letter-spacing: -.02em; color: var(--cream); text-wrap: pretty; }
.csd-quote figcaption { margin-top: 28px; font-size: 15px; color: var(--gray-300); }
.csd-quote figcaption b { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; color: var(--cream); }

.csd-film__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 112px); align-items: center; }
.csd-film__frame { position: relative; padding: 10px; background: #000; border-radius: 40px; box-shadow: 0 0 0 1px #ffffff1f, 0 30px 70px #00000080; }
.csd-film__frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 30px; background: #000; }
.csd-film__copy > p { max-width: 44ch; margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--gray-200); }
.csd-film__copy .csd-copy { margin-top: 22px; max-width: 52ch; }
.csd-film__copy .csd-film__note { font-size: 14px; color: var(--gray-400); }

.csd-visit { padding-block: 28px; border-block: 1px solid #ffffff17; }
.csd-visit .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.csd-visit p { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; color: var(--cream); }
.csd-visit p b { font-weight: 600; color: var(--yellow); overflow-wrap: anywhere; }

.csd-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.csd-table caption { padding-bottom: 12px; font-size: 13px; color: var(--gray-400); text-align: left; caption-side: top; }
.csd-table th, .csd-table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid #ffffff1c; }
.csd-table th:first-child { text-align: left; }
.csd-table thead th { font-size: 13px; font-weight: 500; color: var(--gray-300); }
.csd-table tbody th { font-weight: 500; color: var(--cream); }
.csd-table td { color: var(--gray-200); }
.csd-table .is-total th, .csd-table .is-total td { font-weight: 600; color: var(--yellow); border-bottom: 0; }
.csd-table__wrap { overflow-x: auto; margin-block: 8px 24px; padding: 8px 20px 12px; background: var(--ink-800); border: 1px solid #ffffff1c; border-radius: 18px; }
.csd-table__wrap:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.csd-table__intro { max-width: 72ch; font-size: 16px; line-height: 1.7; color: var(--gray-200); }
.csd-table__intro + .csd-table__wrap { margin-top: 20px; }
.csd-table__note { max-width: 80ch; margin-top: 16px; font-size: 13px; line-height: 1.65; color: var(--gray-400); }
.csd-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.csd-route > div { padding: 24px; background: var(--ink-800); border: 1px solid #ffffff1c; border-radius: 18px; }
.csd-route h3 { font-size: 18px; font-weight: 600; color: var(--cream); }
.csd-route__path { margin-block: 10px; font-size: 14px; font-weight: 500; color: var(--yellow); }
.csd-route p:last-child { font-size: 15px; line-height: 1.65; color: var(--gray-200); }

.csd-more__head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.csx-grid--three { margin-top: 0; }

/* Hover only where a real pointer can hover, so one tap works on phones. */
@media (hover: hover) {
  .csx-chip { transition: border-color .2s ease, background-color .2s ease; }
  .csx-chip:hover { border-color: var(--yellow); }
  .csx-show__tabs button:hover { border-color: var(--yellow); }
  .csx-show__link:hover, .csx-show__pause:hover { text-decoration-color: var(--yellow); }
  .csx-chip[aria-pressed="true"]:hover { background: var(--yellow-soft); }
  .csx-select select:hover { border-color: var(--yellow); }
  .csx-card__name a { transition: color .2s ease; }
  .csx-card:hover .csx-card__media img { transform: scale(1.035); }
  .csx-card:hover .csx-card__name a { color: var(--yellow); }
  .csx-say__link:hover, .csd-facts__site:hover, .csd-crumbs a:hover { text-decoration-color: var(--yellow); }
  .csd-tags li > a:hover { border-color: var(--yellow); }
  .csd-copy a:hover { color: var(--yellow); }
  .csx-empty button:hover { color: var(--yellow); }
}

@media (max-width: 1099px) {
  .csx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csx-words__list { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .csd-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .csd-facts { max-width: 720px; }
  .csd-hero__sector { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; text-align: left; }
}
@media (max-width: 899px) {
  .csd-brief__grid, .csd-process__grid, .csd-goals__grid, .csd-film__grid { grid-template-columns: minmax(0, 1fr); }
  .csd-process__head { position: static; }
  .csd-film__frame { max-width: 360px; }
  .csd-stats__list { grid-template-columns: minmax(0, 1fr); }
  .csd-stats__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 799px) {
  .csx-work__head { align-items: stretch; }
  .csx-filters { width: 100%; }
  .csx-chips { --gutter: 24px; flex-wrap: nowrap; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .csx-chips::-webkit-scrollbar { display: none; }
  .csx-chip { scroll-snap-align: start; }
  .csx-select { width: 100%; }
  .csx-select select { width: 100%; }
  .csd-route { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 679px) {
  .csx-legend.is-default { display: block; margin: 4px 0 6px; }
  .csx-grid { grid-template-columns: minmax(0, 1fr); }
  .csx-next { grid-column: auto; }
  .csd-facts { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .csd-stats__list--2 { grid-template-columns: minmax(0, 1fr); }
  .csd-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 479px) {
  .csx-chips { --gutter: 20px; }
  .csx-say { padding: 26px 22px 22px; }
  .csd-quote blockquote::before { font-size: 88px; height: 40px; }
}
@media (max-width: 799px) {
  .csx-show { width: 100%; }
}
@media (max-width: 479px) {
  .csx-show__bar { padding-inline: 16px; }
  .csx-show__site { padding: 14px 14px 0; }
  .csx-show__caption { padding: 10px 14px 14px; }
  .csx-show__result { padding: 16px; }
  /* Two by two on phones: never one tab left alone on a row. */
  .csx-show__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .csx-card__media img { transition: none; }
  .csx-show__panel.is-arriving { animation: none; }
}
