:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-deep: #eae3d7;
  --ink: #25241f;
  --muted: #77736c;
  --line: #d8d0c4;
  --accent: #a3543b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 82px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 12px var(--serif); letter-spacing: -.04em; }
.brand-name { font: 600 14px var(--serif); letter-spacing: .01em; }
.brand-name span { display: block; margin-top: 2px; color: var(--muted); font: 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.top-nav { display: flex; gap: 34px; color: #5f5b54; font-size: 12px; }
.top-nav a:hover, .back-top:hover { color: var(--accent); }
.header-note { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero { position: relative; min-height: 610px; padding: 60px 11vw 72px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 7vw; overflow: hidden; }
.hero-copy { padding-bottom: 25px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { width: 25px; height: 1px; background: var(--accent); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; }
.hero h1 { font-size: clamp(52px, 6vw, 83px); line-height: 1.05; letter-spacing: -.045em; }
.hero h1 em { color: var(--accent); font-weight: 500; }
.hero-description { max-width: 360px; margin: 24px 0 27px; color: #6c675f; font-size: 14px; line-height: 1.8; }
.hero-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 600; }
.hero-link span { font-size: 17px; line-height: .8; }
.hero-image-wrap { position: relative; width: 100%; height: min(430px, 52vw); min-height: 320px; margin: 0; background: var(--paper-deep); }
.hero-image-wrap::before { position: absolute; z-index: 0; top: 16px; right: -16px; bottom: -16px; left: 16px; border: 1px solid #c9b9a4; content: ""; }
.hero-image-wrap img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.hero-image-wrap figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: linear-gradient(transparent, rgba(20,18,15,.58)); color: white; font-size: 10px; letter-spacing: .06em; }
.caption-dot { width: 6px; height: 6px; border-radius: 50%; background: #dfb396; }
.hero-index { position: absolute; right: 6vw; bottom: 34px; color: #77736c; font: 12px var(--serif); letter-spacing: .08em; }
.hero-index span { margin: 0 6px; color: #c0b6a8; }
.album-section { padding: 88px 6vw 112px; background: #fbfaf7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: 1280px; margin: 0 auto 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .about-copy h2 { font-size: clamp(38px, 4vw, 54px); letter-spacing: -.035em; }
.search-box { display: flex; align-items: center; gap: 9px; width: min(270px, 38vw); padding: 0 0 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-box input { width: 100%; min-width: 0; padding: 3px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box:focus-within { border-color: var(--accent); }
.album-filters { display: flex; gap: 8px; max-width: 1280px; margin: 0 auto 28px; padding: 0 0 10px; overflow-x: auto; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: #625e57; cursor: pointer; font-size: 11px; transition: background .2s, color .2s, border-color .2s; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.gallery-heading { max-width: 1280px; margin: 0 auto 18px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 5px; grid-auto-flow: dense; gap: 13px; max-width: 1280px; margin: 0 auto; }
.photo-card { position: relative; grid-row-end: span 46; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--paper-deep); cursor: zoom-in; text-align: left; }
.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.82); }
.photo-card:hover img { transform: scale(1.035); filter: saturate(1); }
.photo-card:focus-visible, .filter-button:focus-visible, .lightbox button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.photo-card.wide { grid-column: span 2; }
.photo-card.tall { grid-row-end: span 65; }
.photo-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 27px 13px 11px; background: linear-gradient(transparent, rgba(18,17,15,.56)); color: white; font-size: 10px; opacity: 0; transition: opacity .2s; }
.photo-card:hover figcaption, .photo-card:focus-visible figcaption { opacity: 1; }
.empty-state { padding: 42px 0; color: var(--muted); text-align: center; }
.about-section { display: grid; grid-template-columns: .55fr 1.45fr .7fr; align-items: center; gap: 4vw; padding: 92px 11vw; background: var(--paper-deep); }
.about-number { align-self: start; padding-top: 10px; color: var(--accent); font: italic 20px var(--serif); }
.about-copy .eyebrow { margin-bottom: 15px; }
.about-copy h2 { margin-bottom: 19px; line-height: 1.14; }
.about-copy > p:last-child { max-width: 520px; margin: 0; color: #6c675f; font-size: 13px; line-height: 1.9; }
.about-signoff { align-self: end; padding-bottom: 4px; color: var(--muted); font: italic 14px var(--serif); }
.about-signoff span { display: block; margin-top: 8px; color: var(--ink); font-size: 20px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 20px 6vw; border-top: 1px solid var(--line); }
.site-footer > p { color: var(--muted); font: italic 13px var(--serif); }
.back-top { color: var(--muted); font-size: 11px; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 60px 80px 35px; border: 0; background: rgba(22,21,19,.96); color: white; }
.lightbox::backdrop { background: rgba(22,21,19,.96); }
.lightbox[open] { display: grid; grid-template-columns: 56px minmax(0,1fr) 56px; align-items: center; gap: 20px; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 0; margin: 0; }
.lightbox-figure img { display: block; max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.lightbox-figure figcaption { display: flex; justify-content: space-between; gap: 20px; width: min(100%, 900px); padding-top: 15px; color: #d1ccc5; font-size: 11px; }
.lightbox-arrow, .close-button { display: grid; place-items: center; border: 0; background: transparent; color: #f4f0e8; cursor: pointer; }
.lightbox-arrow { width: 52px; height: 72px; font: 48px var(--serif); }
.lightbox-arrow:hover, .close-button:hover { color: #dfb396; }
.close-button { position: absolute; top: 20px; right: 28px; width: 44px; height: 44px; font-size: 34px; font-weight: 300; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  .hero { gap: 5vw; padding-right: 8vw; padding-left: 8vw; }
  .hero h1 { font-size: clamp(49px, 7vw, 70px); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-section { grid-template-columns: .25fr 1.4fr .75fr; padding-right: 8vw; padding-left: 8vw; }
}
@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 5vw; }
  .top-nav { gap: 15px; font-size: 11px; }
  .top-nav a:last-child, .header-note { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding: 54px 8vw 72px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(52px, 12vw, 72px); }
  .hero-image-wrap { width: calc(100% - 12px); height: 74vw; min-height: 270px; }
  .hero-index { right: 8vw; bottom: 27px; }
  .album-section { padding: 64px 5vw 76px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; }
  .search-box { width: 100%; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .photo-card { grid-row-end: span 38; }
  .photo-card.tall { grid-row-end: span 54; }
  .photo-card.wide { grid-column: span 2; }
  .photo-card figcaption { opacity: 1; font-size: 9px; }
  .about-section { grid-template-columns: 1fr; gap: 22px; padding: 60px 8vw; }
  .about-number { padding: 0; }
  .about-signoff { margin-top: 6px; }
  .site-footer { flex-wrap: wrap; gap: 12px; padding: 21px 5vw; }
  .site-footer > p { order: 3; width: 100%; margin: 0; }
  .lightbox { padding: 55px 14px 20px; }
  .lightbox[open] { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 3px; }
  .lightbox-arrow { width: 36px; font-size: 36px; }
  .lightbox-figure img { max-height: calc(100vh - 120px); }
  .close-button { top: 7px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
