:root {
  --ink: #11100f;
  --muted: #6f6a64;
  --paper: #f7f5f0;
  --cream: #fffdf8;
  --warm: #f0eee9;
  --line: rgba(17, 16, 15, 0.16);
  --line-strong: rgba(17, 16, 15, 0.34);
  --accent: #7d1f25;
  --accent-dark: #4a1518;
  --shadow: 0 18px 46px rgba(17, 16, 15, 0.10);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.58;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { left: 1rem; }
:focus-visible {
  outline: 4px solid #2b5cff;
  outline-offset: 4px;
}
.nav-links a:focus-visible,
.button:focus-visible,
.close-lightbox:focus-visible { outline-color: #2b5cff; }

.site-header {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17,16,15,.05) 1px, transparent 1px) 0 0 / 18vw 100%,
    var(--cream);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(14px);
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .78rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.55rem);
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}
.nav-links a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem);
}
.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  font-weight: 800;
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .92;
  margin: 0;
  font-weight: 500;
}
h1 {
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  letter-spacing: -0.075em;
}
h2 {
  font-size: clamp(2.8rem, 6.8vw, 5.8rem);
  letter-spacing: -0.06em;
}
h3 {
  font-size: 2.2rem;
  letter-spacing: -0.035em;
}
.intro {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  max-width: 700px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.15rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .82rem 1.18rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  box-shadow: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button:hover { transform: translateY(-1px); }
.hero-image { position: relative; isolation: isolate; }
.hero-image::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--line-strong);
  z-index: -1;
}
.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: none;
  filter: contrast(1.03) saturate(.96);
}

.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.section.warm { background: var(--paper); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 4vw, 3.2rem);
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
  font-size: 1.02rem;
}
.accessibility-note {
  margin-top: 1rem !important;
  padding: .85rem 0 .85rem 1rem;
  border-left: 1px solid var(--ink);
  background: transparent;
  color: var(--ink) !important;
  font-size: .9rem !important;
}
.accessibility-note span {
  display: block;
  margin-bottom: .18rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.7rem, 1.4vw, 1rem);
  align-items: stretch;
}
.photo-card { margin: 0; grid-column: span 4; }
.featured-grid .photo-card { grid-column: span 4; }
.places-grid .photo-card.panorama { grid-column: span 12; }
.photo-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
  filter: saturate(.94) contrast(1.02);
}
.portrait-grid .photo-card img { aspect-ratio: 4 / 3; object-position: center 38%; }
.events-grid .photo-card img { aspect-ratio: 3 / 2; }
/* Body/Presence thumbnails: use environmental portrait crops instead of forcing faces/bodies into tall boxes. */
.portrait-grid img[src$="graffiti-portrait.jpg"] { object-position: 66% 48%; }
.portrait-grid img[src$="window-seated-portrait.jpg"] { object-position: 52% 55%; }
.portrait-grid img[src$="brick-doorway-portrait.jpg"] { object-position: 74% 50%; }
.portrait-grid img[src$="hat-industrial-portrait.jpg"] { object-position: 82% 48%; }
.portrait-grid img[src$="eyes-through-leaves.jpg"] { object-position: 52% 42%; }
.portrait-grid img[src$="redhead-chair.jpg"] { object-position: 44% 50%; }
.portrait-grid img[src$="red-yellow-street-portrait.jpg"] { object-position: 82% 48%; }
.portrait-grid img[src$="petal-breath.jpg"] { object-position: 50% 47%; }
.portrait-grid img[src$="black-white-scar-portrait.jpg"] { object-position: 48% 42%; }

.places-grid .photo-card.panorama img { aspect-ratio: 21 / 8; }
.photo-button:hover img,
.photo-button:focus-visible img {
  transform: translateY(-2px);
  filter: saturate(1.02) contrast(1.05);
  opacity: .94;
}
.photo-button:focus-visible { border-radius: 0; }
.photo-button:focus-visible img {
  outline: 4px solid #2b5cff;
  outline-offset: 5px;
}

.after-dark {
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 18vw 100%,
    #11100f;
  color: white;
}
.after-dark .eyebrow { color: #d9a0a3; }
.after-dark .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.26);
}
.series-note {
  padding: clamp(1.15rem, 3vw, 2rem);
  background: #11100f;
}
.series-note h3 {
  margin-bottom: .8rem;
  color: white;
}
.series-note p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.7);
}
.anchor-marker {
  position: relative;
  top: -1rem;
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  color: white;
}
.about-contact p {
  color: rgba(255,255,255,.72);
  max-width: 760px;
  font-size: 1.04rem;
}
.about-contact .eyebrow { color: #d9a0a3; }
.contact-card {
  align-self: start;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
  background: transparent;
}
.contact-card .button {
  background: white;
  color: var(--ink);
  border-color: white;
}
.tiny-note { font-size: .82rem !important; margin-bottom: 0; }
code {
  padding: .08rem .28rem;
  border-radius: 0;
  background: rgba(255,255,255,.13);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  background: #0f0d0c;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}
.site-footer a { color: white; text-decoration: none; font-weight: 800; }

.lightbox {
  width: min(94vw, 1180px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox-frame {
  overflow: hidden;
  border-radius: 0;
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
}
.lightbox img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111;
}
.lightbox-caption {
  padding: clamp(1rem, 2.4vw, 1.8rem);
  color: var(--ink);
}
.lightbox-caption h3 {
  margin: 0 0 .45rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}
.lightbox-caption p {
  margin: 0;
  color: var(--muted);
  max-width: 860px;
}
.caption-kicker {
  margin: 0 0 .45rem !important;
  color: var(--accent-dark) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .66rem;
  font-weight: 800;
}
.close-lightbox {
  position: absolute;
  right: -10px;
  top: -44px;
  width: 38px;
  height: 38px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .featured-grid .photo-card { grid-column: span 6; }
}
@media (max-width: 900px) {
  .series-grid { grid-template-columns: 1fr; }
  .site-header { min-height: auto; }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    position: static;
    padding: .9rem clamp(1rem, 4vw, 2rem);
  }
  .brand { font-size: .78rem; }
  .nav-links { width: 100%; flex-wrap: wrap; gap: .5rem; }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .45rem .7rem;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.56);
  }
  .hero, .section-heading, .about-contact { grid-template-columns: 1fr; }
  .hero { padding-top: 2.25rem; gap: 2rem; }
  .hero-image { width: min(100%, 560px); margin-inline: auto; }
  .photo-card,
  .featured-grid .photo-card { grid-column: span 6; }
  .photo-card img { min-height: 240px; }
  .lightbox { width: min(94vw, 880px); max-height: 92dvh; }
  .lightbox-frame { max-height: 92dvh; overflow: auto; }
  .close-lightbox { width: 44px; height: 44px; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(3.05rem, 15vw, 4rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  h3 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .intro { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; min-height: 48px; }
  .section { padding-block: 3.5rem; }
  .section-heading { margin-bottom: 1.4rem; }
  .gallery { grid-template-columns: 1fr; gap: 1rem; }
  .photo-card,
  .featured-grid .photo-card,
  .places-grid .photo-card.panorama { grid-column: auto; }
  .photo-card img,
  .places-grid .photo-card.panorama img { min-height: 0; aspect-ratio: 4 / 5; }
  .events-grid .photo-card img { aspect-ratio: 4 / 5; }
  .contact-card { padding-top: 1rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .lightbox { width: 94vw; max-height: 92dvh; }
  .lightbox img { max-height: 48dvh; }
  .lightbox-caption { padding: 1rem; }
  .close-lightbox {
    right: .6rem;
    top: .6rem;
    z-index: 2;
    background: rgba(0,0,0,.72);
  }
}
@media (max-width: 380px) {
  .nav-links a { font-size: .66rem; padding-inline: .55rem; }
  .hero, .section, .about-contact { padding-inline: .85rem; }
}
@media (hover: none) {
  .photo-button:hover img,
  .button:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
