/* ==========================================================================
   Portfolio — public styles
   Black & white, alternating sections, serif headings, sans body.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
    --black: #0b0b0b;
    --black-2: #161616;
    --white: #f7f6f3;
    --paper: #ffffff;
    --ink: #121212;
    --grey: #8b8b88;
    --grey-dark: #5f5f5c;
    --line-light: rgba(0, 0, 0, .12);
    --line-dark: rgba(255, 255, 255, .14);
    --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --header-h: 76px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font: 400 1rem/1.65 var(--sans);
    background: var(--black);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1680px; }

/* ---------------------------------------------------------------- sections */
.sec--dark  { background: var(--black); color: #efefec; }
.sec--light { background: var(--white); color: var(--ink); }
.sec--dark .muted, .sec--dark .card__meta, .sec--dark .crumbs { color: var(--grey); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-light); padding-bottom: 1rem; }
.sec--dark .section__head { border-color: var(--line-dark); }

/* ---------------------------------------------------------------- type */
.h-display {
    font: 500 clamp(2.8rem, 7.2vw, 6.2rem)/.98 var(--serif);
    letter-spacing: -.015em;
    margin: .2em 0 .3em;
}
.h-display--post { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.h-section { font: 500 clamp(1.9rem, 3.4vw, 2.8rem)/1.05 var(--serif); margin: 0; }
.h-small, .kicker {
    font: 500 .72rem/1.4 var(--sans);
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--grey);
    margin: 2rem 0 .5rem;
}
.h-small:first-child { margin-top: 0; }
.link-more { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.empty { color: var(--grey); font: italic 1.4rem/1.4 var(--serif); }

/* ---------------------------------------------------------------- header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 11, 11, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: #fff;
    border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: 1680px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 500 1.55rem/1 var(--serif); letter-spacing: .01em; }
.brand__tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .22em; color: var(--grey); margin-top: .35rem; }
.site-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
.site-nav a {
    text-decoration: none; font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em;
    padding: .4rem 0; position: relative; color: #d6d6d3; transition: color .2s;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { right: 0; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; z-index: 60; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
    :root { --header-h: 64px; }
    .brand__tag { display: none; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 0; background: var(--black);
        flex-direction: column; justify-content: center; align-items: flex-start;
        padding: 0 var(--gutter); gap: 1.2rem;
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; }
    .site-nav a { font: 500 2.4rem/1.1 var(--serif); text-transform: none; letter-spacing: 0; color: #fff; }
    body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- home tiles */
.tiles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
    min-height: 520px; background: var(--black);
}
.tile { position: relative; overflow: hidden; text-decoration: none; color: #fff; background: var(--black-2); isolation: isolate; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter .8s var(--ease); }
.tile__img--empty { background: linear-gradient(135deg, #1f1f1f, #0b0b0b); }
.tile:nth-child(2) .tile__img--empty { background: linear-gradient(135deg, #e9e8e4, #bdbcb7); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); z-index: 1; }
.tile__body { position: absolute; left: clamp(1.5rem, 4vw, 3.5rem); right: clamp(1.5rem, 4vw, 3.5rem); bottom: clamp(1.5rem, 5vw, 4rem); z-index: 2; display: flex; flex-direction: column; }
.tile__num { font-size: .72rem; letter-spacing: .25em; opacity: .7; margin-bottom: .6rem; }
.tile__title { font: 500 clamp(2.6rem, 5.8vw, 5.6rem)/.95 var(--serif); letter-spacing: -.01em; }
.tile__meta { margin-top: 1.1rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; display: flex; align-items: center; gap: .6rem; }
.tile__meta .arrow { display: inline-block; transition: transform .4s var(--ease); }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.045); }
.tile:hover .arrow { transform: translateX(6px); }
.tiles:hover .tile:not(:hover) .tile__img { filter: grayscale(1) brightness(.55); }
@media (max-width: 800px) {
    .tiles { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
}

/* ---------------------------------------------------------------- intro */
.intro { padding: clamp(4.5rem, 10vw, 9rem) 0; text-align: center; }
.intro .prose { margin: 0 auto; }
.intro__links { margin-top: 2.2rem; }

/* ---------------------------------------------------------------- page head */
.page-head { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.page-head__text { max-width: 760px; margin-top: 1.2rem; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--grey-dark); margin: 0; }
.page-head--dark .page-head__meta { color: var(--grey); }
.crumbs { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--grey-dark); display: flex; flex-wrap: wrap; gap: .6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem); }
.cards--two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black-2); margin-bottom: 1.1rem; }
.sec--light .card__media { background: #e7e6e2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__kicker { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--grey); margin-bottom: .35rem; }
.card__title { font: 500 1.75rem/1.1 var(--serif); }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .76rem; letter-spacing: .06em; color: var(--grey-dark); margin-top: .45rem; }
.card__count { white-space: nowrap; }
.card__text { margin-top: .6rem; font-size: .95rem; color: inherit; opacity: .75; }

/* ---------------------------------------------------------------- masonry gallery */
.gallery-sec { padding: clamp(1.5rem, 3vw, 3rem) 0 clamp(3rem, 6vw, 6rem); }
.masonry { columns: 3 280px; column-gap: clamp(.75rem, 1.4vw, 1.5rem); }
.masonry__item { break-inside: avoid; margin: 0 0 clamp(.75rem, 1.4vw, 1.5rem); }
.masonry__item a { display: block; overflow: hidden; cursor: zoom-in; background: var(--black-2); }
.masonry__item img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.masonry__item a:hover img { transform: scale(1.025); }
.masonry__item figcaption { font-size: .78rem; color: #cfcfcb; padding: .55rem 0 0; letter-spacing: .02em; }
.masonry__item figcaption span { display: block; color: var(--grey); }

.pager-series { border-top: 1px solid var(--line-light); }
.pager-series__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pager-series__link { text-decoration: none; display: flex; flex-direction: column; }
.pager-series__link span { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--grey-dark); }
.pager-series__link strong { font: 500 1.6rem/1.15 var(--serif); }
.pager-series__link:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pager-series__link--next { text-align: right; }
.pager-series__all { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; border: 1px solid var(--ink); padding: .7rem 1.2rem; text-decoration: none; transition: background .2s, color .2s; }
.pager-series__all:hover { background: var(--ink); color: var(--white); }
@media (max-width: 700px) {
    .pager-series__inner { grid-template-columns: 1fr 1fr; }
    .pager-series__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ---------------------------------------------------------------- lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 100; background: rgba(6, 6, 6, .97); color: #fff;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s;
    touch-action: pan-y;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox__stage img {
    max-width: calc(100vw - 9rem); max-height: calc(100vh - 7.5rem); max-height: calc(100svh - 7.5rem);
    width: auto; height: auto; object-fit: contain; transition: opacity .25s; user-select: none; -webkit-user-drag: none;
}
.lightbox__stage img.is-loading { opacity: .15; }
.lightbox__stage figcaption { margin-top: 1rem; text-align: center; font-size: .82rem; color: #cfcfcb; display: flex; gap: 1.2rem; align-items: baseline; flex-wrap: wrap; justify-content: center; max-width: 90vw; }
.lightbox__title { font: 500 1.15rem/1.2 var(--serif); color: #fff; }
.lightbox__count { font-size: .7rem; letter-spacing: .16em; color: var(--grey); }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 0; cursor: pointer; color: #fff; opacity: .65; transition: opacity .2s; }
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: .8rem; right: 1rem; font-size: 2.4rem; line-height: 1; width: 52px; height: 52px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font: 300 3.6rem/1 var(--serif); width: 4rem; height: 6rem; }
.lightbox__nav--prev { left: .5rem; }
.lightbox__nav--next { right: .5rem; }
@media (max-width: 700px) {
    .lightbox__stage img { max-width: 100vw; max-height: calc(100svh - 8rem); }
    .lightbox__nav { top: auto; bottom: .5rem; transform: none; height: 4rem; }
}
body.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- prose (markdown output) */
.prose { font-size: 1.06rem; line-height: 1.75; max-width: 68ch; }
.prose--lead { font: 400 clamp(1.35rem, 2.3vw, 1.85rem)/1.45 var(--serif); max-width: 34em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 2em 0 .6em; }
.prose h2 { font-size: 2.1rem; }
.prose h3 { font-size: 1.6rem; }
.prose h4 { font-size: 1.25rem; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 1.4em; border-left: 1px solid currentColor; font: italic 400 1.55rem/1.4 var(--serif); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .25em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-light); margin: 3em 0; }
.prose code { font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(127,127,127,.14); padding: .1em .35em; }
.prose pre { background: #111; color: #eee; padding: 1.1em 1.3em; overflow: auto; }
.prose pre code { background: none; padding: 0; }
.prose .md-figure { margin: 2.5em 0; }
.prose .md-figure img, .prose .md-img { width: 100%; }
.prose .md-figure figcaption { font-size: .82rem; color: var(--grey-dark); margin-top: .6rem; }
.prose .table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line-light); padding: .55em .8em; text-align: left; }
.prose .md-series { display: grid; grid-template-columns: 180px 1fr; grid-template-rows: auto auto; gap: .2rem 1.2rem; align-items: end; text-decoration: none; margin: 2em 0; border: 1px solid var(--line-light); padding: .8rem; }
.prose .md-series img { grid-row: 1 / 3; aspect-ratio: 4 / 3; object-fit: cover; width: 180px; }
.prose .md-series__t { font: 500 1.5rem/1.1 var(--serif); align-self: end; }
.prose .md-series__m { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; align-self: start; }
.sec--dark .prose hr, .sec--dark .prose th, .sec--dark .prose td { border-color: var(--line-dark); }

/* ---------------------------------------------------------------- buttons & forms */
.btn {
    display: inline-block; background: var(--ink); color: var(--white); border: 1px solid var(--ink);
    padding: .95rem 1.8rem; font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em;
    text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.sec--dark .btn { background: #fff; color: var(--black); border-color: #fff; }
.sec--dark .btn:hover { background: transparent; color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

.contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 1.6rem; }
.field span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--grey-dark); margin-bottom: .35rem; }
.field em { text-transform: none; letter-spacing: 0; font-style: normal; color: var(--grey); }
.field input, .field textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.35); padding: .65rem 0; font: 400 1.05rem/1.5 var(--sans); color: inherit; border-radius: 0;
    transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); border-bottom-width: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--grey-dark); margin: 0 0 1.8rem; }
.check input { margin-top: .3rem; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; margin-bottom: 2rem; border-left: 3px solid; }
.notice p { margin: .2rem 0; }
.notice--ok { background: #eef3ec; border-color: #2f6b2f; }
.notice--err { background: #f6ecea; border-color: #9b2c1f; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .2rem 0; }
.contact__aside a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); }
.about__media { position: relative; }
.about__media img { position: sticky; top: var(--header-h); width: 100%; height: calc(100svh - var(--header-h)); object-fit: cover; }
.about__placeholder { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; place-items: center; font: 500 16rem/1 var(--serif); color: #222; }
.about__text { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem); }
@media (max-width: 900px) {
    .about { grid-template-columns: 1fr; }
    .about__media img, .about__placeholder { position: static; height: 70svh; }
}

/* ---------------------------------------------------------------- journal */
.posts-list { display: grid; gap: 0; }
.post-row { display: grid; grid-template-columns: 160px 1fr; gap: .2rem 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line-light); }
.post-row time { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey-dark); padding-top: .55rem; grid-row: 1 / 3; }
.post-row h3 { font: 500 1.9rem/1.15 var(--serif); margin: 0; }
.post-row h3 a { text-decoration: none; }
.post-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post-row p { margin: .3rem 0 0; color: var(--grey-dark); max-width: 70ch; }
@media (max-width: 640px) { .post-row { grid-template-columns: 1fr; } .post-row time { grid-row: auto; padding: 0; } }
.post-cover { padding: clamp(1.5rem, 3vw, 3rem) 0; }
.post-cover figure { margin: 0 auto; max-width: 1400px; }
.post-cover img { width: 100%; max-height: 85vh; object-fit: contain; }
.post-cover figcaption { font-size: .8rem; color: var(--grey); margin-top: .7rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 4rem; }
.pagination a { min-width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line-dark); text-decoration: none; font-size: .85rem; }
.pagination a[aria-current], .pagination a:hover { background: #fff; color: var(--black); }

.page-simple { min-height: 60vh; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer__name { font: 500 2rem/1 var(--serif); margin: 0 0 .6rem; color: #fff; }
.site-footer .muted { margin: 0; font-size: .85rem; }
.site-footer__nav, .site-footer__social { display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; }
.site-footer a { text-decoration: none; color: #cfcfcb; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .74rem; color: var(--grey); }
@media (max-width: 700px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__inner > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
    .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Discourage casual image saving (does not prevent screenshots) */
.masonry img, .lightbox img, .tile img { -webkit-touch-callout: none; }
