/******************************************/
/****************   FONTS   ***************/
/******************************************/

@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    src: url("InstrumentSans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    src: url("InstrumentSans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    src: url("IBMPlexMono-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    src: url("IBMPlexMono-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    src: url("IBMPlexMono-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    src: url("IBMPlexMono-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/******************************************/
/**************   TOKENS   ****************/
/******************************************/

:root {
    --font-sans: "Instrument Sans", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

    /* claret (default, dark) */
    --bg: #33131b;
    --surf: #451a24;
    --surf2: #3c161e;
    --ink: #fdf1ef;
    --head: #ffffff;
    --ink2: #f0dcd8;
    --ink3: #dcbfba;
    --mut: #c39f9d;
    --mut2: #b08b89;
    --acc: #ff6a4d;
    --accHi: #ff917a;
    --line: rgba(255, 236, 232, 0.16);
    --line2: rgba(255, 236, 232, 0.09);
    --navbg: rgba(51, 19, 27, 0.88);
    --hov: rgba(255, 236, 232, 0.04);

    /* card hover scrims — fixed dark in both palettes, sit over photography */
    --scrim1: rgba(8, 8, 9, 0.9);
    --scrim2: rgba(8, 8, 9, 0.72);
    --scrim3: rgba(8, 8, 9, 0);

    /* section heading tokens — "caps" set (the only one shipped) */
    --secSize: 15px;
    --secCase: uppercase;
    --secTrack: 0.18em;
    --secWeight: 700;
    --secRule: 1px;
    --secPad: 12px;

    /* case-study gallery photo crop — "auto" respects each image's own ratio;
       set e.g. 4/3 or 16/10 to force-crop every gallery photo to that ratio instead */
    --galleryAR: auto;
}

[data-palette="paper"] {
    --bg: #f4f1ea;
    --surf: #e4dfd4;
    --surf2: #ece8df;
    --ink: #171512;
    --head: #0f0e0c;
    --ink2: #33302a;
    --ink3: #4d483f;
    --mut: #59544c;
    --mut2: #625c54;
    --acc: #b3200e;
    --accHi: #8f1808;
    --line: rgba(23, 21, 18, 0.15);
    --line2: rgba(23, 21, 18, 0.09);
    --navbg: rgba(244, 241, 234, 0.88);
    --hov: rgba(23, 21, 18, 0.03);
}

/******************************************/
/***************   RESET   ****************/
/******************************************/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--ink2);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 120px;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--acc);
    text-decoration: none;
}

a:hover {
    color: var(--accHi);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

button {
    font: inherit;
}

[hidden] {
    display: none !important;
}

.container,
.hero,
.section,
.aboutGrid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    padding-inline: 40px;
    padding-top: 56px;
}

:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/******************************************/
/*****************   NAV   *****************/
/******************************************/

.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navbg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navInner {
    max-width: 1320px;
    margin: 0 auto;
    padding-inline: 40px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 12px 40px;
}

.navLeft {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
}

.navName {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: var(--ink);
}

.navStrap {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    color: var(--mut);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navRight {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navLinks {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.navLink {
    font-size: 14.5px;
    color: var(--mut);
    padding-bottom: 2px;
    border-bottom: 1.5px solid transparent;
}

.navLink:hover {
    color: var(--ink);
}

.navLink.active {
    color: var(--ink);
    border-bottom-color: var(--acc);
}

.navContact {
    color: var(--bg);
    background: var(--ink);
    padding: 7px 15px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 13.5px;
}

.navContact:hover {
    background: var(--acc);
    color: var(--bg);
}

.navPalette {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.swatch {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    padding: 0;
    border: 1px solid var(--line);
    cursor: pointer;
}

.swatch.active {
    border-color: var(--acc);
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--acc);
}

.swatchClaret {
    background: #33131b;
}

.swatchPaper {
    background: #f4f1ea;
}

@media (max-width: 1099px) {
    .navStrap {
        display: none;
    }
}

@media (max-width: 700px) {
    .navInner {
        padding-block: 16px;
    }
    .navLeft {
        width: 100%;
    }
    .navRight {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 14px;
        row-gap: 10px;
    }
}

/******************************************/
/*****************   HERO   *****************/
/******************************************/

.hero {
    padding: 84px 40px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 46px;
    align-items: center;
    /* reveal timing: words stagger, phrases pause, then the copy follows */
    --wStep: 50ms;      /* between words in a phrase */
    --pStep: 540ms;     /* extra pause between phrases */
    --wordDur: 1000ms;  /* each word's rise */
    --copyGap: 600ms;   /* title done -> first paragraph starts */
    --copyStep: 2000ms; /* paragraph -> next paragraph starts */
    --copyDur: 1000ms;  /* each paragraph's rise */
    --cueGap: 0ms;      /* last paragraph done -> chevron appears */
    /* derived, no need to touch */
    --copyAt: calc(150ms + (var(--wN) - 1) * var(--wStep) + (var(--pN) - 1) * var(--pStep) + var(--wordDur) + var(--copyGap));
    --cueAt: calc(var(--copyAt) + (var(--sN) - 1) * var(--copyStep) + var(--copyDur) + var(--cueGap));
}

.heroTitle {
    margin: 0;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: -0.04em;
    text-wrap: balance;
    color: var(--head);
}

.heroWord {
    display: inline-block;
}

.heroSub p {
    margin: 0;
    max-width: 34em;
    font-size: 18px;
    line-height: 1.62;
    color: var(--ink3);
    text-wrap: pretty;
}

.heroSub p + p {
    margin-top: 14px;
}

.heroCue {
    grid-column: 1 / -1;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 56px 0 4px;
    border-radius: 999px;
    color: var(--mut2);
}

.heroCue:hover {
    color: var(--ink);
}

.heroCue svg {
    width: 24px;
    height: 24px;
}

@media (prefers-reduced-motion: no-preference) {
    .heroWord {
        animation: heroWordIn var(--wordDur) cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(150ms + var(--w) * var(--wStep) + var(--p) * var(--pStep));
    }
    .heroSub p {
        animation: heroCopyIn var(--copyDur) cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(var(--copyAt) + var(--s) * var(--copyStep));
    }
    .heroCue {
        animation:
            heroCueIn 900ms ease-out both,
            heroCueBob 2.8s ease-in-out infinite;
        animation-delay: var(--cueAt), calc(var(--cueAt) + 900ms);
    }
}

@keyframes heroWordIn {
    from {
        opacity: 0;
        transform: translateY(0.35em);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes heroCopyIn {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes heroCueIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes heroCueBob {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 5px;
    }
}

@media (max-width: 899px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 48px;
    }
    .heroTitle {
        font-size: 42px;
        margin-bottom: 24px;
    }
    .heroCue {
        margin-top: 32px;
    }
}

@media (max-width: 599px) {
    .hero {
        padding-top: 24px;
    }
    .heroTitle {
        font-size: 40px;
        margin-bottom: 20px;
    }
    .heroSub p {
        font-size: 16.5px;
        line-height: 1.58;
    }
    .heroSub p + p {
        margin-top: 12px;
    }
    .heroCue {
        margin-top: 16px;
    }
}

/******************************************/
/*************   FILTER BAR   *************/
/******************************************/

.filterBar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 26px;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--mut);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, scale 0.15s ease;
}

.chip:active {
    scale: 0.96;
}

.chip:hover {
    color: var(--ink);
    border-color: var(--mut2);
}

.chip.active {
    border-color: var(--acc);
    background: var(--acc);
    color: var(--bg);
}

/* JS adds a pill that slides between chips; the active chip itself goes clear */
.chips.hasIndicator {
    position: relative;
    isolation: isolate;
}

.chips.hasIndicator .chip.active {
    background: transparent;
}

.chipIndicator {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 999px;
    background: var(--acc);
    pointer-events: none;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.chipIndicator.noAnim {
    transition: none;
}

.resultCount {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mut2);
    align-self: center;
}

/******************************************/
/************  SECTION HEADER  ************/
/******************************************/

.section {
    padding: 0 40px;
}

.sectionHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: var(--secRule) solid var(--ink);
    padding-bottom: var(--secPad);
}

.sectionHead h1,
.sectionHead h2 {
    font-family: var(--font-sans);
    font-size: var(--secSize);
    text-transform: var(--secCase);
    letter-spacing: var(--secTrack);
    font-weight: var(--secWeight);
    color: var(--ink);
}

.workFilter {
    padding-top: 8px;
}

.workFilter .filterBar {
    margin-top: 0;
}

.featured {
    padding-top: 40px;
}

.now {
    padding-top: 64px;
}

.archive {
    padding-top: 64px;
}

.playList {
    padding-top: 56px;
}

/******************************************/
/*************   CARD MEDIA   *************/
/******************************************/

.cardMedia {
    position: relative;
    overflow: hidden;
    background: var(--surf);
}

.cardMedia img,
.cardMedia video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cardMedia video {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* hover: the still eases in while the video loads, a thin bar shows it's coming */
@media (prefers-reduced-motion: no-preference) {
    .cardMedia img,
    .cardMedia video {
        transition: scale 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    }

    .isActive .cardMedia img,
    .isActive .cardMedia video {
        scale: 1.045;
    }
}

.cardMedia:has([data-vid])::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 2px;
    background: var(--acc);
    transform-origin: left;
    transform: scaleX(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0s linear 0.2s;
}

.isLoading .cardMedia::after {
    transform: scaleX(0.85);
    opacity: 1;
    transition: opacity 0.2s ease 0.12s, transform 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.isPlaying .cardMedia::after {
    transform: scaleX(1);
    opacity: 0;
    transition: transform 0.25s ease-out, opacity 0.35s ease 0.2s;
}

/******************************************/
/***************   FEATURED   *************/
/******************************************/

.featuredGrid {
    padding-top: 26px;
}

.featuredCard {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 46px;
    padding: 46px 0;
    border-bottom: 1px solid var(--line2);
    align-items: start;
    cursor: pointer;
    color: inherit;
}

.featuredCard .cardMedia {
    aspect-ratio: 16 / 10;
    border-radius: 4px;
}

.featuredText {
    padding-top: 4px;
}

.cardMeta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--mut);
    margin-bottom: 12px;
}

.featuredCard h3 {
    font-size: 32px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.032em;
    text-wrap: balance;
    margin-bottom: 14px;
    color: var(--ink);
}

.cardBlurb {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink3);
    text-wrap: pretty;
    margin-bottom: 26px;
}

.cardResult {
    font-size: 15px;
    line-height: 1.5;
    color: var(--acc);
}

.cardCta {
    margin-top: 26px;
    font-size: 14.5px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
}

.cardCta span {
    color: var(--acc);
    transition: translate 0.2s ease;
}

.featuredCard:hover .cardCta {
    border-bottom-color: var(--acc);
}

.featuredCard:hover .cardCta span {
    translate: 3px 0;
}

@media (max-width: 899px) {
    .featuredCard {
        grid-template-columns: 1fr;
    }
}

/******************************************/
/*****************   NOW   *****************/
/******************************************/

.nowGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 22px;
    padding-top: 26px;
}

.nowCard {
    display: block;
    color: inherit;
}

.nowCard .cardMedia {
    aspect-ratio: 16 / 10;
    border-radius: 3px;
}

.blurbOverlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px 16px 14px;
    background: linear-gradient(to top, var(--scrim1), var(--scrim2) 55%, var(--scrim3));
    opacity: 0;
    transition: opacity 0.22s ease;
    font-size: 13.5px;
    line-height: 1.5;
    color: #fff;
    text-wrap: pretty;
}

.captionRow {
    margin-top: 11px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cardTitle {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
}

.cardDate {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mut2);
    flex-shrink: 0;
}

.cardOrg {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--mut);
    margin-top: 4px;
}

@media (max-width: 899px) {
    .nowGrid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .nowGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/******************************************/
/***************   ARCHIVE   ***************/
/******************************************/

.archiveGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 26px;
    padding-top: 26px;
}

.archiveCard .cardMedia {
    aspect-ratio: 4 / 3;
    border-radius: 3px;
}

.archiveCard .cardTitle {
    font-size: 14.5px;
}

.archiveCard .blurbOverlay {
    padding: 24px 14px 12px;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 859px) {
    .archiveGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 559px) {
    .archiveGrid {
        grid-template-columns: 1fr;
    }
}

/******************************************/
/****************   FOOTER   ***************/
/******************************************/

.footer {
    width: calc(100% - 80px);
    max-width: 1240px;
    margin: 96px auto 0;
    border-top: 1px solid var(--line);
    padding: 40px 0 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.footerLinks {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footerLinks a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mut);
}

.footerLinks a:hover {
    color: var(--ink);
}

/******************************************/
/**************   CASE STUDY   *************/
/******************************************/

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--mut2);
    margin-bottom: 26px;
}

.breadcrumb a {
    color: var(--mut);
}

.breadcrumb a:hover {
    color: var(--acc);
}

#work {
    scroll-margin-top: 84px;
}

.notFound {
    padding-top: 96px;
    padding-bottom: 40px;
}

.notFoundLinks {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    font-size: 18px;
    font-weight: 500;
}

.notFoundLinks span {
    color: var(--acc);
}

/* about title matches the home hero title, just without the reveal */
.aboutContent h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: -0.04em;
    max-width: 600px; /* same measure as the home hero column, so it breaks the same way */
    text-wrap: balance;
    color: var(--head);
}

.caseTitle {
    margin: 0;
    font-size: 72px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -0.042em;
    max-width: 16ch;
    text-wrap: balance;
    color: var(--head);
}

@media (max-width: 899px) {
    .caseTitle {
        font-size: 48px;
    }
    .aboutContent h1 {
        font-size: 42px;
    }
}

@media (max-width: 599px) {
    .caseTitle {
        font-size: 38px;
    }
    .aboutContent h1 {
        font-size: 40px;
    }
}

.standfirst {
    margin-top: 26px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink3);
    max-width: 60ch;
    text-wrap: pretty;
}

.caseHero {
    margin-top: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--surf);
}

.caseHero img,
.caseHero video {
    width: 100%;
    height: auto;
}

.caseGrid {
    padding-top: 56px;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.caseSidebar {
    position: sticky;
    top: 100px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.sidebarRow {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line2);
}

.sidebarRow:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebarKey {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--mut);
    margin-bottom: 8px;
}

.sidebarValue {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink2);
    text-wrap: pretty;
}

.caseContent {
    max-width: 72ch;
}

.caseContent--solo {
    padding-top: 56px;
}

.caseSection {
    margin-top: 52px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.caseSection:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.caseSection > h2,
.aboutBlock > h2 {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--acc);
    margin-bottom: 22px;
}

/* headings inside the body (markdown # → h2) need room above them; the section's own first h2 doesn't */
.caseSection > h2:not(:first-child) {
    margin-top: 80px;
}

@media (max-width: 599px) {
    .caseSection > h2:not(:first-child) {
        margin-top: 56px;
    }
}

.caseBody p {
    font-size: 18px;
    line-height: 1.68;
    color: var(--ink2);
    text-wrap: pretty;
    margin-bottom: 18px;
}

.caseBody p:last-child {
    margin-bottom: 0;
}

.caseDid {
    display: grid;
    gap: 16px;
}

.caseDidRow {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
}

.caseDidRow .dash {
    color: var(--acc);
    font-size: 18px;
    line-height: 1.55;
}

.caseDidRow p {
    margin: 0;
    font-size: 17px;
    line-height: 1.62;
    color: var(--ink2);
}

.caseOutcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.outcomeCell {
    background: var(--surf2);
    padding: 20px 18px;
}

.outcomeNum {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.outcomeLabel {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--mut);
    margin-top: 7px;
}

.caseOutcomes--four {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 699px) {
    .caseOutcomes {
        grid-template-columns: repeat(2, 1fr);
    }
}

.caseDek {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--mut);
    margin-bottom: 26px;
}

.caseGallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.caseGallery figure {
    margin: 0;
}

.caseGallery figure.wide {
    grid-column: 1 / -1;
}

/* key/value spec grid for in-body technical details */
.caseBody .specGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 24px 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.caseBody .specCell {
    background: var(--surf2);
    padding: 18px;
}

.caseBody .specKey {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--mut2);
    margin-bottom: 8px;
}

.caseBody .specVal {
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink2);
}

@media (max-width: 599px) {
    .caseBody .specGrid {
        grid-template-columns: 1fr;
    }
}

.caseGallery img {
    aspect-ratio: var(--galleryAR);
    border-radius: 3px;
    object-fit: cover;
    width: 100%;
}

.caseGallery figcaption {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--mut);
    text-wrap: pretty;
}

.caseBody .tourPhoto {
    margin: 24px 0;
}

.caseBody .tourPhoto img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
    background: var(--surf);
}

.caseBody .tourPhoto figcaption {
    margin-top: 9px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mut);
}

.caseBody .tourPhoto figcaption a {
    color: var(--mut);
}

.caseBody .tourPhoto figcaption a:hover {
    color: var(--ink);
}

.caseNext {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.caseNextLabel {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--mut);
}

.caseNextTitle {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
}

.caseNextTitle span {
    color: var(--acc);
}

@media (max-width: 999px) {
    .caseGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .caseSidebar {
        position: static;
    }
}

/* legacy prose compatibility inside .caseBody — existing shortcodes & markdown rely on these */

.caseBody h1,
.caseBody h3,
.caseBody h4,
.caseBody h5 {
    font-family: var(--font-sans);
    color: var(--ink);
    margin: 44px 0 14px;
    text-wrap: balance;
}

.caseBody h3 {
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--acc);
    margin: 56px 0 14px;
}

.caseBody h4,
.caseBody h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink2);
    margin: 32px 0 10px;
}

.caseBody h3 + h4 {
    margin-top: 18px;
}

/* reading measure: text stays ~65–75 characters; media keeps the full column */
.caseBody p,
.caseBody ul,
.caseBody ol,
.caseDidRow p {
    max-width: 34em;
}

/* a little air between list items so multi-line bullets read as separate points */
.caseBody li + li,
.caseBody li > ul,
.caseBody li > ol {
    margin-top: 10px;
}

.caseBody strong,
.caseBody b {
    font-weight: 600;
    color: var(--ink);
}

.caseBody .twoColGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
}

.caseBody .twoColGrid * {
    width: 100%;
    height: auto;
}

.caseBody .oneCol {
    width: 100%;
}

.caseBody .bothCol {
    grid-column: span 1;
}

.caseBody .caption {
    font-size: 13px;
    color: var(--mut);
    text-align: center;
    padding: 8px 10px;
}

.caseBody .bothCol.caption {
    max-width: 36em;
    margin-inline: auto;
}

.caseGallery figure.wide figcaption {
    max-width: 36em;
}

@media (min-width: 700px) {
    .caseBody .twoColGrid {
        grid-template-columns: 1fr 1fr;
    }
    .caseBody .bothCol {
        grid-column: span 2;
    }
}

/* small portrait clips: two across on phones, three across on wide screens */
.caseBody .twoColGrid.threeCol {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
}

@media (min-width: 900px) {
    .caseBody .twoColGrid.threeCol {
        grid-template-columns: repeat(3, 1fr);
    }
}

/******************************************/
/****************   ABOUT   ****************/
/******************************************/

.aboutGrid {
    padding: 72px 40px 0;
}

.aboutContent {
    max-width: 68ch;
}

.aboutContent > p {
    max-width: 34em;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink2);
    text-wrap: pretty;
    margin-top: 28px;
}

.aboutContent > p:first-of-type {
    margin-top: 28px;
}

.aboutContent > p + p {
    margin-top: 20px;
}

.aboutBlock {
    margin-top: 56px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.madeRow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: 26px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line2);
    align-items: start;
}

.madeRow:last-child {
    border-bottom: none;
}

.madeTitle {
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink);
}

/* cover image with the title over it; the whole image is the link.
   It fills its cell, so it crops differently per breakpoint. */
.madeShot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 3px;
    background: var(--line2);
    text-decoration: none;
}

.madeShot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* scrim so the white title reads on any photo */
.madeShot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.35) 45%, rgb(0 0 0 / 0) 75%);
}

.madeShot .madeTitle {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
    line-height: 1.3;
    text-wrap: balance;
    text-shadow: 0 1px 10px rgb(0 0 0 / 0.6);
}

.madeShot:hover img {
    scale: 1.03;
}

.madeShot:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 3px;
}

@media (max-width: 599px) {
    .madeRow {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 0;
    }
    .madeShot {
        aspect-ratio: 16 / 9;
    }
}

.madeDesc {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink3);
}

.whereRow {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 22px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line2);
}

.whereRow:last-child {
    border-bottom: none;
}

.whereYear {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--mut2);
}

.whereRole {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
}

.whereOrg {
    font-size: 14.5px;
    color: var(--mut);
}

.awayText {
    margin: 0;
    font-size: 17px;
    line-height: 1.68;
    color: var(--ink3);
}

.aboutText,
.awayText {
    max-width: 36em;
}

.aboutText {
    font-size: 17px;
    line-height: 1.68;
    color: var(--ink3);
}

.aboutText p {
    margin: 0;
}

.aboutText p + p {
    margin-top: 14px;
}

@media (max-width: 899px) {
    .aboutGrid {
        padding: 40px 40px 0;
    }
    .whereRow {
        grid-template-columns: 80px 1fr;
    }
    .whereRow > :last-child {
        grid-column: 2;
    }
}

@media (max-width: 599px) {
    .container,
    .navInner,
    .hero,
    .section,
    .aboutGrid {
        padding-inline: 20px;
    }
    .container {
        padding-top: 28px;
    }
    .footer {
        width: calc(100% - 40px);
        margin-top: 72px;
    }
}
