nav{display:flex;align-items:center;gap:clamp(10px,3vw,40px)}a{color:inherit}.collection{padding-block:clamp(32px,5vw,80px)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.cards{margin:0}.card{text-decoration:none}.card img,.tile img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:filter .25s}.card:hover img,.tile:hover img{filter:brightness(.94)}.card h2{margin:16px 0 5px}.card span{border-bottom:2px solid var(--orange)}button{cursor:pointer}.tile{border:0;padding:0;background:white}.viewer{touch-action:pan-y}.frame{width:100%;height:min(70vh,830px);object-fit:contain;background:#f6f5f2;display:block}.controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px}.controls button,.close{background:white;border:1px solid #ccc;border-radius:100px;min-width:44px;min-height:44px;font-size:20px}.dots{display:flex;justify-content:center;flex-wrap:wrap}.dots button{border:0;background:transparent;padding:8px 4px}.dots button:before{content:'';display:block;width:6px;height:6px;background:#bbb;border-radius:50%}.dots [aria-current=true]:before{background:var(--orange)}dialog{width:min(1100px,98vw);border:0;padding:12px}dialog::backdrop{background:#000c}.close{display:block;margin:0 0 8px auto;padding-inline:16px}.cta{text-align:center;padding:64px 12px 10px}.cta p{margin:20px auto}.mast nav .button{min-height:40px;padding:8px 14px}@media(max-width:650px){.grid{grid-template-columns:1fr}.frame{height:clamp(240px,77vw,420px)}.mast{height:68px}.mast img{width:70px}}@media(prefers-reduced-motion:no-preference){.frame.enter{animation:fade .24s ease-out}@keyframes fade{from{opacity:.65}to{opacity:1}}}

/* Keep the introductory copy compact and give the photographs the first screen. */
.mast { height: 68px; }
.mast img { width: 84px; }
.portfolio-intro { padding-top: clamp(22px, 3.5vw, 44px); }
.portfolio-intro h1 { font-size: clamp(27px, 3.1vw, 44px); text-wrap: pretty; }
.portfolio-intro p { margin-top: 8px; color: var(--muted); max-width: 65ch; }
.portfolio-intro + .collection { padding-top: clamp(18px, 2.5vw, 30px); }
@media (max-width: 650px) {
  .mast { height: 62px; }
  .mast img { width: 70px; }
  .mast nav { font-size: 14px; }
}
.card span { display: inline-block; padding-block: 4px; }
.tile img { object-fit: contain; background: var(--paper); }
.frame { touch-action: pan-y; }
.controls button:hover, .close:hover { border-color: var(--orange); }

.property-viewer { margin: 14px 0 22px; }
.enlarge { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper); }
.enlarge span { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; background: white; color: var(--ink); font-size: 22px; }
.enlarge:disabled { cursor: default; }
.enlarge:disabled span { display: none; }
dialog .frame { height: min(69dvh, 830px); }
