/* Шахматный клуб «Филидор»: the club room (cloth green, brass) and the club book (paper, ink) take turns.
   Tokens follow the app (ui/Theme.kt). */
@font-face { font-family: "Playfair"; src: url("fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --cloth: #13201B; --cloth2: #0E1813; --surface: #1B2C25; --line: #2F4038;
  --cream: #EFE6D2; --muted: #B7AD98; --faint: #8E9A92;
  --brass: #C9A45C; --brass2: #E2C78A; --oxblood: #7A2E2A;
  --paper: #F1E8D4; --paper2: #E8DCC2; --ink: #1E1B16; --ink2: #5A5245; --rule: #CDBB98;
  --serif: "Playfair", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cloth); color: var(--cream); font: 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; }
h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.005em; }
.sc { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px; }
.sc.ink { color: #8C6A2A; }
.lede { font-size: 19px; color: var(--ink2); max-width: 640px; margin: 18px 0 0; }
.lede.light { color: var(--muted); }
.lede.small { font-size: 16px; }
.aside { font: italic 17px/1.6 var(--serif); color: var(--ink2); margin-top: 28px; }

/* the felt of the club room and the grain of the paper */
.dark { background: var(--cloth); position: relative; }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(201,164,92,.07), transparent 60%), radial-gradient(900px 500px at 90% 100%, rgba(0,0,0,.35), transparent 60%); }
.dark > * { position: relative; }
.paper { background: var(--paper); color: var(--ink); position: relative;
  background-image: radial-gradient(rgba(120,90,40,.06) 1px, transparent 1px), linear-gradient(180deg, var(--paper), var(--paper2));
  background-size: 3px 3px, 100% 100%; }
.paper h2 { color: var(--ink); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(14, 24, 19, .72); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201,164,92,.18); }
.top-in { display: flex; align-items: center; gap: 28px; height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 21px var(--serif); color: var(--cream); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--brass2); }
.top-link { text-decoration: none; color: var(--cloth); background: var(--brass); font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 999px; }

/* I. hero: a bookplate over the painting */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 110px 20px 80px; }
.hero-bg { position: absolute; inset: -4%; background: url("img/game_opera.webp?v=2") center/cover no-repeat; filter: saturate(.9) brightness(.72); transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,24,19,.15), rgba(14,24,19,.8) 78%), linear-gradient(transparent 72%, var(--cloth)); }
@keyframes drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.plate { position: relative; z-index: 1; text-align: center; max-width: 640px; padding: 46px 40px 42px; border: 1px solid rgba(201,164,92,.55);
  outline: 1px solid rgba(201,164,92,.25); outline-offset: 8px; background: rgba(14,24,19,.55); backdrop-filter: blur(3px); }
.plate .sc { margin-bottom: 10px; }
.plate h1 { font-size: clamp(64px, 11vw, 124px); font-style: italic; color: var(--cream); letter-spacing: .01em; }
.rule { display: flex; align-items: center; gap: 16px; margin: 10px auto 22px; width: min(320px, 80%); }
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.tag { font: 400 clamp(22px, 2.6vw, 30px)/1.3 var(--serif); margin: 0; color: var(--cream); }
.for { color: var(--muted); font-size: 16px; margin: 16px auto 28px; max-width: 420px; }
.founded { position: absolute; z-index: 1; bottom: 26px; left: 0; right: 0; text-align: center; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 0; }
.btn { display: inline-block; background: var(--brass); color: var(--cloth); text-decoration: none; font-weight: 600; padding: 15px 34px; border-radius: 999px; box-shadow: 0 10px 30px rgba(201,164,92,.25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(201,164,92,.35); }

/* epigraph */
.epigraph { padding: 72px 0; text-align: center; border-bottom: 1px solid var(--rule); }
.epigraph blockquote { margin: 0 auto; }
.epigraph p { font: italic clamp(30px, 4vw, 44px)/1.2 var(--serif); margin: 0; color: var(--ink); }
.epigraph cite { display: block; margin-top: 14px; font: normal 14px var(--sans); color: var(--ink2); letter-spacing: .02em; }

/* II. the evening: a sticky board and the commentary scrolling by */
.evening { padding: 96px 0 120px; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.opera { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.opera-board { position: sticky; top: 84px; }
.board-wrap { padding: 16px; border-radius: 10px; background: url("img/wood_frame.webp?v=2") center/240px; box-shadow: 0 30px 60px rgba(40,25,10,.35), inset 0 0 0 1px rgba(0,0,0,.35); }
.board { display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; border: 1px solid rgba(0,0,0,.45); }
.sqr { position: relative; background-size: 120px; }
.sqr.l { background-image: url("img/wood_light.webp?v=2"); }
.sqr.d { background-image: url("img/wood_dark.webp?v=2"); }
.sqr.hl::after { content: ""; position: absolute; inset: 0; background: rgba(201,164,92,.42); }
.sqr img { position: absolute; left: 6%; bottom: 4%; width: 88%; z-index: 1; transition: opacity .2s; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.sqr .co { position: absolute; font: 600 10px var(--sans); opacity: .65; z-index: 2; }
.sqr .co.f { right: 3px; bottom: 1px; } .sqr .co.r { left: 3px; top: 1px; }
.sqr.l .co { color: #8A6440; } .sqr.d .co { color: #F1E2C4; }
.board-cap { text-align: center; font: italic 18px var(--serif); color: var(--ink2); margin: 16px 0 0; min-height: 1.6em; }
.moves { list-style: none; padding: 0; margin: 0; }
.mv { padding: 26px 0 26px 22px; border-left: 2px solid var(--rule); transition: border-color .3s, opacity .3s; opacity: .55; }
.mv.on { border-color: var(--brass); opacity: 1; }
.mv .san { font: 700 15px var(--sans); color: #8C6A2A; letter-spacing: .02em; }
.mv p { margin: 6px 0 0; font: 19px/1.55 var(--serif); color: var(--ink); }
.mv.end p { font-style: italic; }
.mv .more { display: inline-block; margin-top: 14px; font: 600 14px var(--sans); color: #8C6A2A; text-decoration: none; }

/* III. method */
.method { padding: 110px 0; }
.method-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps .num { font: italic 30px/1 var(--serif); color: var(--brass); }
.steps b { display: block; font: 400 23px var(--serif); }
.steps em { display: block; font-style: normal; color: var(--muted); margin-top: 4px; }
.coach { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 18px 20px; border: 1px solid rgba(201,164,92,.35); border-radius: 16px; background: rgba(201,164,92,.06); }
.coach img { border-radius: 50%; border: 2px solid var(--brass); flex: none; }
.coach p { margin: 0; font: italic 18px/1.5 var(--serif); color: var(--cream); }
.phone { border-radius: 34px; overflow: hidden; border: 1.5px solid rgba(201,164,92,.6); box-shadow: 0 40px 80px rgba(0,0,0,.55); background: var(--cloth); }
.method-phone .phone { width: min(320px, 100%); margin: 0 auto; transform: rotate(2deg); }

/* IV. programme as a table of contents */
.programme { padding: 110px 0; }
.programme h2 { margin-bottom: 36px; }
.toc-row { display: flex; align-items: baseline; gap: 14px; margin-top: 26px; }
.toc-k { font: 600 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8C6A2A; flex: none; width: 110px; }
.toc-t { font: 400 clamp(24px, 3vw, 32px) var(--serif); flex: none; }
.dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-6px); min-width: 20px; }
.toc-n { font: italic 18px var(--serif); color: var(--ink2); flex: none; }
.toc-sub { margin: 6px 0 0 124px; color: var(--ink2); font-size: 15px; }
.soon { opacity: .5; }

/* V. library */
.library { padding: 110px 0 100px; }
.wall { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 36px 32px; margin: 56px 0 64px; }
.frame { margin: 0; padding: 12px; background: linear-gradient(135deg, #6E5426, #C9A45C 30%, #8A6A2E 55%, #E2C78A 75%, #7A5C27); box-shadow: 0 24px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.4); }
.frame img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border: 3px solid #1a1206; }
.frame figcaption { margin: 12px -12px -12px; padding: 10px 14px; background: var(--cloth2); font: 20px var(--serif); color: var(--cream); text-align: center; }
.frame figcaption span { display: block; font: 600 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 2px; }
.f1 { grid-row: span 2; align-self: center; }
.f1 img { aspect-ratio: 4 / 5; }
.cameos { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 18px; scrollbar-width: none; }
.cameos::-webkit-scrollbar { display: none; }
.cameos figure { margin: 0; flex: none; width: 104px; text-align: center; }
.cameos img { width: 104px; height: 130px; object-fit: cover; border-radius: 50% / 50%; border: 2px solid var(--brass); filter: sepia(.25); }
.cameos figcaption { font: 15px var(--serif); color: var(--muted); margin-top: 8px; }

/* VI. on this day */
.today { padding: 96px 0; text-align: center; }
.today-card { display: flex; gap: 28px; align-items: baseline; justify-content: center; text-align: left; margin-top: 8px; }
.today .year { font: italic clamp(64px, 9vw, 104px)/1 var(--serif); color: #8C6A2A; flex: none; }
.today-card p { font: clamp(20px, 2.3vw, 26px)/1.4 var(--serif); margin: 0; max-width: 480px; }

/* VII. rules plaque */
.rules { padding: 100px 20px; display: grid; place-items: center; }
.plaque { width: min(620px, 100%); padding: 44px 46px; text-align: center; border: 2px solid var(--brass); outline: 1px solid rgba(201,164,92,.4); outline-offset: 7px;
  background: linear-gradient(180deg, rgba(201,164,92,.08), rgba(201,164,92,.02)); }
.plaque ol { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; }
.plaque li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid rgba(201,164,92,.18); font: 20px/1.4 var(--serif); }
.plaque li:last-child { border-bottom: 0; }
.plaque li span { font: italic 20px var(--serif); color: var(--brass); }

/* VIII. join: a membership card */
.join { padding: 110px 0 120px; }
.join-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticket { background: #FBF5E6; color: var(--ink); border-radius: 14px; padding: 28px 30px; box-shadow: 0 30px 60px rgba(60,40,15,.25), inset 0 0 0 1px rgba(140,106,42,.35); transform: rotate(-2.5deg);
  background-image: radial-gradient(rgba(140,106,42,.07) 1px, transparent 1px); background-size: 4px 4px; position: relative; }
.ticket::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(140,106,42,.4); border-radius: 8px; pointer-events: none; }
.t-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(140,106,42,.35); }
.t-head .sc { margin: 0; font-size: 10px; }
.t-title { font: italic 30px/1.1 var(--serif); margin: 2px 0 0; }
.t-no { margin-left: auto; font: 600 13px var(--sans); color: var(--oxblood); }
.t-row { display: flex; align-items: baseline; gap: 12px; padding: 14px 0 6px; border-bottom: 1px dashed rgba(140,106,42,.35); font-size: 14px; color: var(--ink2); }
.t-row b { margin-left: auto; font: 400 20px var(--serif); color: var(--ink); }
.t-row .line { flex: 1; }
.t-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font: italic 17px var(--serif); color: var(--oxblood); }
.seal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #a3433d, var(--oxblood) 60%, #4d1b18); color: #F3D9C2; font: italic 26px var(--serif); box-shadow: 0 4px 10px rgba(80,20,15,.35); transform: rotate(-12deg); }
.join-text h2 { margin-bottom: 4px; }
.join-text .btn { margin-top: 30px; }
.os { color: var(--ink2); font-size: 14px; margin-top: 14px; }

/* footer */
.foot { background: var(--cloth2); border-top: 1px solid var(--line); padding: 28px 0 30px; color: var(--faint); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.foot-in span { margin-right: auto; }
.foot a { color: var(--muted); }
.credit { font-size: 12px; margin-top: 14px; }

/* gentle appearance */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-bg { animation: none; } html { scroll-behavior: auto; } }

/* small screens */
@media (max-width: 960px) {
  .nav { display: none; }
  .top-link { margin-left: auto; }
  .opera { grid-template-columns: 1fr; gap: 24px; }
  .opera-board { top: 58px; z-index: 5; background: var(--paper); padding: 10px 20px 8px; margin: 0 -20px; box-shadow: 0 12px 16px -12px rgba(60,40,15,.35); }
  .board-wrap { padding: 7px; width: min(300px, 78vw); margin: 0 auto; }
  .board-cap { font-size: 15px; margin-top: 8px; }
  .method-in, .join-in { grid-template-columns: 1fr; gap: 44px; }
  .method-phone .phone { width: 250px; }
  .wall { grid-template-columns: 1fr 1fr; gap: 22px; }
  .f1 { grid-row: auto; grid-column: span 2; }
  .f1 img { aspect-ratio: 3 / 2; }
  .toc-k { width: auto; }
  .toc-row { flex-wrap: wrap; }
  .toc-sub { margin-left: 0; }
  .today-card { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .ticket { transform: rotate(-1.5deg); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .plate { padding: 34px 22px 32px; }
  .wall { grid-template-columns: 1fr; }
  .f1 { grid-column: auto; }
  .plaque { padding: 32px 22px; }
  .plaque li { font-size: 18px; }
  .mv p { font-size: 18px; }
}

/* ---- v3: halls, scale, finale, the wall ---- */
.center { text-align: center; margin-inline: auto; }
.sec-head.center .lede { margin-inline: auto; }
.top-link { transition: opacity .3s, transform .3s; }
.top-link.away { opacity: 0; transform: translateY(-6px); pointer-events: none; }

.club { padding: 110px 0 120px; }
.halls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.hall { background: #FBF5E6; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; padding-bottom: 22px; box-shadow: 0 18px 40px rgba(60,40,15,.12); transition: transform .25s; }
.hall:hover { transform: translateY(-4px); }
.hall-img { aspect-ratio: 16 / 10; background: center/cover; filter: sepia(.15); }
.hall-k { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8C6A2A; margin: 18px 20px 6px; }
.hall h3 { font-size: 25px; margin: 0 20px 8px; color: var(--ink); }
.hall p:last-child { margin: 0 20px; color: var(--ink2); font-size: 15px; }

.scale { padding: 64px 0; border-block: 1px solid rgba(201,164,92,.25); }
.scale-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.scale b { display: block; font: italic clamp(46px, 6vw, 72px)/1 var(--serif); color: var(--brass); }
.scale span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }

.finale { padding: 110px 0; }
.finale-in { display: grid; grid-template-columns: .95fr 1fr; gap: 64px; align-items: center; }
.step { margin-top: 30px; min-height: 120px; padding-left: 20px; border-left: 2px solid var(--brass); }
.step-k { font: 700 15px var(--sans); color: #8C6A2A; }
.step p { margin: 6px 0 0; font: 21px/1.5 var(--serif); color: var(--ink); }
.fin-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.fin-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #FBF5E6; color: var(--ink); font: 24px/1 var(--serif); cursor: pointer; }
.fin-ctrl button:hover { border-color: var(--brass); }
.dots-row { display: flex; gap: 8px; }
.dots-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); transition: background .3s, transform .3s; }
.dots-row i.on { background: var(--brass); transform: scale(1.3); }
.finale-board .board-wrap { max-width: 520px; margin-left: auto; }
.sqr img.moved { animation: land .5s ease; }
@keyframes land { from { transform: translateY(-8%) scale(1.06); opacity: .5; } to { transform: none; opacity: 1; } }

.library .wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 52px 0 56px; }
.tile { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 6px; border: 1px solid rgba(201,164,92,.35); background: var(--cloth2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: saturate(.85) brightness(.85); }
.tile figcaption { position: absolute; inset: auto 0 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(10,16,13,.92)); font: 14px/1.25 var(--serif); color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.tile figcaption span { display: block; font: 600 9px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass2); margin-bottom: 2px; }
.tile:hover img { transform: scale(1.08); filter: none; }
.tile:hover figcaption { opacity: 1; transform: none; }
.tile .yr { position: absolute; top: 6px; left: 8px; font: italic 13px var(--serif); color: rgba(239,230,210,.85); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.cameos { justify-content: center; }

@media (max-width: 960px) {
  .halls { grid-template-columns: 1fr 1fr; }
  .scale-in { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .finale-in { grid-template-columns: 1fr; gap: 36px; }
  .finale-board .board-wrap { margin: 0 auto; max-width: 420px; }
  .library .wall { grid-template-columns: repeat(4, 1fr); }
  .tile figcaption { opacity: 1; transform: none; font-size: 12px; padding-top: 18px; }
  .tile figcaption span { display: none; }
}
@media (max-width: 520px) {
  .halls { grid-template-columns: 1fr; }
  .scale-in { grid-template-columns: 1fr 1fr; }
  .library .wall { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tile figcaption { display: none; }
}
@media (min-width: 961px) { .library .cameos { flex-wrap: wrap; justify-content: center; overflow: visible; } }

.finale-in { grid-template-areas: "head board" "body board"; grid-template-rows: auto 1fr; row-gap: 0; }
.fin-head { grid-area: head; } .finale-board { grid-area: board; align-self: center; } .fin-body { grid-area: body; }
@media (max-width: 960px) {
  .finale-in { grid-template-areas: "head" "board" "body"; row-gap: 26px; }
  .step { margin-top: 0; min-height: 110px; }
}

/* ---- v4: the concept ---- */
.concept { padding: 110px 0; }
.concept-in { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; }
.patron { margin: 0; text-align: center; }
.patron img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% / 46%; border: 3px solid var(--brass); outline: 1px solid rgba(201,164,92,.4); outline-offset: 8px; filter: sepia(.2); }
.patron figcaption { margin-top: 20px; font: 20px/1.3 var(--serif); color: var(--cream); }
.patron figcaption span { font: italic 16px var(--serif); color: var(--brass); }
.concept h2 { font-size: clamp(30px, 3.8vw, 46px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 40px 0 8px; }
.pillars div { border-top: 2px solid var(--brass); padding-top: 14px; }
.pillars b { display: block; font: italic 26px var(--serif); font-weight: 400; color: var(--brass2); }
.pillars span { display: block; color: var(--muted); margin-top: 6px; font-size: 15px; }
@media (max-width: 960px) {
  .concept-in { grid-template-columns: 1fr; gap: 40px; }
  .patron { width: 220px; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; gap: 18px; }
}
.today + .join { border-top: 1px solid var(--rule); }

/* ---- v5: join + store badges ---- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 16px 0 12px; border-radius: 12px; background: #0b0b0b; color: #fff; border: 1px solid rgba(255,255,255,.28); opacity: .78; cursor: default; }
.store span { display: flex; flex-direction: column; font: 600 17px/1.05 var(--sans); letter-spacing: -.01em; }
.store small { font: 500 10px/1.2 var(--sans); letter-spacing: .02em; opacity: .85; }
.store .apple { width: 24px; height: 24px; }
.rs-mark { width: 26px; height: 26px; border-radius: 7px; background: #0077FF; color: #fff; display: grid; place-items: center; font: 800 15px var(--sans); }
.join { padding: 110px 0 120px; text-align: center; }
.join-c h2 { margin: 18px 0 34px; }
.join-knight { margin: 0 auto; filter: drop-shadow(0 6px 8px rgba(60,40,15,.3)); }
.paper .store { border-color: transparent; }

.store-ico { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.concept h2 + .lede { margin-top: 26px; }

/* ---- v8: the app icon above the final call ---- */
.app-card { margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.app-card img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 22px 44px rgba(60,40,15,.32), 0 0 0 1px rgba(140,106,42,.25); }
.app-card b { display: block; font: italic 30px/1.1 var(--serif); font-weight: 400; color: var(--ink); }
.app-card span { display: block; font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8C6A2A; margin-top: 6px; }
.join-c h2 { margin-top: 40px; }
