.oh-nav {display:flex; flex-wrap:wrap; gap:.6rem; padding:1.15rem 0 .2rem}
.oh-nav a,.oh-project summary {border:1px solid #d0d5db; border-radius:2rem; padding:.55rem 1rem; font-size:.95rem; line-height:1.45; font-family:inherit; font-weight:600; color:#17212b; background:white}
.oh-nav a:hover,.oh-project summary:hover {background:#fff5eb; border-color:#dd731e}
.oh-project {padding:clamp(2rem,4.5vw,4.4rem) 0; color:#111820}
.oh-project p.oh-intro {max-width:50rem; margin:.55rem 0 1.55rem; color:#4d5866; font-size:1.08rem}
.oh-project h2 {margin:0; font-size:clamp(1.8rem,3.5vw,2.8rem); line-height:1.1}
.oh-compare {background:#f6f7f8}
.oh-nav a:focus-visible,.oh-project :focus-visible,.oh-viewer :focus-visible {outline:3px solid #d36007;outline-offset:3px}
.oh-project,.oh-existing {scroll-margin-top:6rem}
.oh-grid {display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:clamp(.65rem,1.6vw,1.25rem)}
.oh-photo {margin:0; min-width:0; overflow:hidden; border-radius:.9rem; border:1px solid #e0e3e6; background:#fff}
.oh-photo a {display:block; color:inherit; text-decoration:none}
.oh-photo img {display:block; width:100%; height:auto; aspect-ratio:706 / 942; object-fit:cover}
.oh-photo a:focus-visible {outline-offset:-4px}
.oh-photo figcaption {padding:.72rem .85rem; font-size:1rem; line-height:1.35}
.oh-pair {grid-template-columns:repeat(2,minmax(0,1fr));max-width:54rem}
.oh-pair figcaption strong {display:block; margin-bottom:.16rem; font-size:1.15rem}
.oh-project details {margin-top:1.1rem}
.oh-project summary {display:list-item; width:fit-content; max-width:100%; cursor:pointer; font-size:1rem}
.oh-project details[open] summary {margin-bottom:1rem}
.oh-extra {grid-template-columns:repeat(4,minmax(0,1fr))}
.oh-extra figcaption {font-size:.94rem}
.oh-viewer {box-sizing:border-box; background:#15191d; color:white; border:none; border-radius:.75rem; padding:.75rem; width:min(94vw,53rem); max-width:96vw; max-height:96vh; max-height:96dvh}
.oh-viewer::backdrop {background:rgba(0,0,0,.82)}
.oh-viewer img {display:block; max-width:100%; width:auto; max-height:70vh; max-height:70dvh; object-fit:contain; margin:auto}
.oh-viewer header,.oh-viewer footer {display:flex; gap:.5rem; align-items:center; justify-content:space-between; color:white; background:transparent; padding:.3rem 0}
.oh-viewer header {padding-bottom:.65rem}
.oh-viewer button {min-height:44px; background:#2d3339; color:#fff; border:1px solid #74808b; border-radius:.5rem; font:inherit; padding:.35rem .8rem; cursor:pointer}
.oh-viewer p {margin:.5rem 0; font-size:1rem; line-height:1.3}
.oh-viewer [data-oh-position] {font-variant-numeric:tabular-nums}
@media (max-width:740px) {
  .oh-extra {grid-template-columns:repeat(2,minmax(0,1fr))}
  .oh-nav {gap:.4rem}
  .oh-nav a {font-size:.9rem; padding:.48rem .75rem}
}
@media (max-width:570px) {
  .oh-grid:not(.oh-pair) {grid-template-columns:repeat(2,minmax(0,1fr))}
  .oh-delivery > .container > .oh-grid > :first-child {grid-column:1 / -1}
  .oh-delivery > .container > .oh-grid > :first-child img {aspect-ratio:1.35; object-position:50% 54%}
  .oh-photo figcaption {font-size:.92rem; padding:.55rem}
}
