/* Quiet editorial type system — Inter only, regular and medium weights. */
body {
  font-family: Inter, sans-serif;
  font-weight: 400;
  color: #171717;
  background: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.wordmark {
  font-size: 16px;
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.nav nav a,
.menu-toggle {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker,
.skill-grid h3,
.exhibition-grid strong,
.process {
  font-weight: 500;
  letter-spacing: 0.055em;
}

.hero h1 {
  max-width: 430px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.008em;
}

.project-index strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.case-heading h2,
.archive h2,
.footer-row h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.project-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.case-study .case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: start;
  gap: 32px;
}

.case-study .case-label {
  text-align: left;
}

.project-heading-copy {
  min-width: 0;
}

.project-number {
  flex: 0 0 auto;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-category-row,
.project-socials {
  display: flex;
  align-items: center;
}

.project-category-row {
  gap: 9px;
  margin-top: 30px;
}

.project-socials {
  gap: 5px;
}

.project-title h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.035em;
}

.hero .eyebrow,
.dark-chapter .footer-row p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.project-index a {
  grid-template-columns: minmax(0, 1fr) 1.18fr;
}

/* Selected work reads as three quiet editorial columns. */
.selected .project-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.selected .project-index a {
  display: flex;
  min-width: 0;
  min-height: 236px;
  padding: 22px 22px 26px;
  border: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.selected .project-index a + a {
  border-left: 1px solid #d8d8d8;
}

.selected .project-index-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 44px;
}

.selected .project-index-meta > span {
  font-size: 13px;
  color: #777;
}

.project-index-title {
  display: block;
  min-width: 0;
  min-height: 36px;
  margin-top: 34px;
}

.selected .project-index-title strong {
  display: block;
  min-width: 0;
  font-weight: 600;
  line-height: 1.28;
  white-space: nowrap;
}

.selected .project-index-title strong span {
  display: block;
  color: #171717;
  font-size: 14px;
  white-space: nowrap;
}

.selected .project-index-meta img {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.selected .project-index-meta img.hom-index-logo {
  border-radius: 50%;
}

.selected .project-index em {
  margin-top: 18px;
  line-height: 1.5;
}

.selected .project-index em span {
  display: block;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

.case-study img.project-logo {
  display: block;
  width: 126px;
  max-width: 126px;
  height: 126px;
  object-fit: contain;
  transition: none;
}

.case-study img.project-logo:hover {
  transform: none;
}

.case-study img.project-logo.hom-project-logo {
  border-radius: 50%;
}

.case-lead {
  max-width: 590px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.008em;
}

.role,
.meta,
.case-label,
.project-index em,
.archive-sub,
.archive figcaption,
.exhibition-grid span,
.episodes p {
  color: #777;
  font-weight: 400;
}

@media (min-width: 801px) {
  .case-label {
    max-width: none;
    white-space: nowrap;
  }
}

.skill-grid p,
.reflection > p:not(.section-kicker),
.team-intro > p:not(.section-kicker),
.visual-identity > p:not(.section-kicker) {
  color: #555;
  font-weight: 400;
}

.episodes p strong {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* Keep every portfolio image uncropped and governed by one consistent rule. */
.case-study img:not(.title-with-logo img),
.archive img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.episode-link,
.episode-status {
  display: block;
  width: fit-content;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #555;
}

.episode-link {
  text-decoration: none;
  border-bottom: 1px solid #bdbdbd;
  transition: color 180ms ease, border-color 180ms ease;
}

.episode-link b {
  display: inline-block;
  margin-left: 3px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.episode-link:hover {
  color: #171717;
  border-color: #171717;
}

.episode-link:hover b {
  transform: translate(2px, -2px);
}

.episode-status {
  color: #8a8a8a;
}

.title-with-logo {
  flex-wrap: wrap;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  height: 22px;
  color: #666;
  font-size: 11px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.intro-link:hover {
  color: #171717;
  opacity: .72;
}

.case-study a img.social-icon,
.title-with-logo a img.social-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
  aspect-ratio: 1;
  object-fit: contain;
}

.social-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 0;
}

.social-text-link .link-label {
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 1px;
  transition: border-color 180ms ease;
}

.social-text-link:hover .link-label {
  border-color: #a8a8a8;
}

/* Separate the cover from the four-slide system so the design work reads at a glance. */
.social-work-showcase {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  margin-top: 38px;
}

.social-work-showcase section {
  min-width: 0;
}

.social-work-showcase h3 {
  margin: 0 0 14px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
}

.social-work-showcase img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #fff;
}

.carousel-design-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 20px;
  background: #f3f3f1;
}

.visual-identity .carousel-link {
  margin-top: 24px;
  font-size: 13px;
}

/* Reflection screenshots share one deliberate landscape frame. */
.case-study .meeting-grid img {
  aspect-ratio: 1.88 / 1;
  height: auto;
  object-fit: cover;
}

.case-study .crew-grid img {
  aspect-ratio: 1.88 / 1;
  height: auto;
  object-fit: cover;
}

/* Quiet, grouped reveals keep text-heavy sections from arriving as one block. */
.reveal {
  transform: translateY(18px);
  transition-duration: 680ms;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.project-carousel {
  width: 100%;
  touch-action: pan-y;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 340 / 500;
  overflow: hidden;
  background: #f4f4f4;
}

.exhibition-grid .carousel-viewport {
  background: #fff;
}

.exhibition-grid .carousel-viewport.is-landscape {
  background: #000;
}

.case-study .carousel-viewport .carousel-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-study .carousel-viewport .carousel-slide {
  display: none !important;
}

.case-study .carousel-viewport .carousel-slide.is-active {
  display: block !important;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 9px;
  color: #777;
  font-size: 12px;
}

.carousel-controls button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  color: #171717;
}

.carousel-controls button:hover:first-child {
  transform: translateX(-2px);
}

.carousel-controls button:hover:last-child {
  transform: translateX(2px);
}

.carousel-controls b {
  font-weight: 400;
  color: #171717;
}

.story-carousel {
  width: min(100%, 430px);
  margin: 0 auto;
}

.story-carousel .carousel-viewport {
  aspect-ratio: 4 / 5;
  background: transparent;
}

.hom-process {
  margin-top: 70px;
}

.hom-process-label {
  margin: 0 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .085em;
}

.hom-process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #d8d8d8;
  list-style: none;
}

.hom-process li {
  position: relative;
  min-width: 0;
}

.hom-process li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 0;
  right: -16px;
  color: #a0a0a0;
  font-size: 13px;
}

.hom-process li > span,
.hom-process li > strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
}

.hom-process li > span {
  margin-bottom: 22px;
  color: #969696;
  font-size: 11px;
}

.hom-process li > strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
}

.hom-process li p {
  margin: 7px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.hom-selected {
  margin-top: 100px;
}

.hom-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: clamp(46px, 7vw, 96px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hom-gallery-column {
  display: flex;
  flex-direction: column;
}

.hom-gallery-column-left {
  gap: clamp(100px, 12vw, 170px);
}

.hom-gallery-column-right {
  gap: clamp(110px, 12vw, 160px);
  padding-top: clamp(120px, 14vw, 190px);
}

.hom-piece {
  margin: 0;
}

.hom-piece-large { width: 100%; }
.hom-piece-medium { width: 74%; }
.hom-gallery-column-right .hom-piece-medium { width: 100%; }
.hom-piece-lower-anchor { width: 88%; }
.hom-piece-small { width: 58%; }
.hom-gallery-column-right .hom-piece-small { width: 80%; }
.hom-piece-rachel { width: 92%; }
.hom-piece-wisdom {
  width: 100%;
  margin-top: -64px;
}
.hom-piece-align-right { align-self: flex-end; }

.hom-artwork {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.hom-artwork img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hom-gallery figcaption {
  padding-top: 8px;
  color: #353535;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .01em;
}

.hom-lightbox {
  width: min(94vw, 980px);
  max-width: none;
  height: min(94vh, 900px);
  max-height: none;
  padding: 52px 64px 36px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
}

.hom-lightbox::backdrop {
  background: rgba(17, 17, 17, .82);
}

.hom-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.hom-lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.hom-lightbox-inner > img {
  display: block;
  min-height: 0;
  width: auto;
  max-width: 100%;
  height: calc(100% - 42px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hom-lightbox-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 16px;
  font-size: 13px;
}

.hom-lightbox-meta p {
  margin: 0;
}

.hom-lightbox-meta a {
  color: #555;
  text-decoration: none;
}

/* Let the opening photograph follow the introduction without a blank stage. */
.hero {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 620px;
  padding-bottom: 68px;
  background: #fff;
}

.hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 244px;
  align-items: center;
  column-gap: 56px;
  height: 100%;
}

.hero-copy {
  width: auto;
}

.hero .eyebrow {
  margin-bottom: 24px;
}

.hero-name {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hero .intro {
  width: auto;
  margin-top: 38px;
  font-size: 15px;
  color: #5f5f5f;
}

.hero-portrait {
  position: static;
  width: 244px;
  height: 384px;
}

/* Guest listening links stay compact and read as one quiet action. */
.episodes p > span {
  display: block;
  margin-bottom: 35px;
  font-size: 12px;
}

.episodes .social-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 20px;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.35;
}

.episodes .social-text-link .link-label {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  color: #777;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(6px); opacity: .9; }
}

.hero-wide {
  width: 100%;
  height: auto;
  aspect-ratio: 1899 / 1134;
  object-fit: cover;
}

/* Hero-to-work editorial transition */
.editorial-bridge {
  width: 100%;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
  align-items: center;
  background: #fff;
  overflow: hidden;
}

.editorial-bridge-media {
  width: 100%;
  min-width: 0;
}

.editorial-bridge-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.editorial-bridge-copy {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: clamp(24px, 2.6vw, 34px);
}

.editorial-bridge-copy h2 {
  margin: 0;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 3.5vw, 45px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.editorial-bridge-copy h2 span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .editorial-bridge {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .editorial-bridge-copy {
    min-height: 38svh;
    padding: 48px 24px 62px;
  }

  .editorial-bridge-copy h2 {
    font-size: clamp(40px, 11.8vw, 55px);
    line-height: 1;
  }
}

.archive figcaption,
.archive-grid figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

@media (max-width: 800px) {
  .scroll-cue {
    font-size: 52px;
  }

  .hero h1 {
    font-size: clamp(20px, 5.4vw, 23px);
    line-height: 1.3;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .case-lead {
    font-size: 16px;
  }

  .case-heading h2,
  .archive h2,
  .footer-row h2 {
    font-size: 22px;
  }

  .project-title {
    gap: 10px;
  }

  .project-number {
    font-size: 30px;
  }

  .project-title h2 {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: 0.025em;
  }

  .case-study .case-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-category-row {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .case-study img.project-logo {
    width: 84px;
    max-width: 84px;
    height: 84px;
  }

  .hero {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    padding-bottom: 64px;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
  }

  .hero-portrait {
    position: relative;
    width: min(68%, 280px);
    height: auto;
    margin-top: 42px;
  }

  .episodes p > span {
    margin-bottom: 12px;
  }

  .social-work-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cover-showcase img {
    width: min(58%, 230px);
  }

  .carousel-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .hom-selected {
    margin-top: 68px;
  }

  .hom-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }

  .hom-process li:nth-child(2)::after {
    display: none;
  }

  .hom-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hom-gallery-column {
    display: contents;
  }

  .hom-piece,
  .hom-gallery-column-right .hom-piece-medium,
  .hom-gallery-column-right .hom-piece-small,
  .hom-piece-rachel,
  .hom-piece-wisdom {
    order: var(--episode-order);
    width: 100%;
    margin: 0 0 54px;
    align-self: auto;
  }

  .hom-lightbox {
    width: 100vw;
    height: 100dvh;
    padding: 52px 20px 24px;
  }

  .hom-lightbox-meta {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span {
    animation: none;
  }
}

/* Archive and contact form a continuous, cinematic final chapter. */
.dark-chapter {
  width: 100%;
  background: #111111;
  color: #f5f5f2;
}

.dark-chapter .archive {
  padding-top: 86px;
  padding-bottom: 96px;
}

.dark-chapter .archive h2,
.dark-chapter .section-kicker,
.dark-chapter .footer-row h2,
.dark-chapter .contact-links a {
  color: #f5f5f2;
}

.dark-chapter .archive-sub,
.dark-chapter .archive figcaption,
.dark-chapter .archive-grid figcaption,
.dark-chapter footer p {
  color: #a8a8a3;
}

.dark-chapter .rule {
  background: #3a3a3a;
}

.dark-chapter .archive-columns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 58px;
}

.dark-chapter .archive-column {
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.dark-chapter .archive-column figure {
  width: 100%;
  margin: 0;
}

/* Archive items reveal independently without changing the masonry layout. */
.archive-column figure.archive-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 620ms cubic-bezier(.22, .61, .36, 1),
    transform 620ms cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--archive-reveal-delay, 0ms);
}

.archive-column figure.archive-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dark-chapter .archive figcaption {
  padding-top: 14px;
}

.dark-chapter .archive img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dark-chapter footer {
  width: 800px;
  height: auto;
  min-height: 360px;
  margin: 0 auto;
  background: #111111;
  color: #f5f5f2;
}

.dark-chapter .footer-overlay {
  min-height: 360px;
  padding: 64px 48px 72px;
  background: none;
  border-top: 1px solid #3a3a3a;
}

@media (max-width: 800px) {
  .dark-chapter footer {
    width: 100%;
  }

  .project-index a {
    grid-template-columns: 1fr;
  }

  .selected .project-index {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .selected .project-index a {
    min-height: 0;
    padding: 24px 0;
    border-top: 1px solid #d8d8d8;
    border-left: 0;
  }

  .selected .project-index a:last-child {
    border-bottom: 1px solid #d8d8d8;
  }

  .selected .project-index-meta img {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .selected .project-index-title {
    display: block;
    margin-top: 26px;
  }

  .project-index em {
    grid-column: auto;
  }

  .dark-chapter .archive-columns {
    display: flex;
    gap: 12px;
    margin-top: 46px;
  }

  .dark-chapter .archive-column {
    width: calc(50% - 6px);
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .archive-column figure.archive-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
