/* =========================================================
   PROJECT HEAD
   ========================================================= */
.project-head {
  padding: clamp(120px, 18vh, 200px) var(--pad-x) clamp(36px, 6vh, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.crumb-row {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  margin-bottom: 28px;
}
.crumb-row::before { content: ''; width: 40px; height: 1px; background: var(--amber); }
.crumb-row a { color: var(--white-dim); transition: color 0.3s var(--ease); }
.crumb-row a:hover { color: var(--amber); }
.crumb-row .slash { color: var(--white-mute); }
.crumb-row .now { color: var(--white); }

.project-eyebrow {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  margin-bottom: 24px;
}
.project-eyebrow .tag {
  padding: 6px 12px;
  border: 1px solid var(--line-white);
  border-radius: 999px; color: var(--white);
}
.project-eyebrow .yr { color: var(--amber); }

.project-title {
  font-family: var(--ff-display);
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.86; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 95, "wght" 650;
  color: var(--white);
}
.project-title em {
  font-style: italic; color: var(--amber);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600;
}
.project-title .star {
  display: inline-block; font-size: 0.32em;
  vertical-align: 0.55em; color: var(--orange);
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 700;
  transform: translateY(-0.2em) rotate(8deg);
  margin: 0 0.18em 0 0; font-style: normal;
}
.project-subtitle {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 500;
  color: var(--white-dim);
  max-width: 60ch;
}
.project-subtitle em { color: var(--amber); font-style: normal; }

.project-meta {
  margin-top: clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line-white);
  border-bottom: 1px solid var(--line-white);
}
.project-meta-item .k {
  display: block; font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  margin-bottom: 8px;
}
.project-meta-item .v {
  display: block; font-family: var(--ff-display);
  font-style: italic; font-size: 20px; line-height: 1.2;
  font-variation-settings: "opsz" 24, "SOFT" 90, "wght" 600;
  color: var(--white);
}
.project-meta-item .v strong {
  font-style: normal; color: var(--amber);
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 700;
}
@media (max-width: 960px) {
  .project-meta { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* =========================================================
   STAGE — ONE LARGE IMAGE
   ========================================================= */
.stage-wrap {
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.project-stage {
  position: relative;
  width: 100%;
  background: var(--navy-deep);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-white);
}
.project-stage .stage-imgs {
  position: absolute; inset: 0;
}
.project-stage .stage-imgs img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease), transform 1.4s var(--ease);
}
.project-stage .stage-imgs img.is-active { opacity: 1; }
.project-stage:hover .stage-imgs img.is-active { transform: scale(1.02); }
.project-stage::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,28,41,0) 60%, rgba(16,28,41,0.55) 100%);
}
.stage-counter {
  position: absolute; top: 18px; right: 22px; z-index: 3;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white); font-variation-settings: "MONO" 0.5;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(10,18,27,0.55);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stage-counter strong { color: var(--amber); font-weight: 600; }
.stage-counter .div { color: var(--white-mute); }
.stage-caption {
  position: absolute; bottom: 18px; left: 22px; z-index: 3;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); font-variation-settings: "MONO" 0.5;
  display: inline-flex; align-items: center; gap: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transition: opacity 0.3s var(--ease);
}
.stage-caption::before {
  content: ''; width: 26px; height: 1px; background: var(--amber);
}

@media (max-width: 720px) {
  .project-stage { aspect-ratio: 4 / 5; }
}

/* =========================================================
   GALLERY CONTROLS + THUMB STRIP
   ========================================================= */
.gallery-controls {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--pad-x) 6px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
}
.gallery-controls .info {
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  display: inline-flex; align-items: center; gap: 14px;
}
.gallery-controls .info::before { content: ''; width: 28px; height: 1px; background: var(--amber); }
.gallery-controls .ctrls { display: inline-flex; gap: 8px; }
.gallery-controls button {
  width: 42px; height: 42px;
  border: 1px solid var(--line-white);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-style: italic; font-size: 18px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gallery-controls button:hover {
  background: var(--amber); color: var(--navy); border-color: var(--amber);
}
.gallery-controls button:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px;
}

.thumb-strip-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px var(--pad-x) clamp(36px, 6vh, 64px);
  position: relative;
}
.thumb-strip {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.thumb-strip::-webkit-scrollbar { display: none; }
.thumb {
  flex-shrink: 0;
  width: clamp(132px, 17vw, 220px);
  aspect-ratio: 4 / 3;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--navy-deep);
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease);
}
.thumb picture { display: block; width: 100%; height: 100%; }
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.85) brightness(0.78);
}
.thumb:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.92); }
.thumb.is-active {
  border-color: var(--amber);
  transform: translateY(-3px);
}
.thumb.is-active img { filter: saturate(1.05) brightness(1); }
.thumb .num {
  position: absolute; top: 8px; left: 10px; z-index: 2;
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); font-variation-settings: "MONO" 0.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.thumb .num::before {
  content: ''; display: inline-block; width: 14px; height: 1px;
  background: var(--amber); vertical-align: middle; margin-right: 6px;
}
.thumb:focus-visible { outline: none; border-color: var(--amber); }

@media (max-width: 720px) {
  .thumb { width: 38vw; }
}

/* =========================================================
   PROJECT BODY  (ONE paragraph block — no sub-sections)
   ========================================================= */
.project-body {
  padding: clamp(80px, 14vh, 160px) var(--pad-x) clamp(60px, 10vh, 120px);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}
.project-body .body-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  margin-bottom: 36px;
}
.project-body .body-eyebrow::before {
  content: ''; width: 48px; height: 1px; background: var(--amber);
}
.project-body p {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 32, "SOFT" 60, "wght" 400;
  color: var(--white);
  text-wrap: balance;
}
.project-body p em {
  font-style: italic; color: var(--amber);
  font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 500;
}
.project-body .signoff {
  margin-top: 36px;
  font-family: var(--ff-script);
  font-size: 30px; line-height: 1;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 18px;
}
.project-body .signoff::before {
  content: ''; width: 36px; height: 1px; background: var(--amber); opacity: 0.5;
}

/* =========================================================
   NEXT / PREV PROJECT
   ========================================================= */
.next-project {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 64px) var(--pad-x) clamp(60px, 8vh, 96px);
  border-top: 1px solid var(--line-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.next-project a {
  display: block;
  padding: 22px 26px;
  border: 1px solid var(--line-white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.4s var(--ease);
}
.next-project a:hover { border-color: var(--amber); background: rgba(236,132,50,0.04); transform: translateY(-2px); }
.next-project a .dir {
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.next-project a .dir::before, .next-project a .dir::after {
  content: ''; width: 20px; height: 1px; background: var(--amber); opacity: 0.6;
}
.next-project a.next .dir::after { display: none; }
.next-project a.prev .dir::before { display: none; }
.next-project a.next { text-align: right; }
.next-project a .pname {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05;
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 600;
  color: var(--white);
  display: flex; gap: 14px; align-items: baseline;
}
.next-project a.next .pname { justify-content: flex-end; }
.next-project a .pname .arrow {
  font-family: var(--ff-body); font-style: italic; font-size: 24px;
  color: var(--amber); transition: transform 0.4s var(--ease);
}
.next-project a:hover .pname .arrow { transform: translateX(6px); }
.next-project a.prev .pname .arrow { transform: rotate(180deg); }
.next-project a.prev:hover .pname .arrow { transform: rotate(180deg) translateX(6px); }
.next-project a .ptype {
  display: block; margin-top: 6px;
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
}
@media (max-width: 720px) {
  .next-project { grid-template-columns: 1fr; }
  .next-project a.next { text-align: left; }
  .next-project a.next .pname { justify-content: flex-start; }
}
