:root {
  --bg: #fff8ed;
  --surface: #ffffff;
  --ink: #171311;
  --muted: #74695e;
  --line: rgba(23, 19, 17, 0.13);
  --pink: #d71f6a;
  --green: #6f9d18;
  --blue: #117a8b;
  --orange: #e35b21;
  --shadow: 0 24px 80px rgba(54, 40, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 31, 106, 0.13), transparent 24rem),
    radial-gradient(circle at 86% 4%, rgba(17, 122, 139, 0.12), transparent 26rem),
    linear-gradient(180deg, #fffaf2, var(--bg));
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::selection {
  background: #dff28c;
  color: var(--ink);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(255, 248, 237, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu {
  position: relative;
}

.menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
}

.menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 36px));
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow);
}

.menu:not([open]) nav {
  display: none;
}

.menu nav a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.menu nav a:hover,
.menu nav a:focus-visible {
  background: rgba(215, 31, 106, 0.09);
  color: var(--pink);
}

/*
.site-nav nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
*/

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pink);
}

.hero,
.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 62px 0 48px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.4rem);
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  letter-spacing: 0;
}

.hero-copy p:not(.kicker),
.about p:not(.kicker),
.contact h2 {
  max-width: 600px;
}

.hero-copy p:not(.kicker),
.about p:not(.kicker) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--ink);
  color: var(--bg);
}

.button-quiet {
  color: var(--ink);
}

.hero-image {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  background: var(--surface);
}

.hero-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-image figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(255, 248, 237, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.discipline-strip {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: 8px 0 22px;
}

.discipline-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.discipline-strip span,
.mini-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.discipline-strip span:nth-child(2n),
.mini-nav a:nth-child(2n) {
  color: var(--blue);
}

.discipline-strip span:nth-child(3n),
.mini-nav a:nth-child(3n) {
  color: var(--pink);
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(54, 40, 28, 0.09);
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(23, 19, 17, 0.8)),
    linear-gradient(90deg, rgba(215, 31, 106, 0.12), transparent 46%);
}

.work-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: #fffaf2;
}

.work-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #dff28c;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card:hover img,
.work-card:focus-visible img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.04);
}

.about {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  gap: 34px;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-links a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--pink);
}

.detail-hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.detail-hero p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.detail-hero img {
  width: 100%;
  min-height: 340px;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.theater-hero {
  min-height: auto;
  display: block;
  padding-bottom: 26px;
}

.theater-hero p:not(.kicker) {
  max-width: 820px;
}

.page-lede {
  padding-top: 58px;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.compact-title {
  max-width: 13ch;
  font-size: clamp(3.1rem, 7.5vw, 6.2rem);
}

.wide-title {
  max-width: 100%;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

.section-title {
  max-width: 100%;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

.detail-image-contained {
  object-fit: contain !important;
  background: #111;
}

.role-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.role-filter button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-filter button.active,
.role-filter button:hover,
.role-filter button:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
}

.project-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.project-feature {
  align-items: start;
}

.media-stack {
  display: grid;
  gap: 12px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #161311;
  color: #fffaf2;
}

.video-card img,
.video-card .project-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.project-row > .video-card img,
.project-row > .video-card .project-placeholder {
  aspect-ratio: 4 / 3;
}

.video-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 19, 17, 0.78);
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card.compact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.video-card.compact span {
  position: static;
  background: transparent;
}

.project-placeholder {
  min-height: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(23, 19, 17, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(215, 31, 106, 0.08), rgba(17, 122, 139, 0.09)),
    rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-row h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

.project-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-row[hidden] {
  display: none;
}

.project-row strong {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--pink);
  font-weight: 900;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.art-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 38px rgba(54, 40, 28, 0.08);
}

.art-card.large,
.art-card.wide,
.art-card.spotlight {
  grid-column: span 2;
}

.art-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.art-card.large img,
.art-card.wide img,
.art-card.spotlight img {
  aspect-ratio: 16 / 9;
}

.art-card.spotlight {
  grid-row: span 2;
}

.art-card.spotlight img {
  height: 100%;
}

.art-card.full-image img {
  object-fit: contain;
  background: #fff;
}

.art-card.feature-david img {
  aspect-ratio: 16 / 10;
  padding: 10px;
}

.art-card.feature-david h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.art-card.small img {
  aspect-ratio: 1 / 1;
}

.art-card div {
  padding: 18px;
}

.art-card h3 {
  margin-bottom: 8px;
}

.art-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.theater-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compact-theater-grid {
  gap: 14px;
}

.compact-theater-grid .theater-card img {
  aspect-ratio: 5 / 3;
}

.compact-theater-grid .theater-card div {
  padding: 16px;
}

.compact-theater-grid .theater-card h3 {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.theater-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 38px rgba(54, 40, 28, 0.08);
}

.theater-card.large,
.theater-card.wide,
.theater-card.feature {
  grid-column: span 2;
}

.theater-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.theater-card:not(.large) img {
  aspect-ratio: 4 / 3;
}

.theater-card.feature img,
.theater-card.wide img {
  aspect-ratio: 16 / 8.5;
}

.theater-card.video-feature {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  align-items: center;
}

.theater-card.video-feature .video-card {
  height: 100%;
}

.theater-card.video-feature .video-card img {
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}

.theater-card div {
  padding: 20px;
}

.theater-card h3 {
  margin-bottom: 10px;
}

.theater-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.recording-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-block: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recording-callout h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.recording-callout p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.slideshow {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #151210;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: theaterFade 12s infinite;
}

.slideshow img:nth-child(2) {
  animation-delay: 4s;
}

.slideshow img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes theaterFade {
  0%,
  8% {
    opacity: 0;
  }

  14%,
  38% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.page-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .detail-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-image {
    transform: none;
  }

  .hero-image img,
  .detail-hero img {
    min-height: 360px;
  }

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

  .work-card.large,
  .work-card.wide {
    grid-column: span 2;
  }

  .contact,
  .project-row {
    grid-template-columns: 1fr;
  }

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

  .theater-grid {
    grid-template-columns: 1fr;
  }

  .theater-card.large,
  .theater-card.wide,
  .theater-card.feature,
  .theater-card.video-feature {
    grid-column: auto;
  }

  .theater-card.video-feature {
    grid-template-columns: 1fr;
  }

  .recording-callout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .slideshow {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    align-self: flex-end;
    margin-top: -52px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.3rem, 15vw, 5.4rem);
  }

  .section {
    padding: 64px 0;
  }

  .work-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-card,
  .work-card.large,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }

  .art-card.large,
  .art-card.wide {
    grid-column: auto;
  }
}
