:root {
  --ink: #1d1a17;
  --muted: #766e65;
  --paper: #f2eee8;
  --line: #d7d0c7;
  --accent: #b55738;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Mono', monospace; font-size: 0.78rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .5rem .75rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem var(--gutter); }
.brand { font-size: 1.35rem; font-weight: 500; letter-spacing: -.08em; text-decoration: none; }
.brand__dot { color: var(--accent); }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover, .socials a:hover { color: var(--accent); }

.hero { min-height: min(78vh, 760px); position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #403f3a; color: #f7f1e9; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,12,10,.72), transparent 65%); }
.hero__inner { position: relative; z-index: 1; width: min(740px, 100%); padding: clamp(5rem, 14vw, 11rem) var(--gutter) clamp(3rem, 7vw, 6rem); }
.eyebrow { margin: 0 0 1.2rem; color: #e5a88d; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__title { max-width: 650px; margin: 0; font: 500 clamp(3.5rem, 10vw, 8rem)/.92 'Playfair Display', Georgia, serif; letter-spacing: -.06em; }
.hero__title em { color: #e5a88d; }
.hero__lede { max-width: 390px; margin: 2rem 0; font-size: .83rem; }
.button { display: inline-block; padding: .7rem 1rem; border: 1px solid #f7f1e9; text-decoration: none; }
.button:hover { background: #f7f1e9; color: var(--ink); }

.section { padding: clamp(4rem, 10vw, 9rem) var(--gutter); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.section__title { margin: 0 0 1rem; font: 500 clamp(2rem, 4vw, 3.5rem)/1 'Playfair Display', Georgia, serif; letter-spacing: -.045em; }
.section__note { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 3rem); }
.work { margin: 0; }
.work--wide { grid-column: 1 / -1; }
.work--tall .work__link img { aspect-ratio: 3 / 4; }
.work__link { display: block; overflow: hidden; background: #d9d0c3; }
.work__link img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.work--wide .work__link img { aspect-ratio: 16 / 8; }
.work__link:hover img { transform: scale(1.025); }
.work__cap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; }
.work__meta { color: var(--muted); }

.section--about { background: #e5ded4; }
.about { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: clamp(2.5rem, 9vw, 9rem); max-width: 1100px; margin: auto; align-items: start; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body { padding-top: 1rem; }
.about__body > p { max-width: 530px; font-size: .9rem; }
.facts { margin: 3rem 0 0; border-top: 1px solid #c8beb3; }
.fact { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #c8beb3; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; }

.section--contact { text-align: center; padding-bottom: clamp(5rem, 12vw, 11rem); }
.contact__lede { color: var(--muted); }
.contact__mail { display: inline-block; margin: 1.5rem 0 2rem; color: var(--accent); font: 500 clamp(1.5rem, 4vw, 3rem) 'Playfair Display', Georgia, serif; text-decoration: none; }
.socials { display: flex; justify-content: center; gap: 1.5rem; padding: 0; margin: 0; list-style: none; }
.socials a { text-decoration: none; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }

.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 3rem 3.5rem 1.5rem; border: 0; background: rgba(29,26,23,.97); color: var(--paper); }
.lightbox::backdrop { background: rgba(15,13,11,.82); }
.lightbox__image { width: 100%; max-height: 76vh; object-fit: contain; margin: auto; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: transparent; color: inherit; cursor: pointer; font: 1.5rem 'DM Mono', monospace; }
.lightbox__close { top: .75rem; right: 1rem; font-size: 2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); padding: 1rem; }
.lightbox__nav--prev { left: .25rem; }
.lightbox__nav--next { right: .25rem; }
.lightbox__caption { margin: .8rem 0 0; color: #c9c0b6; text-align: center; }

@media (max-width: 650px) {
  .site-header { align-items: flex-start; }
  .site-nav { gap: .8rem; font-size: .68rem; }
  .gallery, .about { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .work--wide .work__link img { aspect-ratio: 4 / 3; }
  .about__body { padding-top: 0; }
  .site-footer { flex-direction: column; }
  .lightbox { padding-inline: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
