:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #292a25;
  --muted: #73746b;
  --olive: #59604a;
  --line: #deddd5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header { height: 82px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; }
.wordmark, .site-nav, .nav-contact, .eyebrow, .button, .gallery-toolbar, .site-footer { display: flex; align-items: center; }
.wordmark { gap: 11px; font-size: 13px; font-weight: 600; letter-spacing: -.025em; }
.wordmark-mark { width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.site-nav { gap: 37px; font-size: 12px; color: #56574f; }
.site-nav a, .text-link, .site-footer a { transition: color .2s ease; }
.site-nav a:hover, .text-link:hover, .site-footer a:hover { color: #a45b40; }
.nav-contact { gap: 10px; color: var(--ink); }

.hero { position: relative; min-height: min(660px, 71vw); height: min(660px, calc(100vh - 82px)); overflow: hidden; display: flex; align-items: center; background: #596453; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero-shade { background: linear-gradient(90deg, rgb(20 27 24 / 56%) 0%, rgb(20 27 24 / 25%) 48%, rgb(20 27 24 / 6%) 100%), linear-gradient(0deg, rgb(15 21 18 / 27%), transparent 34%); }
.hero-content { position: relative; z-index: 1; width: min(710px, 80%); margin-left: 12.5%; padding-bottom: 4px; }
.eyebrow { gap: 9px; margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 600; }
.eyebrow-dot { width: 6px; height: 6px; display: inline-block; flex: 0 0 6px; background: #b1b697; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero-eyebrow { color: rgb(255 255 255 / 84%); }
.hero h1 { margin: 24px 0 16px; font-family: var(--serif); font-size: clamp(50px, 7.7vw, 94px); line-height: .99; font-weight: 400; letter-spacing: -.055em; }
h1 em, h2 em { font-weight: 400; }
.hero-copy { max-width: 380px; margin-bottom: 29px; color: rgb(255 255 255 / 84%); font-size: 13px; line-height: 1.8; }
.button { width: fit-content; min-height: 45px; padding: 0 17px; gap: 23px; border: 1px solid rgb(255 255 255 / 65%); font-size: 11px; transition: background .2s, color .2s; }
.button:hover { background: white; color: var(--ink); }

.hero-caption { position: absolute; z-index: 1; bottom: 28px; left: 7.1%; margin: 0; font-size: 10px; letter-spacing: .02em; }
.hero-caption span { margin-left: 14px; color: rgb(255 255 255 / 75%); font-size: 9px; }
.hero-index { position: absolute; right: 7.1%; bottom: 28px; z-index: 1; font-size: 9px; letter-spacing: .12em; color: rgb(255 255 255 / 75%); }

.gallery-section { max-width: 1320px; margin: 0 auto; padding: 108px 7.1% 104px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.section-heading .eyebrow, .about-copy .eyebrow { color: #74756b; }
.section-heading h2, .about-copy h2 { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(39px, 5vw, 58px); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
.section-heading h2 em, .about-copy h2 em { color: var(--olive); }
.section-note { margin: 0 1px 5px 20px; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: right; }
.gallery-toolbar { min-height: 51px; justify-content: space-between; border-top: 1px solid var(--line); margin-bottom: 19px; }
.photo-count { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .015em; }
.photo-count span { color: var(--ink); font-weight: 600; }
.filters { display: flex; gap: 8px; }
.filter-button { border: 0; background: transparent; padding: 8px 11px; color: #77786f; font-size: 10px; cursor: pointer; transition: background .2s, color .2s; }
.filter-button:hover, .filter-button.is-active { background: #e8e7de; color: var(--ink); }
.photo-grid, .photo-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.photo-groups { margin-top: 18px; }
.photo-group { margin-bottom: 18px; }
.photo-group-heading { display: none; }
.photo-card { min-width: 0; }
.photo-card-tall { grid-row: span 2; }
.photo-grid[data-filter="all"] .photo-card-uncropped { grid-column: 3; }
.photo-card-wide { grid-column: span 2; }
.photo-open { position: relative; display: block; width: 100%; height: clamp(190px, 22vw, 285px); overflow: hidden; border: 0; padding: 0; background: #dedbd1; cursor: zoom-in; text-align: left; transform: scale(.97); }
.photo-placeholder { position: relative; height: clamp(190px, 22vw, 285px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden; border: 1px dashed #c9c7bc; background: #eeece4; color: #77786f; transform: scale(.97); }
.photo-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder-image.is-empty img { visibility: hidden; }
.photo-placeholder-image:not(.is-empty) .placeholder-mark,
.photo-placeholder-image:not(.is-empty) .placeholder-label { display: none; }
.photo-open:not(.photo-placeholder-image) .placeholder-mark,
.photo-open:not(.photo-placeholder-image) .placeholder-label,
.photo-placeholder:not(.photo-placeholder-image) > span { display: none; }
.photo-placeholder span { z-index: 1; pointer-events: none; }
.photo-placeholder span:first-of-type { color: var(--olive); font-size: 24px; }
.photo-placeholder span:last-of-type { font-size: 10px; letter-spacing: .04em; }
.photo-card-tall .photo-open { height: calc(clamp(190px, 22vw, 285px) * 2 + 12px); }
.photo-card-wide .photo-open { height: clamp(190px, 22vw, 285px); }
.photo-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.photo-open:hover img, .photo-open:focus-visible img { transform: scale(1.035); }
.photo-card-uncropped .photo-open:hover img, .photo-card-uncropped .photo-open:focus-visible img { transform: none; }
.photo-zoom { position: absolute; top: 13px; right: 13px; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: rgb(245 243 237 / 90%); opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.photo-open:hover .photo-zoom, .photo-open:focus-visible .photo-zoom { opacity: 1; transform: translateY(0); }
.gallery-footnote { margin: 32px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.about-section { position: relative; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 5%; min-height: 310px; padding: 60px 12.5%; background: #eae9e1; }
.about-mark { width: 98px; height: 98px; display: grid; place-items: center; border: 1px solid #c9cabe; border-radius: 50%; color: var(--olive); font-size: 39px; }
.about-copy h2 { margin-top: 12px; font-size: clamp(34px, 4vw, 48px); }
.about-copy > p:not(.eyebrow) { max-width: 510px; margin: 15px 0 18px; color: #686a61; font-size: 11px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 11px; color: var(--ink); font-size: 10px; }
.about-signoff { margin: 55px 0 0; color: var(--muted); font-family: var(--serif); font-size: 13px; line-height: 1.7; text-align: right; }
.site-footer { min-height: 83px; justify-content: space-between; padding: 0 7.1%; }
.footer-wordmark { font-size: 11px; }
.footer-wordmark .wordmark-mark { width: 25px; height: 25px; font-size: 15px; }
.site-footer p, .site-footer > a:last-child { margin: 0; color: var(--muted); font-size: 9px; }

.lightbox { position: fixed; max-width: 94vw; max-height: 94vh; width: min(1000px, 90vw); padding: 44px 58px 25px; overflow: visible; border: 0; background: #23241f; color: white; }
.lightbox::backdrop { background: rgb(19 20 17 / 88%); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox-image { display: block; width: 100%; max-height: 72vh; object-fit: contain; }
.lightbox-hint { color: rgb(255 255 255 / 58%); font-size: 10px; }
.lightbox-hint { margin: 14px 0 0; text-align: center; }
.lightbox-close, .lightbox-previous, .lightbox-next { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.lightbox-close { top: 12px; right: 12px; font-size: 22px; }
.lightbox-previous, .lightbox-next { top: 48%; font-size: 17px; }
.lightbox-previous { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-close:hover, .lightbox-previous:hover, .lightbox-next:hover { background: rgb(255 255 255 / 15%); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a45b40; outline-offset: 3px; }

@media (min-width: 1500px) { .hero-content { margin-left: max(12.5%, calc((100% - 1120px) / 2)); } }
@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 6%; }
  .site-nav { gap: 19px; font-size: 11px; }
  .site-nav a:first-child { display: none; }
  .hero { height: 72vh; min-height: 510px; max-height: 700px; }
  .hero-content { width: 88%; margin-left: 7%; }
  .hero h1 { font-size: clamp(55px, 12vw, 78px); }
  .hero-caption { left: 6%; bottom: 23px; }
  .hero-caption span { margin-left: 8px; }
  .hero-index { right: 6%; bottom: 23px; }
  .gallery-section { padding: 75px 6% 72px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 45px; }
  .section-note { font-size: 10px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0; margin-bottom: 14px; }
  .filters { width: 100%; gap: 4px; overflow-x: auto; }
  .filter-button { white-space: nowrap; padding: 8px; }
  .photo-grid, .photo-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; }
  .photo-groups { margin-top: 16px; }
  .photo-group { margin-bottom: 16px; }
  .photo-card-tall { grid-row: auto; }
  .photo-card-uncropped { grid-column: auto; }
  .photo-grid[data-filter="all"] .photo-card-uncropped { grid-column: auto; }
  .photo-card-wide { grid-column: span 2; }
  .photo-open, .photo-card-tall .photo-open { height: clamp(190px, 42vw, 290px); }
  .photo-placeholder { height: clamp(190px, 42vw, 290px); }
  .photo-card-wide .photo-open { height: clamp(205px, 52vw, 340px); }
  .about-section { grid-template-columns: auto 1fr; gap: 24px; padding: 54px 7%; }
  .about-mark { width: 65px; height: 65px; font-size: 28px; align-self: start; margin-top: 7px; }
  .about-copy h2 { font-size: 38px; }
  .about-signoff { display: none; }
  .site-footer { min-height: 76px; padding: 0 6%; }
  .site-footer p { display: none; }
}
@media (max-width: 420px) {
  .wordmark { gap: 7px; font-size: 11px; }
  .wordmark-mark { width: 27px; height: 27px; }
  .site-nav { gap: 13px; font-size: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-note { margin: 0; text-align: left; }
  .photo-grid, .photo-group-grid { gap: 10px 7px; }
  .photo-open, .photo-card-wide .photo-open, .photo-card-tall .photo-open { height: 42vw; }
  .photo-placeholder { height: 42vw; }
  .about-section { grid-template-columns: 1fr; }
  .about-mark { display: none; }
  .lightbox { width: 96vw; padding: 42px 38px 21px; }
}
.photo-card-uncropped .photo-open img { object-fit: contain; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
