/* ═══════════════════════════════════════════════
   PROJECT DETAIL — project-detail.css
═══════════════════════════════════════════════ */

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--g);
  z-index: 999;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(61,255,143,.4);
}

/* ─── 404 ─── */
.pd-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 2rem;
  text-align: center;
}

.pd-404-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.pd-404 .stag {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g);
}

.pd-404 h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--t);
}

.pd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  color: var(--g);
  text-decoration: none;
  border: 1px solid var(--b2);
  padding: .7rem 1.5rem;
  border-radius: var(--r-pill);
  transition: background .25s, border-color .25s;
}

.pd-back-btn:hover {
  background: var(--gd);
  border-color: var(--ga-35);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.pd-hero {
  position: relative;
  height: 100svh;
  max-height: 860px;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* background image */
.pd-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
  will-change: transform;
}

.pd-hero:hover .pd-hero-bg {
  transform: scale(1);
}

/* overlay — stronger for readability */
.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(7,9,10,.98) 0%, rgba(7,9,10,.75) 40%, rgba(7,9,10,.3) 70%, rgba(7,9,10,.15) 100%),
    linear-gradient(to right, rgba(7,9,10,.85) 0%, rgba(7,9,10,.4) 50%, transparent 80%);
  z-index: 1;
}

/* content sits above overlay */
.pd-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: 7rem;
}

/* breadcrumb */
.pd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .25s;
}

.pd-breadcrumb:hover { color: var(--g); }

/* meta row */
.pd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
}

.pd-badge-type {
  font-size: .58rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--g);
  background: var(--ga-08);
  border: 1px solid var(--ga-20);
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
}

.pd-badge-context {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--m);
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(157,191,157,.12);
}

/* title */
.pd-hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -.04em;
  line-height: 1.03;
  color: #ffffff;
  max-width: 760px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}

/* brief */
.pd-hero-brief {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  font-weight: 300;
  color: rgba(220,232,220,.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* action buttons */
.pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.pd-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 2rem;
  border-radius: var(--r-pill);
  transition: transform .2s, box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}

.pd-hero-btn.primary {
  background: var(--g);
  color: #040705;
  border: 1px solid var(--g);
}

.pd-hero-btn.primary:hover {
  box-shadow: 0 8px 32px rgba(61,255,143,.35);
  transform: translateY(-1px);
}

.pd-hero-btn.ghost {
  background: rgba(255,255,255,.06);
  color: rgba(220,232,220,.8);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.pd-hero-btn.ghost:hover {
  border-color: rgba(255,255,255,.25);
  color: #ffffff;
  background: rgba(255,255,255,.1);
}

/* ══════════════════════════════════════════════
   CONTENT SECTION (left + sidebar)
══════════════════════════════════════════════ */
.pd-content-wrap {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Override .wrap if needed — ensure padding is applied */
.pd-content-wrap.wrap {
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.pd-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

/* ─── LEFT COLUMN ─── */
.pd-left { min-width: 0; }

/* section label */
.pd-section-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  opacity: .8;
}

/* deliverables list */
.pd-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pd-del-item {
  display: grid;
  /* text left (wide), number right (narrow) */
  grid-template-columns: 1fr 3rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: padding-left .2s;
  gap: 1rem;
}

.pd-del-item:hover {
  padding-left: .4rem;
}

.pd-del-text {
  font-size: .88rem;
  font-weight: 300;
  color: var(--t);
  line-height: 1.6;
  transition: color .2s;
}

.pd-del-item:hover .pd-del-text {
  color: #ffffff;
}

/* number — right side, top-aligned */
.pd-del-num {
  font-family: 'Syne', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(157,191,157,.2);
  text-align: right;
  padding-top: .15rem; /* optical align with first line of text */
  transition: color .2s;
}

.pd-del-item:hover .pd-del-num {
  color: var(--ga-50);
}

/* ── REVIEW / TESTIMONIAL ── */
.pd-review {
  position: relative;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--g);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--ga-04);
  margin-bottom: 2rem;
  overflow: hidden;
}

/* stars row */
.pd-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--g);
}

.pd-review-stars svg {
  flex-shrink: 0;
  opacity: .9;
}

/* quote text */
.pd-review-quote {
  font-size: clamp(.88rem, 1.3vw, 1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--t);
  line-height: 1.8;
  margin: 0 0 1.4rem;
  quotes: none;
}

/* footer: avatar + meta */
.pd-review-footer {
  display: flex;
  align-items: center;
  gap: .85rem;
}

/* avatar circle with initials */
.pd-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ga-12);
  border: 1px solid var(--ga-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--g);
  flex-shrink: 0;
}

/* meta column */
.pd-review-meta {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}

.pd-review-author {
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--t);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* tags row: location + platform */
.pd-review-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}

.pd-review-location {
  font-size: .58rem;
  color: rgba(157,191,157,.5);
  letter-spacing: .04em;
}

/* platform badge */
.pd-review-platform {
  font-size: .55rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.4);
}

/* platform-specific colours */
.pd-review-platform--fiverr {
  color: #1DBF73;
  border-color: rgba(29,191,115,.2);
  background: rgba(29,191,115,.05);
}

.pd-review-platform--upwork {
  color: #6FDA44;
  border-color: rgba(111,218,68,.2);
  background: rgba(111,218,68,.05);
}

.pd-review-platform--direct {
  color: rgba(157,191,157,.5);
  border-color: rgba(255,255,255,.07);
}

/* ─── SIDEBAR ─── */
.pd-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
}

/* live site banner */
.pd-live-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--ga-06);
  border: 1px solid var(--ga-15);
  border-radius: var(--r);
  text-decoration: none;
  transition: background .25s, border-color .25s;
}

.pd-live-banner:hover {
  background: var(--ga-10);
  border-color: var(--ga-25);
}

.pd-live-banner-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g);
}

.pd-live-banner-label::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--g);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--g);
  animation: pls 2s ease-in-out infinite;
  flex-shrink: 0;
}

.pd-live-banner-arrow {
  color: var(--m);
  display: flex;
  align-items: center;
  transition: color .2s, transform .2s;
}

.pd-live-banner:hover .pd-live-banner-arrow {
  color: var(--g);
  transform: translate(2px, -2px);
}

/* sidebar box */
.pd-sidebar-box {
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(11,14,12,.5);
}

.pd-sb-head {
  padding: .8rem 1.2rem;
  font-family: 'Syne', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  /* slightly muted — less aggressive green */
  color: var(--m);
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.pd-sb-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

/* CTA buttons */
.pd-sb-cta {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.pd-sb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .75rem 1.2rem;
  border-radius: var(--r-pill);
  transition: background .25s, border-color .25s, color .25s, transform .2s, box-shadow .25s;
  text-align: center;
}

.pd-sb-btn.primary {
  background: var(--g);
  color: #040705;
  border: 1px solid transparent;
}

.pd-sb-btn.primary:hover {
  box-shadow: 0 6px 24px rgba(61,255,143,.28);
  transform: translateY(-1px);
}

.pd-sb-btn.secondary {
  background: transparent;
  color: var(--m);
  border: 1px solid rgba(255,255,255,.07);
}

.pd-sb-btn.secondary:hover {
  color: var(--t);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}

/* info fields */
.pd-sb-field {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
}

.pd-sb-field:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pd-sb-field-label {
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(157,191,157,.35);
}

.pd-sb-field-val {
  font-size: .85rem;
  font-weight: 400;
  color: var(--t);
  line-height: 1.4;
}

.pd-sb-field-val.accent {
  color: var(--g);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
}

/* chip stack */
.pd-sb-field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .1rem;
}

.pd-sb-chip {
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--m);
  border: 1px solid rgba(255,255,255,.07);
  padding: .18rem .5rem;
  border-radius: var(--r-pill);
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.pd-gallery-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.pd-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-inline: clamp(1.5rem, 5vw, 5rem);
}

.pd-gallery-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -.04em;
  color: var(--t);
}

.pd-gallery-count-label {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(157,191,157,.4);
}

/* Grid — CSS columns for clean masonry */
.pd-gallery-grid {
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  columns: 3;
  column-gap: 4px;
}

/* each item: break-inside + relative for overlay */
.pd-gal-item {
  break-inside: avoid;
  display: block;
  cursor: zoom-in;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}

.pd-gal-item img,
.pd-gal-item video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  filter: brightness(.85);
  transition: transform .55s cubic-bezier(.16,1,.3,1), filter .4s ease;
}

.pd-gal-item:hover img,
.pd-gal-item:hover video {
  transform: scale(1.04);
  filter: brightness(1);
}

/* hover overlay — zoom icon + dark tint */
.pd-gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,9,10,.5);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pd-gal-item:hover .pd-gal-overlay {
  opacity: 1;
}

/* zoom icon in the centre of overlay */
.pd-gal-overlay::after {
  content: '';
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  /* backdrop-filter: blur(6px); */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(.8);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}

.pd-gal-item:hover .pd-gal-overlay::after {
  transform: scale(1);
}

/* image index — bottom-right, muted */
.pd-gal-num {
  position: absolute;
  bottom: .65rem;
  right: .75rem;
  font-family: 'Syne', sans-serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.pd-gal-item:hover .pd-gal-num {
  opacity: 1;
}

/* video badge */
.pd-gal-item.is-video .pd-gal-overlay::after {
  content: '▶';
  font-size: 1.2rem;
  color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,9,10,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.pd-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.pd-lb-media {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lb-media img,
.pd-lb-media video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--t);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.pd-lb-close {
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
}

.pd-lb-prev,
.pd-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.pd-lb-prev { left: 1.5rem; }
.pd-lb-next { right: 1.5rem; }

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
  background: rgba(255,255,255,.1);
  color: #ffffff;
  border-color: rgba(255,255,255,.2);
}

.pd-lb-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(157,191,157,.45);
}

/* ══════════════════════════════════════════════
   NEXT / PREV NAVIGATION
══════════════════════════════════════════════ */
.pd-nav-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  /* within .wrap already — no side padding needed */
}

.pd-nav-card {
  position: relative;
  display: block;
  height: clamp(160px, 22vw, 260px);
  overflow: hidden;
  text-decoration: none;
  background: var(--bg2);
  border-radius: 0;
}

.pd-nav-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .65s cubic-bezier(.16,1,.3,1);
  filter: brightness(.7) saturate(.85);
}

.pd-nav-card:hover .pd-nav-card-bg {
  transform: scale(1.06);
  filter: brightness(.55) saturate(.9);
}

.pd-nav-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,10,.92) 0%, rgba(7,9,10,.45) 55%, rgba(7,9,10,.1) 100%);
}

.pd-nav-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 2rem;
  z-index: 1;
}

.pd-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(157,191,157,.5);
  margin-bottom: .5rem;
  transition: color .25s;
}

.pd-nav-card:hover .pd-nav-dir {
  color: var(--m);
}

.pd-nav-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: rgba(220,232,220,.8);
  line-height: 1.15;
  transition: color .25s;
}

.pd-nav-card:hover .pd-nav-title {
  color: #ffffff;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* ─ 1100px ─ */
@media (max-width: 1100px) {
  .pd-content-grid {
    grid-template-columns: 1fr 268px;
    gap: 2.5rem;
  }
}

/* ─ 900px — single column, sidebar after content ─ */
@media (max-width: 900px) {
  .pd-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* sidebar: single column, no sticky */
  .pd-sidebar {
    position: static;
    flex-direction: column;
    gap: .85rem;
  }

  .pd-gallery-grid {
    columns: 2;
  }
}

/* ─ 640px — mobile ─ */
@media (max-width: 640px) {
  .pd-hero {
    /* full viewport height, no cap */
    max-height: none;
    min-height: 480px;
  }

  .pd-hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.6rem);
    max-width: 100%;
  }

  .pd-hero-brief {
    font-size: .88rem;
    max-width: 100%;
  }

  .pd-hero-actions {
    flex-direction: column;
  }

  .pd-hero-btn {
    width: 100%;
    justify-content: center;
  }

  .pd-gallery-grid {
    columns: 2;
    padding-inline: 0;
    column-gap: 2px;
  }

  .pd-gal-item { margin-bottom: 2px; }

  .pd-nav-projects {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .pd-nav-card {
    height: clamp(130px, 40vw, 180px);
  }

  .pd-nav-card-body {
    padding: 1.1rem 1.4rem;
  }

  .pd-review {
    padding: 1.6rem 1.5rem 1.6rem 2rem;
  }

  .pd-review::before {
    font-size: 6rem;
    top: -.3rem;
    left: 1rem;
  }

  /* less aggressive green on mobile */
  .pd-badge-type {
    background: var(--ga-06);
    border-color: var(--ga-12);
  }

  .pd-sb-head {
    color: rgba(157,191,157,.55);
  }
}

/* ─ 480px — small phones ─ */
@media (max-width: 480px) {
  .pd-gallery-grid {
    columns: 1;
    padding-inline: 0;
  }

  .pd-lb-prev { left: .5rem; }
  .pd-lb-next { right: .5rem; }
}
