:root {
  color-scheme: dark;
  --ink: #0d1011;
  --ink-2: #14181a;
  --line: rgba(255,255,255,.12);
  --text: #ecebe6;
  --muted: #a3a49d;
  --gold: #c9b28a;
  --paper: #e9e5da;
  --paper-ink: #1b1d1c;
  --paper-muted: #4f514c;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, system-ui, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --gap: clamp(16px, 2.4vw, 32px);
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--ink); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.cat { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.link { display: inline-flex; gap: .5em; align-items: center; font-size: 15px; padding: 10px 0; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--gold); }

/* Header */
header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.overlay-header header { position: absolute; inset: 0 0 auto 0; border-bottom: 0; }
header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 24px; }
.brand { font: 500 15px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
header nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 15px; }
header nav a { padding: 12px 0; opacity: .85; border-bottom: 1px solid transparent; }
header nav a:hover { opacity: 1; color: var(--gold); }
header nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold); }

/* Page heading (inner pages) */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font: 300 clamp(40px, 5.6vw, 76px)/1.04 var(--serif); letter-spacing: -.015em; margin-top: 12px; }
.page-head p { font: 300 clamp(20px, 2vw, 26px)/1.4 var(--serif); color: var(--muted); max-width: 40ch; margin-top: 16px; }

/* Work tiles */
.work { display: block; }
.work .frame { overflow: hidden; background: #000; position: relative; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.work:hover img { transform: scale(1.03); }
.work .frame::after { content: "View photograph →"; position: absolute; left: 16px; bottom: 14px; font-size: 13px; padding: 6px 10px; background: rgba(13,16,17,.7); border-radius: 4px; opacity: 0; transform: translateY(4px); transition: .3s; }
.work:hover .frame::after, .work:focus-visible .frame::after { opacity: 1; transform: none; }
.work .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.work h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.work p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Gallery page: masonry keeps every photo at its own shape */
.gallery { columns: 2; column-gap: var(--gap); padding-bottom: clamp(72px, 10vw, 128px); }
.gallery .work { break-inside: avoid; margin-bottom: clamp(40px, 5vw, 64px); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { padding: 12px 0; }

/* Paper (writing) */
.paper { background: var(--paper); color: var(--paper-ink); padding: clamp(72px, 10vw, 128px) 0; }
.paper .cat { color: var(--paper-muted); }
.story-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cover { display: block; max-width: 380px; width: 100%; justify-self: center; transform: rotate(-3deg);
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 40px 70px -30px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cover:hover { transform: rotate(0) translateY(-4px); }
.cover img { width: 100%; height: auto; }
.story-feature h2 { font: 300 clamp(34px, 4.4vw, 60px)/1.05 var(--serif); margin: 14px 0 22px; letter-spacing: -.01em; }
.story-feature p { color: var(--paper-muted); max-width: 52ch; font-size: 17px; }
.story-feature .credit { font-size: 13px; margin-top: 14px; }
.story-feature p a { color: var(--paper-ink); border-bottom: 1px solid rgba(0,0,0,.35); }
.story-feature p a:hover { color: #7a6335; }
.paper .link { margin-top: 28px; color: var(--paper-ink); }
.paper .link:hover { color: #7a6335; }
.articles { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid rgba(0,0,0,.15); }
.articles a { padding: 28px 0; display: block; }
.articles h3 { font: 400 24px/1.25 var(--serif); margin: 8px 0 8px; }
.articles a:hover h3 { color: #7a6335; }
.articles p { color: var(--paper-muted); font-size: 15px; }

@media (max-width: 760px) {
  header .wrap { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-top: 16px; padding-bottom: 8px; }
  header nav { gap: 24px; }
  .gallery { columns: 1; }
  .story-feature { grid-template-columns: 1fr; }
  .cover { max-width: 240px; }
  .articles { grid-template-columns: 1fr; }
  .articles a + a { border-top: 1px solid rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: reduce) { .work img, .work .frame::after { transition: none; } }

/* Inline links inside bio text (homepage intro, short-bio card) */
section.about p a, .press-card p a { color: var(--text); border-bottom: 1px solid rgba(201,178,138,.6); }
section.about p a:hover, .press-card p a:hover { color: var(--gold); }
