/* ============================================================
   ANDY MANEA® · Portfolio v2 "EPIC"
   Dark, loud, dependency-free. All motion is CSS.
   Syne (display) + Space Grotesk (text), hot accent.
   ============================================================ */

:root {
    --bg: #0C0C0A;
    --bg2: #141411;
    --ink: #EFEBE2;
    --mut: #8E8A80;
    --acc: #FF4D29;
    --line: #26261F;
    --fd: 'Archivo', 'Helvetica Neue', 'Arial Black', sans-serif;
    --ft: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --pad: clamp(18px, 4vw, 60px);
    --ease: cubic-bezier(.19, 1, .22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
ul, li { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ft);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--acc); color: #000; }

/* scrollbar, subtle */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #2c2c26; border-radius: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }

/* ------------------------------------------------------------
   Film grain
------------------------------------------------------------ */
.grain {
    position: fixed; inset: -50%;
    pointer-events: none; z-index: 80;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -2%); }
    80% { transform: translate(3%, 3%); }
}

/* ------------------------------------------------------------
   Top bar
------------------------------------------------------------ */
.bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 70;
    display: flex; align-items: center; gap: 28px;
    padding: 16px var(--pad);
    mix-blend-mode: difference;
}
.bar__logo {
    font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: .02em;
    margin-right: auto; color: #fff;
}
.bar__logo span { color: #fff; opacity: .6; font-size: 13px; vertical-align: super; }
.bar__nav { display: flex; gap: 22px; }
.bar__nav a {
    font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff;
    opacity: .65; transition: opacity .25s;
}
.bar__nav a:hover { opacity: 1; }
.bar__cta {
    font-family: var(--fd); font-weight: 700;
    font-size: 12px; letter-spacing: .14em;
    color: #fff; border: 1px solid #fff; border-radius: 99px;
    padding: 11px 18px;
    transition: background .25s, color .25s;
}
.bar__cta:hover { background: #fff; color: #000; }

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.hero {
    min-height: 100svh;
    padding: calc(16vh) var(--pad) 48px;
    display: flex; flex-direction: column;
    position: relative;
    overflow: clip;
}
.hero__bgline {
    position: absolute; top: 12vh; left: 0; right: 0;
    white-space: nowrap;
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(90px, 16vw, 240px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #211F1A;
    pointer-events: none;
    display: flex;
}
.hero__bgline span { animation: slide 60s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }

.hero__kicker {
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--mut); margin-bottom: 5vh; position: relative;
}
.hero__title {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(52px, 10.6vw, 165px);
    line-height: .92; letter-spacing: -.01em;
    position: relative;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__title .accent { color: var(--acc); }
.hero__sub {
    margin-top: 5vh;
    max-width: 56ch;
    font-size: clamp(15px, 1.25vw, 18px);
    color: #C9C4B8;
    position: relative;
}

.hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: clamp(26px, 4vw, 70px);
    align-items: center;
    position: relative;
}

.hero__stack { position: relative; justify-self: end; width: min(100%, 420px); }
.hero__photo {
    overflow: clip; border-radius: 12px;
    transform: rotate(2.5deg);
    border: 1px solid var(--line);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
    animation: floaty 7s ease-in-out infinite;
}
.hero__photo img {
    width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
    filter: grayscale(.18) contrast(1.05);
}
@keyframes floaty { 50% { transform: rotate(2.5deg) translateY(-10px); } }

.hero__badge {
    position: absolute; left: -58px; bottom: -34px;
    width: 148px; height: 148px;
    display: grid; place-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: border-color .3s;
}
.hero__badge:hover { border-color: var(--acc); }
.hero__badge svg {
    position: absolute; inset: 8px;
    animation: spin 16s linear infinite;
}
.hero__badge svg text {
    font-family: var(--fd); font-weight: 700;
    font-size: 20.5px; letter-spacing: .3em;
    fill: var(--ink);
}
.hero__badge span {
    font-size: 26px; color: var(--acc);
    animation: bob 1.6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__stats {
    margin-top: auto;
    padding-top: 7vh;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    position: relative;
}
.hero__stats > div { border-top: 1px solid var(--line); padding-top: 18px; }
.hero__stats b {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(28px, 3.4vw, 54px); line-height: 1;
    display: block;
}
.hero__stats b i { color: var(--acc); font-style: normal; }
.hero__stats span {
    display: block; margin-top: 8px;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.hero__cue {
    position: absolute; right: var(--pad); bottom: 30px;
    font-size: 22px; color: var(--acc);
    animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* entrance: pure CSS keyframes, content ends fully visible */
.anim { opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease) forwards; }
.anim-1 { animation-delay: .05s; }
.anim-2 { animation-delay: .15s; }
.anim-3 { animation-delay: .25s; }
.anim-4 { animation-delay: .35s; }
.anim-5 { animation-delay: .5s; }
.anim-6 { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
   EA Games feature
------------------------------------------------------------ */
.ea {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: clamp(26px, 4vw, 70px);
    align-items: center;
    padding: 12vh var(--pad);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(70% 90% at 90% 10%, rgba(255, 77, 41, .08), transparent 65%),
        var(--bg2);
}
.ea__logo { height: clamp(44px, 5vw, 72px); width: auto; filter: brightness(0) invert(1); margin-bottom: 4vh; }
.ea__kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); margin-bottom: 16px; }
.ea__title {
    font-family: var(--fd); font-weight: 900;
    font-size: clamp(30px, 3.8vw, 60px);
    line-height: 1.02; letter-spacing: -.01em;
    margin-bottom: 20px;
}
.ea__title span { color: var(--acc); }
.ea__copy { color: #C9C4B8; max-width: 52ch; }
.ea__quote { margin: 4.5vh 0; border-left: 3px solid var(--acc); padding-left: 20px; }
.ea__quote blockquote {
    font-family: var(--fd); font-weight: 700;
    font-size: clamp(18px, 1.8vw, 26px); line-height: 1.35;
}
.ea__quote figcaption { margin-top: 12px; font-size: 10.5px; letter-spacing: .18em; color: var(--mut); }
.ea__btn {
    font-family: var(--fd); font-weight: 800;
    font-size: 13px; letter-spacing: .12em;
    background: var(--acc); color: #0C0C0A;
    border-radius: 99px; padding: 16px 26px;
    transition: transform .3s var(--ease), background .25s;
}
.ea__btn:hover { background: var(--ink); transform: translateY(-3px); }
.ea__img { overflow: clip; border-radius: 6px; border: 1px solid var(--line); }
.ea__img img { width: 100%; transition: transform .9s var(--ease); }
.ea__img:hover img { transform: scale(1.04); }

.ea--flip { grid-template-columns: 1.1fr 1fr; }
.ea--flip .ea__txt { order: 2; }
.ea--flip .ea__logo { filter: brightness(0) invert(1); height: clamp(26px, 2.6vw, 40px); }

.ea__metrics {
    display: flex; gap: clamp(18px, 3vw, 44px);
    margin: 4.5vh 0;
    border-left: 3px solid var(--acc); padding-left: 20px;
}
.ea__metrics b {
    font-family: var(--fd); font-weight: 900;
    font-size: clamp(20px, 2vw, 30px); display: block; color: var(--acc);
}
.ea__metrics span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }

.ea__img--pop { background: #FBF27A; display: grid; place-items: center; padding: 8%; border: 0; }
.ea__img--pop img { width: 100%; max-height: 64vh; object-fit: contain; }

.ea__img--story {
    background:
        radial-gradient(70% 70% at 50% 40%, rgba(255, 77, 41, .14), transparent 70%),
        var(--bg);
    display: grid; place-items: center;
    padding: 5% 0;
    border: 0;
}
.ea__img--story img {
    width: auto; max-width: 86%;
    max-height: 72vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.ea__img--logo {
    background:
        radial-gradient(70% 70% at 50% 50%, rgba(255, 77, 41, .18), transparent 70%),
        var(--bg);
    display: grid; place-items: center;
    min-height: 46vh;
}
.ea__img--logo img {
    width: 58%;
    filter: brightness(0) invert(1);
    opacity: .92;
}

/* ------------------------------------------------------------
   Client logo grid
------------------------------------------------------------ */
.logos { padding: 10vh var(--pad) 0; }
.logos__kicker {
    font-size: 11px; letter-spacing: .22em; color: var(--mut);
    margin-bottom: 26px;
}
.logos__grid {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.logos__cell {
    aspect-ratio: 16 / 9;
    display: grid; place-items: center;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 18px 22px;
    transition: background .3s;
}
.logos__cell:hover { background: var(--bg2); }
.logos__cell img {
    max-width: 72%; max-height: 52%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .78;
    transition: opacity .3s;
}
.logos__cell:hover img { opacity: 1; }
.logos__cell--sm img { max-width: 36%; max-height: 26%; }
.logos__cell--sm60 img { max-width: 43%; max-height: 31%; }
.logos__cell img.nofilter { filter: none; }
.logos__cell img.logos__round { height: clamp(58px, 5.6vw, 86px); width: auto; max-width: none; }

.logos__cell--mix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.logos__cell--mix img.nofilter {
    filter: none;
    width: 38px; height: 38px;
    max-width: none; max-height: none;
    opacity: .78;
}
.logos__cell--mix span {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(11px, 1vw, 15px); letter-spacing: .1em;
    line-height: 1.35;
    color: rgba(239, 235, 226, .78);
    text-align: left;
}
.logos__cell--mix:hover img.nofilter, .logos__cell--mix:hover span { opacity: 1; color: var(--ink); }

.logos__cell--txt {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(11px, 1.1vw, 16px); letter-spacing: .1em;
    text-align: center; line-height: 1.35;
    color: rgba(239, 235, 226, .78);
}
.logos__cell--txt:hover { color: var(--ink); }

/* ------------------------------------------------------------
   Section heads
------------------------------------------------------------ */
.shead {
    padding: 16vh var(--pad) 7vh;
    display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: end;
}
.shead__num {
    font-family: var(--fd); font-weight: 700; font-size: 13px;
    color: var(--acc); letter-spacing: .2em;
    padding-bottom: 14px;
}
.shead__title {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(40px, 7.5vw, 110px);
    line-height: .95; letter-spacing: -.01em;
}
.shead__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.shead__note {
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--mut); padding-bottom: 14px; text-align: right;
}

/* ------------------------------------------------------------
   Work grid
------------------------------------------------------------ */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 var(--pad);
}
.tile {
    position: relative;
    display: block; width: 100%;
    overflow: clip;
    border-radius: 6px;
    background: var(--bg2);
    text-align: left;
    aspect-ratio: 1 / 1;
}
.tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .9s var(--ease), filter .5s;
    filter: saturate(.92);
}
.tile:hover img { transform: scale(1.06); filter: saturate(1.05); }
.tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(10deg, rgba(5,5,4,.88) 0%, rgba(5,5,4,.25) 42%, rgba(5,5,4,0) 65%);
}
.tile__info {
    position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
    display: flex; align-items: end; justify-content: space-between; gap: 14px;
}
.tile__name {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(20px, 2.1vw, 32px);
    line-height: 1.02; color: #fff;
}
.tile__cat {
    display: block; margin-top: 6px;
    font-family: var(--ft); font-weight: 400;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #B9B4A8;
}
.tile__year {
    font-family: var(--fd); font-weight: 700; font-size: 12px;
    color: var(--acc); letter-spacing: .08em;
    flex: none;
}
.tile__go {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: #fff; font-size: 17px;
    opacity: 0; transform: translateY(6px) rotate(45deg);
    transition: .35s var(--ease);
}
.tile:hover .tile__go { opacity: 1; transform: none; }

.work__archive { padding: 44px var(--pad) 0; }
.archbtn {
    font-family: var(--fd); font-weight: 700;
    font-size: 13px; letter-spacing: .18em;
    padding: 16px 0; color: var(--mut);
    transition: color .25s;
}
.archbtn:hover { color: var(--ink); }
.archbtn span { color: var(--acc); display: inline-block; margin-left: 8px; transition: transform .35s var(--ease); }
.archbtn.is-open span { transform: rotate(45deg); }
.archclip { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.archclip.is-open { grid-template-rows: 1fr; }
.archclip > div { overflow: hidden; }
.archive { display: grid; grid-template-columns: 1fr 1fr; column-gap: 54px; padding-top: 10px; }
.archive li {
    display: flex; justify-content: space-between; gap: 18px;
    padding: 13px 0; border-bottom: 1px solid var(--line);
}
.archive b { font-family: var(--fd); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.archive span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); align-self: center; }

/* ------------------------------------------------------------
   Proof
------------------------------------------------------------ */
.proof { margin-top: 10vh; }
.metrics {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    padding: 0 var(--pad);
}
.metric {
    border: 1px solid var(--line); border-radius: 6px;
    padding: 30px 24px 26px;
    background: var(--bg2);
    transition: border-color .3s, transform .3s;
}
.metric:hover { border-color: var(--acc); transform: translateY(-4px); }
.metric b {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(34px, 3.6vw, 58px); line-height: 1;
    color: var(--acc); display: block;
}
.metric span { display: block; margin-top: 12px; font-size: 14px; color: var(--ink); }
.metric i {
    display: block; margin-top: 14px; font-style: normal;
    font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.quote { padding: 11vh var(--pad) 0; max-width: 1150px; }
.quote blockquote {
    font-family: var(--fd); font-weight: 700;
    font-size: clamp(24px, 3.4vw, 48px); line-height: 1.22;
}
.quote figcaption {
    margin-top: 24px;
    font-size: 11px; letter-spacing: .2em; color: var(--acc);
}

/* ------------------------------------------------------------
   Services cards
------------------------------------------------------------ */
.cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    padding: 0 var(--pad);
}
.card {
    border: 1px solid var(--line); border-radius: 6px;
    padding: 34px 30px 30px;
    background: var(--bg2);
    position: relative; overflow: clip;
    transition: transform .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--acc); }
.card__num {
    font-family: var(--fd); font-weight: 800;
    font-size: 70px; line-height: 1;
    position: absolute; top: 14px; right: 20px;
    color: transparent; -webkit-text-stroke: 1px #2E2D26;
}
.card h3 {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(19px, 1.9vw, 27px); letter-spacing: .01em;
    margin-bottom: 14px; max-width: 80%;
}
.card p { color: #BEB9AD; font-size: 15px; max-width: 54ch; }

/* ------------------------------------------------------------
   About
------------------------------------------------------------ */
.about {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: clamp(26px, 5vw, 80px);
    padding: 16vh var(--pad);
    align-items: center;
}
.about__img { overflow: clip; border-radius: 6px; }
.about__img img { width: 100%; filter: grayscale(.2) contrast(1.04); }
.about .shead__num { padding-bottom: 10px; }
.about .shead__title { margin-bottom: 4vh; }
.about__txt p + p { margin-top: 18px; }
.about__txt p { color: #C9C4B8; max-width: 60ch; }

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.foot {
    border-top: 1px solid var(--line);
    padding: 14vh var(--pad) 30px;
    background:
        radial-gradient(90% 60% at 50% 110%, rgba(255, 77, 41, .16), transparent 70%),
        var(--bg);
}
.foot__kicker { font-size: 12px; letter-spacing: .22em; color: var(--mut); }
.foot__mail {
    display: inline-block;
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(72px, 16vw, 230px);
    line-height: .9; letter-spacing: -.01em;
    margin: 5vh 0 9vh;
    transition: color .3s;
}
.foot__mail span { color: var(--acc); display: inline-block; transition: transform .4s var(--ease); }
.foot__mail:hover { color: var(--acc); }
.foot__mail:hover span { transform: translate(10px, -10px); }
.foot__cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
    border-top: 1px solid var(--line); padding-top: 36px;
}
.foot__cols h4 {
    font-family: var(--fd); font-size: 11px; letter-spacing: .2em;
    color: var(--mut); margin-bottom: 14px;
}
.foot__cols a, .foot__cols p { display: block; font-size: 15px; line-height: 2.1; color: #CFCABF; }
.foot__cols a:hover { color: var(--acc); }
.foot__fine { margin-top: 9vh; font-size: 10.5px; letter-spacing: .14em; color: #57544C; }

/* ------------------------------------------------------------
   Reveal on scroll: default VISIBLE; JS arms .rv only when IO exists.
------------------------------------------------------------ */
.rv.armed { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.armed.in { opacity: 1; transform: none; }

/* CSS scroll-driven entrances for tiles where supported (no JS needed) */
@supports (animation-timeline: view()) {
    .tile { animation: tilein both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes tilein { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------
   Case overlay
------------------------------------------------------------ */
.case {
    position: fixed; inset: 0; z-index: 100;
    background: var(--bg);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .6s var(--ease), visibility 0s linear .6s;
    visibility: hidden;
}
.case.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease); }
.case__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--pad) 0; }
.case__close {
    position: fixed; top: 16px; right: var(--pad); z-index: 5;
    font-family: var(--fd); font-weight: 700; font-size: 12px; letter-spacing: .16em;
    background: var(--ink); color: #0C0C0A;
    border-radius: 99px; padding: 12px 20px;
    transition: background .25s, color .25s;
}
.case__close:hover { background: var(--acc); color: #000; }
.case__eyebrow {
    padding-top: calc(10vh);
    font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc);
}
.case__title {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(44px, 9.5vw, 150px);
    line-height: .95; letter-spacing: -.01em;
    margin: 14px 0 6vh;
}
.case__cover {
    overflow: clip; border-radius: 6px;
    background: var(--bg2); border: 1px solid var(--line);
    display: grid; place-items: center;
}
.case__cover img {
    width: auto; max-width: 100%; max-height: 78vh;
    object-fit: contain;
}
.case__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(26px, 5vw, 80px); padding: 8vh 0; }
.case__meta > div { margin-bottom: 26px; }
.case__meta h4 { font-family: var(--fd); font-size: 11px; letter-spacing: .2em; color: var(--mut); margin-bottom: 8px; }
.case__meta p, .case__meta li { font-size: 15.5px; line-height: 1.8; color: #D9D4C9; }
.case__meta a {
    font-family: var(--fd); font-weight: 700; font-size: 13px; letter-spacing: .1em;
    color: var(--acc); border-bottom: 1px solid var(--acc); padding-bottom: 2px;
}
.case__lede {
    font-family: var(--fd); font-weight: 700;
    font-size: clamp(21px, 2.6vw, 36px); line-height: 1.3;
}
.case__results { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4.5vh; }
.case__results span {
    font-size: 12.5px; letter-spacing: .04em;
    border: 1px solid var(--line); border-radius: 99px;
    padding: 11px 18px; color: #CFCABF;
}
.case__results b { color: var(--acc); font-weight: 700; }
.case__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 7vh; }
.case__gallery figure {
    overflow: clip; border-radius: 6px; cursor: zoom-in;
    background: var(--bg2); border: 1px solid var(--line);
    display: grid; place-items: center;
    min-height: 220px;
}
.case__gallery figure.wide { grid-column: 1 / -1; }
.case__gallery img {
    width: 100%; height: 100%;
    max-height: 72vh;
    object-fit: contain;
    transition: transform .7s var(--ease);
}
.case__gallery figure:hover img { transform: scale(1.02); }
.case__next {
    width: calc(100% + 2 * var(--pad));
    margin: 0 calc(-1 * var(--pad));
    padding: 9vh var(--pad) 11vh;
    border-top: 1px solid var(--line);
    text-align: left;
    transition: background .3s;
}
.case__next:hover { background: var(--bg2); }
.case__next span {
    display: block; font-size: 11px; letter-spacing: .2em; color: var(--acc); margin-bottom: 12px;
}
.case__next b {
    font-family: var(--fd); font-weight: 800;
    font-size: clamp(34px, 7vw, 100px); line-height: .98;
}
.case__next:hover b { color: var(--acc); }

/* ------------------------------------------------------------
   Lightbox
------------------------------------------------------------ */
.lightbox {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(5, 5, 4, .95);
    display: flex; align-items: center; justify-content: center;
    padding: 4vmin;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility 0s linear .3s;
    cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }

.noscript-note { padding: 20px var(--pad); color: var(--mut); }

/* ------------------------------------------------------------
   Mobile
------------------------------------------------------------ */
@media (max-width: 860px) {
    .bar { padding: 12px 5vw; gap: 12px; }
    .bar__nav { display: none; }
    .bar__logo { font-size: 19px; }
    .bar__cta { font-size: 10px; padding: 8px 12px; letter-spacing: .1em; flex: none; }

    .hero { padding-top: 13vh; }
    .hero__bgline { top: 9vh; }
    .hero__title { font-size: clamp(40px, 13.4vw, 76px); }
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
    .hero__cue { display: none; }

    .ea, .ea--flip { grid-template-columns: 1fr; padding: 9vh 5vw; gap: 26px; }
    .ea__img, .ea--flip .ea__txt { order: 0; }
    .ea__img { order: -1; }
    .ea__metrics { flex-wrap: wrap; gap: 16px 26px; }
    .ea__img--logo { min-height: 34vh; }

    .logos { padding: 8vh 5vw 0; }
    .logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logos__cell { aspect-ratio: 16 / 7.5; padding: 14px 16px; }
    .logos__cell img { max-width: 80%; max-height: 64%; }
    .logos__cell--sm img { max-width: 52%; max-height: 38%; }
    .logos__cell--sm60 img { max-width: 58%; max-height: 44%; }
    .logos__cell img.logos__round { height: 52px; }
    .logos__cell--mix img.nofilter { width: 46px; height: 46px; }
    .logos__cell--mix span { font-size: 13px; }

    .shead { grid-template-columns: 1fr; gap: 10px; padding: 11vh 5vw 5vh; align-items: start; }
    .shead__num, .shead__note { padding-bottom: 0; text-align: left; }

    .grid { padding: 0 5vw; gap: 10px; grid-template-columns: 1fr; }
    .tile { aspect-ratio: 1 / 1; }

    .work__archive { padding: 30px 5vw 0; }
    .archive { grid-template-columns: 1fr; }

    .hero__main { grid-template-columns: 1fr; }
    .hero__stack { display: none; }

    .metrics { grid-template-columns: 1fr 1fr; padding: 0 5vw; gap: 10px; }
    .metric { padding: 22px 18px; }
    .quote { padding: 8vh 5vw 0; }

    .cards { grid-template-columns: 1fr; padding: 0 5vw; gap: 10px; }

    .about { grid-template-columns: 1fr; padding: 11vh 5vw; gap: 30px; }

    .foot { padding: 11vh 5vw 24px; }
    .foot__mail { font-size: clamp(64px, 21vw, 110px); }
    .foot__cols { grid-template-columns: 1fr 1fr; }

    .case__scroll { padding: 0 5vw; }
    .case__close { right: 5vw; }
    .case__grid { grid-template-columns: 1fr; gap: 26px; padding: 5vh 0; }
    .case__gallery { grid-template-columns: 1fr; }
    .case__next { width: calc(100% + 10vw); margin: 0 -5vw; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
    .anim { opacity: 1; transform: none; }
}
