/* =========================================================
   COOKIE BANNER & CONSENT TOOL
   Editorial / Premium · matches Jordan WebStudios
   ========================================================= */

.cc-banner {
  position: fixed;
  z-index: 9990;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  max-width: 720px;
  margin-left: auto;
  background: #0a0a0a;
  color: #fafaf7;
  padding: 36px 36px 32px;
  border: 1px solid rgba(250,250,247,0.10);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1);
}
.cc-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cc-banner__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d4b684;
  margin-bottom: 18px;
}
.cc-banner__head .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #b8935a;
  display: inline-block;
}
.cc-banner__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cc-banner__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cc-banner__body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(250,250,247,0.7);
  margin-bottom: 24px;
  max-width: 60ch;
}
.cc-banner__body a {
  color: #d4b684;
  border-bottom: 1px solid rgba(212,182,132,0.4);
  transition: border-color .3s;
}
.cc-banner__body a:hover { border-color: #d4b684; }
.cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: #fafaf7;
  cursor: pointer;
  transition: background .4s, color .4s, border-color .4s;
}
.cc-btn:hover {
  background: #fafaf7;
  color: #0a0a0a;
  border-color: #fafaf7;
}
.cc-btn--gold {
  background: #b8935a;
  border-color: #b8935a;
  color: #fafaf7;
}
.cc-btn--gold:hover {
  background: #fafaf7;
  border-color: #fafaf7;
  color: #0a0a0a;
}
.cc-btn--ghost {
  border-color: rgba(250,250,247,0.25);
  color: rgba(250,250,247,0.85);
}
.cc-btn--text {
  border-color: transparent;
  padding: 14px 8px;
  color: rgba(250,250,247,0.7);
  letter-spacing: 0.12em;
}
.cc-btn--text:hover {
  background: transparent;
  color: #d4b684;
  border-color: transparent;
}

/* Settings modal */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .4s;
}
.cc-modal.is-visible {
  display: flex;
  opacity: 1;
}
.cc-modal__box {
  background: #fafaf7;
  color: #0a0a0a;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px 44px 36px;
  border: 1px solid rgba(10,10,10,0.08);
  font-family: "Manrope", sans-serif;
}
.cc-modal__head {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b8935a;
  margin-bottom: 14px;
}
.cc-modal__title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cc-modal__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cc-modal__lead {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(10,10,10,0.6);
  margin-bottom: 28px;
}
.cc-row {
  border-top: 1px solid rgba(10,10,10,0.08);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: start;
}
.cc-row:last-of-type { border-bottom: 1px solid rgba(10,10,10,0.08); }
.cc-row__label {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cc-row__desc {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10,10,10,0.6);
  margin-top: -4px;
}
.cc-row__locked {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8935a;
  align-self: center;
}

/* Toggle switch */
.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.cc-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cc-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.15);
  transition: background .35s;
}
.cc-toggle__slider::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fafaf7;
  transition: transform .35s cubic-bezier(0.22,1,0.36,1);
}
.cc-toggle input:checked + .cc-toggle__slider { background: #b8935a; }
.cc-toggle input:checked + .cc-toggle__slider::before { transform: translateX(20px); }

.cc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-end;
}
.cc-modal .cc-btn {
  border-color: rgba(10,10,10,0.18);
  color: #0a0a0a;
}
.cc-modal .cc-btn:hover {
  background: #0a0a0a;
  color: #fafaf7;
  border-color: #0a0a0a;
}
.cc-modal .cc-btn--gold {
  background: #b8935a;
  border-color: #b8935a;
  color: #fafaf7;
}
.cc-modal .cc-btn--gold:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
}

/* Floating reopener */
.cc-reopener {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  left: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(10,10,10,0.18);
  background: #fafaf7;
  color: #0a0a0a;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.cc-reopener.is-visible { display: inline-flex; }
.cc-reopener:hover {
  background: #0a0a0a;
  color: #fafaf7;
  border-color: #0a0a0a;
}
.cc-reopener svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .cc-banner { padding: 26px 24px 22px; }
  .cc-modal__box { padding: 32px 24px 24px; }
  .cc-banner__actions { flex-direction: column; align-items: stretch; }
  .cc-banner__actions .cc-btn { width: 100%; }
}
