/* Radiance / Сияние — standalone stylesheet for /ru/books/radiance/.
   No dependency on assets/books.css.
*/

:root{
  --bg:#09090b;
  --fg:#f2f2f4;
  --muted:#aaaab4;
  --line:rgba(242,242,244,.12);
  --glass:rgba(0,0,0,.22);
  --gold:rgba(218,166,82,.16);
  --blue:rgba(91,139,178,.16);
  --green:rgba(102,130,92,.10);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  background:var(--bg);
  color:var(--fg);
}

a{color:var(--fg);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{min-height:100vh}

.page{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(7,8,10,.98) 0%,rgba(7,8,10,.84) 34%,rgba(7,8,10,.54) 66%,rgba(7,8,10,.24) 100%),
    url("backgrounds/sampo-bg.webp") 58% center/cover no-repeat;
  filter:brightness(.58) contrast(1.08) saturate(.84) blur(1px);
  transform:scale(1.02);
  animation:radianceDrift 92s ease-in-out infinite alternate;
}

.page::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(54% 62% at 72% 32%,var(--gold) 0%,rgba(218,166,82,.02) 48%,rgba(218,166,82,0) 75%),
    radial-gradient(44% 52% at 26% 78%,var(--blue) 0%,rgba(91,139,178,0) 76%),
    linear-gradient(180deg,rgba(0,0,0,.20),rgba(0,0,0,.50));
}

@keyframes radianceDrift{
  0%{transform:scale(1.02) translate3d(0,0,0)}
  100%{transform:scale(1.04) translate3d(-.35%,-.25%,0)}
}

@media(prefers-reduced-motion:reduce){.page::before{animation:none}}

.site-header{
  position:relative;
  z-index:2;
  padding:22px 44px 0;
  text-align:right;
}

.site-header .brand{
  margin:0 0 6px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:14px;
  font-weight:600;
  opacity:.92;
}

.site-header .menu{
  font-size:13px;
  color:var(--muted);
}

.site-header .menu a{
  color:var(--muted);
  margin:0 10px;
}

.site-header .menu a:hover{
  color:var(--fg);
  text-decoration:none;
}

.main{
  position:relative;
  z-index:2;
  flex:1;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.container{
  width:min(100%,1080px);
  max-width:1080px;
  margin:0 auto;
  padding:28px 44px 56px;
  text-shadow:0 2px 8px rgba(0,0,0,.84),0 0 22px rgba(0,0,0,.46);
}

.kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.h1{
  margin:0 0 10px;
  font-size:34px;
  font-weight:850;
  letter-spacing:.02em;
}

.lead{
  margin:0;
  max-width:82ch;
  color:var(--muted);
  line-height:1.35;
}

.hero-note{
  margin:14px 0 0;
  max-width:78ch;
  color:rgba(242,242,244,.88);
  font-family:Georgia,'Times New Roman',serif;
  font-size:21px;
  line-height:1.35;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(242,242,244,.18);
  background:rgba(0,0,0,.22);
  backdrop-filter:blur(3px);
  font-size:12px;
  font-weight:700;
  color:var(--fg)!important;
  cursor:pointer;
  text-decoration:none;
  transition:transform 140ms ease,background 140ms ease,border-color 140ms ease;
}

.btn:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(242,242,244,.34);
  transform:translateY(-1px);
  text-decoration:none;
}

.btn.secondary{
  font-weight:700;
  background:rgba(0,0,0,.16);
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.hero .cta-row{
  margin-top:18px;
}

.list{
  margin-top:14px;
  border:1px solid rgba(242,242,244,.07);
  border-radius:18px;
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(4px);
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}

.list-header{
  padding:14px 16px;
  border-bottom:1px solid rgba(242,242,244,.055);
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}

.list-header h2{
  margin:0;
  font-size:16px;
  font-weight:740;
  line-height:1.25;
}

.list-header .note{
  margin:0;
  font-size:12px;
  color:var(--muted);
  line-height:1.25;
}

.section-body{padding:18px}

.copy{
  max-width:84ch;
  font-size:14px;
  line-height:1.35;
  color:var(--muted);
}

.copy p{margin:0 0 12px}
.copy p:last-child{margin-bottom:0}

.quote{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  font-size:24px;
  line-height:1.35;
  color:var(--fg);
}

.books-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
  padding:0 18px 18px;
}

.book-card{
  border:1px solid rgba(242,242,244,.08);
  border-radius:16px;
  padding:14px;
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(4px);
  box-shadow:0 12px 30px rgba(0,0,0,.16);
  display:flex;
  flex-direction:column;
}

.book-cover{
  display:block;
  aspect-ratio:2/3;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(242,242,244,.08);
  background:rgba(255,255,255,.035);
  margin-bottom:14px;
}

.book-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.book-cover.placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:22px;
  line-height:1.25;
  text-align:center;
  letter-spacing:.08em;
  color:rgba(242,242,244,.56);
  background:
    linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012)),
    rgba(0,0,0,.16);
}

.book-card h3{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.3;
}

.book-card p{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.book-card .cta-row{
  margin-top:auto;
}

.map-list{
  margin:0;
  padding:10px 18px 12px;
  list-style:none;
}

.map-list li{
  display:flex;
  gap:14px;
  align-items:baseline;
  border-top:1px solid rgba(242,242,244,.08);
  padding:10px 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.map-list li:first-child{border-top:none}

.map-list strong{
  flex:0 0 112px;
  color:var(--fg);
  font-size:13px;
  line-height:1.35;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:18px;
}

.info-box{
  border:1px solid rgba(242,242,244,.11);
  border-radius:18px;
  padding:16px;
  background:rgba(0,0,0,.18);
}

.info-box h3{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.25;
}

.info-box p,
.info-box li{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.info-box p{margin:0 0 10px}

.seal{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.seal img{
  height:22px;
  width:auto;
  opacity:.75;
}

@media(max-width:900px){
  .site-header{padding:16px 22px 0}
  .container{width:100%;padding:22px 22px 44px}
  .h1{font-size:30px}
  .hero-note,.quote{font-size:21px}
  .books-grid,.two-col{grid-template-columns:1fr}
  .book-cover{max-width:320px}
  .map-list strong{flex-basis:92px}
}

@media(max-width:560px){
  .list-header{align-items:flex-start;flex-direction:column;gap:4px}
  .map-list li{display:block}
  .map-list strong{display:block;margin-bottom:4px}
}
