/* Alex J Photography, public site.
   One stylesheet, no build step. Sections: fonts, tokens, base, type, chrome, components, home, pages,
   gallery layouts, reveal styles, photo page, lightbox, journal, motion preferences, print.
   Two moods share every rule: Paper (warm white, near black ink) and Ink (near black, warm off white).
   The mood is set on <html data-mood="paper|ink|auto"> by the server, so there is no flash. */

/* ------------------------------------------------------------------ fonts (Poppins, SIL OFL, self hosted) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/assets/fonts/poppins-300-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/assets/fonts/poppins-300-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/poppins-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/poppins-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/poppins-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/poppins-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap;
  src: url(/assets/fonts/poppins-300-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap;
  src: url(/assets/fonts/poppins-300-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Metric matched stand in while Poppins loads, so the swap barely moves text. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 112%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }

/* ------------------------------------------------------------------ tokens */
:root {
  --font-sans: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-read: ui-serif, "New York", "Iowan Old Style", Charter, "Bitstream Charter", Georgia, "Times New Roman", serif;

  /* type scale, fluid between phone and wide desktop */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 4.6vw, 5.75rem);
  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --track-label: .16em;

  /* spacing, a 4 px rhythm with generous section breaks */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem;
  --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4rem, 2.5rem + 7vw, 9rem);
  --gutter: clamp(1rem, .4rem + 3.2vw, 3rem);
  --wrap: 1440px;
  --measure: 38rem;
  --header-h: 4.25rem;

  /* motion: three durations, one signature curve, a spring for the lightbox only */
  --dur-micro: 180ms;
  --dur-std: 400ms;
  --dur-page: 700ms;
  --ease: cubic-bezier(.22, .61, .12, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.3, 1.3, .5, 1);

  --line-w: 1px;
  color-scheme: light;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --ease-spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.7%, 1.051 22.5%, 1.057 25.5%, 1.041 29.9%, 1.013 37.1%, .997 44.5%, .996 53.3%, 1); }
}

/* Paper: warm white page, near black ink, navy accent (the brand navy, used sparingly) */
:root, :root[data-mood="paper"] {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --bg-3: #e6e3db;
  --fg: #141414;
  --fg-2: #4d4b46;
  --fg-3: #6a675f;
  --line: rgba(20, 20, 20, .12);
  --line-2: rgba(20, 20, 20, .28);
  --accent: #003366;
  --accent-2: #1f4f80;
  --on-accent: #ffffff;
  --focus: #003366;
  --scrim: rgba(12, 12, 12, .28);
  --lb-bg: #f6f5f1;
  --ok: #2f6b3f;
  --err: #9b2335;
  color-scheme: light;
}
/* Ink: near black page, warm off white text, the navy lifted to a readable slate */
:root[data-mood="ink"] {
  --bg: #0e0e0d;
  --bg-2: #161614;
  --bg-3: #1f1f1c;
  --fg: #ece9e2;
  --fg-2: #bdb8ae;
  --fg-3: #9a958b;
  --line: rgba(236, 233, 226, .12);
  --line-2: rgba(236, 233, 226, .3);
  --accent: #a9bfd6;
  --accent-2: #c8d7e6;
  --on-accent: #0e0e0d;
  --focus: #c8d7e6;
  --scrim: rgba(0, 0, 0, .34);
  --lb-bg: #0b0b0a;
  --ok: #8cc79b;
  --err: #f0a3ad;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-mood="auto"] {
    --bg: #0e0e0d; --bg-2: #161614; --bg-3: #1f1f1c; --fg: #ece9e2; --fg-2: #bdb8ae; --fg-3: #9a958b;
    --line: rgba(236, 233, 226, .12); --line-2: rgba(236, 233, 226, .3); --accent: #a9bfd6; --accent-2: #c8d7e6;
    --on-accent: #0e0e0d; --focus: #c8d7e6; --scrim: rgba(0, 0, 0, .34); --lb-bg: #0b0b0a; --ok: #8cc79b; --err: #f0a3ad;
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--fs-base)/var(--lh-body) var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  transition: background-color var(--dur-std) var(--ease), color var(--dur-std) var(--ease);
}
main { flex: 1 0 auto; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto; }
.wrap--text { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .55); }
.rule { border: 0; border-top: var(--line-w) solid var(--line); margin: 0; }

/* ------------------------------------------------------------------ type */
.display, h1 { font-weight: 300; font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: -.025em; text-wrap: balance; }
h2, .h2 { font-weight: 300; font-size: var(--fs-2xl); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h3, .h3 { font-weight: 400; font-size: var(--fs-lg); line-height: var(--lh-snug); letter-spacing: -.005em; }
h4 { font-weight: 500; font-size: var(--fs-base); }
.label {
  display: inline-block; font-size: var(--fs-xs); font-weight: 500; line-height: 1.4;
  text-transform: uppercase; letter-spacing: var(--track-label); color: var(--fg-3);
}
.lead { font-size: var(--fs-lg); font-weight: 300; line-height: 1.55; color: var(--fg-2); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--fg-3); }
.text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--dur-std) var(--ease), color var(--dur-micro); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.more {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase;
}
.more .ic { width: 1.1rem; height: 1.1rem; transition: transform var(--dur-std) var(--ease); }
.more:hover .ic { transform: translateX(4px); }
.more:hover { color: var(--accent); }

.prose { font-size: var(--fs-md); line-height: var(--lh-body); color: var(--fg); max-width: var(--measure); text-wrap: pretty; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
.prose a:hover { background-size: 0 1px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--fg-3); }
.prose strong { font-weight: 500; }
.prose blockquote { border-left: var(--line-w) solid var(--line-2); padding-left: 1.2em; color: var(--fg-2); font-style: italic; }
.prose img { margin-block: 2em; }
.prose hr { border: 0; border-top: var(--line-w) solid var(--line); margin-block: 2.5em; }

/* ------------------------------------------------------------------ chrome */
.skip-link {
  position: fixed; left: var(--s-4); top: var(--s-4); z-index: 1000; padding: .75rem 1rem;
  background: var(--fg); color: var(--bg); font-size: var(--fs-sm); transform: translateY(-200%);
  transition: transform var(--dur-micro) var(--ease);
}
.skip-link:focus-visible { transform: none; }
.announce { background: var(--fg); color: var(--bg); font-size: var(--fs-sm); text-align: center; padding: .55rem var(--gutter); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: var(--line-w) solid transparent;
  transition: transform var(--dur-std) var(--ease), background-color var(--dur-std) var(--ease), border-color var(--dur-std) var(--ease), color var(--dur-std) var(--ease);
  view-transition-name: site-header;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: saturate(1.1) blur(18px); -webkit-backdrop-filter: saturate(1.2) blur(14px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-101%); }
.header__in { height: 100%; display: flex; align-items: center; gap: var(--s-5); }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark .m-disc { fill: var(--accent); transition: fill var(--dur-std) var(--ease); }
.brand__mark .m-face { fill: var(--bg-3); }
.brand__mark .m-blades { stroke: var(--accent); }
:root[data-mood="ink"] .brand__mark .m-disc { fill: #ece9e2; }
:root[data-mood="ink"] .brand__mark .m-face { fill: #1f3d5c; }
:root[data-mood="ink"] .brand__mark .m-blades { stroke: #ece9e2; }
@media (prefers-color-scheme: dark) {
  :root[data-mood="auto"] .brand__mark .m-disc { fill: #ece9e2; }
  :root[data-mood="auto"] .brand__mark .m-face { fill: #1f3d5c; }
  :root[data-mood="auto"] .brand__mark .m-blades { stroke: #ece9e2; }
}
.brand__name { font-weight: 500; font-size: 1.02rem; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.brand__sub { font-size: .62rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); line-height: 1; margin-left: .15rem; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(1rem, .2rem + 1.6vw, 2.25rem); }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; color: var(--fg-2);
  transition: color var(--dur-micro) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur-std) var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--fg); }
.nav a[aria-current]::after { background: var(--accent); }
.header__tools { display: flex; align-items: center; gap: .15rem; margin-right: -.6rem; }
.tool {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--fg-2);
  transition: color var(--dur-micro) var(--ease);
}
.tool:hover { color: var(--fg); }
.tool .ic { width: 1.2rem; height: 1.2rem; }
.tool__badge {
  position: absolute; top: 6px; right: 4px; min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem; border-radius: 1rem;
  background: var(--accent); color: var(--on-accent); font-size: .62rem; font-weight: 500; line-height: 1.05rem; text-align: center;
}
.mood-toggle .ic--moon, :root[data-mood="ink"] .mood-toggle .ic--sun { display: none; }
:root[data-mood="ink"] .mood-toggle .ic--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root[data-mood="auto"] .mood-toggle .ic--sun { display: none; }
  :root[data-mood="auto"] .mood-toggle .ic--moon { display: block; }
}
.menu-toggle { display: none; }

/* Header over the full bleed home hero: transparent until the visitor scrolls */
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .nav a, .has-hero:not(.menu-open) .site-header:not(.is-scrolled) .tool, .has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand__sub { color: rgba(255, 255, 255, .9); }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .nav a[aria-current]::after { background: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand__mark .m-disc { fill: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand__mark .m-face { fill: rgba(0, 51, 102, .9); }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand__mark .m-blades { stroke: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }
.has-hero main { margin-top: calc(var(--header-h) * -1); }

@media (max-width: 900px) {
  :root { --header-h: 3.75rem; }
  .menu-toggle { display: inline-grid; }
  .nav-panel {
    position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    background: var(--bg); color: var(--fg); visibility: hidden; opacity: 0;
    transition: opacity var(--dur-std) var(--ease), visibility 0s linear var(--dur-std);
  }
  .nav-panel.is-open { visibility: visible; opacity: 1; transition: opacity var(--dur-std) var(--ease), visibility 0s; }
  .nav { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .nav a { font-size: clamp(1.9rem, 1.4rem + 3vw, 2.6rem); font-weight: 300; color: var(--fg); letter-spacing: -.02em; transform: translateY(12px); opacity: 0;
    transition: transform var(--dur-page) var(--ease), opacity var(--dur-page) var(--ease), color var(--dur-micro); }
  .nav-panel.is-open .nav a { transform: none; opacity: 1; }
  .nav-panel.is-open .nav a:nth-child(2) { transition-delay: 40ms; }
  .nav-panel.is-open .nav a:nth-child(3) { transition-delay: 80ms; }
  .nav-panel.is-open .nav a:nth-child(4) { transition-delay: 120ms; }
  .nav-panel.is-open .nav a:nth-child(5) { transition-delay: 160ms; }
  .nav-panel.is-open .nav a:nth-child(6) { transition-delay: 200ms; }
  .nav a::after { bottom: 6px; }
  .nav-panel__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: var(--fs-sm); color: var(--fg-3); }
  .nav-panel__foot a { min-height: 44px; display: inline-flex; align-items: center; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { color: var(--fg); background: var(--bg); }
  .menu-open .site-header .tool, .menu-open .site-header .brand__sub { color: var(--fg-2) !important; }
  .menu-open .brand, .menu-open .header__tools { position: relative; z-index: 61; }
  .brand__sub { display: none; }
}
@media (min-width: 901px) {
  .nav-panel { display: contents; }
  .nav-panel__foot { display: none; }
}
.menu-toggle .ic--x, .menu-open .menu-toggle .ic--menu { display: none; }
.menu-open .menu-toggle .ic--x { display: block; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: var(--fs-xs); letter-spacing: .06em; color: var(--fg-3); }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; transition: color var(--dur-micro); }
.crumbs a:hover { color: var(--fg); }
.crumbs__sep { width: 1.25rem; height: 1px; background: var(--line-2); }
.crumbs [aria-current] { color: var(--fg-2); }

.page-head { padding-top: clamp(2.5rem, 1.5rem + 5vw, 6rem); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.page-head .crumbs { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: var(--s-5); }
.page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.page-head__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: var(--s-5); }

.site-footer { margin-top: var(--section); border-top: var(--line-w) solid var(--line); padding-block: clamp(3rem, 2rem + 4vw, 6rem) 2rem; font-size: var(--fs-sm); color: var(--fg-2); }
.footer__grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer__brand .brand { margin-bottom: var(--s-4); }
.footer__line { max-width: 28ch; font-size: var(--fs-md); font-weight: 300; line-height: 1.5; color: var(--fg); }
.footer__h { margin-bottom: var(--s-4); }
.footer__links { list-style: none; display: grid; gap: .1rem; }
.footer__links a { display: inline-flex; min-height: 36px; align-items: center; transition: color var(--dur-micro); }
.footer__links a:hover { color: var(--fg); }
.social { display: flex; gap: .25rem; margin-top: var(--s-5); margin-left: -.7rem; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--fg-2); transition: color var(--dur-micro); }
.social a:hover { color: var(--accent); }
.footer__legal { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-top: var(--s-5); border-top: var(--line-w) solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: var(--fs-xs); color: var(--fg-3); }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer__legal a { display: inline-flex; min-height: 32px; align-items: center; transition: color var(--dur-micro); }
.footer__legal a:hover { color: var(--fg); }
.powered-by a { display: inline-flex; align-items: center; gap: .45rem; }
.powered-by .pb-icon { width: 16px; height: 16px; opacity: .8; }

/* ------------------------------------------------------------------ components */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.5rem;
  border: var(--line-w) solid var(--line-2); background: transparent; color: var(--fg);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .ic { width: 1rem; height: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.chips { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin-block: var(--s-5); }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3);
  transition: color var(--dur-micro) var(--ease);
}
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-std) var(--ease); }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"], .chip[aria-current] { color: var(--fg); }
.chip[aria-pressed="true"]::after, .chip[aria-current]::after { transform: scaleX(1); }
.chip__n { font-weight: 400; color: var(--fg-3); letter-spacing: .04em; }

.note { border-left: 2px solid var(--accent); padding: .9rem 1.2rem; background: var(--bg-2); font-size: var(--fs-sm); color: var(--fg-2); max-width: var(--measure); }
.flash { padding: .9rem 1.2rem; border: var(--line-w) solid var(--line-2); font-size: var(--fs-sm); }
.flash--ok { border-color: var(--ok); color: var(--ok); }
.flash--err { border-color: var(--err); color: var(--err); }

/* forms */
.form { display: grid; gap: var(--s-5); max-width: 44rem; }
.form__grid { display: grid; gap: var(--s-5) var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label, .field legend, .fieldset legend { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-2); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: var(--line-w) solid var(--line-2); border-radius: 0; background: var(--bg);
  font-size: var(--fs-base); line-height: 1.5; transition: border-color var(--dur-micro) var(--ease), background-color var(--dur-micro);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__hint { font-size: var(--fs-xs); color: var(--fg-3); }
.field__err { font-size: var(--fs-xs); color: var(--err); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--fg-2); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { font-size: var(--fs-sm); color: var(--err); }
.form__done { padding: var(--s-6) 0; }
.form__done h3 { font-size: var(--fs-xl); font-weight: 300; margin-bottom: .5rem; }
.form.is-done > :not(.form__done) { display: none; }

/* details (FAQ) */
.qa { border-top: var(--line-w) solid var(--line); max-width: 52rem; }
.qa details { border-bottom: var(--line-w) solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; padding-block: 1.1rem; font-size: var(--fs-md); font-weight: 400;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-std) var(--ease); }
.qa details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa__a { padding-bottom: 1.4rem; max-width: var(--measure); color: var(--fg-2); }
.qa__a > * + * { margin-top: .8em; }
.qa__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* frames: reserve the photo's shape and hold its placeholder until the pixels land */
.frame { position: relative; display: block; aspect-ratio: var(--ar, 1.5); overflow: hidden; background-color: var(--bg-2); background-size: cover; background-position: center; }
.frame picture, .frame img { width: 100%; height: 100%; }
.frame img { object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transition: opacity var(--dur-page) var(--ease), transform var(--dur-page) var(--ease); }
.js [data-fade]:not(.is-loaded) { opacity: 0; }

/* collection tiles */
.tile__link { display: block; }
.tile__frame img { transition: transform 1.2s var(--ease), opacity var(--dur-page) var(--ease); }
.tile__link:hover .tile__frame img { transform: scale(1.035); }
.tile__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-top: 1rem; }
.tile__title { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -.015em; line-height: 1.2; }
.tile__title { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur-page) var(--ease); padding-bottom: 2px; }
.tile__link:hover .tile__title { background-size: 100% 1px; }
.tile__kicker { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3); }
.tile__desc { display: block; margin-top: .6rem; color: var(--fg-2); max-width: 46ch; }
.tile--lg .tile__frame { aspect-ratio: 4 / 3; }
.tile--md .tile__frame { aspect-ratio: 4 / 5; }
.tile--sm .tile__frame { aspect-ratio: 1; }
.tile--sm .tile__title { font-size: var(--fs-lg); }
.tile--ext .tile__frame { aspect-ratio: 3 / 2; }
.tile--wide .tile__frame { aspect-ratio: 16 / 10; }
.tile__frame--empty { background: var(--bg-2); }

/* album displays on the collections index */
.albums--grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 7rem) var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .albums--grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .albums--grid .tile { grid-column: span 6; }
  .albums--grid .tile--lg { grid-column: 1 / span 7; }
  .albums--grid .tile--lg + .tile--md { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 12rem); }
  .albums--grid .tile--md + .tile--md { grid-column: 2 / span 5; margin-top: calc(clamp(4rem, 12vw, 12rem) * -.5); }
}
.albums--compact { display: grid; gap: var(--s-7) var(--gutter); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .albums--compact { grid-template-columns: repeat(4, 1fr); } }
.albums--extended { display: grid; gap: clamp(4rem, 3rem + 5vw, 8rem); }
@media (min-width: 900px) {
  .albums--extended .tile__link { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 1fr auto 1fr; column-gap: var(--s-7); }
  .albums--extended .tile__frame { grid-column: 1; grid-row: 1 / -1; }
  .albums--extended .tile__meta { grid-column: 2; grid-row: 2; flex-direction: column; align-items: flex-start; margin: 0; }
  .albums--extended .tile__desc { grid-column: 2; grid-row: 3; align-self: start; margin-top: 1rem; }
  .albums--extended .tile:nth-child(even) .tile__link { grid-template-columns: 5fr 7fr; }
  .albums--extended .tile:nth-child(even) .tile__frame { grid-column: 2; }
  .albums--extended .tile:nth-child(even) .tile__meta, .albums--extended .tile:nth-child(even) .tile__desc { grid-column: 1; }
}
.albums--list { list-style: none; border-top: var(--line-w) solid var(--line); counter-reset: none; }
.alist__row { border-bottom: var(--line-w) solid var(--line); position: relative; }
.alist__link { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: .25rem 1.5rem; padding-block: 1.6rem; }
.alist__n { font-size: var(--fs-xs); color: var(--fg-3); letter-spacing: .08em; }
.alist__t { font-size: var(--fs-2xl); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; transition: transform var(--dur-std) var(--ease), color var(--dur-micro); }
.alist__s { grid-column: 2; color: var(--fg-3); font-size: var(--fs-sm); }
.alist__c { grid-column: 3; grid-row: 1; font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3); }
.alist__peek { position: absolute; right: 12%; top: 50%; width: min(22vw, 340px); translate: 0 -50%; pointer-events: none; opacity: 0; transform: scale(.94); z-index: 2;
  transition: opacity var(--dur-std) var(--ease), transform var(--dur-page) var(--ease); }
.alist__peek .frame { aspect-ratio: 4 / 3; }
@media (hover: hover) and (min-width: 900px) {
  .alist__link:hover .alist__peek { opacity: 1; transform: none; }
  .alist__link:hover .alist__t { transform: translateX(.5rem); }
}

/* tag cloud */
.tagcloud { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; align-items: baseline; max-width: 60rem; }
.tagcloud__t { display: inline-flex; min-height: 40px; align-items: center; font-weight: 300; color: var(--fg-2); transition: color var(--dur-micro); }
.tagcloud__t:hover { color: var(--accent); }
.tagcloud__t--0 { font-size: var(--fs-sm); }
.tagcloud__t--1 { font-size: var(--fs-base); }
.tagcloud__t--2 { font-size: var(--fs-md); }
.tagcloud__t--3 { font-size: var(--fs-lg); }
.tagcloud__t--4 { font-size: var(--fs-xl); color: var(--fg); }

.pager { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: var(--s-8); }
.pager__status { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--fg-3); }

.empty { padding-block: var(--s-8); color: var(--fg-2); max-width: 36rem; }
.empty h2 { font-size: var(--fs-xl); margin-bottom: .75rem; }

/* ------------------------------------------------------------------ home */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 32rem; max-height: 1100px; overflow: hidden; background: #1a1a18; color: #fff; }
.hero__slides, .hero__slide, .hero__slide .frame { position: absolute; inset: 0; }
.hero__slide .frame { aspect-ratio: auto; height: 100%; background-color: #1a1a18; }
.hero__slide img { object-fit: cover; }
.hero__slide { opacity: 0; transition: opacity 1.8s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: hero-drift 9s linear both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
.hero__in { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(2rem, 1rem + 4vw, 4.5rem); z-index: 2; }
.hero__grid { display: grid; gap: var(--s-6); align-items: end; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1fr auto; } }
.hero .label { color: rgba(255, 255, 255, .85); }
.hero__title { font-size: clamp(2.8rem, 1.6rem + 6vw, 7rem); font-weight: 300; letter-spacing: -.035em; line-height: 1; margin-top: .9rem; max-width: 12ch; text-wrap: balance; }
.hero__links { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 3vw, 1.75rem); margin-top: var(--s-6); }
@media (max-width: 420px) { .hero__links a { letter-spacing: .14em; } }
.hero__links a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .92);
  background: linear-gradient(#fff, #fff) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size var(--dur-std) var(--ease), color var(--dur-micro); }
.hero__links a:hover { background-size: 100% 1px; color: #fff; }
.hero__aside { display: grid; gap: .9rem; justify-items: start; }
@media (min-width: 900px) { .hero__aside { justify-items: end; text-align: right; } }
.hero__cap { font-size: var(--fs-sm); color: rgba(255, 255, 255, .85); max-width: 30ch; min-height: 1.5em; transition: opacity var(--dur-std) var(--ease); }
.hero__cap a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero__ctrl { display: flex; align-items: center; gap: .9rem; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { width: 28px; height: 44px; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .4); }
.hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"]::after { transform: scaleX(1); transition: transform var(--hero-ms, 7000ms) linear; }
.hero.is-paused .hero__dot[aria-current="true"]::after { transition: none; }
.hero__pause { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.hero__pause .ic { width: 1rem; height: 1rem; }
.hero__pause .ic--play, .hero.is-paused .hero__pause .ic--pause { display: none; }
.hero.is-paused .hero__pause .ic--play { display: block; }
.hero :focus-visible { outline-color: #fff; }

.intro { display: grid; gap: var(--s-5) var(--gutter); }
@media (min-width: 900px) { .intro { grid-template-columns: 3fr 9fr; } }
.intro__text { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.2rem); font-weight: 300; line-height: 1.4; letter-spacing: -.012em; max-width: 30ch; text-wrap: pretty; }
.intro__text p + p { margin-top: .8em; }
.intro__text p + p { font-size: .62em; line-height: 1.7; color: var(--fg-2); max-width: 44ch; letter-spacing: 0; }
.intro .more { margin-top: var(--s-5); }

.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.sec-head h2 { font-size: var(--fs-2xl); }

.featured { display: grid; gap: clamp(3rem, 2rem + 4vw, 7rem) var(--gutter); }
@media (min-width: 760px) {
  .featured { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .featured .tile:nth-child(3n + 1) { grid-column: 1 / span 7; }
  .featured .tile:nth-child(3n + 2) { grid-column: 9 / span 4; margin-top: clamp(4rem, 14vw, 14rem); }
  .featured .tile:nth-child(3n + 3) { grid-column: 3 / span 6; }
  .featured .tile:nth-child(3n + 1) .tile__frame { aspect-ratio: 4 / 3; }
  .featured .tile:nth-child(3n + 2) .tile__frame { aspect-ratio: 4 / 5; }
  .featured .tile:nth-child(3n + 3) .tile__frame { aspect-ratio: 16 / 10; }
}

.journal-line { display: grid; gap: .5rem 2rem; align-items: baseline; padding-block: 1.75rem; border-block: var(--line-w) solid var(--line); }
@media (min-width: 760px) { .journal-line { grid-template-columns: 10rem 1fr auto; } }
.journal-line__t { font-size: var(--fs-lg); font-weight: 300; transition: color var(--dur-micro); }
.journal-line a:hover .journal-line__t { color: var(--accent); }
.journal-line time { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--fg-3); white-space: nowrap; }

.quote { text-align: center; max-width: 46rem; margin-inline: auto; }
.quote__text { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); font-weight: 300; font-style: italic; line-height: 1.45; letter-spacing: -.01em; text-wrap: balance; }
.quote__by { margin-top: var(--s-5); }

.subscribe { display: grid; gap: .8rem; max-width: 26rem; }
.subscribe__row { display: flex; border: var(--line-w) solid var(--line-2); }
.subscribe__row input { flex: 1; min-width: 0; min-height: 48px; padding: .6rem .9rem; border: 0; background: transparent; font-size: var(--fs-sm); }
.subscribe__row button { padding: 0 1rem; min-width: 48px; display: inline-grid; place-items: center; transition: color var(--dur-micro); }
.subscribe__row button:hover { color: var(--accent); }
.subscribe__row:focus-within { border-color: var(--focus); outline: 1px solid var(--focus); }
.subscribe__row input:focus-visible { outline: none; }

/* ------------------------------------------------------------------ pages */
.split { display: grid; gap: var(--s-7) var(--gutter); }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } .split--rev { grid-template-columns: 7fr 5fr; } }
.sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); }
.portrait .frame { aspect-ratio: 4 / 5; }
.testimonials { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
.testimonial blockquote { font-size: var(--fs-md); font-weight: 300; font-style: italic; line-height: 1.6; }
.testimonial figcaption { margin-top: 1rem; }
.steps { list-style: none; display: grid; gap: var(--s-5); counter-reset: step; max-width: 44rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-top: var(--s-4); border-top: var(--line-w) solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: var(--fs-xs); letter-spacing: .08em; color: var(--fg-3); padding-top: .3rem; }
.legal-note { margin-bottom: var(--s-6); }
.facts { display: grid; gap: 0; border-top: var(--line-w) solid var(--line); max-width: 44rem; }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: .9rem; border-bottom: var(--line-w) solid var(--line); }
.facts dt { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3); padding-top: .2rem; }
.facts dd { margin: 0; }

.search-form { display: flex; align-items: center; gap: .75rem; border-bottom: var(--line-w) solid var(--line-2); max-width: 44rem; }
.search-form:focus-within { border-bottom-color: var(--focus); }
.search-form input { flex: 1; min-width: 0; min-height: 64px; border: 0; background: transparent; font-size: var(--fs-xl); font-weight: 300; letter-spacing: -.01em; }
.search-form input:focus-visible { outline: none; }
.search-form button { width: 48px; height: 48px; display: inline-grid; place-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 0 2.5rem; align-items: center; }

/* ------------------------------------------------------------------ gallery layouts */
.gallery { --gap: 14px; --row-h: 190px; position: relative; }
@media (min-width: 640px) { .gallery { --row-h: 250px; } }
@media (min-width: 1100px) { .gallery { --row-h: 320px; } }
@media (min-width: 1600px) { .gallery { --row-h: 380px; } }
.g-item { position: relative; margin: 0; }
.g-link { display: block; position: relative; cursor: zoom-in; }
.g-link .frame img { transition: opacity var(--dur-page) var(--ease), transform var(--dur-page) var(--ease), filter var(--dur-std) var(--ease); }
@media (hover: hover) {
  .g-link:hover .frame img { transform: scale(1.02); }
}
.g-cap--hover {
  position: absolute; left: .6rem; bottom: .6rem; max-width: calc(100% - 1.2rem); padding: .35rem .6rem; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 90%, transparent); color: var(--fg); font-size: var(--fs-xs); line-height: 1.35;
  opacity: 0; transform: translateY(4px); transition: opacity var(--dur-micro) var(--ease), transform var(--dur-std) var(--ease);
}
@media (hover: hover) {
  .g-item:hover .g-cap--hover, .g-link:focus-visible + .g-cap--hover { opacity: 1; transform: none; }
}
.g-cap--below { display: grid; gap: .3rem; margin-top: .75rem; font-size: var(--fs-sm); }
.g-cap__t { font-weight: 400; }
.g-cap__c { color: var(--fg-2); max-width: 60ch; }
.g-item.is-filtered { display: none; }

/* justified rows: row breaks chosen on the server (optimal partition from stored ratios). Inside a row every
   photo's flex share equals its ratio, so rows stay perfectly justified at any width and nothing shifts. */
.g--justified .jrow { display: flex; gap: var(--gap); margin-bottom: var(--gap); }
.g--justified .g-item { flex: var(--lar) 1 0; min-width: 0; }
.g--justified .g-item .frame { aspect-ratio: var(--lar); }
.g--justified .jrow--last .g-item { flex: 0 1 auto; width: calc(var(--lar) * var(--row-h)); }
.g--justified[data-last-row="justify"] .jrow--last .g-item { flex: var(--lar) 1 0; width: auto; }
.g--justified[data-last-row="hide"] .jrow + .jrow--last { display: none; }
/* phones, and any filtered view: the rows dissolve into a fluid flow that still keeps every ratio */
@media (max-width: 700px) {
  .g--justified { display: flex; flex-wrap: wrap; gap: var(--gap); --row-h: 150px; }
  .g--justified .jrow { display: contents; }
  .g--justified .g-item, .g--justified .jrow--last .g-item { flex: calc(var(--lar) * 100) 1 calc(var(--lar) * var(--row-h)); width: auto; }
  .g--justified::after { content: ""; flex-grow: 1e6; }
}
.g--justified[data-flow] { display: flex; flex-wrap: wrap; gap: var(--gap); }
.g--justified[data-flow] .jrow { display: contents; }
.g--justified[data-flow] .g-item { flex: calc(var(--lar) * 100) 1 calc(var(--lar) * var(--row-h)); width: auto; max-width: calc(var(--lar) * var(--row-h) * 2); }
.g--justified[data-flow]::after { content: ""; flex-grow: 1e6; }

/* even grid: uniform cells, every photo shown whole and uncropped, aligned to a shared baseline */
.g--grid { display: grid; grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); gap: calc(var(--gap) * 2.4) var(--gap); align-items: end; }
@media (min-width: 760px) { .g--grid { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .g--grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.g--grid .g-link { aspect-ratio: 1; display: grid; place-items: end center; }
.g--grid .frame { width: min(100%, calc(100% * var(--ar))); }
.g--grid .g-cap--below { font-size: var(--fs-xs); color: var(--fg-2); text-align: center; }

/* masonry: CSS columns today (stable, no script), true masonry lanes where the browser has them */
.g--masonry { columns: var(--cols-m, 1); column-gap: var(--gap); }
@media (min-width: 640px) { .g--masonry { columns: min(var(--cols, 3), 2); } }
@media (min-width: 1024px) { .g--masonry { columns: var(--cols, 3); } }
.g--masonry .g-item { break-inside: avoid; margin-bottom: var(--gap); }
@supports (display: grid-lanes) {
  .g--masonry { display: grid-lanes; columns: auto; grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); gap: var(--gap); }
  @media (min-width: 640px) { .g--masonry { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
  @media (min-width: 1024px) { .g--masonry { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
  .g--masonry .g-item { margin: 0; }
}

/* blog: large photos one under another, captions beneath */
.g--blog { display: grid; gap: clamp(3rem, 2rem + 5vw, 8rem); max-width: 1100px; margin-inline: auto; }
.g--blog .frame img { object-fit: contain; }
.g--blog .g-link { max-width: calc((100svh - var(--header-h) - 6rem) * var(--ar)); margin-inline: auto; }
.g--blog .g-cap--below { max-width: calc((100svh - var(--header-h) - 6rem) * var(--ar)); margin-inline: auto; grid-template-columns: 1fr; }
@media (min-width: 900px) { .g--blog .g-cap--below { grid-template-columns: 1fr 2fr; gap: 2rem; } }

/* story: a rhythm of wide, paired and captioned photos */
.g--story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 1.5rem + 5vw, 8rem) var(--gutter); align-items: center; }
.g--story .s-block { grid-column: 1 / -1; }
.g--story .s-block--wide .g-link { margin-inline: calc(var(--gutter) * -1); }
.g--story .s-words { display: grid; gap: .5rem; margin-top: 1rem; }
.g--story .s-words__t { font-size: var(--fs-lg); font-weight: 300; }
.g--story .s-words__c { color: var(--fg-2); max-width: 48ch; }
.g--story .s-words__p { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3); }
@media (min-width: 900px) {
  .g--story .s-block--half:nth-child(4n + 2), .g--story .s-block--tall:nth-child(4n + 2) { grid-column: 1 / span 6; }
  .g--story .s-block--half:nth-child(4n + 3), .g--story .s-block--tall:nth-child(4n + 3) { grid-column: 8 / span 5; margin-top: 8rem; }
  .g--story .s-block--tall:nth-child(4n + 2) { grid-column: 2 / span 4; }
  .g--story .s-block--words { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
  .g--story .s-block--words .g-link { grid-column: 1 / span 7; }
  .g--story .s-block--words .s-words { grid-column: 9 / span 4; padding-bottom: 1rem; }
  .g--story .s-block--wide .s-words { grid-template-columns: 1fr 2fr; }
}

/* viewers: filmstrip, slideshow, one at a time, hero. Scroll snapping works with no script at all. */
.v-track { display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v-track::-webkit-scrollbar { display: none; }
.v-track:focus-visible { outline-offset: 6px; }
.v-slide { flex: none; scroll-snap-align: center; }
.v-cap { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-top: .9rem; font-size: var(--fs-sm); }
.v-cap__t { font-weight: 400; }
.v-cap__c { color: var(--fg-2); max-width: 70ch; }
.v-ctrl { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: var(--s-5); }
.v-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: var(--line-w) solid var(--line-2); color: var(--fg); transition: background-color var(--dur-micro), color var(--dur-micro); }
.v-btn:hover { background: var(--fg); color: var(--bg); }
.v-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.v-count { min-width: 5.5rem; text-align: center; font-size: var(--fs-xs); letter-spacing: .12em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.v-play .ic--pause, .v-play[aria-pressed="true"] .ic--play { display: none; }
.v-play[aria-pressed="true"] .ic--pause { display: block; }
.v-thumbs { display: flex; gap: 6px; margin-top: var(--s-5); overflow-x: auto; scrollbar-width: none; padding-block: 4px; justify-content: safe center; }
.v-thumbs::-webkit-scrollbar { display: none; }
.v-thumb { flex: none; height: 56px; aspect-ratio: var(--ar); background-size: cover; opacity: .45; transition: opacity var(--dur-micro) var(--ease); }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-thumb:hover, .v-thumb.is-active { opacity: 1; }
.v-thumb.is-active { outline: 1px solid var(--fg); outline-offset: 3px; }

.g--filmstrip .v-track { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); }
.g--filmstrip .v-slide { height: min(68vh, 760px); width: calc(min(68vh, 760px) * var(--ar)); max-width: 92vw; display: flex; flex-direction: column; scroll-snap-align: start; }
.g--filmstrip .v-slide .g-link { flex: 1; min-height: 0; }
.g--filmstrip .v-slide .frame { height: 100%; aspect-ratio: auto; }
.g--filmstrip .v-slide .frame img { object-fit: contain; object-position: left bottom; }
.g--filmstrip .v-cap { margin-top: .6rem; font-size: var(--fs-xs); }
.g--filmstrip .v-ctrl { justify-content: flex-end; }

.g--slideshow .v-track, .g--browser .v-track { gap: 0; }
.g--slideshow .v-slide, .g--browser .v-slide { width: 100%; }
.g--slideshow .v-slide .g-link, .g--browser .v-slide .g-link { height: min(74vh, 900px); display: grid; place-items: center; }
.g--slideshow .v-slide .frame, .g--browser .v-slide .frame { height: 100%; width: auto; max-width: 100%; aspect-ratio: var(--ar); }
.g--slideshow .v-cap, .g--browser .v-cap { justify-content: center; text-align: center; }
/* with script, the slides stack and the collection's transition style moves between them */
.g--slideshow.is-enhanced .v-track, .g--browser.is-enhanced .v-track { display: grid; overflow: hidden; scroll-snap-type: none; }
.g--slideshow.is-enhanced .v-slide, .g--browser.is-enhanced .v-slide { grid-area: 1 / 1; visibility: hidden; }
.g--slideshow.is-enhanced .v-slide.is-active, .g--browser.is-enhanced .v-slide.is-active, .is-enhanced .v-slide.is-leaving { visibility: visible; }
.is-enhanced .v-slide.is-leaving { z-index: 1; pointer-events: none; }
/* only the photo on show and its neighbours are in the page, so the others never download early */
.is-enhanced .v-slide:not(.is-active):not(.is-leaving):not(.is-near) { display: none; }

.g--hero .v-track { gap: 0; overflow: visible; display: grid; grid-template-columns: 1fr; }
.g--hero .v-slide:first-child { margin-inline: calc(var(--gutter) * -1); }
.g--hero .v-slide:first-child .g-link { height: min(88svh, 1000px); }
.g--hero .v-slide:first-child .frame { height: 100%; aspect-ratio: auto; }
.g--hero .v-slide:first-child .v-cap { padding-inline: var(--gutter); }
.g--hero .v-slide:not(:first-child) { display: none; }
.g--hero .v-rest { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: var(--s-7); padding-bottom: 4px; }
.g--hero .v-rest::-webkit-scrollbar { display: none; }
.g--hero .v-rest .v-slide { display: block; height: min(34vh, 380px); width: calc(min(34vh, 380px) * var(--ar)); scroll-snap-align: start; }
.g--hero .v-rest .frame { height: 100%; aspect-ratio: auto; }

/* ------------------------------------------------------------------ reveal styles (per collection) */
/* Items below the fold wait in .is-pending, the observer adds .is-in. Transform and opacity only. */
.js .gallery .g-item.is-pending, .js [data-reveal].is-pending { opacity: 0; }
.js .gallery .g-item.is-in, .js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-page) var(--ease) var(--d, 0ms), transform var(--dur-page) var(--ease) var(--d, 0ms);
}
.js .t--slide .g-item.is-pending { transform: translateX(3rem); }
.js .t--zoom .g-item.is-pending { transform: scale(.9); }
.js .t--zoom .g-item.is-in { transition-duration: 900ms; }
.js .t--stagger .g-item.is-pending, .js [data-reveal].is-pending { transform: translateY(2.2rem); }
.js .t--morph .g-item.is-pending { transform: scale(.975); }
.js .t--blur .g-item.is-pending { opacity: 1; }
.js .t--blur .frame img[data-fade] { transition-duration: 1400ms; }
.js .t--blur .frame::before { content: ""; position: absolute; inset: -12px; background: inherit; filter: blur(14px); z-index: 0; }
.js .t--blur .frame picture { position: relative; z-index: 1; }
.js .t--curtain .g-item.is-pending { opacity: 1; }
.js .t--curtain .g-item .frame::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform-origin: top; transform: scaleY(0); z-index: 2; pointer-events: none; }
.js .t--curtain .g-item.is-pending .frame::after { transform: scaleY(1); }
.js .t--curtain .g-item.is-pending .frame img { transform: scale(1.12); }
.js .t--curtain .g-item.is-in .frame::after { transform: scaleY(0); transition: transform 1s var(--ease-in-out) var(--d, 0ms); }
.js .t--curtain .g-item.is-in .frame img { transition: transform 1.4s var(--ease) var(--d, 0ms), opacity var(--dur-page) var(--ease); }
/* parallax: the picture drifts inside its frame as the page scrolls */
.t--parallax .frame img { transform: scale(1.14) translateY(var(--py, 0%)); will-change: transform; }
@supports (animation-timeline: view()) {
  .t--parallax .frame img { animation: g-parallax linear both; animation-timeline: view(); animation-range: cover; will-change: auto; }
  @keyframes g-parallax { from { transform: scale(1.14) translateY(-6%); } to { transform: scale(1.14) translateY(6%); } }
}
.t--parallax .g-link:hover .frame img { transform: scale(1.14) translateY(var(--py, 0%)); }

/* filter reflow: items animate from their old place (FLIP), entering ones fade up */
.g-item.is-entering { animation: g-enter var(--dur-std) var(--ease) both; }
@keyframes g-enter { from { opacity: 0; transform: scale(.96); } }

/* ------------------------------------------------------------------ collection page */
.coll-head { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.coll-head .crumbs { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.coll-head__grid { display: grid; gap: var(--s-5) var(--gutter); align-items: end; }
@media (min-width: 900px) { .coll-head__grid { grid-template-columns: 7fr 5fr; } }
.coll-head__desc { color: var(--fg-2); max-width: 46ch; }
.coll-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-top: var(--s-4); }
.coll-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; border-top: var(--line-w) solid var(--line); margin-bottom: var(--s-6); }
.coll-bar .chips { margin: 0; }
.coll-foot { margin-top: var(--section); }
.coll-offer { display: grid; gap: 1rem 2rem; align-items: center; padding: var(--s-6) 0; border-block: var(--line-w) solid var(--line); margin-bottom: var(--section); }
@media (min-width: 760px) { .coll-offer { grid-template-columns: 1fr auto; } }
.unlock { max-width: 28rem; margin: clamp(3rem, 2rem + 6vw, 8rem) auto; text-align: center; }
.unlock h1 { font-size: var(--fs-2xl); }
.unlock p { color: var(--fg-2); margin-top: 1rem; }
.unlock form { margin-top: var(--s-6); display: grid; gap: 1rem; text-align: left; }

/* ------------------------------------------------------------------ photo page */
.photo-stage { position: relative; display: grid; place-items: center; padding-top: clamp(1rem, .5rem + 2vw, 2.5rem); }
.photo-stage__frame { width: min(100%, calc((100svh - var(--header-h) - 7rem) * var(--ar))); }
.photo-stage__frame .frame img { object-fit: contain; }
.photo-stage__nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.photo-stage__nav a { pointer-events: auto; display: inline-grid; place-items: center; width: 56px; height: 56px; color: var(--fg-2); transition: color var(--dur-micro), transform var(--dur-std) var(--ease); }
.photo-stage__nav a:hover { color: var(--fg); }
.photo-stage__nav a:first-child:hover { transform: translateX(-4px); }
.photo-stage__nav a:last-child:hover { transform: translateX(4px); }
@media (max-width: 1100px) { .photo-stage__nav { position: static; margin-top: 1rem; justify-content: center; gap: 2rem; } }
.photo-main { display: grid; gap: var(--s-7) var(--gutter); padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 1000px) { .photo-main { grid-template-columns: 7fr 5fr; } }
.photo-main h1 { font-size: var(--fs-2xl); max-width: 18ch; }
.photo-main .crumbs { margin-bottom: var(--s-5); }
.photo-caption { margin-top: var(--s-5); font-size: var(--fs-md); color: var(--fg-2); max-width: 56ch; }
.photo-tags { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: var(--s-5); }
.photo-tags a { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); min-height: 36px; display: inline-flex; align-items: center; }
.photo-tags a:hover { color: var(--accent); }
.photo-actions { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: var(--s-6); }
.act { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: var(--fs-sm); color: var(--fg-2); transition: color var(--dur-micro); }
.act:hover { color: var(--fg); }
.act .ic { width: 1.1rem; height: 1.1rem; }
.act.is-done { color: var(--ok); }
.buy-box { border-top: var(--line-w) solid var(--fg); padding-top: var(--s-5); }
.buy-box__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: var(--s-4); }
.buy-box__h h2 { font-size: var(--fs-lg); font-weight: 400; }
.buy-box p { color: var(--fg-2); font-size: var(--fs-sm); }
.buy-box .btn-row { margin-top: var(--s-5); }
.notes { margin-top: var(--s-7); }
.notes .facts > div { grid-template-columns: 7rem 1fr; }
.related { margin-top: var(--section); }

/* ------------------------------------------------------------------ lightbox */
.lb {
  --bg: #0b0b0a; --bg-2: #151513; --fg: #ece9e2; --fg-2: #bdb8ae; --fg-3: #9a958b; --line: rgba(236, 233, 226, .12); --line-2: rgba(236, 233, 226, .3);
  --accent: #a9bfd6; --focus: #c8d7e6; --lb-bg: #0b0b0a; color-scheme: dark;
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); background: var(--lb-bg); color: var(--fg);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-std) var(--ease), visibility 0s linear var(--dur-std);
  touch-action: none; user-select: none; -webkit-user-select: none; overscroll-behavior: contain;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-std) var(--ease), visibility 0s; }
.lb.is-instant { transition: none; }
.lb__bar { display: flex; align-items: center; gap: .25rem; min-height: 64px; padding: .5rem clamp(.5rem, 2vw, 1.5rem); z-index: 3; transition: opacity var(--dur-std) var(--ease); }
.lb__count { white-space: nowrap; margin-right: auto; padding-left: .5rem; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.lb__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--fg-2); transition: color var(--dur-micro), background-color var(--dur-micro); }
.lb__btn:hover { color: var(--fg); }
.lb__btn[aria-pressed="true"] { color: var(--accent); }
.lb__btn .ic { width: 1.25rem; height: 1.25rem; }
.lb__btn--buy { width: auto; padding: 0 1rem; gap: .5rem; display: inline-flex; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; border: var(--line-w) solid var(--line-2); margin: 0 .35rem; }
@media (max-width: 600px) {
  .lb__btn--buy, .lb [data-zoom], .lb [data-fs] { display: none; }
  .lb__bar { gap: 0; padding-inline: .25rem; }
}
.lb__btn--buy:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.lb__play .ic--pause, .lb__play[aria-pressed="true"] .ic--play { display: none; }
.lb__play[aria-pressed="true"] .ic--pause { display: block; }
.lb__fs .ic--shrink, .lb.is-fullscreen .lb__fs .ic--expand { display: none; }
.lb.is-fullscreen .lb__fs .ic--shrink { display: block; }
.lb__stage { position: relative; overflow: hidden; min-height: 0; cursor: default; }
.lb__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(.25rem, 1vw, 1rem) clamp(0rem, 5vw, 5.5rem); }
.lb__slide { visibility: hidden; }
.lb__slide.is-current { visibility: visible; z-index: 1; }
.lb__slide.is-leaving { visibility: visible; z-index: 0; }
.lb__slide .frame { max-width: 100%; max-height: 100%; height: auto; width: auto; background-color: transparent; }
.lb__img-wrap { position: relative; width: var(--fit-w, 100%); height: var(--fit-h, auto); transform-origin: 0 0; will-change: transform; }
.lb__img-wrap .frame { width: 100%; height: 100%; aspect-ratio: auto; }
.lb__img-wrap img { object-fit: contain; }
.lb__slide.is-zoomed .lb__img-wrap { cursor: grab; }
.lb__slide.is-zoomed .lb__img-wrap:active { cursor: grabbing; }
.lb__nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; display: inline-grid; place-items: center; width: 56px; height: 88px; color: var(--fg-2); transition: color var(--dur-micro), opacity var(--dur-std); }
.lb__nav:hover { color: var(--fg); }
.lb__nav--prev { left: clamp(0rem, 1vw, 1rem); }
.lb__nav--next { right: clamp(0rem, 1vw, 1rem); }
.lb__nav .ic { width: 1.6rem; height: 1.6rem; }
@media (hover: none) and (pointer: coarse) { .lb__nav { display: none; } }
.lb__foot { display: grid; justify-items: center; gap: .75rem; padding: .5rem var(--gutter) max(1rem, env(safe-area-inset-bottom)); z-index: 3; transition: opacity var(--dur-std) var(--ease); }
.lb__cap { text-align: center; font-size: var(--fs-sm); max-width: 60ch; min-height: 1.5em; }
.lb__cap-t { font-weight: 400; }
.lb__cap-p { color: var(--fg-3); margin-left: .6rem; }
.lb__thumbs { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { flex: none; height: 52px; aspect-ratio: var(--ar); background-size: cover; background-position: center; opacity: .4; transition: opacity var(--dur-micro); }
.lb__thumb:hover, .lb__thumb[aria-current="true"] { opacity: 1; }
.lb__thumb[aria-current="true"] { outline: 1px solid var(--fg); outline-offset: 2px; }
.lb[data-thumbs="never"] .lb__thumbs { display: none; }
@media (max-width: 760px) { .lb[data-thumbs="desktop"] .lb__thumbs { display: none; } }
.lb.is-idle .lb__bar, .lb.is-idle .lb__foot, .lb.is-idle .lb__nav { opacity: 0; }
.lb.is-idle { cursor: none; }
.lb__info {
  position: absolute; z-index: 4; top: 0; right: 0; bottom: 0; width: min(24rem, 100%); overflow-y: auto; padding: 5rem 1.75rem 2rem;
  background: var(--bg); border-left: var(--line-w) solid var(--line); transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur-std) var(--ease), visibility 0s linear var(--dur-std);
}
.lb.has-info .lb__info { transform: none; visibility: visible; transition: transform var(--dur-std) var(--ease), visibility 0s; }
@media (max-width: 760px) {
  .lb__info { top: auto; left: 0; width: 100%; max-height: 70vh; border-left: 0; border-top: var(--line-w) solid var(--line); transform: translateY(100%); padding-top: 2rem; }
}
.lb__info h2 { font-size: var(--fs-xl); }
.lb__info p { color: var(--fg-2); margin-top: .8rem; font-size: var(--fs-sm); }
.lb__info .facts { margin-top: var(--s-5); }
.lb__info .facts > div { grid-template-columns: 6rem 1fr; font-size: var(--fs-sm); }
.lb__info-links { display: grid; gap: .1rem; margin-top: var(--s-5); }
.lb__close-info { position: absolute; top: 1rem; right: 1rem; }
.lb__live { position: absolute; }
.lb-lock { overflow: hidden; }
.lb .frame { background-color: transparent; }
.lb__slide .frame { background-size: contain; background-repeat: no-repeat; }
.lb__toast { position: absolute; left: 50%; bottom: 6rem; translate: -50% 0; z-index: 5; padding: .6rem 1rem; background: var(--fg); color: var(--bg); font-size: var(--fs-sm); opacity: 0; transition: opacity var(--dur-std); pointer-events: none; }
.lb__toast.is-on { opacity: 1; }
.protect img { -webkit-touch-callout: none; }

/* ------------------------------------------------------------------ journal */
.jlist { display: grid; gap: 0; border-top: var(--line-w) solid var(--line); }
.jrow { border-bottom: var(--line-w) solid var(--line); }
.jrow__link { display: grid; gap: 1rem var(--gutter); padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: center; }
@media (min-width: 900px) { .jrow__link { grid-template-columns: 9rem 1fr 22rem; } }
.jrow__date { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--fg-3); }
.jrow__t { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -.015em; line-height: 1.2; transition: color var(--dur-micro); text-wrap: balance; }
.jrow__x { margin-top: .6rem; color: var(--fg-2); max-width: 54ch; font-size: var(--fs-sm); }
.jrow__cats { margin-top: .75rem; }
.jrow__img .frame { aspect-ratio: 3 / 2; }
.jrow__link:hover .jrow__t { color: var(--accent); }
.jrow__link:hover .frame img { transform: scale(1.03); }
.post-head { padding-top: clamp(2.5rem, 1.5rem + 5vw, 6rem); }
.post-head .crumbs { margin-bottom: var(--s-6); }
.post-head h1 { font-size: var(--fs-2xl); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: var(--s-5); }
.post-cover { margin-top: clamp(2rem, 1rem + 4vw, 5rem); }
.post-cover .frame { aspect-ratio: 16 / 9; }
.post-body { font-family: var(--font-read); font-size: clamp(1.1rem, 1.05rem + .25vw, 1.25rem); line-height: 1.75; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.post-body h2, .post-body h3 { font-family: var(--font-sans); }
.post-nav { display: grid; gap: 1rem; margin-top: var(--section); border-top: var(--line-w) solid var(--line); }
@media (min-width: 760px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: grid; gap: .4rem; padding-block: 1.5rem; }
.post-nav a:last-child { text-align: right; }
.post-nav__t { font-size: var(--fs-lg); font-weight: 300; transition: color var(--dur-micro); }
.post-nav a:hover .post-nav__t { color: var(--accent); }

/* ------------------------------------------------------------------ view transitions between pages */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }
::view-transition-group(photo-main) { animation-duration: var(--dur-page); animation-timing-function: var(--ease); }
::view-transition-group(site-header) { animation: none; }
.photo-stage__frame { view-transition-name: photo-main; }

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .gallery .g-item.is-pending, .js [data-reveal].is-pending { opacity: 1; transform: none; }
  .js .t--curtain .g-item .frame::after { display: none; }
  .t--parallax .frame img { transform: none !important; animation: none !important; }
  .hero__slide.is-active img { animation: none; }
  .hero__dot[aria-current="true"]::after { transition: none; }
}
:root.reduce-motion *, :root.reduce-motion *::before, :root.reduce-motion *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .site-footer, .announce, .hero__ctrl, .lb, .pager, .chips, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-fade]:not(.is-loaded), .js .g-item.is-pending { opacity: 1 !important; transform: none !important; }
}
