.project-modal{width:min(1050px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:16px;background:white;color:var(--navy-deep);box-shadow:0 25px 100px #0008;overflow:auto}.project-modal::backdrop{background:#081427c9;backdrop-filter:blur(4px)}.project-modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;border-bottom:1px solid #17294e25;position:sticky;top:0;background:white;z-index:2}.project-modal-head>span{font-size:10px;font-weight:600;letter-spacing:1.5px}.project-modal button{font:600 13px var(--body);cursor:pointer;color:var(--navy-deep);border:1px solid #17294e40;background:white;border-radius:5px;padding:9px 12px;min-height:42px}.project-modal button:hover{background:#17294e0c}.project-modal button:focus-visible,.project-modal a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.project-modal-content{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:28px;padding:22px}.project-photo-tabs{display:flex;gap:10px;margin-bottom:12px}.project-photo-tabs button[aria-pressed=true]{background:var(--navy-deep);color:white;border-color:var(--navy-deep)}.project-photo-frame{aspect-ratio:1/1;width:100%;max-height:calc(100dvh - 230px);background:#f5f6f8;border-radius:8px;overflow:hidden;display:flex;justify-content:center;align-items:center}.project-photo-frame img{width:100%;height:100%;object-fit:contain}.project-modal-copy{align-self:center;padding:15px 0}.project-modal-copy .kicker{color:var(--muted);font-size:10px}.project-modal-copy h2{font:600 clamp(25px,3vw,36px)/1.15 var(--display);letter-spacing:-.04em;margin:12px 0 18px}.project-modal-copy>p:not(.kicker){font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:25px}.project-modal-copy .pill{font-size:12px;min-height:44px;padding:10px 15px}.project-modal-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #17294e25;padding:15px 22px;background:white}.project-modal-nav>span{font-size:11px;color:var(--muted);white-space:nowrap}.project-modal button:disabled{opacity:.4;cursor:default}@media(max-width:650px){.project-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:12px}.project-modal-head{padding:10px 14px}.project-modal-head>span{font-size:9px}.project-modal-content{grid-template-columns:1fr;gap:0;padding:15px}.project-photo-frame{aspect-ratio:1/1;max-height:none}.project-modal-copy{padding:20px 0 5px}.project-modal-copy h2{font-size:27px;margin:10px 0}.project-modal-copy>p:not(.kicker){font-size:13px;margin-bottom:15px}.project-modal-nav{position:sticky;bottom:0;padding:12px 14px}.project-modal-nav button{font-size:11px;padding:8px 10px}.project-modal-copy .pill{min-height:42px}.project-photo-tabs button{font-size:12px}}
/* One project with both photos visible. */
.project-modal{width:min(1150px,calc(100vw - 48px))}.project-modal-content{display:block;padding:20px 24px 24px}.project-modal-copy{padding:0 0 18px}.project-modal-copy .kicker{margin:0 0 8px}.project-modal-copy h2{font-size:clamp(25px,3vw,35px);margin:0 0 10px}.project-modal-copy>p:not(.kicker){margin:0;font-size:13px}@media(max-width:650px){.project-modal{width:calc(100vw - 20px)}.project-modal-content{padding:16px 14px}.project-modal-copy{padding-bottom:16px}.project-modal-copy h2{font-size:25px}.project-modal-copy>p:not(.kicker){font-size:12px}}

/* Give both photos an equal frame while preserving their full composition. */
.project-modal { width: min(1320px, calc(100vw - 48px)); }

.ba--wide .ba__stage { width: 100%; aspect-ratio: 2 / 1; background: var(--bone-2); }
.ba--wide .ba__img { object-fit: contain; background: var(--bone-2); }
.ba--wide .ba__cap { max-width: none; }
@media (max-width: 650px) {
  .project-modal { width: calc(100vw - 20px); }
  .ba--wide .ba__stage { aspect-ratio: 4 / 3; min-height: 0; }
}


.project-photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.project-photo-gallery.single-photo {
  grid-template-columns: minmax(0, 1fr);
}
.project-photo-gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f6f8;
}
.project-photo-gallery img {
  display: block;
  width: 100%;
  height: min(55dvh, 560px);
  object-fit: contain;
}
@media (max-width: 650px) {
  .project-photo-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-photo-gallery img { height: auto; max-height: 65dvh; }
}
