/* Project page styles — no breadcrumb */
.proj-wrapper {
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.proj-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 0 var(--space-2xl);
}
.proj-category {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 1.25rem;
}
.proj-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2rem;
}
.proj-summary {
  font-size: 19px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: var(--space-lg);
}
.proj-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.meta-key {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
}
.meta-val {
  font-size: 16px;
  color: var(--body);
  line-height: 1.5;
}
/* Wonderpath / creative-tech: room for longer Focus line beside Venture */
.proj-meta:has(.meta-item--focus) {
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
}

/* Skills section — macro titles, expand; single column full width */
.proj-skill-board {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  max-width: 52rem;
}

details.proj-skill-group {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
details.proj-skill-group[open] {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.proj-skill-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  font: inherit;
  color: inherit;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.proj-skill-summary::-webkit-details-marker {
  display: none;
}
.proj-skill-summary::after {
  content: '';
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.5rem;
  border-right: 2px solid var(--label);
  border-bottom: 2px solid var(--label);
  transform: rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.85;
}
details.proj-skill-group[open] .proj-skill-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}
.proj-skill-summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.proj-skill-summary .about-spectrum-label {
  margin: 0;
  font-size: 13px;
  flex: 1;
  text-align: left;
  line-height: 1.35;
}
.proj-skill-group-detail {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.proj-skill-board details.proj-skill-group .disc-row {
  margin-top: 0.75rem;
}

/* Legacy: stacked groups when not in .proj-skill-board (should be rare) */
.proj-section--skills > .proj-skill-group {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.proj-section--skills > .proj-skill-intro + .proj-skill-group {
  margin-top: 0.65rem;
  padding-top: 0;
  border-top: none;
}

/* Research page — grouped hard skills (domains, craft, strategy, technical) */
.proj-skill-intro {
  font-size: 16px;
  line-height: 1.72;
  color: var(--mid);
  margin-bottom: 0.85rem;
  max-width: 52rem;
}
.proj-skill-group-note {
  font-size: 14px;
  line-height: 1.62;
  color: var(--mid);
  margin: 0 0 0.35rem;
  max-width: none;
}

/* Soft skills — collapsible so the long tag list does not dominate */
details.proj-soft-skills {
  margin-top: 1.25rem;
  max-width: 52rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}
.proj-soft-skills-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem 1rem 1.2rem;
  font: inherit;
  color: var(--ink);
}
.proj-soft-skills-summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.proj-soft-skills-summary::-webkit-details-marker {
  display: none;
}
.proj-soft-skills-summary::after {
  content: '';
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--label);
  border-bottom: 2px solid var(--label);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
details.proj-soft-skills[open] .proj-soft-skills-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}
.proj-soft-skills-summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.proj-soft-skills-title {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.proj-soft-skills-cue {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--label);
}
.proj-soft-skills-inner {
  padding: 0 1.2rem 1.15rem;
  border-top: 1px solid var(--line);
}
.proj-soft-skills-inner .about-skills-note {
  margin-top: 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 15px;
  line-height: 1.65;
}
.proj-soft-skills-inner .disc-row {
  margin-top: 0;
}
.proj-soft-skills-inner > .disc-row:first-child {
  margin-top: 0.35rem;
}
.proj-section--skills {
  overflow: visible;
}

/* Case study template — scannable snapshot (problem → role → outcome) */
.case-snapshot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  border-bottom: 1px solid var(--line);
}
.case-snapshot-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.case-snapshot-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.case-snapshot-v {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

/* Research / narrative projects — same grid, different column 1 label (Lens vs Problem) */
.case-snapshot--research .case-snapshot-v {
  line-height: 1.6;
}

/* Research page — no horizontal rules framing the canvas hero */
.case-snapshot--research {
  border-bottom: none;
}
/* Academy / project-2 — no rule between snapshot and modular-map hero */
.case-snapshot--academy {
  border-bottom: none;
}
.proj-hero--research-canvas + .proj-content .proj-section:first-child .section-head {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

/* HERO IMAGE — full bleed (hidden when not in use; no layout gap) */
.proj-hero.hidden {
  display: none !important;
}
.proj-hero {
  width: 100%;
  aspect-ratio: 16/7;
  background: linear-gradient(150deg, #b8c4d4 0%, #5868a0 45%, #283060 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.proj-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hero: full image, no cropping */
.proj-hero--full {
  aspect-ratio: auto;
  min-height: 280px;
  overflow: visible;
  background: none;
}
.proj-hero--full img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
/* Project 1 — hero GIF scaled; tall min-height so image centers vertically */
.proj-hero--full.proj-hero--asset-70 {
  min-height: clamp(300px, 48vh, 560px);
  align-items: center;
  justify-content: center;
}
.proj-hero--full.proj-hero--asset-70 img {
  width: 49.27%;
  max-width: 49.27%;
  flex-shrink: 0;
}
.proj-hero span {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Research — editorial canvas hero (signal → path); bg matches research-hero-canvas.js RESEARCH_HERO_CONFIG.background */
.proj-hero.proj-hero--research-canvas {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  background: #f4f1ea;
  overflow: hidden;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.proj-hero.proj-hero--research-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Innovation / creative-tech — matches research paper (#f4f1ea) after transition; blue only before canvas paints */
.proj-hero.proj-hero--innovation-canvas {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  background: #f4f1ea;
  overflow: hidden;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.proj-hero.proj-hero--innovation-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Academy / project-2 — modular map hero (paper field, no frame rules) */
.proj-hero.proj-hero--academy-canvas {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  background: #f4f1ea;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.proj-hero.proj-hero--academy-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.proj-hero.proj-hero--academy-canvas .proj-hero__replay {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.proj-hero.proj-hero--academy-canvas[data-hero-animation="done"]:hover .proj-hero__replay,
.proj-hero.proj-hero--academy-canvas[data-hero-animation="done"]:focus-within .proj-hero__replay {
  opacity: 1;
  pointer-events: auto;
}
.proj-hero.proj-hero--academy-canvas .proj-hero__replay-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(26, 39, 68, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #1a2744;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.proj-hero.proj-hero--academy-canvas .proj-hero__replay-btn:hover {
  background: #fff;
  border-color: rgba(26, 39, 68, 0.35);
}
.proj-hero.proj-hero--academy-canvas .proj-hero__replay-btn:focus-visible {
  outline: 2px solid #1a2744;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .proj-hero.proj-hero--academy-canvas .proj-hero__replay {
    display: none;
  }
}
.proj-head:has(+ .proj-hero--academy-canvas) .proj-meta {
  border-top: none;
}
.proj-hero--academy-canvas + .proj-content .proj-section:first-child .section-head {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

.proj-hero.proj-hero--innovation-canvas .proj-hero__replay {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.proj-hero.proj-hero--innovation-canvas[data-hero-animation="done"]:hover .proj-hero__replay,
.proj-hero.proj-hero--innovation-canvas[data-hero-animation="done"]:focus-within .proj-hero__replay {
  opacity: 1;
  pointer-events: auto;
}

.proj-hero.proj-hero--innovation-canvas .proj-hero__replay-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(26, 39, 68, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #1a2744;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.proj-hero.proj-hero--innovation-canvas .proj-hero__replay-btn:hover {
  background: #fff;
  border-color: rgba(26, 39, 68, 0.35);
}

.proj-hero.proj-hero--innovation-canvas .proj-hero__replay-btn:focus-visible {
  outline: 2px solid #1a2744;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .proj-hero.proj-hero--innovation-canvas .proj-hero__replay {
    display: none;
  }
}

/* Creative-tech — no horizontal rules framing the canvas hero */
.proj-head:has(+ .proj-hero--innovation-canvas) .proj-meta {
  border-top: none;
}
.proj-hero--innovation-canvas + .proj-content .proj-section:first-child .section-head {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

/* CONTENT — narrow centered column */
.proj-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
}
.proj-content--top {
  padding-top: var(--space-xl);
  padding-bottom: 0;
}
.proj-content--top + .proj-content {
  padding-top: var(--space-xl);
}

.proj-section { margin-bottom: var(--space-2xl); }
.proj-section:last-child { margin-bottom: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub);
}
.section-head--skills {
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.section-head--skills .section-title {
  flex-shrink: 0;
}
/* Info control: how skill groupings are framed (gate-style panel) */
.skills-info {
  position: relative;
  z-index: 2;
}
.skills-info__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--label);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.skills-info__summary::-webkit-details-marker {
  display: none;
}
.skills-info__summary::marker {
  content: '';
}
.skills-info__summary:hover,
.skills-info__summary:focus-visible {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.14);
  outline: none;
}
.skills-info__summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.skills-info[open] .skills-info__summary {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 252, 248, 0.85);
}
.skills-info__icon {
  display: block;
}
.skills-info__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1.1rem 1.2rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.52);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
  box-shadow:
    0 2px 5px rgba(60, 40, 30, 0.04),
    0 18px 40px -10px rgba(90, 60, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(200, 185, 170, 0.12);
}
@media (max-width: 480px) {
  .skills-info__panel {
    left: auto;
    right: 0;
    width: min(28rem, calc(100vw - 1.5rem));
  }
}
.skills-info__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.section-date { font-size: 14px; color: var(--label); }

.proj-p {
  font-size: 18px;
  line-height: 1.82;
  color: var(--body);
  margin-bottom: 1.35rem;
}
.proj-p:last-child { margin-bottom: 0; }

.proj-link {
  color: var(--sub);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.proj-link:hover { color: var(--ink); }

.approach-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 2.5rem 0 0.75rem;
}
.approach-sub:first-of-type { margin-top: 0; }

.figma-embed {
  aspect-ratio: 16/9;
  min-height: 400px;
  margin: var(--space-xl) 0;
  background: var(--ph);
  border-radius: 4px;
  overflow: hidden;
}
.figma-embed iframe { width: 100%; height: 100%; min-height: 400px; display: block; }

.ph-caption {
  font-size: 15px;
  line-height: 1.6;
  color: var(--label);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.proj-bullets {
  padding-left: 1.25rem;
  list-style: disc;
}
.proj-bullets li {
  font-size: 17px;
  line-height: 1.82;
  color: var(--mid);
  margin-bottom: 0.85rem;
}
.proj-bullets li:last-child {
  margin-bottom: 0;
}

/* EMPHASIS */
.proj-emphasis {
  background: var(--card);
  padding: 2.25rem 2.5rem;
  margin: var(--space-2xl) 0;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.proj-emphasis p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.72;
  color: var(--body);
}

/* PLACEHOLDERS — within content column */
.ph {
  background: var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-2xl) 0;
}
.ph span {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  text-align: center;
  padding: 0 1rem;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Images shown in full, no cropping */
.ph:has(img) {
  aspect-ratio: auto;
  min-height: 0;
}
.ph:has(img) img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.ph-wide { width: 100%; aspect-ratio: 16/7; }
.ph-wide:has(img) { aspect-ratio: auto; }
.ph-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: var(--space-2xl) 0;
}
.ph-half { aspect-ratio: 4/3; }

/* Execution & team pair (project-2): equal frames, white fill — left mockup shows full device (contain); photo can crop slightly */
.ph-pair-exec {
  align-items: stretch;
}
.ph-pair-exec .ph.ph-half {
  margin: 0;
  background: #fff;
  border-radius: 2px;
}
.ph-pair-exec .ph.ph-half:has(img) {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.ph-pair-exec .ph.ph-half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
  transform-origin: center center;
}
/* Laptop/phone mockup: no extra zoom — full device in frame */
.ph-pair-exec .ph.ph-half:first-child img {
  object-fit: contain;
  transform: none;
  object-position: center center;
}

.ph-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin: var(--space-xl) 0;
}
.ph-sq { aspect-ratio: 1/1; }

/* IMPACT ROW */
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  background: var(--card);
  padding: 2.25rem 2.5rem;
  margin: var(--space-2xl) 0;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.impact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.impact-n {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.impact-l {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.4;
}

/* DISCIPLINES */
.disc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
/* Skill / discipline pills — warm fill (current) + gray stroke like original .disc-tag */
.disc-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px;
  background: rgba(255, 252, 248, 0.52);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
  box-shadow: none;
}
.disc-tag:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

/* NEXT PROJECT */
.next-proj-wrapper {
  padding: 0 4rem;
}
.next-proj {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-3xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  color: inherit;
}
.next-proj:hover { color: inherit; }
.next-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 0.6rem;
}
.next-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.next-arrow {
  font-size: 26px;
  color: var(--line);
  flex-shrink: 0;
  margin-left: 2rem;
  transition: transform 0.2s, color 0.2s;
}
.next-proj:hover .next-arrow {
  color: var(--sub);
  transform: translateX(4px);
}

/* PROJECT PAGE FADE — reveal on scroll */
.proj-head .fade,
.proj-content .fade,
.next-proj.fade,
.next-proj-wrapper .fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.proj-head .fade.in,
.proj-content .fade.in,
.next-proj.fade.in {
  opacity: 1;
  transform: none;
}
.proj-reveal {
  margin-bottom: var(--space-xl);
}
.proj-reveal:last-child { margin-bottom: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .proj-wrapper,
  .next-proj-wrapper { padding-left: 1.5rem; padding-right: 1.5rem; }
  .proj-title { font-size: 38px; }
  .proj-meta { grid-template-columns: 1fr 1fr; }
  .impact-row { grid-template-columns: 1fr 1fr; }
  .case-snapshot { grid-template-columns: 1fr; gap: var(--space-md); padding-bottom: var(--space-lg); }
}
@media (max-width: 600px) {
  .proj-title { font-size: 32px; }
  .proj-meta { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: 1fr; }
  .ph-pair { grid-template-columns: 1fr; }
  .ph-trio { grid-template-columns: 1fr; }
}
