:root {
  --ink: #10100f;
  --paper: #edede8;
  --muted: #a4a49d;
  --rule: #3a3a36;
  --accent: #c3a66a;
  --frame: #20201e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Lato, Arial, sans-serif; font-weight: 300; letter-spacing: .035em; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: -999px; top: 1rem; z-index: 20; background: var(--paper); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; }
.masthead { width: min(100% - 3rem, 1600px); margin: 0 auto; padding: 2rem 0 1.3rem; border-bottom: 1px solid var(--rule); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.wordmark { display: grid; gap: .24rem; letter-spacing: .24em; font-size: .83rem; line-height: 1; }
.wordmark small { color: var(--muted); font-size: .53rem; letter-spacing: .36em; }
nav { display: flex; gap: 1.5rem; font-size: .62rem; letter-spacing: .2em; }
nav a, footer a, .text-link { transition: color .2s ease; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--accent); }
main { width: min(100% - 3rem, 1600px); margin: 0 auto; }
.intro { padding: clamp(6rem, 14vw, 13rem) 0 clamp(3rem, 8vw, 7rem); max-width: 75rem; }
.eyebrow { color: var(--accent); font-size: .59rem; letter-spacing: .28em; margin: 0 0 1.7rem; }
h1 { font-size: clamp(1.45rem, 5vw, 4.6rem); font-weight: 300; line-height: 1.08; letter-spacing: .02em; margin: 0; }
h1 span { display: block; white-space: nowrap; }
h1 .headline-kicker { color: var(--muted); font-size: .56em; letter-spacing: .07em; margin: 0 0 .28em .04em; }
.intro-note { color: var(--muted); margin: 1.5rem 0 0; font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.65rem, 1.6vw, 1.7rem); border-top: 1px solid var(--rule); padding-top: 1.8rem; }
.photo { position: relative; min-height: 10rem; padding: 0; border: 0; background: var(--frame); cursor: zoom-in; overflow: hidden; }
.photo.landscape { grid-column: span 8; aspect-ratio: 3 / 2; }
.photo.portrait { grid-column: span 4; aspect-ratio: 2 / 3; }
.photo.square { grid-column: span 4; aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease, opacity .25s ease; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.018); }
.photo:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.awaiting-image::after { content: "IMAGE TO COME"; position: absolute; inset: 0; display: grid; place-items: center; color: #77776f; font-size: .55rem; letter-spacing: .2em; cursor: default; }
.awaiting-image img { opacity: 0; }
.quiet-section { border-top: 1px solid var(--rule); margin-top: clamp(5rem, 11vw, 10rem); padding: 1.3rem 0 clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: 1fr minmax(0, 2fr); column-gap: 2rem; }
.quiet-section .eyebrow { margin: .25rem 0 0; }
.quiet-section p { max-width: 32rem; margin: 0; font-size: clamp(1.18rem, 2.2vw, 1.75rem); line-height: 1.45; letter-spacing: .015em; }
.quiet-section .section-copy { grid-column: 2; display: grid; gap: 1.25rem; }
.contact-link { width: max-content; color: var(--accent); font-size: clamp(1rem, 1.15vw, 1.2rem); letter-spacing: .03em; }
.prints { padding-bottom: 0; }
.prints .text-link { grid-column: 2; width: max-content; margin-top: 2rem; color: var(--accent); font-size: clamp(1rem, 1.15vw, 1.2rem); letter-spacing: .03em; }
footer { width: min(100% - 3rem, 1600px); margin: clamp(6rem, 11vw, 10rem) auto 0; padding: 1.4rem 0 2rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--muted); font-size: .54rem; letter-spacing: .18em; }
dialog { width: min(96vw, 1500px); max-height: 95vh; padding: 0; border: 0; background: #070707; color: var(--paper); }
dialog::backdrop { background: rgba(0, 0, 0, .88); }
dialog img { width: 100%; max-height: calc(95vh - 4rem); display: block; object-fit: contain; }
.close { position: absolute; top: .5rem; right: .8rem; border: 0; background: none; color: white; font: 300 2rem/1 Lato, sans-serif; cursor: pointer; text-shadow: 0 1px 4px #000; user-select: none; caret-color: transparent; }
.close:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.print-link { display: block; padding: 1rem 1.2rem 1.2rem; color: var(--accent); font-size: .58rem; letter-spacing: .18em; }
@media (max-width: 650px) {
  .masthead { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .photo.landscape, .photo.portrait, .photo.square { grid-column: span 12; aspect-ratio: 4 / 5; }
  .photo.landscape { aspect-ratio: 3 / 2; }
  .quiet-section { grid-template-columns: 1fr; gap: 1.6rem; }
  .quiet-section .section-copy { grid-column: auto; }
  .prints .text-link { grid-column: auto; }
}
