/* TechiesAIE — project showcase, case studies, category pages.
   Same cream / orange theme and Bricolage Grotesque. Minimal, agency-style. */

/* ── Tokens & base ───────────────────────────────────────────── */
.work-shell {
    --work-ink: #211d19;
    --work-muted: #62574e;
    --work-body: #463d35;
    --work-line: #ecdccf;
    --work-accent: #c2410c;
    --work-bright: #ea580c;
    --work-paper: #fff7ed;
    --work-card: #fff;
    --work-tint: #f2cfae;
    --work-hover-line: #e7ad82;
    --work-dot: #f3d9c2;
    --work-on-ink: #fff1e3;
    --work-on-ink-accent: #fdba74;
    --work-on-ink-muted: #d9c9ba;
    --work-on-ink-line: #5a4e44;
    --ease: cubic-bezier(.22, 1, .36, 1);
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    color: var(--work-ink);
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased
}

.work-shell *,
.work-shell *::before,
.work-shell *::after {
    box-sizing: border-box
}

:where(.work-shell) :is(h1, h2, h3, h4, p, figure, dl, dd, ol, ul) {
    margin: 0
}

:where(.work-shell) :is(ol, ul) {
    padding: 0;
    list-style: none
}

:where(.work-shell) a {
    color: inherit;
    text-decoration: none
}

.work-shell :is(a, summary):focus-visible {
    outline: 2px solid var(--work-accent);
    outline-offset: 4px;
    border-radius: 4px
}

.work-shell [id] {
    scroll-margin-top: 110px
}

.work-showcase,
.work-detail {
    padding: clamp(96px, 10vw, 128px) 0 64px
}

.work-label {
    display: block;
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--work-accent)
}

/* Animated underline used on text links */
.work-nav a,
.case-visit,
.work-collection-link,
.work-project-link,
.work-next a,
.case-facts a {
    background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
    transition: background-size .4s var(--ease), color .2s
}

.work-nav a:hover,
.case-visit:hover,
.work-collection-link:hover,
.work-project-link:hover,
.work-next a:hover,
.case-facts a:hover {
    background-size: 100% 1px
}

.case-visit span,
.work-actions a span,
.work-collection-link span {
    display: inline-block;
    transition: transform .35s var(--ease)
}

.case-visit:hover span,
.work-actions a:hover span {
    transform: translate(3px, -3px)
}

/* ── Section nav / breadcrumbs ───────────────────────────────── */
.work-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding: 16px 0;
    border-block: 1px solid var(--work-line)
}

.work-nav a {
    padding-bottom: 2px;
    color: var(--work-muted);
    font-size: .88rem;
    font-weight: 600
}

.work-nav a:hover {
    color: var(--work-accent)
}

.work-crumbs {
    border: 0;
    padding: 0 0 4px;
    font-size: .84rem;
    color: var(--work-muted)
}

.work-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px
}

.work-crumbs li+li::before {
    content: "/";
    margin-right: 10px;
    opacity: .5
}

.work-crumbs a {
    padding-bottom: 1px
}

.work-crumbs [aria-current] {
    color: var(--work-ink);
    font-weight: 600
}

/* ── Showcase intro & sections ───────────────────────────────── */
.work-intro {
    padding: clamp(40px, 8vw, 104px) 0 clamp(36px, 5vw, 64px);
    margin: 0
}

.work-intro h1 {
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.03;
    margin: 16px 0 24px;
    overflow-wrap: anywhere
}

.work-intro em {
    font-style: normal;
    color: var(--work-accent)
}

.work-intro p {
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: var(--work-muted)
}

.work-section {
    padding: clamp(40px, 6vw, 80px) 0;
    border-top: 1px solid var(--work-line)
}

.work-section-head {
    max-width: 62ch;
    margin: 0 0 clamp(24px, 3.5vw, 40px)
}

.work-section-head :is(h2, h3) {
    font-size: clamp(1.7rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.12;
    margin: 10px 0 12px
}

.work-section-head p {
    color: var(--work-muted);
    line-height: 1.65
}

.work-collection-link {
    display: inline-block;
    margin-top: 14px;
    padding-bottom: 2px;
    color: var(--work-accent);
    font-weight: 650
}

/* ── Cards (also output by workCard()) ───────────────────────── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--work-line);
    border-radius: 14px;
    background: var(--work-card);
    transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease)
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--work-hover-line);
    box-shadow: 0 22px 40px -28px rgba(154, 74, 21, .45)
}

.work-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: contain;
    background: var(--work-paper);
    border-bottom: 1px solid var(--work-line);
    transition: transform .7s var(--ease)
}

.work-card:hover img {
    transform: scale(1.035)
}

.work-card-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    grid-template-rows: auto auto 1fr auto;
    height: 100%;
    padding: 20px;
    background: var(--work-card)
}

.work-card-copy :is(strong, h3) {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
    transition: color .25s
}

.work-card:hover .work-card-copy :is(strong, h3) {
    color: var(--work-accent)
}

.work-card-copy>span:not(.work-label) {
    color: var(--work-body);
    line-height: 1.6;
    font-size: 1rem
}

.work-card-copy .work-card-action {
    display: inline-block;
    color: var(--work-accent);
    font-weight: 650;
    font-size: .88rem;
    transition: transform .35s var(--ease)
}

.work-card:hover .work-card-action {
    transform: translateX(4px)
}

/* Project index */
.work-index {
    border-top: 1px solid var(--work-line)
}

.work-index a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 200px) 24px;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    border-bottom: 1px solid var(--work-line);
    transition: background .3s, color .25s
}

.work-index a>span,
.work-index small {
    color: var(--work-muted);
    transition: color .25s, transform .35s var(--ease)
}

.work-index strong {
    font-size: 1.15rem;
    letter-spacing: -.02em;
    transition: transform .35s var(--ease)
}

.work-index a:hover {
    background: var(--work-paper)
}

.work-index a:hover strong {
    transform: translateX(8px);
    color: var(--work-accent)
}

.work-index a:hover>span:first-child {
    color: var(--work-accent)
}

.work-index a:hover>span:last-child {
    color: var(--work-accent);
    transform: translate(3px, -3px)
}

/* Buttons */
.work-actions,
.work-next {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px
}

.work-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border: 1px solid var(--work-line);
    border-radius: 999px;
    background: var(--work-card);
    color: var(--work-ink);
    font-weight: 650;
    transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease)
}

.work-actions a:first-child {
    background: var(--work-accent);
    border-color: var(--work-accent);
    color: #fff
}

.work-actions a:hover {
    transform: translateY(-2px);
    border-color: var(--work-ink)
}

.work-actions a:first-child:hover {
    background: var(--work-ink)
}

/* ── Case study (product detail) ─────────────────────────────── */
.work-case {
    padding-top: clamp(96px, 10vw, 128px)
}

.case-hero {
    padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px)
}

.case-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.7rem, 6.4vw, 5.6rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.055em;
    margin: 18px 0 12px
}

.case-kicker {
    font-size: clamp(1.1rem, 2.4vw, 1.6rem);
    letter-spacing: -.03em;
    color: var(--work-accent);
    margin-bottom: 28px
}

.case-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px
}

.case-hero-bottom p {
    max-width: 62ch;
    font-size: clamp(1.1rem, 1.9vw, 1.32rem);
    line-height: 1.65;
    color: var(--work-body)
}

.case-visit {
    flex-shrink: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--work-line);
    color: var(--work-accent);
    font-weight: 650
}

.case-visit span {
    margin-left: 14px
}

.case-cover {
    padding: clamp(14px, 3vw, 36px);
    border: 1px solid var(--work-line);
    border-radius: 20px;
    background: var(--work-paper);
    transition: border-color .4s, box-shadow .5s var(--ease)
}

.case-cover:hover {
    border-color: var(--work-hover-line);
    box-shadow: 0 32px 60px -40px rgba(154, 74, 21, .5)
}

.case-window {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid var(--work-line);
    background: var(--work-card)
}

.case-window>span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--work-dot)
}

.case-window>span:first-child {
    background: var(--work-bright)
}

.case-window small {
    margin-left: 10px;
    font-size: .72rem;
    color: var(--work-muted)
}

.case-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 8px 8px;
    transition: transform .8s var(--ease)
}

.case-cover figcaption {
    padding-top: 16px;
    text-align: center;
    font-size: .8rem;
    color: var(--work-muted)
}

.case-facts {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--work-line)
}

.case-facts dt {
    margin-bottom: 8px;
    font-size: .78rem;
    color: var(--work-muted)
}

.case-facts dd {
    font-size: 1rem;
    font-weight: 600
}

.case-facts a {
    color: var(--work-accent);
    padding-bottom: 2px
}

/* Readable story column + sticky "on this page" rail */
.case-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 740px);
    justify-content: center;
    gap: clamp(36px, 6vw, 88px);
    padding-top: clamp(36px, 5vw, 64px)
}

.case-toc {
    position: sticky;
    top: 110px;
    align-self: start;
}

.case-toc ol {
    position: relative;
    margin-top: 14px;
    border-left: 1.5px solid var(--work-line);
}

.case-toc a {
    position: relative;
    display: block;
    padding: 8px 12px 8px 16px;
    font-size: .88rem;
    line-height: 1.4;
    color: var(--work-muted);
    border-radius: 0 8px 8px 0;
    transition: color .25s ease, transform .3s var(--ease), background-color .25s ease, font-weight .2s ease;
}

.case-toc a::before {
    content: "";
    position: absolute;
    left: -1.5px;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: linear-gradient(180deg, var(--work-accent) 0%, var(--work-bright) 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--work-accent) 45%, transparent);
    transform: scaleY(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .35s var(--ease), opacity .25s ease;
}

.case-toc a:hover {
    color: var(--work-ink);
    transform: translateX(3px);
    background: color-mix(in srgb, var(--work-accent) 5%, transparent);
}

.case-toc a.is-active,
.case-toc a[aria-current="location"],
.case-toc a[aria-current="true"] {
    color: var(--work-accent);
    font-weight: 700;
    transform: translateX(4px);
    background: color-mix(in srgb, var(--work-accent) 10%, transparent);
}

.case-toc a.is-active::before,
.case-toc a[aria-current="location"]::before,
.case-toc a[aria-current="true"]::before {
    transform: scaleY(1);
    opacity: 1;
}

.case-toc a:hover::before {
    opacity: 0.6;
    transform: scaleY(0.6);
}

.case-toc a.is-active:hover::before,
.case-toc a[aria-current]:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.case-main {
    min-width: 0
}

.case-chapter {
    padding: clamp(36px, 5vw, 60px) 0;
    border-bottom: 1px solid var(--work-line)
}

.case-main>.case-story>.case-chapter:first-child,
.case-main>.case-chapter:first-child {
    padding-top: 0
}

.case-chapter-title {
    margin-bottom: 24px
}

.case-chapter-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 20px;
    background: var(--work-bright);
    transition: width .7s var(--ease)
}

.case-chapter:hover .case-chapter-title::after {
    width: 96px
}

.case-chapter h2 {
    margin-top: 12px;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.04em
}

.case-chapter-copy p {
    max-width: 66ch;
    margin-bottom: 20px;
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--work-body)
}

.case-chapter-copy>p:first-child {
    font-size: 1.28rem;
    line-height: 1.7;
    color: var(--work-ink)
}

.case-chapter-copy p:last-child {
    margin-bottom: 0
}

.case-chapter-copy strong {
    color: var(--work-ink);
    font-weight: 650
}

.case-chapter-copy a {
    color: var(--work-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--work-tint);
    transition: text-decoration-color .25s
}

.case-chapter-copy a:hover {
    text-decoration-color: var(--work-accent)
}

.case-main .industry-deep-dive {
    padding: 0;
    border: 0
}

.case-main :is(.industry-deep-dive-header, .industry-dd-section) {
    max-width: none;
    margin: 0
}

/* Features: hairline list, accent rule draws on hover */
.case-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 0 36px;
    margin: 4px 0 0
}

.case-features>div {
    position: relative;
    padding: 22px 0;
    border-top: 1px solid var(--work-line)
}

.case-features>div::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    height: 1px;
    width: 100%;
    background: var(--work-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease)
}

.case-features>div:hover::before {
    transform: scaleX(1)
}

.case-features dt {
    margin-bottom: 8px;
    font-weight: 650;
    transition: color .25s, transform .35s var(--ease)
}

.case-features>div:hover dt {
    color: var(--work-accent);
    transform: translateX(4px)
}

.case-features dd {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--work-body)
}

/* Metrics: big number + label */
.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 0 28px;
    margin: 20px 0
}

.case-metrics li {
    padding: 18px 0;
    border-top: 1px solid var(--work-line);
    color: var(--work-muted);
    font-size: .9rem;
    line-height: 1.4
}

.case-metrics strong {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--work-accent);
    transition: transform .4s var(--ease)
}

.case-metrics li:hover strong {
    transform: translateY(-3px)
}

/* Plan */
.case-plan {
    counter-reset: plan;
    margin: 22px 0
}

.case-plan li {
    counter-increment: plan;
    position: relative;
    padding: 0 0 24px 48px;
    font-size: 1.06rem;
    color: var(--work-body);
    line-height: 1.8
}

.case-plan li::before {
    content: counter(plan);
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--work-line);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 650;
    color: var(--work-accent);
    transition: background .3s, color .3s, border-color .3s
}

.case-plan li:hover::before {
    background: var(--work-accent);
    border-color: var(--work-accent);
    color: #fff
}

.case-plan strong {
    color: var(--work-ink)
}

.case-chapter-copy .case-plan-note {
    font-size: .875rem
}

.case-verification {
    padding: 22px 0;
    font-size: .9rem;
    color: var(--work-muted)
}

.case-verification summary {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    transition: color .25s
}

.case-verification summary::-webkit-details-marker {
    display: none
}

.case-verification summary:hover {
    color: var(--work-accent)
}

.case-verification summary span {
    display: inline-block;
    transition: transform .35s var(--ease)
}

.case-verification[open] summary span {
    transform: rotate(45deg)
}

.case-verification p {
    max-width: 72ch;
    padding-top: 14px;
    line-height: 1.7
}

/* Closing CTA — the one bold block */
.case-contact {
    margin: clamp(40px, 6vw, 72px) 0;
    padding: clamp(32px, 6vw, 80px);
    border-radius: 22px;
    background: var(--work-ink);
    color: var(--work-on-ink)
}

.case-contact .work-label {
    color: var(--work-on-ink-accent)
}

.case-contact h2 {
    margin: 18px 0;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.045em
}

.case-contact em {
    font-style: normal;
    color: var(--work-on-ink-accent)
}

.case-contact p {
    max-width: 62ch;
    line-height: 1.75;
    color: var(--work-on-ink-muted)
}

.case-contact .work-actions a {
    background: transparent;
    border-color: var(--work-on-ink-line);
    color: var(--work-on-ink)
}

.case-contact .work-actions a:first-child {
    background: var(--work-bright);
    border-color: var(--work-bright);
    color: #fff
}

.case-contact .work-actions a:hover {
    border-color: var(--work-on-ink)
}

.case-contact .work-actions a:first-child:hover {
    background: var(--work-on-ink);
    color: var(--work-ink)
}

.case-related .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

/* ── Category (industry) page ────────────────────────────────── */
.industry-case {
    padding-top: 32px
}

.industry-case .case-hero h1 {
    max-width: 20ch;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    margin-bottom: 24px
}

.industry-case .case-hero-bottom p {
    font-size: clamp(1rem, 1.6vw, 1.18rem)
}

.case-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 18px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--work-muted)
}

.case-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.case-hero-meta i,
.industry-feature-icon {
    color: var(--work-accent)
}

.case-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.industry-case .case-hero-links .case-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--work-line);
    border-radius: 999px;
    background: #fff;
    color: var(--work-ink);
    font-size: .9rem;
    transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease)
}

.industry-case .case-hero-links .case-visit:hover {
    transform: translateY(-2px);
    border-color: var(--work-ink)
}

.industry-case .case-hero-links .case-visit:first-child {
    background: var(--work-ink);
    border-color: var(--work-ink);
    color: #fff
}

.industry-case .case-hero-links .case-visit:first-child:hover {
    background: var(--work-accent);
    border-color: var(--work-accent)
}

.industry-metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    border-block: 1px solid var(--work-line);
    margin: 8px 0 0
}

.industry-metric-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px 26px 0
}

.industry-metric-card+.industry-metric-card {
    padding-left: 24px;
    border-left: 1px solid var(--work-line)
}

.industry-metric-value {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.1;
    color: var(--work-accent);
    transition: transform .4s var(--ease)
}

.industry-metric-card:hover .industry-metric-value {
    transform: translateY(-3px)
}

.industry-metric-label {
    font-size: .85rem;
    color: var(--work-muted)
}

.industry-work-showcase {
    border-top: 0;
    padding-top: clamp(40px, 6vw, 72px)
}

.industry-work-showcase .work-section-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem)
}

/* Product cards (live builds) */
.tpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 28px
}

.tpl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--work-line);
    border-radius: 22px;
    background: #fff;
    transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease)
}

.tpl-card:hover {
    transform: translateY(-6px);
    border-color: #f0b98f;
    box-shadow: 0 34px 60px -36px rgba(154, 74, 21, .55)
}

.tpl-shot {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
    border: 1px solid var(--work-line);
    border-radius: 14px;
    background: var(--work-paper)
}

.tpl-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 1.1s var(--ease)
}

.tpl-card:hover .tpl-shot img {
    transform: scale(1.06)
}

.tpl-fb {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--work-paper);
    text-align: center
}

.tpl-fb b {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--work-bright)
}

.tpl-fb span {
    font-size: .85rem;
    font-weight: 650;
    color: var(--work-muted)
}

.tpl-hit {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    background: linear-gradient(180deg, transparent 45%, rgba(33, 29, 25, .55));
    opacity: 0;
    transition: opacity .4s
}

.tpl-hit span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--work-ink);
    font-size: .85rem;
    font-weight: 650;
    transform: translateY(12px);
    transition: transform .5s var(--ease)
}

.tpl-card:hover .tpl-hit,
.tpl-hit:focus-visible {
    opacity: 1
}

.tpl-card:hover .tpl-hit span,
.tpl-hit:focus-visible span {
    transform: none
}

.tpl-chip,
.tpl-live {
    position: absolute;
    top: 12px;
    z-index: 4;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 650;
    pointer-events: none;
    transition: transform .4s var(--ease)
}

.tpl-chip {
    left: 12px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--work-line);
    color: var(--work-accent)
}

.tpl-live {
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(33, 29, 25, .9);
    color: #fff
}

.tpl-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    animation: tpl-ping 2.2s infinite
}

@keyframes tpl-ping {
    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0)
    }
}

.tpl-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 14px 12px
}

.tpl-body h3 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1
}

.tpl-body h3 a {
    background: linear-gradient(currentColor, currentColor) 0 100%/0 2px no-repeat;
    padding-bottom: 3px;
    transition: background-size .45s var(--ease), color .25s
}

.tpl-card:hover .tpl-body h3 a {
    background-size: 100% 2px;
    color: var(--work-accent)
}

.tpl-cat {
    margin-top: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--work-muted)
}

.tpl-desc {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--work-body)
}

.tpl-feats {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--work-line)
}

.tpl-feats li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .93rem;
    font-weight: 600
}

.tpl-feats i {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--work-paper);
    color: var(--work-accent);
    font-size: 15px;
    transition: background .3s, color .3s, transform .4s var(--ease)
}

.tpl-feats li:hover i {
    background: var(--work-accent);
    color: #fff;
    transform: rotate(-8deg) scale(1.1)
}

.tpl-foot {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px
}

.tpl-solid,
.tpl-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 650;
    white-space: nowrap;
    transition: background .3s, color .3s, border-color .3s
}

.tpl-solid {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--work-ink);
    color: #fff
}

.tpl-solid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--work-accent);
    transform: translateX(-101%);
    transition: transform .55s var(--ease)
}

.tpl-solid:hover::before,
.tpl-solid:focus-visible::before {
    transform: none
}

.tpl-solid span,
.tpl-ghost i {
    display: inline-block;
    transition: transform .4s var(--ease)
}

.tpl-solid:hover span {
    transform: translateX(5px)
}

.tpl-ghost {
    border: 1px solid var(--work-line);
    background: #fff;
    color: var(--work-ink)
}

.tpl-ghost:hover,
.tpl-ghost:focus-visible {
    border-color: var(--work-ink);
    background: var(--work-ink);
    color: #fff
}

.tpl-ghost:hover i {
    transform: translate(2px, -2px)
}

/* Comparison */
.industry-transformation-card {
    margin: clamp(40px, 6vw, 72px) 0;
    padding-top: clamp(28px, 4vw, 48px);
    border-top: 1px solid var(--work-line)
}

.transformation-head {
    max-width: 62ch;
    margin-bottom: 32px
}

.transformation-head :is(h2, h3) {
    margin: 10px 0 10px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.12
}

.transformation-head p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--work-body)
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.transformation-col {
    padding: 30px 28px;
    border: 1px solid var(--work-line);
    border-radius: 22px;
    background: #fff;
    transition: opacity .45s, transform .55s var(--ease), border-color .3s, box-shadow .55s var(--ease)
}

.transformation-col.is-custom {
    background: var(--work-paper);
    border-color: #f2cfae
}

.transformation-grid:has(.transformation-col:hover) .transformation-col:not(:hover) {
    opacity: .5;
    transform: scale(.985)
}

.transformation-col:hover {
    transform: translateY(-4px)
}

.transformation-col.is-traditional:hover {
    border-color: #f1b5ae;
    box-shadow: 0 30px 50px -36px rgba(180, 35, 24, .5)
}

.transformation-col.is-custom:hover {
    border-color: #86d3a1;
    box-shadow: 0 30px 50px -36px rgba(21, 128, 61, .5)
}

.transformation-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--work-line);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.02em
}

.transformation-col-title i {
    font-size: 24px
}

.transformation-col.is-traditional .transformation-col-title i {
    color: #b42318
}

.transformation-col.is-custom .transformation-col-title i {
    color: #15803d
}

.transformation-list {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.transformation-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin-inline: -14px;
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--work-body);
    transition: background .3s, transform .45s var(--ease)
}

.transformation-list li strong {
    color: var(--work-ink);
    text-decoration: line-through transparent;
    text-decoration-thickness: 2px;
    transition: text-decoration-color .3s
}

.transformation-list li>i {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    font-size: 14px;
    transition: transform .45s var(--ease), background .3s, color .3s
}

.is-traditional .transformation-list li>i {
    background: #fdecea;
    color: #b42318
}

.is-custom .transformation-list li>i {
    background: #e3f5ea;
    color: #15803d
}

.transformation-list li:hover {
    transform: translateX(6px)
}

.is-traditional .transformation-list li:hover {
    background: #fff4f2
}

.is-custom .transformation-list li:hover {
    background: #fff
}

.is-traditional .transformation-list li:hover>i {
    background: #b42318;
    color: #fff;
    transform: rotate(90deg) scale(1.15)
}

.is-custom .transformation-list li:hover>i {
    background: #15803d;
    color: #fff;
    transform: rotate(-10deg) scale(1.2)
}

.is-traditional .transformation-list li:hover strong {
    text-decoration-color: rgba(180, 35, 24, .55)
}

/* Pillars */
.industry-pillars-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 0 24px;
    margin: 0 0 8px;
    border-top: 1px solid var(--work-line)
}

.industry-pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    transition: transform .35s var(--ease)
}

.industry-pillar-item:hover {
    transform: translateX(4px)
}

.industry-pillar-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--work-paper);
    color: var(--work-accent);
    font-size: 18px;
    transition: background .3s, color .3s
}

.industry-pillar-item:hover .industry-pillar-icon {
    background: var(--work-accent);
    color: #fff
}

.industry-pillar-text strong {
    display: block;
    font-size: .9rem;
    font-weight: 700
}

.industry-pillar-text span {
    display: block;
    font-size: .78rem;
    line-height: 1.4;
    color: var(--work-muted)
}

/* Narrative, deep dive */
.industry-narrative {
    padding: clamp(40px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--work-line)
}

.industry-narrative-inner,
.industry-deep-dive-header,
.industry-dd-section {
    max-width: 680px;
    margin-inline: auto
}

.industry-narrative-inner p {
    margin-bottom: 24px;
    font-size: clamp(1.1rem, 1.8vw, 1.22rem);
    line-height: 1.9;
    color: var(--work-body)
}

.industry-narrative-inner p:first-child {
    font-size: clamp(1.15rem, 2.1vw, 1.35rem);
    font-weight: 500;
    line-height: 1.75;
    color: var(--work-ink)
}

.industry-narrative-inner p:last-child {
    margin-bottom: 0
}

.industry-deep-dive {
    padding: clamp(40px, 6vw, 80px) 0;
    border-bottom: 1px solid var(--work-line)
}

.industry-deep-dive-header {
    margin-bottom: clamp(28px, 4vw, 48px)
}

.industry-deep-dive-header h2 {
    margin-top: 12px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.15
}

.industry-dd-section {
    padding: clamp(26px, 4vw, 44px) 0;
    border-top: 1px solid var(--work-line)
}

.industry-dd-section h3 {
    margin-bottom: 16px;
    font-size: clamp(1.25rem, 2.3vw, 1.6rem);
    letter-spacing: -.03em;
    line-height: 1.25
}

.industry-dd-section p {
    margin-bottom: 18px;
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--work-body)
}

.industry-dd-section p:last-child {
    margin-bottom: 0
}

/* Approach: architecture, stack */
.industry-arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 0 32px;
    margin: 26px 0 8px
}

.industry-arch-card {
    position: relative;
    padding: 22px 0;
    border-top: 1px solid var(--work-line)
}

.industry-arch-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 1px;
    background: var(--work-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease)
}

.industry-arch-card:hover::before {
    transform: scaleX(1)
}

.industry-arch-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    transition: color .25s, transform .35s var(--ease)
}

.industry-arch-card:hover h3 {
    color: var(--work-accent);
    transform: translateX(4px)
}

.industry-arch-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--work-body)
}

.industry-tech-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--work-line)
}

.industry-tech-label {
    font-size: .8rem;
    font-weight: 650;
    color: var(--work-muted)
}

.industry-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.industry-tech-pill {
    padding: 5px 13px;
    border: 1px solid var(--work-line);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease)
}

.industry-tech-pill:hover {
    transform: translateY(-2px);
    border-color: var(--work-accent);
    background: var(--work-paper);
    color: var(--work-accent)
}

/* Process — an ordered list of four steps */
.industry-process-section {
    border-bottom: 1px solid var(--work-line)
}

.industry-flow-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 28px
}

.process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 0 8px;
    border-top: 1px solid var(--work-line)
}

.process-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 2px;
    background: var(--work-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .55s var(--ease)
}

.process-card:hover::before {
    transform: scaleX(1)
}

.process-num {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    color: #e9c9ae;
    transition: color .35s, transform .45s var(--ease)
}

.process-card:hover .process-num {
    color: var(--work-bright);
    transform: translateY(-3px)
}

.process-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.25
}

.process-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--work-body)
}

/* Principles, features */
.industry-principles,
.industry-features {
    padding: clamp(40px, 6vw, 80px) 0;
    border-top: 1px solid var(--work-line)
}

.industry-principles-grid,
.industry-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px
}

.industry-principle-card,
.industry-feature-card {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--work-line);
    border-radius: 14px;
    background: #fff;
    transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease)
}

.industry-principle-card {
    background: var(--work-paper)
}

.industry-principle-card:hover,
.industry-feature-card:hover {
    transform: translateY(-4px);
    border-color: #e7ad82;
    box-shadow: 0 22px 38px -30px rgba(154, 74, 21, .5)
}

.industry-principle-card h3,
.industry-feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    letter-spacing: -.02em;
    line-height: 1.3
}

.industry-principle-card p,
.industry-feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--work-body)
}

.industry-feature-icon {
    display: block;
    margin-bottom: 14px;
    font-size: 1.5rem
}

/* ── Legacy article helpers (older project pages) ────────────── */
.work-article {
    width: min(740px, calc(100% - 40px))
}

.work-shot {
    padding: 0
}

.work-shot img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border: 1px solid var(--work-line);
    border-radius: 10px
}

.work-shot figcaption {
    padding: 8px 0;
    font-size: .82rem;
    color: var(--work-muted)
}

.work-prose {
    margin-top: 32px;
    font-size: 1.0625rem
}

.work-prose h2 {
    margin: 8px 0 18px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    letter-spacing: -.04em;
    line-height: 1.13
}

.work-prose h3 {
    margin: 26px 0 8px;
    font-size: 1.23rem
}

.work-prose p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: var(--work-muted);
    overflow-wrap: anywhere
}

.work-evidence,
.work-invite {
    margin-top: 32px;
    padding: 4px 0 4px 16px;
    border-left: 3px solid #e7ad82
}

.work-next {
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--work-line)
}

.work-next a,
.work-project-link {
    color: var(--work-accent);
    font-weight: 650
}

.work-project-link {
    display: inline-block;
    margin-top: 14px;
    font-size: .9rem
}

/* ── Motion ──────────────────────────────────────────────────── */
@keyframes work-rise {
    from {
        opacity: 0;
        transform: translateY(18px)
    }
}

@keyframes work-unveil {
    from {
        opacity: 0;
        transform: translateY(28px);
        clip-path: inset(6% 3% 6% 3% round 20px)
    }
}

@keyframes work-progress {
    to {
        transform: scaleX(1)
    }
}

.rv {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(5px);
    transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s)
}

.rv.in {
    opacity: 1;
    transform: none;
    filter: none
}

@media(prefers-reduced-motion:no-preference) {

    .work-intro>*,
    .case-hero>* {
        animation: work-rise .85s var(--ease) both
    }

    .work-intro>:nth-child(2),
    .case-hero>:nth-child(2) {
        animation-delay: .08s
    }

    .work-intro>:nth-child(3),
    .case-hero>:nth-child(3) {
        animation-delay: .16s
    }

    .case-hero>:nth-child(4) {
        animation-delay: .24s
    }

    .case-cover {
        animation: work-unveil 1s var(--ease) .35s both
    }
}

@supports(animation-timeline:scroll()) {
    @media(prefers-reduced-motion:no-preference) {
        .work-case::before {
            content: "";
            position: fixed;
            inset: 0 0 auto;
            z-index: 60;
            height: 3px;
            background: var(--work-bright);
            transform: scaleX(0);
            transform-origin: 0 50%;
            animation: work-progress linear both;
            animation-timeline: scroll(root)
        }
    }
}

@media(prefers-reduced-motion:reduce) {

    .work-shell *,
    .work-shell *::before,
    .work-shell *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important
    }

    .rv {
        opacity: 1
    }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:1024px) {
    .tpl-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .industry-flow-pipeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 28px
    }
}

@media(max-width:900px) {
    .transformation-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:700px) {
    .work-shell {
        width: calc(100% - 32px)
    }

    .work-nav {
        gap: 8px 18px
    }

    .work-index a {
        grid-template-columns: 32px minmax(0, 1fr) 20px
    }

    .work-index small {
        display: none
    }

    .case-hero-bottom {
        display: block
    }

    .case-hero-bottom>.case-visit {
        display: inline-block;
        margin-top: 16px
    }

    .case-hero-links {
        margin-top: 20px
    }

    .case-facts {
        grid-template-columns: 1fr 1fr
    }

    .case-facts>div:last-child {
        grid-column: 1/-1
    }

    .case-chapter-copy p {
        font-size: 1.05rem
    }

    .case-chapter-copy>p:first-child {
        font-size: 1.15rem
    }

    .case-related .work-grid,
    .tpl-grid,
    .industry-flow-pipeline {
        grid-template-columns: 1fr
    }

    .industry-metric-card+.industry-metric-card {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--work-line)
    }

    .industry-metric-card {
        padding: 20px 0
    }

    .work-case .work-crumbs {
        display: block
    }
}

/* ── v2: readable layout, richer motion ──────────────────────── */
@media(max-width:1000px) {
    .case-layout {
        grid-template-columns: minmax(0, 740px)
    }

    .case-toc {
        display: none
    }
}

/* Headline: word-by-word mask reveal (applied by JS) */
@keyframes wd-up {
    to {
        transform: none
    }
}

.case-hero h1.split {
    animation: none
}

.wd {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .14em;
    margin-bottom: -.14em
}

.wd>span {
    display: inline-block;
    transform: translateY(112%);
    animation: wd-up .95s var(--ease) calc(.1s + var(--i, 0)*.07s) forwards
}

/* Pointer spotlight + lift on cards (fine pointers only) */
@media(hover:hover) {

    .tpl-card,
    .industry-principle-card,
    .industry-feature-card,
    .transformation-col {
        position: relative
    }

    .work-card::after,
    .tpl-card::after,
    .industry-principle-card::after,
    .industry-feature-card::after,
    .transformation-col::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        transition: opacity .45s;
        background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(234, 88, 12, .09), transparent 65%)
    }

    .work-card:hover::after,
    .tpl-card:hover::after,
    .industry-principle-card:hover::after,
    .industry-feature-card:hover::after,
    .transformation-col:hover::after {
        opacity: 1
    }

    .tpl-card:hover .tpl-chip {
        transform: translateY(-2px)
    }

    .tpl-card:hover .tpl-live {
        transform: translateY(-2px)
    }

    .work-actions a::after {
        content: none
    }

    .industry-tech-pill:hover,
    .industry-pillar-item:hover {
        transform: translateY(-2px)
    }
}

@media(prefers-reduced-motion:reduce) {
    .wd>span {
        transform: none;
        animation: none
    }
}

/* ── v3: ambient hero, sticky section nav, scroll-linked cover ── */
@keyframes work-float {
    from {
        transform: translate3d(0, 0, 0) scale(1)
    }

    to {
        transform: translate3d(-40px, 30px, 0) scale(1.12)
    }
}

@keyframes cover-zoom {
    from {
        transform: scale(1.08)
    }

    to {
        transform: scale(1)
    }
}

/* Soft orange glow that drifts behind every hero (kept inside the hero's own stacking context) */
.work-intro,
.case-hero {
    position: relative;
    isolation: isolate;
    overflow-x: clip
}

.work-intro::before,
.case-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -80px;
    right: -60px;
    width: min(520px, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--work-accent) 18%, transparent), color-mix(in srgb, var(--work-bright) 8%, transparent) 45%, transparent 68%);
    pointer-events: none
}

@media(prefers-reduced-motion:no-preference) {

    .work-intro::before,
    .case-hero::before {
        animation: work-float 14s ease-in-out infinite alternate
    }
}

.work-intro h1.split {
    animation: none
}

/* Showcase page: section nav sticks under the site header and tracks the section in view.
   Set --work-nav-bg on .work-shell if the page background isn't white. */
.work-showcase>.work-nav {
    position: sticky;
    top: 84px;
    z-index: 20;
    background: var(--work-nav-bg, rgba(255, 255, 255, .86));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

.work-nav a.is-active {
    color: var(--work-accent);
    background-size: 100% 1px
}

/* Project index: accent bar grows on the row you point at */
.work-index a {
    position: relative
}

.work-index a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--work-bright);
    transform: scaleY(0);
    transition: transform .4s var(--ease)
}

.work-index a:hover::before,
.work-index a:focus-visible::before {
    transform: scaleY(1)
}

/* Case-study cover eases from slightly zoomed to rest as it scrolls into view */
@supports(animation-timeline:view()) {
    @media(prefers-reduced-motion:no-preference) {
        .case-cover img {
            animation: cover-zoom linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 55%
        }
    }
}