.project-page .project-topbar { background: #f7f5ef; }
.project-page .project-topbar .nav { color: #596a61; }
.project-page .project-topbar .nav a:hover { color: #779786; }
.project-detail-hero { padding: 28px 0 78px; }
.project-back { color: #68766d; font-size: 12px; }
.project-back:hover { color: #405f4c; }
.project-detail-intro { max-width: 830px; margin: 70px 0 34px; }
.project-eyebrow { margin: 0 0 15px; color: #708477; }
.project-detail-intro h1 { margin: 0; font: 500 clamp(48px, 8vw, 92px)/.98 Manrope, sans-serif; letter-spacing: -.075em; }
.project-detail-intro h1 em { color: #93b7a3; font-family: Georgia, serif; font-weight: 400; }
.project-lead { max-width: 630px; margin: 23px 0 22px; color: #5e6c64; font-size: 16px; line-height: 1.8; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span { padding: 8px 11px; border: 1px solid #ced9d1; border-radius: 30px; color: #405448; font: 10px 'DM Mono', monospace; }
.project-fiction-note { max-width: 710px; margin-top: 22px; padding: 15px 17px; border-left: 3px solid #a8b99e; background: #eeefe5; color: #59685d; font-size: 12px; line-height: 1.75; }
.project-fiction-note strong { display: block; margin-bottom: 3px; color: #35483b; }
.project-gallery-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 15px; border: 1px solid #91aa96; border-radius: 4px; background: #dfe9dc; color: #334a39; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.project-gallery-cta:hover { transform: translateY(-2px); background: #d4e2d2; }
.project-cover { display: block; position: relative; overflow: hidden; border: 1px solid #dce4dd; background: #fffefa; box-shadow: 0 22px 60px rgba(49, 63, 54, .12); }
.project-cover img { display: block; width: 100%; height: auto; }
.project-cover-caption { position: absolute; right: 18px; bottom: 18px; padding: 10px 13px; background: #fbf9f4eF; color: #42594b; font: 9px 'DM Mono', monospace; letter-spacing: .1em; }
.project-cover-caption span { margin-left: 9px; }
.project-story { padding: 86px 0; border-top: 1px solid var(--line); background: #f0eee7; }
.project-story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.project-story h2, .project-gallery h2, .project-next h2 { margin: 0; font: 500 clamp(34px, 4vw, 52px)/1.08 Manrope, sans-serif; letter-spacing: -.06em; }
.project-story-copy { max-width: 650px; color: #5e6c64; font-size: 14px; line-height: 1.85; }
.project-story-copy p { margin: 0 0 18px; }
.project-highlights { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.project-highlights li { position: relative; padding-left: 23px; }
.project-highlights li::before { content: "✓"; position: absolute; left: 0; color: #789b87; font-weight: 700; }
.project-gallery { padding: 95px 0; }
.project-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.project-gallery-head .section-kicker { margin-bottom: 14px; }
.project-gallery-head > p { max-width: 240px; margin: 0 0 4px; color: #68766d; font-size: 12px; line-height: 1.7; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery-card { min-width: 0; margin: 0; border: 1px solid #dce4dd; background: #fffefa; }
.gallery-image { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #eceee9; }
.gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-image:hover img { transform: scale(1.035); }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; padding: 8px 10px; background: rgba(251, 249, 244, .94); color: #405f4c; font: 9px 'DM Mono', monospace; opacity: 0; transition: opacity .2s; }
.gallery-image:hover .gallery-zoom, .gallery-image:focus-visible .gallery-zoom { opacity: 1; }
.gallery-card figcaption { display: flex; align-items: center; gap: 10px; padding: 13px 15px; color: #405448; font-size: 12px; }
.gallery-card figcaption span { color: #8aa493; font: 10px 'DM Mono', monospace; }
.project-next { padding: 68px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 95% 100%, #e7def0 0%, transparent 42%); }
.project-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.project-next h2 { max-width: 520px; }
.image-lightbox { position: fixed; max-width: min(96vw, 1500px); max-height: 94vh; padding: 48px 22px 18px; overflow: auto; border: 1px solid #d6dfd8; background: #fbf9f4; color: #33443b; box-shadow: 0 25px 90px #15201b66; }
.image-lightbox::backdrop { background: rgba(21, 29, 25, .82); backdrop-filter: blur(5px); }
.lightbox-image { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; border: 1px solid #d6dfd8; border-radius: 50%; background: #fffefa; color: #405448; font-size: 23px; cursor: pointer; }
.lightbox-caption { margin: 12px 0 0; color: #68766d; font-size: 12px; text-align: center; }
.project-page .footer { border-color: var(--line); }
@media (max-width: 760px) {
  .project-detail-hero { padding: 22px 0 55px; }
  .project-detail-intro { margin: 50px 0 26px; }
  .project-lead { font-size: 14px; }
  .project-cover-caption { right: 10px; bottom: 10px; font-size: 8px; }
  .project-story { padding: 65px 0; }
  .project-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-gallery { padding: 68px 0; }
  .project-gallery-head { display: block; }
  .project-gallery-head > p { margin-top: 14px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-image { aspect-ratio: 4 / 3; }
  .gallery-zoom { opacity: 1; }
  .project-next-inner { display: block; }
  .project-next .button { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-image img { transition: none; }
  .image-lightbox::backdrop { backdrop-filter: none; }
}

