/* The Scholarship Walk: an autumn path through EFF's scholarship list.
   Moments get the theatre (the opening, the doors, the 3D walk, the verse);
   the full list is a tool and stays plain. Everything reads without motion. */

:root {
  --sw-night: #140a12;
  --sw-void: #0a0508;
  --sw-plum: #2a0f2e;
  --sw-purple: #42127f;
  --sw-purple-lit: #5b1fb0;
  --sw-lilac: #b799e3;
  --sw-gold: #c9a227;
  --sw-gold-lit: #e8c65a;
  --sw-amber: #e0892e;
  --sw-rust: #b5482a;
  --sw-ember: #8f2d1e;
  --sw-parch: #f1e6c8;
  --sw-cream: #f8f2e4;
  --sw-ink: #1a1226;
  --sw-ink2: #6f6885;
  --sw-display: "Bricolage Grotesque", system-ui, sans-serif;
  --sw-ui: "Outfit", system-ui, sans-serif;
  --sw-read: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body.sw-body {
  margin: 0; background: var(--sw-night); color: var(--sw-cream);
  font-family: var(--sw-ui); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.sw-body a { color: inherit; }
.sw-body img { max-width: 100%; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sw-gold); color: var(--sw-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.sw-skip:focus { left: 12px; }
.sw-wrap { width: min(1120px, 100% - 32px); margin: 0 auto; position: relative; }
.sw-body :focus-visible { outline: 3px solid var(--sw-gold-lit); outline-offset: 3px; }

/* falling leaves sit over the scenes but fade away over the list */
.sw-leaves { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; transition: opacity .8s ease; }
.sw-body.quiet .sw-leaves { opacity: 0; }

/* header */
.sw-top { position: fixed; top: var(--eff-bar, 0px); left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; transition: background .4s, backdrop-filter .4s; }
.sw-top.solid { background: rgba(20, 10, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sw-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.sw-brand img { border-radius: 50%; flex: none; }
.sw-brand span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.sw-brand b { font-family: var(--sw-display); font-weight: 800; letter-spacing: -.02em; font-size: 16px; white-space: nowrap; }
.sw-brand small { color: var(--sw-parch); opacity: .7; font-size: 12px; }
.sw-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.sw-nav a { text-decoration: none; opacity: .85; }
.sw-nav a:hover { opacity: 1; }
.sw-cta { background: var(--sw-gold); color: var(--sw-ink) !important; opacity: 1 !important; padding: 8px 14px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.sw-saved-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--sw-ink); color: var(--sw-gold-lit); font-size: 12px; text-align: center; }
@media (max-width: 700px) { .sw-nav a:not(.sw-cta) { display: none; } .sw-brand small { display: none; } }

/* buttons */
.sw-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, var(--sw-gold-lit), var(--sw-gold)); color: var(--sw-ink); font-weight: 700; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(232, 198, 90, .6); }
.sw-btn.ghost { background: transparent; color: var(--sw-cream); border: 1px solid rgba(241, 230, 200, .4); box-shadow: none; }
.sw-btn.small { padding: 10px 16px; font-size: 15px; }
.sw-btn:hover { filter: brightness(1.06); }

.sw-kicker { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--sw-amber); margin: 0 0 12px; font-weight: 600; }
.sw-h2 { font-family: var(--sw-display); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(36px, 6vw, 76px); margin: 0 0 16px; }
.sw-h2 em { font-style: normal; color: var(--sw-gold-lit); }
.sw-sub { font-size: 18px; color: var(--sw-parch); max-width: 640px; margin: 0 0 28px; }

/* I. opening */
.sw-open { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px 0 80px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 110%, #5a1d10 0%, #2a0f1a 40%, var(--sw-void) 75%); }
.sw-open-glow { position: absolute; inset: auto -20% -40% -20%; height: 90%; background: radial-gradient(closest-side, rgba(224, 137, 46, .45), rgba(181, 72, 42, .15) 55%, transparent); animation: sw-breathe 9s ease-in-out infinite; }
@keyframes sw-breathe { 50% { transform: scale(1.08); opacity: .8; } }
.sw-open-in { position: relative; width: min(1000px, 100% - 32px); text-align: center; }
.sw-cold { font-family: var(--sw-read); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--sw-parch); margin: 0; opacity: 0; animation: sw-rise 1.2s ease forwards; }
.sw-cold.l2 { animation-delay: .9s; margin-bottom: 26px; }
.sw-cold em { color: var(--sw-amber); }
.sw-title { font-family: var(--sw-display); font-weight: 800; letter-spacing: -.045em; line-height: .9; font-size: clamp(54px, 11vw, 150px); margin: 0 0 26px; }
.sw-title span { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(40deg); animation: sw-rise 1.1s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(1.8s + var(--i) * .22s); }
.sw-title .gold { background: linear-gradient(180deg, var(--sw-gold-lit), var(--sw-amber) 70%, var(--sw-rust)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes sw-rise { to { opacity: 1; transform: none; } }
.sw-lede { max-width: 640px; margin: 0 auto 30px; font-size: 19px; color: var(--sw-parch); opacity: 0; animation: sw-rise 1s ease 2.8s forwards; }
.sw-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: sw-rise 1s ease 3.1s forwards; }
.sw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 46px auto 0; opacity: 0; animation: sw-rise 1s ease 3.4s forwards; }
.sw-stats div { border-top: 1px solid rgba(232, 198, 90, .35); padding-top: 12px; }
.sw-stats dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sw-parch); opacity: .75; }
.sw-stats dd { margin: 4px 0 0; font-family: var(--sw-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; color: var(--sw-gold-lit); }
.sw-scroll { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin: 0; }
@media (max-width: 520px) { .sw-stats { grid-template-columns: 1fr; text-align: center; } }

/* II. story */
.sw-story, .sw-help { position: relative; overflow: hidden; }
.sw-story { min-height: 110svh; display: grid; align-items: center; }
.sw-photo { position: absolute; inset: -10% 0; margin: 0; }
.sw-photo img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.08); filter: saturate(.9); }
.sw-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sw-night) 0%, rgba(42, 15, 46, .72) 30%, rgba(90, 29, 16, .7) 70%, var(--sw-night) 100%); }
.sw-story-in { position: relative; width: min(900px, 100% - 32px); margin: 0 auto; padding: 120px 0; }
.sw-lit { font-family: var(--sw-read); font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; margin: 0; }
.sw-lit span { opacity: calc(.18 + var(--lit, 1) * .82); transition: opacity .2s; }
.sw-lit em { font-style: italic; color: var(--sw-gold-lit); }

/* III. doors */
.sw-paths { padding: 120px 0; background: radial-gradient(90% 70% at 50% 0%, #3b1522, var(--sw-night) 70%); }
.sw-doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1100px; }
.sw-door { position: relative; min-height: 320px; padding: 26px 20px 24px; border-radius: 180px 180px 18px 18px; border: 1px solid rgba(232, 198, 90, .35);
  background: linear-gradient(180deg, rgba(224, 137, 46, .16), rgba(42, 15, 46, .7)), var(--sw-plum);
  color: var(--sw-cream); font: inherit; text-align: center; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .3s, border-color .3s; overflow: hidden; }
.sw-door::before { content: ""; position: absolute; inset: 14px 14px auto; height: 58%; border-radius: 160px 160px 8px 8px;
  background: radial-gradient(60% 60% at 50% 30%, rgba(232, 198, 90, .5), rgba(224, 137, 46, .15) 55%, transparent 75%), linear-gradient(180deg, #120709, #2a0f1a);
  box-shadow: inset 0 0 0 1px rgba(232, 198, 90, .25); transition: opacity .3s; }
.sw-door:hover, .sw-door:focus-visible { box-shadow: 0 30px 60px -20px rgba(224, 137, 46, .55); border-color: var(--sw-gold-lit); }
.sw-door:hover::before { background: radial-gradient(70% 70% at 50% 30%, rgba(232, 198, 90, .85), rgba(224, 137, 46, .3) 55%, transparent 80%), linear-gradient(180deg, #1c0b0e, #3b1522); }
.sw-door[aria-pressed="true"] { border-color: var(--sw-gold-lit); box-shadow: 0 0 0 2px var(--sw-gold-lit), 0 30px 60px -20px rgba(224, 137, 46, .6); }
.sw-door-n { position: absolute; top: 22%; left: 0; right: 0; font-family: var(--sw-display); font-weight: 800; font-size: 64px; letter-spacing: -.04em; color: var(--sw-gold-lit); transform: translateZ(40px); text-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
.sw-door b { font-family: var(--sw-display); font-size: 24px; letter-spacing: -.02em; position: relative; }
.sw-door small { color: var(--sw-parch); opacity: .85; font-size: 14px; position: relative; }
.sw-all { margin-top: 22px; background: none; border: 0; color: var(--sw-gold-lit); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 0; }
@media (max-width: 900px) { .sw-doors { grid-template-columns: repeat(2, 1fr); } .sw-door { min-height: 260px; } }
@media (max-width: 420px) { .sw-doors { gap: 10px; } .sw-door { min-height: 220px; padding: 20px 12px; } .sw-door-n { font-size: 46px; } .sw-door b { font-size: 19px; } .sw-door small { font-size: 12.5px; } }

/* IV. the walk: a 3D path; the section is tall and the stage stays put */
.sw-walk { position: relative; height: var(--walk-h, 2000vh); background: var(--sw-void); }
.sw-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 900px; perspective-origin: 50% 42%; }
.sw-sky { position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 50% 58%, rgba(232, 198, 90, calc(.55 - var(--p, 0) * .35)), transparent 70%),
    linear-gradient(180deg,
      hsl(calc(28 - var(--p, 0) * 70) 60% calc(22% - var(--p, 0) * 10%)) 0%,
      hsl(calc(14 - var(--p, 0) * 60) 55% calc(14% - var(--p, 0) * 6%)) 45%,
      #0b0508 100%); }
.sw-sky::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 52%;
  background: linear-gradient(180deg, transparent, rgba(10, 5, 8, .6) 30%, #0a0508 90%); }
.sw-world { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.sw-world > * { position: absolute; left: 0; top: 0; transform-style: preserve-3d; backface-visibility: hidden; }

/* the path underfoot */
.sw-floor { position: absolute; left: 50%; top: 58%; width: 1800px; height: 7000px; margin-left: -900px; transform-origin: 50% 0; transform: translate3d(0, 0, 820px) rotateX(-90deg); pointer-events: none;
  background:
    radial-gradient(4px 3px at 20% 30%, rgba(224, 137, 46, .75), transparent),
    radial-gradient(5px 4px at 70% 60%, rgba(181, 72, 42, .8), transparent),
    radial-gradient(4px 5px at 40% 80%, rgba(232, 198, 90, .6), transparent),
    linear-gradient(90deg, transparent 0 36%, rgba(120, 70, 40, .6) 41%, rgba(160, 100, 55, .7) 50%, rgba(120, 70, 40, .6) 59%, transparent 64% 100%),
    #1a0d0a;
  background-size: 150px 190px, 180px 220px, 200px 170px, 100% 100%, auto;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 80%); mask-image: linear-gradient(180deg, #000 30%, transparent 80%); }

/* trees: billboards of autumn canopy */
.sw-tree { width: 260px; height: 420px; margin: -420px 0 0 -130px; pointer-events: none; }
.sw-tree::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 45%; margin-left: -9px; background: linear-gradient(90deg, #1a0d0a, #3a2016, #1a0d0a); border-radius: 6px; }
.sw-tree::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 72%; border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(40% 38% at 30% 40%, var(--c1), transparent 70%),
    radial-gradient(42% 40% at 70% 35%, var(--c2), transparent 70%),
    radial-gradient(45% 42% at 50% 65%, var(--c3), transparent 72%),
    radial-gradient(35% 30% at 50% 20%, var(--c1), transparent 70%);
  filter: saturate(1.1); }

/* lanterns along the path */
.sw-lamp { width: 8px; height: 150px; margin: -150px 0 0 -4px; background: linear-gradient(180deg, #2a1a12, #120a08); border-radius: 3px; pointer-events: none; }
.sw-lamp::before { content: ""; position: absolute; left: 50%; top: -14px; width: 22px; height: 26px; margin-left: -11px; border-radius: 6px; background: radial-gradient(circle, #fff3c2, var(--sw-gold-lit) 40%, var(--sw-amber)); box-shadow: 0 0 40px 14px rgba(232, 198, 90, .45); }

/* a scholarship on the path */
.sw-c3 { width: 340px; margin-left: -170px; margin-top: -250px; padding: 22px 22px 18px; border-radius: 18px; color: var(--sw-ink);
  background: linear-gradient(180deg, #fbf5e6, #f1e6c8); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(201, 162, 39, .45);
  transition: opacity .25s linear; }
.sw-c3::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(224, 137, 46, .18), transparent 40%); pointer-events: none; }
.sw-c3 .amt { font-family: var(--sw-display); font-weight: 800; font-size: 44px; letter-spacing: -.04em; line-height: 1; color: var(--sw-rust); margin: 0 0 6px; }
.sw-c3 .amt.none { font-size: 22px; letter-spacing: -.01em; color: var(--sw-purple); }
.sw-c3 h3 { font-family: var(--sw-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 10px; }
.sw-c3 .note { font-size: 13.5px; line-height: 1.4; color: #4a3f5a; margin: 0 0 12px; }
.sw-c3 .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sw-c3 .go { display: inline-flex; gap: 6px; align-items: center; background: var(--sw-purple); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 999px; }
.sw-c3 .go:hover { background: var(--sw-purple-lit); }

.sw-due { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(66, 18, 127, .1); color: var(--sw-purple); }
.sw-due.soon { background: var(--sw-rust); color: #fff; }
.sw-due.today { background: #7a1010; color: #fff; }
.sw-due.closed { background: #ddd; color: #555; }
.sw-due.open { background: rgba(58, 110, 60, .14); color: #2f5b31; }
.sw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.sw-tag { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(224, 137, 46, .16); color: #7a3a14; font-weight: 600; }
.sw-star { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(66, 18, 127, .3); background: #fff; color: var(--sw-ink2); font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.sw-star[aria-pressed="true"] { background: var(--sw-gold); color: var(--sw-ink); border-color: var(--sw-gold); }

/* a month gate: an arch you walk through */
.sw-gate { width: 760px; height: 560px; margin: -560px 0 0 -380px; text-align: center; pointer-events: none; }
.sw-gate::before { content: ""; position: absolute; inset: 0; border: 22px solid var(--sw-amber); border-bottom: 0; border-radius: 380px 380px 0 0;
  border-top-color: var(--sw-gold-lit); border-left-color: var(--sw-rust); border-right-color: var(--sw-rust);
  box-shadow: 0 0 80px rgba(224, 137, 46, .35), inset 0 0 60px rgba(224, 137, 46, .25); }
.sw-gate .g-in { position: absolute; left: 0; right: 0; top: 70px; }
.sw-gate .g-k { font-size: 16px; letter-spacing: .35em; text-transform: uppercase; color: var(--sw-parch); margin: 0 0 6px; }
.sw-gate .g-m { font-family: var(--sw-display); font-weight: 800; font-size: 120px; letter-spacing: -.05em; line-height: .9; color: var(--sw-gold-lit); text-shadow: 0 10px 40px rgba(0, 0, 0, .7); margin: 0; }
.sw-gate .g-l { font-family: var(--sw-read); font-style: italic; font-size: 24px; color: var(--sw-parch); max-width: 520px; margin: 14px auto 0; }
.sw-gate .g-c { font-size: 15px; color: var(--sw-gold); margin-top: 10px; letter-spacing: .06em; }

/* a signpost with a field note */
.sw-sign { width: 300px; margin: -330px 0 0 -150px; padding: 20px 20px 18px; border-radius: 6px; color: var(--sw-cream);
  background: linear-gradient(180deg, #5b3421, #3d2215); box-shadow: 0 20px 50px -20px #000, inset 0 0 0 2px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 220, 170, .15); pointer-events: none; }
.sw-sign::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 200px; margin-left: -7px; background: linear-gradient(90deg, #24140c, #3d2215, #24140c); }
.sw-sign .s-k { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sw-gold-lit); margin: 0 0 8px; }
.sw-sign .s-h { font-family: var(--sw-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.sw-sign .s-t { font-size: 14.5px; line-height: 1.45; margin: 0; color: #f3e3cc; }

/* the end of the path */
.sw-end { width: 620px; margin: -380px 0 0 -310px; text-align: center; pointer-events: auto; }
.sw-end h3 { font-family: var(--sw-display); font-weight: 800; font-size: 64px; letter-spacing: -.04em; line-height: .95; margin: 0 0 12px; color: var(--sw-gold-lit); }
.sw-end p { font-family: var(--sw-read); font-size: 22px; color: var(--sw-parch); margin: 0 0 22px; }

.sw-hud { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sw-parch); }
.sw-hud-month { color: var(--sw-gold-lit); font-weight: 600; }
.sw-hud-bar { flex: 1; height: 3px; background: rgba(241, 230, 200, .15); border-radius: 3px; overflow: hidden; }
.sw-hud-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--sw-gold-lit), var(--sw-rust)); }
.sw-walk-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 16px 30px; text-align: center; font-size: 14px; color: var(--sw-parch); opacity: .7; }

@media (max-width: 700px) {
  .sw-c3 { width: min(300px, 78vw); margin-left: max(-150px, -39vw); padding: 18px 16px 14px; }
  .sw-c3 .amt { font-size: 36px; }
  .sw-c3 h3 { font-size: 18px; }
  .sw-gate .g-m { font-size: 92px; }
  .sw-hud { font-size: 11px; gap: 10px; }
  .sw-hud-path { display: none; }
}

/* V. field guide: leaves that turn over */
.sw-guide { padding: 120px 0; background: linear-gradient(180deg, var(--sw-void), #1f0d14 40%, var(--sw-night)); }
.sw-tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; counter-reset: tip; }
.sw-tip { perspective: 1000px; }
.sw-tip button { all: unset; box-sizing: border-box; display: block; width: 100%; min-height: 280px; cursor: pointer; position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); border-radius: 18px; }
.sw-tip button:focus-visible { outline: 3px solid var(--sw-gold-lit); outline-offset: 3px; }
.sw-tip button[aria-expanded="true"] { transform: rotateY(180deg); }
.sw-tip .f, .sw-tip .b { position: absolute; inset: 0; border-radius: 18px; padding: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.sw-tip .f { background: radial-gradient(120% 90% at 0% 0%, rgba(232, 198, 90, .35), transparent 60%), linear-gradient(160deg, var(--leaf, #b5482a), #3b1522); box-shadow: inset 0 0 0 1px rgba(232, 198, 90, .3); justify-content: space-between; }
.sw-tip .f .n { font-family: var(--sw-read); font-style: italic; font-size: 54px; color: var(--sw-gold-lit); line-height: 1; }
.sw-tip .f .h { font-family: var(--sw-display); font-weight: 800; font-size: 23px; letter-spacing: -.02em; line-height: 1.1; }
.sw-tip .f .hint { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.sw-tip .b { transform: rotateY(180deg); background: var(--sw-parch); color: var(--sw-ink); font-size: 15.5px; line-height: 1.5; justify-content: center; }
.sw-tip .b b { font-family: var(--sw-display); display: block; margin-bottom: 6px; font-size: 18px; }

/* VI. the full list: plain, fast, legible */
.sw-ledger { padding: 110px 0 90px; background: var(--sw-cream); color: var(--sw-ink); }
.sw-ledger .sw-kicker { color: var(--sw-rust); }
.sw-ledger .sw-h2 em { color: var(--sw-purple); }
.sw-ledger .sw-sub { color: #4a3f5a; }
.sw-tools { position: sticky; top: 62px; z-index: 5; background: rgba(248, 242, 228, .96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 12px 0; border-bottom: 1px solid rgba(26, 18, 38, .1); display: grid; gap: 10px; }
.sw-search input { width: 100%; font: inherit; font-size: 17px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(26, 18, 38, .2); background: #fff; color: var(--sw-ink); }
.sw-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.sw-chips button { flex: none; font: inherit; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(66, 18, 127, .25); background: #fff; color: var(--sw-ink); cursor: pointer; }
.sw-chips button[aria-pressed="true"] { background: var(--sw-purple); border-color: var(--sw-purple); color: #fff; }
.sw-row2 { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: #4a3f5a; }
.sw-sort select { font: inherit; margin-left: 6px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(26, 18, 38, .2); background: #fff; }
.sw-check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.sw-result { font-size: 14.5px; color: #4a3f5a; margin: 18px 0 6px; }
.sw-month { font-family: var(--sw-display); font-weight: 800; letter-spacing: -.02em; font-size: 26px; margin: 34px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--sw-gold); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sw-month small { font-family: var(--sw-ui); font-weight: 500; font-size: 14px; color: var(--sw-ink2); letter-spacing: 0; }
.sw-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 6px 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(26, 18, 38, .1); }
.sw-item .amt { font-family: var(--sw-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--sw-rust); line-height: 1.1; }
.sw-item .amt.none { font-size: 14px; color: var(--sw-ink2); font-family: var(--sw-ui); font-weight: 600; letter-spacing: 0; padding-top: 5px; }
.sw-item h4 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; font-weight: 600; }
.sw-item h4 a { text-decoration: none; }
.sw-item h4 a:hover { text-decoration: underline; }
.sw-item .meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.sw-item .note { margin: 8px 0 0; font-size: 14.5px; color: #4a3f5a; }
.sw-item .acts { display: flex; gap: 8px; align-items: center; }
.sw-item .go { background: var(--sw-purple); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.sw-item .go:hover { background: var(--sw-purple-lit); }
.sw-item.closed { opacity: .55; }
@media (max-width: 640px) {
  .sw-item { grid-template-columns: 1fr auto; }
  .sw-item .amt { grid-column: 1 / -1; }
  .sw-item .acts { grid-column: 2; grid-row: 2; align-self: start; flex-direction: column-reverse; }
  .sw-tools { top: 58px; }
}
.sw-empty { padding: 40px 0; font-size: 18px; color: #4a3f5a; }
.sw-mylist { margin-top: 50px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .5); }
.sw-mylist h3 { font-family: var(--sw-display); font-weight: 800; font-size: 26px; margin: 0 0 8px; letter-spacing: -.02em; }
.sw-mylist p { margin: 0; color: #4a3f5a; }
.sw-mylist-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sw-mylist-actions:not([hidden]) { display: flex; }
.sw-ledger .sw-btn.ghost { color: var(--sw-ink); border-color: rgba(26, 18, 38, .3); }
.sw-fine { margin: 34px 0 0; font-size: 14.5px; color: #4a3f5a; max-width: 760px; }
.sw-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--sw-ink); color: var(--sw-cream); padding: 12px 18px; border-radius: 12px; font-size: 15px; z-index: 60; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }

/* VII. help */
.sw-help { padding: 130px 0; }
.sw-help-in { position: relative; }
.sw-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sw-help-grid a { display: block; padding: 20px; border-radius: 16px; text-decoration: none; background: rgba(20, 10, 18, .6); box-shadow: inset 0 0 0 1px rgba(232, 198, 90, .3); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .2s, box-shadow .2s; }
.sw-help-grid a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--sw-gold-lit); }
.sw-help-grid b { display: block; font-family: var(--sw-display); font-size: 20px; letter-spacing: -.02em; color: var(--sw-gold-lit); margin-bottom: 4px; }
.sw-help-grid span { color: var(--sw-parch); font-size: 15px; }
@media (max-width: 800px) { .sw-help-grid { grid-template-columns: 1fr; } }

/* VIII. the verse, on its own */
.sw-verse { min-height: 100svh; display: grid; place-items: center; background: #000; position: relative; overflow: hidden; }
.sw-verse::before { content: ""; position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 162, 39, .3), rgba(201, 162, 39, .06) 50%, transparent); opacity: calc(var(--p, 1) * 1.3); transform: scale(calc(.6 + var(--p, 1) * .5)); }
.sw-verse blockquote { position: relative; margin: 0; padding: 0 20px; max-width: 900px; text-align: center; opacity: calc(.15 + var(--p, 1) * 1.6); }
.sw-verse p { font-family: var(--sw-read); font-style: italic; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.3; margin: 0 0 22px; color: var(--sw-parch); }
.sw-verse p em { color: var(--sw-gold-lit); }
.sw-verse cite { font-style: normal; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--sw-gold); }

.sw-foot { padding: 40px 16px 50px; text-align: center; font-size: 14px; color: var(--sw-parch); background: #000; }
.sw-foot p { margin: 4px 0; }
.sw-foot a { color: var(--sw-gold-lit); }

/* without motion: no walk, no falling leaves; the list carries everything */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw-leaves, .sw-walk, .sw-scroll { display: none; }
  .sw-cold, .sw-title span, .sw-lede, .sw-actions, .sw-stats { opacity: 1; transform: none; animation: none; }
  .sw-open-glow { animation: none; }
  .sw-lit span { opacity: 1; }
  .sw-verse::before { opacity: 1; transform: none; }
  .sw-verse blockquote { opacity: 1; }
  .sw-tip button { transition: none; }
  .sw-door { transform: none; }
}
.sw-body.still .sw-walk { display: none; }

/* print: only the list, and only my list when that is what was asked */
@media print {
  body.sw-body { background: #fff; color: #000; }
  .sw-top, .sw-leaves, .sw-open, .sw-story, .sw-paths, .sw-walk, .sw-guide, .sw-help, .sw-verse, .sw-tools, .sw-mylist, .sw-skip, .sw-toast { display: none !important; }
  .sw-ledger { padding: 0; background: #fff; }
  .sw-item { break-inside: avoid; }
  .sw-item .acts button { display: none; }
  .sw-item .go::after { content: " " attr(href); font-weight: 400; color: #000; }
  .sw-item .go { background: none; color: #000; padding: 0; }
}
