.oa { width: min(1180px, calc(100vw - 32px)); max-width: none; height: fit-content; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #c2a05e; border-radius: 18px;
  background: #17181b; color: #f6f0e4; box-shadow: 0 30px 80px rgb(0 0 0 / .55); overflow: hidden; }
.oa[open] { display: flex; flex-direction: column; }
.oa::backdrop { background: rgb(10 10 12 / .72); }
.oa :focus-visible { outline: 3px solid #f0d9a4; outline-offset: 3px; }
.oa__x { position: absolute; z-index: 3; top: 10px; right: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(23 24 27 / .7); color: #f6f0e4; font: 300 34px/1 Georgia, serif; cursor: pointer; }
.oa__x:hover { background: #2a2b30; }
.oa__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.oa__main { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 34px; padding: 40px 44px 28px; align-items: stretch; }
.oa__main[hidden], .oa__album[hidden], .oa__viewer[hidden], .oa__pane > [hidden] { display: none; }
.oa__media { margin: 0; min-height: 420px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #c2a05e; background: #0f1012; }
.oa__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.oa__side { display: flex; flex-direction: column; min-width: 0; padding-right: 26px; }
.oa__title { margin: 0 0 6px; font: 400 clamp(2rem, 3.4vw, 3.1rem)/1.08 Georgia, "Times New Roman", serif; color: #fbf6ea; }
.oa__title:focus, .oa__h:focus, .oa__albumtitle:focus { outline: none; }
.oa__name { margin: 0; font: 400 1.6rem/1.2 Georgia, "Times New Roman", serif; color: #f6f0e4; }
.oa__role { margin: 8px 0 20px; font: 500 .8rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #ddd3bf; }
.oa__chapters { display: grid; gap: 10px; margin: 0 0 18px; }
.oa__chapter { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; border: 1px solid #c2a05e; border-radius: 10px; background: transparent; color: #f6f0e4;
  font: 400 1.15rem/1.2 Georgia, "Times New Roman", serif; text-align: left; cursor: pointer; }
.oa__chapter:hover { background: #24252a; }
.oa__chapter[aria-current="true"] { background: #f6efe2; color: #14213d; border-color: #f6efe2; }
.oa__chev { font: 400 1.5rem/1 Georgia, serif; }
.oa__pane { margin-top: auto; }
.oa__card { padding: 18px 22px; border-radius: 12px; background: #f6efe2; color: #14213d; }
.oa__cardh { margin: 0 0 8px; font: 400 1.45rem/1.2 Georgia, "Times New Roman", serif; }
.oa__rec, .oa__miles { list-style: none; margin: 0; padding: 0; }
.oa__rec li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding: 9px 0; border-top: 1px solid #d8c59a; font-size: 1rem; }
.oa__rec li:first-child { border-top: 0; }
.oa__rec strong { font-weight: 600; } .oa__rec span { color: #3a4150; font-style: italic; }
.oa__text { padding: 4px 0 0; }
.oa__h { margin: 0 0 10px; font: italic 400 1.7rem/1.2 Georgia, "Times New Roman", serif; color: #f0d9a4; }
.oa__text p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.55; color: #f6f0e4; }
.oa__miles li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid #4a4538; }
.oa__miles li:first-child { border-top: 0; padding-top: 2px; }
.oa__miles strong { font: 400 1.3rem/1.25 Georgia, "Times New Roman", serif; color: #fbf6ea; } .oa__miles span { font-style: italic; color: #ddd3bf; }
.oa__link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: #f0d9a4; font: 500 1rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.oa__link--navy { color: #14213d; }
.oa__foot { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 44px; padding: 16px 0 20px; border-top: 1px solid #c2a05e; }
.oa__back { min-height: 48px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #f6f0e4; font: 500 1.02rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; }
.oa__back:hover { background: #24252a; }
.oa__cta { min-height: 54px; padding: 0 38px; border: 0; border-radius: 8px; background: linear-gradient(100deg, #e9cf97, #c9a55f 55%, #e2c589); color: #17181b; font: 600 1.25rem/1 Georgia, "Times New Roman", serif; cursor: pointer; }
.oa__cta:hover { filter: brightness(1.06); }

/* ---- Beyond the Desk: the ivory album ---- */
.oa__album { margin: 14px 14px 0; padding: 18px 34px 26px; border-radius: 12px; background: #f6efe2; color: #14213d; text-align: center; }
.oa__album :focus-visible { outline-color: #14213d; }
.oa__albumback { margin: 0; text-align: left; }
.oa__albumtitle { margin: -6px 0 0; font: italic 700 clamp(2rem, 3.6vw, 3rem)/1.1 Georgia, "Times New Roman", serif; color: #14213d; }
.oa__hi { margin: 2px 0 0; font: 700 clamp(1.5rem, 2.4vw, 2.1rem)/1.15 Georgia, "Times New Roman", serif; }
.oa__albumwho { margin: 6px 0 18px; font: italic 400 1rem/1.3 Georgia, "Times New Roman", serif; color: #3a4150; }
.oa__albumgrid { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: 30px; text-align: left; }
.oa__sech { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font: italic 700 1.55rem/1.2 Georgia, "Times New Roman", serif; color: #14213d; }
.oa__sech::after { content: ""; flex: 1; height: 1px; background: #c2a05e; }
.oa__photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.02fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.oa__ph { min-width: 0; aspect-ratio: 4 / 3; }
.oa__ph--big { grid-row: 1 / span 2; aspect-ratio: auto; display: flex; flex-direction: column; }
.oa__ph--big .oa__thumb { flex: 1 1 auto; min-height: 0; height: auto; }
.oa__thumb { position: relative; display: block; width: 100%; height: 100%; padding: 6px; border: 0; border-radius: 3px; background: #fffdf8; box-shadow: 0 0 0 1px #d8c59a, 0 6px 14px rgb(40 25 5 / .18); cursor: zoom-in; }
.oa__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.oa__thumb--beach img { object-position: 50% 36%; } .oa__thumb--ball img { object-position: 50% 88%; } .oa__thumb--lake img { object-position: 50% 46%; }
/* champagne photo corners */
.oa__thumb::before, .oa__thumb::after { content: ""; position: absolute; width: 22px; height: 22px; background: linear-gradient(135deg, #e3c88e, #b8934d); pointer-events: none; }
.oa__thumb::before { left: 0; top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); } .oa__thumb::after { right: 0; bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.oa__thumb:hover { box-shadow: 0 0 0 2px #14213d, 0 8px 18px rgb(40 25 5 / .25); }
.oa__medal { flex: 0 0 auto; margin: 10px 0 0; font: 400 1rem/1.3 Georgia, "Times New Roman", serif; color: #14213d; }
.oa__medal::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0d9a4, #b8934d); vertical-align: -1px; }
.oa__words { display: grid; gap: 22px; align-content: start; padding-left: 26px; border-left: 1px solid #c2a05e; }
.oa__words p { margin: 0; font: 400 1.12rem/1.6 Georgia, "Times New Roman", serif; color: #1d2740; }
.oa[data-view="desk"] .oa__x { background: rgb(246 239 226 / .85); color: #14213d; top: 22px; right: 24px; }
.oa[data-view="desk"] .oa__x:hover { background: #e9dfcc; }
.oa[data-view="desk"] .oa__foot { border-top-color: transparent; padding-top: 12px; }

/* ---- full-photo viewer: the whole picture, nothing cropped ---- */
.oa__viewer { position: fixed; inset: 0; z-index: 5; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: 60px minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 0 4px; padding: 8px 8px 14px; background: #0b0b0d; }
.oa__vimg { grid-column: 2; grid-row: 2; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 0 0 1px #c2a05e; }
.oa__vbtn { width: 52px; height: 52px; border: 1px solid #c2a05e; border-radius: 50%; background: #17181b; color: #f6f0e4; font: 300 32px/1 Georgia, serif; cursor: pointer; }
.oa__vbtn:hover { background: #2a2b30; }
.oa__vclose { grid-column: 3; grid-row: 1; } .oa__vprev { grid-column: 1; grid-row: 2; } .oa__vnext { grid-column: 3; grid-row: 2; }
.oa__vcap { grid-column: 1 / -1; grid-row: 3; margin: 10px 0 0; text-align: center; font: 400 1rem/1.35 Georgia, "Times New Roman", serif; color: #f6f0e4; }

@media (max-width: 900px) {
  .oa { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border-width: 0; }
  .oa__main { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 16px 20px; }
  .oa__media { min-height: 0; aspect-ratio: 1 / 1; max-height: 46dvh; width: min(100%, 46dvh); justify-self: center; }
  .oa__side { padding-right: 0; }
  .oa__title { padding-right: 0; }
  .oa__pane { margin-top: 0; }
  .oa__foot { margin: 0 12px; padding: 8px 0 10px; gap: 8px; }
  .oa__back { padding: 0 4px; font-size: .95rem; white-space: nowrap; }
  .oa__cta { min-height: 48px; padding: 0 10px; font-size: 1rem; flex: 1 1 auto; white-space: nowrap; }
  .oa__album { margin: 0; padding: 62px 16px 22px; border-radius: 0; }
  .oa__albumback { position: absolute; left: 12px; top: 10px; z-index: 2; }
  .oa__albumback .oa__link { padding: 0 14px; border-radius: 999px; background: rgb(246 239 226 / .94); box-shadow: 0 0 0 1px #d8c59a; text-decoration: none; }
  .oa[data-view="desk"] .oa__x { top: 8px; right: 10px; }
  .oa[data-view="desk"] .oa__foot { border-top-color: #c2a05e; }
  .oa__albumgrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .oa__photos { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .oa__ph--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: auto; }
  .oa__ph--big .oa__thumb { aspect-ratio: 3 / 4; flex: none; }
  .oa__words { padding-left: 0; border-left: 0; }
  .oa__viewer { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 60px minmax(0, 1fr) auto auto; }
  .oa__vimg { grid-column: 1 / -1; }
  .oa__vclose { grid-column: 3; justify-self: end; } .oa__vcap { grid-row: 3; } .oa__vprev { grid-column: 1; grid-row: 4; margin-top: 8px; } .oa__vnext { grid-column: 3; grid-row: 4; margin-top: 8px; }
}
@media (min-width: 361px) and (max-width: 900px) { .oa__foot { flex-wrap: nowrap; } }
@media (prefers-reduced-motion: no-preference) { .oa__chapter, .oa__thumb, .oa__vbtn, .oa__x { transition: background-color 140ms ease, box-shadow 140ms ease, color 140ms ease; } }
