/* JITI Journal design system
   Palette  ink #0b2239 · paper #f5f7fa · FLI red #c01f2f · sky #0a7fb0 / #01b1f1 · green #22c55e
   Type     Newsreader (headings, article text) + Public Sans (interface)
   Radius   6px controls, 10px surfaces; shadows are hairline + one soft lift */
:root {
  --ink: #0b2239;
  --ink-soft: #3a4d63;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --line: #dde3ea;
  --red: #c01f2f;
  --red-dark: #9d1826;
  --sky: #0a7fb0;
  --blue: #01b1f1;
  --green: #16a34a;
  --lift: 0 1px 2px rgba(11,34,57,.06), 0 8px 24px -12px rgba(11,34,57,.18);
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); }
h1, h2, h3, .serif { font-family: 'Newsreader', Georgia, serif; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

/* header */
/* ── Imigongo-inspired pattern (concentric diamonds in ink, flag red and white) ── */
:root {
  --imigongo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%230b2239'/%3E%3Cpath d='M30 3 57 30 30 57 3 30Z' fill='%23c01f2f'/%3E%3Cpath d='M30 11 49 30 30 49 11 30Z' fill='%23fff'/%3E%3Cpath d='M30 18 42 30 30 42 18 30Z' fill='%230b2239'/%3E%3Cpath d='M30 24.5 35.5 30 30 35.5 24.5 30Z' fill='%23c01f2f'/%3E%3Cpath d='M0 0h9L0 9ZM60 0h-9l9 9ZM0 60h9L0 51ZM60 60h-9l9-9Z' fill='%23c01f2f'/%3E%3C/svg%3E");
  --imigongo-bold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Crect width='36' height='36' fill='%230b2239'/%3E%3Cpath d='M18 2 34 18 18 34 2 18Z' fill='%23c01f2f'/%3E%3Cpath d='M18 8 28 18 18 28 8 18Z' fill='%2301b1f1'/%3E%3Cpath d='M18 12.5 23.5 18 18 23.5 12.5 18Z' fill='%230b2239'/%3E%3C/svg%3E");
}
.ribbon { height: 5px; background: linear-gradient(90deg, #c01f2f 0 25%, #fff300 25% 50%, #01b1f1 50% 75%, #22c55e 75% 100%); }
.ribbon-sm { height: 5px; background: linear-gradient(90deg, #c01f2f 0 25%, #fff300 25% 50%, #01b1f1 50% 75%, #22c55e 75% 100%); }

/* ── Top strip: always a way back to Full Life Initiative ── */
.topstrip { background: var(--ink); color: rgba(255,255,255,.72); font-size: 12.5px; }
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.fli-back { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; padding: 7px 0; }
.fli-back img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fli-back .arr { transition: transform .2s; }
.fli-back:hover .arr { transform: translateX(-4px); }
.fli-back:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.topstrip a:not(.fli-back):hover { color: #fff; }

/* ── Floating island header ── */
.site-header { position: sticky; top: 0; z-index: 40; padding: 12px 0 0; pointer-events: none; }
.island { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 66px; padding: 0 10px 0 12px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(11,34,57,.1); border-radius: 999px; box-shadow: 0 12px 30px -20px rgba(11,34,57,.5); transition: height .25s, box-shadow .25s, background .25s; }
.site-header.is-scrolled .island { height: 56px; background: rgba(255,255,255,.96); box-shadow: 0 16px 36px -16px rgba(11,34,57,.55); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; padding: 0; background: #fff; border: 1px solid rgba(11,34,57,.15); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 0; }
.brand-name { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: -.02em; }
.brand-sub { font-size: 11px; color: #5b6b7d; line-height: 1.2; margin-top: 3px; }
.nav-link { position: relative; padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); border-radius: 999px; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--ink); background: rgba(11,34,57,.06); }
.nav-link.is-active { color: #fff; background: var(--ink); box-shadow: none; border-radius: 999px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--ink); transition: background .15s; }
.icon-btn:hover { background: rgba(11,34,57,.07); }
.cta-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 14.5px; transition: background .15s, transform .15s; }
.cta-pill:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Full-screen mobile menu ── */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; overflow-y: auto; }
.mobile-nav[hidden], .search-overlay[hidden] { display: none; }
.mobile-nav-inner { min-height: 100%; display: flex; flex-direction: column; padding: 18px 22px 0; animation: menuIn .25s ease-out; }
.mobile-link { font-family: 'Newsreader', Georgia, serif; font-size: 2rem; font-weight: 600; line-height: 1.1; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; align-items: center; }
.mobile-link.is-active { color: #ff8a95; }
.mobile-link i { font-size: 14px; opacity: .45; }
.mobile-fli { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 600; }
.mobile-fli img { width: 34px; height: 34px; border-radius: 50%; }
.search-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(245,247,250,.97); }
.search-box { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px 8px 24px; box-shadow: var(--lift); max-width: 720px; margin-inline: auto; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 20px; padding: 12px 0; background: transparent; font-family: 'Newsreader', serif; min-width: 0; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 6px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #123456; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(11,34,57,.28); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(11,34,57,.04); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #128a3e; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* surfaces */
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.pub-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .2s, border-color .2s; height: 100%; }
.pub-card:hover { box-shadow: var(--lift); border-color: #c5cfdb; }
.pub-cover { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #0b2239, #14405f); display: grid; place-items: center; overflow: hidden; position: relative; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pub-card:hover .pub-cover img { transform: scale(1.03); }
.pub-cover .placeholder { color: rgba(255,255,255,.85); text-align: center; padding: 24px; font-family: 'Newsreader', serif; font-size: 1.35rem; line-height: 1.25; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(10,127,176,.1); color: var(--sky); }
.badge-green { background: rgba(22,163,74,.12); color: #0f7a37; }
.badge-amber { background: rgba(217,119,6,.14); color: #92520a; }
.link-arrow { font-weight: 600; color: var(--sky); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* hero masthead */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0); background-size: 26px 26px; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgba(1,177,241,.22), transparent); }
.flagbar { display: flex; height: 4px; }
.flagbar i { flex: 1; }
.masthead { background: #fff; color: var(--ink); border-radius: 4px; padding: 28px 28px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform: rotate(1.2deg); max-width: 380px; margin-inline: auto; }
.masthead dt { font-size: 12px; color: #5b6b7d; }
.masthead dd { font-weight: 600; font-size: 15px; }
.stat-num { font-family: 'Newsreader', serif; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; font-weight: 600; }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; font-weight: 600; }
.cat-card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cat-card:hover { border-color: var(--sky); box-shadow: var(--lift); transform: translateY(-2px); }

/* reading text */
.prose-journal { font-family: 'Newsreader', Georgia, serif; font-size: 1.15rem; line-height: 1.8; color: #1c3047; max-width: 68ch; }
.prose-journal p + p { margin-top: 1.1em; }

/* forms */
.field { display: block; width: 100%; border: 1px solid #b9c4d1; border-radius: 6px; padding: 11px 14px; background: #fff; font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(1,177,241,.25); }
.field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field-hint { font-size: 13px; color: #5b6b7d; margin-top: 5px; }
.alert { padding: 14px 16px; border-radius: 8px; border: 1px solid; font-size: 15px; }
.alert-error { background: #fdecee; border-color: #f3b7be; color: #8a1220; }
.alert-ok { background: #e8f8ee; border-color: #a9e0bd; color: #0d5f2c; }
.alert-warn { background: #fff7e0; border-color: #f1d98c; color: #7a5600; }

/* dashboard */
.dash-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: var(--ink-soft); font-weight: 500; }
.dash-link:hover { background: rgba(11,34,57,.05); color: var(--ink); }
.dash-link.is-active { background: var(--ink); color: #fff; }

/* footer */
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.footer-h { font-family: 'Newsreader', serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* pagination */
.page-link { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding-inline: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 600; font-size: 14px; }
.page-link:hover { border-color: var(--ink); }
.page-link.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* motion: one hero entrance, everything else responds to input */
.hero-in { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-in-2 { animation-delay: .12s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ═════════ HOME ═════════
   Palette taken from the journal covers: night navy, gold line-art, ember orange band.
   FLI red is kept for the one closing call to action. */
:root { --night: #061527; --night-2: #0b2239; --night-3: #123456; --gold: #dcae5c; --gold-soft: #efd9a8; --gold-deep: #b58a3a; --ember: #d98a3d; }

/* ── Hero ── */
.home-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; margin-top: -80px; padding-top: 80px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(90% 70% at 70% 40%, #12385f 0%, var(--night-2) 42%, var(--night) 100%); }
.home-hero .hills { position: absolute; inset: auto 0 0 0; height: 78%; width: 100%; z-index: -1; pointer-events: none; }
.home-hero .hills g { will-change: transform; transition: transform .25s ease-out; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(to top, var(--night) 8%, rgba(6,21,39,0)); pointer-events: none; }
.hero-grid { width: 100%; display: grid; gap: 28px; align-items: center; padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } }
.hero-tag { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.015em; color: #fff; max-width: 14em; }
.hero-sub { color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.65; max-width: 30em; margin-top: 18px; }
.now { margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--gold); min-height: 76px; }
.now-date { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.now-auth { color: rgba(255,255,255,.85); margin-top: 4px; line-height: 1.4; max-width: 26em; }
.btn-gold { background: var(--gold); color: var(--night); font-weight: 700; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(255,255,255,.7); margin-top: 28px; }
.hero-badges i { color: var(--gold); margin-right: 8px; }

/* ── 3D cover flow ── */
.cf { position: relative; height: clamp(440px, 50vw, 620px); perspective: 1700px; touch-action: pan-y; user-select: none; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; }
.cf::before { content: ""; position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(220,174,92,.30), rgba(220,174,92,.08) 55%, rgba(220,174,92,0)); filter: blur(6px); }
.cf-item { position: absolute; left: 50%; top: 46%; width: clamp(200px, 23vw, 320px); aspect-ratio: 3 / 4; display: block; transform-style: preserve-3d; cursor: pointer;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.5); }
.cf-item[data-pos="0"]  { opacity: 1; pointer-events: auto; z-index: 5; transform: translate(-50%, -50%) translateZ(70px); }
.cf-item[data-pos="-1"] { opacity: .95; pointer-events: auto; z-index: 4; filter: brightness(.55) saturate(.9); transform: translate(-50%, -50%) translateX(-64%) translateZ(-90px) rotateY(36deg) scale(.84); }
.cf-item[data-pos="1"]  { opacity: .95; pointer-events: auto; z-index: 4; filter: brightness(.55) saturate(.9); transform: translate(-50%, -50%) translateX(64%) translateZ(-90px) rotateY(-36deg) scale(.84); }
.cf-item[data-pos="-2"] { opacity: .55; pointer-events: auto; z-index: 3; filter: brightness(.35); }
.cf-item[data-pos="2"]  { opacity: .55; pointer-events: auto; z-index: 3; filter: brightness(.35); }
.cf-item[data-pos="-2"] { transform: translate(-50%, -50%) translateX(-112%) translateZ(-240px) rotateY(44deg) scale(.68); }
.cf-item[data-pos="2"]  { transform: translate(-50%, -50%) translateX(112%) translateZ(-240px) rotateY(-44deg) scale(.68); }
.cf-tilt { position: absolute; inset: 0; transform-style: preserve-3d; border-radius: 5px; transition: transform .18s ease-out;
  box-shadow: 0 0 0 1px rgba(220,174,92,.35), 0 50px 80px -28px rgba(0,0,0,.9), 0 0 90px -20px rgba(220,174,92,.35); background: var(--night-2); }
.cf-item[data-pos="0"] .cf-tilt { transform: rotateY(var(--ry)) rotateX(var(--rx)); }
.cf-tilt .pub-cover { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 5px; background: linear-gradient(160deg, #0b2239, #123456); }
.cf-tilt .pub-cover img { transition: none; }
.cf-tilt::before { content: ""; position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 9px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.18) 45%, rgba(0,0,0,0)); pointer-events: none; }
.cf-glare { position: absolute; inset: 0; z-index: 4; border-radius: 5px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.55), rgba(255,255,255,0) 46%); mix-blend-mode: soft-light; }
.cf:hover .cf-item[data-pos="0"] .cf-glare { opacity: 1; }
.cf-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-family: 'Newsreader', serif; font-size: 1.4rem; line-height: 1.2; color: var(--gold-soft); }
.cf-floor { position: absolute; left: 50%; bottom: 3%; width: 54%; height: 36px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); filter: blur(4px); z-index: 1; }
.cf-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; align-items: center; justify-content: center; gap: 14px; }
.cf-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s; }
.cf-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.cf-dots { display: flex; gap: 8px; }
.cf-dot { width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.cf-dot[aria-current="true"] { width: 28px; background: var(--gold); }
.cf-hint { position: absolute; z-index: 8; right: 4px; top: 6px; font-size: 12px; color: rgba(255,255,255,.55); display: none; }
@media (hover: hover) { .cf-hint { display: block; } }

/* ── Shelf of latest volumes (drag or scroll sideways) ── */
.sec-night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; }
.sec-night .section-title { color: #fff; }
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.shelf-row { scroll-padding-inline: max(20px, calc((100vw - 1180px) / 2 + 32px)); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px max(20px, calc((100vw - 1180px) / 2 + 32px)) 44px; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row.is-drag { cursor: grabbing; scroll-snap-type: none; }
.vol { flex: 0 0 auto; width: clamp(190px, 21vw, 260px); scroll-snap-align: start; display: block; color: #fff; }
.vol-cover { aspect-ratio: 3 / 4; border-radius: 5px; overflow: hidden; position: relative; background: linear-gradient(160deg, #0b2239, #123456);
  box-shadow: 0 0 0 1px rgba(220,174,92,.25), 0 26px 40px -22px rgba(0,0,0,.9); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.vol-cover img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.vol:hover .vol-cover, .vol:focus-visible .vol-cover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 0 0 2px var(--gold), 0 40px 50px -24px rgba(0,0,0,.95), 0 0 50px -10px rgba(220,174,92,.5); }
.vol-over { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(to top, rgba(6,21,39,.95), rgba(6,21,39,0)); transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); font-weight: 700; color: var(--gold); font-size: 14px; }
.vol:hover .vol-over, .vol:focus-visible .vol-over { transform: none; }
.vol-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 1.15rem; line-height: 1.25; margin-top: 18px; }
.vol-meta { margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.62); line-height: 1.45; }
.vol-meta b { color: var(--gold); font-weight: 700; }
.shelf-arrows { display: flex; gap: 10px; }

/* ── Single-screen sections ── */
.screen { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.screen > * { width: 100%; }
.screen .hills { position: absolute; inset: auto 0 0 0; height: 75%; width: 100%; z-index: -1; opacity: .3; pointer-events: none; }
.sec-dusk { background: linear-gradient(180deg, #0e2a47 0%, #143858 100%); color: #fff; }
.sec-themes { background: var(--night); color: #fff; }
.sec-publish { background: radial-gradient(70% 80% at 92% 8%, rgba(150,30,48,.28) 0%, rgba(150,30,48,0) 62%), linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); color: #fff; }
.screen .section-title { color: #fff; }

/* Themes: solid type, one row lights up at a time */
.theme-list { border-top: 1px solid rgba(255,255,255,.14); }
.word { display: grid; gap: 4px 32px; align-items: center; padding: clamp(10px, 2.4vh, 22px) 16px; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; transition: background .3s, padding .3s; }
@media (min-width: 900px) { .word { grid-template-columns: 1.2fr 1fr; } }
.word::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform .3s; }
.word-big { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: clamp(2.3rem, 7.6vh, 4.8rem); line-height: 1; letter-spacing: -.03em; color: rgba(255,255,255,.9); transition: color .25s; }
.word-desc { color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.55; max-width: 28em; transition: color .25s; }
.word-desc b { display: block; font-family: 'Newsreader', serif; font-size: 1.15rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 2px; }
.word-desc i { display: inline-block; margin-left: 6px; transition: transform .2s; }
.word:hover, .word:focus-visible { background: rgba(255,255,255,.05); padding-left: 28px; }
.word:hover::before, .word:focus-visible::before { transform: scaleY(1); }
.word:hover .word-big, .word:focus-visible .word-big { color: var(--gold); }
.word:hover .word-desc, .word:focus-visible .word-desc { color: rgba(255,255,255,.88); }
.word:hover .word-desc i { transform: translateX(8px); color: var(--gold); }

/* Publish: facts + interactive stepper */
.pub-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .pub-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.pub-title { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.fact { padding: 12px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.fact b { display: block; font-family: 'Newsreader', serif; font-size: 1.12rem; white-space: nowrap; font-weight: 600; color: var(--gold-soft); line-height: 1.15; }
.fact span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.stepper { border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.st-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.st-tab { padding: 16px 12px; text-align: left; font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.55); display: flex; gap: 10px; align-items: center; transition: color .2s; }
.st-tab:hover { color: #fff; }
.st-tab .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 13px; flex: none; transition: background .25s, color .25s, border-color .25s; }
.st-tab[aria-selected="true"] { color: #fff; }
.st-tab[aria-selected="true"] .n { background: var(--gold); border-color: var(--gold); color: var(--night); }
@media (max-width: 560px) { .st-tab .t { display: none; } .st-tab { justify-content: center; } }
.st-bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 25%; background: linear-gradient(90deg, var(--gold), var(--ember)); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.st-panels { position: relative; min-height: clamp(150px, 22vh, 200px); }
.st-panel { position: absolute; inset: 0; padding: clamp(22px, 3.4vw, 40px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .45s, transform .45s; }
.st-panel[data-on] { opacity: 1; transform: none; pointer-events: auto; }
.st-num { position: absolute; right: 22px; top: -4px; font-family: 'Newsreader', serif; font-weight: 800; font-size: clamp(6rem, 12vw, 9.5rem); line-height: 1; color: rgba(220,174,92,.13); pointer-events: none; }
.st-panel h3 { font-family: 'Newsreader', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; position: relative; }
.st-panel p { margin-top: 10px; max-width: 28em; color: rgba(255,255,255,.76); line-height: 1.65; font-size: 1.05rem; position: relative; }
.st-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 clamp(22px, 3.4vw, 40px) clamp(22px, 3vw, 32px); }

/* ── Footer back-to-FLI button ── */
.site-footer .btn-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.site-footer .btn-back:hover { background: rgba(255,255,255,.18); }

/* hero entrance: the only unprompted motion */
.hero-in { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-in-2 { animation-delay: .15s; }

/* ═════════ Footer ═════════ */
.ft { background: radial-gradient(60% 90% at 92% 0%, rgba(220,174,92,.09), rgba(220,174,92,0) 62%), radial-gradient(50% 70% at 0% 100%, rgba(18,52,86,.7), rgba(18,52,86,0) 70%), #061527; color: #fff; position: relative; overflow: hidden; }
.ft-top { display: grid; gap: 28px; padding: 56px 0 44px; border-bottom: 1px solid rgba(255,255,255,.1); align-items: center; }
@media (min-width: 900px) { .ft-top { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ft-native { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.2rem; color: #efd9a8; margin-top: 16px; }
.ft-text { color: rgba(255,255,255,.66); line-height: 1.65; max-width: 30em; margin-top: 8px; }
.ft-fli { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); transition: border-color .25s, background .25s, transform .25s; }
.ft-fli:hover { border-color: #dcae5c; background: linear-gradient(160deg, rgba(220,174,92,.16), rgba(220,174,92,.04)); transform: translateY(-2px); }
.ft-fli-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #dcae5c; color: #061527; flex: none; transition: transform .25s; }
.ft-fli:hover .ft-fli-go { transform: translateX(-5px); }
.ft-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; padding: 44px 0; }
@media (min-width: 900px) { .ft-cols { grid-template-columns: 1fr 1fr 1fr 1.5fr; } }
.ft-h { font-family: 'Newsreader', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: #efd9a8; margin-bottom: 14px; }
.ft-cols ul { display: grid; gap: 10px; }
.ft-cols a { color: rgba(255,255,255,.72); font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .25s; padding-bottom: 2px; }
.ft-cols a:hover { color: #fff; background-size: 100% 1px; }
.ft-contact li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); font-size: 15px; }
.ft-contact i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #dcae5c; font-size: 13px; flex: none; }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.55); position: relative; z-index: 1; }
.ft-social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.ft-social:hover { background: #dcae5c; border-color: #dcae5c; color: #061527; }
.ft-top-btn { height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; margin-left: 6px; transition: background .2s, color .2s; }
.ft-top-btn:hover { background: #fff; color: #061527; }
.ft-mark { font-family: 'Newsreader', Georgia, serif; font-weight: 800; font-size: clamp(7rem, 27vw, 22rem); line-height: .78; letter-spacing: -.03em; text-align: center; color: rgba(255,255,255,.045); margin-bottom: -.12em; user-select: none; pointer-events: none; white-space: nowrap; }

@media (max-width: 899px) { .ft-cols > div:last-child { grid-column: 1 / -1; } .ft-cols a { overflow-wrap: anywhere; } }
