body { background: #f6f8f6; color: #242a26; }
body * { letter-spacing: 0; }
.top-nav { background: #fff; position: relative; }
.top-nav .links { flex-wrap: wrap; }
.project-page { max-width: 1160px; margin: 0 auto; padding: 52px 28px; }
.project-heading { padding-bottom: 28px; border-bottom: 1px solid #d6ddd7; }
.project-heading > a { color: #565e58; text-decoration: none; font-size: 14px; }
.project-heading > p { color: #68726a; font-size: 14px; margin: 24px 0 0; }
.project-heading > h1 { font-size: 36px; line-height: 1.5; margin-top: 16px; max-width: 900px; color: #202822; }
.project-page .section { padding: 30px 0; border: 0; margin-bottom: 12px; }
.project-page .section h2 { font-size: 19px; color: #242a26; margin: 20px 0 8px; }
.project-page .section p { color: #626c64; font-size: 16px; }
.project-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.project-photos figure { margin: 0; min-width: 0; }
.project-photo { display: block; width: 100%; height: 360px; border: 0; padding: 0; cursor: zoom-in; background: #e7ebe7; }
.project-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.project-photos figcaption { font-size: 13px; color: #68726a; margin-top: 12px; line-height: 1.8; }
.project-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 36px; }
.project-contact a { color: #4a554c; }
.project-contact .cta { background: #242e27; color: #fff; border: 0; }
.project-viewer { display: none; position: fixed; inset: 0; z-index: 3000; background: #080a09f5; }
.project-viewer.active { display: flex; flex-direction: column; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; color: #fff; }
.viewer-top p { margin: 0; font-size: 14px; }
.viewer-top button, .viewer-controls button, .viewer-controls a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; color: #fff; border: 1px solid #ffffff40; border-radius: 3px; background: #ffffff0d; font-size: 22px; text-decoration: none; cursor: pointer; }
.viewer-stage { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; overflow: auto; }
.viewer-stage img { max-width: 94%; max-height: 100%; object-fit: contain; transform-origin: center; user-select: none; }
.viewer-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding: 18px 16px max(18px,env(safe-area-inset-bottom)); }
.viewer-controls a { font-size: 14px; }
a:focus-visible, button:focus-visible { outline: 3px solid #c8a45c; outline-offset: 4px; }
@media (max-width: 768px) {
  .top-nav { padding: 16px 20px; gap: 16px; }
  .top-nav .brand { font-size: 17px; }
  .top-nav .links { gap: 12px 16px; }
  .project-page { padding: 30px 20px; }
  .project-heading > h1 { font-size: 25px; }
  .project-heading > p { font-size: 13px; }
  .project-photos { grid-template-columns: 1fr; gap: 26px; }
  .project-photo { height: auto; }
  .project-photo img { height: auto; max-height: 580px; }
  .project-page .section p { font-size: 15px; }
  .viewer-top p { font-size: 12px; }
}
