:root {
    --paper: #fcfbf9;
    --white: #fff;
    --ink: #171717;
    --muted: #77726d;
    --soft: #aea79e;
    --rule: #e8e4df;
    --warm: #f3efe9;
    --shadow: rgba(36, 27, 17, .08);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.page { width: 90%; margin: 0 auto; }
.eyebrow {
    margin: 0;
    color: var(--muted);
    letter-spacing: .19em;
    text-transform: uppercase;
    font-size: .69rem;
    font-weight: 500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252, 251, 249, .88);
    backdrop-filter: blur(16px);
}
.nav {
    min-height: 104px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--rule);
}
.wordmark {
    width: max-content;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: lowercase;
}
.primary-nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(1.6rem, 4vw, 4.2rem);
    font-size: .88rem;
}
.primary-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: #4d4a46;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--ink);
    transition: transform .28s ease;
}
.primary-nav a:hover::after,
.primary-nav a.active::after { transform: scaleX(1); }
.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.7rem;
}
.search-link {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
}
.search-link::before {
    content: "";
    position: absolute;
    width: .7rem;
    height: .7rem;
    top: .1rem;
    left: .1rem;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
}
.search-link span {
    position: absolute;
    width: .52rem;
    height: 1.5px;
    top: .86rem;
    left: .78rem;
    transform: rotate(45deg);
    background: var(--ink);
}
.tracker-link {
    padding: .68rem 1.05rem;
    border: 1px solid var(--rule);
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease;
}
.tracker-link:hover { background: var(--white); border-color: #cabfb3; }

.hero {
    display: grid;
    grid-template-columns: 82px minmax(275px, 326px) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 2.7vw, 3.5rem);
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.chapter {
    padding-top: clamp(8rem, 13vw, 11rem);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    color: #afa9a2;
    font-size: .77rem;
}
.chapter .selected { color: var(--ink); position: relative; }
.chapter .selected::after {
    content: "";
    position: absolute;
    left: .48rem;
    top: 2.05rem;
    height: 28px;
    width: 1px;
    background: var(--ink);
}
.hero-copy {
    border-block: 1px solid var(--rule);
    padding: clamp(3rem, 5vw, 4.8rem) 0 2.1rem;
    display: flex;
    flex-direction: column;
}
.hero-copy h1 {
    font: 400 clamp(3rem, 4vw, 4.35rem)/1.12 var(--serif);
    letter-spacing: -.055em;
    margin: 1.4rem 0 1.2rem;
}
.intro {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.75;
}
.text-action {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    margin-top: 2rem;
    color: var(--ink);
    letter-spacing: .11em;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 600;
}
.text-action span { font-size: 1rem; transition: transform .24s ease; }
.text-action:hover span { transform: translateX(.35rem); }
.text-action.small { margin-top: 1.45rem; gap: 1.25rem; }
.scroll-mark {
    width: 67px;
    height: 67px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    margin-top: auto;
    display: grid;
    place-content: center;
    position: relative;
}
.scroll-mark span {
    position: absolute;
    width: 100px;
    left: -16px;
    top: -10px;
    color: var(--soft);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .45rem;
    text-align: center;
}
.scroll-mark b { font-size: 1rem; font-weight: 400; }
.hero-mosaic {
    display: grid;
    grid-template-columns: minmax(280px, 2.55fr) minmax(135px, 1.08fr) minmax(135px, .9fr);
    gap: .55rem;
    min-height: 540px;
}
.image-frame { margin: 0; overflow: hidden; background: var(--warm); }
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.2, .65, .25, 1);
}
.image-frame:hover img { transform: scale(1.035); }

.featured {
    border-top: 1px solid var(--rule);
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.section-heading .text-action { margin-top: 0; }
.works-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .95rem;
}
.work-card {
    position: relative;
    overflow: hidden;
    min-height: 194px;
    background: #e6e1da;
}
.work-card img {
    width: 100%;
    height: 100%;
    min-height: 194px;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .65, .25, 1);
}
.work-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(18, 16, 14, .58));
}
.work-card:hover img { transform: scale(1.055); }
.work-card div {
    position: absolute;
    z-index: 1;
    left: 1rem;
    bottom: .9rem;
    color: var(--white);
}
.work-card h2 { margin: 0 0 .3rem; font-size: .91rem; font-weight: 500; }
.work-card p { margin: 0; font-size: .73rem; color: rgba(255,255,255,.8); }

.editorial-panels {
    display: grid;
    grid-template-columns: 240px 1fr minmax(260px, .85fr);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.collection-intro, .mini-collections, .about-panel { padding: clamp(1.8rem, 3.2vw, 2.6rem); }
.collection-intro h2 {
    font: 400 1.55rem/1.25 var(--serif);
    letter-spacing: -.04em;
    margin: 1.2rem 0 0;
}
.mini-collections {
    border-inline: 1px solid var(--rule);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
    align-content: center;
}
.mini-collections article,
.mini-collections > a { display: flex; align-items: center; gap: .9rem; color: inherit; text-decoration: none; padding: .5rem .2rem; transition: opacity .25s ease; }
.mini-collections > a:hover { opacity: .7; }
.mini-collections img { width: 57px; height: 80px; object-fit: cover; }
.mini-collections h3 { margin: 0 0 .45rem; font-size: .74rem; font-weight: 500; }
.mini-collections p, .about-panel > p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.65;
}
.about-panel > p:not(.eyebrow) { margin-top: 1.1rem; font-size: .79rem; }

.site-footer {
    border-top: 1px solid var(--rule);
    background: var(--white);
}
.footer-grid {
    min-height: 138px;
    padding: 1.7rem 0;
    display: grid;
    align-items: start;
    grid-template-columns: minmax(150px, .7fr) minmax(380px, 2.1fr) auto;
    gap: 2.2rem;
}
.footer-title {
    margin: .65rem 0 0;
    font-size: 1.25rem;
    letter-spacing: .27em;
}
.disclaimer {
    margin: 0;
    max-width: 800px;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.8;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .77rem; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.legal-page {
    min-height: calc(100vh - 235px);
    padding: clamp(3.3rem, 8vw, 6.5rem) 0;
    display: grid;
    grid-template-columns: minmax(255px, .78fr) minmax(400px, 1.45fr);
    gap: clamp(3rem, 9vw, 9rem);
}
.legal-title h1 {
    margin: 1.35rem 0 1.3rem;
    font: 400 clamp(3rem, 5vw, 4.6rem)/1.08 var(--serif);
    letter-spacing: -.06em;
}
.legal-title .intro { max-width: 315px; }
.legal-content { border-top: 1px solid var(--rule); }
.legal-content section { padding: 1.7rem 0; border-bottom: 1px solid var(--rule); }
.legal-content h2 { font: 400 1.55rem/1.2 var(--serif); letter-spacing: -.04em; margin: 0 0 .85rem; }
.legal-content p { margin: 0 0 .85rem; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.legal-content p:last-child { margin-bottom: 0; }
.takedown .text-action { letter-spacing: 0; text-transform: none; font-size: inherit; font-weight: 500; text-decoration: underline; }
.footer-grid.compact { min-height: 100px; align-items: center; }
.footer-grid.compact .footer-title { margin: 0; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.2, .65, .25, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .23s; }

@media (max-width: 1180px) {
    .page { width: 90%; }
    .hero { grid-template-columns: 50px minmax(260px, 320px) 1fr; }
    .hero-mosaic { grid-template-columns: 1.8fr 1fr; }
    .still-image { display: none; }
    .works-grid { grid-template-columns: repeat(3, 1fr); }
    .works-grid article:nth-child(n+4) { display: none; }
    .editorial-panels { grid-template-columns: 230px 1fr; }
    .about-panel { grid-column: 1 / -1; border-top: 1px solid var(--rule); }
}
@media (max-width: 820px) {
    .nav { min-height: 76px; grid-template-columns: 1fr auto; }
    .primary-nav { display: none; }
    .wordmark { font-size: 1.3rem; }
    .hero { display: flex; flex-direction: column; gap: 1.5rem; }
    .chapter { display: none; }
    .hero-copy { order: 1; padding: 2.2rem 0; }
    .scroll-mark { display: none; }
    .hero-mosaic { order: 2; min-height: 360px; grid-template-columns: 1.6fr 1fr; }
    .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.35rem); }
    .works-grid { grid-template-columns: 1fr 1fr; }
    .works-grid article:nth-child(n+5) { display: none; }
    .editorial-panels, .legal-page { display: block; }
    .mini-collections { border-inline: 0; border-block: 1px solid var(--rule); grid-template-columns: 1fr; }
    .legal-title { margin-bottom: 3rem; }
    .footer-grid { display: flex; flex-direction: column; gap: 1.3rem; }
}
@media (max-width: 520px) {
    .page { width: calc(100% - 1.5rem); }
    .header-actions { gap: .7rem; }
    .search-link { display: none; }
    .hero-mosaic { grid-template-columns: 1fr; min-height: 350px; }
    .tall-image { display: none; }
    .works-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
