/* Okaro Studio — Finsweet Cookie Consent v1 skin.
   Source of truth for https://cdn.avinii.com/okarostudio/css/consent-<hash>.css
   Linked from Webflow → Site Settings → Custom Code → Head.

   Notes
   - The four component roots are display:none here on purpose. fs-cc.js shows them
     by writing an inline display (default "flex"), which beats this stylesheet.
     Do not add a competing display rule or the panels will flash on first paint.
   - Colours are the site's own tokens; see :root in the Webflow stylesheet.
   - The site's head code already applies backdrop-filter to .fs-cc-banner_component,
     .fs-cc-prefs_form, .fs-cc-manager_button and friends via @supports. */

.fs-cc-banner_component,
.fs-cc-prefs_component,
.fs-cc-manager_component {
  display: none;
  font-family: Hankengrotesk, Arial, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- banner */

.fs-cc-banner_component {
  position: fixed;
  z-index: 9990;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.fs-cc-banner_container {
  position: relative;   /* offset parent for .fs-cc-banner_close */
  pointer-events: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 46rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color--light, #ffffff1a);
  border-radius: 1rem;
  /* Near-opaque by default. Browsers that support backdrop-filter get a lighter
     value further down, where the blur does the work of separating the panel
     from the page. Without that fallback, page text reads straight through. */
  background-color: #0a0a0af2;
}

.fs-cc-banner_text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  opacity: .75;
}

.fs-cc-banner_text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.fs-cc-banner_buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
}

.fs-cc-banner_button,
.fs-cc-prefs_button {
  display: inline-block;
  padding: .55rem 1.4rem .6rem;
  border: 1px solid #fff;
  border-radius: 100rem;
  background-color: #fff;
  color: #000;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s, background-color .2s, color .2s;
}

.fs-cc-banner_button:hover,
.fs-cc-prefs_button:hover { opacity: .8; }

.fs-cc-button-alt {
  background-color: transparent;
  color: #fff;
  border-color: #ffffff40;
}

.fs-cc-button-alt:hover {
  background-color: #ffffff14;
  border-color: #fff;
  opacity: 1;
}

.fs-cc-banner_text-link {
  margin-right: auto;
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
  opacity: .75;
}

.fs-cc-banner_text-link:hover { opacity: 1; }

/* There is deliberately no close control on the banner: a dismiss that neither
   accepts nor declines is ambiguous under opt-in, and "Decline" already sits
   next to "Accept" at equal weight. The preferences dialog does have one. */

/* ----------------------------------------------------------- preferences */

.fs-cc-prefs_component {
  position: fixed;
  z-index: 9995;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #000000b3;
}

.fs-cc-prefs_form {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  max-height: 86vh;
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid var(--border-color--light, #ffffff1a);
  border-radius: 1rem;
  background-color: #0a0a0af2;
}

.fs-cc-prefs_close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  opacity: .5;
}

.fs-cc-prefs_close:hover { opacity: 1; }

.fs-cc-prefs_title {
  margin: 0 0 .5rem;
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.fs-cc-prefs_text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.fs-cc-prefs_text.text-style-muted,
.fs-cc-prefs_option .fs-cc-prefs_text { opacity: .75; }

.fs-cc-prefs_space-small  { margin-bottom: 1rem; }
.fs-cc-prefs_space-medium { display: flex; flex-wrap: wrap; gap: .625rem; margin-bottom: 2rem; }

.fs-cc-prefs_option {
  padding: 1.125rem 0;
  border-top: 1px solid var(--border-color--light, #ffffff1a);
}

.fs-cc-prefs_option:last-of-type { border-bottom: 1px solid var(--border-color--light, #ffffff1a); }

.fs-cc-prefs_toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .375rem;
}

.fs-cc-prefs_label { font-size: 1.15rem; line-height: 1.3; }

.fs-cc-prefs_toggle-wrapper .fs-cc-prefs_text.exception {
  font-size: .875rem;
  opacity: .5;
  white-space: nowrap;
}

/* toggle switch — the native checkbox drives it, so it stays keyboard-operable */

.fs-cc-prefs_checkbox-field {
  position: relative;
  display: block;
  flex: none;
  width: 2.75rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.fs-cc-prefs_checkbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

/* Finsweet's own template hides this label; keep it hidden. */
.fs-cc-prefs_checkbox-label { display: none; }

.fs-cc-prefs_toggle {
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff40;
  border-radius: 100rem;
  background-color: #ffffff14;
  transition: background-color .2s, border-color .2s;
  pointer-events: none;
}

.fs-cc-prefs_toggle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: .1875rem;
  width: 1rem;
  height: 1rem;
  margin-top: -.5rem;
  border-radius: 100rem;
  background-color: #fff;
  opacity: .6;
  transition: transform .2s, opacity .2s;
}

.fs-cc-prefs_checkbox:checked ~ .fs-cc-prefs_toggle {
  background-color: #fff;
  border-color: #fff;
}

.fs-cc-prefs_checkbox:checked ~ .fs-cc-prefs_toggle:after {
  transform: translateX(1.1875rem);
  background-color: #000;
  opacity: 1;
}

.fs-cc-prefs_checkbox:focus-visible ~ .fs-cc-prefs_toggle {
  outline: 2px solid var(--base-color-system--focus-state, #2d62ff);
  outline-offset: 2px;
}

.fs-cc-prefs_submit { margin-top: 1.75rem; }

/* --------------------------------------------------------------- manager */

.fs-cc-manager_component {
  position: fixed;
  z-index: 9980;
  left: 1.25rem;
  bottom: 1.25rem;
}

.fs-cc-manager_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-color--light, #ffffff1a);
  border-radius: 100rem;
  background-color: #0a0a0acc;
  color: #fff;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s;
}

.fs-cc-manager_button:hover { opacity: 1; }
.fs-cc-manager_icon { width: 1.125rem; height: 1.125rem; }

/* ----------------------------------------------------------------- icons
   Carried as CSS masks rather than inline SVG so the Webflow footer custom
   code block stays well inside its 10,000-character limit. currentColor
   still drives the colour, so hover/opacity rules above keep working. */

.fs-cc-prefs_close,
.fs-cc-manager_icon {
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}

.fs-cc-prefs_close {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M9.414 8l4.293-4.293-1.414-1.414L8 6.586 3.707 2.293 2.293 3.707 6.586 8l-4.293 4.293 1.414 1.414L8 9.414l4.293 4.293 1.414-1.414L9.414 8z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M9.414 8l4.293-4.293-1.414-1.414L8 6.586 3.707 2.293 2.293 3.707 6.586 8l-4.293 4.293 1.414 1.414L8 9.414l4.293 4.293 1.414-1.414L9.414 8z'/%3E%3C/svg%3E");
}

.fs-cc-manager_icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 767px) {
  .fs-cc-banner_container { padding: 1.25rem; }
  .fs-cc-banner_text { font-size: .9375rem; margin-bottom: 1rem; }
  .fs-cc-banner_buttons-wrapper { gap: .5rem; }
  .fs-cc-banner_button,
  .fs-cc-prefs_button { flex: 1 1 auto; padding: .6rem 1rem; }
  .fs-cc-banner_text-link { flex: 1 0 100%; margin: 0 0 .25rem; }
  .fs-cc-prefs_form { padding: 1.5rem; max-height: 90vh; }
  .fs-cc-prefs_close { top: 1.375rem; right: 1.375rem; }
  .fs-cc-prefs_title { font-size: 1.375rem; }
  .fs-cc-manager_component { left: 1rem; bottom: 1rem; }
}

/* ------------------------------------------------------------------ glass
   The site's head code used to carry .fs-cc-* selectors in its @supports
   backdrop-filter blocks, left over from another project. They were removed:
   one of them blurred .fs-cc-banner_component, which is the full-width fixed
   wrapper, so it smeared the whole bottom strip of the page rather than the
   panel. The blur belongs on the painted surfaces, which is what this does. */

/* The blur is gated behind .fs-cc-ready, which the footer helper adds only once
   fs-cc's opacity fade has finished.

   Why: fs-cc animates inline opacity on the component ROOT. While that value is
   below 1 the root is a backdrop root, so a descendant's backdrop-filter has
   nothing beneath it to sample and paints nothing. Chrome then caches that empty
   backdrop and does not invalidate it when opacity reaches 1 — so the panel stayed
   unblurred until some unrelated repaint (hovering a CTA) forced a re-raster.
   Applying the filter only after the fade settles means the first paint already
   samples the real page behind it. */

@supports ((backdrop-filter: blur(30px)) or (-webkit-backdrop-filter: blur(30px))) {
  .fs-cc-ready.fs-cc-banner_component .fs-cc-banner_container,
  .fs-cc-ready.fs-cc-manager_component .fs-cc-manager_button {
    -webkit-backdrop-filter: blur(30px);
            backdrop-filter: blur(30px);
  }
  .fs-cc-ready.fs-cc-banner_component .fs-cc-banner_container {
    background-color: #0a0a0acc;
  }
}

@supports ((backdrop-filter: blur(15px)) or (-webkit-backdrop-filter: blur(15px))) {
  .fs-cc-ready.fs-cc-prefs_component {
    background-color: #00000080;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs-cc-banner_button,
  .fs-cc-prefs_button,
  .fs-cc-prefs_toggle,
  .fs-cc-prefs_toggle:after,
  .fs-cc-manager_button { transition: none; }
}
