/* Hand Coded With Love by We Unfuck */
/* ============================================================
   We Unf*ck — hand-coded global stylesheet
   Rebuilt from the Elementor design system (kit-7)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --c-primary: #00A9EE;
  --c-secondary: #5B656F;
  --c-text: #060606;
  --c-accent: #3DCBFF;
  --c-white: #FFFFFF;
  --c-gray-100: #F9F9F9;
  --c-gray-150: #F5F5F7;
  --c-gray-200: #F4F4F4;
  --c-gray-400: #BDBDBD;
  --c-steel: #A9BBCE;
  --c-blue-alt: #0081FF;
  --c-green: #00D115;
  --c-ink-900: #060606;
  --c-ink-850: #0F1011;
  --c-ink-800: #181A1D;
  --c-ink-700: #1B1C1D;
  --c-ink-600: #272C35;
  --f-display: "Red Hat Display", sans-serif;
  --f-text: "Roboto", sans-serif;
  --w-content: 1140px;
  --w-header: 1200px;
  --w-footer: 1260px;
  --topbar-h: 35px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--f-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--c-text);
  background: #fff;
  padding-top: var(--topbar-h); /* fixed topbar */
}
img { max-width: 100%; height: auto; border: 0; display: inline-block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--c-primary); }
p { margin: 0 0 1.5em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-family: var(--f-display); }
h1 { font-size: 40px; font-weight: 700; line-height: 1em; letter-spacing: 0; }
h2 { font-size: 30px; font-weight: 800; line-height: 1.1em; letter-spacing: 0; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.2em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: #000; color: #fff; padding: 8px 16px;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--w-content);
  margin-left: auto; margin-right: auto;
  padding-left: 16px; padding-right: 16px;
}
@media (max-width: 1024px) { .container { max-width: 1024px; } }

/* ---------- Buttons ---------- */
.btn-wrap { position: relative; display: inline-block; }
.btn {
  display: inline-block;
  position: relative;
  font-family: var(--f-display);
  font-size: 16px; font-weight: 800; line-height: 1em; letter-spacing: 0;
  text-align: center;
  padding: 14px 35px 12px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: all .4s;
  text-decoration: none;
}
.btn__text { position: relative; left: 0; transition: left .4s; color: inherit; display: inline-block; }
.btn__icon {
  position: absolute; right: 3rem; top: 54%; transform: translateY(-50%);
  opacity: 0; transition: all .4s; display: inline-flex;
}
/* dark variant: white outline on dark background */
.btn--outline-dark { border-color: #fff; color: #fff; background: transparent; }
.btn-wrap--pulse-dark .btn,
.btn-wrap--dark .btn { }
.btn--outline-dark:hover { color: #fff !important; border-color: var(--c-primary) !important; background-color: var(--c-primary) !important; }
.btn--outline-dark:hover .btn__text { left: -1rem; }
.btn--outline-dark:hover .btn__icon { right: 1rem; opacity: 1; color: #fff !important; }
/* light variant: black outline on light background */
.btn--outline-light { border-color: #000; color: #000; background: transparent; }
.btn--outline-light:hover { color: #fff !important; border-color: var(--c-primary) !important; background-color: var(--c-primary) !important; }
.btn--outline-light:hover .btn__text { left: -1rem; }
.btn--outline-light:hover .btn__icon { right: 1rem; opacity: 1; color: #fff !important; }
/* solid variants */
.btn--solid-blue { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--solid-blue:hover { background: #000; border-color: #000; color: #fff; }
.btn--solid-white { background: #fff; border-color: #fff; color: #000; }
.btn--solid-white:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* pulse animations */
.btn-wrap--pulse-dark .btn {
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
  animation: pulse-new 2s infinite;
}
.btn-wrap--pulse-dark:hover .btn { animation: pulse-new-hover 2s infinite; }
.btn-wrap--pulse-light .btn {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  animation: pulse-light 2s infinite;
}
.btn-wrap--pulse-light:hover .btn { animation: pulse-light-hover 2s infinite; }

@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(0, 169, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0); }
}
@keyframes pulse-light-hover {
  0% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 169, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0); }
}
@keyframes pulse-new {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 169, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0); }
}
@keyframes pulse-new-hover {
  0% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 169, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 169, 238, 0); }
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: #000;
  z-index: 999;
  padding: 0 16px;
}
.topbar__inner {
  max-width: var(--w-header);
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 21px;
  padding-right: 28px;
}
@media (max-width: 1024px) { .topbar__inner { padding-right: 8px; } }
.topbar__link {
  font-family: var(--f-display);
  font-size: 10px; font-weight: 700; line-height: 2.2em; letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 8px 8px;
  display: inline-flex; align-items: center; gap: 10px;
}
.topbar__link:hover { color: var(--c-primary); }
.topbar__arrow { flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 200;
  /* transparent over the dark hero; the fixed top bar stays black.
     Light pages (blog/posts/404) opt into a solid header via body.light-header. */
  background: transparent;
  padding: 0 40px;
}
.site-header__inner {
  max-width: var(--w-header);
  margin: 0 auto;
  padding: 16px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}
.site-header__logo { display: inline-block; line-height: 0; }
.site-header__logo img { width: 140px; height: auto; }

.site-nav { position: relative; }
.site-nav__toggle { display: none; color: #fff; padding: 6px; }
.site-nav__icon-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__icon-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__icon-close { display: block; }

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 2px 36px 0;
}
.site-nav__item { position: relative; }
.site-nav__item > a {
  display: flex; align-items: center;
  font-family: var(--f-display);
  font-size: 14px; font-weight: 600; line-height: 1em; letter-spacing: 0.3px;
  color: #fff;
  padding: 13px 0;
  margin: 0 15px;
  position: relative;
  transition: color .4s;
}
.site-nav__list > .site-nav__item:first-child > a { margin-left: 0; }
.site-nav__list > .site-nav__item:last-child > a { margin-right: 0; }
.site-nav__list > .site-nav__item > a:hover { color: var(--c-primary); }
.site-nav__list > .site-nav__item.is-active > a { color: #fff; }
/* underline pointer */
.site-nav__list > .site-nav__item > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--c-primary);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s ease;
}
.site-nav__list > .site-nav__item > a:hover::after,
.site-nav__list > .site-nav__item.is-active > a::after { transform: scaleY(1); }

/* Logo swap: two wordmarks in the header; the light variant uses the ink wordmark */
.site-header__logo-img--onwhite { display: none; }

/* ---------- Light header (blog, posts, sub-sub service pages) ----------
   Topbar stays black; only the main nav bar flips to white with dark text. */
body.light-header .site-header { background: var(--c-white); }
body.light-header .site-header__logo-img--ondark { display: none; }
body.light-header .site-header__logo-img--onwhite { display: inline-block; }
body.light-header .site-nav__toggle { color: var(--c-secondary); }
body.light-header .site-nav__list > .site-nav__item > a { color: var(--c-secondary); }
body.light-header .site-nav__list > .site-nav__item > a:hover { color: var(--c-primary); }
body.light-header .site-nav__list > .site-nav__item.is-active > a { color: var(--c-secondary); }

.site-nav__sub-arrow {
  display: none;
}
/* desktop: down-caret on top-level has-submenu items (e.g. "What We Fix") */
@media (min-width: 768px) {
  .site-nav__list > .site-nav__item--has-sub > a > .site-nav__sub-arrow {
    display: inline-block;
    margin-left: 4px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    padding: 2.5px;
    transform: translateY(-2px) rotate(45deg);
  }
}

/* dropdown */
.site-nav__sub {
  list-style: none;
  position: absolute; top: 100%; left: 15px;
  min-width: 156px;
  background: var(--c-secondary);
  display: none;
  z-index: 9997;
}
.site-nav__sub a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display);
  font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0.3px;
  color: #fff;
  padding: 12px;
  white-space: nowrap;
  transition: color .4s;
}
.site-nav__sub a:hover { color: var(--c-primary); }
/* nested flyout */
.site-nav__sub .site-nav__item--has-sub,
.site-nav__sub li { position: relative; }
.site-nav__sub--nested {
  top: 0; left: 100%;
}
.site-nav__sub .site-nav__item--has-sub > a::after {
  content: "";
  display: inline-block; margin-left: 12px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  padding: 2.5px; transform: rotate(-45deg);
}
/* open states (desktop hover) */
@media (min-width: 768px) {
  .site-nav__item--has-sub:hover > .site-nav__sub,
  .site-nav__item--has-sub:focus-within > .site-nav__sub {
    display: block;
    animation: fadeIn .3s;
  }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 767px) {
  .site-header { padding: 0 16px; }
  .site-header__inner { padding: 14px 0; min-height: 68px; }
  .site-nav { position: static; }
  .site-nav__toggle { display: inline-flex; }
  .site-nav__toggle:hover { color: var(--c-primary); }
  .site-nav__list {
    display: none;
    position: absolute;
    top: calc(100% + 15px); left: 0; right: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-secondary);
    z-index: 9997;
  }
  .site-header { position: relative; }
  .site-nav.is-open .site-nav__list { display: flex; }
  .site-nav__item > a { margin: 0; padding: 16px 3rem; }
  .site-nav__list > .site-nav__item > a::after { display: none; }
  /* Mobile submenu — Option 2: one rotating chevron, depth shading, smooth slide */
  .site-nav__item--has-sub > a { display: flex; align-items: center; }
  .site-nav__sub-arrow {
    display: inline-block; margin-left: auto;
    width: 9px; height: 9px; padding: 0;
    border: solid currentColor; border-width: 0 2px 2px 0;
    transform: rotate(45deg);                 /* closed: chevron points down */
    transition: transform .25s ease, border-color .25s ease;
  }
  .is-sub-open > a > .site-nav__sub-arrow {
    transform: rotate(-135deg);               /* open: chevron flips up */
    border-color: var(--c-primary);
  }
  /* parent row darkens while its section is open */
  .is-sub-open > a { background: rgba(0,0,0,.14); }
  /* collapsible panel — animated open/close */
  .site-nav__sub {
    position: static;
    display: block;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,.12);
    transition: max-height .3s ease;
  }
  .is-sub-open > .site-nav__sub { max-height: 900px; }
  .site-nav__sub a { padding: 16px 3rem 16px 4rem; white-space: normal; }
  /* remove the second (desktop flyout) arrow on mobile — fixes the double arrow */
  .site-nav__sub .site-nav__item--has-sub > a::after { display: none; }
  /* deeper level: darker panel + hairline rail so nesting depth reads clearly */
  .site-nav__sub--nested { background: rgba(0,0,0,.16); }
  .site-nav__sub--nested a { padding-left: 5rem; border-left: 2px solid rgba(255,255,255,.14); }
}

/* ---------- CTA band (above footer, every page) ---------- */
.footer-wrap { position: relative; background: #000; }
.footer-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/WeUnf_Lion_Footer_v3.webp") no-repeat fixed bottom right / 360px auto;
  opacity: 1; pointer-events: none;
}
@media (max-width: 1024px) {
  .footer-wrap::before { background-size: 75% auto; opacity: 0.5; }
}
@media (max-width: 767px) {
  .footer-wrap::before { background-size: 80% auto; }
  .footer-wrap { border-top: 1px solid #fff; }
}
.footer-wrap > * { position: relative; }

/* ---------- Fixed hero/footer lion images (content scrolls over them) ----------
   The lion layers are painted fixed to the viewport, so the section content
   scrolls over a stationary image. Each host clips to its own box, so the
   image only shows inside its section. Fixed attachment is set in the
   shorthand of each ::before rule; here we just clip and add the mobile
   fallback (fixed backgrounds are janky/unsupported on iOS). */
.hero, .khero, .ghero, .svc-hero, .footer-wrap { overflow: hidden; }
@media (max-width: 767px) {
  .hero::before, .khero::before, .ghero::before, .svc-hero::before, .footer-wrap::before {
    background-attachment: scroll !important;
  }
}

.cta-band {
  background: transparent;
  color: #fff;
  padding: 81px 16px 46px;
}
.cta-band__inner {
  max-width: 614px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
}
.cta-band__title {
  font-family: var(--f-display);
  font-size: 46px; font-weight: 100; line-height: 1em; letter-spacing: -1.3px;
  color: #fff;
  margin: 0 0 36px;
}
.cta-band__title b { font-weight: 400; }
.cta-band__sub {
  font-family: var(--f-display);
  font-size: 28px; font-weight: 500; font-style: italic;
  line-height: 1em; letter-spacing: -1px; text-transform: capitalize;
  color: #fff;
  margin: 0 0 36px;
}
.cta-band__inner .btn-wrap { display: block; text-align: center; }
@media (max-width: 1024px) {
  .cta-band { padding-top: 111px; }
}
@media (max-width: 767px) {
  .cta-band { padding: 81px 16px 16px; }
  .cta-band__title { font-size: 30px; line-height: 1em; }
  .cta-band__sub { font-size: 16px; line-height: 1em; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent;
  color: #fff;
}
.site-footer .container { max-width: var(--w-footer); }
.site-footer__top {
  display: flex;
  gap: 95px;
  padding-top: 70px;
  padding-bottom: 40px;
}
.site-footer__logo { line-height: 0; align-self: flex-start; }
.site-footer__logo img { width: 225px; height: auto; }
.site-footer__cols {
  display: flex;
  flex: 0 1 auto;
  padding-top: 12px;
}
.site-footer__col { width: 250px; }
.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 15px; line-height: 1; }
.site-footer__col li:last-child { margin-bottom: 0; }
.site-footer__col a {
  display: flex; align-items: center; height: 14px;
  font-family: var(--f-display);
  font-size: 14px; font-weight: 600; line-height: 1em; letter-spacing: 0.3px;
  color: #fff;
  transition: color .4s;
}
.site-footer__col a:hover,
.site-footer__col a.is-current { color: var(--c-primary); }
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #fff;
  padding-top: 20px;
  padding-bottom: 76px;
  margin-top: 0;
}
.site-footer__copy {
  font-family: var(--f-display);
  font-size: 12px; font-weight: 800; line-height: 2.3em; letter-spacing: normal; text-transform: capitalize;
  margin: 0;
}
.site-footer__legal-links { display: flex; gap: 32px; }
.site-footer__legal-links a {
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: #fff;
}
.site-footer__legal-links a:hover { color: var(--c-primary); }

@media (max-width: 1024px) {
  .site-footer__top { flex-direction: column; gap: 40px; padding-top: 85px; padding-left: 50px; padding-right: 50px; }
  .site-footer__cols { flex-direction: column; gap: 20px; }
  .site-footer__col { width: 100%; padding-left: 16px; }
  .site-footer__logo img { width: 256px; }
}
@media (max-width: 767px) {
  .site-footer__top { flex-direction: column; gap: 34px; padding-top: 64px; padding-bottom: 8px; padding-left: 32px; padding-right: 32px; }
  .site-footer__cols { flex-direction: column; gap: 20px; padding-top: 0; }
  .site-footer__col { width: 100%; padding-left: 0; }
  .site-footer__logo img { width: 256px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 21px; padding-bottom: 45px; padding-left: 16px; padding-right: 16px; }
  .site-footer__legal-links { flex-direction: column; gap: 21px; align-items: flex-start; }
}

/* ---------- Entrance animations ---------- */
/* Entrance animations: slower, tighter travel, smooth easeOutCubic settle */
[data-anim] { opacity: 0; }
[data-anim].is-animated { opacity: 1; }
.no-js [data-anim] { opacity: 1; }
[data-anim="fadeInUp"].is-animated { animation: fadeInUp 1.3s cubic-bezier(0.33, 1, 0.68, 1) both; }
[data-anim="fadeIn"].is-animated { animation: fadeIn 1.5s cubic-bezier(0.33, 1, 0.68, 1) both; }
[data-anim="fadeInDown"].is-animated { animation: fadeInDown 1.3s cubic-bezier(0.33, 1, 0.68, 1) both; }
[data-anim][data-anim-slow].is-animated { animation-duration: 2.1s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -40px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Header nav fades in and slides down on load, like the live site */
.site-header__inner {
  animation: fadeInDown 1.1s cubic-bezier(0.33, 1, 0.68, 1) both;
  animation-delay: 0.12s;
}

/* Block-level reveal on scroll: each major block fades up as it enters.
   The .r-in class is added by JS, so no-JS/reduced-motion shows everything.
   Uses a keyframe animation (not a transition) so blocks already in view on
   load — heroes — always play the fade instead of snapping to visible. */
body.reveal .r-in { opacity: 0; }
body.reveal .r-in.is-in { animation: fadeInUp 1.2s cubic-bezier(0.33, 1, 0.68, 1) both; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; animation: none !important; }
  .site-header__inner { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--f-display);
  font-size: 14px; font-weight: 700; line-height: 1.2em; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
