:root {
  --white: #ffffff;
  --ink: #111111;
  --muted: #6c6c6c;
  --line: #dfdfdf;
  --soft: #f4f4f4;
  --gutter: clamp(18px, 3vw, 48px);
  --gap: clamp(8px, 1vw, 16px);
  --sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; background: var(--white); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.viewer-open, body.menu-open { overflow: hidden; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--white); background: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 34px var(--gutter) 30px;
  background: var(--white);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(290px, .36fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
.site-identity { display: inline-grid; justify-self: start; gap: 1px; }
.site-identity strong {
  font-size: clamp(32px, 2.75vw, 48px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}
.site-identity span {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: .01em;
}
.site-nav {
  display: flex;
  max-width: 1180px;
  margin-left: auto;
  padding-top: 4px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.site-nav a, .nav-filter {
  position: relative;
  padding: 2px 0 5px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a::after, .nav-filter::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after,
.nav-filter:hover::after, .nav-filter:focus-visible::after,
.nav-filter.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.portfolio { padding: 18px var(--gutter) 92px; }
.portfolio-meta {
  display: flex;
  min-height: 24px;
  margin-bottom: 12px;
  align-items: baseline;
  justify-content: space-between;
}
.portfolio-meta h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portfolio-meta p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-grid { column-count: 4; column-gap: var(--gap); }
.project-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  break-inside: avoid;
  vertical-align: top;
}
.project-card[hidden] { display: none; }
.project-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.project-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft);
}
.project-image img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.006);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(.2,.75,.2,1);
}
.project-image img.is-loaded { opacity: 1; }
.project-overlay {
  position: absolute;
  display: flex;
  inset: 0;
  padding: 22px;
  color: var(--white);
  background: rgba(0,0,0,.56);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
}
.project-overlay strong {
  max-width: 88%;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
}
.project-overlay small {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.project-open:hover .project-overlay,
.project-open:focus-visible .project-overlay { opacity: 1; }
.project-open:hover img { transform: scale(1.025); }
.gallery-empty { margin: 60px 0; text-align: center; }

.about-section,
.publication-section {
  display: grid;
  margin: 0 var(--gutter);
  padding: clamp(78px, 9vw, 145px) 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(300px, .88fr) minmax(320px, 1.12fr);
  gap: clamp(50px, 8vw, 135px);
  align-items: start;
}
.about-image button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.about-image img { width: 100%; max-height: 850px; object-fit: cover; }
.section-label {
  margin: 0 0 28px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-copy { max-width: 680px; }
.about-copy h2,
.publication-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}
.about-lead {
  margin: clamp(36px, 4vw, 64px) 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -.025em;
  line-height: 1.25;
}
.about-copy > p:not(.section-label):not(.about-lead) {
  max-width: 620px;
  margin: 0 0 18px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}
.about-copy .disciplines {
  margin-top: 34px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.publication-section { grid-template-columns: minmax(320px, 1fr) minmax(280px, .72fr); align-items: center; }
.publication-copy { max-width: 700px; }
.publication-copy > p:not(.section-label) {
  max-width: 620px;
  margin: 40px 0 28px;
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}
.publication-copy > span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.book-cover {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin-left: auto;
}

.contact-section {
  margin: 0 var(--gutter);
  padding: clamp(78px, 10vw, 160px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-section .section-label { margin-bottom: 24px; }
.contact-section h2 { font-size: clamp(44px, 7vw, 108px); }
.contact-section a {
  display: inline-block;
  margin-top: 38px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(16px, 1.6vw, 24px);
}
.site-footer {
  display: flex;
  margin: 0 var(--gutter);
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 24px;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.viewer[hidden] { display: none; }
.viewer {
  position: fixed;
  z-index: 3000;
  inset: 0;
  color: var(--ink);
  background: var(--white);
  opacity: 0;
  transition: opacity 180ms ease;
}
.viewer.is-open { opacity: 1; }
.viewer-dialog {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 20px clamp(16px, 3vw, 48px) 24px;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.viewer-topbar { display: flex; align-items: center; justify-content: space-between; }
.viewer-topbar p,
.viewer-close {
  margin: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.viewer-close { padding: 8px 0 8px 16px; }
.viewer-stage {
  display: grid;
  min-height: 0;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
}
.viewer-image-wrap {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.viewer-image-wrap img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease;
}
.viewer-image-wrap img.is-ready { opacity: 1; }
.viewer-nav {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 300;
}
.viewer-next { justify-self: end; }
.viewer-info {
  display: flex;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.viewer-info h3 { margin: 0; font-size: 16px; font-weight: 600; }
.viewer-info p { display: flex; margin: 0; color: var(--muted); gap: 18px; font-size: 10px; text-transform: uppercase; }

@media (max-width: 1500px) {
  .project-grid { column-count: 3; }
  .header-inner { grid-template-columns: 310px minmax(0, 1fr); }
  .site-nav { gap: 9px 17px; }
}

@media (max-width: 1000px) {
  .site-header { padding-top: 26px; }
  .header-inner { grid-template-columns: 265px minmax(0, 1fr); gap: 24px; }
  .site-nav { gap: 8px 14px; }
  .project-grid { column-count: 2; }
  .about-section, .publication-section { gap: 55px; }
}

@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; }
  .site-identity strong { font-size: 29px; }
  .menu-toggle {
    display: inline-flex;
    padding: 8px 0 8px 16px;
    border: 0;
    background: transparent;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .menu-toggle i, .menu-toggle i::before {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }
  .menu-toggle i::before { transform: translateY(5px); }
  .site-nav {
    position: fixed;
    z-index: -1;
    top: 69px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    max-width: none;
    padding: 28px var(--gutter) 70px;
    background: var(--white);
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .site-header.menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
  .site-header.menu-open .menu-toggle i { transform: rotate(45deg) translateY(3px); }
  .site-header.menu-open .menu-toggle i::before { transform: rotate(-90deg); }
  .site-nav a, .nav-filter {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(17px, 4vw, 25px);
    font-weight: 500;
    letter-spacing: -.02em;
    text-align: left;
    text-transform: none;
  }
  .site-nav a::after, .nav-filter::after { display: none; }
  .nav-filter.is-active { font-weight: 700; }
  .about-section, .publication-section { grid-template-columns: 1fr; }
  .about-image { max-width: 680px; }
  .publication-copy { order: 1; }
  .book-cover { order: 2; width: min(100%, 420px); margin: 0; }
}

@media (max-width: 620px) {
  :root { --gutter: 14px; --gap: 8px; }
  .site-header { padding-top: 15px; padding-bottom: 15px; }
  .site-identity strong { font-size: 23px; }
  .site-identity span { font-size: 11px; }
  .site-nav { top: 60px; }
  .portfolio { padding-top: 8px; padding-bottom: 65px; }
  .portfolio-meta { margin-bottom: 7px; }
  .project-grid { column-count: 1; }
  .project-card { margin-bottom: 8px; }
  .project-overlay { opacity: 1; padding: 14px; background: linear-gradient(to top, rgba(0,0,0,.52), rgba(0,0,0,0) 48%); align-items: flex-start; justify-content: flex-end; text-align: left; }
  .project-overlay strong { font-size: 14px; }
  .project-overlay small { margin-top: 3px; font-size: 8px; }
  .about-section, .publication-section { margin: 0 var(--gutter); padding: 70px 0; gap: 38px; }
  .about-copy h2, .publication-copy h2 { font-size: 43px; }
  .about-lead { margin-top: 32px; font-size: 23px; }
  .contact-section { padding: 76px 0; }
  .contact-section h2 { font-size: 48px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .viewer-dialog { padding: 12px 10px 16px; }
  .viewer-stage { grid-template-columns: 1fr; position: relative; }
  .viewer-nav { position: absolute; z-index: 2; top: 50%; background: rgba(255,255,255,.86); transform: translateY(-50%); }
  .viewer-prev { left: 0; }
  .viewer-next { right: 0; }
  .viewer-image-wrap img { max-height: calc(100vh - 150px); }
  .viewer-info { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (hover: none) and (min-width: 621px) {
  .project-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 45%); align-items: flex-start; justify-content: flex-end; text-align: left; }
}

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

/* September update: additional editorial images; original design above unchanged. */
.about-section[data-viewer-group] .about-image img { height: auto; }
.section-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--gap);
  align-items: start;
}
.section-gallery {
  grid-column: 1 / -1;
  column-count: 3;
  column-gap: var(--gap);
}
.editorial-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  break-inside: avoid;
  vertical-align: top;
}
.site-identity { min-width: 0; }
.menu-toggle { flex-shrink: 0; }
@media (max-width: 900px) {
  .site-nav { top: var(--header-height, 80px); }
  .section-gallery { column-count: 2; }
}
