/* ============================================================================
   project.css v2 — Premium project detail page
   ============================================================================ */

.pd-page {
  background: var(--bg-deep);
  cursor: none;
}
.pd-page #topbar { position: fixed; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="left"].is-revealed,
[data-reveal="right"].is-revealed { transform: none; }

/* ============================================================================
   HERO
   ============================================================================ */
.pd-hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.pd-hero__bg {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  will-change: transform;
  transition: transform .1s linear;
  transform: scale(1.1);
}

/* Multi-layer vignette for depth */
.pd-hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.1) 68%, transparent 100%),
    linear-gradient(to right, rgba(0,0,0,.5)  0%, rgba(0,0,0,.15) 50%, transparent 80%),
    radial-gradient(120% 80% at 30% 100%, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
}

/* Project number indicator top-right */
.pd-hero__index {
  position: absolute; top: 6rem; right: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 0.8rem;
  opacity: 0.45;
}
.pd-hero__index-num {
  font-size: 3.5rem; font-weight: 800; letter-spacing: -0.06em;
  color: var(--accent); line-height: 1;
}
.pd-hero__index-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.pd-hero__index-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  writing-mode: vertical-lr; transform: rotate(180deg);
}

.pd-hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) 5.5rem;
  width: 100%; max-width: 900px;
}

/* Breadcrumb */
.pd-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.8rem; list-style: none;
}
.pd-breadcrumb a { color: inherit; text-decoration: none; transition: color .3s; }
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb svg { opacity: .4; flex: none; }
.pd-breadcrumb span { color: rgba(255,255,255,.7); }

/* Type badge */
.pd-type-badge {
  display: inline-flex; align-items: center;
  font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
  padding: .3em .9em;
  background: rgba(255,184,0,.10); border: 1px solid rgba(255,184,0,.25);
  border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.1rem;
}

/* Title */
.pd-title {
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .95;
  color: #fff; margin-bottom: 1.1rem;
}

.pd-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 300;
  color: rgba(255,255,255,.55); margin-bottom: 2rem; max-width: 500px;
}

/* Meta row */
.pd-hero__meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.pd-meta-item { display: flex; align-items: center; gap: .45rem; }
.pd-meta-item svg { color: var(--accent); flex: none; }
.pd-meta-sep { opacity: .25; }

/* Architect row */
.pd-architect {
  margin-top: 1.2rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.28);
}
.pd-architect span { color: rgba(255,255,255,.45); }

/* Scroll cue */
.pd-scroll-cue {
  position: absolute; bottom: 2.8rem; right: var(--gutter); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.pd-scroll-cue__label {
  font-size: .58rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  writing-mode: vertical-lr; transform: rotate(180deg);
}
.pd-scroll-cue__line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: pd-line-pulse 2.2s ease-in-out infinite;
}
@keyframes pd-line-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* Awards ribbon on hero */
.pd-hero__awards {
  position: absolute; bottom: 5.5rem; right: var(--gutter); z-index: 2;
  display: flex; flex-direction: column; gap: .4rem; align-items: flex-end;
}
.pd-hero__award-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .6rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  padding: .3em .85em;
  background: rgba(255,184,0,.08);
  border: 1px solid rgba(255,184,0,.22);
  border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ============================================================================
   SPECS BAR
   ============================================================================ */
.pd-specs {
  background: rgba(18,19,24,0.98);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.pd-specs__inner {
  max-width: 1380px; margin: 0 auto;
  padding: 2.2rem var(--gutter);
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}

.pd-spec-item {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 0 2.6rem; flex: 1; min-width: 110px;
}
.pd-spec-item:first-child { padding-left: 0; }

.pd-spec-div {
  width: 1px; background: rgba(255,255,255,.06);
  align-self: stretch; flex: none;
}

.pd-spec-label {
  font-size: .60rem; font-weight: 600; letter-spacing: .20em;
  text-transform: uppercase; color: var(--muted);
}
.pd-spec-value {
  font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--white);
}

/* ============================================================================
   FEATURES — Mimari Özellikler
   ============================================================================ */
.pd-features {
  padding: 7rem var(--gutter);
  background: rgba(10,10,14,0.95);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.pd-features__inner {
  max-width: 1380px; margin: 0 auto;
}

.pd-features__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.pd-features__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  color: var(--white);
}

.pd-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pd-feat-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  padding: 2.8rem 2.4rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease),
              box-shadow .45s var(--ease), transform .45s var(--ease);
  will-change: transform;
}
.pd-feat-card:hover {
  border-color: rgba(255,184,0,.25);
  background: rgba(255,184,0,.025);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px -18px rgba(0,0,0,.7),
              0 0 0 1px rgba(255,184,0,.10);
}

/* Cursor spotlight */
.pd-feat-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,0%),
    rgba(255,184,0,.12), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.pd-feat-card:hover::before { opacity: 1; }

.pd-feat-num {
  font-size: 3.2rem; font-weight: 800; letter-spacing: -.05em;
  color: rgba(255,184,0,.16); line-height: 1;
  margin-bottom: 1.8rem;
  transition: color .4s var(--ease);
}
.pd-feat-card:hover .pd-feat-num { color: rgba(255,184,0,.45); }

.pd-feat-icon {
  width: 44px; height: 44px;
  color: var(--silver);
  margin-bottom: 1.4rem;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.pd-feat-card:hover .pd-feat-icon { color: var(--accent); transform: scale(1.08); }

.pd-feat-title {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em;
  color: var(--white); margin-bottom: .8rem; line-height: 1.2;
}

.pd-feat-desc {
  font-size: .84rem; font-weight: 300; line-height: 1.75;
  color: var(--muted); flex: 1;
}

/* ============================================================================
   DESCRIPTION
   ============================================================================ */
.pd-desc {
  padding: 8rem var(--gutter);
  background: var(--bg-deep);
}

.pd-desc__inner {
  max-width: 1380px; margin: 0 auto;
  display: grid; grid-template-columns: 180px 1fr; gap: 5rem;
  align-items: start;
}

.pd-desc__label .section-eyebrow {
  writing-mode: vertical-lr; transform: rotate(180deg);
  letter-spacing: .22em;
}

.pd-desc__body {
  display: flex; flex-direction: column; gap: 2.2rem;
}

.pd-desc__text p {
  font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 300;
  line-height: 1.92; color: var(--muted); max-width: 700px;
}

/* Pull quote */
.pd-pull-quote {
  margin: 0; padding: 1.6rem 2rem;
  border-left: 2px solid var(--accent);
  background: rgba(255,184,0,.04);
  border-radius: 0 10px 10px 0;
  max-width: 600px;
}
.pd-pull-quote p {
  font-size: 1.05rem !important; font-weight: 400 !important;
  line-height: 1.72 !important; color: var(--silver) !important;
  font-style: italic; max-width: 100% !important;
}

/* Architect credit */
.pd-desc__architect {
  display: flex; align-items: center; gap: .9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.pd-desc__architect-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,184,0,.09);
  border: 1px solid rgba(255,184,0,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex: none;
}
.pd-desc__architect-label {
  font-size: .6rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); display: block;
}
.pd-desc__architect-name {
  font-size: .88rem; font-weight: 500; color: var(--silver); display: block;
  margin-top: .18rem;
}

/* ============================================================================
   NUMBERS — Sayılarla Proje
   ============================================================================ */
.pd-numbers {
  background: rgba(6,6,9,0.98);
  border-top: 1px solid rgba(255,255,255,.06);
}

.pd-numbers__inner {
  max-width: 1380px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pd-num-item {
  padding: 3.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  transition: background .4s var(--ease);
}
.pd-num-item:last-child { border-right: 0; }
.pd-num-item:hover { background: rgba(255,184,0,.022); }

.pd-num-val {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: var(--white); font-variant-numeric: tabular-nums;
}
.pd-num-val .pd-num-suffix {
  font-size: .5em; color: var(--accent); margin-left: .08em;
}

.pd-num-label {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin-top: .7rem;
}

/* ============================================================================
   GALLERY
   ============================================================================ */
.pd-gallery {
  padding: 0 0 6rem;
  background: var(--bg-deep);
}

.pd-gallery__head {
  padding: 6rem var(--gutter) 2.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
}

.pd-gallery__count {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint);
}

.pd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 100%;
}

.pd-gallery__item {
  overflow: hidden; position: relative; cursor: zoom-in;
}
.pd-gallery__item--large  { grid-column: span 2; aspect-ratio: 16/9; }
.pd-gallery__item--small  { aspect-ratio: 4/3; }
.pd-gallery__item--tall   { grid-row: span 2; aspect-ratio: 3/4; }
.pd-gallery__item--square { aspect-ratio: 1; }

.pd-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .75s var(--ease);
}
.pd-gallery__item:hover img { transform: scale(1.05); }

/* Zoom overlay */
.pd-gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,184,0,.0);
  transition: background .3s var(--ease);
}
.pd-gallery__item:hover::after { background: rgba(255,184,0,.04); }

.pd-gallery__zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.7);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 2;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.pd-gallery__item:hover .pd-gallery__zoom {
  opacity: 1; transform: translate(-50%,-50%) scale(1);
}

/* ============================================================================
   RELATED PROJECTS
   ============================================================================ */
.pd-related {
  padding: 7rem 0;
  background: rgba(14,15,20,0.96);
  border-top: 1px solid rgba(255,255,255,.06);
}

.pd-related__inner {
  max-width: 1380px; margin: 0 auto;
  padding: 0 var(--gutter);
}

.pd-related__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap;
}

.pd-related__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  color: var(--white); margin-top: .6rem;
}

.pd-related__all {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(255,184,0,.3);
  padding-bottom: .2rem;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.pd-related__all:hover { gap: .8rem; border-color: var(--accent); }

.pd-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}

.pd-related-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; display: block; text-decoration: none;
  background: var(--bg-deep);
  transition: box-shadow .5s var(--ease);
}
.pd-related-card:hover {
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8),
              0 0 24px -10px rgba(255,184,0,.2);
}

.pd-related-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .75s var(--ease);
}
.pd-related-card:hover img { transform: scale(1.06); }

.pd-related-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
  z-index: 1;
}

.pd-related-card__body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: .4rem;
}

.pd-related-card__type {
  font-size: .58rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.pd-related-card__title {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em;
  color: #fff; line-height: 1.2;
}
.pd-related-card__loc {
  font-size: .72rem; color: rgba(255,255,255,.4);
}

.pd-related-card__arrow {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  opacity: 0; transform: scale(.7);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.pd-related-card:hover .pd-related-card__arrow {
  opacity: 1; transform: scale(1);
  background: var(--accent); border-color: var(--accent); color: #14130c;
}

/* ============================================================================
   CTA BAND — with hero bg image
   ============================================================================ */
.pd-cta-band {
  position: relative;
  padding: 9rem var(--gutter);
  overflow: hidden;
  text-align: center;
}

.pd-cta-band__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.28) saturate(.7);
  transform: scale(1.04);
}

.pd-cta-band__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 100% at 50% 100%, rgba(255,184,0,.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-black) 0%, transparent 25%, transparent 75%, var(--bg-black) 100%);
}

.pd-cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
}

.pd-cta-band__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent);
}

.pd-cta-band__title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  color: var(--white);
}

.pd-cta-band__sub {
  font-size: 1rem; font-weight: 300;
  color: var(--muted); max-width: 420px;
  margin-top: -.8rem;
}

.pd-cta-band__actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ============================================================================
   LIGHTBOX
   ============================================================================ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 48px 96px rgba(0,0,0,.8);
  transform: scale(.9); opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  cursor: default;
}
.lightbox.is-open .lightbox__img { transform: scale(1); opacity: 1; }

.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 1.6rem; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: rgba(255,255,255,.16); transform: scale(1.08) rotate(90deg); }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  transition: background .25s, transform .25s;
  opacity: 0;
}
.lightbox.is-open .lightbox__nav { opacity: 1; transition: background .25s, transform .25s, opacity .4s .1s; }
.lightbox__nav:hover { background: rgba(255,255,255,.14); transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }

.lightbox__counter {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  color: rgba(255,255,255,.38); z-index: 2;
  background: rgba(0,0,0,.4); padding: .3em 1em; border-radius: 999px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .pd-features__grid { grid-template-columns: repeat(2, 1fr); }
  .pd-feat-card:nth-child(3) { grid-column: span 2; flex-direction: row; gap: 2rem; align-items: flex-start; }
  .pd-feat-card:nth-child(3) .pd-feat-num { margin-bottom: 0; }
}

@media (max-width: 900px) {
  .pd-desc__inner { grid-template-columns: 1fr; gap: 2rem; }
  .pd-desc__label .section-eyebrow { writing-mode: horizontal-tb; transform: none; }
  .pd-gallery__grid { grid-template-columns: 1fr 1fr; }
  .pd-gallery__item--large { grid-column: span 2; }
  .pd-gallery__item--tall  { grid-row: auto; aspect-ratio: 4/3; }
  .pd-related__grid { grid-template-columns: 1fr 1fr; }
  .pd-numbers__inner { grid-template-columns: repeat(2, 1fr); }
  .pd-num-item:nth-child(2) { border-right: 0; }
  .pd-num-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); }
  .pd-hero__index { display: none; }
}

@media (max-width: 680px) {
  .pd-hero__content { padding: 0 5vw 5rem; }
  .pd-hero__awards { display: none; }
  .pd-scroll-cue { display: none; }

  .pd-specs__inner { flex-wrap: wrap; gap: 1.2rem; padding: 1.6rem 5vw; }
  .pd-spec-div { display: none; }
  .pd-spec-item { padding: 0; min-width: calc(50% - .6rem); }

  .pd-features { padding: 4rem 5vw; }
  .pd-features__grid { grid-template-columns: 1fr; gap: 2px; }
  .pd-feat-card:nth-child(3) { grid-column: auto; flex-direction: column; }
  .pd-feat-card { padding: 2rem 1.6rem; }

  .pd-desc { padding: 4.5rem 5vw; }
  .pd-desc__inner { gap: 1.5rem; }

  .pd-numbers__inner { grid-template-columns: 1fr 1fr; }
  .pd-num-item { padding: 2rem 1.5rem; }
  .pd-num-val { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  .pd-gallery__head { padding: 4rem 5vw 2rem; }
  .pd-gallery__grid { grid-template-columns: 1fr; gap: 3px; }
  .pd-gallery__item--large { grid-column: span 1; aspect-ratio: 4/3; }

  .pd-related__grid { grid-template-columns: 1fr; }
  .pd-related { padding: 5rem 0; }

  .pd-cta-band { padding: 6rem 5vw; }
  .pd-cta-band__actions { flex-direction: column; align-items: center; }
  .pd-cta-band__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .pd-title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
}

/* ============================================================================
   PROJECT PAGE — topbar always solid (body.is-content already handles this
   but we reinforce it here for the detail page where there's no 3D layer)
   ============================================================================ */
.pd-page #topbar,
.pd-page #topbar.is-scrolled {
  background: rgba(5,5,8,1) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.55) !important;
}

/* ── Extra mobile fixes ── */
@media (max-width: 768px) {
  /* Nav: hide links, show hamburger */
  .pd-page .nav__link { display: none; }
  .pd-page .nav__hamburger { display: flex; }

  /* Features: single column */
  .pd-features__grid { grid-template-columns: 1fr; }
  .pd-feat-card:nth-child(3) { grid-column: auto; flex-direction: column; }

  /* Numbers: 2x2 */
  .pd-numbers__inner { grid-template-columns: repeat(2, 1fr); }
  .pd-num-item:nth-child(2) { border-right: 0; }
  .pd-num-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); }

  /* Related: 2 col then single */
  .pd-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  /* Hero */
  .pd-hero__content { padding: 0 5vw 4.5rem; }
  .pd-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .pd-subtitle { font-size: 0.95rem; }
  .pd-hero__index { display: none; }
  .pd-hero__awards { display: none; }
  .pd-scroll-cue { display: none; }

  /* Specs */
  .pd-specs__inner { flex-wrap: wrap; gap: 1rem; padding: 1.5rem 5vw; }
  .pd-spec-div { display: none; }
  .pd-spec-item { padding: 0; min-width: calc(50% - .5rem); flex: none; }

  /* Features */
  .pd-features { padding: 3.5rem 5vw; }
  .pd-features__head { margin-bottom: 2rem; }
  .pd-feat-card { padding: 1.8rem 1.5rem; }
  .pd-feat-num { font-size: 2.5rem; margin-bottom: 1.2rem; }

  /* Desc */
  .pd-desc { padding: 4rem 5vw; }
  .pd-desc__inner { gap: 1.2rem; }
  .pd-desc__text p { font-size: 0.95rem; }
  .pd-pull-quote { padding: 1.2rem 1.4rem; }
  .pd-pull-quote p { font-size: 0.95rem !important; }

  /* Numbers */
  .pd-num-item { padding: 1.8rem 1.2rem; }
  .pd-num-val { font-size: clamp(2rem, 9vw, 3rem); }

  /* Gallery */
  .pd-gallery__head { padding: 3.5rem 5vw 2rem; }
  .pd-gallery__grid { grid-template-columns: 1fr; gap: 3px; }
  .pd-gallery__item--large,
  .pd-gallery__item--tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }

  /* Related */
  .pd-related { padding: 4.5rem 0; }
  .pd-related__grid { grid-template-columns: 1fr; }
  .pd-related__head { margin-bottom: 2.5rem; }

  /* CTA */
  .pd-cta-band { padding: 5.5rem 5vw; }
  .pd-cta-band__title { font-size: clamp(1.9rem, 8vw, 3rem); }
  .pd-cta-band__actions { flex-direction: column; align-items: stretch; }
  .pd-cta-band__actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  .pd-scroll-cue__line { animation: none; }
}
