/* Consent-aware analytics interface v7.32 */
.pc-consent-banner,
.pc-consent-modal {
  --consent-paper: var(--paper, #f7f2ea);
  --consent-ink: var(--ink, #111827);
  --consent-muted: var(--muted, #625d57);
  --consent-clay: var(--clay, #c86b4a);
  --consent-rule: var(--rule, rgba(17, 24, 39, .16));
  font-family: var(--font-sans, "Outfit", sans-serif);
  color: var(--consent-ink);
}

.pc-consent-banner[hidden],
.pc-consent-backdrop[hidden] {
  display: none !important;
}

.pc-consent-banner {
  position: fixed;
  z-index: 99998;
  left: clamp(16px, 3vw, 42px);
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  background: var(--consent-paper);
  background: color-mix(in srgb, var(--consent-paper) 96%, transparent);
  border: 1px solid var(--consent-rule);
  box-shadow: 0 22px 70px rgba(17, 24, 39, .18);
  backdrop-filter: blur(18px);
  animation: pcConsentIn .45s cubic-bezier(.16, 1, .3, 1) both;
}

.pc-consent-eyebrow {
  margin: 0 0 8px;
  color: var(--consent-clay);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.pc-consent-copy h2,
.pc-consent-modal h2 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.pc-consent-copy > p:last-child,
.pc-consent-modal-intro {
  max-width: 66ch;
  margin: 12px 0 0;
  color: var(--consent-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.pc-consent-copy a,
.pc-consent-modal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--consent-clay);
  text-underline-offset: 4px;
}

.pc-consent-actions,
.pc-consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pc-consent-button {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--consent-ink);
  border-radius: 0;
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.pc-consent-button:hover {
  transform: translateY(-2px);
}

.pc-consent-button:focus-visible,
.pc-consent-close:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 2px solid var(--consent-clay);
  outline-offset: 4px;
}

.pc-consent-button-primary {
  color: var(--consent-paper);
  background: var(--consent-ink);
}

.pc-consent-button-secondary {
  color: var(--consent-ink);
  background: transparent;
}

.pc-consent-backdrop {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 12, 20, .58);
  backdrop-filter: blur(8px);
}

.pc-consent-modal {
  position: relative;
  width: min(100%, 680px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  background: var(--consent-paper);
  border: 1px solid var(--consent-rule);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  animation: pcConsentModalIn .35s cubic-bezier(.16, 1, .3, 1) both;
}

.pc-consent-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--consent-ink);
  font: 300 2rem/1 var(--font-sans, "Outfit", sans-serif);
  cursor: pointer;
}

.pc-consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--consent-rule);
}

.pc-consent-option:first-of-type {
  margin-top: 28px;
}

.pc-consent-option strong,
.pc-consent-option span {
  display: block;
}

.pc-consent-option strong {
  margin-bottom: 5px;
  font-size: .94rem;
  font-weight: 500;
}

.pc-consent-option div > span {
  color: var(--consent-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.pc-consent-state {
  min-width: 82px;
  padding: 8px 12px;
  border: 1px solid var(--consent-rule);
  color: var(--consent-clay);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.pc-consent-privacy-link {
  margin: 20px 0 26px;
  font-size: .82rem;
}

.cookie-settings-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted, #625d57);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  transition: color .25s ease;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: var(--clay, #c86b4a);
}

.consent-modal-open {
  overflow: hidden;
}

@keyframes pcConsentIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pcConsentModalIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .pc-consent-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pc-consent-actions,
  .pc-consent-modal-actions {
    justify-content: stretch;
  }
  .pc-consent-button {
    flex: 1 1 180px;
  }
}

@media (max-width: 480px) {
  .pc-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }
  .pc-consent-actions,
  .pc-consent-modal-actions {
    flex-direction: column-reverse;
  }
  .pc-consent-button {
    width: 100%;
  }
  .pc-consent-option {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pc-consent-state {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-consent-banner,
  .pc-consent-modal {
    animation: none;
  }
  .pc-consent-button {
    transition: none;
  }
}
