/* GENERATED FILE — DO NOT EDIT DIRECTLY.
   Logos Publicity — components.css (shared components)
   Edit assets/css/src/ (see src/README.md), then run: node scripts/build-css.mjs
   Asset version: 20260814-about3
*/

/* === from src/components.css === */
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-body, "Montserrat", sans-serif);
  color: var(--color-text, #555555);
  max-width: 100%;
  overflow-x: clip;
}

html {
  overflow-x: clip;
  /* Sticky header clearance for in-page #hash jumps (JS also offsets dynamically) */
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Skip link — visible on keyboard focus only */
.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100000;
  padding: 0.55rem 0.85rem;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

a {
  color: #2c83db;
  text-decoration: none;
}

a:hover {
  color: #2c83db;
  text-decoration: none;
}

/* Shared inline SVG icons (replaces Font Awesome + Boxicons fonts) */
.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: currentColor;
}

.mobile-nav-toggle .icon-svg,
.back-to-top .icon-svg {
  width: 22px;
  height: 22px;
}

#footer .social-links .icon-svg,
.mobile-nav__social .icon-svg {
  width: 1.15rem;
  height: 1.15rem;
}

.service-hero-back .icon-svg,
.project-panel-back .icon-svg,
.back_but .icon-svg {
  width: 15px;
  height: 15px;
}

.video-playback-options .icon-svg {
  width: 0.95rem;
  height: 0.95rem;
}

.video-playback-options__link--youtube .icon-svg {
  color: #ff0000;
}

/* Icon-only / social controls — never show link underlines */
.social-links a,
.social-links a:hover,
.social-links a:focus,
.social-links a:focus-visible,
.velo-slides-nav a,
.velo-slides-nav a:hover,
.velo-slides-nav a:focus,
.back-to-top,
.hero-sound-toggle {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading, "Montserrat", sans-serif);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 100003;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top i {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #fff;
  color: #111;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*---------SCROLLBAR--------*/

::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-track{
    background-color: #fff;
    box-shadow: inset 0 0 1.5px 0.5px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(
    45deg,
    #000,
    #000    
    );
    border-radius: 0px;
}


/*--------------------------------------------------------------
# Shared button (btn-draw) — used sitewide
--------------------------------------------------------------*/
.btn-draw {
  font-family: "Montserrat", Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

*, *:before, *:after {
  box-sizing: border-box;
}

.btn-draw {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.4s ease-in-out;
}

.btn-draw {
  color: #00ffc8;
  margin-left: 2.3em;
}
.btn-draw:after {
  content: "";
  top: 0;
  right: 0;
  height: 1px;
  width: 100%;
  background-color: #00ffc8;
}
.btn-draw:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2.4em;
  height: 1px;
  width: 3em;
  background-color: #00ffc8;
  transition: all 0.25s ease;
}
.btn-draw .btn-draw__text {
  position: relative;
  display: block;
  padding: 0.7555em 2.29em;
  line-height: 1.5;
  transition: transform 0.5s ease;
}
.btn-draw .btn-draw__text:before, .btn-draw .btn-draw__text:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 0;
  background-color: #00ffc8;
}
.btn-draw .btn-draw__text:before {
  top: 0;
  left: 0;
  transition: width 0.15s 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn-draw .btn-draw__text:after {
  bottom: 0;
  right: 0;
  transition: width 0.15s 0.15s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn-draw .btn-draw__text > span:before, .btn-draw .btn-draw__text > span:after {
  content: "";
  position: absolute;
  height: 0;
  width: 1px;
  background-color: #00ffc8;
  transition: all 0.2s cubic-bezier(0.2, 0.3, 0.25, 0.9);
}
.btn-draw .btn-draw__text > span:before {
  left: 0;
  bottom: 0;
  transition: height 0.15s 0 cubic-bezier(0.77, 0, 0.175, 1);
}
.btn-draw .btn-draw__text > span:after {
  right: 0;
  top: 0;
  transition: height 0.15s 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}
@media (hover) {
  .btn-draw:hover, a:hover .btn-draw {
    cursor: pointer;
    color: #00ffc8;
  }
  .btn-draw:hover:before, a:hover .btn-draw:before {
    width: 0;
    transition: all 0.4s ease;
  }
  .btn-draw:hover .btn-draw__text, a:hover .btn-draw .btn-draw__text {
    transform: translateX(-2.2em);
    transition: transform 0.5s ease, width 1s ease;
  }
  .btn-draw:hover .btn-draw__text:before, a:hover .btn-draw .btn-draw__text:before {
    width: 100%;
    max-width: 100%;
    transition: width 0.15s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .btn-draw:hover .btn-draw__text:after, a:hover .btn-draw .btn-draw__text:after {
    width: 100%;
    transition: width 0.15s 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .btn-draw:hover .btn-draw__text > span:before, a:hover .btn-draw .btn-draw__text > span:before {
    left: 0;
    height: 100%;
    transition: height 0.15s 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .btn-draw:hover .btn-draw__text > span:after, a:hover .btn-draw .btn-draw__text > span:after {
    right: 0;
    height: 100%;
    transition: height 0.15s 0.15s cubic-bezier(0.77, 0, 0.175, 1);
  }
}

.btn-draw.btn--white {
  color: #000;
}
.btn-draw.btn--white:before, .btn-draw.btn--white:after,
.btn-draw.btn--white .btn-draw__text:before,
.btn-draw.btn--white .btn-draw__text:after,
.btn-draw.btn--white .btn-draw__text > span:before,
.btn-draw.btn--white .btn-draw__text > span:after {
  background-color: #000;
}
.btn-draw.btn--white:hover, a:hover .btn-draw.btn--white {
  color: #000;
}

/* Solid bordered CTA (no teal draw-line accent) */
.btn-draw.btn--black {
  margin-left: 0;
  color: #000;
  border: 2px solid #000;
  padding: 10px 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.btn-draw.btn--black:before,
.btn-draw.btn--black:after {
  display: none;
}
.btn-draw.btn--black:hover,
a:hover .btn-draw.btn--black {
  background: #111;
  color: #fff;
}


/* Homepage About/velo/section-title extracted → homepage.css */
/* Service heroes / portfolio / gallery / audio extracted → works-legacy.css */

.service-card {
    flex: 0 0 auto;
    position: relative;
    /* Card scales by viewport, but typography scales by card width (container queries). */
    container: inline-size / serviceCard;
    width: clamp(260px, 78vw, 980px);
    aspect-ratio: 16 / 9;
    margin: 20px 20px 10px 0;
    scroll-snap-align: start;
    overflow: hidden;
    isolation: isolate;
}

/* Portfolio / project grids reuse .service-card markup — reset carousel sizing
   so tiles fit their grid cell (lives here; pages may not load works-legacy). */
.portfolio .service-page-card,
.project-gallery .service-page-card,
.project-gallery .website-work-card {
    flex: unset;
    scroll-snap-align: unset;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 360px;
    min-height: 360px;
    margin: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background-color: #262626;
}

.portfolio .service-page-card .service-card__media,
.project-gallery .service-page-card .service-card__media,
.project-gallery .website-work-card .service-card__media {
    filter: none;
    position: absolute;
    inset: 0;
}

.portfolio .service-page-card .img-sliderrr,
.project-gallery .service-page-card .img-sliderrr,
.project-gallery .website-work-card .img-sliderrr {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Homepage + hubs: horizontal service strip (must live with .service-card, not works-legacy) */
.section-sliderrr {
    padding: 10px 0;
    background: #333;
    max-width: 100%;
    overflow: hidden;
}

.sliderrr {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.sliderrr > .service-card:first-child {
    margin-left: 20px;
}

.service-card__media {
    position: absolute;
    inset: 0;
    filter: grayscale(100%);
    transition: filter .5s ease;
    transform: translateZ(0);
    pointer-events: none;
}

.service-card__media .img-sliderrr {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover .service-card__media {
        filter: grayscale(0%);
    }

    /* Desktop: hover only — ignore scroll-driven is-active */
    .service-card.is-active .service-card__media {
        filter: grayscale(100%);
    }

    .service-card.is-active:hover .service-card__media,
    .service-card:focus-within .service-card__media {
        filter: grayscale(0%);
    }
}

.service-card:focus-within .service-card__media {
    filter: grayscale(0%);
}

/* Mobile / touch: scroll lights up the card in view (no reliable hover) */
@media (hover: none) {
  .service-card {
    scroll-snap-align: center;
  }

  .service-card.is-active .service-card__media {
    filter: grayscale(0%);
  }
}

@media (prefers-reduced-motion: reduce) {
    .service-card__media {
        transition: none;
    }
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(10px, 2.2cqi, 16px);
    padding: clamp(18px, 7cqi, 72px) clamp(18px, 5.5cqi, 56px);
    z-index: 2;
    pointer-events: none;
}

.service-card__overlay,
.service-card-title {
    pointer-events: none;
}

.service-card__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%);
    z-index: -1;
}

.service-card-title {
    font-family: 'Montserrat';
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.05;
    margin: 0;
    padding: 0;
    text-wrap: balance;
}

@container serviceCard (inline-size >= 320px) {
  .service-card-title {
    font-size: clamp(1.25rem, 6cqi, 2.2rem);
  }
}

@container serviceCard (inline-size >= 520px) {
  .service-card-title {
    font-size: clamp(1.6rem, 6.2cqi, 3.4rem);
  }

}

@media screen and (min-width: 768px) {
  .service-card {
    width: clamp(420px, 60vw, 980px);
  }
}

/* Mobile sizing + typography tuning (same look, better fit) */
@media (max-width: 767.98px) {
  .service-card {
    width: min(88vw, 420px);
    margin: 16px 16px 10px 0;
  }

  .sliderrr > .service-card:first-child {
    margin-left: 16px;
  }

  .service-card__overlay {
    padding: 18px 18px;
  }

  .service-card-title {
    font-size: 1.25rem;
    line-height: 1.1;
  }

}


/*--------------------------------------------------------------
# Accessibility — non-visual helpers (no layout changes)
--------------------------------------------------------------*/
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

#team .card:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

.accordion .link:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

.velo-slides-nav a:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

.social-links a:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

.containerrr:focus:not(:focus-visible) {
  outline: none;
}

.containerrr:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: 2px;
}

/* Horizontal scrolling categories for any constrained viewport */
@media (max-width: 1199.98px) {
  .portfolio #portfolio-flters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    box-sizing: border-box;
    padding: 10px 16px !important;
    margin: 15px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    mask-image: none;
    -webkit-mask-image: none;
  }

  .portfolio #portfolio-flters::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Opera */
  }

  .portfolio #portfolio-flters a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
  }

  .portfolio #portfolio-flters li {
    display: block !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    background: #f4f4f4 !important;
    border: 1px solid #e0e0e0 !important;
    color: #111 !important;
  }

  .portfolio #portfolio-flters li.filter-active,
  .portfolio #portfolio-flters a li.filter-active,
  .portfolio #portfolio-flters li.filter-active a,
  .portfolio #portfolio-flters li a[aria-current="page"] {
    background: #2c83db !important;
    color: #fff !important;
    border-color: #2c83db !important;
  }

  .portfolio #portfolio-flters[data-case-study-filters] li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .portfolio #portfolio-flters[data-case-study-filters] button {
    display: block !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    background: #f4f4f4 !important;
    border: 1px solid #e0e0e0 !important;
    color: #111 !important;
  }

  .portfolio #portfolio-flters[data-case-study-filters] button.filter-active {
    background: #2c83db !important;
    color: #fff !important;
    border-color: #2c83db !important;
  }
}

/* ── Site bottom stack (nav → FAQ → CTA → footer) ─────────────────────── */
:root {
  --site-edge-inset: clamp(1.25rem, 3.5vw, 3rem);
  --site-border: #eaeaea;
}

.next-service-banner {
  width: 100%;
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--site-border);
  border-bottom: 1px solid var(--site-border);
  color: #333;
  overflow: visible;
}

.next-service-banner__inner,
.container.next-service-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  box-sizing: border-box;
}

.next-service-banner__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 2.65rem;
  padding: 0.55rem var(--site-edge-inset);
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #3f3f3f;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  overflow: visible;
  white-space: normal;
  gap: 0.35rem;
}

.next-service-banner__link--prev,
.next-service-banner__link--next {
  text-align: center;
  justify-content: center;
}

.next-service-banner__link--prev {
  border-right: 1px solid var(--site-border);
}

.next-service-banner__direction {
  display: none;
}

.next-service-banner__title {
  display: block;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #8a1538;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: normal;
}

.next-service-banner__link--prev .next-service-banner__title::before {
  content: "← ";
}

.next-service-banner__link--next .next-service-banner__title::after {
  content: " →";
}

.next-service-banner__link:hover,
.next-service-banner__link:focus {
  background: #fafafa;
  color: #8a1538;
  text-decoration: none;
}

.next-service-banner__link:hover .next-service-banner__title,
.next-service-banner__link:focus .next-service-banner__title {
  color: #8a1538;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 640px) {
  .next-service-banner__link {
    min-height: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .next-service-banner__title {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }
}

/* Portfolio category / case study prev-next — match service hub bar */
.project-pagination.project-pagination--bottom {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border-top: 1px solid var(--site-border) !important;
  border-bottom: 1px solid var(--site-border) !important;
  color: #333;
  overflow: visible;
}

.project-pagination--bottom .project-pagination__inner,
.project-pagination--bottom .container.project-pagination__inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  box-sizing: border-box;
}

.project-pagination--bottom .project-pagination__link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 0 !important;
  min-height: 2.65rem !important;
  padding: 0.55rem var(--site-edge-inset) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #3f3f3f !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  overflow: visible;
  white-space: normal;
  gap: 0.35rem !important;
  transform: none !important;
}

.project-pagination--bottom .project-pagination__link--previous {
  border-right: 1px solid var(--site-border) !important;
  border-bottom: 0 !important;
  margin: 0 !important;
}

.project-pagination--bottom .project-pagination__link--next {
  border-left: 0 !important;
}

.project-pagination--bottom .project-pagination__link:only-child {
  flex: 1 1 100% !important;
  max-width: 100% !important;
  border-right: 0 !important;
}

.project-pagination--bottom .project-pagination__direction {
  display: none !important;
}

.project-pagination--bottom .project-pagination__link--previous::before,
.project-pagination--bottom .project-pagination__link--next::after {
  content: none !important;
  display: none !important;
}

.project-pagination--bottom .project-pagination__title {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
  color: #8a1538 !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  white-space: normal;
}

.project-pagination--bottom .project-pagination__link--previous .project-pagination__title::before {
  content: "← ";
}

.project-pagination--bottom .project-pagination__link--next .project-pagination__title::after {
  content: " →";
}

.project-pagination--bottom .project-pagination__link:hover,
.project-pagination--bottom .project-pagination__link:focus {
  background: #fafafa !important;
  color: #8a1538 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transform: none !important;
}

.project-pagination--bottom .project-pagination__link:hover .project-pagination__title,
.project-pagination--bottom .project-pagination__link:focus .project-pagination__title {
  color: #8a1538 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.project-pagination--bottom + .portfolio-cta-section {
  border-top: none !important;
}

.project-pagination--bottom + .portfolio-cta-section .container {
  padding-top: 0.75rem !important;
}

@media (max-width: 640px) {
  .project-pagination--bottom .project-pagination__link {
    min-height: 2.5rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .project-pagination--bottom .project-pagination__title {
    font-size: 0.625rem !important;
    letter-spacing: 0.06em !important;
  }
}

/* Footer Hub Link */
.footer-hub-link {
  margin: 20px 0;
  text-align: center;
}
.btn-hub-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
  border-radius: 0;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-hub-link:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Shared portfolio CTA (hubs + case studies) — canonical bottom-stack styles */
.portfolio-cta-section {
  margin: 0 !important;
  padding: 0 !important;
  background: #fafafa !important;
  border-top: 1px solid var(--site-border) !important;
  text-align: center;
}

.next-service-banner + .portfolio-cta-section {
  border-top: none !important;
}

.service-faq + .portfolio-cta-section {
  border-top: none !important;
}

.next-service-banner + .portfolio-cta-section .container {
  padding-top: 0.75rem !important;
}

.portfolio-cta-section .container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.85rem var(--site-edge-inset) 0.95rem !important;
  box-sizing: border-box;
}

.portfolio-cta-section h2,
.portfolio-cta-section h3 {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem) !important;
  font-weight: 700 !important;
  margin: 0 auto 0.65rem !important;
  max-width: 34rem !important;
  line-height: 1.35 !important;
  color: #111 !important;
  text-wrap: balance;
}

.portfolio-cta-section p {
  max-width: 36rem !important;
  margin: 0 auto 0.75rem !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
  color: #666 !important;
  text-wrap: pretty;
}

.portfolio-cta-section .btn-draw,
.portfolio-cta-section a.btn-draw {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  margin: 0 !important;
  min-height: 2.35rem !important;
  padding: 0.55rem 1.15rem !important;
  border: 1.5px solid #111 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #111 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-cta-section .btn-draw::before,
.portfolio-cta-section .btn-draw::after,
.portfolio-cta-section .btn-draw .btn-draw__text::before,
.portfolio-cta-section .btn-draw .btn-draw__text::after,
.portfolio-cta-section .btn-draw .btn-draw__text > span::before,
.portfolio-cta-section .btn-draw .btn-draw__text > span::after {
  content: none !important;
  display: none !important;
}

.portfolio-cta-section .btn-draw:hover,
.portfolio-cta-section .btn-draw:focus {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .portfolio-cta-section .container {
    padding-top: 0.95rem !important;
    padding-bottom: 1rem !important;
  }

  .portfolio-cta-section h2,
  .portfolio-cta-section h3,
  .portfolio-cta-section p {
    max-width: 100% !important;
  }

  .portfolio-cta-section .btn-draw,
  .portfolio-cta-section a.btn-draw {
    width: 100%;
    max-width: 16rem;
  }
}

/* Lightbox transparency overrides to prevent white space/box around images */
.vbox-content,
img.vbox-figlio {
  background: transparent !important;
  background-color: transparent !important;
}

/* Lightbox chrome — captions, quiet prev/next. Do not change image max sizes. */
.vbox-container {
  background: transparent !important;
}

.vbox-title {
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  width: min(920px, calc(100% - 48px)) !important;
  max-width: calc(100% - 48px);
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  background: transparent !important;
  color: #fff !important;
  text-align: center !important;
  transform: translateX(-50%);
  pointer-events: none;
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.35 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.vbox-num {
  top: 14px !important;
  left: 16px !important;
  padding: 4px 8px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

.vbox-close {
  top: 8px !important;
  right: 8px !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 28px !important;
  line-height: 44px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.vbox-close:hover,
.vbox-close:focus {
  color: #fff !important;
  opacity: 1;
}

.vbox-next,
.vbox-prev {
  width: 48px !important;
  height: 64px !important;
  margin-top: -32px !important;
  opacity: 0.42;
  transition: opacity 0.2s ease;
}

.vbox-next:hover,
.vbox-prev:hover,
.vbox-next:focus,
.vbox-prev:focus {
  opacity: 0.92;
}

.vbox-prev {
  left: 8px !important;
}

.vbox-next {
  right: 8px !important;
}

.vbox-next span,
.vbox-prev span,
.vbox-nav-chevron {
  width: 14px !important;
  height: 14px !important;
  border-width: 2px !important;
  border-color: transparent !important;
  border-top-color: rgba(255, 255, 255, 0.9) !important;
  border-right-color: rgba(255, 255, 255, 0.9) !important;
  text-indent: -999px !important;
  overflow: hidden;
}

.vbox-prev span,
.vbox-prev .vbox-nav-chevron {
  left: 16px !important;
  top: 24px !important;
}

.vbox-next span,
.vbox-next .vbox-nav-chevron {
  right: 16px !important;
  left: auto !important;
  top: 24px !important;
}

@media (max-width: 767.98px) {
  .vbox-title {
    width: calc(100% - 24px) !important;
    padding: 12px 12px 16px !important;
  }

  .vbox-next,
  .vbox-prev {
    opacity: 0.55;
  }
}

@media (hover: hover) and (pointer: fine) {
  .vbox-next,
  .vbox-prev {
    opacity: 0.28;
  }

  .vbox-container:hover .vbox-next,
  .vbox-container:hover .vbox-prev,
  .vbox-next:hover,
  .vbox-prev:hover {
    opacity: 0.9;
  }
}


.media-detail-player {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.media-detail-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video case studies: player fills leftover space beside the project panel */
.project-gallery--legacy .gallery-tile.media-detail-card {
  --tile-cols: 5;
  grid-column: 2 / -1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  background: #0d0d0d !important;
  overflow: hidden;
}

.project-gallery--legacy .gallery-tile.media-detail-card .media-detail-player {
  flex: 1 1 auto;
  min-height: clamp(260px, 42vw, 520px);
  width: 100%;
}

.project-gallery--legacy .gallery-tile.media-detail-card .media-detail-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-gallery--legacy .gallery-tile.media-detail-card .gallery-tile__link::after,
.project-gallery--legacy .gallery-tile.media-detail-card .gallery-tile__link::before {
  content: none !important;
  display: none !important;
}

.project-gallery--legacy .gallery-tile.media-detail-card .video-playback-options {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Desktop flex/masonry layout: keep video one full-width column (not 1/2 or 1/3) */
@media (min-width: 992px) {
  .project-gallery--legacy .project-gallery-items:has(> .media-detail-card) {
    column-count: 1 !important;
    display: block !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .project-gallery--legacy .gallery-tile.media-detail-card {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  .project-gallery--legacy .gallery-tile.media-detail-card .media-detail-player {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    width: 100%;
  }
}

/* SEO / AI context — hidden on screen, kept in DOM for crawlers */
.page-organization-context:not(.sr-only) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-faq {
  padding: var(--space-section, clamp(2rem, 3.5vw, 3.25rem)) 0 clamp(1.25rem, 2vw, 1.75rem);
  width: 100%;
  max-width: var(--container-max, 1440px);
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.service-faq .section-title {
  text-align: left;
  margin: 0;
  padding: 0 var(--section-title-inset) var(--section-heading-gap);
}

.service-faq .section-title .row {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.service-faq .section-title [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  flex: 0 0 100%;
}

.service-faq .section-title h2 {
  font-size: var(--section-heading-size);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0;
  color: #151515;
  opacity: 0.34;
  text-align: left;
}

.service-faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--section-title-inset);
  border-top: 1px solid rgba(21, 21, 21, 0.08);
}

.service-faq__item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.service-faq__item[open] {
  background: transparent;
  box-shadow: none;
}

.service-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.25rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: transparent;
  transition: background-color 0.15s ease;
}

.service-faq__item[open] .service-faq__summary,
.service-faq__summary:hover,
.service-faq__item[open] .service-faq__summary:hover {
  background: transparent;
}

.service-faq__summary::-webkit-details-marker {
  display: none;
}

.service-faq__summary::marker {
  content: "";
}

.service-faq__summary:focus {
  outline: none;
}

.service-faq__summary:focus-visible {
  outline: 2px solid #2c83db;
  outline-offset: -2px;
}

.service-faq__question {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #151515;
  text-align: left;
  transition: color 0.2s ease;
}

.service-faq__summary:hover .service-faq__question {
  color: #2c83db;
}

.service-faq__toggle {
  flex-shrink: 0;
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  border: none;
  border-radius: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.service-faq__toggle::before,
.service-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1px;
  background: #151515;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.service-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-faq__item[open] .service-faq__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.service-faq__summary:hover .service-faq__toggle,
.service-faq__item[open] .service-faq__toggle {
  opacity: 0.85;
}

.service-faq__answer {
  padding: 0 0 1.25rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  max-width: none;
  background: transparent;
  animation: service-faq-open 0.2s ease;
}

.service-faq__answer p {
  margin: 0;
  max-width: none;
}

.service-faq__answer p + p,
.service-faq__answer .service-detail__lead + .service-detail__grid {
  margin-top: 0;
}

.service-faq__answer p,
.service-faq__answer li {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #555;
}

.service-faq__answer strong,
.service-faq__answer b {
  font-weight: 600;
  color: #151515;
}

.service-faq__answer a {
  color: #2c83db;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.service-faq + .portfolio-cta-section,
.service-faq + #footer,
.service-faq + footer {
  border-top: none;
}

@keyframes service-faq-open {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-faq__answer {
    animation: none;
  }

  .service-faq__toggle::before,
  .service-faq__toggle::after {
    transition: none;
  }
}

@media (min-width: 768px) {
  .service-faq__list {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
}

@media (min-width: 992px) {
  .service-faq__summary {
    min-height: 3.4rem;
    padding: 1.1rem 0;
  }
}

@media (max-width: 991.98px) {
  .project-gallery--legacy .gallery-tile.media-detail-card {
    grid-column: 1 / -1;
    grid-row: auto;
    height: auto;
    min-height: 0;
  }

  .project-gallery--legacy .gallery-tile.media-detail-card .media-detail-player {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
