    /* ===== Footer ===== */
.site-footer{
  margin-top:64px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, transparent, var(--soft2));
}

.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:26px 18px 34px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  flex-wrap:wrap;
}

.footer-meta p{
  margin:0 0 6px;
  font-size:.9rem;
  letter-spacing:.02em;
}

.footer-meta strong{
  font-weight:650;
}

.footer-muted{
  color:var(--muted);
  max-width:60ch;
}

.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links a{
  color:rgba(245,245,245,.85);
  text-decoration:none;
  font-size:.9rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid transparent;
}

.footer-links a:hover{
  border-bottom-color:rgba(245,245,245,.45);
}

/* ===== Nav ===== */
.site-nav{
  border-bottom:1px solid var(--line);
  background:rgba(5,5,5,.92);
  backdrop-filter:blur(10px);
}

.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav-brand{
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.85rem;
}

.nav-links{
  display:flex;
  gap:18px;
}

.nav-links a{
  color:rgba(245,245,245,.85);
  text-decoration:none;
  font-size:.85rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.nav-links a:hover{
  text-decoration:underline;
}

/* ===== Cookie banner ===== */
.cookie-banner{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:16px;
  z-index:9999;
}
.cookie-card{
  max-width:var(--max);
  margin:0 auto;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius:var(--radius);
  padding:14px 14px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  backdrop-filter: blur(10px);
}
.cookie-text strong{
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.85rem;
  font-weight:650;
}
.cookie-muted{
  color:var(--muted);
  margin-top:8px;
  font-size:.95rem;
  line-height:1.55;
  max-width:80ch;
}
.cookie-muted.small{ font-size:.9rem; margin-top:12px; }
.cookie-links{
  margin-top:10px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.cookie-link, .cookie-link-btn{
  color:rgba(245,245,245,.88);
  text-decoration:none;
  border-bottom:1px solid rgba(245,245,245,.28);
  background:none;
  border-top:0;border-left:0;border-right:0;
  padding:0;
  cursor:pointer;
  font:inherit;
}
.cookie-link:hover, .cookie-link-btn:hover{ border-bottom-color:rgba(245,245,245,.6); }
.cookie-dot{ color:var(--muted); }

.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  min-width:260px;
}

/* Buttons */
.btn{
  border-radius:999px;
  padding:10px 12px;
  font-size:.85rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  border:1px solid transparent;
  background:transparent;
  color:rgba(245,245,245,.92);
}
.btn-ghost{
  border-color:var(--line);
  background:rgba(255,255,255,.03);
}
.btn-ghost:hover{ background:rgba(255,255,255,.06); }
.btn-primary{
  border-color:rgba(245,245,245,.18);
  background:rgba(245,245,245,.10);
}
.btn-primary:hover{ background:rgba(245,245,245,.14); }

/* ===== Modal ===== */
.cookie-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:10000;
  padding:18px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.cookie-modal-card{
  width:min(720px, 100%);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius:var(--radius);
  padding:14px;
  backdrop-filter: blur(10px);
}
.cookie-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(245,245,245,.08);
}
.icon-btn{
  width:36px;height:36px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--fg);
  cursor:pointer;
  font-size:20px;
  line-height:1;
}
.icon-btn:hover{ background:rgba(255,255,255,.06); }

.cookie-modal-body{ padding:12px 2px 4px; }
.cookie-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-top:1px solid rgba(245,245,245,.08);
}
.cookie-row:first-child{ border-top:0; }
.cookie-row-title{
  font-weight:650;
  letter-spacing:.02em;
}
.cookie-row-desc{
  color:var(--muted);
  font-size:.92rem;
  margin-top:4px;
  line-height:1.5;
}
.pill{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  padding:6px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size:.85rem;
}

/* Switch */
.switch{ position:relative; display:inline-block; width:46px; height:26px; }
.switch input{ opacity:0; width:0; height:0; }
.slider{
  position:absolute; inset:0;
  cursor:pointer;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:999px;
  transition:150ms ease;
}
.slider:before{
  content:"";
  position:absolute;
  height:20px; width:20px;
  left:3px; top:50%;
  transform:translateY(-50%);
  border-radius:999px;
  background:rgba(245,245,245,.85);
  transition:150ms ease;
}
.switch input:checked + .slider{
  background:rgba(245,245,245,.10);
}
.switch input:checked + .slider:before{
  transform:translate(20px,-50%);
}

.cookie-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding-top:10px;
  border-top:1px solid rgba(245,245,245,.08);
}

/* Optional small "Cookie Settings" link/button */
.cookie-settings-link{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:9000;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:rgba(245,245,245,.85);
  border-radius:999px;
  padding:10px 12px;
  font-size:.8rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
}
.cookie-settings-link:hover{ background:rgba(255,255,255,.06); }


@media (max-width:720px){
  .footer-inner{
    flex-direction:column;
    gap:18px;
  }
    .cookie-card{ flex-direction:column; }
  .cookie-actions{ min-width:unset; justify-content:flex-start; }
  .cookie-modal{ align-items:flex-end; }
}