/* VOICE   quiet and exact, like a well-made Japanese book
   IDEA    the page is a printed page: a grid made from the text square, a running head in the margin
   PICTURE his own Toronto photographs, never cropped, given room
   COLOUR  paper and ink; each section's light appears once, as a small seal
   TYPE    Literata alone; the wordmark is Poppins, drawn as outlines
   LAYOUT  12 columns of 6 squares (108 px), margins of 4 squares (72 px), a line every 27 px */

:root {
  color-scheme: light dark;
  --paper: light-dark(#FAF9F6, #000000);
  --ink: light-dark(#000000, #FAF9F6);
  --publishing: #2A4BFF;
  --films: #FF2A4B;
  --research: #4BFF2A;
  --projects: #FF75FF;
  --commissions: #75FFFF;
  --journal: #FFFF75;
  --writing: #FF75FF;
  --m: 72px;
  --ln: 27px;
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }
:root[data-theme=dark] .mark img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .mark img { filter: invert(1); } }

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 'Schibsted Grotesk', 'Noto Sans Armenian', system-ui, sans-serif;
  font-kerning: normal; font-variant-numeric: lining-nums;
  overflow-x: clip;
}
h1, h2, p, figure, dl, dd, ol { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }

/* type scale: each step x 1.5 */
.s136 { font-size: clamp(52px, 22.4px + 7.89vw, 136px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.s60 { font-size: clamp(33px, 23.5px + 2.54vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -0.015em; }
.s40 { font-size: clamp(27px, 22.4px + 1.22vw, 40px); line-height: 1.1; font-weight: 500; }
.s27 { font-size: clamp(21px, 18.9px + 0.56vw, 27px); line-height: 1.5; }
.s13 { font-size: 13px; line-height: 1.5; }
.it { font-style: italic; }
.sc { font-size: 0.86em; letter-spacing: 0.04em; }
.b { font-weight: 600; }
.u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* page */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 13px 27px; flex-wrap: wrap; padding-top: 54px; }
.mark { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; }
nav.main { display: flex; flex-wrap: wrap; gap: 6px 27px; font-size: 13px; line-height: 1.5; }
nav.main a { padding: 6px 0; }
nav.main a[aria-current] { font-weight: 600; }
main { padding: 108px 0 216px; }

/* running head, vertical, in the margin */
.hashira { position: fixed; left: max(20px, calc((100vw - 1440px) / 2 + 26px)); top: 162px; writing-mode: vertical-rl;
  font-size: 13px; letter-spacing: 0.06em; display: flex; align-items: center; gap: 13px; }
.seal { display: inline-block; width: 13px; height: 13px; flex: none; }
.hashira .seal { width: 13px; height: 13px; }

/* home: a contents spread */
.home .left { grid-column: 1 / 7; padding-right: 54px; }
.home .left .it { margin-top: 27px; }
.home .hero { margin-top: 54px; }
.home figcaption, .fig figcaption { margin-top: 18px; }
.home .right { grid-column: 7 / 13; }
.home .label { margin-bottom: 27px; }
.contents { display: flex; flex-direction: column; gap: 27px; }
.contents a { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: baseline; }
.contents .nm { display: flex; gap: 13px; align-items: baseline; }
.contents .nm .s27 { line-height: 1; font-weight: 500; }

/* section pages: a contents page of works */
.head { grid-column: 4 / 13; }
.head .it { margin-top: 27px; max-width: 864px; }
.works { grid-column: 4 / 13; margin-top: 108px; display: flex; flex-direction: column; gap: 54px; }
.works li > a, .works li > div { display: grid; grid-template-columns: 1fr 5fr 3fr; align-items: baseline; gap: 0 27px; }
.note { grid-column: 4 / 10; margin-top: 108px; }

/* work page: text in the margin, pictures in the main column */
.work h1 { grid-column: 1 / 13; }
.work .side { grid-column: 1 / 4; grid-row: 2; margin-top: 81px; padding-right: 27px; }
.work .stand { grid-column: 4 / 13; grid-row: 2; margin-top: 81px; max-width: 864px; }
.facts { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 13px; }
.facts dt { font-style: italic; }
.facts dd { margin-bottom: 9px; }
.work .text { margin-top: 54px; }
.work .text p + p, .reading .body p + p, .about .body p + p { margin-top: 27px; }
.fig { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 108px; }
.fig figcaption { grid-column: 1 / 4; margin-top: 0; padding-right: 27px; }
.fig > div { grid-column: 4 / 13; }
.single.portrait { max-width: 576px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.next { grid-column: 4 / 13; margin-top: 162px; display: grid; grid-template-columns: 1fr 288px; grid-template-rows: auto 1fr; gap: 13px 27px; align-items: start; }
.next .s13 { grid-column: 1; }
.next .s60 { grid-column: 1; }
.next img { grid-column: 2; grid-row: 1 / 3; }

/* journal entry: one reading block */
.reading .facts { grid-column: 1 / 4; margin-top: 81px; padding-right: 27px; align-self: start; }
.reading .body { grid-column: 4 / 10; margin-top: 81px; }
.reading .fig > div { grid-column: 4 / 10; }
.reading .fig.late > div { grid-column: 7 / 13; }
.reading .fig.late figcaption { grid-column: 4 / 7; align-self: end; }

/* index of photographs: plates on a common bottom line */
.plates { grid-column: 2 / 13; margin-top: 108px; display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 54px 16px; align-items: end; }
.plates li { scroll-margin-top: 54px; }
.plates span { display: block; margin-top: 9px; min-height: 58px; }

/* about */
.about .body { grid-column: 4 / 10; margin-top: 81px; }
.about .facts { grid-column: 4 / 10; margin-top: 54px; }

footer.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 13px 27px; flex-wrap: wrap; font-size: 13px; line-height: 1.5; padding: 54px 0 81px; }
footer.foot nav { display: flex; gap: 6px 27px; flex-wrap: wrap; }

/* narrower screens */
@media (max-width: 1100px) {
  .hashira { display: none; }
  .head, .works, .note, .reading .body, .about .body, .about .facts { grid-column: 1 / 13; }
  .work .stand { grid-column: 1 / 13; grid-row: auto; }
  .work .side { grid-column: 1 / 13; grid-row: auto; margin-top: 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 27px; }
  .work .text { margin-top: 0; }
  .fig figcaption, .reading .fig.late figcaption { grid-column: 1 / 13; order: 2; margin-top: 13px; }
  .fig > div, .reading .fig > div, .reading .fig.late > div { grid-column: 1 / 13; }
  .reading .facts { grid-column: 1 / 13; }
  .plates { grid-column: 1 / 13; }
  .next { grid-column: 1 / 13; }
}
@media (max-width: 760px) {
  :root { --m: 20px; }
  header.top { padding-top: 27px; }
  main { padding: 54px 0 108px; }
  .home .left, .home .right { grid-column: 1 / 13; padding: 0; }
  .home .right { margin-top: 81px; }
  .contents a { grid-template-columns: 1fr; gap: 6px; }
  .works { margin-top: 54px; gap: 40px; }
  .works li > a, .works li > div { grid-template-columns: 1fr; gap: 6px; }
  .work .side { display: block; }
  .work .text { margin-top: 27px; }
  .fig { margin-top: 54px; }
  .pair { gap: 8px; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .next { grid-template-columns: 1fr 120px; margin-top: 108px; }
  .plates { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 40px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* language switch */
nav.main a.lang { margin-left: 13px; }
:lang(hy) .s136, :lang(hy) .s60 { letter-spacing: 0; }
:lang(hy) .contents a { grid-template-columns: 330px minmax(0, 1fr); }
:lang(hy) .contents .nm .s27 { font-size: clamp(19px, 17px + 0.4vw, 23px); }
:lang(hy) .work .side .facts, :lang(hy) .facts { grid-template-columns: 110px minmax(0, 1fr); }
@media (max-width: 760px) { :lang(hy) .contents a { grid-template-columns: 1fr; } }

/* journal index: one row per entry, a small plate, grouped by year */
.entries { grid-column: 4 / 13; margin-top: 108px; display: flex; flex-direction: column; gap: 18px; }
.entries .yr-h { margin-top: 54px; padding-bottom: 9px; font-weight: 600; }
.entries .yr-h:first-child { margin-top: 0; }
.entries a { display: grid; grid-template-columns: 72px 108px minmax(0, 1fr) 40px; gap: 0 27px; align-items: center; }
.entries img { width: 108px; height: 72px; object-fit: cover; }
.entries .ti { display: flex; flex-direction: column; gap: 4px; }
.entries .ti .s27 { line-height: 1.2; }
.entries .n { text-align: right; font-variant-numeric: tabular-nums; }
.entries a:hover .ti .s27 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entries a:hover { text-decoration: none; }
/* journal entry */
.entry .back { margin-bottom: 27px; }
.entry .back a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry .facts dd a { word-break: normal; }
.entry .fig.jf { margin-top: 54px; }
.entry .fig.jf:first-of-type { margin-top: 81px; }
.entry .fig.jf > div { grid-column: 4 / 13; }
.entry .fig.jf .single.portrait { max-width: 720px; }
.pn { grid-column: 4 / 13; margin-top: 162px; display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.pn .r { text-align: right; }
.pn a:hover { text-decoration: none; }
.pn a:hover .s27 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 1100px) { .entries, .pn, .entry .fig.jf > div { grid-column: 1 / 13; } }
@media (max-width: 760px) {
  .entries a { grid-template-columns: 84px minmax(0, 1fr) 28px; gap: 0 14px; }
  .entries .dt { display: none; }
  .entries img { width: 84px; height: 56px; }
  .entry .fig.jf { margin-top: 27px; }
  .pn { grid-template-columns: 1fr; }
  .pn .r { text-align: left; }
}

/* journal covers: first frame of each entry, uncropped, on a common bottom line */
.covers { grid-column: 1 / 13; margin-top: 108px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 81px 27px; align-items: stretch; }
.covers li:not(.yr-h) { display: flex; }
.covers .yr-h { grid-column: 1 / -1; font-weight: 600; margin-top: 54px; align-self: start; }
.covers .yr-h:first-child { margin-top: 0; }
.covers a { display: flex; flex-direction: column; justify-content: flex-end; gap: 13px; width: 100%; }
.covers a:hover { text-decoration: none; }
.covers .cap { display: flex; flex-direction: column; gap: 4px; height: 118px; }
.covers .cap .s27 { line-height: 1.2; }
@media (max-width: 1100px) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .covers { grid-template-columns: 1fr; gap: 54px; margin-top: 54px; } .covers .cap { min-height: 0; } }

/* journal collections */
.section .sub { grid-column: 1 / 13; margin-top: 108px; font-weight: 600; }
.section .sub + .covers { margin-top: 54px; }
.coll .back { margin-bottom: 27px; }
.coll .back a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.coll .note { grid-column: 1 / 13; }
.covers.colls .cap { height: auto; }

/* hover: on covers only the photograph reacts; the text stays still */
.covers a, .covers a:hover, .covers a:focus-visible { text-decoration: none; }
.covers a:hover .cap *, .covers a:focus-visible .cap * { text-decoration: none; }
.covers img { transition: opacity 0.35s ease, filter 0.35s ease; }
.covers a:hover img, .covers a:focus-visible img { opacity: 0.78; filter: saturate(1.08); }
@media (prefers-reduced-motion: reduce) { .covers img { transition: none; } }

/* hover in lists: only the name reacts, the description beside it stays still */
.contents a:hover, .contents a:focus-visible, .works a:hover, .works a:focus-visible { text-decoration: none; }
.contents .nm .s27, .works .ti { transition: opacity 0.25s ease; }
.contents a:hover .nm .s27, .contents a:focus-visible .nm .s27,
.works a:hover .ti, .works a:focus-visible .ti { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* home welcome */
.home .welcome { margin-top: 0; max-width: 540px; }
.home .welcome + .welcome { margin-top: 1em; }
.home .welcome + .hero, .home .welcome + .welcome + .hero { margin-top: 40px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* home hero: a fixed 3:2 frame that never changes size; photos sit inside it, top left, uncropped, and crossfade */
.home .hero .frame { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.home .hero .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left top; transition: opacity 0.5s ease; }
.home .hero .frame img.off { opacity: 0; }
.home .hero figcaption { transition: opacity 0.22s ease; }
.home .hero figcaption.off { opacity: 0; }
/* Contents: the hovered item stays, the others step back */
@media (hover: hover) {
  .home .contents a { transition: opacity 0.25s ease; }
  .home .contents:hover a { opacity: 0.35; }
  .home .contents:hover a:hover, .home .contents a:focus-visible { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .home .hero .frame img, .home .hero figcaption, .home .contents a { transition: none; }
}
/* archive department */
.archive .reading { margin-top: 96px; }
.archive .fig { scroll-margin-top: 48px; }
/* film page */
.film .facts { grid-template-columns: 96px minmax(0, 1fr); }
:lang(hy) .film .facts { grid-template-columns: 120px minmax(0, 1fr); }
.film .note-h { margin-top: 54px; margin-bottom: 18px; }
.works .ti a { color: inherit; text-decoration: none; }
/* film research pages */
.film .sec-h { margin-top: 54px; margin-bottom: 18px; }
.film .body > .sec-h:first-child { margin-top: 0; }
.film .route { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 0 18px; }
.film .route dt { font-style: italic; }
.film .route dd { margin-bottom: 13px; }
.film .vid { position: relative; aspect-ratio: 16 / 9; background: #000; }
.film .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film .body + .fig, .film .fig.video { margin-top: 81px; }
.film .fig.video > div { grid-column: 4 / 13; }
/* editorial film page */
.ed figure img { display: block; width: 100%; height: auto; }
.ed figure figcaption { margin-top: 13px; }
.ed .ed-links { margin-top: 27px; display: flex; gap: 27px; flex-wrap: wrap; }
.ed .ed-hero { grid-column: 1 / 13; margin-top: 81px; }
.ed .ed-facts { grid-column: 1 / 4; margin-top: 81px; padding-right: 27px; align-self: start; }
.ed .ed-text { grid-column: 4 / 10; margin-top: 81px; }
.ed .ed-text p + p { margin-top: 27px; }
.ed .ed-text.ed-l { grid-column: 1 / 7; padding-right: 27px; }
.ed .ed-side { grid-column: 8 / 13; margin-top: 81px; align-self: start; }
.ed .ed-side.ed-sl { grid-column: 1 / 6; }
.ed .ed-text.ed-r { grid-column: 7 / 13; }
.ed .ed-quote { grid-column: 3 / 11; margin: 108px 0 0; }
.ed .ed-quote footer { margin-top: 18px; }
.ed .ed-video { grid-column: 1 / 13; margin-top: 108px; }
.ed .ed-pair { grid-column: 1 / 13; margin-top: 81px; display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.ed .ed-wide { grid-column: 1 / 13; margin-top: 108px; }
.ed .sec-h { margin-top: 0; margin-bottom: 18px; }
.ed .ed-text .sec-h + p, .ed .ed-text .sec-h + dl { margin-top: 0; }
.ed .ed-text p + .sec-h { margin-top: 54px; }
@media (max-width: 1100px) {
  .ed .ed-facts, .ed .ed-text, .ed .ed-text.ed-l, .ed .ed-text.ed-r, .ed .ed-side, .ed .ed-side.ed-sl, .ed .ed-quote { grid-column: 1 / 13; padding-right: 0; }
}
@media (max-width: 760px) { .ed .ed-pair { grid-template-columns: 1fr; } }
.ed .ed-zh { grid-column: 9 / 13; }
.ed figcaption .cr { opacity: .6; }
@media (max-width: 1100px) { .ed .ed-zh { grid-column: 1 / 13; max-width: 420px; } }
.ed .ed-side.ed-port { grid-column: 9 / 13; }
.ed .ed-side.ed-sl.ed-port { grid-column: 1 / 5; }
.ed .ed-comments { grid-column: 3 / 11; margin-top: 81px; }
.ed .ed-comments ul { list-style: none; padding: 0; margin: 0; }
.ed .ed-comments li + li { margin-top: 27px; }
.ed .ed-comments figcaption { margin-top: 27px; }
.ed .press { list-style: none; padding: 0; margin: 0; }
.ed .press li + li { margin-top: 13px; }
@media (max-width: 1100px) { .ed .ed-side.ed-port, .ed .ed-side.ed-sl.ed-port, .ed .ed-comments { grid-column: 1 / 13; max-width: 560px; } }
.section .sub + .works { margin-top: 27px; }
.print .sub { grid-column: 4 / 13; }

/* Photography: a timeline by year, newest first, with city filters */
.photo .tl-f { grid-column: 4 / 13; margin-top: 54px; display: flex; flex-wrap: wrap; gap: 8px 27px; align-items: baseline; }
.photo .tl-f button { font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 0 0 3px; margin: 0; cursor: pointer; opacity: 0.45; transition: opacity 0.2s ease, border-color 0.2s ease; }
.photo .tl-f button:hover { opacity: 1; }
.photo .tl-f button[aria-pressed="true"] { opacity: 1; border-bottom-color: currentColor; }
.photo .tl-f .n { font-size: 0.72em; vertical-align: super; line-height: 0; margin-left: 2px; font-variant-numeric: tabular-nums; }
.photo .tl { grid-column: 1 / 13; }
.photo .tl-y { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap, 27px); margin-top: 108px; padding-top: 27px; border-top: 1px solid var(--ink); }
.photo .tl-y:first-child { margin-top: 81px; }
.photo .tl-h { grid-column: 1 / 4; align-self: start; position: sticky; top: 27px; }
.photo .tl-n { font-size: clamp(64px, 28px + 7vw, 132px); line-height: 0.82; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.photo .tl-c { margin-top: 18px; }
.photo .tl-g.covers { grid-column: 4 / 13; margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 27px; align-items: start; }
.photo .tl-g li { display: block; }
.photo .tl-g a { display: flex; flex-direction: column; justify-content: flex-start; gap: 13px; }
.photo .tl-g img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.photo .tl-g .cap { height: auto; }
.photo .tl-g .cap .s27 { font-size: 20px; line-height: 1.25; }
@media (max-width: 1100px) { .photo .tl-g.covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo .tl[data-f="toronto"] li:not([data-city="toronto"]),
.photo .tl[data-f="armenia"] li:not([data-city="armenia"]),
.photo .tl[data-f="elsewhere"] li:not([data-city="elsewhere"]) { display: none; }
.photo .tl-y[hidden] { display: none; }
.photo .note { grid-column: 4 / 13; }
@media (max-width: 760px) {
  .photo .tl-f { grid-column: 1 / 13; margin-top: 36px; }
  .photo .tl-y { display: block; margin-top: 72px; }
  .photo .tl-h { position: static; display: flex; align-items: baseline; justify-content: space-between; }
  .photo .tl-g.covers { grid-template-columns: 1fr; margin-top: 36px; gap: 54px; }
}
/* Journal: writing */
.writing .posts:empty { display: none; }
.writing .empty { grid-column: 4 / 13; margin-top: 108px; }
.writing .note { grid-column: 4 / 13; margin-top: 54px; }
@media (max-width: 760px) { .writing .empty, .writing .note { grid-column: 1 / 13; } }
.photo .tl-studio .tl-n { font-size: clamp(48px, 18px + 5vw, 96px); }
.photo .tl-more { margin-top: 9px; }
.photo .tl[data-f="studio"] li:not([data-city="studio"]) { display: none; }
.photo .tl[data-f="editorial"] li:not([data-city="editorial"]) { display: none; }
.photo .tl-set .tl-n { font-size: clamp(30px, 8px + 3vw, 52px); line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; padding-right: 18px; }
.photo .tl-editorial .tl-g.covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo .tl-editorial .tl-g img { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .photo .tl-editorial .tl-g.covers { grid-template-columns: 1fr; } }
:lang(hy) .photo .tl-set .tl-n { font-size: clamp(24px, 6px + 2.3vw, 40px); overflow-wrap: normal; }
/* Editorial: justified rows, every photograph shown whole, one height per row */
.photo .tl-editorial .ed-rows { grid-column: 4 / 13; }
.photo .ed-row { display: flex; gap: 18px; align-items: flex-start; margin: 0 0 45px; padding: 0; list-style: none; }
.photo .ed-row:last-child { margin-bottom: 0; }
.photo .ed-row li { min-width: 0; }
.photo .ed-row a { display: block; color: inherit; text-decoration: none; }
.photo .ed-row img { display: block; width: 100%; height: auto; transition: opacity 0.3s ease; }
.photo .ed-row a:hover img { opacity: 0.85; }
.photo .ed-cap { display: block; margin-top: 9px; line-height: 1.4; }
.photo .ed-k { opacity: 0.5; margin-right: 4px; }
.photo .ed-m { display: block; font-style: italic; opacity: 0.6; }
.photo .tl[data-f="editorial"] .tl-y:not(.tl-editorial) { display: none; }
@media (max-width: 760px) { .photo .ed-row { flex-wrap: wrap; } .photo .ed-row li { flex: 1 1 100% !important; } }
.photo .tl-walks-h { margin-top: 144px; }
.photo .tl-walks-h h2 { font-weight: 600; }
.photo .tl-walks-h + .tl-y { margin-top: 36px; }
.photo .tl[data-f="editorial"] .tl-walks-h { display: none; }
.photo .tl[data-f="walks"] .tl-walks-h { margin-top: 36px; }
/* Films: the Photography timeline, one wide card per film */
.films .tl-y:first-child { margin-top: 81px; }
.films .fc { grid-column: 4 / 13; }
.films .fc a { display: block; color: inherit; text-decoration: none; }
.films .fc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.films .fc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.films .fc a:hover .fc-img img { opacity: 0.85; }
.films .fc-blank { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--ink); opacity: 0.55; }
.films .fc-cap { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: 27px; margin-top: 18px; }
.films .fc-t { grid-column: 1 / 5; line-height: 1.1; }
.films .fc-m { grid-column: 5 / 10; line-height: 1.5; }
.films .fc-m br + i { display: block; margin-top: 6px; opacity: 0.7; }
.films .fc-m br { display: none; }
.films .tl-y[hidden] { display: none; }
@media (max-width: 760px) { .films .fc { margin-top: 27px; } .films .fc-cap { display: block; } .films .fc-m { display: block; margin-top: 9px; } }

/* Journal: a full-bleed photograph behind the title */
.writing .jr-hero { grid-column: 1 / 13; position: relative; margin: 0 calc(50% - 50vw); width: 100vw; height: min(82vh, 860px); overflow: hidden; background: #111; }
.writing .jr-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1); }
.writing .jr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 55%); }
.writing .jr-over { position: absolute; z-index: 1; left: max(var(--m), calc((100vw - 1440px) / 2 + var(--m))); right: var(--m); bottom: 54px; color: #FAF9F6; max-width: 820px; }
.writing .jr-over .it { margin-top: 18px; }
.writing .jr-hero figcaption { position: absolute; z-index: 1; right: max(var(--m), calc((100vw - 1440px) / 2 + var(--m))); bottom: 58px; color: rgba(250,249,246,0.75); }
.writing .jr-hero + .posts:empty + .empty { margin-top: 81px; }
@media (max-width: 760px) { .writing .jr-hero { height: 70vh; } .writing .jr-hero figcaption { right: auto; left: var(--m); bottom: 18px; } .writing .jr-over { bottom: 54px; } }
.hashira { z-index: 3; }
html { overflow-x: clip; }

/* motion: short and quiet; switched off entirely for visitors who ask for reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) {
  main { animation: pg-in .35s ease-out both; }
  @keyframes pg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .home .hero .frame img.on { animation: img-in .3s ease-out both; }
  @keyframes img-in { from { opacity: 0; } to { opacity: 1; } }
  .films .fc a:focus-visible .fc-img img, .photo .ed-row a:focus-visible img, .covers a:focus-visible img { opacity: .85; }
  body, .foot, nav.main a { transition: background-color .25s ease, color .25s ease; }
}
.home .contents:hover a { opacity: 1 !important; }
.home .hero .frame img.off { display: none; }
/* natural proportions: every photograph at its own shape, no forced crops */
.photo .tl-g img, .photo .tl-editorial .tl-g img { aspect-ratio: auto !important; object-fit: initial !important; height: auto !important; width: 100%; }
.films .fc-img { aspect-ratio: auto !important; background: none; }
.films .fc-img img { height: auto !important; object-fit: initial !important; }
.home .hero .frame { aspect-ratio: auto !important; overflow: visible; }
.home .hero .frame img.on { position: static !important; width: 100% !important; height: auto !important; }
.writing .jr-hero { height: auto !important; }
.writing .jr-hero img { position: static !important; height: auto !important; }
/* Print */
.print .fc-tt { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 8px; }
.print .fc-tt .fc-t { grid-column: auto; }
.print .pr-sub { opacity: 0.7; }
.print .fc-img + .fc-cap, .print .fc > .fc-cap:first-child { margin-top: 18px; }
.print .fc > .fc-cap:first-child { margin-top: 0; }
.print .pr-sps { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 54px; }
.print .pr-sp img { display: block; width: 100%; height: auto; }
.print .pr-sp figcaption { margin-top: 9px; opacity: 0.7; }
.print .tl-n { font-variant-numeric: tabular-nums; }
.print .sub { grid-column: auto; }
/* Films and Print: the year stays inside its column */
.photo .tl-n, .films .tl-n, .print .tl-n { font-size: clamp(48px, 10px + 4.2vw, 104px); padding-right: 18px; }
.print .fc-a { display: block; color: inherit; }
.print .fc-a:hover img { opacity: 0.88; }
.print.book .pr-sps { margin-top: 72px; gap: 54px; }
/* Where a project stands: six stages, the current one marked */
.stg { margin-top: 36px; }
.stg-c { margin: 0 0 10px; opacity: 0.7; }
.stg ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.stg li { position: relative; padding-top: 10px; border-top: 3px solid color-mix(in srgb, var(--ink) 14%, transparent); opacity: 0.45; }
.stg li.done { border-top-color: var(--ink); opacity: 1; }
.stg li.now { border-top-color: #E0101E; opacity: 1; }
.stg li.now::before { content: ""; position: absolute; top: -7px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #E0101E;
}
.print .fc > .stg { margin-top: 27px; }
.print .fc > .stg li span { font-size: 11px; }
.print .pr-now { color: #E0101E; opacity: 1; }
.print .pr-raws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 27px; margin-top: 54px; align-items: start; }
.print .pr-raw img { display: block; width: 100%; height: auto; }
.print .pr-raw figcaption { margin-top: 9px; opacity: 0.7; }
@media (max-width: 760px) { .print .pr-raws { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .stg li span { font-size: 10px; } }
.print .pr-log { list-style: none; margin: 27px 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.print .pr-log li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); column-gap: 27px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.print .pr-log li > span:first-child { opacity: 0.6; }
.print .pr-ig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.print .pr-ph { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.print .pr-ph .pr-raw img { aspect-ratio: 3 / 4; object-fit: cover; }
.print .pr-why { grid-column: 4 / 13; max-width: 46rem; margin: 54px 0 27px; }
.print .pr-why h2 { margin: 0 0 18px; opacity: 0.6; font-weight: 400; }
.print .pr-why p { margin: 0 0 1em; font-size: 19px; line-height: 1.55; }
@media (max-width: 760px) { .print .pr-why { grid-column: 1 / -1; } .print .pr-why p { font-size: 17px; } }
.print .pr-why .pr-sign { font-size: 15px; margin-top: 18px; }
.print .pr-why .pr-sign::before { content: "— "; }
.print .pr-q { margin: 45px 0 0; padding: 0; }
.print .pr-q .s40 { margin: 0; line-height: 1.15; max-width: 22em; }
.print .pr-q .s13 { margin: 12px 0 0; opacity: 0.6; }
.print .tl-word { font-size: clamp(30px, 8px + 3vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.print .pr-why + .pr-why { margin-top: 0; }
/* Bejanyan: uncropped, size-led masonry */
.print .pr-raws.pr-mas { display: block; columns: 3; column-gap: 27px; }
.print .pr-raws.pr-mas .pr-raw { break-inside: avoid; margin: 0 0 27px; }
.print .pr-raws.pr-mas .pr-raw img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; }
@media (max-width: 760px) { .print .pr-raws.pr-mas { columns: 2; column-gap: 18px; } }
.print .pr-raws.pr-mas.pr-big { columns: 2; }
.print .pr-raws.pr-mas .pr-raw a { display: block; cursor: zoom-in; }
@media (max-width: 760px) { .print .pr-raws.pr-mas.pr-big { columns: 1; } }
.print .rk-lead { margin: 0 0 27px; }
.print .rk-lead .pr-raw { margin: 0; }
.print .rk-lead video { width: 100%; height: auto; display: block; background: #000; }
.print .rk-lead img { width: 100%; height: auto; max-height: 88vh; object-fit: contain; object-position: left top; display: block; }
.print .rk-tl p { display: grid; grid-template-columns: 9.5em 1fr; gap: 0 1.2em; margin: 0 0 .7em; }
.print .rk-tl .rk-y { font-style: italic; color: #777; }
@media (max-width: 760px) { .print .rk-tl p { grid-template-columns: 1fr; } }
.print .rk-tl details > summary { cursor: pointer; list-style: none; display: inline-flex; gap: .6em; align-items: baseline; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.print .rk-tl details > summary::-webkit-details-marker { display: none; }
.print .rk-tl details > summary::after { content: "+"; font-style: normal; }
.print .rk-tl details[open] > summary::after { content: "−"; }
.print .rk-tl details[open] > summary { margin-bottom: 1.2em; }
.print .rk-tl .rk-n { color: #777; }
.print .pr-raws.pr-mas .pr-raw figcaption a { display: inline; cursor: pointer; }
.ed .ed-pair.ed-three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 760px) { .ed .ed-pair.ed-three { grid-template-columns: 1fr; } }
.about .body figure { float: right; width: 260px; margin: 6px 0 27px 40px; }
.about .body h2 { clear: both; }
@media (max-width: 760px) { .about .body figure { float: none; width: 100%; max-width: 320px; margin: 0 0 27px; } }
.about .body figure img { width: 100%; height: auto; display: block; }
.about .body figcaption { margin-top: 9px; }
.about .body h2 { margin-top: 81px; }
.about .body .ab-w { margin-top: 27px; }
.about .body .ab-y { display: inline-block; min-width: 7.5em; opacity: .6; }
.about .tlx { margin-top: 54px; border-top: 1px solid currentColor; }
.about .tlx-r { display: grid; grid-template-columns: 8.5em 1fr; gap: 0 18px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.about .tlx-y { opacity: .6; }
.about .tlx-r b { font-weight: 600; }
.about .tlx-n { display: block; margin-top: 4px; opacity: .75; }
.about .tlx-r figure { float: none; width: 220px; margin: 12px 0 0; }
.about .ab-press a { word-break: break-word; }
@media (max-width: 760px) { .about .tlx-r { grid-template-columns: 1fr; } }
.about .body figure.ab-pf { width: 240px; }
.about .tlx-p { display: block; margin-top: 2px; }
.about .tlx-f figure { grid-column: 1 / -1; display: grid; grid-template-columns: 8.5em 260px 1fr; gap: 0 18px; align-items: end; float: none; width: auto; margin: 22px 0 6px; }
.about .tlx-f figure img { grid-column: 2; width: 260px; height: auto; box-shadow: 0 1px 8px rgba(0,0,0,.14); }
.about .tlx-f figcaption { grid-column: 3; margin: 0 0 4px; max-width: 18em; opacity: .75; }
@media (max-width: 760px) { .about .tlx-f figure { grid-template-columns: 1fr; } .about .tlx-f figure img, .about .tlx-f figcaption { grid-column: 1; } .about .tlx-f figure img { width: 100%; max-width: 320px; } .about .tlx-f figcaption { margin-top: 9px; } }
.print .tl-word.tl-long { font-size: clamp(24px, 6px + 2.1vw, 36px); }
.print .tl-h { min-width: 0; } .print .tl-word { overflow-wrap: anywhere; }
.about .cv-dl { margin-top: 18px; }
nav.main button.theme { font: inherit; font-size: 15px; line-height: 1; background: none; border: 0; color: inherit; padding: 6px 2px; cursor: pointer; margin-left: 6px; }
nav.main button.theme:hover { opacity: .6; }
nav.main button.theme:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
:root[data-theme=dark] .mark img { filter: invert(1); }
.js .home .hero .frame:not(.ready) { visibility: hidden; }

/* Photo viewer */
html.lb-on { overflow: hidden; }
img.lbz { cursor: zoom-in; }
img.lbz:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.lb { position: fixed; inset: 0; z-index: 1000; background: var(--paper); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr; padding: 18px 24px 24px; }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.lb button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 10px 12px; }
.lb button:hover, .lb button:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lb button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.lb-x { margin-right: -12px; }
.lb-fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 0; padding: 0 72px; }
.lb-img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; cursor: e-resize; }
.lb-cap { max-width: 60ch; text-align: center; }
.lb-a { position: absolute; top: 80px; bottom: 80px; width: 72px; font-size: 27px !important; display: flex; align-items: center; justify-content: center; }
.lb-a:hover, .lb-a:focus-visible { text-decoration: none !important; }
.lb-a span { display: block; transition: transform .2s ease; }
.lb-p { left: 0; } .lb-nx { right: 0; }
.lb-p:hover span { transform: translateX(-4px); } .lb-nx:hover span { transform: translateX(4px); }
@media (max-width: 760px) {
  .lb { padding: 12px 16px 72px; }
  .lb-fig { padding: 0; }
  .lb-img { max-height: calc(100dvh - 190px); cursor: default; }
  .lb-a { top: auto; bottom: 8px; height: 56px; width: 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .lb:not([hidden]) { animation: lb-in .2s ease; }
  .lb-img { transition: opacity .2s ease; }
  .lb.ld .lb-img { opacity: .25; }
  @keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
}
