:root {
  --ink: #0b0b0a;
  --paper: #f8f5ed;
  --white: #fffaf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.site-header {
  align-items: flex-start;
  color: var(--white);
  display: flex;
  inset: 0 0 auto;
  justify-content: center;
  min-height: 68px;
  padding: 22px clamp(18px, 4vw, 54px);
  pointer-events: none;
  position: fixed;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
  z-index: 20;
}

.site-header a,
.site-header button,
.work-menu {
  pointer-events: auto;
}

.site-nav {
  display: flex;
  font-size: 13px;
  gap: 25px;
  left: clamp(18px, 4vw, 54px);
  position: absolute;
  top: 22px;
}

.site-nav a,
.site-nav button,
.brand-mark {
  line-height: 1;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav button:hover,
.brand-mark:hover {
  opacity: 0.58;
}

.brand-mark {
  display: block;
  width: clamp(118px, 12vw, 170px);
}

.brand-mark img {
  display: block;
  height: auto;
  width: 100%;
}

body.page-light .site-header {
  color: var(--ink);
  text-shadow: none;
}

.work-menu {
  display: none;
  flex-direction: column;
  gap: 9px;
  left: 61px;
  min-width: 190px;
  position: absolute;
  top: 24px;
}

.work-menu.open {
  display: flex;
}

.menu-toggle {
  display: none;
}

.hero,
.project-hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero-slides,
.hero-slide,
.project-hero img {
  inset: 0;
  position: absolute;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 1500ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.project-hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.slide-count,
.project-title {
  bottom: 22px;
  color: var(--white);
  font-size: 12px;
  left: clamp(18px, 4vw, 54px);
  letter-spacing: 0.06em;
  position: absolute;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
  text-transform: uppercase;
  z-index: 2;
}

.home-grid,
.image-story {
  background: var(--paper);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-tile,
.image-story figure {
  background: var(--ink);
  display: block;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.project-opening-description {
  position: absolute;
  right: 6vw;
  bottom: 10%;
  margin: 0;
  max-width: 300px;
  color: white;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.home-tile {
  aspect-ratio: 1 / 1;
}

.home-tile:first-child {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.book-tile {
  align-items: center;
  background: #f5f1e8;
  display: flex;
  justify-content: center;
  padding: clamp(26px, 3.2vw, 58px);
  touch-action: manipulation;
}

.home-tile img,
.image-story img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.book-tile img {
  border: 1px solid rgba(23, 21, 17, 0.18);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  height: auto;
  max-height: none;
  max-width: 88%;
  object-fit: contain;
  width: auto;
}

.book-tile .tile-label {
  color: var(--ink);
  text-shadow: none;
}

.home-tile:hover img {
  transform: scale(1.025);
}

.tile-label {
  bottom: 18px;
  color: var(--white);
  font-size: 12px;
  left: 18px;
  letter-spacing: 0.05em;
  position: absolute;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
  text-transform: uppercase;
}

.image-story figure {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.image-story figure.image-landscape {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.plain-page {
  align-content: end;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  min-height: 100svh;
  padding: 120px clamp(18px, 4vw, 54px) 54px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.plain-page h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
  max-width: 760px;
}

.plain-page p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

.press-list,
.press-list span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.press-page {
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
  padding: clamp(92px, 11vw, 150px) clamp(18px, 4vw, 54px) 54px;
}

.press-grid {
  display: grid;
  gap: clamp(18px, 4vw, 60px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.press-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.press-card img {
  background: #f5f1e8;
  display: block;
  height: auto;
  width: 100%;
}

.press-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 12px;
  text-transform: uppercase;
}

.press-card small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 5px;
  opacity: 0.62;
  text-transform: uppercase;
}

.contact-page {
  background: #fff;
  color: var(--ink);
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.contact-art,
.contact-drawing {
  display: block;
  width: 100%;
}

.contact-art {
  height: 100svh;
  overflow: hidden;
  width: 100vw;
}

.contact-drawing {
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.contact-panel {
  color: var(--ink);
  display: grid;
  gap: 6px;
  justify-items: end;
  position: absolute;
  right: clamp(26px, 5vw, 82px);
  text-align: right;
  top: clamp(110px, 7vw, 150px);
  z-index: 2;
}

.contact-panel p,
.contact-panel a {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(19px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  text-transform: none;
}

.contact-panel a {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.contact-panel small {
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin-top: 12px;
  max-width: 330px;
  text-transform: uppercase;
}

.studio-page {
  background: var(--paper);
  color: var(--ink);
}

.studio-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-opening,
.studio-tile {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.studio-opening img,
.studio-tile img,
.studio-tile picture {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.studio-opening {
  aspect-ratio: 3 / 4;
  background: var(--ink);
}

.studio-bio-overlay {
  background: rgba(248, 245, 237, 0.78);
  color: var(--ink);
  bottom: 5%;
  left: 5%;
  margin: 0;
  overflow: auto;
  padding: clamp(28px, 3.4vw, 54px);
  position: absolute;
  right: 5%;
  top: 5%;
}

.studio-bio-overlay p:not(.studio-kicker) {
  font-size: clamp(14px, 1.06vw, 18px);
  line-height: 1.44;
  margin: 0 0 clamp(12px, 1.05vw, 17px);
}

.studio-tile {
  aspect-ratio: 3 / 4;
  background: var(--ink);
}

.studio-wide {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.footer,
.hero-copy,
.intro-band,
.project-strip,
.section-heading,
.project-cards,
.page-hero,
.scope-list,
.pull-quote,
.button-link {
  display: none;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .site-header {
    justify-content: flex-end;
    min-height: 58px;
    padding: 18px;
  }

  .brand-mark {
    position: absolute;
    right: 18px;
    top: 17px;
    width: 112px;
  }

  .menu-toggle {
    display: block;
    left: 18px;
    position: absolute;
    top: 18px;
  }

  .site-nav {
    background: rgba(11, 11, 10, 0.88);
    display: none;
    flex-direction: column;
    gap: 18px;
    inset: 0;
    padding: 72px 18px;
    position: fixed;
  }

  body.page-light .site-nav {
    background: rgba(248, 245, 237, 0.94);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .work-menu {
    display: flex;
    gap: 10px;
    left: auto;
    padding-left: 16px;
    position: static;
  }

  .home-grid,
  .image-story {
    grid-template-columns: 1fr;
  }

  .home-tile:first-child,
  .book-tile,
  .image-story figure,
  .image-story figure.image-landscape {
    grid-column: span 1;
  }

  .home-tile,
  .home-tile:first-child,
  .book-tile,
  .image-story figure {
    aspect-ratio: auto;
    min-height: 100vw;
  }

  .image-story figure,
  .image-story figure.image-landscape {
    aspect-ratio: auto;
    min-height: auto;
  }

  .image-story img {
    height: auto;
    object-fit: contain;
  }

  .project-bonnie-hill .image-story figure:first-child {
    display: none;
  }

  .project-opening-description {
    right: 6vw;
    bottom: 9%;
    max-width: 260px;
    font-size: 11px;
    line-height: 1.45;
  }

  .studio-gallery {
    grid-template-columns: 1fr;
  }

  .studio-opening {
    aspect-ratio: 3 / 4;
  }

  .studio-bio-overlay {
    background: rgba(248, 245, 237, 0.82);
    bottom: auto;
    left: 7%;
    max-height: 82%;
    max-width: 86%;
    padding: 18px;
    right: auto;
    top: 10%;
  }

  .studio-bio-overlay p:not(.studio-kicker) {
    font-size: 10px;
    line-height: 1.34;
    margin-bottom: 9px;
  }

  .studio-wide {
    aspect-ratio: auto;
    grid-column: span 1;
  }

  .book-tile {
    background: transparent;
    min-height: auto;
    padding: 0;
  }

  .book-tile img {
    border: 0;
    box-shadow: none;
    height: auto;
    max-height: none;
    max-width: none;
    width: 100%;
  }

  .book-tile .tile-label {
    display: none;
  }

  .press-page {
    padding: 92px 12px 36px;
  }

  .press-grid {
    gap: 10px;
  }

  .press-card span {
    font-size: 9px;
    line-height: 1.25;
    margin-top: 8px;
  }

  .press-card small {
    font-size: 8px;
  }

  .contact-page {
    padding: 0;
  }

  .contact-art {
    height: 100svh;
  }

  .contact-drawing {
    height: 100svh;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    width: 100%;
  }

  .contact-panel {
    left: auto;
    max-width: calc(100vw - 72px);
    right: 18px;
    top: 48px;
  }

  .contact-panel p,
  .contact-panel a {
    font-size: clamp(15px, 4.8vw, 19px);
  }

  .contact-panel small {
    font-size: 7px;
    max-width: 244px;
  }
}
