:root{
  --bg:#0b0b0d;
  --fg:#f2f2f4;
  --muted:#a9a9b2;
  --warm: rgba(255, 190, 120, 0.06);
}

*{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;
}

/* Background: sources (light as origin) */
.page::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../assets/sources-bg.jpg") center/cover no-repeat;
  filter: brightness(0.78) contrast(1.10) saturate(0.90);
  transform: scale(1.02);
  z-index:0;
  will-change: transform;
}

/* Subtle drift: barely noticeable */
@keyframes sourcesDrift{
  0%   { transform: scale(1.02) translate3d(0,0,0); }
  100% { transform: scale(1.045) translate3d(-0.5%, -0.35%, 0); }
}

.page::before{
  animation: sourcesDrift 70s ease-in-out infinite alternate;
}

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

/* Overlay: readable field on the left + warm tint */
.page::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(11,11,13,0.94) 0%,
      rgba(11,11,13,0.78) 30%,
      rgba(11,11,13,0.46) 58%,
      rgba(11,11,13,0.18) 82%,
      rgba(11,11,13,0.05) 100%),
    radial-gradient(70% 80% at 62% 45%,
      var(--warm) 0%,
      rgba(255,190,120,0.00) 70%);
  z-index:1;
}

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

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

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

.site-header .menu a{
  color:var(--muted);
  margin:0 10px;
}
.site-header .menu a:first-child{ margin-left:0; }
.site-header .menu a:last-child{ margin-right:0; }

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

/* Main */
.main{
  position:relative;
  z-index:2;
  flex:1;
  display:flex;
  align-items:center;
}

.container{
  width:100%;
  max-width:980px;
  padding:28px 44px 56px;
}

.h1{
  margin:0 0 10px;
  font-size:22px;
  font-weight:600;
}

.lead{
  margin:0 0 16px;
  line-height:1.75;
  color:var(--muted);
  max-width:78ch;
}

/* List */
.list{
  margin-top:14px;
  border:1px solid rgba(242,242,244,0.14);
  border-radius:16px;
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(2px);
  overflow:hidden;
}

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

.list-header h2{
  margin:0;
  font-size:16px;
  font-weight:600;
}

.list-header .note{
  margin:0;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}

.items{
  list-style:none;
  margin:0;
  padding:0;
}

.item{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  border-top:1px solid rgba(242,242,244,0.08);
}
.item:first-child{ border-top:none; }

.item a{
  display:inline-block;
  font-size:14px;
  font-weight:600;
  line-height:1.35;
}

.item .meta{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

/* Badge */
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(242,242,244,0.14);
  border-radius:999px;
  padding:6px 10px;
  white-space:nowrap;
  background: rgba(255,255,255,0.03);
}

/* Slightly warmer badge variant (optional) */
.badge.warm{
  border-color: rgba(255,190,120,0.22);
  background: rgba(255,190,120,0.06);
}

/* Seal */
.seal{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  color:var(--muted);
  font-size:12px;
}

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

@media (max-width: 900px){
  .site-header{ padding:16px 22px 0; }
  .main{ align-items:flex-start; }
  .container{ padding:22px 22px 44px; }
  .list-header .note{ display:none; }
  .item{ flex-direction:column; align-items:flex-start; }
}
