/* Outdoors hub (/outdoors/, src/pages/hubs.mjs outdoorsHub; owner 2026-11-23 "make it beautiful"): a short title, then a
   photo bento with today's calls laid on the real photos, then "Also outside" as photo rows and a ruled list. */
/* The paper grain (site.css body::after) is fixed to the screen, so a full-page capture showed it ending in a line
   across the cards one screen down. Here it covers the whole page instead (same look while scrolling). */
body.od-page { position: relative; }
body.od-page::after { position: absolute; }
.ph.od-head { padding-bottom: var(--sp-24); background: var(--paper); }
.ph.od-head h1 { margin-bottom: var(--sp-12); max-width: none; }
.ph.od-head .lede { margin: 0; }

/* The bento: the beach and the sunset big, side by side; the other four in a row under them */
.od-now { padding: 0 0 var(--sp-8); }
.od-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: var(--sp-16); }
.od-c { position: relative; min-width: 0; grid-column: span 2; display: flex; } /* the link fills the cell and grows with its words */
.od-c.od-big { grid-column: span 3; grid-row: span 1; min-height: clamp(340px, 28vw, 400px); }
.od-c > a { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--sp-48); overflow: hidden; border-radius: var(--radius); background: var(--night-2); color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 1px 2px rgba(24, 34, 46, .08); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.od-c > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.od-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.od-c > a:hover img { transform: scale(1.03); }
/* the scrim: dark at the foot where the words sit, clear over the top two thirds of the photo */
.od-c > a::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 14, 24, .9) 0%, rgba(8, 14, 24, .72) 26%, rgba(8, 14, 24, .3) 52%, rgba(8, 14, 24, 0) 72%); }
.od-t { display: grid; gap: var(--sp-4); align-content: end; padding: var(--sp-20); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.od-h { font: 400 var(--h3-card)/1.1 var(--serif); letter-spacing: -.005em; }
.od-big .od-h { font-size: var(--h2-sec); }
.od-d { font-size: .9rem; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.od-c.is-live .od-d { display: none; } /* the live call replaces the plain line */
.od-c:not(.is-live) .od-live, .od-e[hidden] { display: none; }
.od-call { display: flex; align-items: center; gap: var(--sp-12); }
.od-say { display: grid; gap: 2px; min-width: 0; }
.od-say strong { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.od-say small { font-size: .82rem; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.od-big .od-say strong { font-size: 1.12rem; }
.od-big .od-say small { font-size: .9rem; }
/* the day word: a frosted tag in the photo's top corner, so "today" vs "tomorrow" reads before anything else */
.od-when { position: absolute; top: var(--sp-16); left: var(--sp-16); padding: .3em .75em; border-radius: 999px; background: rgba(10, 20, 36, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 600 .75rem/1.2 var(--sans); letter-spacing: .02em; color: #fff; text-shadow: none; }
/* the call: the tier mark (tier.css) beside its words, for the beach and sunset cards (tiers 2026-11-23) */
.od-n.tmark { --sz: 52px; box-shadow: 0 0 0 2px rgba(255, 250, 242, .85), 0 4px 14px rgba(0, 0, 0, .35); }
@media (max-width: 560px) { .od-n.tmark { --sz: 46px; } }
.od-c .pcred { top: var(--sp-12); right: var(--sp-12); bottom: auto; left: auto; z-index: 2; }
.od-c .pcred-t { top: 34px; bottom: auto; }
/* row 2 side by side: every small card keeps room for a two-line detail, so a wrapped date can't lift one title off the row's line */
@media (min-width: 561px) { .od-c:not(.od-big) .od-say small { min-height: 2.7em; } }

/* Also outside: photo rows, then the plain ruled list */
.od-also { padding-top: var(--sp-l); }
.od-more { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr); gap: var(--sp-32); align-items: start; }
.od-pics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-16); }
.od-pics li { position: relative; min-width: 0; }
.od-pics li > a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; }
.od-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.od-pics li > a:hover img { transform: scale(1.04); }
.od-pics li > a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 14, 24, .85) 0%, rgba(8, 14, 24, .4) 45%, rgba(8, 14, 24, 0) 70%); }
.od-pt { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: var(--sp-16); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.od-pt b { font: 400 1.3rem/1.15 var(--serif); }
.od-pt small { font-size: .82rem; line-height: 1.3; color: rgba(255, 255, 255, .84); }
.od-pics .od-go { display: none; }
.od-pics .pcred { top: var(--sp-8); right: var(--sp-8); bottom: auto; left: auto; }
.od-pics .pcred-t { top: 34px; bottom: auto; }
.od-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.od-rows li { border-bottom: 1px solid var(--line); }
.od-rows a { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-16) var(--sp-4); color: var(--ink); text-decoration: none; transition: background .2s, padding .2s; }
.od-rows a:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.od-rows span { display: grid; gap: 2px; min-width: 0; }
.od-rows b { font: 400 1.3rem/1.15 var(--serif); }
.od-rows small { font-size: .82rem; line-height: 1.3; color: var(--ink-2); }
.od-go { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--tile); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.od-rows a:hover .od-go { transform: translateX(3px); }

@media (max-width: 1000px) {
  .od-more { grid-template-columns: 1fr; gap: var(--sp-24); }
}
@media (max-width: 860px) {
  .od-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: var(--sp-12); }
  .od-c { grid-column: span 1; }
  .od-c.od-big { grid-column: span 2; min-height: 300px; }
  .od-t { padding: var(--sp-16); }
}
@media (max-width: 560px) {
  .ph.od-head { padding-bottom: var(--sp-16); }
  .ph.od-head .lede { font-size: 1rem; }
  .od-c.od-big { min-height: 260px; }
  /* phones: the four smaller cards turn into full-width photo strips, words on the left over a sideways scrim */
  .od-bento { grid-auto-rows: auto; }
  .od-c:not(.od-big) { grid-column: span 2; min-height: 136px; }
  .od-c:not(.od-big) > a::after { background: linear-gradient(to right, rgba(8, 14, 24, .86) 0%, rgba(8, 14, 24, .7) 60%, rgba(8, 14, 24, .5) 100%); }
  .od-c:not(.od-big) .od-t { padding: var(--sp-16); gap: 2px; }
  .od-c:not(.od-big) .od-h { font-size: 1.3rem; }
  .od-c:not(.od-big) .od-say strong { font-size: .9rem; }
  .od-when { top: var(--sp-12); left: var(--sp-12); }
  /* phones: the photo pages become rows with a small photo, matching the ruled list under them */
  .od-pics { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .od-pics li { border-bottom: 1px solid var(--line); }
  .od-pics li > a { display: flex; align-items: center; gap: var(--sp-12); aspect-ratio: auto; padding: var(--sp-12) var(--sp-4); color: var(--ink); border-radius: 0; isolation: auto; }
  .od-pics li > a::after { content: none; }
  .od-pics img { position: static; flex: none; width: 72px; height: 56px; border-radius: var(--radius-sm); z-index: auto; }
  .od-pics li > a:hover img { transform: none; }
  .od-pt { position: static; flex: 1; padding: 0; text-shadow: none; }
  .od-pt b { font-size: 1.12rem; }
  .od-pt small { color: var(--ink-2); }
  .od-pics .od-go { display: block; }
  /* the credit shrinks to a small button on the thumbnail's bottom-right corner (72x56 at 4px, 12px in), clear of most of the photo */
  .od-pics .pcred { top: calc(var(--sp-12) + 56px - 22px); right: auto; left: calc(var(--sp-4) + 72px - 22px); }
  .od-pics .pcred summary { width: 20px; height: 20px; }
  .od-pics .pcred summary svg { width: 11px; height: 11px; }
  .od-pics .pcred-t { top: 26px; right: auto; left: 0; }
  .od-more { gap: 0; }
  .od-rows { border-top: 0; }
  .od-rows b { font-size: 1.12rem; }
  .od-rows a { padding: var(--sp-12) var(--sp-4); min-height: 56px; } /* sp-ok: the photo rows' height */
}
@media (prefers-reduced-motion: reduce) {
  .od-c img, .od-pics img, .od-c > a { transition: none; }
}

/* The answer line under the title (flagship 2026-11-25): today's calls in tier words, each a link to its page */
.od-today { margin-top: var(--sp-20); }
.od-today ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-12); }
.od-tl:not(:has(.od-e:not([hidden]))) { display: none; }
.od-tl a { display: inline-flex; align-items: center; min-height: 44px; padding: var(--sp-4) var(--sp-16) var(--sp-4) var(--sp-4); border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; font: 600 .9rem/1.2 var(--sans); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.od-tl a:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.od-tl .od-e { display: inline-flex; align-items: center; gap: var(--sp-8); }
.od-tl .od-e[hidden] { display: none; }
.od-tl .od-when { position: static; padding: var(--sp-4) var(--sp-8); background: var(--paper-2); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink-2); font: 600 .68rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.od-tm.tmark { --sz: 32px; }
/* the day word once for a run of calls on the same day (hubs.mjs todayLine and js/outdoors.js set .od-same) */
.od-tl.od-same .od-when { display: none; }
.od-today:not(:has(.od-e:not([hidden]))) { display: none; }
.od-checked { margin: var(--sp-12) 0 0; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 560px) {
  .od-today ul { display: grid; gap: var(--sp-8); }
  .od-tl a { display: flex; }
}
