/* Inherits the site's typeface. Override these custom properties per brand. */
.analytics-consent {
  --consent-bg: #f9f8f4;
  --consent-text: #192329;
  --consent-line: #a0aaa9;
  --consent-accent: #254b4b;
  position: fixed;
  z-index: 1000;
  inset: auto 1.25rem 1.25rem;
  color: var(--consent-text);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  pointer-events: none;
}
.analytics-consent [hidden] { display: none !important; }
.analytics-consent__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 76rem;
  margin-inline: auto;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--consent-line);
  background: var(--consent-bg);
  box-shadow: 0 8px 30px #101b2020;
  pointer-events: auto;
}
.analytics-consent__copy { max-width: 38rem; }
.analytics-consent__copy h2 { margin: 0 0 .25rem; font: inherit; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.analytics-consent__copy p { margin: 0 0 .35rem; font: inherit; font-size: .875rem; line-height: 1.45; }
.analytics-consent__privacy { color: inherit; font-size: .78rem; text-underline-offset: .2em; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; flex-shrink: 0; max-width: 26rem; }
.analytics-consent button {
  appearance: none;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid var(--consent-accent);
  border-radius: 2px;
  background: transparent;
  color: var(--consent-accent);
  font: inherit;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.analytics-consent button:hover { background: var(--consent-accent); color: var(--consent-bg); }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible { outline: 3px solid var(--consent-accent); outline-offset: 4px; }
.analytics-consent .analytics-consent__close { min-height: 30px; padding: .25rem; width: 100%; border-color: transparent; font-size: .75rem; font-weight: 400; text-decoration: underline; text-underline-offset: .2em; }
.analytics-consent .analytics-consent__close:hover { background: transparent; color: var(--consent-text); }
.analytics-consent .analytics-consent__preferences { display: block; margin-left: auto; padding: .55rem .8rem; min-height: 44px; border-color: var(--consent-line); background: var(--consent-bg); pointer-events: auto; box-shadow: 0 4px 16px #101b2015; font-size: .72rem; }
@media (max-width: 720px) {
  .analytics-consent { inset: auto .65rem max(.65rem, env(safe-area-inset-bottom)); }
  .analytics-consent__bar { align-items: stretch; flex-direction: column; gap: .9rem; padding: 1rem; max-height: 75svh; overflow: auto; }
  .analytics-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .analytics-consent__close { grid-column: 1 / -1; }
  .analytics-consent button { padding-inline: .55rem; }
}
@media (prefers-reduced-motion: reduce) { .analytics-consent button { transition: none; } }

/* Qbit83 brand; no fixed contact CTA is present in this release. */
.analytics-consent { --consent-bg:#f5f3eb; --consent-text:#172332; --consent-line:#a9b3b5; --consent-accent:#101b2b; }
.analytics-consent__copy h2 { font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; letter-spacing:-.02em; }
body.menu-open .analytics-consent { visibility:hidden; }

/* A notice in normal flow preserves every navigation, project and contact action. */
.analytics-consent { position:static; inset:auto; padding:0 6.25vw; margin:0; background:var(--cream); border-bottom:1px solid var(--line); pointer-events:auto; }
.analytics-consent__bar { max-width:1550px; padding:1.15rem 0; border:0; background:transparent; box-shadow:none; }
.analytics-consent .analytics-consent__preferences { margin:0; padding:.7rem 0; border:0; background:transparent; box-shadow:none; text-decoration:underline; text-underline-offset:.2em; }
.analytics-preferences-link { display:inline-flex; align-items:center; min-height:44px; padding:.5rem 0; border:0; background:transparent; color:inherit; font:inherit; font-size:11px; text-decoration:underline; text-underline-offset:.2em; }
@media(max-width:760px){ .analytics-consent { padding-inline:24px; } .analytics-consent__bar { padding-block:1rem; max-height:none; overflow:visible; } }
