.swim-index {max-width:72rem;margin-inline:auto;padding:clamp(1.25rem,5vw,4rem);color:#fcf2de;background:#271b20}
.swim-index h1 {font:italic clamp(3rem,9vw,6.8rem)/1 Georgia,serif;letter-spacing:-.045em;margin:.4em 0 .2em}
.swim-index .swim-back {display:inline-flex;align-items:center;min-height:44px;color:#f3d6b4;text-underline-offset:.25em}
.swim-index p {margin:.4rem 0 1.5rem;line-height:1.5}
.swim-tile {display:block;position:relative;width:min(100%,17rem);border:1px solid #b18c77;padding:0;background:#2a1b21;color:#fff2db;border-radius:.45rem;overflow:hidden;text-align:start;cursor:zoom-in;font:inherit;box-shadow:0 .5rem 1.7rem #1c101120}
.swim-image,.swim-full {display:block;position:relative}
.swim-image img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#21171c}
.swim-credit {position:absolute;top:.45rem;left:.45rem;padding:.2rem .38rem;border-radius:.16rem;background:#19131ce8;color:#fff;font:600 .72rem/1.25 system-ui,sans-serif;letter-spacing:.01em;pointer-events:none}
.swim-caption {display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:1rem;padding:.45rem .8rem}
.swim-caption strong {font:italic 1.35rem/1.2 Georgia,serif}
.swim-caption>span {color:#ffdbab;font:.83rem/1.2 system-ui,sans-serif}
.swim-tile:focus-visible,.swim-viewer button:focus-visible {outline:3px solid #ecaa49;outline-offset:3px}
html:has(.swim-viewer[open]) {overflow:hidden}
dialog.swim-viewer {position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;margin:0;background:transparent;overflow:auto;color:#fff1dd;border-radius:0}
dialog.swim-viewer[open] {display:grid;place-items:center}
.swim-viewer::backdrop {background:rgb(15 10 14 / 94%)}
.swim-lightbox {width:max-content;max-width:100%;padding:0;box-sizing:border-box}
.swim-lightbox header {position:static;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .55rem;color:#fff1dd;background:#241a20;border:0}
.swim-lightbox h2 {margin:0;color:inherit;font:italic 1.45rem/1.2 Georgia,serif;letter-spacing:normal;text-transform:none}
.swim-lightbox form {margin:0}
.swim-lightbox button {display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.35rem .65rem;border:1px solid #8d787c;border-radius:.35rem;background:#30232a;color:#fff;font:600 1rem/1.2 system-ui,sans-serif;cursor:pointer}
.swim-lightbox button span {font-size:1.35rem}
.swim-full {width:fit-content;max-width:100%;margin:auto}
.swim-full img {display:block;width:auto;height:auto;max-width:calc(100vw - max(.6rem,env(safe-area-inset-left)) - max(.6rem,env(safe-area-inset-right)));max-height:calc(100vh - 5rem);max-height:calc(100dvh - 4.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));object-fit:contain}
@media(max-width:480px){.swim-tile{width:min(68vw,16rem)}}
