/* Chromatic Poetry — public site. Black & Gold. All colours come from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--on-gold); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--heading); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

/* Metallic gold words: <em class="serif-italic"> inside headings, and the hero */
em.serif, .serif-italic, .gold-text {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--gold); color: var(--on-gold); padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.measure { max-width: 58ch; }
.mt-2 { margin-top: 18px; } .mt-3 { margin-top: 28px; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--text-muted); }
.small { font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 7, .82);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-line); opacity: .7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--champagne); }
.brand img { height: 42px; width: auto; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: .02em; line-height: 1; color: var(--champagne); }
.brand-word span { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-main a { display: block; padding: 8px 14px; color: var(--text-muted); text-decoration: none; font-size: .92rem; font-weight: 500; letter-spacing: .02em; position: relative; transition: color .2s; }
.nav-main a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.nav-main a:hover { color: var(--champagne); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.nav-main a[aria-current="page"] { color: var(--gold-bright); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 9px 16px; font: 600 .88rem var(--font-body); color: var(--champagne); cursor: pointer;
}
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars span { top: 5px; } .menu-toggle .bars::after { bottom: 0; }
@media (min-width: 1300px) {
  .nav-main { display: block; }
  .menu-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); color: var(--text);
  background: radial-gradient(120% 60% at 100% 0%, rgba(212,175,55,.12), transparent 60%), var(--onyx);
  border-left: 1px solid var(--border-strong);
  transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 20px 24px 28px; overflow-y: auto;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-close { align-self: flex-end; background: none; border: 1px solid var(--border-strong); color: var(--champagne); border-radius: 999px; padding: 8px 16px; font: 600 .88rem var(--font-body); cursor: pointer; }
.drawer nav ul { list-style: none; margin: 28px 0; padding: 0; }
.drawer nav a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.75rem; color: var(--champagne); text-decoration: none; border-bottom: 1px solid var(--border); }
.drawer nav a[aria-current="page"] { color: var(--gold-bright); }
.drawer .drawer-actions { display: grid; gap: 10px; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-backdrop { transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .93rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: box-shadow .25s, transform .2s, background-position .5s, color .2s, border-color .2s, background-color .2s;
}
.btn-primary, .btn-gold {
  background: var(--gold-metal); background-size: 200% 100%; background-position: 0% 50%;
  color: var(--on-gold); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 20px -10px rgba(212,175,55,.7);
}
.btn-primary:hover, .btn-gold:hover { color: var(--on-gold); background-position: 100% 50%; box-shadow: var(--glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--gold-bright); border-color: var(--gold); background: rgba(212,175,55,.06); }
.btn-ghost-light { background: rgba(255,255,255,.02); color: var(--champagne); border-color: rgba(243,234,218,.3); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; }
.btn-danger { background: #B43A2E; color: #fff; }
.btn-danger:hover { background: #962E24; color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(40% 50% at 10% 100%, rgba(212,175,55,.07), transparent 70%),
    var(--black);
  padding: clamp(84px, 13vw, 160px) 0 clamp(72px, 10vw, 128px);
}
/* fine gold grain lines for texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(212,175,55,.05) 46px 47px);
  mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent 75%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); }
.hero .container { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-line); }
.hero h1 { color: var(--champagne); max-width: 13ch; font-size: clamp(2.9rem, 7.8vw, 5.8rem); line-height: 1.0; }
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.hero-lead { max-width: 56ch; font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--text-muted); margin: 28px 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .text-link { color: var(--champagne); margin-left: 8px; font-weight: 500; text-decoration-color: var(--gold); }
.hero-actions .text-link:hover { color: var(--gold-bright); }
.hero-tagline {
  margin-top: clamp(56px, 8vw, 96px); padding-top: 24px; position: relative;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.6rem); color: var(--gold-pale); max-width: 46ch; opacity: .9;
}
.hero-tagline::before { content: ""; position: absolute; top: 0; left: 0; width: min(320px, 60%); height: 1px; background: var(--gold-line); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 124px) 0; position: relative; }
.section + .section:not(.section-paper)::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--max), 92%); height: 1px; background: var(--gold-line); opacity: .45; }
.section-dark { background: radial-gradient(70% 80% at 50% 0%, rgba(212,175,55,.08), transparent 70%), var(--onyx); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.section-head p { color: var(--text-muted); font-size: 1.07rem; margin: 0; }

/* The one light band: cream with black type, for contrast and rhythm */
.section-paper {
  background: var(--cream);
  --heading: #0B0A07; --text: var(--cream-text); --text-muted: var(--cream-muted);
  --border: var(--cream-line); --border-strong: var(--gold-deep); --surface: #FFFDF7; --surface-2: #FFF8E8;
  --link: var(--gold-deep);
  color: var(--text);
}
.section-paper .eyebrow { color: var(--gold-deep); }
.section-paper .eyebrow::before { background: var(--gold-deep); }
.section-paper .serif-italic { background: linear-gradient(135deg, #6E520F, #A8822A 50%, #6E520F); -webkit-background-clip: text; background-clip: text; }

/* The Chromatic universe: an editorial index */
.universe { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); counter-reset: uni; }
.universe li { border-bottom: 1px solid var(--border); counter-increment: uni; }
.universe a {
  display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding: 26px 8px; text-decoration: none; color: inherit; position: relative;
  transition: background-color .25s, padding-left .25s;
}
.universe a::before { content: counter(uni, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--gold); padding-top: 3px; grid-row: span 2; }
.universe a::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-metal); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.universe .u-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--heading); line-height: 1.15; transition: color .2s; }
.universe .u-text { color: var(--text-muted); font-size: .97rem; }
.universe .u-cta { grid-column: 2; font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); margin-top: 6px; }
.universe .u-cta::after { content: " →"; }
.universe a:hover { background: linear-gradient(90deg, rgba(212,175,55,.07), transparent 80%); padding-left: 18px; }
.universe a:hover::after { transform: scaleY(1); }
.universe a:hover .u-title { color: var(--gold-pale); }
@media (min-width: 860px) {
  .universe { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .universe li:nth-child(-n+2) { border-top: 1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) { .universe a, .universe a::after { transition: none; } .universe a:hover { padding-left: 8px; } }

/* Membership comparison */
.tiers { display: grid; gap: 22px; }
@media (min-width: 780px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; position: relative; }
.tier.featured { background: linear-gradient(160deg, #15130F, #0B0A08); border: 1px solid transparent; color: var(--text-on-dark);
  background-clip: padding-box; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tier.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--gold-metal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tier.featured h3 { color: var(--champagne); }
.tier.featured p, .tier.featured li { color: #CFC6B2; }
.tier-kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.tier.featured .tier-kicker { color: var(--gold); }
.tier h3 { margin: 10px 0 10px; font-size: 1.8rem; }
.tier p { color: var(--text-muted); }
.tier ul { margin: 0 0 26px; padding: 0; list-style: none; }
.tier li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.tier li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: .8rem; }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* Highlights (verified figures only) */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 780px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight { background: var(--surface); padding: 32px 24px; }
.highlight .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.highlight .lbl { margin-top: 12px; color: var(--text-muted); font-size: .93rem; letter-spacing: .02em; }
.highlights-note { margin-top: 16px; font-size: .84rem; color: var(--text-muted); }

/* Partnership band */
.partner-band { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .partner-band { grid-template-columns: 1.4fr 1fr; } .partner-band > div:last-child { justify-self: end; } }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip-list li { border: 1px solid var(--border-strong); color: var(--heading); border-radius: 999px; padding: 7px 16px; font-size: .86rem; background: rgba(212,175,55,.04); }

/* Final invitation */
.invite { text-align: center; overflow: hidden;
  background: radial-gradient(50% 80% at 50% 100%, rgba(212,175,55,.14), transparent 70%), var(--bg); }
.invite h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.invite p { max-width: 56ch; margin: 0 auto 30px; color: var(--text-muted); }
.invite .hero-actions { justify-content: center; }
.invite .eyebrow { justify-content: center; }

/* ---------- Page header + prose ---------- */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 44px); position: relative;
  background: radial-gradient(60% 90% at 90% 0%, rgba(212,175,55,.1), transparent 65%), var(--bg); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); opacity: .6; }
.page-head p { color: var(--text-muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.prose { font-size: 1.07rem; color: var(--text); }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.4em; color: var(--gold-pale); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--champagne); }
.prose blockquote {
  margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.5; color: var(--gold-pale);
}
.prose blockquote p { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(180deg, var(--surface), #100F0C); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--gold-line); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--heading); letter-spacing: .01em; }
.field .hint { font-size: .84rem; color: var(--text-muted); margin: 7px 0 0; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--heading);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { background: var(--graphite); color: var(--champagne); }
.input::placeholder { color: #6F6757; }
textarea.input { min-height: 150px; resize: vertical; }
.input:hover { border-color: rgba(212,175,55,.35); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.2); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .86rem; margin: 7px 0 0; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

/* Auth screens */
.auth-wrap { min-height: calc(100vh - 73px); display: grid; place-items: start center; padding: clamp(48px, 8vw, 96px) var(--gutter);
  background: radial-gradient(50% 50% at 50% 0%, rgba(212,175,55,.12), transparent 70%), var(--bg); }
.auth-card { width: 100%; max-width: 470px; }
.auth-card h1 { font-size: clamp(2.2rem, 5vw, 2.9rem); }
.auth-card .lead { color: var(--text-muted); margin-bottom: 26px; }
.auth-foot { margin-top: 22px; text-align: center; font-size: .93rem; color: var(--text-muted); }

/* ---------- Flash messages ---------- */
.flashes { position: relative; z-index: 5; }
.flash { margin: 16px auto 0; max-width: var(--max); padding: 0 var(--gutter); }
.flash > div { border-radius: var(--radius-sm); padding: 14px 18px; border: 1px solid; font-size: .94rem; }
.flash-success > div { background: var(--ok-bg); border-color: var(--ok-line); color: #CDEBD6; }
.flash-error > div { background: var(--bad-bg); border-color: var(--bad-line); color: #F8D3CD; }
.flash-info > div { background: rgba(212,175,55,.1); border-color: var(--border-strong); color: var(--gold-pale); }

/* ---------- Account ---------- */
.account-grid { display: grid; gap: 24px; padding: 40px 0 88px; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.panel h2 { font-size: 1.7rem; }
.badge { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: rgba(212,175,55,.12); color: var(--gold-bright); border: 1px solid var(--border-strong); }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.danger-zone { border-color: var(--bad-line); }

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(60% 100% at 50% 0%, rgba(212,175,55,.07), transparent 70%), #050505; color: var(--text-muted); padding: 64px 0 30px; font-size: .93rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand .brand-word { font-size: 1.8rem; }
.footer-brand p { margin-top: 14px; max-width: 38ch; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-pale); opacity: .85; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Error pages */
.error-page { padding: clamp(80px, 12vw, 150px) 0; text-align: center; background: radial-gradient(40% 50% at 50% 30%, rgba(212,175,55,.12), transparent 70%), var(--bg); }
.error-page .code { font-family: var(--font-display); font-style: italic; font-size: 5.5rem; line-height: 1;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 22px; } }
.steps li { counter-increment: st; padding: 20px 0 20px 60px; position: relative; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .steps li { padding: 60px 0 0; border-top: 1px solid var(--gold-deep); } }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-metal); color: var(--on-gold); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  box-shadow: 0 6px 16px -8px rgba(212,175,55,.8); }
@media (min-width: 900px) { .steps li::before { top: -20px; } }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); margin-bottom: 4px; }
.steps span { color: var(--text-muted); font-size: .95rem; }

/* Eyebrow labels stay gold inside section heads and the invitation */
.section-head .eyebrow, .invite .eyebrow { color: var(--gold); margin: 0 0 4px; font-size: .76rem; }
.section-paper .section-head .eyebrow { color: var(--gold-deep); }
.invite .eyebrow { margin: 0 auto 22px; }

/* =================== Part 1B: Watch & Read =================== */
.section-tight { padding-top: clamp(32px, 5vw, 56px); }
.search-bar { display: flex; gap: 10px; margin-top: 28px; max-width: 620px; }
.search-bar .input { border-radius: 999px; padding-left: 20px; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: thin; }
.filter-chips a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); text-decoration: none; font-size: .86rem; font-weight: 500; white-space: nowrap; transition: all .2s; }
.filter-chips a:hover { border-color: var(--border-strong); color: var(--heading); }
.filter-chips a[aria-current="page"] { background: var(--gold-metal); color: var(--on-gold); border-color: transparent; font-weight: 600; }
.results-line { margin: -12px 0 24px; font-size: .92rem; }
.empty-state { text-align: center; padding: 56px 16px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state h2 { font-size: 1.9rem; }
.side-title { font-size: 1.6rem; margin-bottom: 18px; }
.mt-section { margin-top: 56px; }

/* Play badge */
.play-badge { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--gold-metal); box-shadow: 0 8px 24px -6px rgba(0,0,0,.7), 0 0 0 6px rgba(212,175,55,.18); transition: transform .25s; }
.play-badge::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 15px solid var(--on-gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.play-badge-lg { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.play-badge-lg::after { left: 29px; top: 22px; border-left-width: 20px; border-top-width: 14px; border-bottom-width: 14px; }
.play-badge-xl { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.play-badge-xl::after { left: 35px; top: 27px; border-left-width: 24px; border-top-width: 17px; border-bottom-width: 17px; }

/* Video cards */
.vgrid { display: grid; gap: 28px 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vcard-link { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.vcard-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: saturate(.9) brightness(.85); }
.vcard-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.vcard-link:hover .vcard-thumb img { transform: scale(1.04); filter: none; }
.vcard-link:hover .play-badge { transform: scale(1.08); }
.vcard-link:hover .vcard-title { color: var(--gold-pale); }
.vcard-thumb .play-badge { z-index: 1; }
.tag-sponsored { position: absolute; z-index: 2; top: 10px; left: 10px; background: rgba(0,0,0,.75); color: var(--gold-bright); border: 1px solid var(--border-strong); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.vcard-meta, .pcard-meta { margin-top: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.vcard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--heading); transition: color .2s; }
.vcard-credit { font-size: .88rem; color: var(--text-muted); }

/* Featured video */
.feature-video, .feature-post { display: grid; gap: 0; text-decoration: none; color: inherit; margin-bottom: 44px; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, var(--surface), var(--black)); box-shadow: var(--shadow); }
@media (min-width: 900px) { .feature-video { grid-template-columns: 1.35fr 1fr; } .feature-post.has-cover { grid-template-columns: 1fr 1.2fr; } }
.feature-thumb, .feature-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.feature-cover { aspect-ratio: 4 / 3; }
.feature-thumb img, .feature-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-video:hover img, .feature-post:hover img { transform: scale(1.03); }
.feature-body { display: grid; gap: 12px; align-content: center; padding: clamp(24px, 4vw, 44px); }
.feature-body .eyebrow { margin: 0; }
.feature-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.1; color: var(--heading); }
.feature-text { color: var(--text-muted); }
.feature-body .link-arrow { color: var(--gold-bright); }

/* Channel band */
.channel-band { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: radial-gradient(80% 140% at 0% 0%, rgba(212,175,55,.14), transparent 60%), var(--surface); }
.channel-band .eyebrow { margin: 0 0 6px; }
.channel-text { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); }

/* Video page */
.player-wrap { background: radial-gradient(60% 100% at 50% 0%, rgba(212,175,55,.12), transparent 70%), var(--black); padding: clamp(20px, 4vw, 44px) 0; border-bottom: 1px solid var(--border); }
.player { position: relative; aspect-ratio: 16 / 9; max-width: 1040px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(212,175,55,.5); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade { position: absolute; inset: 0; display: block; cursor: pointer; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: filter .3s; }
.player-facade:hover img { filter: brightness(.95); }
.player-facade:hover .play-badge { transform: scale(1.06); }
.player-note { position: absolute; right: 14px; bottom: 12px; font-size: .74rem; color: var(--text-on-dark); background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 999px; }
.video-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 88px; }
@media (min-width: 980px) { .video-layout { grid-template-columns: 1fr 340px; } }
.video-title { font-size: clamp(2rem, 4vw, 2.9rem); }
.video-main .eyebrow a { color: inherit; text-decoration: none; }
.video-credits { color: var(--gold-pale); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.video-actions, .post-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 26px; }
.video-desc { color: var(--text); }
.sponsor-note { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-bright); border: 1px solid var(--border-strong); padding: 4px 12px; border-radius: 999px; }
.rel-list { display: grid; gap: 14px; }
.rel-item { display: grid; grid-template-columns: 136px 1fr; gap: 12px; align-items: start; text-decoration: none; color: inherit; }
.rel-item img { width: 136px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.rel-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: var(--heading); }
.rel-item:hover .rel-title { color: var(--gold-pale); }
.rel-meta { display: block; margin-top: 4px; font-size: .78rem; color: var(--text-muted); }
.inline-form { display: inline; }

/* Tags and sharing */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0; }
.tag-list a { display: inline-block; font-size: .82rem; padding: 5px 12px; border-radius: 999px; background: rgba(212,175,55,.08); color: var(--gold-pale); text-decoration: none; border: 1px solid var(--border); }
.tag-list a:hover { border-color: var(--gold); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-right: 4px; }
.share-btn { font: 500 .84rem var(--font-body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); background: transparent; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Post cards */
.pgrid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard-link { display: flex; flex-direction: column; gap: 8px; height: 100%; text-decoration: none; color: inherit; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #0D0C0A); border: 1px solid var(--border); position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.pcard-link::before { content: "“"; position: absolute; right: 18px; top: -18px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: rgba(212,175,55,.08); pointer-events: none; }
.has-cover .pcard-link::before { display: none; }
.pcard-link:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.pcard-cover { margin: -26px -26px 10px; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard-link:hover .pcard-cover img { transform: scale(1.04); }
.pcard-meta { margin-top: 0; }
.pcard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--heading); }
.pcard-excerpt { color: var(--text-muted); font-size: .95rem; }
.pcard-author { margin-top: auto; padding-top: 10px; font-size: .86rem; color: var(--gold-pale); font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
.section-paper .pcard-link { background: #FFFDF7; }

/* Article page */
.post-head { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 40px); background: radial-gradient(60% 90% at 50% 0%, rgba(212,175,55,.12), transparent 65%), var(--bg); text-align: center; }
.post-head .eyebrow { justify-content: center; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.post-byline { color: var(--text-muted); }
.post-byline strong { color: var(--gold-pale); font-weight: 600; }
.post-cover { margin-top: 36px; max-width: 1000px; }
.post-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-strong); max-height: 560px; object-fit: cover; }
.prose p { line-height: 1.8; }
/* Verse: poems keep their line breaks and breathe */
.prose.verse { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.55rem); line-height: 1.75; color: var(--champagne); }
.prose.verse p { line-height: 1.75; margin-bottom: 1.4em; }
.prose.verse h2, .prose.verse h3 { font-family: var(--font-display); text-align: left; }

/* Eyebrow labels inside page headers keep their small gold style */
.page-head .eyebrow, .post-head .eyebrow { color: var(--gold); font-size: .76rem; margin: 0 0 18px; }

/* =================== Part 1C: Events =================== */
.egrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .egrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .egrid { grid-template-columns: repeat(3, 1fr); } }
.ecard-link { display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 22px; height: 100%; text-decoration: none; color: inherit;
  border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, var(--surface), #0B0A08); transition: border-color .25s, transform .25s; }
.ecard-link:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.ecard-date { display: grid; place-items: center; align-content: center; text-align: center; border-radius: 12px; padding: 10px 6px; height: fit-content;
  background: var(--gold-metal); color: var(--on-gold); box-shadow: 0 10px 24px -14px rgba(212,175,55,.8); }
.ecard-date .d { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; line-height: 1; }
.ecard-date .m { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ecard-date .y { font-size: .68rem; opacity: .7; }
.ecard-body { display: grid; gap: 6px; align-content: start; }
.ecard-series { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ecard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--heading); }
.ecard-meta { font-size: .9rem; color: var(--text-muted); }
.ecard-price { font-weight: 600; color: var(--gold-pale); font-size: .92rem; }
.egrid-past .ecard-link { opacity: .78; }
.egrid-past .ecard-date { background: var(--surface-2); color: var(--gold-pale); box-shadow: none; border: 1px solid var(--border); }
.is-cancelled .ecard-title { text-decoration: line-through; text-decoration-color: rgba(212,175,55,.5); }

.event-hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px);
  background: radial-gradient(60% 80% at 85% 0%, rgba(212,175,55,.18), transparent 60%), var(--black); }
.event-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); }
.event-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.event-hero.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,7,.95) 30%, rgba(7,7,7,.55)), linear-gradient(0deg, var(--black), transparent 40%); z-index: 1; }
.event-hero-inner { position: relative; z-index: 2; }
.event-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
.event-sponsor { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--gold-pale); margin: -6px 0 20px; }
.event-facts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.event-facts li { color: var(--champagne); font-size: 1.04rem; }
.event-facts li span { display: inline-block; min-width: 72px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.event-alert { display: inline-block; padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: rgba(212,175,55,.08); color: var(--gold-pale); }
.countdown { display: flex; gap: 12px; margin: 0 0 28px; }
.countdown div { min-width: 82px; text-align: center; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.02); }
.countdown b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.countdown span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.event-layout { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 96px; }
@media (min-width: 980px) { .event-layout { grid-template-columns: 1fr 400px; align-items: start; } .event-side { position: sticky; top: 96px; } }
.event-lead { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.4; color: var(--champagne); }
.event-main .channel-band { margin: 36px 0; }
.book-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(170deg, var(--surface), #0B0A08); box-shadow: var(--shadow); position: relative; }
.book-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--gold-line); }
.book-card h2 { font-size: 1.9rem; }
.ticket-list { list-style: none; margin: 0 0 22px; padding: 0; }
.ticket-list li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ticket-list li strong { display: block; color: var(--heading); }
.ticket-list li span { font-size: .86rem; color: var(--text-muted); }
.ticket-price { text-align: right; font-weight: 700; color: var(--gold-bright); white-space: nowrap; }
.ticket-price small { display: block; font-weight: 500; font-size: .76rem; color: var(--text-muted); }
.ticket-list li.sold-out { opacity: .5; }

.ticket { width: 100%; max-width: 480px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(212,175,55,.5); }
.ticket-top { padding: 30px 28px 22px; background: radial-gradient(90% 120% at 100% 0%, rgba(212,175,55,.2), transparent 60%), var(--surface); }
.ticket-top h1 { font-size: 2.1rem; }
.ticket-tear { height: 0; border-top: 2px dashed var(--border-strong); position: relative; }
.ticket-tear::before, .ticket-tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-strong); }
.ticket-tear::before { left: -13px; } .ticket-tear::after { right: -13px; }
.ticket-bottom { padding: 24px 28px 28px; background: #0D0C0A; }
.ticket-status { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .84rem; letter-spacing: .04em; margin-bottom: 16px; }
.ticket-status.is-ok { background: var(--gold-metal); color: var(--on-gold); }
.ticket-status.is-wait { border: 1px solid var(--warn-line); color: var(--warn); background: var(--warn-bg); }
.ticket-meta { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0 0 18px; }
.ticket-meta dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.ticket-meta dd { margin: 0; color: var(--heading); }
.ticket-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.4rem; letter-spacing: .08em; color: var(--gold-bright) !important; }
.auth-card.wide { max-width: 760px; }
.my-tickets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.my-tickets a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: inherit; }
.my-tickets a:hover { border-color: var(--border-strong); }
.my-tickets strong { display: block; color: var(--heading); font-family: var(--font-display); font-size: 1.3rem; }

/* Part 1D: membership */
.plan-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(170deg, var(--surface), #0B0A08); position: relative; }
.plan-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--gold-line); }
.plan-card h2 { font-size: 2rem; margin: 0; }
.plan-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold-bright); margin: 4px 0; }
.plan-price small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.plan-benefits { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; flex: 1; }
.plan-benefits li { padding-left: 24px; position: relative; }
.plan-benefits li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-metal); }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 14px 0; }
.gate { border-color: var(--border-strong); }
.my-tickets li > .pay-row { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; background: var(--surface); }
.my-tickets li > .pay-row strong { display: block; color: var(--heading); font-family: var(--font-display); font-size: 1.3rem; }

/* Part 1E: bookstore */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--champagne); text-decoration: none; font-size: .9rem; }
.chip.is-on { background: var(--gold-metal); color: var(--on-gold); border-color: transparent; font-weight: 600; }
.book-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .book-grid { grid-template-columns: repeat(4, 1fr); } }
.book-card-s a { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.book-cover { aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: 0 24px 40px -24px rgba(0,0,0,.9); display: block; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-ph { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }
.book-card-s a:hover .book-cover { border-color: var(--gold); }
.book-layout { display: grid; gap: 36px; }
@media (min-width: 900px) { .book-layout { grid-template-columns: 340px 1fr; align-items: start; } }
.book-cover.big { max-width: 340px; }
.book-layout .book-card { margin-top: 28px; }

/* Part 1G: creators */
.book-cover.sq { aspect-ratio: 1 / 1; }
textarea.input.tall-s { min-height: 180px; }
.admin-preview.avatar-sm { max-width: 180px; aspect-ratio: 1 / 1; object-fit: cover; }
