:root {
  --paper: #f2f0e9;
  --ink: #121212;
  --muted: #68665f;
  --line: rgba(18, 18, 18, 0.24);
  --peach: #ff8f70;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  z-index: 100;
  background: var(--ink);
  color: white;
}

.skip-link:focus { top: 1rem; }

.site-header {
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 110px;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  position: relative;
  z-index: 10;
}

.brand { display: block; width: min(100%, 210px); }
.brand img { display: block; width: 100%; }

.edition {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(0.8rem, 2.2vw, 2.4rem);
  transform: translateY(calc(-0.55rem - 3px));
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transition: right 220ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

main { min-height: 70vh; }

.hero {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  min-height: calc(100vh - 110px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: clamp(2rem, 6vw, 6.5rem) clamp(1.25rem, 4vw, 4.5rem) 2rem;
  border-right: 1px solid var(--line);
}

.eyebrow,
.folio-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.hero h1 { font-size: clamp(4.4rem, 10.5vw, 10rem); }
.hero h1 em { display: block; margin-left: 0.42em; font-weight: 400; }

.hero-note {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  max-width: 25rem;
  margin-left: auto;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.25;
}

.hero-note span { font-family: var(--sans); font-size: 0.65rem; }

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #181818;
}

.hero-stage .image-frame { position: absolute; }
.hero-stage .image-frame:nth-child(1) { inset: 5% 7% 20% 15%; }
.hero-stage .image-frame:nth-child(2) { width: 34%; right: 3%; bottom: 3%; z-index: 2; }
.hero-stage .image-frame:nth-child(3) { width: 28%; left: 2.5%; bottom: 3%; z-index: 3; transform: rotate(-2deg); }

.image-frame {
  margin: 0;
  background: #181818;
  isolation: isolate;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 260ms ease, transform 500ms cubic-bezier(.2,.8,.2,1);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border: 2px solid transparent;
  opacity: 0;
  box-shadow: 0 0 0 transparent;
  transition: opacity 200ms ease, box-shadow 240ms ease, border-color 200ms ease;
  pointer-events: none;
}

.image-frame:hover::after,
.image-frame:focus-within::after {
  opacity: 1;
  border-color: #fff;
  box-shadow: 0 0 8px #fff, 0 0 24px rgba(255, 255, 255, 0.9), 0 0 48px rgba(255, 255, 255, 0.58);
}

.image-frame:hover img { filter: saturate(1.07) contrast(1.03); transform: scale(1.008); }

.image-frame button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.home-selection { padding: clamp(4.5rem, 9vw, 9rem) clamp(1rem, 3vw, 3rem); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.8;
}

.section-heading a { font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; text-underline-offset: 0.35rem; }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.8rem);
  align-items: start;
}

.editorial-grid .image-frame { position: relative; }
.editorial-grid .image-frame:nth-child(1) { grid-column: 1 / span 5; }
.editorial-grid .image-frame:nth-child(2) { grid-column: 8 / span 5; margin-top: 8rem; }
.editorial-grid .image-frame:nth-child(3) { grid-column: 3 / span 7; margin-top: 2rem; }
.editorial-grid .image-frame:nth-child(4) { grid-column: 9 / span 3; margin-top: 10rem; }
.editorial-grid img { aspect-ratio: auto; height: auto; }

.frame-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 2rem;
  padding: clamp(4rem, 10vw, 10rem) clamp(1rem, 3vw, 3rem) clamp(2.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-intro h1 { font-size: clamp(5.5rem, 16vw, 15rem); }
.page-intro p { max-width: 26rem; margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.2; }

.gallery {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 3rem) clamp(1.25rem, 4vw, 4.5rem) clamp(6rem, 10vw, 10rem);
}

.gallery-grid {
  --gallery-row-gap: clamp(2rem, 5vw, 5rem);
  --gallery-column-gap: clamp(1.25rem, 2vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gallery-row-gap) var(--gallery-column-gap);
  align-items: start;
}

.gallery-grid[data-collection="postcards"] {
  width: min(100%, calc((100vh - 15rem) * 1.45));
  margin-inline: auto;
  row-gap: 0;
}

.gallery .image-frame { position: relative; align-self: stretch; min-width: 0; min-height: 0; }
.gallery .image-frame button { min-height: 0; overflow: hidden; }
.gallery .image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-full { width: 100%; }

.people-section-label {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.75rem);
  color: var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-bottom: 1px solid var(--line);
}

.about-portrait { min-height: 760px; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-copy { padding: clamp(3rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); }
.about-copy .lede { margin: 2.5rem 0 6rem; font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.about-copy .details { max-width: 31rem; margin-left: auto; line-height: 1.65; }

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding: 0 clamp(1rem, 5vw, 6rem) clamp(5rem, 10vw, 10rem);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  font: clamp(0.95rem, 1.35vw, 1.25rem)/1.25 var(--serif);
}

.contact-details p { margin: 0; }
.contact-details a { text-decoration: none; }
.contact-label { text-decoration: underline; text-underline-offset: 0.25em; }

.contact-inquiry { width: min(100%, 880px); }
.contact-inquiry h1 {
  margin: 0 0 0.85rem;
  font: 400 clamp(1.4rem, 2vw, 1.9rem)/1 var(--serif);
}

.contact-aside h2 { margin: 0 0 2rem; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 7rem); line-height: 0.85; letter-spacing: -0.05em; }
.contact-aside p { max-width: 20rem; color: var(--muted); line-height: 1.55; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  align-content: start;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--ink);
  background: rgba(18, 18, 18, 0.035);
}
.field { display: grid; gap: 0.65rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem;
  color: var(--ink);
  background: #fff;
  font: 1.05rem var(--sans);
  outline: none;
}

.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.18); }

.submit-button {
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 12rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font: 0.68rem var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover { color: var(--ink); background: var(--peach); box-shadow: 0 0 22px rgba(255, 143, 112, 0.75); }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: calc(clamp(4rem, 8vw, 8rem) - 2rem) clamp(1rem, 3vw, 3rem) 0;
  color: #f4f2eb;
  background: #000;
}

.site-footer .brand { width: min(100%, 210px); filter: invert(1); }
.footer-note { max-width: 22rem; margin: 0; color: #aaa; font: 1.25rem/1.25 var(--serif); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; font-size: 0.63rem; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; transform: translateY(-12px); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 3.5rem;
  border: 0;
  background: rgba(10, 10, 10, 0.94);
}

.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.1rem; right: 1.3rem; border: 0; color: white; background: none; font: 2rem var(--sans); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 145px 1fr; min-height: 92px; }
  .edition { display: none; }
  .site-nav { justify-self: end; gap: 0.85rem; }
  .site-nav a { font-size: 0.61rem; letter-spacing: 0.08em; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stage { min-height: 78vh; }
  .page-intro { grid-template-columns: 1fr; }
  .about-grid,
  .contact-section { grid-template-columns: 1fr; }
  .about-portrait { min-height: 70vh; }
  .about-copy .lede { margin-bottom: 3.5rem; }
  .site-footer .brand { width: 145px; }
}

@media (max-width: 540px) {
  .site-header { grid-template-columns: 120px 1fr; padding-inline: 0.8rem; }
  .site-nav { gap: 0.6rem; }
  .site-nav a { font-size: 0.56rem; }
  .hero h1 { font-size: clamp(4rem, 23vw, 7rem); }
  .hero-stage { min-height: 66vh; }
  .hero-stage .image-frame:nth-child(1) { inset: 5% 5% 22%; }
  .hero-stage .image-frame:nth-child(2) { width: 40%; }
  .hero-stage .image-frame:nth-child(3) { width: 38%; }
  .editorial-grid { display: block; }
  .editorial-grid .image-frame:nth-child(n) { margin: 0 0 4rem; }
  .page-intro h1 { font-size: 21vw; }
  .gallery { padding-inline: 0.85rem; }
  .gallery-grid { display: flex; flex-direction: column; gap: 1rem; }
  .gallery-grid[data-collection="postcards"] { width: 100%; }
  .gallery .image-frame { aspect-ratio: auto !important; }
  .gallery .image-frame img { height: auto; object-fit: contain; }
  .people-section-label { position: static; display: block; margin-bottom: 0.55rem; }
  .contact-form { grid-template-columns: 1fr; }
  .field { grid-column: 1; }
  .submit-button { justify-self: stretch; }
  .footer-links { flex-wrap: wrap; }
  .site-footer { padding-inline: 0.8rem; }
  .site-footer .brand { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
