:root {
    color-scheme: light;
    --paper: #f3efe6;
    --paper-strong: #ebe4d8;
    --ink: #171717;
    --muted: #6f6a62;
    --line: rgba(23, 23, 23, 0.18);
    --accent: #7957ff;
    --pink: #f1a6c9;
    --mint: #bfe5cd;
    --yellow: #f3d67b;
    --panel: #20201f;
    --panel-text: #f7f2e8;
    --shadow: 0 24px 80px rgba(39, 33, 24, 0.12);
    --serif: "Times New Roman", "Noto Serif SC", "Songti SC", STSong, serif;
    --sans: "Times New Roman", "PingFang SC", "Microsoft YaHei", serif;
}

[data-theme="dark"] {
    color-scheme: dark;
    --paper: #141413;
    --paper-strong: #1d1c1a;
    --ink: #f1ece3;
    --muted: #aaa399;
    --line: rgba(241, 236, 227, 0.16);
    --panel: #ece6dc;
    --panel-text: #191918;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    transition: background-color 240ms ease, color 240ms ease;
}

button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    z-index: 100;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1060px, calc(100% - 40px));
    height: 62px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 13px 0 26px;
    border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--paper) 58%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 14px 36px rgba(24, 21, 16, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: height 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    height: 56px;
    background: color-mix(in srgb, var(--paper) 76%, transparent);
    border-color: color-mix(in srgb, var(--ink) 15%, transparent);
    box-shadow: 0 18px 44px rgba(24, 21, 16, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .site-header {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .site-header.is-scrolled {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.brand-name {
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
    position: relative;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.site-nav a.is-active {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 10%, transparent);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button, .menu-button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.theme-toggle svg {
    grid-area: 1 / 1;
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    transition: opacity 180ms ease, transform 180ms ease;
}

.moon-icon { opacity: 0; transform: rotate(-25deg) scale(.7); }
[data-theme="dark"] .sun-icon { opacity: 0; transform: rotate(25deg) scale(.7); }
[data-theme="dark"] .moon-icon { opacity: 1; transform: rotate(0) scale(1); }
.menu-button { display: none; }

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: clamp(30px, 4vw, 80px);
    padding: 120px clamp(24px, 7vw, 120px) 90px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 49.94%, var(--line) 50%, transparent 50.06%),
        linear-gradient(0deg, transparent 49.94%, color-mix(in srgb, var(--line) 60%, transparent) 50%, transparent 50.06%);
    background-size: 100% 100%, 100% 100%;
    opacity: .4;
}

.eyebrow {
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    font: 500 clamp(54px, 6.4vw, 104px)/.98 var(--serif);
    letter-spacing: -.065em;
}

.hero h1 em {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: .06em;
    text-underline-offset: .09em;
}

.hero-intro {
    max-width: 490px;
    margin: 34px 0 0;
    color: var(--muted);
    font: 16px/1.9 var(--sans);
}

.hero-actions, .app-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.app-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.app-actions .button {
    flex: 1 1 190px;
}

.button-secondary {
    border: 1px solid color-mix(in srgb, var(--panel-text) 35%, transparent);
    background: transparent;
    color: var(--panel-text);
}

.button-secondary:hover {
    border-color: var(--panel-text);
    background: color-mix(in srgb, var(--panel-text) 8%, transparent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--accent); color: white; }
.button-light { background: var(--panel-text); color: var(--panel); }
.button-light span { margin-left: 16px; opacity: .55; font-size: 10px; letter-spacing: .08em; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 650;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -2px); }

.hero-art {
    position: relative;
    justify-self: center;
    width: min(42vw, 650px);
    aspect-ratio: 1;
}

.hero-image {
    position: absolute;
    inset: 10%;
    background: url("assets/anan-aurora.png") center / cover no-repeat;
    border-radius: 46% 54% 58% 42% / 48% 38% 62% 52%;
    filter: saturate(1.15) contrast(1.02);
    animation: morph 14s ease-in-out infinite alternate;
    box-shadow: 0 38px 100px rgba(128, 83, 205, .18);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    mix-blend-mode: overlay;
}

.orbit { position: absolute; inset: 3%; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { transform: rotate(17deg) scaleY(.73); }
.orbit-two { transform: rotate(-28deg) scaleY(.84); border-style: dashed; }

.art-note {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .18em;
}

.art-note-top { top: 7%; right: 7%; }
.art-note-bottom { bottom: 10%; left: 3%; }

.hero-stamp {
    position: absolute;
    right: -1%;
    bottom: 4%;
    width: 124px;
    height: 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    transform: rotate(9deg);
    font-size: 7px;
    letter-spacing: .14em;
}

.hero-stamp strong { font: 600 16px/1 var(--serif); letter-spacing: 0; }

.hero-index {
    position: absolute;
    left: clamp(24px, 4vw, 72px);
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .15em;
}

.hero-index i { width: 20px; height: 1px; background: var(--line); }

@keyframes morph {
    0% { border-radius: 46% 54% 58% 42% / 48% 38% 62% 52%; transform: rotate(-1deg) scale(.98); }
    100% { border-radius: 58% 42% 44% 56% / 39% 57% 43% 61%; transform: rotate(2deg) scale(1.02); }
}

.ticker {
    overflow: hidden;
    padding: 16px 0;
    border-block: 1px solid var(--line);
    background: var(--yellow);
    color: #181715;
}

.ticker-track {
    width: max-content;
    display: flex;
    gap: 26px;
    align-items: center;
    animation: ticker 26s linear infinite;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.ticker-track b { font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 120px); }

.manifesto {
    display: grid;
    grid-template-columns: .65fr 1.4fr .8fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: start;
    border-bottom: 1px solid var(--line);
}

.section-kicker { display: flex; align-items: center; gap: 18px; }
.section-kicker span { font: 42px/1 var(--serif); color: var(--accent); }
.section-kicker p { margin: 0; color: var(--muted); font-size: 12px; }

.manifesto-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 2; }
.manifesto-copy .lead { margin-bottom: 24px; color: var(--ink); font: 500 clamp(28px, 3.4vw, 48px)/1.25 var(--serif); letter-spacing: -.035em; }

.manifesto-facts { margin: 0; }
.manifesto-facts div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.manifesto-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.manifesto-facts dd { margin: 0; font-size: 12px; font-weight: 700; }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 54px;
}

.section-heading h2, .page-hero h1, .music-copy h2, .contact-title h2 {
    margin: 0;
    font: 500 clamp(42px, 5.4vw, 78px)/1.04 var(--serif);
    letter-spacing: -.055em;
}

.section-heading > p, .page-hero > p, .music-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.app-feature {
    min-height: 760px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    background: var(--panel);
    color: var(--panel-text);
    box-shadow: var(--shadow);
}

.app-copy { display: flex; flex-direction: column; padding: clamp(42px, 6vw, 90px); }
.app-feature + .app-feature { margin-top: clamp(32px, 5vw, 72px); }
.app-title-row { display: flex; gap: 18px; align-items: center; }
.app-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 15px; font: 600 30px/1 var(--serif); }
.app-icon-image { overflow: hidden; padding: 0; border: 0; background: #f5f1e8; }
.app-icon-image img { width: 100%; height: 100%; object-fit: cover; }
.app-overline { margin: 0 0 5px; opacity: .52; font-size: 9px; letter-spacing: .16em; }
.app-title-row h3 { margin: 0; font: 500 38px/1 var(--serif); }
.app-slogan { max-width: 580px; margin: 70px 0 18px; font: 500 clamp(40px, 4vw, 64px)/1.08 var(--serif); letter-spacing: -.05em; }
.app-description { max-width: 600px; margin: 0; opacity: .63; font-size: 14px; line-height: 1.9; }

.feature-list { margin: 42px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid color-mix(in srgb, var(--panel-text) 15%, transparent); font-size: 13px; }
.feature-list li span { opacity: .4; font-size: 9px; }
.light-link { color: var(--panel-text); }
.app-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: auto; padding-top: 48px; opacity: .38; font-size: 8px; letter-spacing: .12em; }

.phone-stage {
    position: relative;
    min-height: 760px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #d7c2f5;
}

.phone-stage::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #ffb7d3;
    filter: blur(80px);
    opacity: .7;
    transform: translate(35%, -35%);
}

.project-showcase {
    background: #d7c2f5;
}

.project-showcase::before {
    display: none;
}

.chrome-showcase {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(18px, 3vw, 44px);
    background: radial-gradient(ellipse at 25% 25%, #eadff5, transparent 65%), linear-gradient(145deg, #d3c9e8, #bfcfdf);
}
.chrome-browser-frame {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #4c4c4c;
    border-radius: 12px;
    background: #101010;
    color: #ddd;
    box-shadow: 0 25px 45px -12px #29223866;
}
.chrome-browser-tabs { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #252525; font: 10px/1 var(--sans); }
.chrome-window-dots { display: flex; flex-shrink: 0; gap: 5px; }
.chrome-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #777; }
.chrome-browser-tab { display: flex; align-items: center; gap: 8px; align-self: end; width: min(180px, 55%); height: 27px; padding: 0 12px; border-radius: 7px 7px 0 0; background: #343434; }
.chrome-browser-tab > span:last-child { margin-left: auto; color: #999; }
.chrome-tab-mark { display: grid; place-items: center; width: 15px; height: 11px; border-radius: 3px; background: #ff0033; color: white; font-size: 7px; }
.chrome-new-tab { color: #aaa; font-size: 16px; }
.chrome-browser-toolbar { display: flex; align-items: center; gap: 12px; padding: 7px 12px; background: #343434; font: 10px/1 var(--sans); }
.chrome-browser-controls { flex-shrink: 0; color: #aaa; }
.chrome-browser-address { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 7px 10px; border-radius: 20px; background: #202020; color: #bcbcbc; }
.chrome-browser-menu { font-size: 15px; color: #aaa; }
.chrome-browser-frame .chrome-browser-screen { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transform: none; }

.project-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.anan-showcase { padding: 36px; background: radial-gradient(ellipse at 25% 20%, #f5ecfb, transparent 65%), linear-gradient(145deg, #d7c2f5, #efd3dd); }
.anan-screen { position: relative; z-index: 1; width: min(300px, 78%); height: auto; border: 8px solid #1c1b19; border-radius: 36px; box-shadow: 0 28px 60px rgba(36, 22, 48, .25); }

.phone-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.52); filter: blur(60px); }

.phone {
    position: relative;
    z-index: 2;
    width: min(330px, 70%);
    aspect-ratio: .49;
    padding: 10px;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 52px;
    background: #151515;
    box-shadow: 0 42px 90px rgba(61, 39, 88, .3);
    transform: rotate(4deg) translateY(22px);
}

.phone-speaker { position: absolute; z-index: 4; top: 18px; left: 50%; width: 80px; height: 22px; border-radius: 20px; background: #151515; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 16px 16px 20px; border-radius: 42px; background: #f6f1e8; color: #1b1a19; }
.phone-status { display: flex; justify-content: space-between; font-size: 8px; font-weight: 700; }
.phone-nav { display: grid; grid-template-columns: 1fr auto 10px; align-items: center; gap: 10px; margin-top: 24px; }
.phone-nav strong { font: 600 20px/1 var(--serif); }
.phone-nav span { padding: 6px 10px; border: 1px solid #bbb4ac; border-radius: 12px; font-size: 8px; }
.phone-nav i { width: 8px; height: 8px; border-radius: 50%; background: #1d1d1d; }
.assistant-orb { width: 112px; height: 112px; margin: 52px auto 16px; border-radius: 30px; background: url("assets/anantrans-icon.png") center / cover; box-shadow: 0 12px 35px rgba(119,71,189,.2); }
.phone-greeting { margin: 0 0 42px; text-align: center; font: 500 16px/1 var(--serif); }
.phone-chat { width: fit-content; max-width: 85%; padding: 10px 12px; border-radius: 14px; font-size: 8px; line-height: 1.5; }
.user-chat { margin-left: auto; background: #ebe5ef; }
.execution-card { margin-top: 10px; padding: 11px; border: 1px solid #d4cdc3; border-radius: 14px; font-size: 7px; }
.execution-card > div { display: flex; justify-content: space-between; }
.execution-card p { margin: 10px 0; }
.execution-card small { display: block; padding: 8px; border-radius: 8px; background: #eee7f6; line-height: 1.5; }
.execution-card small b { display: block; margin-bottom: 4px; }
.phone-input { position: absolute; inset: auto 14px 17px; display: flex; align-items: center; justify-content: space-between; padding: 7px 7px 7px 13px; border: 1px solid #ccc4ba; border-radius: 20px; font-size: 7px; color: #968f87; }
.phone-input b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; font-size: 12px; }
.floating-label { position: absolute; z-index: 3; padding: 9px 13px; border: 1px solid #1e1d1b; background: #f6f1e8; color: #1e1d1b; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.label-private { top: 20%; left: 5%; transform: rotate(-7deg); }
.label-agent { right: 5%; bottom: 17%; transform: rotate(8deg); }

.work-notes { display: flex; justify-content: space-between; gap: 30px; margin-top: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.work-notes span { color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.work-notes h3 { margin: 9px 0 0; font: 500 30px/1.2 var(--serif); }
.work-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.work-index { padding-top: clamp(64px, 7vw, 100px); }
.work-index-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}
.work-index-head h2 {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .18em;
}
.work-index-head p { display: flex; gap: 30px; margin: 0; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.project-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.project-list-item { position: relative; border-top: 1px solid var(--line); transition: background-color 240ms ease; }
.project-list-item::before {
    content: "";
    position: absolute;
    inset: -1px auto -1px 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 280ms cubic-bezier(.2,.72,.2,1);
}
.project-list-item:hover { background: color-mix(in srgb, var(--paper-strong) 72%, transparent); }
.project-list-item:hover::before { transform: scaleY(1); }
.project-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) minmax(300px, 420px);
    gap: clamp(28px, 4vw, 64px);
    padding: clamp(42px, 5vw, 72px) clamp(16px, 2vw, 28px);
}
.project-number { padding-top: 6px; color: var(--muted); font: 500 38px/1 var(--serif); }
.project-heading { display: flex; align-items: center; gap: 18px; }
.project-category { margin: 0 0 7px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.project-heading h2 { margin: 0; font: 500 clamp(38px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.04em; }
.project-summary { max-width: 630px; margin: 34px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.project-tags li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.project-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 38px; }
.project-downloads a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    align-items: center;
    padding: 14px 15px;
    border: 1px solid var(--line);
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.project-downloads a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.project-downloads span { font: 500 16px/1 var(--serif); }
.project-downloads small { grid-row: 2; color: var(--muted); font-size: 7px; letter-spacing: .12em; }
.project-downloads b { grid-column: 2; grid-row: 1 / 3; font-size: 16px; font-weight: 400; transition: transform 180ms ease; }
.project-downloads a:hover b { transform: translateY(3px); }
.project-thumbnail { align-self: start; margin: 0; overflow: hidden; background: #d7c2f5; }
.project-thumbnail img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 500ms cubic-bezier(.2,.72,.2,1); }
.project-list-item:hover .project-thumbnail img { transform: scale(1.025); }
.project-thumbnail figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px 0; color: var(--muted); font-size: 7px; letter-spacing: .12em; }
.project-thumbnail-anan { padding: 24px 22px 12px; background: linear-gradient(145deg, #e4d7f6, #f1dee7); }
.project-thumbnail-anan img { width: auto; max-width: 85%; height: 320px; aspect-ratio: auto; margin: 0 auto; border: 5px solid #1c1b19; border-radius: 22px; }
.project-thumbnail-chrome { padding: 22px 16px 12px; background: linear-gradient(145deg, #d3c9e8, #bfcfdf); }
.project-list-item:hover .project-thumbnail-chrome .chrome-browser-screen { transform: none; }
.work-index-note { display: flex; justify-content: space-between; gap: 30px; padding: 30px 0; color: var(--muted); }
.work-index-note > span { font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.work-index-note p { margin: 0; font: 500 clamp(22px, 2.4vw, 34px)/1.3 var(--serif); color: var(--ink); }

.writing-section { background: var(--paper-strong); }
.article-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-card { position: relative; min-height: 410px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 200ms ease, color 200ms ease; }
.article-card:hover { background: var(--ink); color: var(--paper); }
.article-card > p:first-child, .article-copy > p { display: flex; justify-content: space-between; margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.article-card h3 { margin: 58px 0 0; font: 500 clamp(27px, 2.6vw, 42px)/1.25 var(--serif); letter-spacing: -.03em; }
.article-summary { margin: 25px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-index { position: absolute; right: 26px; bottom: 22px; color: var(--muted); font: 40px/1 var(--serif); }
.article-card-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 0; }
.article-art { min-height: 410px; padding: 28px; background: #b9e0ce; color: #1a1a19; }
.article-art::before, .article-art::after { content: ""; position: absolute; border-radius: 50%; }
.article-art-one { position: relative; overflow: hidden; }
.article-art-one::before { width: 220px; height: 220px; right: -30px; bottom: -30px; background: #7857ff; }
.article-art-one::after { width: 130px; height: 130px; right: 45px; bottom: 45px; border: 1px solid #1a1a19; }
.article-art span { position: relative; z-index: 1; font: 800 clamp(30px, 3vw, 48px)/.9 var(--sans); letter-spacing: -.07em; }
.article-copy { display: flex; flex-direction: column; padding: 30px 30px 30px 0; }
.article-copy h3 { margin-top: auto; }
.article-arrow { align-self: flex-end; margin-top: 20px; font-size: 26px; }

.writing-index { background: var(--paper); }
.writing-index-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}
.writing-index-head h2 { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.writing-index-head p { display: flex; gap: 30px; margin: 0; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.essay-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.essay-list > li { position: relative; border-top: 1px solid var(--line); }
.essay-list > li::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -1px auto -1px 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 280ms cubic-bezier(.2,.72,.2,1);
}
.essay-list > li:hover::before { transform: scaleY(1); }
.essay-row {
    display: grid;
    grid-template-columns: 62px 130px minmax(0, 1fr) 48px;
    gap: clamp(24px, 4vw, 58px);
    align-items: start;
    padding: clamp(34px, 4vw, 54px) clamp(16px, 2vw, 28px);
    transition: background-color 220ms ease;
}
.essay-row:hover { background: color-mix(in srgb, var(--paper-strong) 72%, transparent); }
.essay-number { color: var(--muted); font: 500 38px/1 var(--serif); }
.essay-meta { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.essay-meta span { color: var(--ink); font-weight: 700; }
.essay-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.essay-labels span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.essay-content h2 { max-width: 780px; margin: 0; font: 500 clamp(28px, 3.3vw, 48px)/1.18 var(--serif); letter-spacing: -.035em; transition: color 180ms ease, transform 220ms ease; }
.essay-row:hover .essay-content h2 { color: var(--accent); transform: translateX(5px); }
.essay-content p { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.essay-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 220ms ease; }
.essay-row:hover .essay-arrow { border-color: var(--accent); background: var(--accent); color: white; transform: translate(3px, -3px); }
.writing-index-foot { display: flex; justify-content: space-between; gap: 30px; padding: 34px 0 0; }
.writing-index-foot > span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.writing-index-foot p { margin: 0; font: 500 clamp(22px, 2.4vw, 34px)/1.3 var(--serif); }

.article-page { width: min(100%, 1440px); margin: 0 auto; }
.article-detail-header { padding: clamp(150px, 18vh, 210px) clamp(24px, 12vw, 180px) clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.article-breadcrumb { display: inline-flex; margin-bottom: clamp(52px, 7vw, 90px); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.article-breadcrumb:hover { color: var(--accent); }
.article-detail-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.article-detail-header h1 { max-width: 1040px; margin: 26px 0 0; font: 500 clamp(48px, 7.2vw, 102px)/1.04 var(--serif); letter-spacing: -.055em; }
.article-detail-header > p { max-width: 720px; margin: 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.article-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.article-detail-tags span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.article-cover { width: min(calc(100% - 48px), 1180px); margin: clamp(60px, 8vw, 110px) auto 0; }
.article-cover img { width: 100%; max-height: 760px; object-fit: cover; }
.article-body { width: min(calc(100% - 48px), 760px); margin: 0 auto; padding: clamp(80px, 10vw, 140px) 0; font: 17px/2 var(--serif); }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 2.2em 0 .8em; font: 500 clamp(34px, 4vw, 52px)/1.22 var(--serif); letter-spacing: -.035em; }
.article-body h3 { margin: 2em 0 .7em; font: 500 clamp(25px, 3vw, 34px)/1.3 var(--serif); }
.article-body h4 { margin: 1.8em 0 .6em; font: 700 19px/1.4 var(--sans); }
.article-body p { margin: 0 0 1.5em; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-body strong { font-weight: 700; }
.article-body code { padding: .15em .4em; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-strong); font: .82em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.article-body pre { margin: 2.2em 0; padding: 22px; overflow-x: auto; background: #090909; color: #f4f0e8; }
.article-body pre code { padding: 0; border: 0; background: transparent; color: inherit; }
.article-body blockquote { margin: 2.2em 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 1.12em; }
.article-body ul, .article-body ol { margin: 1.6em 0; padding-left: 1.4em; }
.article-body li { margin: .45em 0; padding-left: .3em; }
.article-body hr { margin: 4em 0; border: 0; border-top: 1px solid var(--line); }
.article-body figure { margin: 2.8em calc(50% - 50vw); text-align: center; }
.article-body figure img { width: min(calc(100vw - 48px), 1120px); max-height: 780px; margin: 0 auto; object-fit: contain; }
.article-detail-foot { width: min(calc(100% - 48px), 1120px); display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 auto; padding: 34px 0 clamp(90px, 10vw, 140px); border-top: 1px solid var(--line); }
.article-detail-foot span { color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.article-detail-foot a { font: 500 clamp(24px, 3vw, 38px)/1 var(--serif); }
.article-detail-foot a:hover { color: var(--accent); }

.page-hero { padding: clamp(140px, 17vh, 190px) clamp(24px, 7vw, 120px) clamp(46px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 em { color: var(--accent); font-weight: 500; }
.page-hero > p { max-width: 560px; margin-top: 32px; font-size: 14px; line-height: 1.9; }

.page-pager { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px clamp(24px, 7vw, 120px) clamp(84px, 10vw, 140px); }
.page-pager > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.page-pager a { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(24px, 3.2vw, 42px)/1 var(--serif); letter-spacing: -.03em; }
.page-pager a span { transition: transform 180ms ease; }
.page-pager a:hover { color: var(--accent); }
.page-pager a:hover span { transform: translateX(8px); }

.visuals-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 130px); }
.visuals-intro { position: sticky; top: 120px; align-self: start; }
.visuals-intro h2 em { color: var(--accent); font-weight: 500; }
.visuals-intro > p:not(.eyebrow) { max-width: 400px; margin-top: 28px; }

.section-heading .text-link, .visuals-intro .text-link, .manifesto-copy .text-link, .music-copy .text-link {
    display: flex;
    width: fit-content;
    margin-top: 24px;
}

.manifesto-copy .text-link { color: var(--ink); }
.music-copy .text-link { color: #f2ede4; }

.wallpaper-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wallpaper { position: relative; min-height: 460px; padding: 0; overflow: hidden; border: 0; background: #ddd; color: #fff; cursor: zoom-in; text-align: left; transition: transform 280ms ease; }
.wallpaper:hover { transform: translateY(-7px); }
.wallpaper::before { content: ""; position: absolute; inset: 0; transition: transform 500ms ease; }
.wallpaper:hover::before { transform: scale(1.04); }
.wallpaper span { position: absolute; z-index: 2; inset: auto 20px 20px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.wallpaper b { font: 500 22px/1 var(--serif); }
.wallpaper small { font-size: 7px; letter-spacing: .1em; }
.wallpaper-two, .wallpaper-four { margin-top: 70px; }
.wallpaper-one::before, .preview-after-sunset { background: radial-gradient(circle at 64% 34%, #ffd38b 0 8%, transparent 9%), linear-gradient(155deg, #222033 0 35%, #f17d79 36% 57%, #f4c18b 58% 72%, #56658b 73%); }
.wallpaper-two::before, .preview-low-gravity { background: radial-gradient(ellipse at 30% 70%, #e7ff9c 0 14%, transparent 15%), radial-gradient(circle at 74% 22%, #f7b6df 0 9%, transparent 10%), linear-gradient(145deg, #183d35, #67a990 45%, #b8dfb1); }
.wallpaper-three::before, .preview-before-rain { background: repeating-linear-gradient(115deg, transparent 0 12px, rgba(255,255,255,.13) 13px 14px), linear-gradient(160deg, #252a45 0 30%, #6979a5 55%, #d1bed5 100%); }
.wallpaper-four::before, .preview-violet-noise { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), transparent 18%), radial-gradient(circle at 65% 60%, #f3a6d3, transparent 28%), linear-gradient(135deg, #6336a9, #a77ee2 55%, #e6c8f7); }

.music-section { background: #171716; color: #f2ede4; }
.music-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 150px); align-items: center; }
.album-art { position: relative; aspect-ratio: 1; overflow: hidden; padding: 34px; background: #deee80; color: #171716; box-shadow: 0 30px 100px rgba(0,0,0,.36); }
.album-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0,0,0,.025) 6px); }
.album-art > span { position: relative; z-index: 2; font: 800 clamp(52px, 7vw, 108px)/.78 var(--sans); letter-spacing: -.09em; }
.album-art > small { position: absolute; z-index: 2; left: 34px; bottom: 30px; font-size: 8px; letter-spacing: .18em; }
.record { position: absolute; z-index: 1; width: 68%; aspect-ratio: 1; right: -15%; bottom: -10%; border-radius: 50%; background: repeating-radial-gradient(circle, #272725 0 3px, #3d3d39 4px 6px); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.record::after { content: ""; position: absolute; inset: 39%; border: 8px solid #ef739c; border-radius: 50%; background: #f2ece1; }
.music-copy h2 { color: #f2ede4; }
.music-copy > p { max-width: 540px; margin-top: 28px; color: #9f9b94; }
.track-list { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.track-list button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto 28px; gap: 12px; align-items: center; padding: 17px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; color: inherit; cursor: pointer; text-align: left; }
.track-list button:hover strong, .track-list button.is-playing strong { color: #deee80; }
.track-number, .track-list small { color: #75726d; font-size: 9px; }
.track-list strong { font: 500 17px/1 var(--serif); transition: color 180ms ease; }
.track-list i { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; font-style: normal; font-size: 7px; }
.player-status { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-top: 24px; color: #75726d; font-size: 9px; }
.player-status i { height: 2px; overflow: hidden; background: #3c3a37; }
.player-status i b { display: block; width: 0; height: 100%; background: #deee80; }

.contact-section { padding-bottom: 60px; }
.contact-title { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.contact-title p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-link { display: flex; align-items: center; justify-content: space-between; margin-top: 70px; padding: 30px 0; border-block: 1px solid var(--ink); }
.contact-link span { font: 500 clamp(32px, 5.4vw, 76px)/1 var(--serif); letter-spacing: -.04em; }
.contact-link b { font-size: clamp(30px, 5vw, 70px); transition: transform 220ms ease; }
.contact-link:hover b { transform: translate(8px, -8px); }
.contact-link-home { gap: 20px; padding: 24px 0; }
.contact-link-home span { min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.3; letter-spacing: -.02em; }
.contact-link-home b { flex: 0 0 auto; font-size: clamp(24px, 2.2vw, 34px); }

.site-footer { padding: 70px clamp(24px, 7vw, 120px) 28px; background: #171716; color: #f2ede4; }
.footer-signature { font-size: 14px; letter-spacing: .15em; white-space: nowrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand p { margin: 0; color: #85817b; font-size: 11px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; width: min(460px, 100%); margin: 65px 0 80px auto; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links span { margin-bottom: 8px; color: #6c6863; font-size: 8px; letter-spacing: .18em; }
.footer-links a { width: fit-content; color: #b9b4ac; font-size: 12px; }
.footer-links a:hover { color: #deee80; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #77736d; font-size: 8px; letter-spacing: .12em; }

.wallpaper-dialog {
    width: min(920px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.wallpaper-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; font-size: 24px; cursor: pointer; }
.wallpaper-preview { min-height: min(68vh, 660px); }
.dialog-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; }
.dialog-caption div { display: flex; flex-direction: column; gap: 4px; }
.dialog-caption strong { font: 500 22px/1.2 var(--serif); }
.dialog-caption span { color: var(--muted); font-size: 9px; letter-spacing: .12em; }

.toast {
    position: fixed;
    z-index: 300;
    left: 50%;
    bottom: 30px;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    border-radius: 30px;
    background: #181817;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px);
    transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.72,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
    .hero { grid-template-columns: 1fr 1fr; padding-inline: 40px; }
    .hero h1 { font-size: clamp(54px, 7vw, 78px); }
    .manifesto { grid-template-columns: 1fr 2fr; }
    .manifesto-facts { grid-column: 2; }
    .app-feature { grid-template-columns: 1fr; }
    .app-feature[data-work-id="ananchrome"] { grid-template-columns: minmax(0, 1fr); }
    .phone-stage { min-height: 700px; }
    .phone-stage.chrome-showcase { min-height: 0; padding: 64px 28px 100px; }
    .project-row { grid-template-columns: 50px minmax(0, 1fr); }
    .project-thumbnail { grid-column: 2; width: min(100%, 580px); }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .article-card-featured { grid-column: 1 / -1; }
    .essay-row { grid-template-columns: 50px 110px minmax(0, 1fr) 44px; gap: 24px; }
    .visuals-section { grid-template-columns: 1fr; }
    .visuals-intro { position: static; }
}

@media (max-width: 760px) {
    .site-header { top: 12px; width: calc(100% - 24px); height: 60px; grid-template-columns: 1fr auto; padding: 0 11px 0 20px; }
    .site-header.is-scrolled { height: 56px; }
    .brand-name { display: inline; font-size: 11px; }
    .menu-button { width: 38px; height: 38px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
    .menu-button span:not(.sr-only) { width: 22px; height: 1px; background: currentColor; transition: transform 180ms ease; }
    .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav { position: fixed; top: 86px; left: 12px; right: 12px; display: grid; gap: 0; padding: 12px 22px 20px; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 26px; background: color-mix(in srgb, var(--paper) 80%, transparent); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); box-shadow: 0 24px 54px rgba(24, 21, 16, 0.16); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: transform 240ms ease, opacity 240ms ease, visibility 0s linear 240ms; }
    .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform 240ms ease, opacity 240ms ease, visibility 0s; }
    .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font: 500 24px/1.2 var(--serif); }
    .header-actions { grid-column: 2; }
    .hero { min-height: auto; grid-template-columns: 1fr; padding: 120px 20px 70px; }
    .hero::before { display: none; }
    .hero h1 { font-size: clamp(52px, 15vw, 76px); }
    .hero-intro { font-size: 14px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
    .hero-art { width: min(80vw, 520px); margin-top: 18px; }
    .hero-stamp { right: 2%; width: 102px; height: 102px; }
    .hero-index { display: none; }
    .section { padding: 88px 20px; }
    .manifesto { grid-template-columns: 1fr; gap: 45px; }
    .manifesto-facts { grid-column: auto; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
    .page-hero { padding: 118px 20px 44px; }
    .section-heading h2, .page-hero h1, .music-copy h2, .contact-title h2 { font-size: clamp(43px, 13vw, 64px); }
    .app-feature { min-height: auto; }
    .app-copy { padding: 38px 24px 44px; }
    .app-feature[data-work-id="ananchrome"] .app-title-row h3 { font-size: clamp(26px, 8vw, 32px); }
    .app-slogan { margin-top: 48px; font-size: 42px; }
    .app-feature[data-work-id="anan"] .app-slogan { font-size: clamp(28px, 8vw, 38px); }
    .app-actions { align-items: flex-start; flex-direction: column; }
    .app-actions .button { flex: 0 0 auto; }
    .button-light { width: 100%; }
    .phone-stage { min-height: 620px; }
    .phone-stage.chrome-showcase { padding: 50px 16px 100px; }
    .phone { width: 270px; }
    .floating-label { display: none; }
    .work-notes { align-items: flex-start; flex-direction: column; }
    .work-index-head { align-items: flex-start; flex-direction: column; }
    .work-index-head p { flex-wrap: wrap; gap: 10px 20px; }
    .project-row { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 46px; }
    .project-number { font-size: 28px; }
    .project-heading { align-items: flex-start; }
    .project-heading h2 { font-size: 42px; }
    .project-summary { margin-top: 26px; }
    .project-downloads { grid-template-columns: 1fr; }
    .project-thumbnail { grid-column: auto; width: 100%; }
    .work-index-note { align-items: flex-start; flex-direction: column; padding-top: 26px; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card-featured { grid-template-columns: 1fr; }
    .article-art { min-height: 330px; }
    .article-copy { min-height: 330px; padding: 28px; }
    .article-card { min-height: 330px; }
    .writing-index-head { align-items: flex-start; flex-direction: column; }
    .writing-index-head p { flex-wrap: wrap; gap: 10px 20px; }
    .essay-row { grid-template-columns: 42px minmax(0, 1fr) 40px; gap: 18px; padding: 32px 0 38px; }
    .essay-number { grid-column: 1; grid-row: 1; font-size: 28px; }
    .essay-meta { grid-column: 2; grid-row: 1; }
    .essay-content { grid-column: 2 / 4; grid-row: 2; }
    .essay-content h2 { font-size: 32px; }
    .essay-arrow { grid-column: 3; grid-row: 1; width: 38px; height: 38px; }
    .writing-index-foot { align-items: flex-start; flex-direction: column; }
    .article-detail-header { padding: 120px 20px 68px; }
    .article-breadcrumb { margin-bottom: 46px; }
    .article-detail-header h1 { font-size: clamp(43px, 13vw, 64px); }
    .article-detail-header > p { font-size: 14px; }
    .article-body { width: calc(100% - 40px); padding: 72px 0; font-size: 16px; line-height: 1.9; }
    .article-body figure { margin-inline: calc(50% - 50vw); }
    .article-body figure img { width: calc(100vw - 40px); }
    .article-detail-foot { width: calc(100% - 40px); align-items: flex-start; flex-direction: column; }
    .wallpaper-gallery { gap: 10px; }
    .wallpaper { min-height: 330px; }
    .wallpaper-two, .wallpaper-four { margin-top: 38px; }
    .wallpaper span { inset: auto 12px 14px; flex-direction: column; align-items: flex-start; }
    .page-pager { padding: 26px 20px 74px; }
    .music-layout { grid-template-columns: 1fr; }
    .album-art { width: min(100%, 520px); }
    .contact-title { align-items: flex-start; flex-direction: column; }
    .contact-link { gap: 12px; }
    .contact-link:not(.contact-link-home) span { min-width: 0; overflow-wrap: anywhere; font-size: clamp(23px, 6.4vw, 34px); }
    .contact-link b { flex: 0 0 auto; }
    .footer-links { margin-left: 0; grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .dialog-caption { align-items: stretch; flex-direction: column; }
}

@media (max-width: 430px) {
    .hero-actions .button { width: 100%; }
    .wallpaper-gallery { grid-template-columns: 1fr; }
    .wallpaper-two, .wallpaper-four { margin-top: 0; }
    .wallpaper { min-height: 460px; }
    .footer-links { gap: 34px; }
}

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

/* ===== 作品详情入口与弹窗 ===== */
.detail-entry {
    position: absolute;
    z-index: 5;
    right: clamp(18px, 3vw, 36px);
    bottom: clamp(18px, 3vw, 36px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(25, 24, 22, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 14px 34px rgba(15, 13, 10, 0.35);
    color: #f7f2e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.detail-entry span { opacity: .55; font-size: 13px; }

.detail-entry:hover {
    background: rgba(121, 87, 255, 0.82);
    border-color: transparent;
    transform: translateY(-2px);
}

.detail-entry:focus-visible {
    outline: 2px solid #f7f2e8;
    outline-offset: 3px;
}

.work-detail-overlay {
    position: fixed;
    z-index: 800;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.work-detail-overlay[hidden] { display: none; }
.work-detail-overlay.is-open { opacity: 1; pointer-events: auto; }

.work-detail-scrim {
    position: absolute;
    inset: 0;
    background: rgba(13, 12, 10, 0.32);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    cursor: pointer;
}

.work-detail-card {
    --serif: "Times New Roman", SimSun, "宋体", "Songti SC", STSong, serif;
    --sans: var(--serif);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
    gap: 32px 40px;
    width: min(1120px, 100%);
    max-height: min(86vh, 880px);
    overflow-y: auto;
    padding: clamp(32px, 4vw, 52px);
    border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: 0;
    font-family: var(--serif);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(26px) scale(0.97);
    transition: transform 260ms cubic-bezier(.2, .72, .2, 1);
}

.work-detail-overlay.is-open .work-detail-card { transform: translateY(0) scale(1); }

.work-detail-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 5%, transparent);
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.work-detail-close:hover {
    background: var(--ink);
    color: var(--paper);
}

.work-detail-close:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.work-detail-title-row { display: flex; gap: 18px; align-items: center; }

.work-detail-overline { margin: 0 0 5px; opacity: .52; font-size: 9px; letter-spacing: .16em; }

.work-detail-title { margin: 0; font: 500 38px/1.1 var(--serif); overflow-wrap: anywhere; }

.work-detail-badge {
    margin: 26px 0 0;
    opacity: .38;
    font-size: 8px;
    letter-spacing: .12em;
}

.work-detail-intro { margin: 14px 0 0; max-width: 560px; opacity: .63; font-size: 14px; line-height: 1.9; }

.work-detail-specs { margin: 0; padding-left: 32px; border-left: 1px solid var(--line); }

.work-detail-specs > div {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.work-detail-specs dt {
    opacity: .45;
    font-size: 12px;
    letter-spacing: .08em;
    line-height: 1.8;
}

.work-detail-specs dd { margin: 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }

.work-detail-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.work-detail-links .button { flex: 0 1 auto; }

@media (max-width: 760px) {
    .work-detail-overlay { padding: 14px; }
    .work-detail-card { grid-template-columns: minmax(0, 1fr); gap: 26px; max-height: 88vh; padding: 54px 22px 26px; }
    .work-detail-title { font-size: 28px; }
    .work-detail-specs { padding-left: 0; border-left: 0; }
    .work-detail-specs > div { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
    .work-detail-links { flex-direction: column; }
    .work-detail-links .button { width: 100%; flex: 1 1 auto; }
}
