/* ==========================================================================
   pages.css · início, trabalhos e dossier de projeto
   ========================================================================== */

/* Animação "pincel a escrever" (títulos).
   Duas camadas deslizam em sentidos opostos: a janela revela o texto da esquerda
   para a direita só com transform (compositor). O filtro de pincel fica no
   elemento interior, estático e isolado na sua camada — calculado uma vez. */
.wipe { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .08em; margin: -.1em -.08em; }
.wipe-in { display: inline-block; will-change: transform; }
.js .wipe { transform: translate3d(-101%, 0, 0); animation: wipeSlide 1.3s var(--ease-io) var(--wd, .2s) both paused; will-change: transform; }
.js .wipe-in { transform: translate3d(101%, 0, 0); animation: wipeSlide 1.3s var(--ease-io) var(--wd, .2s) both paused; }
.js.is-ready .wipe, .js.is-ready .wipe-in { animation-play-state: running; }
@keyframes wipeSlide { to { transform: translate3d(0, 0, 0); } }

/* ==========================================================================
   INÍCIO
   ========================================================================== */
.hero { position: relative; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-wrap {
    min-height: calc(100vh - 99px);
    min-height: calc(100svh - 99px);
    display: flex; flex-direction: column; justify-content: space-between;
    gap: clamp(18px, 3vw, 36px);
    padding-block: clamp(18px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
}
.hero-top { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule-soft); padding-bottom: 10px; }

.hero-stage { position: relative; isolation: isolate; padding-top: clamp(16px, 4vw, 54px); }
.hero-ghost {
    position: absolute; left: 50%; top: 52%;
    transform: translate(-50%, -50%);
    font-family: var(--f-sans); font-weight: 900; font-stretch: 125%;
    text-transform: uppercase;
    font-size: clamp(84px, 20vw, 330px);
    line-height: 1; letter-spacing: -.03em;
    color: rgba(21, 20, 18, .035);
    text-shadow: 2px 2px 0 rgba(21, 20, 18, .025), 4px 4px 0 rgba(21, 20, 18, .02), 6px 6px 0 rgba(21, 20, 18, .015);
    white-space: nowrap; pointer-events: none; user-select: none;
    z-index: -2;
}
.hero-name { position: relative; font-family: var(--f-hand); font-weight: 400; line-height: .84; }
.hero-name .wipe-in, .page-title-hand .wipe-in { filter: url(#f-brush); }
.hero-first { display: block; font-size: clamp(54px, 10.5vw, 170px); padding-left: clamp(40px, 26vw, 460px); transform: rotate(-4deg); transform-origin: 0 100%; }
.hero-last { display: block; font-size: clamp(48px, 16vw, 272px); letter-spacing: -.01em; margin-top: -.06em; }
.hero-last .wipe { --wd: .6s; }
.hero-brush {
    position: absolute; left: -1.5%; bottom: -7%;
    width: 90%; height: clamp(34px, 6.6vw, 108px);
    color: var(--ink); opacity: .9;
    filter: url(#f-brush);
    transform: rotate(-1.4deg);
    transform-origin: 0 50%;
    will-change: transform;
    z-index: -1;
}
.js .hero-brush { animation: brushIn 1s var(--ease-io) 1.2s both paused; }
.js.is-ready .hero-brush { animation-play-state: running; }
@keyframes brushIn { from { transform: rotate(-1.4deg) scaleX(0); } to { transform: rotate(-1.4deg) scaleX(1); } }

.hero-mark { position: absolute; right: clamp(0px, 3vw, 50px); top: clamp(6px, 3vw, 40px); display: grid; justify-items: center; transform: rotate(5deg); }
.hero-mark-os { font-family: var(--f-hand); font-size: clamp(34px, 5.4vw, 84px); line-height: 1; padding: .18em .42em .1em; }
.hero-mark-ring { position: absolute; left: -8%; top: -14%; width: 116%; height: calc(100% - .6em); color: var(--ink); overflow: visible; }
.hero-mark-ring path { stroke-width: 2.4; }
.hero-mark-date { font-family: var(--f-hand); font-size: 13px; letter-spacing: .08em; margin-top: 10px; }

.hero-hi { display: grid; justify-items: center; text-align: center; margin-top: clamp(0px, 1vw, 12px); }
.hi-line { font-family: var(--f-sans); font-weight: 900; font-size: clamp(20px, 2.6vw, 38px); letter-spacing: .02em; line-height: 1; }
.scrawl { position: relative; font-family: var(--f-scrawl); color: var(--red); font-size: clamp(38px, 6vw, 96px); line-height: 1.15; min-height: 1.2em; transform: rotate(-4deg); padding-inline: .3em; }
.scrawl-word { display: inline-block; clip-path: inset(-30% -6% -30% -8%); will-change: transform; }
.js .scrawl-word { clip-path: inset(-30% 108% -30% -8%); }
.js .scrawl-word.is-writing { animation: write 1.5s var(--ease-io) both; }
.js .scrawl-word.is-erasing { animation: erase .55s var(--ease-io) both; }
@keyframes write { from { clip-path: inset(-30% 108% -30% -8%); } to { clip-path: inset(-30% -6% -30% -8%); } }
@keyframes erase { from { clip-path: inset(-30% -6% -30% -8%); } to { clip-path: inset(-30% -6% -30% 108%); } }
.scrawl-line { position: absolute; left: 12%; bottom: -.02em; width: 76%; height: .2em; color: var(--red); overflow: visible; }

.hero-foot {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 20px 36px; align-items: end;
    border-top: 1px solid var(--rule); padding-top: 16px;
}
.hero-intro { font-size: 14px; line-height: 1.6; max-width: 48ch; min-height: 4.8em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-meta dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta dd { font-size: 13px; margin-top: 2px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll:hover { color: var(--red); }
.hero-scroll-line { position: relative; width: 1px; height: 44px; background: var(--rule); overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

[data-type].is-typing::after { content: "▌"; margin-left: 2px; animation: caret .8s steps(2) infinite; color: var(--red); }
@keyframes caret { 50% { opacity: 0; } }

@media (max-width: 900px) {
    .hero-foot { grid-template-columns: 1fr; }
    .hero-top-mid { display: none; }
    .hero-first { padding-left: 14vw; }
}
@media (max-width: 640px) {
    .hero-first { padding-left: 0; }
    .hero-mark { top: 0; right: 0; transform: rotate(5deg) scale(.72); transform-origin: 100% 0; }
    .hero-stage { padding-top: 30px; }
}

/* ============================ Cinema / créditos ============================ */
.cinema, .roll { padding: clamp(14px, 2.4vw, 34px); }
.cinema-frame, .roll-frame {
    position: relative;
    border: 1px solid var(--rule);
    outline: 1px solid var(--rule-soft);
    outline-offset: -8px;
    padding: clamp(90px, 11vw, 170px) clamp(22px, 6vw, 110px);
    display: grid; place-items: center;
}
.cinema-frame { min-height: 92vh; }
.orn-corner { position: absolute; width: clamp(110px, 19vw, 300px); height: auto; color: var(--bone); opacity: .85; pointer-events: none; z-index: 1; }
.orn-tl { left: 10px; top: 10px; }
.orn-tr { right: 10px; top: 10px; transform: scaleX(-1); }
.orn-bl { left: 10px; bottom: 10px; transform: scaleY(-1); }
.orn-br { right: 10px; bottom: 10px; transform: scale(-1, -1); }
.orn-corner path, .orn-corner circle { stroke-width: 1.2; }

.cinema-inner, .roll-inner { position: relative; z-index: 2; width: 100%; max-width: 1000px; text-align: center; }
.cinema-kicker { font-family: var(--f-sc); font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .24em; color: var(--bone-2); text-transform: uppercase; }
.cinema-title, .roll-title {
    font-family: var(--f-script); font-weight: 400;
    font-size: clamp(84px, 14vw, 220px);
    line-height: .95; color: var(--bone);
    margin-top: .12em;
    text-shadow: 0 0 50px rgba(220, 210, 188, .12);
}
.roll-title { font-size: clamp(70px, 11vw, 170px); }
.cinema-flourish { width: min(560px, 82%); margin: 4px auto 0; color: var(--bone); overflow: visible; }
.cinema-manifesto { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2vw, 27px); line-height: 1.45; max-width: 38ch; margin: 30px auto 60px; }

.credit { display: grid; justify-items: center; gap: 3px; text-align: center; }
.credit-role { font-family: var(--f-serif); font-style: italic; font-size: clamp(17px, 1.7vw, 23px); color: var(--bone); line-height: 1.2; }
.credit-name { font-family: var(--f-sc); font-size: clamp(12px, 1.05vw, 14px); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); }
.credit--lead { margin-bottom: 38px; }
.credit--lead .credit-role { font-size: clamp(22px, 2.2vw, 30px); }
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(30px, 10vw, 200px); }
.credits--roll { margin-top: 50px; }
@media (max-width: 560px) { .credits { grid-template-columns: 1fr; } }
.cinema-emblems { display: flex; justify-content: center; margin-top: 60px; }
.cinema-seal { width: 118px; height: 118px; color: var(--bone); }
.cinema-legal { margin-top: 24px; font-family: var(--f-sc); font-size: 11px; letter-spacing: .08em; color: var(--bone-2); }

/* ============================ Índice de ficheiros ============================ */
.index-list { list-style: none; border-top: 1.5px solid var(--ink); position: relative; isolation: isolate; }
.index-row a, .index-row--head {
    display: grid;
    grid-template-columns: 100px minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 120px;
    gap: 18px; align-items: baseline;
    padding: 22px 8px;
    border-bottom: 1px solid var(--rule);
}
.index-row--head { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding-block: 10px; }
.index-row a { position: relative; transition: padding .55s var(--ease), color .35s; }
.index-row a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.index-row a:hover { color: var(--paper-3); padding-left: 24px; }
.index-row a:hover::before { transform: scaleY(1); }
.ix-code { font-size: 12px; letter-spacing: .12em; }
.ix-title { font-family: var(--f-sans); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 56px); line-height: .92; }
.ix-type, .ix-year { font-size: 13px; }
.ix-status { justify-self: end; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.ix-status--concluido { color: inherit; }
.index-row a:hover .ix-status { color: #ff7a6b; }
.index-preview {
    position: fixed; left: 0; top: 0; z-index: 55;
    width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5;
    pointer-events: none; overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.85) rotate(-5deg);
    transition: opacity .3s, transform .45s var(--ease);
    box-shadow: 0 24px 60px rgba(21, 20, 18, .3);
    border: 8px solid var(--paper-3);
}
.index-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-5deg); }
.index-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
    .index-row a, .index-row--head { grid-template-columns: 70px minmax(0, 1fr) auto; }
    .ix-type, .ix-year, .index-row--head span:nth-child(3), .index-row--head span:nth-child(4) { display: none; }
    .index-preview { display: none; }
}

/* ============================ Faixa do caderno ============================ */
.sec-strip { padding-bottom: calc(var(--sec-pad) * .6); }
.strip {
    display: flex; gap: clamp(24px, 3.2vw, 48px);
    overflow-x: auto; overscroll-behavior-x: contain;
    padding: 34px var(--gutter) 30px;
    cursor: grab;
    scrollbar-width: none;
    -webkit-user-select: none; user-select: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; }
.strip.is-dragging .strip-btn { pointer-events: none; }
.strip-item { flex: none; width: clamp(190px, 21vw, 310px); transform: rotate(var(--tilt, 0deg)); transition: transform .6s var(--ease); }
.strip-item:hover { transform: rotate(0deg) translateY(-8px); }
.strip-btn { position: relative; display: block; width: 100%; background: var(--paper-3); padding: 10px 10px 34px; box-shadow: 0 12px 28px rgba(21, 20, 18, .16); }
.strip-btn::before {
    content: ""; position: absolute; top: -13px; left: 50%; z-index: 2;
    width: 86px; height: 26px;
    transform: translateX(-50%) rotate(-4deg);
    background: rgba(226, 220, 205, .78);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.strip-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.95) contrast(1.05); transition: filter .7s var(--ease); }
.strip-item:hover img { filter: none; }
.strip-item figcaption { display: grid; gap: 2px; margin-top: 12px; }
.strip-title { font-family: var(--f-hand); font-size: 20px; line-height: 1.15; }
.strip-more { flex: none; width: 200px; display: grid; place-content: center; justify-items: center; gap: 12px; border: 1.5px dashed var(--rule); color: var(--red); transition: background-color .3s; }
.strip-more:hover { background: rgba(179, 38, 30, .05); }
.strip-more .t-hand { font-size: 32px; }
.strip-arrow { width: 64px; transform: rotate(45deg); }
.strip-hint { text-align: right; }

/* ============================ Notas (cartões) ============================ */
.memo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); }
@media (max-width: 960px) { .memo-grid { grid-template-columns: 1fr; } }
.memo-card {
    position: relative;
    display: flex; flex-direction: column; gap: 14px;
    min-height: 330px;
    padding: 20px 22px 18px 58px;
    background-color: var(--paper-3);
    background-image: repeating-linear-gradient(transparent 0 27px, rgba(21, 20, 18, .075) 27px 28px);
    background-position: 0 64px;
    border: 1px solid var(--rule);
    box-shadow: 8px 10px 0 -3px rgba(21, 20, 18, .07);
}
.memo-card::before { content: ""; position: absolute; left: 40px; top: 0; bottom: 0; width: 1px; background: rgba(179, 38, 30, .4); }
.memo-card::after { content: ""; position: absolute; left: 14px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .25), 0 90px 0 0 var(--paper), 0 180px 0 0 var(--paper); }
.js .memo-card.reveal.is-in:hover, .memo-card:hover { transform: rotate(0deg) translateY(-6px); transition-duration: .5s; transition-delay: 0s; }
.memo-top { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.memo-title { font-family: var(--f-sans); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.memo-excerpt { flex: 1; font-size: 14px; line-height: 28px; color: var(--ink-2); }
.memo-foot { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.memo-tag { color: var(--red); }
.memo-card:hover .memo-read { color: var(--red); }

/* ============================ Chamada de contacto ============================ */
.cta { border-top: 1px solid var(--rule); }
.cta-wrap { padding-block: clamp(80px, 12vw, 170px); display: grid; gap: 24px; }
.cta-title { font-family: var(--f-hand); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 13vw, 214px); line-height: .84; filter: url(#f-brush); will-change: transform; }
.cta-q { display: inline-block; color: var(--red); transform: rotate(12deg); }
.cta-row { display: flex; align-items: center; gap: 22px 30px; flex-wrap: wrap; }
.cta-mail { font-family: var(--f-scrawl); color: var(--red); font-size: clamp(26px, 3.4vw, 50px); line-height: 1.2; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px; transition: background-size .5s var(--ease); }
.cta-mail:hover { background-size: 100% 2px; }
.cta-arrow { width: 64px; color: var(--red); transform: rotate(48deg); }

/* ==========================================================================
   Cabeçalho de página (trabalhos, arquivo, notas, contacto)
   ========================================================================== */
.page-head { border-bottom: 1px solid var(--rule); overflow: hidden; }
.page-head .wrap { padding-block: clamp(18px, 2.4vw, 30px) clamp(22px, 3vw, 36px); }
.page-head-top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--rule-soft); padding-bottom: 10px; }
.page-title { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .28em; padding-block: clamp(40px, 7vw, 100px) clamp(24px, 4vw, 50px); }
.page-ghost {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1;
    font-family: var(--f-sans); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
    font-size: clamp(70px, 17vw, 260px); line-height: 1; letter-spacing: -.03em;
    color: rgba(21, 20, 18, .045);
    text-shadow: 2px 2px 0 rgba(21, 20, 18, .04), 4px 4px 0 rgba(21, 20, 18, .03), 6px 6px 0 rgba(21, 20, 18, .02);
    white-space: nowrap; pointer-events: none;
}
.page-title-hand { font-family: var(--f-hand); font-weight: 400; text-transform: uppercase; font-size: clamp(58px, 11vw, 178px); line-height: .9; }
.page-title-serif { font-family: var(--f-serif); font-style: italic; font-size: clamp(30px, 4.6vw, 70px); line-height: 1; }
.page-title-script { font-family: var(--f-script); font-size: clamp(80px, 13vw, 200px); line-height: .8; color: var(--red); }
.page-title--archive { align-items: center; }
.page-tabs { border-top: 1px solid var(--rule-soft); padding-top: 12px; }
.sec--tight { padding-block: clamp(44px, 6vw, 90px) var(--sec-pad); }
.cat-desc { margin-bottom: 40px; font-family: var(--f-serif); font-style: italic; font-size: 20px; }
.empty-sheet { display: grid; justify-items: center; gap: 22px; text-align: center; padding: 80px 20px; border: 1px dashed var(--rule); }
.empty-sheet .stamp { font-size: 22px; }

/* ==========================================================================
   DOSSIER (página de projeto)
   ========================================================================== */
.dossier { padding-block: clamp(28px, 4vw, 60px) clamp(60px, 8vw, 110px); }
.dossier-wrap { display: grid; grid-template-columns: 44px minmax(0, 1fr) 70px; gap: clamp(10px, 2vw, 30px); }
.dossier-sheet {
    position: relative;
    background-color: var(--paper-3);
    background-image: var(--noise), var(--stain);
    border: 1px solid var(--rule);
    padding: clamp(22px, 4vw, 60px);
    box-shadow: 0 1px 0 var(--rule-soft), 16px 18px 0 -6px rgba(21, 20, 18, .07);
}
.dossier-rail { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 40px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.dossier-rail span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.dossier-rail i { width: 16px; height: 1px; background: var(--rule); }
.dossier-rail--right { justify-content: flex-start; }
.dossier-rail--right strong { writing-mode: vertical-rl; font-family: var(--f-sans); font-weight: 700; font-size: 20px; letter-spacing: .22em; color: var(--ink); }
.dossier-rail--right span { writing-mode: horizontal-tb; transform: none; margin-top: auto; margin-bottom: 40%; font-size: 18px; color: var(--ink); text-align: center; line-height: 1.3; }
@media (max-width: 860px) {
    .dossier-wrap { grid-template-columns: 1fr; }
    .dossier-rail { display: none; }
}

.dossier-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.dossier-seal { width: 76px; height: 76px; color: var(--ink); }
.dossier-seal .seal-ring { animation-duration: 60s; }
.dossier-dept { text-align: right; line-height: 1.25; justify-self: end; grid-column: 3; }
.dossier-dept strong { display: block; font-size: 13px; letter-spacing: .06em; }
.dossier-dept span { font-size: 12px; color: var(--ink-2); font-style: italic; }
.dossier-file { grid-column: 2; grid-row: 1; justify-self: center; text-align: center; border: 1px solid var(--rule); padding: 6px 14px; }
.dossier-file span { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.dossier-file strong { font-size: 15px; letter-spacing: .12em; }
@media (max-width: 640px) {
    .dossier-top { grid-template-columns: auto 1fr; }
    .dossier-file { display: none; }
    .dossier-dept { grid-column: 2; }
}

.dossier-title {
    margin-top: clamp(24px, 4vw, 44px);
    font-family: var(--f-sans); font-weight: 900; font-stretch: 68%;
    text-transform: uppercase;
    font-size: clamp(48px, 9vw, 150px);
    line-height: .86; letter-spacing: -.005em;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--ink);
}
.dossier-sub { margin-top: 16px; font-size: 16px; max-width: 60ch; color: var(--ink-2); }

.dsec { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-block: clamp(26px, 3.4vw, 40px); border-bottom: 1px solid var(--rule-soft); }
.dsec:last-of-type { border-bottom: 0; }
.dsec-n { font-size: 14px; font-weight: 700; padding-top: 2px; }
.dsec-label { display: flex; gap: 12px; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.dossier-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 62ch; margin-bottom: 26px; padding-left: 16px; border-left: 3px solid var(--hl); }

.dmeta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.dmeta > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.dmeta dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.dmeta dd { font-size: 15px; }
.dmeta-status dd { font-weight: 700; letter-spacing: .08em; }
@media (max-width: 760px) { .dmeta { grid-template-columns: 1fr; } .dmeta > div { grid-template-columns: 96px 1fr; } }

.annex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.annex { position: relative; }
.annex--lead { grid-column: 1 / -1; }
.annex-btn { display: block; width: 100%; background: var(--paper-2); overflow: hidden; }
.annex img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.annex:hover img { filter: none; transform: scale(1.02); }
.annex--lead .annex-btn { max-height: 78vh; }
.annex--lead img { max-height: 78vh; object-fit: cover; }
.annex video { width: 100%; background: #000; }
.annex figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.annex figcaption span { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--hl); padding: 1px 6px; margin-right: 6px; }
.annex-arrow { position: absolute; right: clamp(20px, 6vw, 90px); top: -34px; width: clamp(60px, 7vw, 100px); color: var(--red); transform: rotate(180deg) scaleX(-1); z-index: 2; pointer-events: none; }
.annex-note { position: absolute; right: clamp(-10px, 2vw, 30px); top: -54px; font-family: var(--f-scrawl); color: var(--red); font-size: 30px; transform: rotate(-8deg); }
@media (max-width: 640px) { .annex-grid { grid-template-columns: 1fr; } .annex-arrow, .annex-note { display: none; } }

.related-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; }
.related-list li { transform: rotate(var(--tilt, 0deg)); background: var(--paper); padding: 8px 8px 12px; box-shadow: 0 8px 20px rgba(21, 20, 18, .12); }
.related-list img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(.9); transition: filter .5s; }
.related-list li:hover img { filter: none; }
.related-idea { display: grid; gap: 6px; aspect-ratio: 1; padding: 12px; font-size: 13px; line-height: 1.45; background-image: repeating-linear-gradient(transparent 0 21px, var(--rule-soft) 21px 22px); overflow: hidden; }
.related-title { display: block; margin-top: 8px; font-family: var(--f-hand); font-size: 16px; line-height: 1.15; }

.dossier-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.roll { margin-top: 0; }
.roll-frame { min-height: 70vh; }

.file-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.file-nav-link { display: grid; gap: 6px; }
.file-nav-link strong { font-family: var(--f-sans); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 54px); line-height: .95; transition: color .3s; }
.file-nav-link:hover strong { color: var(--red); }
.file-nav-link--next { text-align: right; grid-column: 3; }
.file-nav-all { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--rule); padding: 10px 14px; grid-column: 2; }
.file-nav-all:hover { background: var(--ink); color: var(--paper-3); }
@media (max-width: 640px) { .file-nav { grid-template-columns: 1fr; } .file-nav-link--next, .file-nav-all { grid-column: auto; } .file-nav-all { justify-self: start; } }
