/* ==========================================================================
   PPDS Portfolio v3 — Figma implementation (PP 2026)
   ========================================================================== */

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeue-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f5;
  --text: #000000;
  --muted: #adadad;
  --tag-bg: #ededed;
  --tag-text: #7a7a7a;
  --btn-bg: #ededed;
  --radius-card: 8px;
  --radius-pill: 999px;

  --page-max: 1600px;
  --gutter: 24px;
  --col-gap: 12px;
  --row-gap: 24px;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  overscroll-behavior: none;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font) !important;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.03em;
}

/* Override v2 font-family declarations only */
*, *::before, *::after {
  font-family: var(--font) !important;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: 500; }

/* ==========================================================================
   GLOBAL TYPOGRAPHY SYSTEM
   All elements: font-weight 500, letter-spacing -0.03em, line-height 1.1
   ========================================================================== */
h1 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h4 {
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h5 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p, li, blockquote {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.nav-text {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ==========================================================================
   Page wrapper — max-width set via --page-max (change in :root to resize)
   ========================================================================== */
.page,
.page-wrap,
.page-content {
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow-x: hidden;
}

.page > main {
  flex: 1;
  align-content: start;
}

.page > .footer {
  margin-top: auto;
}

/* Also constrain v2 containers */
.container {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Fixed nav bars
   ========================================================================== */
.nav-top {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  pointer-events: none;
}
.nav-top > * { pointer-events: auto; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 24px;
}
.nav-logo img {
  height: 24px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile: hide desktop nav, show bottom nav */
.nav-bottom {
  position: fixed;
  bottom: 32px;
  left: 0;
  right: 0;
  display: none;
  justify-content: center;
  gap: 8px;
  z-index: 100;
  pointer-events: none;
}
.nav-bottom > * { pointer-events: auto; }

.nav-mobile-cta { display: none !important; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-mobile-cta { display: inline-flex !important; }
  .nav-bottom  { display: flex; }
  .nav-bottom .pill-blend--cta { display: none; }
  .footer__wordmark--desktop { display: none !important; }
  .footer__wordmark--mobile { display: block !important; }
}

/* ==========================================================================
   Pill blend — frosted backdrop + mix-blend label
   backdrop-filter sits on the pill itself, label inside uses mix-blend
   against the blurred page content showing through.
   ========================================================================== */
.pill-blend {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 32px;
  background-color: hsla(0, 0%, 96%, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.pill-blend:hover {
  background-color: hsla(0, 0%, 93%, 0.6);
}

.pill-blend--cta {
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  backdrop-filter: blur(8px) saturate(1.4);
}
.pill-blend--cta .pill-blend__label {
  color: #ffffff;
}
.pill-blend--cta:hover {
  background-color: rgba(0, 0, 0, 1);
}

.pill-blend__label {
  color: #000000;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 128px 13px 0;
}

.hero__card {
  position: relative;
  width: 100%;
  aspect-ratio: 1416 / 1008;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__tagline {
  position: absolute;
  left: 50%;
  bottom: clamp(80px, 9vw, 140px);
  transform: translateX(-50%);
  color: var(--bg);
  text-align: center;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* ==========================================================================
   Content grid — single 6-col grid, row-gap 24
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
  padding: 128px var(--gutter) 0;
  overflow: hidden;
}

.grid > * {
  min-width: 0;
}

.g-col-6    { grid-column: 1 / span 6; }
.g-col-1-4  { grid-column: 1 / span 4; }
.g-col-5-6  { grid-column: 5 / span 2; }
.g-col-2-5  { grid-column: 2 / span 4; }

/* ==========================================================================
   Statement blocks (Bio, Services)
   ========================================================================== */
.block--statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.statement {
  color: var(--text);
  width: 100%;
}

.block--expand,
.about-expand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0;
}

.statement--centered {
  text-align: center;
  width: auto;
}

/* Plus button — Figma: bg #ededed, p-12, rounded-32, icon 24x24 */
.plus-btn {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 32px;
  background: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1), background 0.3s ease;
}

.plus-btn:hover {
  background: #e2e2e2;
}
.plus-btn.is-open {
  transform: rotate(135deg);
}

/* Expandable note below statement */
.statement-note {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0, 0.36, 1), opacity 0.4s cubic-bezier(0.2, 0, 0.36, 1);
  width: 100%;
}
.statement-note > p {
  overflow: hidden;
}
.statement-note.is-visible {
  grid-template-rows: 1fr;
  opacity: 1;
}
.statement-note p {
  color: #aeaeae;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.statement-note--sm p {
  font-size: 20px;
  line-height: 1.4;
}

.plus-btn__icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.plus-btn__icon::before,
.plus-btn__icon::after {
  content: "";
  position: absolute;
  background: #000;
  left: 50%;
  top: 50%;
}

.plus-btn__icon::before {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.plus-btn__icon::after {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   Selected Work title row — Figma: flex gap-12, pb-64
   ========================================================================== */
.block--title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  flex: 1 0 0;
  color: var(--text);
}

/* "View all" pill — Figma: bg #ededed, px-16 py-10, rounded-40,
   text #f5f5f5 mix-blend-difference, 18px */
.pill-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--tag-bg);
  border-radius: 40px;
  white-space: nowrap;
}
.pill-view-all span {
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -0.03em;
  color: #f5f5f5;
  mix-blend-mode: difference;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  align-self: start;
}

.card__media {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
}

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

/* Row 3: BreakPoint 4-col square, Exponential 2-col (smaller, figma 570/456) */
.card__media--square      { aspect-ratio: 1 / 1; }
.card__media--sm-portrait { aspect-ratio: 456 / 570; }

/* Row 4: Phase 4-col wide (924 x 520 in Figma at 1440) */
.card__media--wide        { aspect-ratio: 924 / 520; }

/* Row 5: Exponential 4-col tall, BreakPoint 2-col square */
.card__media--tall        { aspect-ratio: 1080 / 1350; }
.card__media--sm-square   { aspect-ratio: 1 / 1; }

.card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.card__title {
  color: var(--text);
}

.card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Tag — Figma: bg #ededed, h-24, px-12 py-10, rounded-40, text #7a7a7a 14px/20 */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 40px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* ==========================================================================
   Contact block — row 7
   ========================================================================== */
.block--contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.contact__email {
}

.contact__title { color: var(--text); }
.contact__email {
  color: var(--muted);
  transition: color 0.2s ease;
}
.contact__email:hover { color: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Footer — exact Figma match (node 73:774)
   Container: flex col, gap 48, pb 24
   ========================================================================== */
.footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 24px;
}

/* Top row: flex, gap 20, px 24 */
.footer__top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 24px;
}

/* Left: flex 1 */
.footer__tagline { flex: 1 0 0; }


/* Right: flex 1, justify-between */
.footer__cols {
  flex: 1 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Location + socials column: w 244, gap 24 */
.footer__col {
  width: 244px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__col a:hover { color: var(--muted); }

/* ©2026: right-aligned */
.footer__year { text-align: right; white-space: nowrap; }

/* Wordmark row: flex, gap 12, px 24 — two separate P glyphs */
.footer__wordmark {
  display: flex;
  gap: 12px;
  padding: 0 24px;
}

/* Each P container: flex 1, holds a 173×226 SVG left-aligned */
.footer__wordmark-col {
  flex: 1 0 0;
  display: flex;
  align-items: center;
}

.footer__wordmark-col img {
  width: 173.483px;
  height: 225.814px;
  display: block;
}

/* Mobile: show combined PP mark, hide separate P's */
.footer__wordmark--mobile {
  display: none;
  padding: 0 24px;
}
.footer__wordmark--mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Work page — header + 3-col grid
   ========================================================================== */
/* Shared header grid: 6 cols, 12px gap — used by work + project headers */
.work-header,
.proj-header {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--col-gap);
  padding: 128px var(--gutter) 0;
  align-items: start;
}

.work-header__title,
.proj-header__title {
  grid-column: 1 / span 3;
}

.proj-header__meta-row {
  display: contents;
}

.proj-header__pill-col {
  display: flex;
  align-items: flex-start;
}
.proj-header__pill-col:nth-of-type(1) {
  grid-column: 4;
  justify-content: flex-end;
}
.proj-header__pill-col:nth-of-type(2) {
  grid-column: 5;
  justify-content: flex-start;
}

.work-header__services,
.proj-header__services {
  grid-column: 6;
  font-size: 18px;
  line-height: 20px;
  color: #aeaeae;
  letter-spacing: -0.03em;
}
.work-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.work-header__title {
  white-space: nowrap;
}
.work-header__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.work-header__filters .pill-blend .pill-blend__label {
  color: #aeaeae;
}
.work-header__filters .pill-blend--active .pill-blend__label {
  color: var(--fg);
}

/* Filtered-out cards */
.wt-card.is-hidden {
  display: none;
}

.work-grid {
  columns: 3;
  column-gap: var(--col-gap);
  padding: 0 var(--gutter) 64px;
}
.work-grid .card {
  break-inside: avoid;
  margin-bottom: var(--col-gap);
  display: inline-flex;
  width: 100%;
}

.card__media--work {
  aspect-ratio: 456 / 570;
  width: 100%;
}
.card__media--work-3x4 {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.card__media--work-1x1 {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
}

/* Homepage masonry grid (hp-) */
.hp-grid {
  columns: 3;
  column-gap: 12px;
  padding: 0 var(--gutter) 0;
}
.hp-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
.hp-card__media {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: block;
}
.hp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-card--1x1 .hp-card__media { aspect-ratio: 1 / 1; }
.hp-card--3x4 .hp-card__media { aspect-ratio: 3 / 4; }
.hp-card--4x5 .hp-card__media { aspect-ratio: 4 / 5; }
.hp-card--16x9 .hp-card__media { aspect-ratio: 16 / 9; }
.hp-card__text {
  padding: 10px 0 16px;
}
.hp-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.hp-card__name {
  color: var(--text);
}
.hp-card__cat {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 40px;
  background: var(--tag-bg);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.03em;
  color: var(--tag-text);
  white-space: nowrap;
}
.hp-card__desc {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-top: 4px;
}

/* Masonry work grid (wt-) */
.wt-grid {
  columns: 3;
  column-gap: 12px;
  padding: 0 var(--gutter) 64px;
}
.wt-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wt-card:hover {
  transform: translateY(-8px);
}
.wt-card__media {
  width: 100%;
  display: block;
}
.wt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-card--1x1 .wt-card__media { aspect-ratio: 1 / 1; }
.wt-card--3x2 .wt-card__media { aspect-ratio: 3 / 2; }
.wt-card--3x4 .wt-card__media { aspect-ratio: 3 / 4; }

/* Gradient scrim — appears on hover */
.wt-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.wt-card:hover::after {
  opacity: 1;
}

/* Info overlay — fades up on hover */
.wt-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wt-card:hover .wt-card__info {
  opacity: 1;
  transform: translateY(0);
}
.wt-card__title {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 500;
}
.wt-card__desc {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   Work page v2 — Quinn-style grid + headline filters
   ========================================================================== */

/* Filter headline */
.work-filter {
  padding: 0;
  align-self: start;
}
.work-filter__heading {
}
.work-filter__btn {
  font: inherit;
  letter-spacing: inherit;
  color: #d9d9d9;
  cursor: pointer;
  transition: color 0.2s ease;
}
.work-filter__btn:hover {
  color: #aeaeae;
}
.work-filter__btn--active,
.work-filter__btn--active:hover {
  color: #000000;
}

/* Work grid — 3-col left-to-right */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  align-items: start;
}
.wk-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.wk-card__media {
  width: 100%;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.wk-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info — below image */
.wk-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}
.wk-card__title {
  color: var(--text);
}
.wk-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wk-card__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 40px;
  background: var(--tag-bg);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.03em;
  color: var(--tag-text);
  white-space: nowrap;
}

/* Hidden by filter */
.wk-card.is-hidden {
  display: none;
}

/* ==========================================================================
   About page
   ========================================================================== */

.page--about .grid {
  row-gap: 96px;
}

/* Bio */
.about-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
}

/* Photo */
.about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.about-photo__media {
  width: 456px;
  max-width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.about-photo__media img {
  width: 100%;
  height: auto;
  display: block;
}
.about-photo__media--full {
  width: 100%;
}
.about-photo__caption {
  color: var(--text);
  text-align: center;
}

/* Tagline */
.about-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}
.about-tagline h4 {
}

/* Framework image */
.about-framework {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0;
}
.about-framework__img {
  width: 400px;
  max-width: 100%;
  height: auto;
}
.about-framework__caption {
  color: var(--text);
  text-align: center;
  max-width: 500px;
}

/* Approach */
.about-approach {
  padding: 0;
}
.about-approach__label {
  margin-bottom: 8px;
}
.about-approach__text {
  text-indent: 0;
}

/* Services / Currently / Clients directory */
.about-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  padding: 0;
}
.about-directory__col {
  display: flex;
  flex-direction: column;
}
.about-directory__label {
  font-size: 20px;
  color: #d9d9d9;
  margin-bottom: 8px;
}
.about-directory__items {
  color: var(--text);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.about-directory__items a {
  color: #aeaeae;
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-directory__items a:hover {
  color: #000000;
}

/* Capabilities */
.about-capabilities {
  padding: 0;
}
.about-capabilities__header {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-bottom: 128px;
}
.about-capabilities__label {
  grid-column: 1 / span 3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.about-capabilities__intro {
  grid-column: 4 / span 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-capabilities__intro h2 {
}

.about-capability {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--col-gap);
  padding: 40px 0;
  border-top: 1px solid #d9d9d9;
}
.about-capability:last-child {
  border-bottom: 1px solid #d9d9d9;
}
.about-capability__name {
  grid-column: 1 / span 3;
  font-style: italic;
}
.about-capability__services {
  grid-column: 4 / span 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* About contact */
.about-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

/* About photo wide */
.about-photo--wide {
  padding: 0;
}

/* ==========================================================================
   Project page — header, hero, grid, info, nav
   ========================================================================== */
/* proj-header grid styles defined above with work-header */

/* Project hero */
.proj-hero {
  padding: 0 var(--gutter);
}

.proj-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Mute/unmute button */
.mute-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.mute-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.mute-btn__icon {
  width: 20px;
  height: 20px;
  color: #fff;
}
.mute-btn__icon--on { display: none; }
.mute-btn.is-unmuted .mute-btn__icon--off { display: none; }
.mute-btn.is-unmuted .mute-btn__icon--on { display: block; }
.proj-hero__media img,
.proj-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project content grid — same 6-col as home but 12px row-gap */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--col-gap);
  padding: 0 var(--gutter);
}

.g-col-1-2 { grid-column: 1 / span 2; }
.g-col-1-3 { grid-column: 1 / span 3; }
.g-col-3-4 { grid-column: 3 / span 2; }
.g-col-3-6 { grid-column: 3 / span 4; }
.g-col-4-6 { grid-column: 4 / span 3; }

/* Project images */
.proj-img { align-self: start; }
.proj-img__media {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.proj-img__media img,
.proj-img__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-img--captioned {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proj-img__caption {
}

/* Statement rows inside project grid */
.proj-grid__statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 64px 0;
}

/* H3 divider rows */
.proj-grid__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 128px 0;
  text-align: center;
}

/* Project info section */
.proj-info {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  padding: 0 var(--gutter);
}

.proj-info__text {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.proj-info__desc {
  text-indent: 0;
}

.proj-info__body {
  color: #aeaeae;
}

.proj-info__credits {
  grid-column: 6;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.proj-info__credit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proj-info__label {
  color: #aeaeae;
}

/* Pill variant for credit labels */
.proj-info--pills .proj-info__label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 40px;
  background: var(--tag-bg);
  font-size: 14px;
  line-height: 28px;
  letter-spacing: -0.03em;
  color: var(--tag-text);
  width: fit-content;
}

.proj-info__name {
  font-size: 20px;
  color: var(--text);
}

/* Prev / Next nav */
.proj-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0;
}

.proj-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 40px;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.proj-nav__btn--prev {
  background: #ededed;
  color: #000000;
}
.proj-nav__btn--prev:hover {
  background: #e2e2e2;
}

.proj-nav__btn--next {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.proj-nav__btn--next:hover {
  background: rgba(0, 0, 0, 1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__tagline { font-size: 28px; }
}

@media (max-width: 860px) {
  /* Mobile top padding — all pages */
  .grid,
  .proj-header { padding-top: 96px; }

  .grid { row-gap: 24px; }
  .page { gap: 24px; }

  /* Collapse grid to 1 col */
  .grid { grid-template-columns: 1fr; }
  .g-col-6, .g-col-1-4, .g-col-5-6, .g-col-2-5 { grid-column: 1 / -1; }
  .card__media--wide { aspect-ratio: 4 / 3; }
  .card__media--tall { aspect-ratio: 3 / 4; }
  .card__media--sm-portrait { aspect-ratio: auto; }
  .card__media--sm-square { aspect-ratio: 1 / 1; }

  /* Work page */
  .work-header { flex-direction: column; padding-top: 80px; position: static; align-items: flex-start; }
  .work-header__filters { margin-left: 0; }
  .work-grid { columns: 1; }
  .hp-grid { columns: 1; }
  .wt-grid { columns: 1; }
  .wt-card::after { opacity: 1; }
  .wt-card__info { opacity: 1; transform: translateY(0); }
  .wt-card:hover { transform: none; }
  /* work-filter__heading inherits from h1 global mobile size at 600px */
  .wk-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Project page */
  .proj-header {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    gap: 16px;
  }
  .proj-header__title {
    grid-column: unset;
  }
  .proj-header__meta-row {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px;
    width: 100%;
  }
  .proj-header__services {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .proj-header__pill-col:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .proj-header__pill-col:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .proj-grid { grid-template-columns: 1fr; }
  .g-col-6, .g-col-1-2, .g-col-1-3, .g-col-1-4, .g-col-3-4, .g-col-3-6, .g-col-4-6, .g-col-5-6 { grid-column: 1 / -1; }
  .proj-grid__statement { padding: 48px 0; gap: 32px; }
  .proj-grid__divider { padding: 48px 0; }
  /* proj-grid__divider uses h4 — 80px desktop, 48px mobile */
  .proj-hero__media { aspect-ratio: 4/3; }
  .proj-info { grid-template-columns: 1fr; }
  .proj-info__text { grid-column: 1; }
  .proj-info__credits { grid-column: 1; gap: 20px; }
  .proj-info__desc { text-indent: 0; }

  /* About page */
  .about-approach__text { text-indent: 0; }
  .about-directory { grid-template-columns: 1fr; gap: 32px; }
  .about-directory__items { font-size: 24px; }
  .about-capabilities__header { grid-template-columns: 1fr; margin-bottom: 32px; }
  .about-capabilities__label { grid-column: 1; }
  .about-capabilities__intro { grid-column: 1; }
  .about-capability { grid-template-columns: 1fr; padding: 24px 0; }
  .about-capability__name { grid-column: 1; }
  .about-capability__services { grid-column: 1; }

  .footer__top { flex-direction: column; }
  .footer__cols { width: 100%; }
  .footer__col { width: auto; flex: 1; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }

  /* ---- GLOBAL MOBILE TYPOGRAPHY ---- */
  h1 { font-size: 32px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  h4 { font-size: 48px; }
  h5 { font-size: 24px; }
  p, li, blockquote { font-size: 20px; }
  .about-directory__items { font-size: 24px; }
  .label { font-size: 16px; }
  .nav-text { font-size: 18px; }

  .hero { padding: 8px 8px 0; }
  .hero__tagline { font-size: 18px; bottom: 64px; }

  /* Nav — all pills same size */
  .nav-top { top: 16px; padding: 0 16px; }
  .nav-bottom { bottom: 20px; }
  .nav-bottom .pill-blend { padding: 14px 24px; }
  .nav-mobile-cta { padding: 14px 24px !important; }
  .pill-blend { padding: 10px 16px; }
  .pill-blend__label { font-size: 18px; }
  .nav-bottom .pill-blend__label,
  .nav-mobile-cta .pill-blend__label { font-size: 18px; }
  .nav-logo, .nav-logo img { height: 20px; }

  .statement--indent { text-indent: 0; }
  .about-approach__text { text-indent: 0; }
  .proj-info__desc { text-indent: 0; }

  /* Labels / tags — height adjustment */
  .tag { height: 28px; padding: 0 12px; }

  .block--title-row { gap: 12px; }

  /* Footer — same gutters as page */
  .footer { padding: 32px 0 100px; gap: 32px; }
  .footer__top { padding: 0 var(--gutter); }
}
