/* ============================================================
   COMMONS — component & view styles
   ============================================================ */

/* ---------- Stage / page transition ---------- */
.stage { min-height: 70vh; }
.stage.entering .view { animation: viewIn .5s var(--ease) both; }
.stage.leaving { opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
@keyframes viewIn { from { transform: translateY(12px); } to { transform: none; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { display: grid; place-items: center; transition: transform .4s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-22deg); }
.logo-word { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: 6px; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: 9px;
  font-weight: 600; font-size: 15px; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: var(--card); }
.nav-link[data-on="true"] { color: var(--ink); }
.nav-ink {
  position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--spring);
}
.nav-link[data-on="true"] .nav-ink { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-loc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 7px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line);
  transition: all .2s;
}
.nav-loc:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav-loc .icon { color: var(--accent); }
.nav-icon { width: 38px; height: 38px; border-radius: 100px; display: grid; place-items: center; color: var(--ink-soft); transition: all .2s; }
.nav-icon:hover { background: var(--card); color: var(--ink); }

@media (max-width: 880px) {
  .nav-links, .nav-loc, .nav-host span { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 58px 0 30px; position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 78% 8%, color-mix(in oklch, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(50% 60% at 8% 90%, color-mix(in oklch, var(--sage) 10%, transparent), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-title { font-size: clamp(48px, 6vw, 82px); line-height: .98; font-weight: 400; margin: 18px 0 0; letter-spacing: -0.025em; }
.hero-title .italic { color: var(--accent); }
.hero-sub { font-size: 19px; line-height: 1.5; color: var(--ink-soft); max-width: 30em; margin-top: 22px; text-wrap: pretty; }
.hero-search {
  display: flex; align-items: center; gap: 10px; margin-top: 30px;
  background: var(--card); border-radius: 100px; padding: 7px 7px 7px 18px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
  max-width: 480px;
}
.hero-search .icon { color: var(--ink-faint); }
.hero-search input { flex: 1; border: none; background: none; outline: none; font-size: 16px; }
.hero-search input::placeholder { color: var(--ink-faint); }
.hero-stats { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 14.5px; color: var(--ink-soft); }
.hero-stats b { color: var(--ink); font-weight: 700; }
.hero-stats .dot { width: 4px; height: 4px; border-radius: 100px; background: var(--line-strong); }

.hero-deck { position: relative; height: 420px; }
.deck-card { position: absolute; width: 60%; cursor: pointer; animation: pop .7s var(--spring) both; transition: transform .4s var(--spring), box-shadow .4s; box-shadow: var(--shadow-lg); border-radius: 16px; }
.deck-card .cover { box-shadow: none; }
.deck-0 { top: 4%; left: 2%; transform: rotate(-6deg); z-index: 3; }
.deck-1 { top: 0; right: 0; transform: rotate(5deg); z-index: 2; }
.deck-2 { bottom: 0; left: 18%; transform: rotate(-2deg); z-index: 1; }
.hero-deck:hover .deck-0 { transform: rotate(-8deg) translateY(-6px); }
.hero-deck:hover .deck-1 { transform: rotate(7deg) translateY(-4px); }
.deck-card:hover { transform: rotate(0deg) translateY(-10px) scale(1.04) !important; z-index: 5; }
.deck-cat { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; background: rgba(0,0,0,.32); color: #fff; padding: 4px 8px; border-radius: 100px; backdrop-filter: blur(4px); }
.deck-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; }
.deck-foot b { display: block; font-size: 17px; font-weight: 500; line-height: 1.1; }
.deck-foot span { font-size: 11.5px; opacity: .85; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-deck { display: none; }
}

/* ---------- Filter bar ---------- */
.filterbar {
  position: sticky; top: 68px; z-index: 40;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 0; margin: 14px 0 8px;
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filter-days { display: flex; gap: 2px; background: var(--card); padding: 3px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.seg { padding: 7px 14px; border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--ink-faint); transition: all .2s; }
.seg:hover { color: var(--ink); }
.seg[data-on="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 38px 0 20px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 400; letter-spacing: -0.02em; }
.section-count { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }

/* ---------- Feature event ---------- */
.feature-wrap { margin-top: 22px; }
.feature { display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); transition: box-shadow .4s, transform .4s var(--ease); }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-cover { min-height: 420px; display: flex; align-items: flex-end; }
.feature-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 45%, transparent 78%); }
.feature-content { position: relative; padding: 48px; max-width: 640px; color: #fff; }
.feature-flag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); padding: 6px 12px; border-radius: 100px; }
.feature-title { font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.02; margin: 18px 0 0; letter-spacing: -0.02em; }
.feature-blurb { font-size: 18px; line-height: 1.5; opacity: .92; margin-top: 16px; max-width: 34em; text-wrap: pretty; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14.5px; opacity: .92; }
.feature-meta span { display: inline-flex; align-items: center; gap: 7px; }
.feature-actions { display: flex; gap: 12px; margin-top: 28px; }
.feature-save { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.feature-save:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.feature-save.on { background: #fff; color: var(--ink); }
.feature-save.on .icon { fill: var(--accent); stroke: var(--accent); }

@media (max-width: 720px) { .feature-content { padding: 28px; } .feature-cover { min-height: 360px; } }

/* ---------- Event grid + card ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ev-grid { grid-template-columns: 1fr; } }

.ev-card { cursor: pointer; animation: rise .6s var(--ease) both; }
.ev-cover { box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.ev-card:hover .ev-cover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ev-cover-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.ev-date-chip { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; line-height: 1.05; background: var(--card); border-radius: 10px; padding: 7px 11px; box-shadow: var(--shadow-sm); }
.ev-date-chip b { font-size: 19px; font-weight: 700; }
.ev-date-chip span { font-size: 10px; font-family: var(--mono); text-transform: uppercase; color: var(--ink-faint); letter-spacing: .08em; }
.ev-fav { width: 34px; height: 34px; border-radius: 100px; background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: all .25s var(--spring); }
.ev-fav:hover { background: rgba(0,0,0,.4); transform: scale(1.1); }
.ev-fav.on { background: #fff; color: var(--accent); }
.ev-fav.on .icon { fill: var(--accent); }
.ev-cover-cat { position: absolute; bottom: 12px; left: 12px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,.3); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 100px; }
.ev-body { padding: 16px 4px 4px; }
.ev-title { font-size: 20px; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; text-wrap: pretty; }
.ev-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.ev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta .icon { color: var(--ink-faint); }
.ev-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.ev-host { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.ev-price { font-weight: 700; font-size: 14px; }
.ev-price[data-free="true"] { color: var(--sage); }

.empty { text-align: center; padding: 60px; color: var(--ink-faint); font-size: 16px; }

/* ---------- Event detail ---------- */
.view { padding-bottom: 80px; }
.back { display: inline-flex; align-items: center; gap: 7px; margin: 26px 0 18px; font-weight: 600; font-size: 14px; color: var(--ink-soft); padding: 8px 14px 8px 10px; border-radius: 100px; transition: all .2s; }
.back:hover { color: var(--ink); background: var(--card); gap: 10px; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
.detail-cover { box-shadow: var(--shadow-md); display: flex; align-items: flex-end; }
.detail-cat { margin: 16px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,.3); padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.detail-title { font-size: clamp(30px, 4vw, 46px); font-weight: 400; line-height: 1.05; margin-top: 8px; letter-spacing: -0.02em; }
.detail-blurb { font-size: 20px; line-height: 1.5; color: var(--ink-soft); margin-top: 14px; font-family: var(--serif); }
.detail-section { margin-top: 34px; }
.detail-section h3 { font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 12px; }
.detail-section p { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
.detail-host { display: flex; align-items: center; gap: 16px; padding: 18px; margin-top: 30px; }
.detail-host > div { flex: 1; }
.detail-host .kicker { display: block; }
.detail-host b { font-size: 18px; font-weight: 500; display: block; margin: 2px 0 3px; }
.detail-host p { font-size: 13.5px; color: var(--ink-faint); }

.detail-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.rsvp-card { padding: 22px; }
.rsvp-price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rsvp-price b { font-size: 30px; font-weight: 500; }
.rsvp-price span { font-size: 13px; color: var(--ink-faint); }
.rsvp-btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
.rsvp-on { background: var(--sage); color: #fff; }
.rsvp-row { display: flex; gap: 10px; margin-top: 10px; }
.rsvp-2nd { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; border-radius: 100px; font-weight: 600; font-size: 14px; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
.rsvp-2nd:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.rsvp-2nd.on { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.rsvp-2nd.on .icon { fill: var(--accent); }
.rsvp-facts { margin-top: 18px; display: grid; gap: 14px; }
.rsvp-facts > div { display: flex; gap: 12px; align-items: flex-start; }
.rsvp-facts > div > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rsvp-facts .icon { color: var(--accent); margin-top: 2px; flex: none; }
.rsvp-facts b { font-size: 14.5px; white-space: nowrap; }
.rsvp-facts span { font-size: 13px; color: var(--ink-faint); }
.mini-map { position: relative; height: 130px; margin-top: 18px; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.map-grid { position: absolute; inset: -2px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 26px 26px; opacity: .7; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--accent); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -118%); } }
.going-card { padding: 18px; }
.going-card .kicker { display: block; margin-bottom: 12px; }
.going-avas { display: flex; align-items: center; }
.going-avas .ava { margin-right: -8px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2), 0 0 0 2px var(--card); }
.going-more { margin-left: 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

/* ---------- Community ---------- */
.comm-banner { padding: 44px 0 8px; }
.comm-banner-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.comm-banner-inner > div > * { animation: rise .7s var(--ease) both; }
.comm-title { font-size: clamp(30px, 4vw, 46px); font-weight: 400; line-height: 1.04; margin-top: 10px; letter-spacing: -0.02em; max-width: 14ch; }
.comm-new { animation: rise .7s var(--ease) both; }
.comm-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; margin-top: 26px; }
.comm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.comm-sorts { display: flex; gap: 4px; background: var(--card); padding: 4px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.sortbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
.sortbtn:hover { color: var(--ink); }
.sortbtn[data-on="true"] { background: var(--ink); color: var(--paper); }
.sortbtn[data-on="true"] .icon { color: var(--accent); }

.post-list { display: grid; gap: 14px; }
.post { display: flex; gap: 14px; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); cursor: pointer; animation: rise .55s var(--ease) both; transition: box-shadow .3s, transform .3s var(--ease); }
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Vote cluster */
.votes { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
.vote-btn { width: 32px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-faint); transition: all .18s var(--spring); }
.vote-btn:hover { background: var(--accent-soft); color: var(--accent); }
.vote-btn.down { transform: rotate(180deg); }
.vote-btn.down:hover { background: color-mix(in oklch, var(--cobalt) 14%, transparent); color: var(--cobalt); }
.vote-btn[data-on="true"] { color: var(--accent); }
.vote-btn.down[data-on="true"] { color: var(--cobalt); }
.vote-n { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; transition: transform .2s var(--spring), color .2s; }
.vote-n[data-dir="1"] { color: var(--accent); }
.vote-n[data-dir="-1"] { color: var(--cobalt); }
.votes[data-bump="true"] .vote-n { transform: scale(1.32); }

.post-main { flex: 1; min-width: 0; }
.post-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; }
.post-sub { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.sub-dot { width: 16px; height: 16px; border-radius: 100px; background: var(--c, var(--accent)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.post-by { font-weight: 500; }
.post-tag { margin-left: auto; }
.post-title { font-size: 19px; font-weight: 600; line-height: 1.22; margin: 9px 0 6px; letter-spacing: -0.01em; text-wrap: pretty; }
.post:hover .post-title { color: var(--accent); }
.post-body { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-img { margin-top: 14px; box-shadow: var(--shadow-sm); }
.post-foot { display: flex; gap: 20px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-faint); }
.post-foot span { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.post-foot span:hover { color: var(--ink); }

/* Community sidebar */
.comm-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.side-card { padding: 18px; }
.side-card .kicker { display: block; margin-bottom: 14px; }
.comm-list { list-style: none; display: grid; gap: 2px; }
.comm-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; transition: background .2s; text-align: left; }
.comm-item:hover { background: var(--paper-2); }
.comm-item[data-on="true"] { background: var(--accent-soft); }
.comm-badge { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: none; text-transform: uppercase; }
.comm-item-txt { flex: 1; display: grid; line-height: 1.2; }
.comm-item-txt b { font-size: 14.5px; font-weight: 700; }
.comm-item-txt span { font-size: 12px; color: var(--ink-faint); }
.comm-item-go { color: var(--ink-faint); opacity: 0; transform: translateX(-4px); transition: all .2s; }
.comm-item:hover .comm-item-go { opacity: 1; transform: none; }
.side-all { width: 100%; margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.side-cta { text-align: center; display: grid; justify-items: center; gap: 7px; padding: 24px; }
.side-cta .icon { color: var(--accent); }
.side-cta b { font-size: 19px; font-weight: 500; }
.side-cta p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.side-cta .btn { margin-top: 8px; }

@media (max-width: 860px) { .comm-layout { grid-template-columns: 1fr; } .comm-side { display: none; } }

/* ---------- Thread ---------- */
.thread-shell { max-width: 780px; }
.thread-post { padding: 26px; margin-bottom: 16px; }
.thread-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 500; line-height: 1.12; margin: 12px 0 12px; letter-spacing: -0.015em; }
.thread-body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.thread-img { margin-top: 18px; box-shadow: var(--shadow-sm); }
.thread-bar { display: flex; align-items: center; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.thread-bar .votes { flex-direction: row; gap: 8px; }
.thread-bar .vote-btn.down { transform: rotate(180deg); }
.thread-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.reply-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 24px; }
.reply-box input { flex: 1; border: none; background: none; outline: none; font-size: 15px; }
.btn[data-dim="true"] { opacity: .45; pointer-events: none; }
.comments > .kicker { display: block; margin-bottom: 18px; }
.comment { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); animation: sweep .5s var(--ease) both; }
.comment-main { flex: 1; }
.comment-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); }
.comment-head b { font-size: 14px; color: var(--ink); font-weight: 700; }
.comment-reply { background: var(--accent-soft); color: var(--accent-deep); padding: 2px 8px; border-radius: 100px; font-size: 11.5px; font-weight: 600; }
.comment-main p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 7px 0 9px; }
.comment-foot { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.comment-foot .votes { flex-direction: row; gap: 6px; }
.comment-foot .vote-btn { width: 26px; height: 24px; }
.comment-foot button:hover { color: var(--ink); }

/* ---------- Read ---------- */
.read-masthead { padding: 52px 0 14px; text-align: center; }
.read-mast-inner > * { animation: rise .7s var(--ease) both; }
.read-mast-title { font-size: clamp(40px, 5.5vw, 72px); font-weight: 400; line-height: 1; margin-top: 14px; letter-spacing: -0.025em; }
.read-mast-title .italic { color: var(--accent); }
.read-mast-sub { font-size: 18px; color: var(--ink-soft); max-width: 44ch; margin: 18px auto 0; line-height: 1.5; }

.lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-md); cursor: pointer; margin: 30px 0 12px; transition: box-shadow .4s, transform .4s; }
.lead:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.lead-cover { min-height: 380px; display: flex; align-items: flex-start; justify-content: flex-end; }
.lead-cat { margin: 18px; font-size: 22px; color: rgba(255,255,255,.9); }
.lead-copy { padding: 44px; display: flex; flex-direction: column; }
.lead-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; line-height: 1.08; margin: 14px 0 0; letter-spacing: -0.02em; text-wrap: balance; }
.lead-dek { font-size: 18px; line-height: 1.5; color: var(--ink-soft); margin-top: 16px; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.byline > span:not(.ava) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.byline b { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.byline i { font-size: 13px; color: var(--ink-faint); font-style: normal; white-space: nowrap; }
.byline.sm b { font-size: 13px; }
.byline.sm i { font-size: 12px; }
.lead-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 700; font-size: 15px; color: var(--accent); }
.lead:hover .lead-link { gap: 12px; }

.read-tabs { display: flex; gap: 4px; justify-content: center; margin: 40px 0 26px; flex-wrap: wrap; }

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.art-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .art-grid, .art-grid.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .art-grid, .art-grid.two { grid-template-columns: 1fr; } .lead { grid-template-columns: 1fr; } .lead-cover { min-height: 240px; } }
.art-card { cursor: pointer; animation: rise .6s var(--ease) both; }
.art-cover { box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.art-card:hover .art-cover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.art-body { padding: 16px 2px 0; }
.art-body .kicker { font-size: 11px; }
.art-title { font-size: 21px; font-weight: 500; line-height: 1.14; margin: 9px 0 8px; letter-spacing: -0.015em; text-wrap: pretty; }
.art-card:hover .art-title { color: var(--accent); }
.art-dek { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.write-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 56px 0 10px; padding: 40px 44px; border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); flex-wrap: wrap; }
.write-cta .kicker { color: color-mix(in oklch, var(--paper) 60%, transparent); }
.write-cta h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 400; margin: 6px 0 8px; letter-spacing: -0.02em; }
.write-cta p { color: color-mix(in oklch, var(--paper) 72%, transparent); font-size: 16px; max-width: 40ch; }

/* ---------- Reader ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 200; }
.reader-shell { max-width: 720px; }
.reader-head { margin: 8px 0 30px; }
.reader-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 400; line-height: 1.06; margin: 14px 0 0; letter-spacing: -0.025em; text-wrap: balance; }
.reader-dek { font-size: 21px; line-height: 1.45; color: var(--ink-soft); margin-top: 16px; font-weight: 300; }
.reader-byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.reader-by-txt { display: grid; line-height: 1.3; }
.reader-by-txt b { font-size: 15px; font-weight: 700; }
.reader-by-txt span { font-size: 13px; color: var(--ink-faint); }
.reader-actions { margin-left: auto; display: flex; gap: 8px; }
.icon-pill { width: 40px; height: 40px; border-radius: 100px; display: grid; place-items: center; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s var(--spring); }
.icon-pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-1px); }
.icon-pill.on { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.icon-pill.on .icon { fill: var(--accent); }
.reader-cover { margin-bottom: 36px; box-shadow: var(--shadow-md); }
.prose p { font-size: 19px; line-height: 1.72; color: var(--ink); margin-bottom: 26px; font-family: var(--serif); font-weight: 380; letter-spacing: -0.003em; }
.prose .lede:first-letter { font-size: 64px; line-height: .8; float: left; margin: 8px 12px 0 0; font-weight: 500; color: var(--accent); }
.prose blockquote { font-size: 27px; line-height: 1.35; font-weight: 400; color: var(--ink); margin: 36px 0; padding-left: 26px; border-left: 3px solid var(--accent); letter-spacing: -0.015em; }
.reader-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; margin-top: 40px; }
.reader-foot .byline { margin-top: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 54px 0 30px; background: var(--paper-2); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand p { font-size: 15px; color: var(--ink-soft); margin: 14px 0 14px; max-width: 30ch; line-height: 1.5; }
.footer-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.footer-loc .icon { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols .kicker { display: block; margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; transition: color .2s; cursor: pointer; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 8px; } }
