@font-face {
  font-family: Archivo;
  src: url("fonts/archivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f5f3ed;
  --ink: #191915;
  --soft: #595750;
  --line: #d3cfc5;
  --red: #c73f2b;
  --red-light: #fa7864;
  --night: #191a17;
  --gutter: clamp(20px, 4vw, 72px);
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
  color-scheme: light;
  font-family: Archivo, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
em { font: italic 400 1.16em/.82 var(--serif); letter-spacing: -.025em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 20;
  padding: 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.shell { width: min(100% - var(--gutter) * 2, 1600px); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 500; }
.eyebrow, .opening-meta { font-size: .75rem; letter-spacing: .075em; text-transform: uppercase; }
.red-dot { display: inline-block; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.eyebrow { display: flex; align-items: center; gap: 10px; }

.masthead {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 22px;
  border-bottom: 1px solid var(--line);
}
.brand { width: clamp(156px, 16vw, 235px); }

.main-nav { display: flex; align-items: center; gap: clamp(21px, 3.2vw, 50px); }
.main-nav a {
  position: relative;
  padding: 12px 0;
  font-weight: 650;
  font-size: .93rem;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--red); }
.main-nav a[aria-current]::after {
  content: "";
  position: absolute;
  height: 2px;
  background: currentColor;
  inset: auto 0 5px;
}
.masthead-social {
  justify-self: end;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 650;
}
.masthead-social:hover { border-color: var(--ink); }

.opening-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 20px 13px;
}
.opening-meta > span:first-child { display: flex; align-items: center; gap: 9px; }
.opening-meta > span:last-child { color: var(--soft); text-align: right; }
.logo-hero {
  min-height: clamp(185px, 26vw, 405px);
  display: grid;
  place-items: center;
  background: #fcfbf7;
  border: 1px solid var(--line);
}
.logo-hero .logo-frame { width: min(86%, 1120px); }
.about h2, .contact h2 {
  font-weight: 770;
  letter-spacing: -.078em;
  line-height: .87;
}
.play-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  flex: 0 0 auto;
}
.play-icon::after {
  content: "";
  width: 8px;
  height: 9px;
  margin-left: 2px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
}
.opening-end {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0 17px;
  font-size: .875rem;
  font-weight: 620;
}
.opening-end p span { padding-inline: 5px; color: var(--red); }
.opening-end a { padding-block: 4px; border-bottom: 1px solid; }
.opening-end a:hover { color: var(--red); }

.work { padding-block: clamp(52px, 5.3vw, 92px) clamp(74px, 10vw, 148px); scroll-margin-top: 20px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-title h2 {
  margin-top: 13px;
  font-size: clamp(3rem, 7.9vw, 8rem);
  font-weight: 780;
  letter-spacing: -.079em;
  line-height: .88;
}
.section-title h2 span { color: var(--red); }
.section-title p { max-width: 25ch; flex: 0 0 auto; padding-bottom: 3px; color: var(--soft); line-height: 1.45; }
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-block: 30px 19px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 8px 13px;
  min-height: 36px;
  font-weight: 630;
  font-size: .875rem;
}
.filters button:hover { border-color: var(--line); }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
#project-count { font-size: .75rem; text-transform: uppercase; color: var(--soft); text-align: right; white-space: nowrap; }
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: clamp(27px, 4vw, 62px) 15px; }
.project-card { display: block; grid-column: span 4; min-width: 0; color: inherit; }
.project-card.feature { grid-column: span 8; }
.project-card.wide { grid-column: span 7; }
.project-card.compact { grid-column: span 5; }
.project-card.half, .projects.filtered .project-card { grid-column: span 6; }
.projects.filtered .project-card:only-child { grid-column: span 7; }
.card-image { position: relative; }
.card-image img { width: 100%; height: auto; }
.card-image.video-frame, .card-image.audio-frame { aspect-ratio: 1.45; }
.card-image.video-frame { background: var(--night); }
.card-image.video-frame img { height: 100%; object-fit: contain; }
.card-image .card-play {
  display: grid;
  place-items: center;
  position: absolute;
  inset: auto 15px 15px auto;
  width: 43px;
  height: 43px;
  background: #f9f6ec;
  color: var(--ink);
  border-radius: 100px;
}
.card-image .card-play .play-icon { background: transparent; color: inherit; }
.card-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 0 13px;
  border-bottom: 1px solid var(--line);
}
.card-meta h3 { font-size: clamp(1.1rem, 2.45vw, 2.15rem); font-weight: 740; line-height: 1; letter-spacing: -.055em; }
.card-meta .mono { color: var(--soft); font-size: .7rem; text-transform: uppercase; line-height: 1.35; text-align: right; }
.project-card:hover h3 { color: var(--red); }

.podcast-art {
  color: #181915;
  background: #e6a862;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .25em;
  text-align: center;
  padding: 1.1em .3em;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-size: clamp(1.35rem, 3.6vw, 5rem);
}
.podcast-art strong { font-size: 1.53em; font-weight: 850; letter-spacing: -.085em; line-height: .95; z-index: 1; }
.podcast-art .mono { font-size: .27em; letter-spacing: .18em; z-index: 1; }
.waveform {
  display: flex;
  height: .58em;
  align-items: center;
  justify-content: center;
  gap: .055em;
  margin-bottom: .28em;
}
.waveform i { display: block; background: #9c2c22; width: .075em; height: var(--size); border-radius: 1em; }

.about { background: var(--night); color: var(--paper); padding-block: clamp(64px, 8vw, 132px); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 118px); align-items: center; }
.about .eyebrow .red-dot, .contact .eyebrow .red-dot { background: var(--red-light); }
.about h2, .contact h2 { font-size: clamp(4.2rem, 8vw, 8.5rem); margin: 20px 0 34px; }
.about-copy > p { max-width: 43ch; line-height: 1.55; margin: 0 0 14px; color: #dedad1; }
.text-link { display: inline-block; padding-block: 5px; border-bottom: 1px solid; font-weight: 680; }
.text-link:hover { color: var(--red-light); }
.about .text-link { margin-top: 10px; }
.about-image img { width: 100%; height: auto; }
.about-image figcaption { margin-top: 12px; color: #c9c5ba; font-size: .73rem; text-transform: uppercase; }
.contact { background: #e8e4da; padding-block: clamp(64px, 8vw, 118px) 0; }
.contact .eyebrow .red-dot { background: var(--red); }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(25px, 6vw, 104px); }
.contact h2 { margin-bottom: 12px; }
.contact-links { padding-bottom: 3px; }
.contact-links p { max-width: 37ch; margin-bottom: 14px; line-height: 1.5; }
.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid #c5bfb3;
  font-weight: 700;
}
.contact-links a:hover { color: var(--red); }
.contact-links a:last-child { border-bottom: 1px solid #c5bfb3; }
.contact-links .mono { font-size: .78rem; }
.footer-end {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #c5bfb3;
  padding-block: 20px;
  margin-top: clamp(45px, 6vw, 94px);
  font-size: .75rem;
}

.footer-end a { justify-self: end; text-align: right; }
.footer-end a:hover { color: var(--red); }

.project-view { padding-block: clamp(30px, 5vw, 72px) 90px; }
.back-link { display: inline-block; border-bottom: 1px solid; padding-bottom: 4px; font-size: .875rem; font-weight: 650; }
.back-link:hover { color: var(--red); }
.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, .7fr);
  align-items: end;
  gap: 23px;
  margin-block: 35px 27px;
}
.project-heading h1 {
  font-size: clamp(3.2rem, 7.8vw, 8.3rem);
  letter-spacing: -.077em;
  line-height: .9;
  font-weight: 780;
  margin-top: 12px;
}
.project-heading > p { font-size: 1.06rem; color: var(--soft); line-height: 1.55; padding-bottom: 2px; }
.project-cover, .project-cover img { width: 100%; height: auto; }
.project-cover.gallery-item img { max-height: min(84svh, 980px); object-fit: contain; }
.project-audio-cover { aspect-ratio: 2.15; max-height: 690px; }
.project-cover .podcast-art { font-size: clamp(2.4rem, 6.7vw, 8rem); }
.project-video-cover { display: grid; place-items: center; background: var(--night); }
.project-video-cover img { width: auto; max-height: min(60svh, 550px); object-fit: contain; }
.feature-film {
  width: 100%;
  max-height: min(68svh, 720px);
  background: var(--night);
  object-fit: contain;
  aspect-ratio: 16/9;
}
.project-section { margin-top: clamp(43px, 7vw, 90px); }
.project-section h2, .next-project h2 {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-bottom: 16px;
  font-weight: 740;
  font-size: clamp(1.6rem, 3.7vw, 3.25rem);
  letter-spacing: -.055em;
}
.clip-list { display: grid; align-items: start; gap: clamp(12px, 1.45vw, 22px); }
.gallery { --gallery-gap: 16px; display: grid; gap: var(--gallery-gap); }
.gallery-row { display: grid; align-items: start; grid-template-columns: var(--gallery-columns); gap: var(--gallery-gap); }
.gallery-item, .clip-button { border: 0; padding: 0; background: transparent; min-width: 0; }
.gallery-item { display: block; width: 100%; cursor: zoom-in; }
.gallery-item img, .clip-button img { width: 100%; height: auto; }
.clip-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clip-list:has(> :only-child) { grid-template-columns: minmax(0, 320px); }
.clip-button { text-align: left; }
.clip-button:hover strong { color: var(--red); }
.clip-visual { position: relative; display: block; }
.clip-visual .play-icon { position: absolute; bottom: 11px; left: 11px; }
.clip-button strong { display: block; padding-block: 9px 5px; font-size: 1rem; text-wrap: balance; }
.audio-list { list-style: none; padding: 0; margin: 0; }
.audio-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr); align-items: center; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.audio-list h3 { font-weight: 710; font-size: 1.15rem; }
.audio-list audio { width: 100%; max-width: 550px; justify-self: end; height: 44px; }
.next-project { margin-top: clamp(60px, 9vw, 128px); }
.next-project .project-card { display: inline-block; width: min(100%, 610px); }

.viewer {
  padding: 0;
  width: min(1050px, calc(100vw - 30px));
  max-width: none;
  border: 1px solid #46443f;
  border-radius: 5px;
  background: var(--night);
  color: var(--paper);
}
.viewer::backdrop { background: #0c0d0bee; }
.viewer-inner { padding: clamp(13px, 2.5vw, 25px); }
.viewer-top, .viewer-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.viewer-top h2 { font-size: clamp(1rem, 2.8vw, 1.45rem); font-weight: 720; }
.viewer-top p { color: #cac6ba; font-size: .75rem; margin-top: 3px; }
.viewer-top p:empty { display: none; }
.viewer-control { width: 43px; height: 43px; background: transparent; color: var(--paper); border: 1px solid #787568; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.viewer-control:hover { color: var(--night); background: var(--paper); }
.viewer-control:focus-visible { outline-color: var(--red-light); }
.viewer-media { margin-top: 13px; }
.viewer-media img, .viewer-media video { width: 100%; max-height: 73svh; min-height: 180px; object-fit: contain; margin: auto; }
.viewer-navigation { justify-content: center; margin-top: 12px; }

@media (max-width: 900px) {
  .masthead { min-height: 69px; }
  .section-title p { max-width: 18ch; }
}
@media (max-width: 650px) {
  .masthead { min-height: 65px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .brand { width: clamp(142px, 37vw, 185px); }
  .main-nav { gap: clamp(12px, 4vw, 20px); }
  .main-nav a { font-size: .83rem; }
  .masthead-social { display: none; }
  .opening-meta { font-size: .66rem; gap: 7px; padding-block: 16px 10px; letter-spacing: .045em; }
  .opening-meta > span:first-child { gap: 5px; }
  .red-dot { width: 7px; height: 7px; flex-basis: 7px; }
  .opening-end { font-size: .75rem; padding-block: 12px 15px; }
  .opening-end p span { padding-inline: 2px; }
  .section-title { display: block; }
  .section-title h2 { font-size: clamp(3rem, 10vw, 5.2rem); }
  .section-title p { max-width: 33ch; margin-top: 15px; }
  .work-toolbar { margin-top: 22px; gap: 7px; align-items: start; }
  .filters { gap: 0; }
  .filters button { padding: 5px 8px; font-size: .78rem; min-height: 32px; }
  #project-count { font-size: .62rem; padding-top: 8px; white-space: normal; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .projects .project-card, .projects.filtered .project-card { grid-column: 1; }
  .card-meta { display: block; padding-top: 9px; }
  .card-meta .mono { text-align: left; display: block; margin-top: 5px; }
  .card-image .card-play { inset: auto 7px 7px auto; width: 32px; height: 32px; }
  .podcast-art { font-size: clamp(1.1rem, 5.5vw, 2.65rem); }
  .about-inner, .contact-main, .project-heading { grid-template-columns: 1fr; }
  .about h2, .contact h2 { margin: 15px 0 22px; }
  .footer-end { grid-template-columns: 1fr 1fr; gap: 8px; }

  .project-heading { margin-top: 24px; gap: 16px; }
  .project-audio-cover { aspect-ratio: 1.4; }
  .gallery-row { grid-template-columns: minmax(0, 1fr); }
  .clip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .audio-list li { grid-template-columns: 1fr; }
  .audio-list audio { justify-self: start; }
}
@media (max-width: 345px) {
  .masthead { grid-template-columns: 1fr; gap: 3px; padding-top: 9px; }
  .main-nav a { padding-block: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}


/* Clip only the blank margins around the original wordmark. */
.logo-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1420 / 235;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.logo-frame img {
  position: absolute;
  width: 150.99%;
  max-width: none;
  height: auto;
  inset: -206.38% auto auto -25%;
  mix-blend-mode: normal;
}
.footer-end .logo-frame { width: 154px; }
.viewer-original, .source-link {
  display: inline-block;
  margin-top: 12px;
  padding-block: 4px;
  border-bottom: 1px solid currentColor;
  font-size: .875rem;
  font-weight: 650;
}
.viewer-original:hover { color: var(--red-light); }
.source-link:hover { color: var(--red); }
@media (max-width: 650px) {
  .footer-end .logo-frame { grid-column: span 2; width: 135px; margin-bottom: 8px; }
}

/* Portfolio presentation */
.brand { width: auto; justify-self: start; font-size: clamp(.85rem, 2.8vw, 1.03rem); font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.logo-hero { min-height: clamp(120px, 18vw, 285px); background: transparent; border: 0; }
.logo-hero .logo-frame { width: min(94%, 1080px); aspect-ratio: 1420 / 235; }
.about-image img { max-width: 550px; margin-inline: auto; }
.card-image.profile-frame { height: clamp(245px, 30vw, 460px); display: grid; place-items: center; background: var(--night); }
.card-image.profile-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.feature-film--vertical { width: min(100%, 430px); max-height: none; aspect-ratio: 9/16; margin-inline: auto; }
.series-intro { width: min(100%, 430px); margin-inline: auto; }
.podcast-trailer { margin-top: 20px; padding: clamp(14px, 3vw, 33px); background: #e6a862; }
.podcast-trailer h2 { border: 0; padding-top: 0; }
.podcast-trailer audio { display: block; width: min(100%, 560px); }

.magazine-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
  width: min(100%, 840px);
  aspect-ratio: 2 / 1.39;
  margin-inline: auto;
  perspective: 1300px;
}
.magazine-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  transform-origin: left center;
}
.magazine-stage:not(.is-spread) .magazine-page { grid-column: span 2; justify-self: center; width: 50%; transform-origin: center; }
.magazine-stage.is-spread .magazine-page:first-child { transform-origin: right center; }
.magazine-page img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 8px #1a171421); }
.magazine-controls { display: flex; justify-content: center; align-items: center; gap: clamp(6px, 2.6vw, 30px); margin-top: 16px; }
.magazine-controls button { border: 1px solid var(--line); background: transparent; padding: 8px clamp(8px, 2vw, 20px); min-height: 44px; font-size: .88rem; font-weight: 650; }
.magazine-controls button:hover:not([aria-disabled="true"]) { border-color: var(--ink); }
.magazine-controls button[aria-disabled="true"] { opacity: .48; cursor: default; }
.magazine-status { font-size: clamp(.7rem, 2vw, .87rem); min-width: 11ch; text-align: center; }

.logo-hero .logo-frame img { filter: contrast(1.5); }
