.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.35vw, 40px);
  align-items: start;
}
.adventure-card {
  display: block;
  width: 100%;
  min-width: 0;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink,#073e44);
  background: transparent;
  text-align: start;
  font: inherit;
  cursor: pointer;
  border-radius: 22px;
}
.adventure-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.5;
  border-radius: 22px;
  background: #427e85;
}
.adventure-still { display: block; width: 100%; height: 100%; object-fit: cover; }
.adventure-open {
  position: absolute;
  inset: auto 14px 14px auto;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #fff9e9;
  color: #073e44;
  font: normal 29px/.9 Arial,sans-serif;
  box-shadow: 0 3px 14px #13373825;
}
.adventure-copy { display: block; padding: 17px 1px 5px; }
.adventure-title, .adventure-caption { display: block; }
.adventure-title {
  font: 750 clamp(1.48rem, 2.05vw, 2.35rem)/1.07 var(--display,system-ui,sans-serif);
  letter-spacing: -.047em;
  text-wrap: balance;
}
.adventure-caption {
  padding-top: 9px;
  color: #41605f;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 36ch;
}
.adventure-card:focus-visible, .adventure-watch:focus-visible, .adventure-close:focus-visible {
  outline: 3px solid #287679; outline-offset: 4px;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .adventure-card img { transition: transform .32s ease-out; }
  .adventure-card:hover img { transform: scale(1.025); }
  .adventure-card:hover .adventure-open { background: #ffcf76; }
}
.adventure-modal-open { overflow: hidden; }
.adventure-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(900px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100% - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #073e44;
  background: #fffaf0;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 20px 100px #001e29a3;
}
.adventure-dialog::backdrop { background: rgb(4 31 37 / 77%); }
.adventure-detail { position: relative; display: grid; grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr); }
.adventure-dialog-art { position: relative; background: #397784; overflow: hidden; min-height: 100%; }
.adventure-dialog-art img { position: absolute; inset: 0; }
.adventure-dialog-copy { padding: clamp(37px, 4.25vw, 55px) clamp(25px, 3vw, 43px); }
.adventure-detail-title {
  margin: 0;
  color: #073e44;
  max-width: 12ch;
  font: 770 clamp(2.15rem, 4.2vw, 3.8rem)/.99 var(--display,system-ui,sans-serif);
  letter-spacing: -.055em;
}
.adventure-story { margin: 17px 0 22px; font-size: 1.015rem; line-height: 1.56; }
.adventure-notes { margin: 0 0 25px; }
.adventure-fact { padding: 11px 0; border-top: 1px solid #cbd8cf; }
.adventure-fact dt { margin: 0; font-size: .83rem; font-weight: 700; color: #48635e; }
.adventure-fact dd { margin: 3px 0 0; font-size: .97rem; line-height: 1.45; }
.adventure-close {
  position: absolute;
  display: grid;
  place-items: center;
  top: 13px; right: 13px;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid #a7beb5;
  border-radius: 50%;
  background: #fffaf0;
  color: #073e44;
  font: normal 27px/1 Arial, sans-serif;
  cursor: pointer;
}
.adventure-watch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 22px;
  background: #073e44;
  color: #fffaf0;
  text-decoration: none;
  font-weight: 650;
  font-size: .94rem;
}
.adventure-play { width: 0; height: 0; margin-left: 2px; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
@media(max-width:760px) {
  .adventure-grid { grid-template-columns: 1fr; gap: 29px; }
  .adventure-frame { aspect-ratio: 1.8; border-radius: 18px; }
  .adventure-copy { padding-top: 12px; }
  .adventure-title { font-size: clamp(1.6rem,4.6vw,2.15rem); }
  .adventure-caption { max-width: none; padding-top: 6px; }
}
@media(max-width:600px) {
  .adventure-dialog { width: calc(100% - 26px); max-height: calc(100% - 26px); border-radius: 19px; }
  .adventure-detail { grid-template-columns: 1fr; }
  .adventure-dialog-art { min-height: 0; aspect-ratio: 1.95; }
  .adventure-dialog-copy { padding: 24px; }
  .adventure-close { top: 10px; right: 10px; }
  .adventure-detail-title { max-width: 95%; }
}
