/*
 * Koviak Built mobile presentation layer
 *
 * Desktop remains the captured source. This layer gives phones a deliberate,
 * conversion-focused presentation without reformatting the mirrored HTML.
 */

:root {
  --kvb-ink: #090907;
  --kvb-charcoal: #171713;
  --kvb-brass: #dcae12;
  --kvb-limestone: #f4f1e9;
  --kvb-bone: #fffef9;
  --kvb-slate: #55534d;
  --kvb-display: "kepler-std", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --kvb-utility: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --kvb-mobile-gutter: clamp(20px, 5.6vw, 26px);
  --kvb-mobile-header-height: 72px;
}

.kvb-mobile-hero-note {
  display: none;
}

/* The static capture contains a second failed Squarespace player above the
   valid localized video. It has no user-facing purpose at any viewport. */
.video-player > .plyr:nth-child(n + 2) {
  display: none !important;
}

.kvb-mobile-project-bar {
  display: none;
}

/* With JavaScript disabled, the authored noscript copy is the usable image.
   Suppress the source-less managed placeholder so each gallery keeps one box. */
html:not(.kvb-mobile-layer) img[data-kvb-gallery-src] {
  display: none !important;
}

/* Homepage conversion actions borrow from an architectural maker's plate:
   crisp utility type, burnished brass, and an offset registration shadow.
   The captured Fluid Engine gives these blocks only four desktop columns,
   forcing both labels into awkward stacks at tablet widths. */
.fe-block-yui_3_17_2_1_1698366230253_77765,
.fe-block-yui_3_17_2_1_1697836305198_11335,
#block-yui_3_17_2_1_1698366230253_77765,
#block-yui_3_17_2_1_1697836305198_11335 {
  min-height: 56px;
  overflow: visible !important;
}

#block-yui_3_17_2_1_1698366230253_77765 {
  --kvb-home-cta-bg: var(--kvb-brass);
  --kvb-home-cta-color: var(--kvb-ink);
  --kvb-home-cta-border: #efc42e;
  --kvb-home-cta-hover: #edc12c;
  --kvb-home-cta-shadow: rgb(9 9 7 / 86%);
}

#block-yui_3_17_2_1_1697836305198_11335 {
  --kvb-home-cta-bg: var(--kvb-ink);
  --kvb-home-cta-color: var(--kvb-bone);
  --kvb-home-cta-border: var(--kvb-brass);
  --kvb-home-cta-hover: #24241f;
  --kvb-home-cta-shadow: var(--kvb-brass);
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-content,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-content,
#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-container,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-container {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 56px;
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-container,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto !important;
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-element,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-element {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.15vw, 14px);
  width: 100% !important;
  min-height: 56px !important;
  padding: 15px clamp(14px, 2.7vw, 24px) !important;
  border: 1px solid var(--kvb-home-cta-border) !important;
  border-radius: 0 !important;
  background: var(--kvb-home-cta-bg) !important;
  box-shadow: 6px 6px 0 var(--kvb-home-cta-shadow);
  color: var(--kvb-home-cta-color) !important;
  font-family: var(--kvb-utility) !important;
  font-size: clamp(0.72rem, calc(0.68rem + 0.2vw), 0.84rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.115em !important;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-element::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentcolor;
  transform: translateX(1px);
}

#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-element::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 10px;
  background: currentcolor;
  clip-path: polygon(0 42%, 68% 42%, 68% 0, 100% 50%, 68% 100%, 68% 58%, 0 58%);
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-element:focus-visible,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-element:focus-visible {
  outline: 3px solid var(--kvb-bone) !important;
  outline-offset: 2px !important;
  box-shadow:
    0 0 0 7px var(--kvb-ink),
    8px 8px 0 var(--kvb-home-cta-shadow);
}

#block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-element:active,
#block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-element:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--kvb-home-cta-shadow);
}

@media (hover: hover) and (pointer: fine) {
  #block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-element:hover,
  #block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-element:hover {
    background: var(--kvb-home-cta-hover) !important;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--kvb-home-cta-shadow);
  }
}

@media (min-width: 768px) {
  .fe-block-yui_3_17_2_1_1698366230253_77765,
  .fe-block-yui_3_17_2_1_1697836305198_11335 {
    grid-column: 10 / 18 !important;
  }

  #block-yui_3_17_2_1_1698366230253_77765 .sqs-block-button-container,
  #block-yui_3_17_2_1_1697836305198_11335 .sqs-block-button-container {
    max-width: 272px;
  }
}

/* Squarespace's max-content comment marquee can inflate the single-column
   tablet grid to tens of thousands of pixels. Contain that intrinsic width at
   the same 900px breakpoint used by the captured section. */
@media (max-width: 900px) {
  html.kvb-mobile-layer,
  html.kvb-mobile-layer body {
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  .kvb-social-proof__inner,
  .kvb-social-proof__inner > *,
  .kvb-proof-intro,
  .kvb-proof-grid,
  .kvb-home-comment-ribbon,
  .kvb-home-comment-window {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .kvb-social-proof__inner,
  .kvb-proof-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  html.kvb-mobile-layer,
  html.kvb-mobile-layer body {
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  html.kvb-mobile-layer {
    scroll-padding-top: calc(var(--kvb-mobile-header-height) + 16px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    background: var(--kvb-ink);
    font-family: var(--kvb-display);
  }

  body.kvb-has-project-bar {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #siteWrapper,
  .site-wrapper,
  main,
  article.sections,
  .sections,
  .page-section,
  .content-wrapper,
  .content,
  .fluid-engine {
    max-width: 100%;
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  blockquote {
    text-wrap: pretty;
  }

  h1,
  h2 {
    text-wrap: balance;
  }

  h1 {
    letter-spacing: -0.025em;
  }

  a,
  button,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: rgb(220 174 18 / 22%);
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid var(--kvb-brass) !important;
    outline-offset: 4px !important;
  }

  /* Squarespace injects this commerce timer on non-commerce pages. It blocks
     the header and announces a reservation that does not exist. */
  #commerce-reserved-cart-container,
  #commerce-reserved-cart-announcement {
    display: none !important;
  }

  /* Compact, stable header */
  #header.header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 100200 !important;
    width: 100% !important;
    height: calc(var(--kvb-mobile-header-height) + env(safe-area-inset-top, 0px));
    min-height: 0 !important;
    border-bottom: 1px solid rgb(220 174 18 / 28%);
    background: transparent !important;
  }

  #header .header-inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px !important;
  }

  #header .header-announcement-bar-wrapper {
    box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }

  #header .header-skip-link {
    position: absolute !important;
    z-index: 4;
    top: calc(8px + env(safe-area-inset-top, 0px));
    left: 12px !important;
    display: block !important;
    width: auto !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    background: var(--kvb-brass) !important;
    color: var(--kvb-ink) !important;
    transform: translateY(-180%) !important;
  }

  #header .header-skip-link:focus {
    transform: translateY(0) !important;
  }

  #header .header-background {
    background: linear-gradient(180deg, rgb(9 9 7 / 96%) 0%, rgb(9 9 7 / 78%) 70%, rgb(9 9 7 / 20%) 100%) !important;
    transition: background-color 220ms ease, backdrop-filter 220ms ease;
  }

  html[data-kvb-scrolled="true"] #header .header-background,
  body.header--menu-open #header .header-background {
    background: rgb(9 9 7 / 94%) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  #header .header-display-mobile {
    width: 100%;
    min-width: 0;
    align-items: center;
  }

  #header .header-title-nav-wrapper,
  #header .header-title,
  #header .header-title-logo,
  #header .header-title-logo a {
    min-width: 0;
  }

  #header .header-title-logo a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
  }

  #header .header-title-logo img {
    width: min(54vw, 216px) !important;
    max-width: 216px !important;
    max-height: 38px !important;
    object-fit: contain;
    object-position: left center;
  }

  #header .header-display-mobile .header-title,
  #header .header-display-mobile .header-burger,
  #header .header-display-mobile .header-title-logo a {
    opacity: 1 !important;
    transform: none !important;
  }

  #header .header-actions {
    display: none !important;
  }

  #header .header-burger {
    margin-left: auto;
  }

  #header .header-display-mobile .header-burger {
    display: flex !important;
    flex: 0 0 50px;
    width: 50px !important;
    min-width: 50px;
    height: 48px;
  }

  #header .header-burger-btn {
    display: grid !important;
    place-items: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    margin: 0 !important;
    border: 1px solid rgb(220 174 18 / 50%) !important;
    border-radius: 0 !important;
    background: rgb(9 9 7 / 70%) !important;
    color: var(--kvb-brass) !important;
  }

  #header .burger-box,
  #header .burger-inner {
    width: 22px !important;
    height: 22px !important;
  }

  #header .top-bun,
  #header .patty,
  #header .bottom-bun {
    background-color: var(--kvb-brass) !important;
  }

  /* Full-height menu with deliberate touch rows. */
  .header-menu {
    inset: 0 !important;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100% !important;
    min-height: 100svh !important;
    background: var(--kvb-ink) !important;
  }

  .header-menu .header-menu-nav-wrapper {
    box-sizing: border-box;
    width: 100%;
    padding: calc(var(--kvb-mobile-header-height) + env(safe-area-inset-top, 0px) + 48px) var(--kvb-mobile-gutter) 118px !important;
  }

  .header-menu .header-menu-nav-item a,
  .header-menu .header-menu-nav-item-content {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 16px !important;
    font-family: var(--kvb-display) !important;
    font-size: clamp(1.75rem, 8vw, 2.15rem) !important;
    line-height: 1 !important;
    color: var(--kvb-brass) !important;
  }

  .header-menu .header-menu-actions-action a {
    display: grid;
    place-items: center;
    width: 48px !important;
    height: 48px !important;
  }

  /* The generated Feature library has its own compact header. Keep every
     destination reachable with real touch targets without forcing that page
     into the Squarespace menu implementation. */
  header.site-header {
    box-sizing: border-box;
    width: 100%;
    padding: 12px var(--kvb-mobile-gutter) 10px !important;
    gap: 4px !important;
  }

  header.site-header .brand {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  header.site-header .site-nav {
    box-sizing: border-box;
    width: calc(100% + (var(--kvb-mobile-gutter) * 2)) !important;
    max-width: none !important;
    min-height: 44px;
    margin-inline: calc(var(--kvb-mobile-gutter) * -1);
    padding-inline: calc(var(--kvb-mobile-gutter) - 8px);
    gap: 0 !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  header.site-header .site-nav::-webkit-scrollbar {
    display: none;
  }

  header.site-header .site-nav a {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 8px;
    font-family: var(--kvb-utility) !important;
    font-size: 0.68rem !important;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
    scroll-snap-align: center;
  }

  header.site-header .site-nav a[aria-current="page"] {
    color: var(--kvb-brass) !important;
    text-underline-offset: 0.35em;
  }

  /* Homepage: a light poster replaces a 22 MB autoplay background on phones. */
  html[data-kvb-route="home"] .sections > .page-section:first-child {
    position: relative;
    min-height: min(78svh, 680px) !important;
    background: var(--kvb-ink);
  }

  html[data-kvb-route="home"] .sections > .page-section:first-child .section-background {
    background-image:
      linear-gradient(180deg, rgb(9 9 7 / 22%) 0%, rgb(9 9 7 / 8%) 45%, rgb(9 9 7 / 72%) 100%),
      url("/_assets/video.squarespace-cdn.com/e36a4823df82e98a.webp") !important;
    background-position: 54% center !important;
    background-size: cover !important;
  }

  html[data-kvb-route="home"] .sections > .page-section:first-child .sqs-video-background-native {
    display: none !important;
  }

  .kvb-mobile-hero-note {
    display: block;
    position: absolute;
    z-index: 4;
    right: var(--kvb-mobile-gutter);
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    left: var(--kvb-mobile-gutter);
    margin: 0 !important;
    padding: 13px 0 0 18px;
    border-top: 1px solid rgb(255 254 249 / 42%);
    font-family: var(--kvb-utility) !important;
    font-size: 0.69rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    color: var(--kvb-bone) !important;
  }

  .kvb-mobile-hero-note::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 46px;
    height: 3px;
    background: var(--kvb-brass);
  }

  /* Reliable, thumb-sized controls */
  .sqs-block-button-element,
  .sqs-button-element--primary:not(.header-skip-link),
  .sqs-button-element--secondary:not(.header-skip-link),
  .sqs-button-element--tertiary:not(.header-skip-link),
  .form-submit-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px !important;
    padding: 14px 22px !important;
    border-radius: 0 !important;
    font-family: var(--kvb-utility) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase;
  }

  .form-wrapper input:not([type="checkbox"]):not([type="radio"]),
  .form-wrapper select,
  .form-wrapper textarea {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .form-wrapper textarea {
    min-height: 132px !important;
    resize: vertical;
  }

  .form-wrapper .field-list {
    display: grid;
    gap: 22px;
  }

  .form-wrapper .field-list > *,
  .form-wrapper fieldset.name,
  .form-wrapper fieldset.name .field {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }

  .form-wrapper fieldset.name {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .form-wrapper label,
  .form-wrapper legend,
  .form-wrapper .title,
  .form-wrapper .caption {
    line-height: 1.35 !important;
  }

  .form-wrapper input[type="checkbox"],
  .form-wrapper input[type="radio"] {
    min-width: 28px;
    min-height: 28px;
  }

  .form-wrapper .option label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
  }

  /* Portfolio names cannot depend on hover on a touch screen. Anchor each
     project with a permanent field-note caption and a legible tonal fade. */
  html[data-kvb-route="portfolio"] .portfolio-grid-overlay .portfolio-overlay {
    opacity: 1 !important;
    background-color: transparent !important;
    background-image: linear-gradient(
      180deg,
      rgb(9 9 7 / 0%) 38%,
      rgb(9 9 7 / 18%) 58%,
      rgb(9 9 7 / 88%) 100%
    ) !important;
  }

  html[data-kvb-route="portfolio"] .portfolio-grid-overlay .portfolio-text {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding: 24px !important;
    text-align: left !important;
    opacity: 1 !important;
  }

  html[data-kvb-route="portfolio"] .portfolio-grid-overlay .portfolio-title {
    max-width: 15ch;
    margin: 0 !important;
    font-size: clamp(1.55rem, 7.5vw, 2rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.018em !important;
    color: var(--kvb-bone) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    text-shadow: 0 2px 18px rgb(0 0 0 / 48%);
  }

  /* Social proof: contain the intrinsic-width marquee and make comments an
     intentional swipe rail instead of an inaccessible ambient animation. */
  .kvb-social-proof {
    box-sizing: border-box;
    width: 100%;
    padding: 56px var(--kvb-mobile-gutter) !important;
    background: var(--kvb-limestone) !important;
  }

  .kvb-social-proof__inner,
  .kvb-social-proof__inner > *,
  .kvb-proof-intro,
  .kvb-proof-grid,
  .kvb-home-comment-ribbon,
  .kvb-home-comment-window {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .kvb-social-proof__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  .kvb-proof-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .kvb-proof-title {
    max-width: 12ch;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 0.98 !important;
  }

  .kvb-proof-copy {
    margin-top: 18px !important;
    font-size: 1.04rem !important;
    line-height: 1.58 !important;
  }

  .kvb-proof-kicker,
  .kvb-home-comment-label,
  .kvb-affiliations__kicker {
    font-family: var(--kvb-utility) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
  }

  .kvb-proof-card {
    border-radius: 0 !important;
    border-top: 3px solid var(--kvb-brass) !important;
    padding: 20px !important;
  }

  .kvb-home-comment-window,
  .kvb-home-comment-window.is-animated {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin-inline: calc(var(--kvb-mobile-gutter) * -1);
    padding: 0 var(--kvb-mobile-gutter) 12px !important;
    scroll-padding-inline: var(--kvb-mobile-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    overscroll-behavior-inline: contain;
  }

  .kvb-home-comment-window::-webkit-scrollbar {
    display: none;
  }

  .kvb-home-comment-window.is-animated .kvb-home-comment-track {
    width: max-content !important;
    max-width: none !important;
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .kvb-home-comment-window.is-animated .kvb-home-comment-group {
    padding-right: 0 !important;
  }

  .kvb-home-comment-group[aria-hidden="true"] {
    display: none !important;
  }

  .kvb-home-comment-card {
    box-sizing: border-box;
    flex: 0 0 min(82vw, 340px) !important;
    width: min(82vw, 340px) !important;
    max-width: min(82vw, 340px) !important;
    border-radius: 0 !important;
    scroll-snap-align: center;
  }

  /* Four large affiliation cards become a concise, readable two-column grid. */
  .kvb-affiliations {
    box-sizing: border-box;
    width: 100%;
    padding: 56px var(--kvb-mobile-gutter) !important;
  }

  .kvb-affiliations__inner,
  .kvb-affiliations__header,
  .kvb-affiliations__grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .kvb-affiliations__header {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
  }

  .kvb-affiliations__title {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem) !important;
    line-height: 1 !important;
  }

  .kvb-affiliations__copy {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .kvb-affiliations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .kvb-affiliation-card {
    box-sizing: border-box;
    min-width: 0 !important;
    min-height: 170px !important;
    padding: 12px !important;
    border-radius: 0 !important;
  }

  .kvb-affiliation-logo-frame {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 88px !important;
    height: 88px !important;
    padding: 10px !important;
  }

  .kvb-affiliation-logo-frame img {
    max-width: 100% !important;
    max-height: 66px !important;
    object-fit: contain;
  }

  .kvb-affiliation-card__name {
    font-family: var(--kvb-utility) !important;
    font-size: 0.66rem !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em;
  }

  /* Persistent conversion rail. Its square geometry and brass datum echo the
     site's construction language while keeping the next action in thumb reach. */
  .kvb-mobile-project-bar {
    position: fixed;
    z-index: 100100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
    gap: 8px;
    box-sizing: border-box;
    min-height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgb(220 174 18 / 42%);
    background: rgb(9 9 7 / 96%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(0);
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .kvb-mobile-project-bar::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 10px;
    width: 52px;
    height: 3px;
    background: var(--kvb-brass);
  }

  .kvb-mobile-project-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid rgb(255 254 249 / 24%);
    font-family: var(--kvb-utility) !important;
    font-size: 0.69rem !important;
    font-weight: 720 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.09em !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    color: var(--kvb-bone) !important;
  }

  .kvb-mobile-project-bar__primary {
    gap: 9px;
    border-color: var(--kvb-brass) !important;
    background: var(--kvb-brass);
    color: var(--kvb-ink) !important;
  }

  .kvb-mobile-project-bar__primary svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }

  body.header--menu-open .kvb-mobile-project-bar,
  body.kvb-input-active .kvb-mobile-project-bar {
    pointer-events: none;
    opacity: 0;
    transform: translateY(110%);
  }

  /* The consent controller injects its styles after this stylesheet. Keep
     every privacy action finger-sized, and lift both consent states clear of
     the persistent project rail on routes where that rail is mounted. */
  #kvb-analytics-consent-ui button {
    min-height: 44px !important;
  }

  html.kvb-mobile-layer:not([data-kvb-route="contact"]):not([data-kvb-route="thank-you"]):not([data-kvb-route="video"])
    #kvb-analytics-consent-ui,
  html.kvb-mobile-layer:not([data-kvb-route="contact"]):not([data-kvb-route="thank-you"]):not([data-kvb-route="video"])
    #kvb-privacy-choices {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* The captured desktop footer uses 24 proportional columns. On tablets its
   phone and location rows become narrower than their copy while the grid keeps
   desktop-height tracks, so successive lines collide. Give that middle range
   an intentional editorial footer: the Koviak wordmark and credo form a full-
   width masthead, with inquiry and service details in two durable columns. */
@media (min-width: 768px) and (max-width: 1279px) {
  #footer-sections .fluid-engine.fe-6532e085353cde2efb003f2f {
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(8, minmax(0, auto)) !important;
    gap: 16px clamp(32px, 6vw, 64px) !important;
    width: 100%;
    padding: clamp(44px, 6vw, 72px) clamp(36px, 7vw, 88px) !important;
  }

  #footer-sections .fluid-engine.fe-6532e085353cde2efb003f2f > .fe-block {
    align-self: start;
    min-width: 0;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1698354194326_44821,
  #footer-sections .fe-block-yui_3_17_2_1_1698366230253_14219,
  #footer-sections .fe-block-yui_3_17_2_1_1698366230253_12451 {
    grid-column: 1 / -1 !important;
    justify-self: center;
    width: min(100%, 720px);
  }

  #footer-sections .fe-block-yui_3_17_2_1_1698354194326_44821 {
    grid-row: 1 !important;
    max-width: 620px;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1698366230253_14219 {
    grid-row: 2 !important;
    max-width: 620px;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1698366230253_12451 {
    grid-row: 3 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_25561,
  #footer-sections .fe-block-yui_3_17_2_1_1727718740213_17301,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_13807,
  #footer-sections .fe-block-yui_3_17_2_1_1728930113484_7165,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_16452 {
    grid-column: 1 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_36657,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_39110,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_38042,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_40177,
  #footer-sections .fe-block-yui_3_17_2_1_1728930113484_4173 {
    grid-column: 2 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_25561,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_36657 {
    grid-row: 4 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727718740213_17301,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_39110 {
    grid-row: 5 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_13807,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_38042 {
    grid-row: 6 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1728930113484_7165,
  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_40177 {
    grid-row: 7 !important;
  }

  #footer-sections .fe-block-yui_3_17_2_1_1727463806973_16452,
  #footer-sections .fe-block-yui_3_17_2_1_1728930113484_4173 {
    grid-row: 8 !important;
  }
}

@media (max-width: 359px) {
  .kvb-affiliations__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .kvb-affiliation-card {
    min-height: 150px !important;
  }
}

@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
  :root {
    --kvb-mobile-header-height: 60px;
  }

  .kvb-mobile-project-bar {
    min-height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-block: 4px calc(4px + env(safe-area-inset-bottom, 0px));
  }

  .kvb-mobile-project-bar a {
    min-height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
