:root {
    --cream: #F5F1EA;
    --cream-2: #EBE4D6;
    --ink: #131313;
    --ink-2: #1F1F1F;
    --ink-3: #2A2A2A;
    --red: #DC2626;
    --red-2: #B91C1C;
    --amber: #F59E0B;
    --amber-2: #FCD34D;
    --white: #FFFFFF;
    --g-100: #EFEBE3;
    --g-200: #DDD6C8;
    --g-300: #C9C2B5;
    --g-500: #8A8275;
    --g-700: #4A4640;
    --g-900: #1F1C18;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --script: 'Caveat', cursive;
    --ease: cubic-bezier(0.16, 1, 0.3, 1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased
}

@media(max-width:968px) {
    body {
        cursor: auto
    }
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: none;
    border: none;
    background: none;
    color: inherit
}

@media(max-width:968px) {
    button {
        cursor: pointer
    }
}

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

::selection {
    background: var(--red);
    color: white
}

/* PRELOADER */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s var(--ease)
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.preloader-inner {
    text-align: center;
    width: 300px
}

.preloader-logo {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 24px;
    letter-spacing: -2px
}

.preloader-logo .pl-e {
    font-size: 2rem;
    color: var(--ink)
}

.preloader-bar {
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, .08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--red);
    transition: width .15s linear
}

.preloader-pct {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--g-700)
}

/* CURSOR */
.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    will-change: transform;
    transform: translate(-50%, -50%)
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--red)
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--red);
    transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease)
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, .1)
}

.cursor-dot.hover {
    width: 0;
    height: 0
}

@media(max-width:968px) {

    .cursor-dot,
    .cursor-ring {
        display: none
    }
}

/* GRAIN */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: .04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>")
}

/* WRAP + TYPE */
.wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px
}

@media(max-width:768px) {
    .wrap {
        padding: 0 20px
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g-700)
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--red)
}

.eyebrow.light {
    color: var(--g-300)
}

.eyebrow.light::before {
    background: var(--amber)
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.02
}

.italic {
    font-style: italic;
    color: var(--red)
}

.italic-amber {
    font-style: italic;
    color: var(--amber)
}

/* BUTTONS */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 100px;
    font-weight: 500;
    font-size: .9rem;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    position: relative;
    cursor: none;
    white-space: nowrap
}

@media(max-width:968px) {
    .btn-pill {
        cursor: pointer
    }
}

.btn-pill svg {
    width: 13px;
    height: 13px;
    transition: transform .3s var(--ease);
    flex-shrink: 0
}

.btn-pill:hover svg {
    transform: translate(2px, -2px)
}

.btn-pill-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink)
}

.btn-pill-ghost:hover {
    background: var(--ink);
    color: var(--cream)
}

.btn-pill-dark {
    background: var(--ink);
    color: var(--cream);
    border: 1.5px solid var(--ink)
}

.btn-pill-dark:hover {
    background: var(--red);
    border-color: var(--red)
}

.btn-pill-light {
    background: var(--cream);
    color: var(--ink);
    border: 1.5px solid var(--cream)
}

.btn-pill-light:hover {
    background: var(--amber);
    border-color: var(--amber)
}

/* LOGO */
.nav-logo {
    color: #D01C1F;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    font-size: 0
}

.nav-logo svg.ac-logo {
    height: 38px;
    width: auto;
    display: block
}

.preloader-logo {
    color: #D01C1F;
    line-height: 0;
    font-size: 0;
    margin-bottom: 24px
}

.preloader-logo svg.ac-logo {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto
}

.ft-logo {
    color: var(--cream);
    line-height: 0;
    font-size: 0;
    margin-bottom: 22px
}

.ft-logo svg.ac-logo {
    width: 120px;
    height: auto;
    display: block
}

/* NAV */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease)
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(245, 241, 234, .85);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, .04)
}

.nav-c {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px
}

.nav-logo {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--red);
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    gap: 3px
}

.nav-logo .pl-e {
    font-size: 1.1rem;
    color: var(--ink)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-burger {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    cursor: none;
    transition: background .3s var(--ease);
    flex-shrink: 0;
    padding: 0
}

@media(max-width:968px) {
    .nav-burger {
        cursor: pointer
    }
}

.nav-burger:hover {
    background: var(--ink)
}

.nav-burger:hover span {
    background: var(--cream)
}

.nav-burger span {
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .3s var(--ease), background .3s var(--ease);
    display: block
}

.nav-burger.open span:first-child {
    transform: translateY(4px) rotate(45deg)
}

.nav-burger.open span:last-child {
    transform: translateY(-2px) rotate(-45deg)
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
    padding: 60px
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible
}

.nav-overlay a {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 5rem);
    color: var(--cream);
    transition: color .3s, transform .4s var(--ease);
    letter-spacing: -.02em
}

.nav-overlay a:hover {
    color: var(--amber);
    transform: translateX(20px)
}

@media(max-width:768px) {
    .btn-pill-ghost {
        display: none
    }
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.reveal.in {
    opacity: 1;
    transform: translateY(0)
}

/* FOOTER */
.footer {
    background: var(--ink-2);
    color: var(--cream);
    padding: 90px 0 0;
    position: relative;
    overflow: hidden
}

.foot-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--ink-3)
}

.foot-brand .ft-logo {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: 2.4rem;
    margin-bottom: 18px;
    letter-spacing: -1px
}

.foot-brand .ft-logo .red {
    color: var(--red)
}

.foot-brand .ft-logo .e {
    color: var(--amber);
    font-size: 1.6rem
}

.foot-brand p {
    color: var(--g-300);
    max-width: 320px;
    line-height: 1.6;
    font-size: .95rem
}

.foot-col h5 {
    font-family: var(--mono);
    font-size: .75rem;
    letter-spacing: .15em;
    color: var(--amber);
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase
}

.foot-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--g-300);
    font-size: .95rem;
    transition: color .3s, transform .3s
}

.foot-col a:hover {
    color: var(--cream);
    transform: translateX(3px)
}

.foot-bot {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    font-size: .85rem;
    color: var(--g-500);
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--mono)
}

.foot-legal {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--mono)
}

.foot-legal a {
    color: var(--g-500);
    transition: color .3s var(--ease)
}

.foot-legal a:hover {
    color: var(--cream)
}

.foot-social a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--g-300);
    font-size: .92rem;
    transition: color .3s var(--ease), transform .3s var(--ease);
    text-decoration: none
}

.foot-social a:hover {
    color: var(--cream);
    transform: translateX(3px)
}

.foot-social .social-ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s var(--ease)
}

.foot-social a:hover .social-ico {
    transform: scale(1.1)
}

.foot-mega {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(5rem, 18vw, 16rem);
    line-height: .85;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 158, 11, .3);
    margin-top: 50px;
    margin-bottom: -30px;
    letter-spacing: -.04em;
    user-select: none
}

.foot-mega .red {
    -webkit-text-stroke-color: rgba(220, 38, 38, .4)
}

@media(max-width:968px) {
    .foot-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px
    }

    .foot-brand {
        grid-column: span 2
    }
}

@media(max-width:600px) {
    .foot-top {
        grid-template-columns: 1fr
    }

    .foot-brand {
        grid-column: span 1
    }
}

/* CASE HERO */
.case-hero {
    padding: 180px 0 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden
}

.case-hero .eyebrow {
    margin-bottom: 30px
}

.case-hero h1 {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: .95;
    margin-bottom: 50px;
    max-width: 1100px
}

.case-hero h1 .italic {
    color: var(--red)
}

.case-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--g-300);
    margin-bottom: 80px
}

.case-meta>div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.case-meta .ml {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .15em;
    color: var(--g-700);
    text-transform: uppercase;
    font-weight: 500
}

.case-meta .mv {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink)
}

@media(max-width:768px) {
    .case-hero {
        padding: 130px 0 60px
    }

    .case-hero h1 {
        font-size: clamp(2.4rem, 8vw, 4.8rem);
        margin-bottom: 36px
    }

    .case-meta {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 50px;
        padding-top: 30px
    }

    .case-meta .mv {
        font-size: .95rem
    }

    .case-banner {
        aspect-ratio: 4/3;
        border-radius: 16px
    }
}

@media(max-width:420px) {
    .case-meta {
        grid-template-columns: 1fr;
        gap: 14px
    }
}

.case-banner {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/8;
    background: var(--g-100)
}

.case-banner svg {
    width: 100%;
    height: 100%;
    display: block
}

/* BRIEF */
.case-brief {
    padding: 140px 0;
    background: var(--cream)
}

.brief-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px
}

.brief-grid h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1
}

.brief-grid h2 .italic {
    color: var(--red)
}

.brief-grid .brief-body p {
    font-size: 1.15rem;
    color: var(--g-700);
    margin-bottom: 24px;
    line-height: 1.65;
    max-width: 620px
}

.brief-grid .brief-body p strong {
    color: var(--ink);
    font-weight: 600
}

.brief-quote {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--g-300);
    border-bottom: 1px solid var(--g-300);
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.35;
    color: var(--ink);
    max-width: 900px
}

.brief-quote .q-mark {
    color: var(--red);
    font-size: 3rem;
    line-height: .6;
    margin-right: 8px;
    vertical-align: -.2em
}

.brief-quote cite {
    display: block;
    margin-top: 20px;
    font-family: var(--mono);
    font-style: normal;
    font-size: .8rem;
    letter-spacing: .12em;
    color: var(--g-700);
    text-transform: uppercase
}

@media(max-width:968px) {
    .case-brief {
        padding: 90px 0
    }

    .brief-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

/* PROCESS */
.case-process {
    padding: 140px 0;
    background: var(--cream-2);
    position: relative
}

.section-head {
    margin-bottom: 80px;
    max-width: 760px
}

.section-head h2 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    margin: 20px 0 18px;
    line-height: 1
}

.section-head h2 .italic {
    color: var(--red)
}

.section-head p {
    font-size: 1.05rem;
    color: var(--g-700);
    line-height: 1.6
}

.process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.process-step {
    background: var(--cream);
    border: 1.5px solid var(--g-200);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .5s var(--ease), border-color .5s var(--ease)
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--ink)
}

.process-step .ps-img {
    aspect-ratio: 5/3;
    background: var(--cream);
    overflow: hidden
}

.process-step .ps-img svg {
    width: 100%;
    height: 100%;
    display: block
}

.process-step .ps-body {
    padding: 28px 28px 32px
}

.process-step .ps-num {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .15em;
    color: var(--red);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 14px
}

.process-step .ps-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 900
}

.process-step .ps-body p {
    font-size: .94rem;
    line-height: 1.55;
    color: var(--g-700)
}

@media(max-width:968px) {
    .case-process {
        padding: 90px 0
    }

    .process-row {
        grid-template-columns: 1fr;
        gap: 18px
    }
}

/* CASE GALLERY MOSAIC */
.case-gallery {
    padding: 140px 0;
    background: var(--cream)
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    grid-auto-flow: dense
}

.mosaic .tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--g-100);
    transition: transform .5s var(--ease)
}

.mosaic .tile[data-tone="red"] {
    background: #DC2626
}

.mosaic .tile[data-tone="amber"] {
    background: #F59E0B
}

.mosaic .tile[data-tone="ink"] {
    background: #131313
}

.mosaic .tile[data-tone="cream"] {
    background: #EBE4D6
}

.mosaic .tile:hover {
    transform: scale(.98)
}

.mosaic .tile svg {
    width: 100%;
    height: 100%;
    display: block
}

.mosaic .t-lg {
    grid-column: span 8;
    aspect-ratio: 16/10
}

.mosaic .t-md {
    grid-column: span 4;
    aspect-ratio: 1
}

.mosaic .t-wide {
    grid-column: span 12;
    aspect-ratio: 16/7
}

.mosaic .t-half {
    grid-column: span 6;
    aspect-ratio: 6/4
}

.mosaic .t-third {
    grid-column: span 4;
    aspect-ratio: 1
}

@media(max-width:768px) {
    .case-gallery {
        padding: 90px 0
    }

    .mosaic .t-lg,
    .mosaic .t-md,
    .mosaic .t-wide,
    .mosaic .t-half,
    .mosaic .t-third {
        grid-column: span 12
    }
}

/* METRICS */
.case-metrics {
    padding: 140px 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden
}

.case-metrics::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, .18), transparent 70%);
    top: -150px;
    right: -100px;
    filter: blur(60px)
}

.case-metrics .wrap {
    position: relative;
    z-index: 2
}

.case-metrics .section-head h2 {
    color: var(--cream)
}

.case-metrics .section-head h2 .italic {
    color: var(--amber)
}

.case-metrics .section-head p {
    color: var(--g-300)
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.metric {
    padding: 50px 36px;
    background: var(--ink-2);
    border: 1px solid var(--ink-3);
    border-radius: 20px;
    transition: all .4s var(--ease);
    cursor: none
}

@media(max-width:968px) {
    .metric {
        cursor: pointer
    }
}

.metric:hover {
    background: var(--ink-3);
    transform: translateY(-6px)
}

.metric .mv {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--amber);
    line-height: 1;
    margin-bottom: 14px
}

.metric .mt {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 10px
}

.metric .md {
    font-size: .92rem;
    color: var(--g-300);
    line-height: 1.5
}

@media(max-width:968px) {
    .case-metrics {
        padding: 90px 0
    }

    .metrics-row {
        grid-template-columns: 1fr
    }
}

/* NEXT PROJECT */
.case-next {
    padding: 140px 0;
    background: var(--cream);
    text-align: center
}

.next-eyebrow {
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .2em;
    color: var(--g-700);
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block
}

.next-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: none
}

@media(max-width:968px) {
    .next-link {
        cursor: pointer
    }
}

.next-link h2 {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: .95;
    margin-bottom: 40px;
    transition: color .4s var(--ease)
}

.next-link h2 .italic {
    color: var(--red)
}

.next-link:hover h2 .italic {
    color: var(--amber)
}

.next-tile {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/8;
    background: var(--g-100);
    transition: transform .5s var(--ease)
}

.next-tile[data-tone="red"] {
    background: #DC2626
}

.next-tile[data-tone="amber"] {
    background: #F59E0B
}

.next-tile[data-tone="ink"] {
    background: #131313
}

.next-tile[data-tone="ink2"] {
    background: #1F1F1F
}

.next-tile[data-tone="cream"] {
    background: #EBE4D6
}

.next-link:hover .next-tile {
    transform: scale(1.01)
}

.next-tile svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform .8s var(--ease)
}

.next-link:hover .next-tile svg {
    transform: scale(1.05)
}

.next-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-family: var(--mono);
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g-700);
    flex-wrap: wrap
}

@media(max-width:768px) {
    .case-next {
        padding: 90px 0
    }

    .next-link h2 {
        font-size: clamp(2.4rem, 8vw, 4.8rem);
        margin-bottom: 28px
    }

    .next-tile {
        aspect-ratio: 4/3;
        border-radius: 16px
    }

    .next-meta {
        gap: 14px;
        font-size: .7rem
    }
}