:root {
    --ink: #0a0a0a;
    --paper: #f2f0e9;
    --white: #f8f7f2;
    --red: #ff3d24;
    --line: rgba(10, 10, 10, 0.2);
    --pad: clamp(20px, 3.2vw, 56px);
    --display: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
    --serif: Georgia, "Times New Roman", "Songti SC", serif;
    --tracking-cn-display: 0.018em;
    --tracking-cn-body: 0.035em;
    --tracking-caps: 0.16em;
    --tracking-en-display: -0.035em;
}

* { box-sizing: border-box; }

html { scroll-snap-type: y mandatory; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--display);
    line-height: 1.55;
    letter-spacing: 0.012em;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 22px var(--pad);
    color: var(--white);
    mix-blend-mode: difference;
    transition: transform 300ms ease;
}

.site-header.is-hidden { transform: translateY(-200%); }

.wordmark {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min-content;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.48;
    letter-spacing: -0.055em;
}

.wordmark sup {
    position: absolute;
    top: -3px;
    right: -16px;
    font-size: 7px;
    letter-spacing: 0;
}

.header-meta {
    display: flex;
    gap: 42px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: var(--tracking-caps);
}

.menu-button {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: 11px;
    letter-spacing: var(--tracking-caps);
    cursor: pointer;
}

.menu-icon,
.menu-icon::after {
    display: block;
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.menu-icon::after { transform: translateY(7px); }

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 0.7fr 2fr;
    align-content: center;
    gap: 40px;
    padding: var(--pad);
    background: #ff4b2f;
    color: var(--ink);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 500ms cubic-bezier(.77, 0, .18, 1), visibility 500ms;
}

.menu-overlay.is-open {
    clip-path: inset(0);
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 18px;
    right: var(--pad);
    border: 0;
    background: transparent;
    font-size: 56px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.menu-number { align-self: start; font-size: 11px; letter-spacing: 0.18em; }
.menu-links { display: flex; flex-direction: column; }

.menu-links a {
    display: grid;
    grid-template-columns: 60px 1fr;
    border-bottom: 1px solid rgba(10, 10, 10, 0.35);
    font-size: clamp(54px, 9vw, 138px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    transition: padding-left 200ms ease;
}

.menu-links a:hover { padding-left: 18px; }
.menu-links a span { padding-top: 10px; font-size: 10px; letter-spacing: var(--tracking-caps); }

.menu-statement {
    grid-column: 2;
    max-width: 580px;
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.45;
    letter-spacing: 0.015em;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #29110a;
    color: var(--white);
}

.hero-art { position: absolute; inset: 0; overflow: hidden; transition: background 650ms ease; }

.hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.48) 100%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%);
    content: "";
}

.hero-noise {
    position: absolute;
    inset: -50%;
    z-index: 4;
    opacity: .11;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
    animation: grain 550ms steps(2) infinite;
}

@keyframes grain {
    0% { transform: translate3d(-3%, 2%, 0); }
    25% { transform: translate3d(2%, -4%, 0); }
    50% { transform: translate3d(5%, 3%, 0); }
    75% { transform: translate3d(-4%, -2%, 0); }
    100% { transform: translate3d(1%, 4%, 0); }
}

.orb { position: absolute; border-radius: 50%; filter: blur(3px); transition: all 650ms cubic-bezier(.22,.61,.36,1); }
.orb-one { display: none; }
.orb-two { width: 48vw; height: 48vw; bottom: -24vw; left: 22vw; background: #f6ae2d; opacity: .68; }

.hero-symbol {
    position: absolute;
    z-index: 2;
    top: 9vh;
    right: 19vw;
    transition: opacity 250ms ease, transform 650ms cubic-bezier(.22,.61,.36,1);
}

.project-wordmark {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: clamp(320px, 35vw, 620px);
    height: clamp(250px, 29vw, 500px);
    font-family: var(--display);
    line-height: .78;
    letter-spacing: -.07em;
}
.project-wordmark b { position: relative; z-index: 2; display: block; line-height: .88; }
.project-wordmark b:nth-child(2) { margin-top: clamp(8px, .8vw, 14px); }
.project-wordmark small {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 24px;
    border-top: 1px solid currentColor;
    padding-top: 9px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .18em;
    text-align: right;
}
.qudao-wordmark { color: #0a0a0a; }
.qudao-wordmark::before {
    position: absolute;
    top: 1%;
    right: 0;
    width: 65%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffdb35;
    content: "";
}
.qudao-wordmark b:first-child { font-size: clamp(72px, 7.8vw, 140px); font-weight: 900; }
.qudao-wordmark b:nth-child(2) {
    align-self: flex-end;
    color: #f6f1e8;
    font-family: var(--serif);
    font-size: clamp(64px, 6.9vw, 126px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.055em;
}
.monster-wordmark { display: none; color: #f4e27a; }
.monster-wordmark::before {
    position: absolute;
    inset: 3% 8% 7% 18%;
    border: 1px solid rgba(244,226,122,.48);
    border-radius: 50%;
    content: "";
    transform: rotate(-11deg);
}
.monster-wordmark b:first-child { font-size: clamp(72px, 7.7vw, 138px); font-weight: 900; }
.monster-wordmark b:nth-child(2) {
    align-self: flex-end;
    color: #f6f1e8;
    font-family: var(--serif);
    font-size: clamp(58px, 6.1vw, 112px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.06em;
}
.hero[data-project="monster"] .qudao-wordmark { display: none; }
.hero[data-project="monster"] .monster-wordmark { display: flex; }

.scan-line { position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.24) 60.15%, transparent 60.3%); opacity: .5; }

.hero[data-project="qudao"] .hero-art { background: #1769ff; }
.hero[data-project="qudao"] .orb-one { width: 55vw; height: 55vw; top: 16vh; right: 7vw; background: #ffd836; }
.hero[data-project="qudao"] .orb-two { width: 34vw; height: 18vw; bottom: -6vw; left: 39vw; border-radius: 50% 50% 0 0; background: #39b86c; opacity: 1; }
.hero[data-project="qudao"] .hero-symbol { color: #0a0a0a; }

.hero[data-project="monster"] .hero-art { background: #301d44; }
.hero[data-project="monster"] .orb-two { width: 26vw; height: 26vw; bottom: 10vh; left: 46vw; background: #f4e27a; opacity: .95; }
.hero[data-project="monster"] .hero-symbol { color: #f4e27a; }

.hero-kicker { position: absolute; z-index: 8; top: 17vh; left: var(--pad); font-size: 10px; letter-spacing: .18em; }

.hero-projects { position: absolute; z-index: 8; top: 26vh; left: var(--pad); width: min(46vw, 710px); }

.hero-project {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: baseline;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.55);
    padding: 5px 0 7px;
    background: transparent;
    color: rgba(255,255,255,.48);
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease, padding-left 180ms ease;
}

.hero-project:hover,
.hero-project.is-active { color: #fff; padding-left: 8px; }
.project-index, .project-year { font-size: 10px; letter-spacing: var(--tracking-caps); }
.project-name { font-size: clamp(34px, 5.2vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: 0.008em; }
.hero-project[data-project-trigger="monster"] .project-name { letter-spacing: -0.03em; }

.hero-caption {
    position: absolute;
    z-index: 8;
    right: max(var(--pad), 86px);
    bottom: 64px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(140px, .6fr);
    gap: 18px 28px;
    width: min(52vw, 760px);
    align-items: end;
}
.hero-caption > div { grid-column: 1 / -1; }
.hero-caption h2 { white-space: nowrap; }
.eyebrow { display: block; margin-bottom: 16px; font-size: 9px; letter-spacing: .18em; }
.hero-caption h2 { margin: 0; font-size: clamp(48px, 6vw, 94px); font-weight: 700; line-height: 1.08; letter-spacing: var(--tracking-cn-display); }
.hero-caption p { max-width: 16em; margin: 0; font-family: var(--serif); font-size: clamp(16px, 1.4vw, 22px); line-height: 1.58; letter-spacing: var(--tracking-cn-body); }
.hero-caption a { grid-column: 2; border-top: 1px solid rgba(255,255,255,.5); padding-top: 12px; font-size: 10px; letter-spacing: var(--tracking-caps); }
.hero-caption a:hover { border-color: #fff; }

.opening {
    position: relative;
    contain: paint;
    overflow: hidden;
    background: #120c09;
    color: #f6f1e8;
}

.opening-art { position: absolute; inset: 0; }

.opening-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 30% 62%, rgba(0,0,0,.55));
    content: "";
}

.opening-kicker {
    position: absolute;
    z-index: 2;
    top: 18vh;
    left: var(--pad);
    margin: 0;
    font-size: 11px;
    letter-spacing: .2em;
}

.opening-statement {
    position: absolute;
    z-index: 2;
    top: 28vh;
    left: var(--pad);
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(32px, 3.6vw, 60px);
    line-height: 1.35;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.opening-title {
    position: absolute;
    z-index: 2;
    left: calc(var(--pad) * -0.15);
    right: 0;
    bottom: 0.02em;
    margin: 0;
    font-size: clamp(72px, 16.4vw, 320px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.065em;
    white-space: nowrap;
}

.scroll-hint { position: absolute; z-index: 8; bottom: 25px; left: var(--pad); font-size: 9px; letter-spacing: var(--tracking-caps); }
.opening-scroll { z-index: 3; bottom: calc(16.4vw * 0.82 + 36px); color: inherit; }
.scroll-hint span { margin-left: 8px; }

.section-pad { padding: clamp(90px, 13vw, 210px) var(--pad); }
.section-label { display: flex; gap: 28px; font-size: 10px; letter-spacing: .18em; }
.section-label span { color: #777; }

.manifesto { min-height: 100svh; background: var(--paper); }
.manifesto-line { margin: 8vh 0 0; font-size: clamp(58px, 11vw, 178px); font-weight: 800; line-height: 1.22; letter-spacing: -0.042em; }
.manifesto-line + .manifesto-line { margin-top: 0.16em; }
.manifesto-line.is-serif { padding-left: 11vw; font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.22; letter-spacing: -0.025em; margin-top: 0.2em; }
.manifesto-line.is-serif + .manifesto-line { margin-top: 0.22em; }
.manifesto-copy { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; width: min(68vw, 1050px); margin: 0 0 0 auto; border-top: 1px solid var(--ink); padding-top: 16px; }
.manifesto-copy p { margin: 0; font-size: clamp(15px, 1.35vw, 21px); line-height: 1.7; letter-spacing: var(--tracking-cn-body); }
.manifesto-copy p:first-child { font-weight: 700; }

.works { background: #111; color: var(--white); }
.section-head { display: grid; grid-template-columns: .7fr 1.5fr; gap: 40px; align-items: start; margin-bottom: clamp(60px, 9vw, 140px); }
.section-head h2 { margin: -.08em 0 0; font-size: clamp(46px, 6vw, 96px); line-height: 1.04; letter-spacing: var(--tracking-cn-display); }
.works .section-label span, .lab .section-label span { color: rgba(255,255,255,.45); }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2vw, 34px); }
.work-card { grid-column: span 6; margin-bottom: clamp(60px, 10vw, 150px); }
.work-card--wide { grid-column: span 7; }
.work-card--tall { grid-column: span 5; }
.work-card:nth-child(2) { padding-top: 14vw; }
.work-card:nth-child(4) { padding-top: 8vw; }
.work-card a { display: block; }

.work-visual {
    position: relative;
    min-height: clamp(430px, 58vw, 830px);
    overflow: hidden;
    transition: transform 500ms cubic-bezier(.22,.61,.36,1);
}

.work-card--tall .work-visual { min-height: clamp(520px, 68vw, 950px); }
.work-card:hover .work-visual { transform: scale(.985); }
.work-card:hover .work-visual > * { transform: translateY(-5px); }

.work-info { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 20px; border-top: 1px solid rgba(255,255,255,.55); margin-top: 16px; padding-top: 11px; align-items: start; }
.work-info > div { display: flex; gap: 18px; }
.work-info span, .work-info p { font-size: 10px; line-height: 1.55; letter-spacing: .12em; }
.work-info h3, .work-info p { margin: 0; }
.work-info h3 { font-size: 13px; line-height: 1.35; letter-spacing: .07em; }
.work-arrow { font-size: 18px !important; }

.visual-qudao { background: #1769ff; color: #070707; }
.visual-qudao .sun { position: absolute; width: 65%; aspect-ratio: 1; top: 7%; right: -11%; border-radius: 50%; background: #ffdb35; transition: transform 400ms ease; }
.qudao-type-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 5%;
    color: #f6f1e8;
}
.qudao-type-meta,
.qudao-type-foot {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(246,241,232,.66);
    padding-bottom: 10px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .18em;
}
.qudao-type-main {
    position: relative;
    z-index: 3;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    white-space: nowrap;
}
.qudao-type-main span:first-child {
    margin-left: -1.5%;
    color: #f6f1e8;
    font-size: clamp(88px, 12vw, 200px);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.08em;
}
.qudao-type-main span:last-child {
    align-self: flex-end;
    margin-right: -2%;
    color: #ffdb35;
    font-family: var(--serif);
    font-size: clamp(72px, 10.6vw, 176px);
    font-style: italic;
    line-height: .82;
    letter-spacing: -.07em;
}
.qudao-type-foot {
    align-items: end;
    border-top: 1px solid rgba(246,241,232,.66);
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 0;
}
.qudao-type-foot span:last-child { text-align: right; }
.waves { position: absolute; right: -10%; bottom: 5%; width: 80%; height: 35%; background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 22px, #58d278 23px 31px, transparent 32px 50px); transform: rotate(-8deg); opacity: .95; }

.visual-monster { display: grid; place-items: center; background: #301d44; color: #f6e7c1; }
.visual-monster .token { position: absolute; z-index: 1; width: 42%; aspect-ratio: 1; right: -10%; bottom: 8%; border-radius: 50%; background: #f4e27a; opacity: .7; }
.monster-type-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 5%;
    background:
        linear-gradient(90deg, transparent 61%, rgba(244,226,122,.18) 61.1%, transparent 61.2%),
        linear-gradient(0deg, transparent 48%, rgba(255,255,255,.08) 48.1%, transparent 48.2%);
}
.monster-type-meta,
.monster-type-foot {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(246,241,232,.58);
    padding-bottom: 10px;
    color: #f6f1e8;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .18em;
}
.monster-type-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    white-space: nowrap;
}
.monster-type-main span:first-child {
    margin-left: -1.5%;
    color: #f4e27a;
    font-size: clamp(88px, 12vw, 200px);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.08em;
}
.monster-type-main span:last-child {
    align-self: flex-end;
    margin-right: -2%;
    color: #f6f1e8;
    font-family: var(--serif);
    font-size: clamp(72px, 10.6vw, 176px);
    font-style: italic;
    line-height: .82;
    letter-spacing: -.07em;
}
.monster-type-foot {
    align-items: end;
    border-top: 1px solid rgba(246,241,232,.58);
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 0;
}
.monster-type-foot span:last-child { text-align: right; }

.interlude { overflow: hidden; background: #ff452e; color: var(--ink); padding: 28px 0 clamp(100px, 15vw, 220px); }
.ticker { display: flex; width: max-content; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0 16px; font-size: clamp(48px, 9vw, 130px); font-weight: 800; line-height: .9; letter-spacing: -.035em; animation: ticker 22s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.interlude blockquote { width: min(82vw, 1180px); margin: clamp(100px, 14vw, 200px) auto 32px; font-family: var(--serif); font-size: clamp(38px, 6vw, 88px); line-height: 1.25; letter-spacing: var(--tracking-cn-display); }
.interlude > p { width: min(82vw, 1180px); margin: 0 auto; font-size: 10px; letter-spacing: .18em; }
.mobile-break { display: none; }

.lab { background: #111; color: var(--white); }
.lab-list { border-top: 1px solid rgba(255,255,255,.65); }
.lab-item { display: grid; grid-template-columns: 90px 1.15fr 1fr 160px; gap: 24px; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.28); padding: 22px 0 25px; transition: background 220ms ease, color 220ms ease, padding 220ms ease; }
.lab-item[href]:hover { margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); background: var(--white); color: var(--ink); }
.lab-item h3, .lab-item p { margin: 0; }
.lab-item h3 { font-size: clamp(30px, 4.2vw, 70px); line-height: 1.1; letter-spacing: 0.025em; }
.lab-item p { font-family: var(--serif); font-size: clamp(15px, 1.35vw, 20px); line-height: 1.65; letter-spacing: var(--tracking-cn-body); }
.lab-item > span { font-size: 9px; letter-spacing: .14em; }
.lab-item > span:last-child { text-align: right; }
.lab-item--archived { color: rgba(255,255,255,.72); }
.lab-item--archived h3 { color: var(--white); }
.lab-item--live { color: var(--white); }
.lab-item--live > span:last-child { color: #d9ff43; }
.lab-item--live:hover > span:last-child { color: var(--ink); }
.lab-archive-note { max-width: 26em; margin: 0 0 .2em auto; color: rgba(255,255,255,.58); font-family: var(--serif); font-size: clamp(13px, 1.1vw, 17px); line-height: 1.7; letter-spacing: var(--tracking-cn-body); }

.footer { overflow: hidden; background: var(--ink); color: var(--white); padding: 80px var(--pad) 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: 18px; }
.footer-top p { margin: 0; font-size: 10px; letter-spacing: .18em; }
.footer-top a { font-family: var(--serif); font-size: clamp(30px, 4vw, 64px); line-height: 1.2; letter-spacing: 0.01em; }
.footer-logo { margin: 12vw 0 9vw; font-size: 15.3vw; font-weight: 900; line-height: .7; letter-spacing: -.06em; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .14em; }

.reveal { opacity: 0; transform: translateY(38px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.screen {
    height: 100svh;
    max-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.screen.section-pad {
    display: flex;
    flex-direction: column;
    padding: clamp(78px, 10vh, 108px) var(--pad) clamp(22px, 3.4vh, 42px);
}

.screen .section-head {
    flex: none;
    margin-bottom: clamp(14px, 2.2vh, 28px);
}

.screen .section-head h2 { font-size: clamp(28px, 4.8svh, 64px); }

.manifesto.screen {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(88px, 10vh, 118px) var(--pad) clamp(36px, 5vh, 58px);
}

.manifesto.screen .section-label {
    position: absolute;
    top: clamp(88px, 10vh, 118px);
    left: var(--pad);
}

.manifesto-stage {
    display: grid;
    flex: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(28px, 4vh, 48px);
    min-height: 0;
    padding-top: clamp(32px, 5vh, 62px);
}

.manifesto.screen .manifesto-lines { align-self: center; display: flex; flex-direction: column; }
.manifesto.screen .manifesto-line {
    margin: 0;
    font-size: clamp(64px, min(10vw, 14vh), 188px);
    line-height: 1;
}
.manifesto.screen .manifesto-line + .manifesto-line { margin-top: 0.06em; }
.manifesto.screen .manifesto-line.is-serif { margin-top: 0.08em; }
.manifesto.screen .manifesto-line.is-serif + .manifesto-line { margin-top: 0.1em; }

.work-grid { display: contents; }

.works-intro.screen {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(88px, 10vh, 118px) var(--pad) clamp(38px, 6vh, 72px);
    background: #111;
    color: var(--white);
}

.works-intro .section-label { flex: none; }

.works-intro-body {
    display: grid;
    flex: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(30px, 5vh, 62px);
    min-height: 0;
    padding-top: clamp(28px, 4vh, 52px);
}

.works-intro-body h2 {
    align-self: center;
    margin: 0;
    font-size: clamp(58px, min(8.8vw, 13.5vh), 164px);
    line-height: 1.02;
    letter-spacing: var(--tracking-cn-display);
}

.works-intro-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(72vw, 1120px);
    margin-left: auto;
    border-top: 1px solid rgba(255,255,255,.62);
}

.works-intro-index > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: baseline;
    padding: 15px 0 0;
}

.works-intro-index > div + div { border-left: 1px solid rgba(255,255,255,.24); padding-left: 24px; }
.works-intro-index span,
.works-intro-index small { font-size: 9px; font-weight: 700; line-height: 1.2; letter-spacing: var(--tracking-caps); }
.works-intro-index strong { font-size: clamp(24px, 3vw, 48px); line-height: 1.05; letter-spacing: .015em; }
.works-intro-index small { justify-self: end; color: rgba(255,255,255,.58); }

.works-showcase.screen {
    display: flex;
    flex-direction: column;
    padding: clamp(88px, 10vh, 116px) var(--pad) clamp(24px, 3.5vh, 42px);
    background: #111;
    color: var(--white);
}

.works-showcase-meta {
    flex: none;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(16px, 2.5vh, 28px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: var(--tracking-caps);
}

.works-showcase-grid {
    --showcase-gap: clamp(18px, 2vw, 30px);
    display: grid;
    flex: 1;
    grid-auto-columns: calc((100% - var(--showcase-gap)) / 2);
    grid-auto-flow: column;
    grid-template-rows: minmax(0, 1fr);
    gap: var(--showcase-gap);
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.works-showcase-grid::-webkit-scrollbar { display: none; }

.works-showcase .work-card {
    display: flex;
    flex-direction: column;
    grid-column: auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}

.works-showcase .work-card a {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.works-showcase .work-visual,
.works-showcase .work-card--tall .work-visual {
    flex: 1;
    height: auto;
    min-height: 0;
}

.works-showcase .work-info { grid-template-columns: 1fr 1fr auto; gap: 12px; }

.interlude.screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(88px, 14vh, 150px) 0 clamp(48px, 8vh, 96px);
}

.interlude.screen blockquote { margin: 0 auto; }

.lab.screen .lab-list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.lab.screen .lab-item {
    flex: 1;
    align-items: center;
    min-height: 0;
    padding: 0;
}

.lab.screen .lab-item h3 { font-size: clamp(22px, 3.6svh, 48px); }

.footer.screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(88px, 12vh, 132px) var(--pad) 28px;
}

.footer.screen .footer-logo {
    margin: 0;
    font-size: clamp(56px, 12vw, 210px);
    line-height: 0.86;
}

.motif-frame {
    --arm: 22px;
    position: fixed;
    z-index: 4;
    pointer-events: none;
    color: #e23a22;
}

.motif-frame span {
    position: absolute;
    width: var(--arm);
    height: var(--arm);
    border: 1.5px solid currentColor;
}

.motif-frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.motif-frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.motif-frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.motif-frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

body.menu-open .motif-frame { opacity: 0; }

@media (max-width: 900px) {
    .header-meta { display: none; }
    .site-header { grid-template-columns: 1fr 1fr; }
    .menu-overlay { grid-template-columns: 1fr; padding-top: 100px; }
    .menu-number { display: none; }
    .menu-links a { grid-template-columns: 36px 1fr; }
    .menu-statement { grid-column: 1; }
    .hero-projects { top: 25vh; width: calc(100% - var(--pad) * 2); }
    .hero-caption { right: auto; left: var(--pad); bottom: 62px; grid-template-columns: 1fr; width: calc(100% - var(--pad) * 2); }
    .hero-caption h2 { font-size: clamp(46px, 12vw, 76px); }
    .hero-caption p, .hero-caption a { display: none; }
    .hero-symbol { top: calc(25vh + 160px); right: var(--pad); opacity: .9; }
    .project-wordmark { width: min(62vw, 390px); height: min(25vh, 230px); }
    .hero[data-project="monster"] .hero-symbol { top: calc(25vh + 160px); right: var(--pad); opacity: .96; }
    .opening-statement { top: 22vh; font-size: clamp(26px, 6.4vw, 36px); white-space: normal; max-width: 9.5em; }
    .opening-title { font-size: 18vw; bottom: 7vh; }
    .opening-scroll { bottom: 34vh; }
    .opening-kicker { top: 16vh; }
    .project-name { font-size: clamp(30px, 9vw, 52px); }
    .project-year { display: none; }
    .manifesto-copy { width: min(78vw, 760px); }
    .section-head { grid-template-columns: 1fr; }
    .manifesto.screen .manifesto-line { font-size: clamp(46px, 12vw, 84px); }
    .lab.screen .lab-item { grid-template-columns: 48px 1fr auto; gap: 12px; }
    .lab.screen .lab-item p { display: none; }
    .lab.screen .lab-item > span:last-child { grid-column: auto; text-align: right; }
    .footer.screen .footer-top { display: block; }
    .footer.screen .footer-top a { display: inline-block; margin-top: 16px; }
    .motif-frame { --arm: 14px; }
}

@media (max-width: 560px) {
    .site-header { padding-top: 17px; }
    .wordmark { font-size: 20px; }
    .hero-kicker { top: 14vh; }
    .hero-projects { top: 22vh; }
    .hero-project { grid-template-columns: 28px 1fr; }
    .project-index { font-size: 8px; }
    .hero-symbol,
    .hero[data-project="monster"] .hero-symbol { top: calc(22vh + 146px); right: var(--pad); }
    .project-wordmark { width: min(76vw, 310px); height: min(23vh, 190px); }
    .project-wordmark b { line-height: .9; }
    .project-wordmark b:nth-child(2) { margin-top: 6px; }
    .project-wordmark small { margin-top: 13px; font-size: 7px; }
    .qudao-wordmark b:first-child,
    .monster-wordmark b:first-child { font-size: clamp(52px, 15vw, 66px); }
    .qudao-wordmark b:nth-child(2),
    .monster-wordmark b:nth-child(2) { font-size: clamp(44px, 13vw, 58px); }
    .hero-caption { bottom: 70px; }
    .hero-caption h2 { line-height: 1.12; letter-spacing: 0.025em; }
    .scroll-hint { bottom: 24px; }
    .manifesto.screen .manifesto-line { font-size: clamp(42px, 13vw, 66px); letter-spacing: -0.03em; }
    .manifesto-line.is-serif { padding-left: 5vw; }
    .manifesto.screen { padding-top: 84px; padding-bottom: 30px; }
    .manifesto.screen .section-label { top: 84px; }
    .manifesto-stage { gap: 26px; padding-top: 36px; }
    .manifesto-copy { grid-template-columns: 1fr; gap: 12px; width: 100%; margin: 0; padding-top: 13px; }
    .manifesto-copy p { font-size: clamp(14px, 4vw, 17px); line-height: 1.65; }
    .works-intro.screen { padding-top: 84px; padding-bottom: 30px; }
    .works-intro-body { gap: 30px; padding-top: 34px; }
    .works-intro-body h2 { font-size: min(9.6vw, 46px); line-height: 1.08; }
    .works-intro-index { grid-template-columns: 1fr; width: 100%; }
    .works-intro-index > div { grid-template-columns: 28px 1fr auto; padding-top: 13px; padding-bottom: 13px; }
    .works-intro-index > div + div { border-top: 1px solid rgba(255,255,255,.24); border-left: 0; padding-left: 0; }
    .works-intro-index strong { font-size: 24px; }
    .works-intro-index small { font-size: 7px; }
    .works-showcase.screen { padding: 84px var(--pad) 26px; }
    .works-showcase-meta { margin-bottom: 14px; font-size: 7px; }
    .works-showcase-grid { --showcase-gap: 14px; grid-auto-columns: min(82vw, 320px); }
    .works-showcase .work-info { grid-template-columns: 1fr auto; }
    .works-showcase .work-info > p { grid-column: 1; }
    .works-showcase .work-arrow { grid-row: 1 / span 2; grid-column: 2; }
    .section-head h2 { font-size: clamp(30px, 9.2vw, 42px); line-height: 1.14; letter-spacing: 0.025em; }
    .interlude blockquote { font-size: clamp(32px, 9.3vw, 48px); }
    .mobile-break { display: inline; }
    .work-info { grid-template-columns: 1fr auto; }
    .work-info > p { grid-column: 1; }
    .work-arrow { grid-row: 1 / span 2; grid-column: 2; }
    .lab-item { padding: 18px 0 22px; }
    .footer-bottom { display: grid; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-snap-type: y proximity; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
