/* ==========================================================================
   The MVCHI — site styles
   ========================================================================== */

:root {
    --bg: #0e0e0e;
    --bg-2: #161616;
    --fg: #edeae3;
    --muted: #8a8a85;
    --line: rgba(237, 234, 227, 0.12);
    --line-strong: rgba(237, 234, 227, 0.32);
    --light: #edeae3;
    --ink: #0e0e0e;
    --ink-muted: rgba(14, 14, 14, 0.62);
    --line-dark: rgba(14, 14, 14, 0.14);
    --g: 24px;
    --header: 64px;
    --ease: cubic-bezier(0.6, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
    --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
    --f-mono: "Martian Mono", ui-monospace, monospace;
    --f-body: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-mono);
    font-size: 12px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.light { background: var(--light); color: var(--ink); }

img { display: block; max-width: 100%; object-position: 50% 30%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--fg); color: var(--bg); }

/* ---------- Type ---------- */

.display {
    font-family: var(--f-display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 0;
}

.mono { font-family: var(--f-mono); font-size: 12px; line-height: 1.6; }
.upper, .meta, .roll { text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4; }
.body-text { font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
.muted { color: var(--muted); }
.muted-dark { color: var(--ink-muted); }
.blend { mix-blend-mode: difference; color: var(--fg); }

.meta { display: flex; flex-wrap: wrap; gap: 0 8px; }
.meta__sep { opacity: 1; }

/* Fit-to-width headline (font size set by JS) */
.fit {
    display: block;
    width: 100%;
    white-space: nowrap;
    line-height: 0.82;
    font-size: 12.6vw;
    margin: 0;
}
.fit > span { display: inline-block; }

/* ---------- Hover roll text ---------- */

.roll {
    display: inline-flex;
    align-items: flex-start; /* don't stretch the track to one line, or it only rolls halfway */
    overflow: hidden;
    height: 1.4em;
    vertical-align: middle;
}
.roll__track {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.28s var(--ease);
}
.roll__track > span { display: block; height: 1.4em; white-space: nowrap; }
a:hover .roll__track,
a:focus-visible .roll__track { transform: translateY(-50%); }

/* ---------- Button ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    height: 40px;
    padding: 0 12px 0 16px;
    border: 1px solid var(--line-strong);
    color: var(--fg);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--dark { color: var(--ink); border-color: rgba(14, 14, 14, 0.4); }
.btn--dark:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }

.btn__icon { position: relative; width: 16px; height: 16px; overflow: hidden; }
.btn__icon svg { position: absolute; inset: 0; width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn__icon svg + svg { transform: translate(-100%, 100%); }
.btn:hover .btn__icon svg:first-child { transform: translate(100%, -100%); }
.btn:hover .btn__icon svg + svg { transform: none; }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header);
    display: flex;
    justify-content: space-between;
    background: rgba(14, 14, 14, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    color: var(--fg);
}

.site-header__logo {
    display: flex;
    align-items: center;
    padding: 0 var(--g);
    font-size: 32px;
    line-height: 1;
    border-right: 1px solid var(--line);
}

.site-header__right { display: flex; }

.latest {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 var(--g);
    border-left: 1px solid var(--line);
}
.latest img { width: 32px; height: 32px; object-fit: cover; transition: transform 0.5s var(--ease); }
.latest:hover img { transform: scale(1.12); }

.site-nav { display: flex; }
.site-nav__link {
    display: flex;
    align-items: center;
    padding: 0 var(--g);
    border-left: 1px solid var(--line);
    transition: background-color 0.3s;
}
.site-nav__link:hover { background: rgba(237, 234, 227, 0.04); }
.site-nav__link.is-active { background: rgba(237, 234, 227, 0.06); }
@media (max-width: 1279px) { .site-nav__link { padding: 0 16px; } }

.menu-toggle {
    display: none;
    align-items: center;
    padding: 0 var(--g);
    border-left: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline; }

.mobile-menu {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--g);
    background: var(--bg);
    color: var(--fg);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path 0.6s var(--ease); }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; counter-reset: menu; border-top: 1px solid var(--line); }
.mobile-menu nav a {
    counter-increment: menu;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 34px;
    line-height: 1;
    transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}
.mobile-menu nav a::before {
    content: counter(menu, decimal-leading-zero);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.mobile-menu nav a::after { content: "↗"; margin-left: auto; font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.mobile-menu nav a:active { padding-left: 8px; }
.mobile-menu__foot { flex-wrap: wrap; align-items: center; font-size: 11px; }
.mobile-menu__foot { display: flex; justify-content: space-between; gap: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding-left: var(--g);
    border-top: 1px solid var(--line);
    background: var(--bg);
    color: var(--fg);
}
.site-footer p { text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer__links { display: flex; align-self: stretch; }
.site-footer__links a {
    display: flex;
    align-items: center;
    padding: 0 var(--g);
    border-left: 1px solid var(--line);
}

/* ---------- Reveal animations ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 0.1s); }

/* Images open upward as they scroll into view */
.js [data-unveil] {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.js [data-unveil]:not([data-parallax-wrap]) img {
    transform: scale(1.18);
    transition: transform 1.8s var(--ease-out), opacity .6s var(--ease);
}
.js [data-unveil].is-visible { clip-path: inset(0 0 0 0); transition-delay: calc(var(--i, 0) * 0.12s); }
.js [data-unveil].is-visible:not([data-parallax-wrap]) img { transform: none; transition-delay: calc(var(--i, 0) * 0.12s), 0s; }
.js .merch-card:hover .merch-card__media[data-unveil].is-visible img { transform: scale(1.04); transition-delay: 0s; }

[data-words] .w { opacity: 0.16; transition: opacity 0.4s linear; }
[data-words] .w.on { opacity: 1; }

[data-parallax-wrap] { overflow: hidden; }
[data-parallax] { will-change: transform; }

/* ---------- Hero entrance: the title rises letter by letter, the photo opens up ---------- */
.hero__title .l { display: inline-block; overflow: hidden; padding: 0.04em 0; margin: -0.04em 0; vertical-align: top; }
.hero__title .l > span { display: inline-block; }
.hero-anim:not(.hero-go) .hero__title .l > span { transform: translateY(108%); }
.hero-anim:not(.hero-go) .hero__frame { clip-path: inset(100% 0 0 0); }
.hero-anim:not(.hero-go) .hero__frame img { transform: scale(1.3); }
.hero-anim:not(.hero-go) .site-header { opacity: 0; }
/* "backwards": hold the start state during the delay, then fall back to the normal styles (so scrolling still drives the photo) */
.hero-go .hero__title .l > span { animation: heroLetter 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i) * 0.025s) backwards; }
.hero-go .hero__frame { animation: heroOpen 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.1s backwards; }
.hero-go .hero__frame img { animation: heroSettle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards; }
.hero-go .site-header { animation: heroHeader 0.4s ease 0.4s backwards; }
@keyframes heroLetter { from { transform: translateY(108%); } }
@keyframes heroOpen { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroSettle { from { transform: scale(1.3); } }
@keyframes heroHeader { from { opacity: 0; } }
/* ==========================================================================
   Home
   ========================================================================== */

.hero {
    position: relative;
    padding-top: calc(var(--header) + 16px);
    padding-bottom: 64px;
}
.hero__title {
    position: sticky;
    top: calc(var(--header) + 16px);
    z-index: 2;
    padding: 0 var(--g);
}
.hero__media {
    position: relative;
    margin-top: 80px;
    padding: 0 calc(var(--g) * (1 - var(--p, 0)));
}
.hero__frame { overflow: hidden; aspect-ratio: 1217 / 576; max-height: calc(100vh - 120px); width: 100%; }
.hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(calc(1.08 - 0.08 * var(--p, 0)));
}

/* Intro */
.intro {
    display: grid;
    grid-template-columns: 1fr minmax(0, 516px) 1fr;
    gap: var(--g);
    padding: 128px var(--g);
}
.intro__col { display: flex; }
.intro__col--left { align-items: flex-start; }
.intro__col--right { align-items: flex-end; justify-content: flex-end; }
.intro__sticky { position: sticky; display: flex; flex-direction: column; gap: 24px; max-width: 344px; }
.intro__col--left .intro__sticky { top: calc(var(--header) + 40px); }
.intro__col--right .intro__sticky { bottom: 40px; align-items: flex-start; }
.intro__text { max-width: 320px; }
/* Solo / Feature / total, as on the About page but smaller */
.intro__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; border-top: 1px solid var(--line); }
.intro__stats div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.intro__stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.intro__stats dd { order: -1; margin: 0; font-size: clamp(44px, 4.4vw, 64px); line-height: 0.85; }
.intro__stats dt { font-size: 10px; letter-spacing: 0.06em; }
.intro__media { aspect-ratio: 516 / 760; }
.intro__media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }

/* Selected work */
.selected { padding: 128px var(--g) 0; }
.selected__grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 0; }

.work-card {
    position: relative;
    display: block;
    overflow: clip;
    background: var(--bg-2);
}
.work-card--full { grid-column: 1 / -1; height: 560px; }
.work-card--half { height: 680px; }
.work-card__media { position: absolute; inset: 0; }
.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__label {
    position: sticky;
    top: 48vh;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 64px var(--g) 20px;
    pointer-events: none;
}
.work-card__label h2 { font-size: 64px; }

.view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 128px;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.view-all span { font-size: 64px; }
.view-all:hover { background: var(--fg); color: var(--bg); }

/* Marquee */
.marquee { display: flex; align-items: center; padding: clamp(32px, 5vw, 72px) 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee__track span { font-size: clamp(72px, 10vw, 168px); line-height: 1; padding-right: 0.3em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Clients */
.clients { padding: var(--g) var(--g) 96px; }
.clients__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.client {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 240px;
    padding: 48px 16px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s;
}
.client:hover { background: var(--bg-2); }
.client__logo { padding: 0 8px; font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95; max-width: 256px; transition: transform 0.6s var(--ease); }
.client:hover .client__logo { transform: translateY(-4px); }

/* Home journal */
.light { background: var(--light); color: var(--ink); }
.home-journal { padding: 72px var(--g) 120px; }
.home-journal__head { display: flex; flex-direction: column; }
.home-journal__intro { align-self: flex-end; max-width: 320px; margin: 40px 72px 0 0; }

.journal-rows { margin-top: 24px; border-bottom: 1px solid var(--line-dark); }
.journal-row {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 320px;
    gap: var(--g);
    align-items: center;
    min-height: 106px;
    padding: 24px 96px 24px 0;
    border-top: 1px solid var(--line-dark);
}
.journal-row > :not(.journal-row__media) { position: relative; z-index: 1; transition: color 0.5s var(--ease); }
.journal-row time, .journal-row p { color: var(--ink-muted); }
.journal-row h3 { font-size: 48px; }
.journal-row__media {
    position: absolute;
    inset: -1px calc(var(--g) * -1);
    clip-path: inset(50% 0 50% 0);
    transition: clip-path 0.6s var(--ease);
}
.journal-row__media::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 14, 0.45); }
.journal-row__media img { width: 100%; height: 100%; object-fit: cover; }
.journal-row:hover .journal-row__media { clip-path: inset(0); }
.journal-row:hover > :not(.journal-row__media) { color: var(--fg); }
.journal-row { padding-left: 0; }

/* CTA */
.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 160px var(--g) 112px;
    text-align: center;
}
.cta--full { min-height: calc(100vh - 64px); justify-content: center; padding-top: 128px; }

/* ==========================================================================
   Work index
   ========================================================================== */

.work-index { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--bg); }
.work-index__stage { position: absolute; inset: 0; }
.work-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.work-slide.is-active { opacity: 1; z-index: 1; }
.work-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 2s var(--ease-out);
}
.work-slide.is-active img { transform: scale(1); }
.work-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.35) 0%, rgba(14, 14, 14, 0.15) 40%, rgba(14, 14, 14, 0.75) 100%);
}
.work-slide__info {
    position: absolute;
    left: var(--g);
    bottom: var(--g);
    z-index: 1;
    width: min(440px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.9s var(--ease-out) 0.15s, opacity 0.9s var(--ease-out) 0.15s;
}
.work-slide.is-active .work-slide__info { transform: none; opacity: 1; }
.work-slide__num { font-size: 128px; line-height: 0.8; }
.work-slide__summary { font-family: var(--f-body); font-size: 16px; line-height: 1.5; }

.work-index__label { position: absolute; top: 120px; left: var(--g); z-index: 2; }

.work-list {
    position: absolute;
    top: 120px;
    right: var(--g);
    z-index: 2;
    width: min(685px, 54%);
}
.work-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 2px 0;
    opacity: 0.38;
    transition: opacity 0.4s var(--ease);
}
.work-list__item h3 { font-size: 96px; }
.work-list__item.is-active { opacity: 1; }

/* ==========================================================================
   Page hero (project + about)
   ========================================================================== */

.page-hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 115%; object-fit: cover; }
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.1) 0%, rgba(14, 14, 14, 0.25) 60%, rgba(14, 14, 14, 0.8) 100%);
    pointer-events: none;
}
.page-hero__bar {
    position: absolute;
    left: var(--g);
    right: var(--g);
    bottom: var(--g);
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(0, 701px) 1fr;
    gap: var(--g);
    align-items: end;
}
.page-hero__bar h1 { font-size: 64px; text-align: center; }
.page-hero__facts { text-align: right; line-height: 1.6; }
.page-hero__facts p:first-child { margin-bottom: 0; }

/* Story */
.story {
    display: grid;
    grid-template-columns: 1fr minmax(0, 459px);
    gap: var(--g);
    padding: 152px var(--g) 104px;
}
.story__text { font-family: var(--f-body); font-size: 20px; line-height: 1.5; }

/* Gallery */
.gallery { display: flex; flex-direction: column; gap: 4px; padding: 0 var(--g) 64px; }
.gallery figure { overflow: hidden; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery__full { aspect-ratio: 1217 / 648; }
.gallery__split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-items: start; }
.gallery__stack { display: flex; flex-direction: column; gap: 4px; }
.gallery__stack figure, .gallery__sticky { aspect-ratio: 607 / 432; }
.gallery__sticky { position: sticky; top: calc(var(--header) + 4px); }

/* Next project */
.next-project a { position: relative; display: block; height: 518px; overflow: hidden; }
.next-project__media { position: absolute; inset: 0; }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.next-project a:hover .next-project__media img { transform: scale(1); }
.next-project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, 0.2), rgba(14, 14, 14, 0.75)); }
.next-project__body { position: absolute; left: var(--g); right: var(--g); bottom: 40px; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.next-project__body h3 { font-size: 96px; }

/* ==========================================================================
   About
   ========================================================================== */

/* One quiet spread: the portrait stays put on the left while the story reads on the right */
.profile {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(40px, 7vw, 128px);
    align-items: start;
    padding: calc(var(--header) + 24px) var(--g) 120px;
}
.profile__media {
    position: sticky;
    top: calc(var(--header) + 24px);
    height: calc(100vh - var(--header) - 48px);
    min-height: 520px;
    max-height: 1000px;
    margin: 0;
    overflow: hidden;
    background: var(--bg-2);
}
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.profile__body { max-width: 680px; padding-top: clamp(24px, 12vh, 140px); }
.profile__kicker { margin-bottom: 20px; }
.profile__name { margin: 0; font-size: clamp(72px, 9vw, 152px); line-height: 0.85; }
.profile__facts { display: flex; flex-wrap: wrap; margin: 28px 0 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.profile__facts li + li::before { content: "▪"; margin: 0 14px; opacity: 0.5; }
.profile__bio {
    margin: 64px 0 0;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    font-family: var(--f-body);
    font-size: clamp(19px, 1.5vw, 23px);
    line-height: 1.65;
    text-wrap: pretty;
}
.profile__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 64px 0 0; border-top: 1px solid var(--line); }
.profile__stats div { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.profile__stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.profile__stats dd { order: -1; margin: 0; font-size: clamp(56px, 6vw, 96px); line-height: 0.85; }
.profile__stats dt { font-size: 11px; letter-spacing: 0.06em; }

@media (max-width: 1023px) {
    .profile { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
    .profile__media { position: relative; top: auto; height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
    .profile__body { max-width: none; padding-top: 0; }
}
@media (max-width: 809px) {
    .profile { padding-top: calc(var(--header) + 16px); gap: 36px; }
    .profile__name { font-size: 64px; }
    .profile__facts { margin-top: 20px; }
    .profile__bio { margin-top: 40px; padding-top: 28px; font-size: 18px; }
    .profile__stats { margin-top: 48px; }
    .profile__stats div + div { padding-left: 16px; }
    .profile__stats dd { font-size: 52px; }
}

.word-band { position: relative; }
.word-band__words {
    position: sticky;
    top: calc(100vh - 82px);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--g);
    margin-bottom: -58px;
    mix-blend-mode: difference;
    color: var(--fg);
}
.word-band__words span { font-size: 64px; }
.word-band__media { height: min(745px, 100vh); }
.word-band__media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }

.settings { display: grid; grid-template-columns: 52fr 48fr; }
.settings__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 640px;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 120px var(--g) var(--g);
}
.settings__sticky h2 { font-size: clamp(56px, 7.6vw, 96px); max-width: 560px; margin-top: 24px; }
.settings__sticky .body-text { max-width: 440px; margin-top: auto; }
.settings__sticky .btn { margin-top: 32px; }

.settings__cards { display: flex; flex-direction: column; gap: var(--g); padding: 32px var(--g) 32px 0; }
.setting-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 48px;
    min-height: 616px;
    padding: var(--g);
    background: var(--bg);
    color: var(--fg);
}
.setting-card__head { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.setting-card__head h3 { font-size: 64px; }
.setting-card__mid { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-left: 64px; }
.setting-card__mid p { max-width: 240px; }
.setting-card__mid img { width: 240px; max-width: 50%; height: auto; }
.setting-card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.setting-card__value { font-size: 128px; line-height: 0.8; }
.setting-card__foot ul { width: 223px; line-height: 1.6; }

.commissions { padding: 152px var(--g) 120px; }
.commissions__head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: var(--g); }
.commission-list { margin-top: 120px; border-bottom: 1px solid var(--line); }
.commission {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto 20px;
    gap: var(--g);
    align-items: center;
    padding: 24px 38px 24px 0;
    border-top: 1px solid var(--line);
}
.commission h3 { font-size: 96px; transition: transform 0.6s var(--ease); }
.commission:hover h3 { transform: translateX(16px); }
.commission__link { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: center; padding-right: 38px; }
.commission__link svg { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.commission:hover .commission__link svg { transform: rotate(45deg); }

.quote { padding: 120px var(--g) 200px; }
.quote p { max-width: 920px; margin: 0 auto; text-align: center; font-size: clamp(36px, 5vw, 64px); line-height: 0.95; }

/* ==========================================================================
   Journal
   ========================================================================== */

.journal-feature { padding-top: var(--header); }
.journal-feature__link { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); padding: 10px 12px 10px 0; }
.journal-feature__info { padding: 0 0 0 var(--g); }
.journal-feature__sticky {
    position: sticky;
    top: calc(var(--header) + 40px);
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding-top: 28px;
}
.journal-feature__sticky .post-card__read { margin-top: auto; align-self: flex-end; }
.journal-feature__media { aspect-ratio: 620 / 749; overflow: hidden; }
.journal-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.journal-feature__link:hover .journal-feature__media img { transform: scale(1.04); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.post-card {
    display: flex;
    flex-direction: column;
    min-height: 760px;
    padding: var(--g);
    background: var(--light);
    color: var(--ink);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.post-card:nth-child(3n) { border-right: 0; }
.post-card__date { font-size: 128px; line-height: 0.8; padding-top: 0.12em; }
.post-card .meta { margin-top: 16px; }
.post-card__title { font-size: 48px; margin-top: 16px; }
.journal-feature .post-card__title { max-width: 440px; }
.post-card__excerpt { margin-top: 16px; max-width: 440px; }
.post-card__media { margin: auto -7px 0; aspect-ratio: 389 / 275; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__read { align-self: flex-end; margin-top: 24px; }
.post-card:hover .roll__track, .journal-feature__link:hover .roll__track { transform: translateY(-50%); }

/* Post */
.post-hero { height: 576px; max-height: 80vh; }
.post-hero__media { height: 100%; }
.post-hero__media img { width: 100%; height: 120%; object-fit: cover; }

.post-head { padding: 88px var(--g) 0; }
.post-head h1 { font-size: clamp(56px, 12.65vw, 160px); line-height: 0.95; margin-top: 16px; }

.article { padding-bottom: 104px; }
.article__row {
    display: grid;
    grid-template-columns: minmax(0, 322px) minmax(0, 720px);
    gap: var(--g);
    padding: 64px var(--g);
}
.article__label { padding-top: 6px; }
.article__body { font-family: var(--f-body); font-size: 20px; line-height: 1.5; }
.article__body > * + * { margin-top: 40px; }
.article__body h2 { font-size: 64px; }
.article__body h2 + * { margin-top: 40px; }
.article__body ul li { position: relative; padding-left: 32px; }
.article__body ul li + li { margin-top: 12px; }
.article__body ul li::before { content: "▪"; position: absolute; left: 0; font-size: 12px; top: 0.6em; color: var(--muted); }
.article__body blockquote {
    border-left: 2px solid var(--line-strong);
    padding-left: 32px;
    font-style: italic;
    color: var(--muted);
}
.article__full { margin: 0 var(--g); aspect-ratio: 1217 / 576; overflow: hidden; }
.article__full img, .article__pair img { width: 100%; height: 100%; object-fit: cover; }
.article__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 var(--g); }
.article__pair figure { aspect-ratio: 607 / 504; overflow: hidden; }

.more-notes { padding-top: 64px; }
.more-notes > p { padding: 0 var(--g) 24px; }

/* ==========================================================================
   Contact
   ========================================================================== */

/* Same red as the shop and booking pages */
.page-contact { --accent: #e0140f; }
/* The page fills exactly one screen (header, content, footer) so there's nothing to scroll */
body.page-contact { display: flex; flex-direction: column; min-height: 100svh; }
.page-contact main { flex: 1; display: flex; }

/* Everything centred in the space between header and footer */
.contact-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; width: 100%; padding: calc(var(--header) + 24px) var(--g) 24px; text-align: center; container-type: inline-size; }
.contact-page__kicker { font-size: 11px; font-weight: 400; letter-spacing: 0.08em; }
.contact-page__email { max-width: 100%; font-size: clamp(32px, 8.5cqi, 128px); line-height: 0.9; overflow-wrap: anywhere; transition: color 0.3s; }
.contact-page__email:hover { color: var(--accent); }
.contact-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: min(520px, 100%); }
.contact-page__actions .contact-btn { flex: 1; }
.contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 1px solid var(--line-strong); font-size: 11px; white-space: nowrap; letter-spacing: 0.04em; transition: background-color 0.25s, border-color 0.25s, color 0.25s, gap 0.3s var(--ease); }
.contact-btn svg { width: 14px; height: 14px; }
.contact-btn:hover { border-color: var(--fg); }
.contact-btn--solid { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.contact-btn--solid:hover { gap: 16px; background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-btn[hidden] { display: none; }

/* Link list: equal rows in one column, the first one (booking) in red */
.contact-links { display: flex; flex-direction: column; gap: 8px; width: min(520px, 100%); margin-top: 8px; }
.contact-link { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) 16px; align-items: center; gap: 14px; height: 56px; padding: 0 20px; border: 1px solid var(--line-strong); text-align: left; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.contact-link__icon { width: 20px; height: 20px; }
.contact-link__name { font-size: 12px; letter-spacing: 0.06em; }
.contact-link__meta { overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; text-align: right; transition: color 0.25s; }
.contact-link__arrow { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.contact-link:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.contact-link:hover .contact-link__meta { color: rgba(14, 14, 14, 0.6); }
.contact-link:hover .contact-link__arrow { transform: translate(2px, -2px); }
.contact-link--main { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-link--main .contact-link__meta { color: rgba(255, 255, 255, 0.75); }
.contact-link--main:hover { background: #c30f0b; border-color: #c30f0b; color: #fff; }
.contact-link--main:hover .contact-link__meta { color: rgba(255, 255, 255, 0.75); }
.contact-link--main:hover .contact-link__arrow { transform: translateX(4px); }





/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .work-list__item h3 { font-size: 72px; }
    .commission h3 { font-size: 72px; }
    .setting-card__value { font-size: 104px; }
    .post-card__date { font-size: 104px; }
}

@media (max-width: 1023px) {
    .settings { grid-template-columns: 1fr; }
    .settings__sticky { position: relative; height: auto; min-height: 0; max-height: none; padding-top: 96px; }
    .settings__sticky .body-text { margin-top: 48px; }
    .settings__cards { padding: 32px var(--g); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card:nth-child(3n) { border-right: 1px solid var(--line-dark); }
    .post-card:nth-child(2n) { border-right: 0; }
    .journal-row { grid-template-columns: 80px minmax(0, 1fr); padding-right: 0; }
    .journal-row p { grid-column: 2; }
    .home-journal__intro { margin-right: 0; }
}

@media (max-width: 809px) {
    :root { --g: 16px; }

    .latest, .site-nav { display: none; }
    .menu-toggle { display: flex; }
    .site-header__logo { font-size: 28px; }

    .site-footer { flex-direction: column; align-items: stretch; padding: 0; }
    .site-footer p { padding: 20px var(--g); }
    .site-footer__links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
    .site-footer__links a { height: 56px; padding: 0 var(--g); border-left: 0; }
    .site-footer__links a + a { border-left: 1px solid var(--line); }
    .site-footer__links a:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
    .site-footer__links a:nth-child(2) { border-left: 0; }

    .hero__media { margin-top: 40px; }
    .hero__frame { aspect-ratio: 4 / 5; }

    .intro { grid-template-columns: 1fr; padding: 80px var(--g); gap: 40px; }
    .intro__col--right { justify-content: flex-start; }
    .intro__sticky { position: static; }

    .selected { padding-top: 80px; }
    .selected__grid { grid-template-columns: 1fr; }
    .work-card--full, .work-card--half { grid-column: auto; height: 480px; }
    .work-card__label { flex-direction: column; gap: 8px; }
    .work-card__label h2 { font-size: 48px; }
    .view-all { height: 96px; }
    .view-all span { font-size: 40px; }


    .clients__grid { grid-template-columns: repeat(2, 1fr); }
    .client { min-height: 180px; padding-top: 32px; }

    .home-journal { padding: 56px var(--g) 80px; }
    .home-journal__intro { align-self: flex-start; margin-top: 24px; }
    .journal-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
    .journal-row p { grid-column: auto; }
    .journal-row h3 { font-size: 36px; }

    .cta { padding: 96px var(--g) 80px; gap: 32px; }

    .work-index { height: auto; min-height: 100vh; display: flex; flex-direction: column; }
    .work-index__stage { position: relative; height: 70vh; order: 2; }
    .work-index__label { position: relative; top: auto; left: auto; padding: calc(var(--header) + 32px) var(--g) 16px; }
    .work-list { position: relative; top: auto; right: auto; width: auto; padding: 0 var(--g) 24px; }
    .work-list__item h3 { font-size: 48px; }
    .work-slide__num { font-size: 88px; }

    .page-hero__bar { grid-template-columns: 1fr; gap: 12px; }
    .page-hero__bar h1 { font-size: 56px; text-align: left; order: -1; }
    .page-hero__facts { text-align: left; }

    .story { grid-template-columns: 1fr; padding: 80px var(--g) 56px; }
    .story__text { font-size: 18px; }
    .gallery__split { grid-template-columns: 1fr; }
    .gallery__sticky { position: static; }
    .gallery__full { aspect-ratio: 4 / 3; }
    .next-project a { height: 420px; }
    .next-project__body h3 { font-size: 56px; }

    .word-band__words span { font-size: 40px; }
    .word-band__words { margin-bottom: -36px; top: calc(100vh - 60px); }
    .word-band__media { height: 70vh; }
    .settings__sticky { padding-top: 80px; }
    .setting-card { min-height: 0; gap: 32px; }
    .setting-card__head h3 { font-size: 44px; }
    .setting-card__mid { flex-direction: column; padding-left: 0; }
    .setting-card__mid img { max-width: 100%; }
    .setting-card__foot { flex-direction: column; align-items: flex-start; }
    .setting-card__value { font-size: 88px; }
    .commissions { padding: 96px var(--g) 80px; }
    .commissions__head { grid-template-columns: 1fr; }
    .commission-list { margin-top: 64px; }
    .commission { grid-template-columns: 32px 1fr; row-gap: 8px; padding-right: 32px; }
    .commission h3 { font-size: 44px; }
    .commission > span:last-of-type { grid-column: 2; }
    .commission__link { padding-right: 0; }
    .quote { padding: 80px var(--g) 120px; }

    .journal-feature__link { grid-template-columns: 1fr; padding: 0; }
    .journal-feature__info { padding: 32px var(--g) 0; order: 2; }
    .journal-feature__sticky { position: static; min-height: 0; padding-bottom: 32px; }
    .journal-feature__media { aspect-ratio: 4 / 5; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card { min-height: 0; border-right: 0 !important; }
    .post-card__date { font-size: 88px; }
    .post-card__title { font-size: 40px; }
    .post-card__media { margin-top: 32px; }

    .post-hero { height: 60vh; }
    .post-head { padding-top: 56px; }
    .article__row { grid-template-columns: 1fr; gap: 16px; padding: 48px var(--g); }
    .article__body { font-size: 18px; }
    .article__body h2 { font-size: 44px; }
    .article__pair { grid-template-columns: 1fr; }
    .article__full { aspect-ratio: 4 / 3; }

    .contact-page { gap: 22px; padding-top: calc(var(--header) + 24px); padding-bottom: 24px; }
    .contact-page__actions .contact-btn { flex: 1; min-width: 140px; }
    .page-contact .site-footer__links { display: none; } /* the same email and socials are right above */
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js [data-unveil], .js [data-unveil] img { clip-path: none; transform: none; }
    [data-words] .w { opacity: 1; }
}

/* ==========================================================================
   Added sections: categories, frames, services, follow, announcement
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Category tiles */
.categories { padding: 128px var(--g) 0; }
.categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin-top: 24px; }
.category { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.category__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.category__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s; filter: grayscale(0.25); }
.category:hover .category__media img { transform: scale(1.05); filter: none; }
.category span { position: relative; align-self: center; }
.category span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.5s var(--ease); }
.category:hover span::after { transform: scaleX(1); }

/* Home: a few products from the shop */
.merch { padding: 120px var(--g) 0; }
.merch__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.merch__head p { font-size: 11px; letter-spacing: .04em; margin-bottom: 12px; }
.merch__head h2 { font-size: clamp(56px, 7vw, 112px); line-height: .88; }
.merch__all { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; letter-spacing: .04em; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.merch__all span { transition: transform .25s; }
.merch__all:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.merch__all:hover span { transform: translateX(4px); }
.merch__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.merch-card { display: flex; flex-direction: column; background: var(--bg-2); min-width: 0; }
.merch-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.merch-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.merch-card__alt { opacity: 0; }
.merch-card:hover .merch-card__alt { opacity: 1; }
.merch-card:hover .merch-card__media img { transform: scale(1.04); }
.merch-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.merch-card:hover .merch-card__media::after { opacity: 1; }
.merch-card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 10px; letter-spacing: .04em; }
.merch-card__tag--off { background: rgba(14, 14, 14, .8); color: var(--fg); }
.merch-card__go { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 11px; letter-spacing: .04em; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.merch-card:hover .merch-card__go, .merch-card:focus-visible .merch-card__go { opacity: 1; transform: none; }
.merch-card__info { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 20px; flex: 1; }
.merch-card__text { display: grid; gap: 6px; min-width: 0; }
.merch-card__text span { font-size: 10px; letter-spacing: .04em; }
.merch-card__text strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 16px; line-height: 1.25; font-weight: 700; }
.merch-card:hover .merch-card__text strong { text-decoration: underline; text-underline-offset: 4px; }
.merch-card__price { margin-top: auto; font-family: var(--f-display); font-size: 30px; font-weight: 900; line-height: 1; }

/* Latest frames carousel */
.frames { padding: 96px 0 120px; }
.frames__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 var(--g); margin-bottom: 32px; }
.frames__head h2 { font-size: 64px; }
.frames__nav { display: flex; gap: 8px; }
.frames__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color 0.3s, color 0.3s, opacity 0.3s; }
.frames__btn:hover { background: var(--fg); color: var(--bg); }
.frames__btn:disabled { opacity: 0.3; pointer-events: none; }
.frames__btn svg { width: 20px; height: 20px; }
.frames__track {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--g);
    padding: 0 var(--g);
    scrollbar-width: none;
    cursor: grab;
    outline: none;
}
.frames__track::-webkit-scrollbar { display: none; }
.frames__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.frame { flex: 0 0 clamp(240px, 28vw, 380px); scroll-snap-align: start; }
.frame__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.frame__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; }
.frame:hover .frame__media img { transform: scale(1.04); }
.frame figcaption { display: flex; gap: 16px; padding-top: 12px; }
.frame figcaption span:first-child { color: var(--muted); }
.frames__progress { height: 1px; margin: 32px var(--g) 0; background: var(--line); }
.frames__progress span { display: block; height: 100%; width: 20%; background: var(--fg); transform-origin: left; transition: width 0.2s linear; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 var(--g) 0; margin-top: 120px; }
.service { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.service__media { position: absolute; inset: 0; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0) 45%, rgba(14,14,14,0.75)); }
.service:hover .service__media img { transform: scale(1.05); }
.service__label { position: absolute; left: var(--g); right: var(--g); bottom: var(--g); z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.service__label h3 { font-size: 48px; }
.service__arrow { width: 40px; height: 40px; flex-shrink: 0; margin-bottom: 6px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.service:hover .service__arrow, .service:focus-visible .service__arrow { transform: translate(4px, -4px); }
.service__label .roll { flex-shrink: 0; }

/* Follow: big social links above the footer */
.follow { border-top: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); }
.follow__list {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    margin: 0;
    padding: 0 var(--g);
    list-style: none;
}
.follow__list li + li { border-left: 1px solid var(--line-strong); }
.follow__link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 260px;
    padding: 24px 24px 28px;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s var(--ease-out);
}
.follow__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand, var(--fg));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-out);
}
/* Each network fills with its own colour on hover */
.follow__link--instagram { --brand: linear-gradient(45deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); --brand-fg: #fff; }
.follow__link--youtube { --brand: #ff0000; --brand-fg: #fff; }
.follow__link--facebook { --brand: #1877f2; --brand-fg: #fff; }
.follow__link--tiktok { --brand: #000; --brand-fg: #fff; }
.follow__link:hover, .follow__link:focus-visible { color: var(--brand-fg, var(--bg)); }
.follow__link:hover::before, .follow__link:focus-visible::before { transform: none; }
.follow__link:hover .follow__handle, .follow__link:focus-visible .follow__handle { color: inherit; opacity: 0.8; }
.follow__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.follow__icon { width: 32px; height: 32px; }
.follow__arrow { width: 28px; height: 28px; transition: transform 0.5s var(--ease-out); }
.follow__link:hover .follow__arrow { transform: translate(4px, -4px); }
.follow__name { font-size: clamp(44px, 5.6vw, 88px); line-height: 0.9; text-transform: uppercase; }
.follow__handle { letter-spacing: 0.04em; }

/* Announcement popup */
.announce {
    width: min(420px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 20px;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    color: var(--fg);
    text-align: center;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.announce[open].is-shown { opacity: 1; transform: none; }
.announce::backdrop { background: rgba(14, 14, 14, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.announce__close-form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.announce__close { text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.announce__close:hover { color: var(--fg); }
.announce { overflow-x: hidden; }
.announce__media { display: block; margin: 16px 0 20px; aspect-ratio: 4 / 5; max-height: min(46vh, 460px); width: 100%; overflow: hidden; }
.announce__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.announce__media:hover img { transform: scale(1.04); }
.announce h2 { font-size: 56px; }
.announce__cta { display: flex; justify-content: center; align-items: center; height: 44px; margin-top: 20px; background: var(--fg); color: var(--bg); transition: opacity 0.3s; }
.announce__cta:hover { opacity: 0.85; }

/* Work filter */
.work-index__label { display: flex; flex-direction: column; gap: 16px; }
.filter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.filter a { opacity: 0.5; transition: opacity 0.3s; }
.filter a:hover, .filter a.is-active { opacity: 1; }
.filter a.is-active::before { content: "▪ "; }

@media (max-width: 1023px) {
    .categories__grid { grid-template-columns: repeat(2, 1fr); }
    .services { grid-template-columns: 1fr; }
    .service { aspect-ratio: 16 / 10; }
    .follow__list { grid-template-columns: 1fr; }
    .follow__list li + li { border-left: 0; border-top: 1px solid var(--line-strong); }
    .follow__link { min-height: 0; padding: 20px 0 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
    .follow__top { order: 2; margin: 0 0 0 auto; gap: 16px; }
    .follow__icon { display: none; }
    .follow__handle { order: 3; flex-basis: 100%; }
}

@media (max-width: 809px) {
    .categories { padding-top: 80px; }
    .categories__grid { gap: 16px 8px; }
    .frames { padding: 64px 0 80px; }
    .frames__head h2 { font-size: 44px; }
    .frame { flex-basis: 72vw; }
    .merch { padding-top: 72px; }
    .merch__head { margin-bottom: 24px; }
    .merch__head h2 { font-size: 48px; }
    .merch__all { height: 40px; padding: 0 16px; }
    /* a swipeable row: the next card peeks in */
    .merch__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--g); scrollbar-width: none; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); gap: 4px; }
    .merch__row::-webkit-scrollbar { display: none; }
    .merch-card { flex: 0 0 68vw; scroll-snap-align: start; }
    .merch-card__go { display: none; }
    .services { margin-top: 64px; }
    .service { aspect-ratio: 4 / 5; }
    .service__label h3 { font-size: 40px; }
    .filter { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
}

/* ==========================================================================
   Music
   ========================================================================== */


.music-player { display: grid; gap: 24px; padding: calc(var(--header) + 48px) var(--g) 0; }
.music-player .music-section-head { margin-bottom: 0; }
.music-player iframe { display: block; width: 100%; border: 0; border-radius: 14px; background: var(--bg-2); }
.music-player__panel { display: grid; gap: 48px; }
.music-player__panel[hidden] { display: none; }

/* Platform tabs: brand icon + name in a pill switch */
.music-player__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.music-player__tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px 0 7px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    transition: background-color 0.3s, color 0.3s;
}
.music-player__tab-label { white-space: nowrap; }
.music-player__tabs button:hover { color: var(--fg); background: rgba(237, 234, 227, 0.06); }
.music-player__tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.music-player__tabs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Brand icons (tabs and platform buttons) */
.platform-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #444;
}
.platform-icon svg { width: 20px; height: 20px; }
.platform-icon--spotify { background: #1ed760; }
.platform-icon--apple { background: linear-gradient(180deg, #fa5c70, #fa233b); border-radius: 8px; }
.platform-icon--soundcloud { background: #ff5500; border-radius: 8px; }
.platform-icon--amazon { background: #00a8e1; border-radius: 8px; }
.platform-icon--youtube_music { background: #ff0033; }
.platform-icon--youtube { background: #ff0000; border-radius: 8px; }
.platform-icon--tidal { background: #000; box-shadow: inset 0 0 0 1px rgba(237, 234, 227, 0.3); }
.platform-icon--deezer { background: linear-gradient(135deg, #a238ff, #ef5466 60%, #ffc300); border-radius: 8px; }

/* Apple Music and Deezer tabs: latest release + songs, like Apple's artist page */
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px 64px; }
.catalog h3 { margin-bottom: 20px; }
.catalog-latest { display: grid; gap: 16px; width: 100%; text-align: left; }
.catalog-latest__art {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.catalog-latest__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.catalog-latest:hover .catalog-latest__art img { transform: scale(1.04); }
.catalog-latest__play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    transition: transform 0.3s var(--ease);
}
.catalog-latest__play svg { width: 20px; height: 20px; margin-left: 2px; }
.catalog-latest:hover .catalog-latest__play { transform: scale(1.1); }
.catalog-latest__text { display: grid; gap: 6px; }
.catalog-latest__date { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.catalog-latest__title { font-family: var(--f-display); font-size: 36px; font-weight: 900; line-height: 0.92; text-transform: uppercase; }
.catalog-latest__meta { font-family: var(--f-body); font-size: 14px; color: var(--muted); }

.catalog-songs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.catalog-songs li { border-bottom: 1px solid var(--line); }
.catalog-song {
    display: grid;
    grid-template-columns: 22px 48px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 10px 8px 10px 4px;
    text-align: left;
    transition: background-color 0.25s;
}
.catalog-song:hover, .catalog-song.is-active { background: rgba(237, 234, 227, 0.05); }
.catalog-song__rank { font-size: 11px; color: var(--muted); text-align: right; }
.catalog-song.is-active .catalog-song__rank { color: var(--fg); }
.catalog-song img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.catalog-song__text { display: grid; gap: 3px; min-width: 0; }
.catalog-song__title, .catalog-song__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-body); }
.catalog-song__title { font-size: 15px; font-weight: 700; }
.catalog-song__sub { font-size: 13px; color: var(--muted); }
.catalog-song svg { width: 18px; height: 18px; opacity: 0; transition: opacity 0.25s; }
.catalog-song:hover svg, .catalog-song:focus-visible svg, .catalog-song.is-active svg { opacity: 1; }
.catalog-song:focus-visible, .catalog-latest:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Every platform as a button */
.music-links { display: grid; gap: 18px; padding: 72px var(--g) 128px; }
.music-links ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.music-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 56px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.music-links__play {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.music-links__play svg { width: 14px; height: 14px; margin-left: 2px; }
.music-links__name { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.music-links .platform-icon { margin-left: auto; }
.music-links a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.music-links a:hover .music-links__play { background: var(--bg); color: var(--fg); transform: scale(1.1); }
.music-links a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

@media (max-width: 1199px) {
    .catalog-songs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .catalog { grid-template-columns: 1fr; gap: 40px; }
    .catalog-latest { grid-template-columns: 160px minmax(0, 1fr); align-items: end; gap: 20px; }
}
@media (max-width: 809px) {
    .music-player .music-player__head { flex-direction: column; align-items: stretch; gap: 16px; }
    .music-player__tabs button { flex: 1; padding: 0 6px; }
    .music-player__tabs button:not([aria-selected="true"]) .music-player__tab-label { display: none; }
    .music-player__tabs button[aria-selected="true"] { flex: 2.6; padding-right: 14px; }
    .catalog-latest { grid-template-columns: 120px minmax(0, 1fr); }
    .catalog-latest__title { font-size: 28px; }
    .catalog-latest__play { width: 40px; height: 40px; left: 10px; bottom: 10px; }
    .catalog-songs { grid-template-columns: 1fr; }
    .music-links { padding: 48px var(--g) 80px; }
    .music-links ul { grid-template-columns: 1fr; }
}
.music-player__empty {
    display: grid;
    gap: 8px;
    padding: 40px var(--g);
    border: 1px dashed var(--line-strong);
}

.music-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--g);
    padding-bottom: 24px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.music-section-head h2 { font-size: 64px; }

.music-releases, .music-videos { padding: 0 var(--g) 128px; }
.music-releases__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--g); }
.music-release { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.music-release__cover { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.music-release__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.music-release:hover .music-release__cover img { transform: scale(1.04); }
.music-release__play {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.music-release__play svg { width: 24px; height: 24px; }
.music-release__play:hover { transform: scale(1.08); }
.music-release__play.is-playing { box-shadow: 0 0 0 6px rgba(237, 234, 227, 0.28); }
.music-release__play:focus-visible, .music-video__frame:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.music-release__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.music-release__info h3 { font-size: 32px; overflow-wrap: anywhere; }
.music-release__info .meta { flex-shrink: 0; color: var(--muted); }
.music-release__links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 11px; }
.music-release__links a { padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.music-release__links a:hover { border-color: var(--fg); }

/* Videos: a cinematic strip that scrolls sideways, like the home page frames */
.music-videos { padding: 0; }
.music-videos__sticky { padding: 0 0 128px; }
.music-videos.is-pinned .music-videos__sticky { position: sticky; top: var(--header); padding: 40px 0 64px; }
.music-videos .music-section-head { margin: 0 var(--g) 32px; }
.music-section-head h2 sup { margin-left: 10px; font-size: 13px; font-weight: 400; vertical-align: top; color: var(--muted); }
.music-videos__actions { display: flex; align-items: center; gap: 12px; }
.music-videos__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 var(--g);
    scroll-padding: 0 var(--g);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.music-videos.is-pinned .music-videos__track { overflow-x: hidden; scroll-snap-type: none; }
.music-videos__track::-webkit-scrollbar { display: none; }
.music-videos__track:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.music-video { flex: 0 0 clamp(300px, 44vw, 680px); margin: 0; scroll-snap-align: start; }
.music-video__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--bg-2);
    color: var(--fg);
    text-align: left;
}
iframe.music-video__frame { border: 0; }
.music-video__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    filter: brightness(0.82) saturate(0.9);
    transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.music-video__frame:hover img { transform: scale(1.05); filter: none; }
.music-video__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.45) 0%, rgba(14, 14, 14, 0) 28%, rgba(14, 14, 14, 0) 48%, rgba(14, 14, 14, 0.88) 100%);
}
.music-video__index { position: absolute; top: 16px; left: 18px; font-size: 11px; letter-spacing: 0.04em; color: rgba(237, 234, 227, 0.8); }
.music-video__info { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: flex-end; gap: 16px; }
.music-video__play {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    transition: transform 0.3s var(--ease);
}
.music-video__play svg { width: 20px; height: 20px; margin-left: 2px; }
.music-video__frame:hover .music-video__play { transform: scale(1.1); }
.music-video__text { display: grid; gap: 8px; min-width: 0; padding-bottom: 2px; }
.music-video__tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(237, 234, 227, 0.75); }
.music-video__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(30px, 3.6vw, 56px); line-height: 0.9; }
.music-video__frame:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.music-videos__progress { margin: 32px var(--g) 0; }

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

@media (max-width: 809px) {
    .music-player { padding: calc(var(--header) + 28px) var(--g) 0; gap: 20px; }
    .music-section-head { margin-bottom: 24px; }
    .music-section-head h2 { font-size: 44px; }
    .music-releases { padding-bottom: 80px; }
    .music-videos__sticky { padding-bottom: 80px; }
    .music-releases__grid { gap: 32px 16px; }
    .music-release__info { flex-direction: column; gap: 4px; }
    .music-release__info h3 { font-size: 26px; }
    .music-release__play { left: 10px; bottom: 10px; width: 44px; height: 44px; }
    .music-release__play svg { width: 20px; height: 20px; }
    .music-video { flex-basis: 86vw; }
    .music-video__name { font-size: 30px; }
    .music-video__play { width: 44px; height: 44px; }
    .music-video__info { left: 14px; right: 14px; bottom: 14px; gap: 12px; }
    .music-videos .frames__nav { display: none; }
    .music-videos .music-section-head { flex-wrap: wrap; align-items: flex-end; row-gap: 16px; }
    .music-videos__actions .btn { padding-inline: 14px; }
}
