/* Twelve Walkers contents page: a year of plates. Dark only. Loaded after
   walkers-base.css by walkers/index.html alone; it loads no site stylesheet. */

body.walkers-index {
  --ink: #F0EBE1;
  --fog: #948E88;
  --stone: #B8976E;
  --dawn: #D4A87A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --ui: Lato, system-ui, sans-serif;
  --w-bg: #15130F;
  --w-ink: var(--ink);
  --w-muted: var(--fog);
  margin: 0;
  background: #15130F;
  color: var(--ink);
}
body.walkers-index *, body.walkers-index *::before, body.walkers-index *::after { box-sizing: border-box; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.cover { padding: clamp(90px, 14vh, 150px) 0 48px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: end; }
.k { font: 700 11px var(--ui); letter-spacing: .22em; color: var(--dawn); }
.cover h1 { font: 300 clamp(44px, 6.4vw, 88px)/.98 var(--serif); margin: 16px 0 0; }
.lede { font: italic 400 21px/1.5 var(--serif); color: #C9C1B6; margin: 0; }
.lede small { display: block; margin-top: 18px; font: 400 12px var(--ui); font-style: normal; color: var(--fog); letter-spacing: .04em; }

.yr { list-style: none; margin: 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.yr > li { display: flex; }

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(240, 235, 225, .06);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s;
}
.plate:hover, .plate:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 45%, transparent), 0 24px 50px rgba(0, 0, 0, .5);
}
.plate:focus-visible { outline: 2px solid var(--t); outline-offset: 3px; }
.plate svg { display: block; width: 100%; aspect-ratio: 4/3; }

.bm { opacity: .9; }
.wa { fill: #243038; stroke: none; }
.rv { fill: none; stroke: #2A3842; stroke-width: 3; stroke-linecap: round; }
.rs { fill: none; stroke: rgba(240, 235, 225, .07); stroke-width: 2; }
.mj { fill: none; stroke: rgba(240, 235, 225, .12); stroke-width: 3.4; }
.ft { fill: none; stroke: rgba(240, 235, 225, .1); stroke-width: .9; stroke-dasharray: 3 3; }
.glow { fill: none; stroke: var(--t); stroke-width: 9; opacity: .14; stroke-linecap: round; stroke-linejoin: round; filter: blur(3px); }
.rt { fill: none; stroke: var(--t); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.st { fill: var(--t); }
.plate:hover .rt, .plate:focus-visible .rt { animation: draw 2.4s cubic-bezier(.4, 0, .2, 1); }
.plate.is-drawing .rt { animation: draw 2.4s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.plate:not(.read):not(.now) .rt { opacity: .8; }

.txt { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 20px; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .18)); }
.pm { font: 700 10px var(--ui); letter-spacing: .22em; color: color-mix(in srgb, var(--t) 70%, #948E88); }
.pm em { font-style: normal; color: var(--dawn); letter-spacing: .12em; }
.ps { font: 400 23px/1.15 var(--serif); margin-top: 8px; }
.pf { font: italic 400 14.5px/1.45 var(--serif); color: #9D958B; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pd { text-wrap: balance; margin-top: auto; padding-top: 14px; font: 400 11px var(--ui); color: #8E8479; letter-spacing: .04em; }

.plate.now { box-shadow: 0 0 0 1px rgba(246, 221, 176, .35), 0 0 60px rgba(246, 221, 176, .10); }
.plate.now:hover, .plate.now:focus-visible { box-shadow: 0 0 0 1px rgba(246, 221, 176, .5), 0 24px 50px rgba(0, 0, 0, .5); }
.plate.now::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 60% at 50% 32%, rgba(246, 221, 176, .12), transparent 70%); }

.seal { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; line-height: 0; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.seal[hidden] { display: none; }
.seal svg { width: 40px; height: 40px; }
.seal .w-moon-shadow { fill: var(--bg); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(240, 235, 225, .07); padding: 40px 0 60px; margin-top: 20px; }
.foot p { font: italic 16px var(--serif); color: #8D857B; margin: 0; max-width: 520px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-store-badge, .google-play-badge { display: inline-flex; align-items: center; gap: .625rem; background: var(--ink); color: #1C1914; border-radius: 8px; padding: .625rem 1.25rem; font-family: var(--ui); font-size: .8125rem; line-height: 1.2; transition: opacity .2s; }
.app-store-badge:hover, .google-play-badge:hover { opacity: .8; }
.app-store-badge-icon { font-size: 1.25rem; line-height: 1; }
.google-play-badge-icon { width: 1.125rem; height: 1.125rem; }
.app-store-badge-text, .google-play-badge-text { display: flex; flex-direction: column; text-align: left; }
.app-store-badge-sub, .google-play-badge-sub { font-size: .625rem; opacity: .8; }
.app-store-badge-name, .google-play-badge-name { font-size: 1rem; font-weight: 700; }
.osm { font: 400 10px var(--ui); color: #867C71; margin: 0; padding-bottom: 30px; }

.almanac-footer { padding: 2rem 1.25rem 2.5rem; border-top: 1px solid rgba(240, 235, 225, .18); text-align: center; color: var(--w-muted); }
.almanac-index { margin: 0; font: 300 11px var(--ui); letter-spacing: .06em; }
.almanac-index a { color: var(--w-muted); text-decoration: none; transition: color .3s ease; }
.almanac-index a:hover, .almanac-index a:focus-visible { color: var(--w-ink); }

@media (max-width: 1080px) { .yr { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .yr { grid-template-columns: repeat(2, 1fr); } .cover { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 480px) { .yr { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .plate, .plate:hover, .plate:focus-visible { transition: none; transform: none; }
  .plate:hover .rt, .plate:focus-visible .rt, .plate.is-drawing .rt { animation: none; }
}
