/* ONCE Originals: a journey's page (with home.css for the title card), and the band on the home page. */

/* the band on the home page: three journeys, tall photographs */
.og { padding: var(--section) 0; background: var(--ink); scroll-margin-top: 120px; }
.og-h { max-width: 720px; margin-bottom: 56px; }
.og-h .lede { margin-top: 22px; color: rgba(243, 238, 228, .82); }
.og-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.og-c a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.og-c figure { margin: 0 0 20px; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 2px; background: var(--ink-2); }
.og-c img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--settle); }
.og-c a:hover img { transform: scale(1.04); }
.og-n { margin: 0 0 10px; color: var(--amber); }
.og-c p:not(.og-n) { margin: 12px 0 20px; font-size: 15px; line-height: 1.55; color: rgba(243, 238, 228, .74); }
.og-c a:hover .wc-go { color: var(--ivory); border-color: var(--ivory); }
@media (max-width: 960px) {
  .og-l { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 72vw); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--side)); padding: 0 var(--side); scroll-padding: 0 var(--side); scrollbar-width: none; }
  .og-l::-webkit-scrollbar { display: none; }
  .og-c { scroll-snap-align: start; }
}

/* a journey's title card */
.oh { min-height: 100svh; }
.oh-t { margin: 18px 0 0; color: var(--ivory); }
.oh-go { margin-top: 32px; }

/* how it unfolds */
.os { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-top: var(--section); padding-bottom: var(--section); }
.os-aside { margin: 40px 0 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.os-aside img { width: 100%; height: 100%; object-fit: cover; }
.os-l { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.os-l li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.os-l li:last-child { border-bottom: 1px solid var(--line); }
.os-n { grid-row: span 2; font: 500 12px/1.9 var(--sans); letter-spacing: .2em; color: var(--amber); }
.os-l b { font: 400 clamp(24px, 2.2vw, 32px)/1.15 var(--serif); }
.os-l span:last-child { margin-top: 8px; color: rgba(243, 238, 228, .74); }
@media (max-width: 860px) { .os { grid-template-columns: none; } }

/* where: the places, chosen like a radio */
.od { padding: 0 0 var(--section); }
.od .lede { margin: 18px 0 40px; color: rgba(243, 238, 228, .8); }
.od-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.ot { position: relative; }
.ot input { position: absolute; opacity: 0; pointer-events: none; }
.ot label { display: flex; flex-direction: column; height: 100%; padding: 0 0 20px; cursor: pointer; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.ot-f { display: block; position: relative; margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .3s; }
.ot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--settle), filter .4s; filter: saturate(.75) brightness(.85); }
.ot label:hover img, .ot input:checked + label img { filter: none; transform: scale(1.03); }
.ot input:checked + label { border-color: var(--amber); }
.ot input:checked + label .ot-f { outline-color: var(--amber); }
.ot input:focus-visible + label .ot-f { outline: 2px solid var(--amber); }
.ot-r { color: var(--amber); }
.ot-t { margin-top: 8px; font: 400 clamp(24px, 2vw, 30px)/1.1 var(--serif); }
.ot-l { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgba(243, 238, 228, .74); }
.ot-s { margin: 14px 0 0; color: rgba(243, 238, 228, .55); }
.ot-pick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(243, 238, 228, .7); background: rgba(14, 13, 12, .4); }
.ot input:checked + label .ot-pick { background: var(--amber); border-color: var(--amber); box-shadow: inset 0 0 0 4px var(--ink); }

/* the shaper */
.ox { padding: var(--section) 0; background: var(--ivory); color: var(--ink); scroll-margin-top: 70px; }
.ox .wd-n { color: var(--ink); }
.ox .wd-n span { color: var(--amber-deep); }
.ox .wd-n span::after { background: var(--amber-deep); }
.ox .k { color: #6b6156; }
.ox-in { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.ox-f { display: grid; gap: 36px; }
.ox-row { margin: 0; padding: 0; border: 0; min-width: 0; }
.ox-row legend { padding: 0; }
.ox-f input[type="range"] { width: 100%; margin: 4px 0 0; accent-color: var(--amber-deep); height: 28px; cursor: pointer; }
.ox-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; justify-content: space-between; }
.ox-ticks li { padding: 10px 0; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8b8177; cursor: pointer; }
.ox-ticks li.on { color: var(--ink); }
.ox-line { margin: 18px 0 0; font: 300 italic clamp(22px, 2vw, 28px)/1.35 var(--serif); min-height: 2.7em; }
.ox-n, .ox-as { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ox-n input { position: absolute; opacity: 0; pointer-events: none; }
.ox-n label, .ox-a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 44px; border: 1px solid rgba(14, 13, 12, .3); background: none;
  font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.ox-n label:hover, .ox-a:hover { border-color: var(--ink); }
.ox-n input:checked + label, .ox-a[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.ox-n input:focus-visible + label { outline: 1px solid var(--amber-deep); outline-offset: 3px; }
.ox-a[aria-pressed="true"]::before { content: "✓"; margin-right: 8px; color: var(--amber); }
.ox-g { display: inline-flex; align-items: center; border: 1px solid rgba(14, 13, 12, .3); border-radius: 44px; height: 48px; }
.ox-g button { width: 48px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.ox-g input { width: 56px; text-align: center; border: 0; background: none; font: 400 24px/1 var(--serif); color: var(--ink); -moz-appearance: textfield; }
.ox-g input::-webkit-inner-spin-button, .ox-g input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ox-sum { padding: 28px; border: 1px solid rgba(14, 13, 12, .18); border-radius: 4px; background: #fbf8f2; }
.ox-out { margin: 0 0 24px; font: 400 clamp(22px, 2vw, 28px)/1.35 var(--serif); }
.ox-sum .pill { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.ox-sum .pill:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.ox-sum .note { color: #6b6156; }
@media (max-width: 860px) { .ox-in { grid-template-columns: none; } }

/* the other Originals */
.og-next { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-top: 64px; padding-bottom: 64px; }
.og-next a { display: grid; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.og-next a:hover .d3 { color: var(--amber); }
@media (max-width: 760px) { .og-next { grid-template-columns: none; } }
.ox-row > label.k { display: block; }
