/* Website demos: gallery (/website-demos/) and full-screen viewer (/website-demos/<slug>/) */
.dmo__intro { text-align: center; max-width: 720px; margin: 8px auto 28px; }
.dmo__intro h1 { margin: 14px 0 12px; }
.dmo__intro p { color: var(--muted); font-size: 17px; margin: 0; }
.dmo__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 30px; }
.dmo__chips button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.dmo__chips button:hover { border-color: var(--maroon); }
.dmo__chips .is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dmo__pick { text-align: center; color: var(--muted); margin: -12px 0 26px; font-size: 15px; }
.dmo__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dmo__group[hidden] { display: none; }
.dmo__group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.dmo__gh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.dmo__name { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0; }
.dmo__cat { font-size: 13px; font-weight: 600; color: #8A6A1F; white-space: nowrap; }
.dmo__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dmo__card { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: 12px; overflow: hidden; background: var(--sand); }
.dmo__shot { display: block; overflow: hidden; }
.dmo__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .35s ease; }
.dmo__card:hover .dmo__shot img, .dmo__card:focus-visible .dmo__shot img { transform: scale(1.04); }
.dmo__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.dmo__d { font-weight: 700; font-size: 15px; }
.dmo__p { color: var(--muted); font-size: 13px; line-height: 1.45; flex: 1; }
.dmo__view { margin-top: 6px; align-self: flex-start; background: var(--maroon); color: var(--white); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.dmo__note { text-align: center; color: var(--soft); font-size: 13px; margin: 22px 0 0; }
.dmo__cta { margin-top: 40px; background: var(--maroon); color: var(--white); border-radius: 22px; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.dmo__cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 0 0 6px; }
.dmo__cta p { margin: 0; opacity: .88; max-width: 560px; }
.dmo__cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 980px) { .dmo__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 600px) {
  .dmo__group { padding: 12px; }
  .dmo__pair { gap: 10px; }
  .dmo__p { display: none; }
  .dmo__name { font-size: 20px; }
  .dmo__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .dmo__chips button { flex: none; }
  .dmo__cta { padding: 24px 20px; }
}

/* ----- viewer ----- */
.dv { position: fixed; inset: 0; display: flex; flex-direction: column; background: #2A1A1D; }
.dv__bar { flex: none; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 16px; background: #1E1214; color: var(--white); }
.dv__back { display: flex; align-items: center; gap: 4px; color: var(--sandal); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.dv__chev { transform: rotate(90deg); }
.dv__logo img { display: block; height: 26px; width: auto; }
.dv__t { min-width: 0; line-height: 1.25; }
.dv__t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv__t small { display: block; color: var(--sandal); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv__ds { display: flex; gap: 4px; }
.dv__ds a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.dv__ds a.is-on { background: var(--white); color: var(--ink); box-shadow: none; }
.dv__dev { margin-left: auto; display: flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px; }
.dv__dev button { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--white); background: none; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.dv__dev .is-on { background: var(--white); color: var(--ink); }
.dv__next { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: .85; }
.dv__next:hover { opacity: 1; }
.dv__dev[hidden] + .dv__full { margin-left: auto; }
.dv__full { color: var(--white); text-decoration: none; font-size: 18px; line-height: 1; opacity: .75; padding: 6px; }
.dv__full:hover { opacity: 1; }
.dv__want, .dv__wa { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.dv__s { display: none; }
.dv__stage { flex: 1; min-height: 0; display: flex; justify-content: center; overflow: hidden; }
.dv__frame { width: 100%; height: 100%; transition: width .35s ease; }
.dv__frame iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white); }
.dv--mob .dv__stage { padding: 24px 0; overflow: auto; }
.dv--mob .dv__frame { width: 414px; height: min(844px, 100%); border: 12px solid #0E0809; border-radius: 42px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
@media (max-width: 1100px) { .dv__t small, .dv__next { display: none; } }
@media (max-width: 699px) { .dv__full { display: none; } }
@media (max-width: 860px) {
  .dv__logo, .dv__back span { display: none; }
  .dv__want { margin-left: auto; }
}
@media (max-width: 560px) {
  .dv__bar { gap: 10px; padding: 0 10px; height: 56px; }
  .dv__t b { font-size: 14px; }
  .dv__l { display: none; }
  .dv__s { display: inline; }
  .dv__want, .dv__wa { padding: 9px 12px; }
}
