/* Scoped stylesheet for the site navbar + footer embedded on demo pages
   (the demo pages inside the demos folder). Deliberately does NOT link the full styles.css,
   since that file defines generic component classes (.hero, .container,
   .card, etc.) that can collide with a demo's own unrelated local class
   names of the same name and silently break its layout. Everything below
   is scoped to the site-header, site-footer and button classes only. */
:root {
  --radius: 1rem;
  --content-width: 1400px;
  --color-accent: #b9ff45;
  --color-background: #121212;
  --color-surface: #343432;
  --color-text: #ffffff;
  --color-muted: #d4d4ce;
  --color-line: #d4d4ce;
  --color-header: rgba(41, 41, 41, 0.94);
  --color-graphic-line: #ffffff;
  --color-flow: #b9ff45;
  --color-light-background: #f4f4f0;
  --color-light-text: #292929;
  --color-light-muted: #74746f;
  --color-light-line: rgba(41, 41, 41, 0.2);
}

.container {
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
}
@media (max-width: 480px) {
  .container {
    width: min(100% - 2rem, var(--content-width));
  }
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-text);
  border-radius: 4px;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button__label, .button__arrow {
  position: relative;
  z-index: 2;
}
.button--scramble {
  min-width: 10rem;
  padding: 0 1.25rem;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}
.button--scramble .button__label {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}
.button--scramble:hover, .button--scramble:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--color-background);
}
.button.button--scramble.button--fill-dark {
  background: #121212;
  border-color: #121212;
  color: var(--color-accent);
}
.button.button--scramble.button--fill-dark:hover, .button.button--scramble.button--fill-dark:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #121212;
}

/* The explicit resets below (display/margin/padding/border/etc.) exist
   because demo pages sometimes style bare HTML tags like header/footer
   with generic selectors (e.g. "header{display:flex;...}"), which would
   otherwise also match these injected elements regardless of their class.
   A class selector always outranks a bare tag selector, so declaring the
   property here — with any value — is enough to block the leak. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  justify-content: normal;
  align-items: normal;
  gap: normal;
  background: transparent;
  font-size: 16px;
  pointer-events: none;
}
.site-header__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  pointer-events: none;
}
.site-header__brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  width: 90px;
  align-items: center;
  text-decoration: none;
  pointer-events: auto;
}
.site-header__logo {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.site-header__nav {
  position: fixed;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 101;
  display: flex;
  width: min(25rem, 100vw - 2rem);
  flex-direction: column;
  padding: 7rem 2.5rem 2.5rem;
  border: 1px solid rgba(41, 41, 41, 0.18);
  border-radius: 4px;
  transform: translateX(calc(100% + 2rem));
  visibility: hidden;
  background: #f4f4f0;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.32);
  color: #292929;
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.72, 0, 0.2, 1), opacity 220ms ease, visibility 0s linear 420ms;
}
.site-header__nav[data-open=true] {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.site-header__nav a {
  color: inherit;
  text-decoration: none;
}
.site-header__toggle {
  position: relative;
  z-index: 103;
  display: inline-flex;
  min-width: 5rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: rgba(41, 41, 41, 0.28);
  color: #ffffff;
  pointer-events: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.site-header__toggle[aria-expanded=true] {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  background: #292929;
  color: #ffffff;
}
.site-header__toggle[aria-expanded=true] .site-header__toggle-icon::before {
  top: 50%;
  transform: rotate(45deg);
}
.site-header__toggle[aria-expanded=true] .site-header__toggle-icon::after {
  bottom: auto;
  top: 50%;
  transform: rotate(-45deg);
}
.site-header__toggle-label:empty {
  display: none;
}
.site-header__toggle-icon {
  position: relative;
  display: block;
  width: 1rem;
  height: 0.75rem;
}
.site-header__toggle-icon::before, .site-header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}
.site-header__toggle-icon::before {
  top: 0.2rem;
}
.site-header__toggle-icon::after {
  bottom: 0.2rem;
}
.site-header.is-over-light .site-header__toggle:not([aria-expanded=true]) {
  background: rgba(255, 255, 255, 0.56);
  color: #292929;
}
.site-header.is-over-split-services .site-header__toggle:not([aria-expanded=true]) {
  background: rgba(244, 244, 240, 0.72);
  color: #292929;
}
.site-header__menu-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.site-header__menu-links > a {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.35;
}
.site-header__menu-links > a:hover, .site-header__menu-links > a:focus-visible {
  color: var(--color-accent);
}
.site-header__book {
  align-self: flex-start;
  margin: 1.5rem 0 2rem;
}
.site-header__menu-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: auto;
}
.site-header__contact, .site-header__social {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.35rem;
}
.site-header__contact a,
.site-header__contact span, .site-header__social a,
.site-header__social span {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}
.site-header__contact a:hover, .site-header__contact a:focus-visible, .site-header__social a:hover, .site-header__social a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.site-header__menu-label {
  margin: 0 0 0.55rem;
  color: #777772;
  font-size: 11px;
  text-transform: uppercase;
}
.site-header__social-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
@media (max-width: 560px) {
  .site-header__inner {
    min-height: 4rem;
  }
  .site-header__brand {
    width: 80px;
  }
  .site-header__nav {
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
    padding: 6rem 1.5rem 1.5rem;
    border-color: rgba(255, 255, 255, 0.22);
  }
  .site-header__menu-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.site-footer {
  --qow-section-background: var(--color-background);
  --qow-section-text: var(--color-text);
  --footer-background: var(--qow-section-background);
  --footer-text: var(--qow-section-text);
  --footer-muted: #d4d4ce;
  --footer-line: rgba(255, 255, 255, 0.48);
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  justify-content: normal;
  align-items: normal;
  gap: normal;
  flex-wrap: nowrap;
  overflow: visible;
  background: var(--footer-background);
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}
.site-footer .button {
  border-color: var(--footer-text);
}
.site-footer .button--scramble:hover, .site-footer .button--scramble:focus-visible {
  border-color: var(--footer-text);
  background: var(--footer-text);
  color: var(--footer-background);
}
.site-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
  padding-block: clamp(2.5rem, 6vh, 3.75rem);
}
.site-footer__inner p {
  margin: 0;
  color: var(--footer-muted);
}
.site-footer__statement h2 {
  max-width: 42rem;
  margin: 0;
  color: var(--footer-text);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.02;
}
.site-footer__statement p {
  max-width: 40rem;
  margin-top: 1.5rem;
  line-height: 1.55;
}
.site-footer__contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.5rem;
}
.site-footer__contact a:not(.button) {
  color: var(--footer-text);
  text-decoration: none;
}
.site-footer__contact a:not(.button):hover, .site-footer__contact a:not(.button):focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.site-footer__lead {
  color: var(--footer-text) !important;
  font-family: "GC Neue Machine", Arial, Helvetica, sans-serif !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.1;
}
.site-footer__hint {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), 100% - 3rem);
  margin: 1rem auto;
  color: var(--footer-muted);
  font-size: 11px;
  text-transform: uppercase;
}
.site-footer__strings {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 20rem;
  touch-action: pan-y;
}
@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 4rem 3rem;
  }
  .site-footer__contact {
    gap: 1.25rem;
  }
  .site-footer__hint {
    width: calc(100% - 2rem);
    margin-block: 0.75rem;
  }
}
@media (max-width: 560px) {
  .site-footer__statement p {
    margin-top: 1rem;
  }
}

/* Booking modal (the "Book a free working session" sidebar CTA opens this) */
.qow-kicker {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 1rem;
}
.qow-hp {
  position: absolute !important;
  left: -9999px !important;
}
.qow-book-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
.qow-book-modal[aria-hidden=false] {
  display: block;
}
.qow-book-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(7px);
}
.qow-book-modal__dialog {
  position: absolute;
  inset: 3vh 3vw;
  max-width: 1180px;
  margin: auto;
  background: var(--color-light-background);
  color: var(--color-light-text);
  border-radius: var(--radius);
  padding: 28px;
  overflow: auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}
.qow-book-modal__dialog h2 {
  font-size: clamp(1.8rem, 2.35vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 850px;
  margin: 8px 0 12px;
}
.qow-book-modal__dialog--combined {
  max-width: 1500px;
}
@media (max-width: 1100px) {
  .qow-book-modal__dialog--combined {
    inset: 2vh 2vw;
  }
}
.qow-book-modal__close {
  position: absolute;
  right: 20px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.qow-book-modal__close:hover, .qow-book-modal__close:focus-visible {
  background: var(--color-light-text);
  color: var(--color-light-background);
}
.qow-book-modal__tabs {
  display: flex;
  gap: 8px;
  margin: 0 60px 28px 0;
}
.qow-book-modal__tabs button {
  border: 1px solid rgba(41, 41, 41, 0.25);
  background: transparent;
  color: inherit;
  padding: 11px 16px;
  border-radius: 4px;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}
.qow-book-modal__tabs button.is-active {
  background: var(--color-light-text);
  color: var(--color-light-background);
}
.qow-book-modal__intro {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.55;
}
.qow-book-modal__header {
  padding-right: 56px;
  margin-bottom: 26px;
}
.qow-book-modal__header h2 {
  margin: 0.3rem 0 0.8rem;
  max-width: 1000px;
}
.qow-book-modal__header > p:last-child {
  max-width: 850px;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 650px) {
  .qow-book-modal__header {
    padding-right: 42px;
  }
}
.qow-book-modal__split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 1100px) {
  .qow-book-modal__split {
    grid-template-columns: 1fr;
  }
}
.qow-book-modal__calendar, .qow-book-modal__problem {
  border: 1px solid rgba(41, 41, 41, 0.18);
  background: #fff;
  border-radius: 4px;
  padding: 18px;
}
.qow-book-modal__section-head {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.qow-book-modal__section-head > span {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  opacity: 0.55;
  padding-top: 4px;
}
.qow-book-modal__section-head h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 4px;
}
.qow-book-modal__section-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.7;
}
.qow-book-modal__problem .qow-lead-form {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}
@media (max-width: 650px) {
  .qow-book-modal__problem .qow-lead-form {
    grid-template-columns: 1fr;
  }
}
.qow-book-modal__problem .qow-lead-form small {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.65;
}
.qow-book-modal__problem input[type=file] {
  padding: 10px;
  background: var(--color-light-background);
}
@media (max-width: 760px) {
  .qow-book-modal__dialog {
    inset: 1.5vh 2vw;
    padding: 20px;
  }
}

.qow-cal-frame {
  width: 100%;
  height: 650px;
  border: 1px solid rgba(41, 41, 41, 0.18);
  background: #fff;
  border-radius: 4px;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .qow-cal-frame {
    height: 570px;
  }
}
@media (max-width: 650px) {
  .qow-cal-frame {
    height: 560px;
  }
}

.qow-book-modal .qow-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.qow-book-modal .qow-lead-form label {
  display: grid;
  gap: 7px;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
}
.qow-book-modal .qow-lead-form input,
.qow-book-modal .qow-lead-form select,
.qow-book-modal .qow-lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(41, 41, 41, 0.28);
  background: #fff;
  color: var(--color-light-text);
  border-radius: 4px;
  font: inherit;
}
.qow-book-modal .qow-lead-form input:focus-visible,
.qow-book-modal .qow-lead-form select:focus-visible,
.qow-book-modal .qow-lead-form textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.qow-book-modal .qow-lead-form__wide {
  grid-column: 1/-1;
}
@media (max-width: 760px) {
  .qow-book-modal .qow-lead-form {
    grid-template-columns: 1fr;
  }
}

.qow-lead-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid var(--color-light-text);
  border-radius: 4px;
  background: transparent;
  color: var(--color-light-text);
  padding: 0 1.25rem;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.qow-lead-submit:hover, .qow-lead-submit:focus-visible {
  background: var(--color-light-text);
  color: var(--color-light-background);
}

.qow-lead-status {
  align-self: center;
  margin: 0;
  font-size: 13px;
}

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

/* headings in the footer use the same face and case as on the main site */
.site-footer h2 {
  font-family: "GC Neue Machine", Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a,
.site-footer__hint {
  font-family: Inter, Arial, sans-serif;
}

/* menu panel: dark, white text; white button that turns lime on hover */
.site-header__nav {
  background: #121212;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.site-header__nav a,
.site-header__nav .site-header__menu-links > a {
  color: #ffffff;
}
.site-header__nav .site-header__menu-links > a:hover,
.site-header__nav .site-header__menu-links > a:focus-visible {
  color: var(--color-accent, #b9ff45);
}
.site-header__nav .site-header__menu-label {
  color: rgba(255, 255, 255, 0.62);
}
.site-header__nav .site-header__book.button,
.site-header__nav a.button.button--scramble.button--fill-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #121212;
}
.site-header__nav .site-header__book.button:hover,
.site-header__nav .site-header__book.button:focus-visible,
.site-header__nav a.button.button--scramble.button--fill-dark:hover,
.site-header__nav a.button.button--scramble.button--fill-dark:focus-visible {
  background: #b9ff45;
  border-color: #b9ff45;
  color: #121212;
}
.site-header__nav .site-header__book .button__label {
  color: inherit;
}
.site-header__toggle[aria-expanded="true"] {
  background: #ffffff;
  border-color: #ffffff;
  color: #121212;
}

/* header and footer keep the same width on every page, even where Bootstrap is loaded and restyles .container */
.site-header .container,
.site-footer .container {
  width: min(100% - 3rem, var(--content-width));
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 480px) {
  .site-header .container,
  .site-footer .container {
    width: min(100% - 2rem, var(--content-width));
  }
}
