:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #20201d;
  --muted: #77766f;
  --line: #d9d7cf;
  --accent: #c45339;
  --serif: "linotype-didot", Georgia, serif;
  --sans: "neue-haas-grotesk-display", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 5.25rem;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.wordmark span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.8rem);
  font-size: 0.76rem;
}

.site-nav a, .site-footer a { transition: color 160ms ease; }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-contact { font-weight: 600; }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 0.45rem 0.05rem 0;
  border-radius: 50%;
  background: #89996a;
}

h1, h2, h3, p { margin-top: 0; }
.about-page-intro h1 {
  margin: 1.25rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

h1 em, h2 em { color: var(--accent); font-weight: 500; }
.landing-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  border-bottom-color: rgb(255 255 255 / 24%);
  color: white;
}

.landing-header .wordmark span { color: #f0ad79; }
.landing-header .site-nav a:hover,
.landing-header .site-footer a:hover { color: #f0ad79; }

.landing-hero {
  position: relative;
  min-height: max(42rem, 100svh);
  overflow: hidden;
  background: #433c35;
  color: white;
}

.landing-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(20 20 18 / 57%), rgb(20 20 18 / 13%) 78%),
    linear-gradient(0deg, rgb(20 20 18 / 56%), transparent 48%);
  content: "";
}

.landing-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.82);
}

.landing-hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0 7.2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.landing-hero-grid::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgb(255 255 255 / 11%) calc(25% - 1px), rgb(255 255 255 / 11%) 25%);
  content: "";
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  min-height: max(42rem, 100svh);
  padding: 8rem 7.2% 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-kicker {
  margin: auto 0 2rem;
  color: rgb(255 255 255 / 83%);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-kicker .status-dot { background: #d3d9b2; }
.landing-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.5rem;
  font-family: var(--sans);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.landing-heading-spaced { letter-spacing: -0.035em; }

.landing-hero h1 em {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.08em;
}

.landing-hero-bottom {
  width: min(100%, 54rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.landing-hero-intro {
  max-width: 25rem;
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 0.88rem;
  line-height: 1.8;
}

.landing-hero-link {
  display: inline-flex;
  flex-shrink: 0;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgb(255 255 255 / 72%);
  font-size: 0.75rem;
  font-weight: 600;
}

.landing-hero-link span { color: #f0ad79; }
.landing-hero-caption {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 38%);
  color: rgb(255 255 255 / 75%);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-section { padding: 2.5rem 7.2% 6rem; }
.entry-heading { margin-bottom: 1.5rem; }
.entry-heading h2 {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.entry-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.entry-choice {
  min-width: 0;
  color: inherit;
}

.entry-choice-image-wrap {
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #e7e2d7;
}

.entry-choice-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.entry-choice:hover .entry-choice-image,
.entry-choice:focus-visible .entry-choice-image { transform: scale(1.035); }
.entry-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.entry-choice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.entry-choice-text { display: grid; gap: 0.35rem; }
.entry-choice-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
}

.entry-choice-intro { color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.entry-choice-arrow { color: var(--accent); font-size: 1.25rem; transition: transform 160ms ease; }
.entry-choice:hover .entry-choice-arrow { transform: translate(3px, -3px); }

.text-link {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.text-link span, .contact-link span { color: var(--accent); }
.about-strip h2, .contact-section h2, .about-details h2 {
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.loading-note { color: var(--muted); }

.about-strip {
  padding: 5.5rem 7.2%;
  background: #e9e6dd;
}

.about-strip-content {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10%;
  align-items: end;
  margin-top: 1.1rem;
}

.about-strip h2 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.about-strip-content > div { max-width: 22rem; }
.about-strip-content p, .about-details-copy p {
  color: #65645e;
  font-size: 0.83rem;
  line-height: 1.85;
}

.about-strip-content .text-link { margin-top: 0.6rem; }
.contact-section { padding: 6rem 7.2% 6.5rem; }
.contact-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-section h2 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
.contact-link {
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.site-footer {
  min-height: 5rem;
  padding: 1rem 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
}

.site-footer p { margin: 0; color: var(--muted); }

.gallery-page, .project-page { padding: 2rem 7.2% 6rem; }
.back-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
}

.back-link:hover { color: var(--accent); }
.gallery-intro { padding: 5rem 0 4.5rem; }
.gallery-intro h1, .project-intro h1 {
  margin: 0.85rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.gallery-description, .project-description {
  max-width: 38rem;
  margin: 0;
  color: #65645e;
  font-size: 0.9rem;
  line-height: 1.8;
}

.project-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.project-count { margin: 0; color: var(--muted); font-size: 0.7rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.25rem; }
.project-card { display: block; min-width: 0; }
.project-card-image-wrap {
  display: block;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #e7e2d7;
}

.project-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-card-image { transform: scale(1.035); }
.project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.project-card-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.project-card-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
}

.project-card-year { padding-top: 0.5rem; color: var(--muted); font-size: 0.72rem; }
.project-card-category { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.72rem; }
.gallery-switcher {
  margin-top: 5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  text-align: right;
}

.gallery-switcher a { font-size: 0.78rem; font-weight: 600; }
.gallery-switcher a span { color: var(--accent); }
.project-page { padding-bottom: 0; }
.project-intro { max-width: 52rem; padding: 4.5rem 0 3rem; }
.project-intro h1 { font-size: clamp(3.2rem, 7vw, 6rem); }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.project-meta div { min-width: 7rem; }
.project-meta dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta dd { margin: 0; font-size: 0.76rem; }
.project-images { padding-bottom: 4rem; }
.project-images-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.project-image-button {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e7e2d7;
  color: white;
  cursor: zoom-in;
}

.project-image-button img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.project-image-button:hover img, .project-image-button:focus-visible img { opacity: 0.82; }
.project-image-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.project-next { padding: 1.25rem 0 4rem; border-top: 1px solid var(--line); }
.project-next-link { position: relative; display: grid; gap: 0.5rem; }
.project-next-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.05em; }
.project-next-arrow { position: absolute; right: 0; bottom: 0.25rem; color: var(--accent); font-size: 1.5rem; }
.lightbox {
  position: fixed;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 4rem 5rem 3.5rem;
  overflow: hidden;
  border: 0;
  background: rgb(25 24 22 / 97%);
  color: white;
}

.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.lightbox::backdrop { background: rgb(25 24 22 / 90%); }
.lightbox-figure {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
}

.lightbox-caption { color: rgb(255 255 255 / 82%); font-size: 0.75rem; }
.lightbox-status { grid-column: 2; grid-row: 2; color: rgb(255 255 255 / 65%); font-size: 0.7rem; text-align: center; }
.lightbox-close, .lightbox-control {
  border: 1px solid rgb(255 255 255 / 44%);
  background: transparent;
  color: white;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
}

.lightbox-control {
  grid-row: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.3rem;
}

.lightbox-previous { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-control:disabled { opacity: 0.3; cursor: default; }
.lightbox-close:hover, .lightbox-control:not(:disabled):hover { background: rgb(255 255 255 / 14%); }

.about-page { padding: 5rem 7.2% 7rem; }
.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 3rem 10%;
}

.about-page-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -2.6rem; }
.about-page-intro h1 { margin: 0; }
.about-lede {
  max-width: 25rem;
  margin: 0 0 0.55rem;
  color: #65645e;
  font-size: 0.9rem;
  line-height: 1.85;
}

.about-page-art {
  position: relative;
  height: clamp(16rem, 40vw, 31rem);
  margin: 4rem 0 6rem;
  overflow: hidden;
  background: #d9d9ca;
}

.about-art-shape { position: absolute; border-radius: 50%; }
.about-art-shape-one {
  width: 38%;
  height: 130%;
  top: -15%;
  left: 14%;
  transform: rotate(28deg);
  background: #626c4d;
}

.about-art-shape-two {
  width: 29%;
  height: 70%;
  top: 15%;
  left: 43%;
  transform: rotate(-16deg);
  border-radius: 48% 52% 45% 55%;
  background: #d66c4b;
  mix-blend-mode: multiply;
}

.about-art-shape-three {
  width: 19%;
  height: 65%;
  top: 17%;
  right: 12%;
  background: #dfb55d;
  mix-blend-mode: multiply;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10%;
}

.about-details h2 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.about-details-copy { max-width: 27rem; }
.about-details-copy p { margin-bottom: 1.1rem; }
.about-details-copy .text-link { margin-top: 0.5rem; }

@media (max-width: 800px) {
  .site-header { padding: 0 5%; }
  .entry-section, .about-strip, .contact-section, .about-page,
  .gallery-page, .project-page { padding-left: 5%; padding-right: 5%; }
  .landing-hero-content { padding-right: 5%; padding-left: 5%; }
  .landing-hero-grid { right: 5%; left: 5%; }
  .gallery-intro { padding-top: 4rem; }
  .project-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer { padding-left: 5%; padding-right: 5%; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 8rem; }
  .site-header { min-height: 4.4rem; align-items: flex-start; padding-top: 1.15rem; }
  .site-nav {
    max-width: calc(100% - 3.5rem);
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
    padding-bottom: 0.8rem;
    font-size: 0.68rem;
  }

  .landing-hero, .landing-hero-content { min-height: max(44rem, 100svh); }
  .landing-hero-content { padding-top: 7rem; padding-bottom: 1.5rem; }
  .landing-hero-grid { inset: 0 5%; }
  .landing-hero h1 { font-size: clamp(4.2rem, 17vw, 6.8rem); }
  .landing-hero-bottom { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .landing-hero-intro { max-width: 21rem; font-size: 0.82rem; }
  .landing-hero-caption { font-size: 0.55rem; }
  .entry-section { padding-top: 2rem; padding-bottom: 4.5rem; }
  .entry-choices { grid-template-columns: 1fr; gap: 1.5rem; }
  .entry-choice-image-wrap { aspect-ratio: 1.35 / 1; }
  .gallery-page, .project-page { padding-top: 1.25rem; }
  .gallery-intro { padding: 3.5rem 0 3rem; }
  .project-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .project-card-image-wrap { aspect-ratio: 1.2 / 1; }
  .project-intro { padding: 3.5rem 0 2.5rem; }
  .project-meta { gap: 1.3rem 2rem; }
  .project-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .lightbox { padding: 4rem 0.75rem 2rem; }
  .lightbox[open] { grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; gap: 0.35rem; }
  .lightbox-control { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
  .lightbox-image { max-height: calc(100dvh - 9rem); }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .about-strip { padding-top: 4rem; padding-bottom: 4rem; }
  .about-strip-content, .about-page-intro, .about-details { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-strip h2 { font-size: 3rem; }
  .contact-section { padding-top: 4rem; padding-bottom: 4.5rem; }
  .contact-row { display: block; }
  .contact-link { display: inline-block; margin-top: 1.5rem; }
  .site-footer { gap: 1rem; font-size: 0.6rem; }
  .about-page { padding-top: 3.5rem; padding-bottom: 4rem; }
  .about-page-intro .eyebrow { margin-bottom: 0; }
  .about-page-intro h1 { font-size: clamp(3.5rem, 15vw, 5.2rem); }
  .about-page-art { margin: 2.5rem 0 4rem; }
  .about-details { gap: 1rem; }
}

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