@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #1c2428;
  --muted: #60686c;
  --line: #dce1e3;
  --accent: #99421e;
  --serif: 'Baskerville', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button:disabled { cursor: default; opacity: .35; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 24px; top: -100px; z-index: 20; background: white; padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.site-header { min-height: 132px; padding-block: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; }
.brand-name { font: 2.5rem/1.1 var(--serif); letter-spacing: -.035em; }
.brand-label { margin-top: 7px; color: var(--muted); font-size: .75rem; letter-spacing: .19em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.site-nav a { display: inline-block; padding-block: 7px; text-decoration: none; font-size: .9375rem; color: var(--muted); border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.home-main { flex: 1; }
.cover { width: fit-content; max-width: 100%; margin: 0 auto; }
.cover-photo { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 224px); }
.cover-caption { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 14px; color: var(--muted); font-size: .8125rem; }
.text-button { border: 0; padding: 4px 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.text-button:hover { text-decoration-color: currentColor; color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .75rem; padding-block: 24px; margin-top: 28px; }
.page-main { flex: 1; padding-top: 32px; padding-bottom: 64px; }
.page-heading { padding-bottom: 48px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: .8125rem; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font: clamp(2.5rem, 5.3vw, 4.5rem)/1.13 var(--serif); letter-spacing: -.035em; font-weight: 400; }
.journal-list { border-top: 1px solid var(--line); }
.entry-row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 28px; padding: 38px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.entry-number { color: var(--muted); font-size: .875rem; align-self: start; padding-top: 9px; }
.entry-row h2 { margin: 0; font: clamp(1.65rem, 3vw, 2.5rem)/1.25 var(--serif); letter-spacing: -.025em; font-weight: 400; }
.entry-status { display: block; font-size: .9375rem; color: var(--muted); margin-top: 10px; }
.entry-arrow { font-size: 1.6rem; transition: transform .2s; }
.entry-row:hover h2 { color: var(--accent); }
.entry-row:hover .entry-arrow { transform: translate(3px, -3px); }
.back-link { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 32px; text-decoration: none; color: var(--muted); font-size: .875rem; }
.back-link:hover { color: var(--ink); }
.empty-state { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 230px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 0; }
.empty-state h2 { font: 1.875rem/1.3 var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0 0 12px; }
.empty-state p { color: var(--muted); margin: 0; max-width: 520px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 40px 32px; }
.gallery-item { margin: 0; }
.gallery-button { display: block; width: 100%; padding: 0; border: 0; background: white; }
.gallery-button img { width: 100%; height: auto; display: block; }
.gallery-item figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.viewer-open { overflow: hidden; }
.photo-viewer { border: 0; padding: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; background: white; color: var(--ink); }
.photo-viewer::backdrop { background: white; }
.viewer-layout { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 20px 36px 16px; gap: 16px; }
.viewer-toolbar { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 44px; }
.viewer-title { margin: 0; font: 1.25rem/1.4 var(--serif); font-weight: 400; }
.icon-button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: white; display: inline-grid; place-items: center; font-size: 1.4rem; }
.icon-button:hover:not(:disabled) { border-color: var(--ink); }
.viewer-stage { min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.viewer-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 44px; }
.viewer-caption { font-size: .875rem; color: var(--muted); margin: 0; }
.viewer-counter { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; margin: 0; }
.viewer-controls { justify-self: end; display: flex; gap: 10px; }
@media (min-width: 1800px) { .cover-photo { max-height: 900px; } }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 0; align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 26px; }
  .brand-name { font-size: 2.2rem; }
  .site-nav { gap: 26px; }
  .cover { width: 100%; }
  .cover-photo { max-height: none; width: 100%; height: auto; }
  .cover-caption { gap: 12px; padding-top: 10px; }
  .page-main { padding-top: 20px; padding-bottom: 32px; }
  .page-heading { padding-bottom: 32px; }
  .entry-row { grid-template-columns: 28px 1fr auto; gap: 14px; padding-block: 28px; }
  .entry-number { padding-top: 4px; }
  .entry-row h2 { font-size: 1.625rem; }
  .entry-arrow { font-size: 1.25rem; }
  .empty-state { min-height: 200px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 28px; }
  .viewer-layout { padding: 12px 16px; gap: 12px; }
  .viewer-bottom { grid-template-columns: 1fr auto; gap: 12px; }
  .viewer-caption { grid-column: 1 / -1; }
  .viewer-counter { grid-column: 1; }
  .viewer-controls { grid-column: 2; }
}
@media (max-height: 560px) and (min-width: 761px) { .cover-photo { max-height: none; width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

