:root {
  --ink: #171411;
  --paper: #f3efe8;
  --paper-deep: #e7dfd3;
  --plum: #5d3b63;
  --moss: #788b62;
  --line: rgba(23, 20, 17, 0.18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", 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;
}
body.has-menu,
body.has-lightbox { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  color: #fff;
  transition: background .35s ease, color .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(243, 239, 232, .94);
  color: var(--ink);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0;
}
.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
.site-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #55483e;
  color: #fff;
}
.hero-picture,
.hero-picture img,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture img { object-fit: cover; object-position: 50% top; animation: hero-in 1.5s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 12, 10, .68) 0%, rgba(17, 12, 10, .22) 51%, rgba(17, 12, 10, .05) 100%),
    linear-gradient(0deg, rgba(17, 12, 10, .35), transparent 40%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 7vw, 8rem);
  bottom: clamp(4rem, 11vh, 8rem);
  width: min(680px, 82vw);
}
.eyebrow {
  margin: 0 0 1.3rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow.plum { color: var(--plum); }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 10vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .72;
}
.hero-intro {
  width: min(510px, 100%);
  margin: 2.3rem 0 2.4rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateY(.25rem); }
.hero-index {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4.5rem);
  bottom: 2.2rem;
  margin: 0;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.manifesto,
.about {
  display: grid;
  grid-template-columns: minmax(60px, .4fr) 1.6fr 1fr;
  gap: clamp(1.5rem, 5vw, 6rem);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.5rem, 7vw, 8rem);
}
.section-number {
  padding-top: .5rem;
  color: var(--plum);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}
.manifesto h2,
.about h2,
.collection h2,
.palette h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
.manifesto h2,
.about h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.manifesto-copy > p:last-child {
  max-width: 680px;
  margin: 2.5rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}
blockquote {
  align-self: end;
  margin: 0 0 .5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
}
blockquote p { margin: 0; }

.collection {
  padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 4vw, 4.5rem);
  background: #e6ded2;
}
.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  max-width: 1500px;
}
.collection h2 { font-size: clamp(3rem, 6vw, 6rem); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.filter {
  padding: .7rem 1rem;
  border: 1px solid rgba(23,20,17,.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}
.filter:hover,
.filter:focus-visible,
.filter.is-active { background: var(--ink); color: var(--paper); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 2.2rem);
  max-width: 1500px;
  margin: 0 auto;
}
.portrait { grid-column: span 4; margin-bottom: clamp(1rem, 4vw, 4rem); }
.portrait-wide { grid-column: span 8; }
.portrait:nth-child(3n+2) { padding-top: clamp(0rem, 5vw, 5rem); }
.portrait.is-hidden { display: none; }
.portrait-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}
.portrait-button img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #d1c8ba;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.portrait-wide .portrait-button img { aspect-ratio: 5 / 4; object-position: center 30%; }
.portrait-tall .portrait-button img { aspect-ratio: 3 / 4; }
.portrait-button:hover img { transform: scale(.992); filter: saturate(1.05); }
.portrait-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.portrait-meta strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.portrait-meta em { font-size: .63rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.palette {
  padding: clamp(6rem, 12vw, 11rem) clamp(1.5rem, 7vw, 8rem);
  background: var(--plum);
  color: #f5f0e9;
}
.palette h2 { max-width: 1000px; font-size: clamp(3.3rem, 7.5vw, 8rem); }
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(4rem, 8vw, 8rem);
  border: 1px solid rgba(255,255,255,.35);
}
.swatches span {
  display: flex;
  align-items: end;
  min-height: clamp(130px, 18vw, 260px);
  padding: 1rem;
  background: var(--swatch);
  border-right: 1px solid rgba(255,255,255,.35);
}
.swatches span:last-child { border: 0; }
.swatches i { font-size: .65rem; font-style: normal; letter-spacing: .13em; text-transform: uppercase; }

.about { background: #f7f4ee; }
.about-copy { padding-top: clamp(4rem, 11vw, 10rem); }
.about-copy p { margin: 0 0 1.5rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.75; }
.about-copy p:last-child { color: #5e5750; font-size: .9rem; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 2rem clamp(1.5rem, 4vw, 4.5rem);
  background: var(--ink);
  color: #eee8df;
}
.site-footer p { margin: 0; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(16, 13, 11, .97);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(16, 13, 11, .9); }
.lightbox figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(1160px, 86vw);
  height: min(84vh, 920px);
  margin: 0;
}
.lightbox figure img { width: 100%; height: 100%; object-fit: contain; }
.lightbox figcaption { padding-bottom: 1rem; }
.lightbox figcaption span { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.lightbox figcaption h2 { margin: 1rem 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: .95; }
.lightbox figcaption p { color: #c9c0b6; line-height: 1.55; }
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox-close { top: 1.2rem; right: 1.5rem; font-family: var(--serif); font-size: 2.4rem; font-weight: 300; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lightbox-arrow.previous { left: 1.5rem; }
.lightbox-arrow.next { right: 1.5rem; }

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .manifesto,
  .about { grid-template-columns: 40px 1fr; }
  .manifesto blockquote,
  .about-copy { grid-column: 2; }
  .collection-heading { align-items: start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .portrait { grid-column: span 6; }
  .portrait-wide { grid-column: span 12; }
  .site-footer { grid-template-columns: 1fr; gap: 1.3rem; }
  .lightbox figure { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 88vh; }
  .lightbox figcaption { max-width: 620px; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding-inline: 1.1rem; }
  .menu-button {
    display: grid;
    gap: 4px;
    width: 38px;
    height: 38px;
    place-content: center;
    border: 0;
    background: transparent;
    color: inherit;
  }
  .menu-button span:not(.sr-only) { width: 20px; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem 1.2rem 2rem;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .3s ease;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0; text-transform: none; }
  .hero-picture img { object-position: 58% top; }
  .hero-shade { background: linear-gradient(0deg, rgba(17,12,10,.78) 0%, rgba(17,12,10,.1) 72%); }
  .hero-copy { left: 1.25rem; bottom: 4.2rem; width: calc(100% - 2.5rem); }
  .hero h1 { font-size: clamp(4.2rem, 22vw, 6.2rem); }
  .hero-intro { margin: 1.8rem 0; font-size: 1.05rem; }
  .hero-index { display: none; }
  .manifesto,
  .about { grid-template-columns: 1fr; padding-inline: 1.25rem; }
  .manifesto-copy,
  .manifesto blockquote,
  .about-title,
  .about-copy { grid-column: 1; }
  .manifesto h2,
  .about h2 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .section-number { margin-bottom: 1rem; }
  .about-copy { padding-top: 1rem; }
  .collection { padding-inline: .75rem; }
  .collection-heading { padding-inline: .5rem; }
  .collection h2 { font-size: 3.2rem; }
  .gallery { display: block; }
  .portrait,
  .portrait:nth-child(3n+2) { padding-top: 0; margin-bottom: 2.5rem; }
  .portrait-button img,
  .portrait-wide .portrait-button img,
  .portrait-tall .portrait-button img { aspect-ratio: 4 / 5; object-position: center top; }
  .portrait-meta { padding-inline: .25rem; }
  .swatches { grid-template-columns: 1fr; }
  .swatches span { min-height: 76px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .lightbox figure { width: calc(100vw - 2rem); height: calc(100svh - 4rem); }
  .lightbox-arrow { top: auto; bottom: 1rem; }
  .lightbox-arrow.previous { left: 1rem; }
  .lightbox-arrow.next { right: 1rem; }
  .lightbox figcaption { padding: 0 2.8rem .2rem; }
  .lightbox figcaption h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
