:root {
  --ts-navy: #02355A;
  --ts-blue: #0566A2;
  --ts-deep: #022740;
  --ts-brown: #441C08;
  --ts-steel: #587087;
  --ts-mist: #EAF0F5;
  --ts-light: #F6F8FA;
  --ts-ink: #08111A;
  --ts-radius-lg: 28px;
  --ts-radius-md: 18px;
  --ts-shadow: 0 24px 80px rgba(2, 39, 64, 0.15);
  --ts-shadow-soft: 0 18px 48px rgba(2, 39, 64, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
img { max-width: 100%; height: auto; }

.ts-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(2,39,64,0.08);
}

.ts-logo-img {
  width: 180px;
  max-width: 42vw;
  display: block;
}

.ts-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(680px, 92vh, 920px);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.ts-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2,39,64,0.94) 0%, rgba(2,53,90,0.82) 48%, rgba(2,39,64,0.45) 100%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
}
.ts-hero::after {
  content: '';
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -22vw;
  bottom: -28vw;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(5,102,162,0.42) 0%, rgba(5,102,162,0) 68%);
}

.ts-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 0.78rem;
  color: var(--ts-blue);
}
.ts-hero .ts-eyebrow { color: #8FD2FF; }

.ts-hero-title {
  max-width: 920px;
  color: #fff !important;
  text-wrap: balance;
}
.ts-hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,0.84);
  font-size: clamp(1.08rem, 0.6vw + 1rem, 1.32rem);
}

.ts-card {
  border: 1px solid rgba(2,39,64,0.09);
  border-radius: var(--ts-radius-lg);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--ts-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ts-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ts-shadow);
  border-color: rgba(5,102,162,0.25);
}

.ts-dark-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ts-radius-lg);
  background: linear-gradient(135deg, rgba(2,39,64,0.96), rgba(2,53,90,0.92));
  color: #fff;
  box-shadow: var(--ts-shadow);
}
.ts-dark-card h1,
.ts-dark-card h2,
.ts-dark-card h3,
.ts-dark-card h4 { color: #fff !important; }
.ts-dark-card p { color: rgba(255,255,255,0.78); }

.ts-section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.ts-split-bg {
  background:
    radial-gradient(circle at top right, rgba(5,102,162,0.13), transparent 32rem),
    linear-gradient(180deg, #fff 0%, #F6F8FA 100%);
}

.ts-metric {
  border-left: 3px solid var(--ts-blue);
  padding-left: 1rem;
}
.ts-metric strong {
  display: block;
  font-size: clamp(2rem, 2.5vw, 3.5rem);
  line-height: 1;
  color: var(--ts-deep);
  letter-spacing: -0.06em;
}

.ts-pill {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  border: 1px solid rgba(5,102,162,0.22);
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(234,240,245,0.8);
  color: var(--ts-deep);
  font-weight: 800;
  font-size: .9rem;
}

.ts-contact-band {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--ts-deep), var(--ts-navy) 55%, var(--ts-blue));
  box-shadow: var(--ts-shadow);
}
.ts-contact-band::after {
  content: '';
  position: absolute;
  inset: auto -10% -45% auto;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.11);
}
.ts-contact-band > * { position: relative; z-index: 1; }

.wp-block-button__link {
  box-shadow: 0 12px 30px rgba(5,102,162,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(5,102,162,.32);
}
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
  border-width: 1px;
  background: transparent;
  box-shadow: none;
}

.ts-footer {
  background: #071A2A;
  color: rgba(255,255,255,0.75);
}
.ts-footer a { color: #fff; text-decoration: none; }
.ts-footer h1,
.ts-footer h2,
.ts-footer h3,
.ts-footer h4 { color: #fff !important; }

.wp-block-query .wp-block-post-template {
  gap: 1.5rem;
}
.wp-block-post-featured-image img {
  border-radius: var(--ts-radius-md);
  object-fit: cover;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(2,39,64,.16);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font: inherit;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(5,102,162,.15);
  border-color: var(--ts-blue);
}

@media (max-width: 782px) {
  .ts-header { position: relative; }
  .ts-hero { min-height: 720px; }
  .ts-logo-img { width: 148px; }
}

.ts-custom-hero::before {
  background:
    linear-gradient(90deg, rgba(2,39,64,0.94) 0%, rgba(2,53,90,0.82) 48%, rgba(2,39,64,0.45) 100%),
    var(--ts-hero-image) center/cover no-repeat;
}
.ts-custom-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.ts-service-grid,
.ts-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.ts-testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-custom-card { padding: 2rem; }
.ts-large-text {
  color: var(--ts-steel);
  font-size: clamp(1.05rem, .45vw + 1rem, 1.2rem);
  line-height: 1.75;
  max-width: 820px;
}
.ts-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ts-image-card,
.ts-project-image {
  overflow: hidden;
  margin: 0;
  border-radius: var(--ts-radius-lg);
  box-shadow: var(--ts-shadow-soft);
  background: #fff;
}
.ts-image-card img {
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  object-fit: contain;
  padding: 2rem;
  display: block;
}
.ts-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-project-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ts-project-image:hover img { transform: scale(1.04); }
.ts-quote {
  font-size: 1.08rem;
  line-height: 1.75;
}
.ts-custom-contact {
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  color: rgba(255,255,255,.82);
}
.ts-custom-contact h2,
.ts-custom-contact .ts-eyebrow { color: #fff !important; }
.ts-custom-contact a { color: #fff; }
.ts-form-card { color: var(--ts-ink); }
.ts-form-card h3 { color: var(--ts-ink) !important; }

@media (max-width: 960px) {
  .ts-service-grid,
  .ts-project-grid,
  .ts-testimonial-grid,
  .ts-two-col,
  .ts-custom-contact {
    grid-template-columns: 1fr;
  }
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ts-ink);
  line-height: 1.65;
}
h1, h2, h3, h4 {
  color: var(--ts-deep);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.7rem); }
p { margin-top: 0; }
.ts-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.custom-logo { width: 180px; max-width: 42vw; height: auto; display: block; }
.ts-brand { display: inline-flex; align-items: center; text-decoration: none; }
.ts-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.ts-menu a { color: var(--ts-deep); text-decoration: none; font-weight: 800; font-size: .95rem; }
.ts-menu a:hover { color: var(--ts-blue); }
.ts-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.ts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--ts-blue);
  background: var(--ts-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(5,102,162,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.ts-button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(5,102,162,.32); }
.ts-button-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.ts-form-card .ts-button { border-radius: 16px; width: 100%; }
.ts-footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 0; }
.ts-content { max-width: 920px; }
.ts-post-card { margin-bottom: 1.5rem; }
.ts-post-card a { color: inherit; text-decoration: none; }
@media (max-width: 782px) {
  .ts-header-inner, .ts-footer-inner { flex-direction: column; align-items: flex-start; padding: 1rem 0; }
  .ts-menu { gap: .85rem 1rem; }
}

/* v1.2 header/footer refinements */
body {
  overflow-x: hidden;
}

.ts-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.ts-header.ts-header-scrolled,
body:not(.home) .ts-header {
  background: rgba(255,255,255,.94);
  border-bottom-color: rgba(2,39,64,.08);
  box-shadow: 0 18px 50px rgba(2,39,64,.10);
  backdrop-filter: blur(18px);
}
body:not(.home) {
  padding-top: 94px;
}
.ts-header-inner {
  min-height: 88px;
  padding: .35rem 0;
}
.ts-brand,
.ts-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  height: 76px;
  width: 170px;
  overflow: visible;
  flex: 0 0 auto;
}
.ts-brand img,
.ts-logo-img,
.custom-logo {
  width: auto !important;
  height: 74px !important;
  max-width: 170px !important;
  object-fit: contain;
  display: block;
  transition: height .25s ease, max-width .25s ease, filter .25s ease;
}
.ts-header.ts-header-scrolled .ts-brand,
.ts-header.ts-header-scrolled .ts-brand .custom-logo-link,
body:not(.home) .ts-brand,
body:not(.home) .ts-brand .custom-logo-link {
  height: 64px;
}
.ts-header.ts-header-scrolled .ts-brand img,
.ts-header.ts-header-scrolled .ts-logo-img,
.ts-header.ts-header-scrolled .custom-logo,
body:not(.home) .ts-brand img,
body:not(.home) .ts-logo-img,
body:not(.home) .custom-logo {
  height: 62px !important;
  max-width: 150px !important;
}
.ts-menu {
  gap: clamp(1rem, 2vw, 1.8rem);
}
.ts-menu li {
  position: relative;
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}
.ts-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.ts-header.ts-header-scrolled .ts-menu a,
body:not(.home) .ts-menu a {
  color: var(--ts-deep);
  text-shadow: none;
}
.ts-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: .9;
  transition: transform .24s ease;
}
.ts-menu a:hover::after,
.ts-menu a.is-active::after,
.ts-menu .current-menu-item > a::after {
  transform: scaleX(1);
}
.ts-menu:hover li:has(a:hover) {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}
.ts-menu:hover li:not(:has(a:hover)) {
  filter: blur(1.7px);
  opacity: .48;
}
.ts-custom-hero,
.ts-hero {
  padding-top: 92px;
}

.ts-footer {
  background: #203f36;
  color: rgba(255,255,255,.88);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ts-footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}
.ts-footer a:hover { opacity: .72; }
.ts-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, .75fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.ts-footer-brand .custom-logo-link,
.ts-footer-brand a {
  display: inline-flex;
  align-items: center;
}
.ts-footer-brand img,
.ts-footer-brand .custom-logo,
.ts-footer-logo {
  width: auto !important;
  height: 112px !important;
  max-width: 320px !important;
  object-fit: contain;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: .92;
  margin-bottom: 1.4rem;
}
.ts-footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.78);
}
.ts-footer h3 {
  color: #fff !important;
  font-size: 1.06rem;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.ts-footer p {
  margin: 0 0 .75rem;
}
.ts-footer-data p {
  max-width: 430px;
}
.ts-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem !important;
  font-weight: 800;
}
.ts-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 2.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .92rem;
}
.ts-footer-bottom p {
  margin: 0 0 .45rem;
}
.ts-footer-bottom p:last-child {
  margin-bottom: 0;
}
.ts-footer-bottom a,
.ts-footer-bottom span {
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.ts-footer-inner { display: unset; padding: unset; }

@media (max-width: 960px) {
  .ts-header {
    background: rgba(255,255,255,.96);
    border-bottom-color: rgba(2,39,64,.08);
    box-shadow: 0 12px 36px rgba(2,39,64,.08);
  }
  .ts-header-inner {
    min-height: auto;
    padding: .75rem 0;
  }
  .ts-menu a {
    color: var(--ts-deep);
    text-shadow: none;
  }
  .ts-menu:hover li:not(:has(a:hover)) {
    filter: none;
    opacity: 1;
  }
  .ts-custom-hero,
  .ts-hero {
    padding-top: 130px;
  }
  body:not(.home) {
    padding-top: 130px;
  }
  .ts-footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ts-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 782px) {
  .ts-header { position: fixed; }
  .ts-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ts-brand,
  .ts-brand .custom-logo-link {
    height: 58px;
    width: 140px;
  }
  .ts-brand img,
  .ts-logo-img,
  .custom-logo {
    height: 56px !important;
    max-width: 140px !important;
  }
  .ts-menu {
    width: 100%;
    gap: .45rem 1rem;
  }
  .ts-menu a {
    min-height: 34px;
    font-size: .9rem;
  }
  .ts-footer-brand img,
  .ts-footer-brand .custom-logo,
  .ts-footer-logo {
    height: 88px !important;
    max-width: 260px !important;
  }
}

/* v1.3.1 footer final override */
.ts-footer {
  background: linear-gradient(135deg, var(--ts-deep) 0%, var(--ts-navy) 52%, #011B2D 100%) !important;
  color: rgba(255,255,255,.86) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.ts-footer .ts-footer-brand,
.ts-footer .ts-footer-logo,
.ts-footer .custom-logo,
.ts-footer .custom-logo-link,
.ts-footer .ts-footer-links,
.ts-footer .privacy-policy-link,
.ts-footer a[href*="waze"],
.ts-footer a[href*="google.com/maps"]:not(.ts-footer-map-placeholder) {
  display: none !important;
}
.ts-footer-main {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.35fr) minmax(190px, .75fr) minmax(260px, 1fr) !important;
  gap: clamp(2rem, 6vw, 5rem) !important;
  padding: clamp(3.2rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.4rem) !important;
  align-items: start !important;
}
.ts-footer h3 {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  margin: 0 0 1.1rem !important;
}
.ts-footer p {
  color: rgba(255,255,255,.82) !important;
  line-height: 1.75 !important;
  margin: 0 0 .58rem !important;
}
.ts-footer a {
  color: #fff !important;
  text-decoration: none !important;
}
.ts-footer a:hover { opacity: .76 !important; }
.ts-footer-map-col { min-width: 0 !important; }
.ts-footer-map {
  width: 100% !important;
  min-height: 260px !important;
  border-radius: 1.35rem !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.18) !important;
}
.ts-footer-map iframe {
  display: block !important;
  width: 100% !important;
  height: 280px !important;
  border: 0 !important;
  filter: saturate(.9) contrast(1.03) !important;
}
.ts-footer-data p,
.ts-footer-col p { max-width: 420px !important; }
.ts-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.2rem 2rem !important;
  padding: 1.5rem 0 1.7rem !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  font-size: .92rem !important;
}
.ts-footer-bottom p { margin: 0 !important; }
.ts-footer-bottom a { display: inline !important; font-weight: 900 !important; }
@media (max-width: 960px) {
  .ts-footer-main { grid-template-columns: 1fr !important; }
  .ts-footer-bottom { align-items: flex-start !important; flex-direction: column !important; }
}

/* v1.3.2 hard fix: fixed left logo header + blue footer */
.ts-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.admin-bar .ts-header { top: 32px !important; }
.ts-header.ts-header-scrolled,
body:not(.home) .ts-header {
  background: rgba(255,255,255,.94) !important;
  border-bottom-color: rgba(2,39,64,.08) !important;
  box-shadow: 0 18px 50px rgba(2,39,64,.10) !important;
  backdrop-filter: blur(18px) !important;
}
.ts-header .ts-header-inner {
  width: min(1500px, calc(100% - clamp(2rem, 7vw, 8rem))) !important;
  max-width: 76px !important;
  min-height: 88px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: .45rem 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(1.5rem, 4vw, 4rem) !important;
}
.ts-header .ts-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 174px !important;
  max-width: 230px !important;
  height: 68px !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}
.ts-header .ts-brand img,
.ts-header .ts-logo-img,
.ts-header .ts-header-logo {
  width: auto !important;
  height: 62px !important;
  max-width: 220px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  margin: 0 !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.ts-header.ts-header-scrolled .ts-brand,
body:not(.home) .ts-header .ts-brand {
  height: 58px !important;
}
.ts-header.ts-header-scrolled .ts-brand img,
.ts-header.ts-header-scrolled .ts-logo-img,
body:not(.home) .ts-header .ts-brand img,
body:not(.home) .ts-header .ts-logo-img {
  height: 52px !important;
  max-width: 190px !important;
  filter: none !important;
}
.ts-header .ts-nav {
  margin-left: auto !important;
  flex: 0 1 auto !important;
}
.ts-header .ts-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: clamp(1rem, 2vw, 1.9rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.ts-header .ts-menu a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.25) !important;
}
.ts-header.ts-header-scrolled .ts-menu a,
body:not(.home) .ts-header .ts-menu a {
  color: var(--ts-deep) !important;
  text-shadow: none !important;
}
.ts-header .ts-menu a::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: .18rem !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform .22s ease !important;
}
.ts-header .ts-menu a:hover::after,
.ts-header .ts-menu a.is-active::after,
.ts-header .ts-menu .current-menu-item > a::after {
  transform: scaleX(1) !important;
}
.ts-header .ts-menu li { transition: filter .22s ease, opacity .22s ease, transform .22s ease !important; }
.ts-header .ts-menu:hover li:has(a:hover) { filter: none !important; opacity: 1 !important; transform: translateY(-1px) !important; }
.ts-header .ts-menu:hover li:not(:has(a:hover)) { filter: blur(1.4px) !important; opacity: .50 !important; }
.ts-custom-hero,
.ts-hero { padding-top: 96px !important; }
.ts-footer {
  background: linear-gradient(135deg, #021B2D 0%, var(--ts-deep) 52%, var(--ts-navy) 100%) !important;
  color: rgba(255,255,255,.86) !important;
}
.ts-footer .privacy-policy-link,
.ts-footer a[href*="waze"],
.ts-footer a[href*="google.com/maps"]:not(.ts-footer-map-link) { display: none !important; }
@media (max-width: 782px) {
  .admin-bar .ts-header { top: 46px !important; }
  .ts-header .ts-header-inner {
    width: calc(100% - 2rem) !important;
    min-height: auto !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: .75rem !important;
    padding: .7rem 0 !important;
  }
  .ts-header .ts-brand { min-width: 138px !important; height: 48px !important; }
  .ts-header .ts-brand img,
  .ts-header .ts-logo-img,
  .ts-header .ts-header-logo { height: 44px !important; max-width: 160px !important; }
  .ts-header .ts-menu { justify-content: flex-start !important; gap: .35rem 1rem !important; }
  .ts-header .ts-menu a { min-height: 32px !important; font-size: .88rem !important; color: var(--ts-deep) !important; text-shadow: none !important; }
  .ts-header { background: rgba(255,255,255,.96) !important; border-bottom-color: rgba(2,39,64,.08) !important; backdrop-filter: blur(18px) !important; }
  .ts-custom-hero,
  .ts-hero { padding-top: 140px !important; }
}

/* v1.3.4 alignment + Fluent Forms support */
:root {
  --ts-container-max: 1400px;
  --ts-container-gutter: clamp(1.5rem, 6vw, 7rem);
}
.ts-custom-inner,
.ts-header .ts-header-inner {
  width: min(var(--ts-container-max), calc(100% - (var(--ts-container-gutter) * 2))) !important;
  max-width: var(--ts-container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ts-hero .ts-custom-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ts-header .ts-header-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ts-shortcode-form { margin-top: 1.15rem; }
.ts-shortcode-form form { margin: 0; }
.ts-shortcode-form input,
.ts-shortcode-form textarea,
.ts-shortcode-form select,
.ts-form-card input,
.ts-form-card textarea,
.ts-form-card select {
  width: 100%;
  border: 1px solid rgba(2,39,64,.14);
  border-radius: 14px;
  padding: .95rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ts-ink);
}
.ts-shortcode-form input:focus,
.ts-shortcode-form textarea:focus,
.ts-shortcode-form select:focus {
  outline: 2px solid rgba(5,102,162,.18);
  border-color: rgba(5,102,162,.42);
}
.ts-shortcode-form button,
.ts-shortcode-form input[type="submit"],
.ts-shortcode-form .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 0 1.3rem;
  background: linear-gradient(135deg, var(--ts-blue), #0781CA);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(5,102,162,.25);
}
@media (max-width: 960px) {
  :root { --ts-container-gutter: clamp(1rem, 4vw, 2rem); }
  .ts-custom-inner,
  .ts-header .ts-header-inner {
    width: calc(100% - (var(--ts-container-gutter) * 2)) !important;
  }
}
/* v1.3.5 contact form refinement */


/* v1.3.5 Fluent Forms visual integration */
.ts-form-card {
  padding: clamp(1.25rem, 2.2vw, 2rem) !important;
  border: 1px solid rgba(255,255,255,.42) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(18px) !important;
}
.ts-form-card > h1,
.ts-form-card > h2,
.ts-form-card > h3,
.ts-shortcode-form .ff-form-title,
.ts-shortcode-form .fluentform .ff_form_title,
.ts-shortcode-form .frm-fluent-form > h3 {
  display: none !important;
}
.ts-shortcode-form { margin-top: 0 !important; }
.ts-shortcode-form .fluentform,
.ts-shortcode-form .frm-fluent-form,
.ts-shortcode-form form {
  margin: 0 !important;
}
.ts-shortcode-form .ff-el-group {
  margin-bottom: 1rem !important;
}
.ts-shortcode-form .ff-el-input--label,
.ts-shortcode-form .ff-el-input--label label,
.ts-shortcode-form label {
  color: var(--ts-deep) !important;
  font-weight: 850 !important;
  font-size: .95rem !important;
  line-height: 1.25 !important;
  margin-bottom: .45rem !important;
}
.ts-shortcode-form .ff-el-form-control,
.ts-shortcode-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.ts-shortcode-form textarea,
.ts-shortcode-form select {
  min-height: 54px !important;
  border: 1px solid rgba(2,39,64,.12) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.96) !important;
  color: var(--ts-deep) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.ts-shortcode-form textarea,
.ts-shortcode-form textarea.ff-el-form-control {
  min-height: 130px !important;
  resize: vertical !important;
}
.ts-shortcode-form .ff-el-form-control:focus,
.ts-shortcode-form input:focus,
.ts-shortcode-form textarea:focus,
.ts-shortcode-form select:focus {
  outline: none !important;
  border-color: rgba(5,102,162,.55) !important;
  box-shadow: 0 0 0 4px rgba(5,102,162,.14) !important;
  background: #fff !important;
}
.ts-shortcode-form .ff-btn-submit,
.ts-shortcode-form button[type="submit"],
.ts-shortcode-form input[type="submit"] {
  min-height: 56px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ts-blue), #0790DA) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 18px 46px rgba(5,102,162,.28) !important;
}
.ts-shortcode-form .ff-btn-submit:hover,
.ts-shortcode-form button[type="submit"]:hover,
.ts-shortcode-form input[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 22px 54px rgba(5,102,162,.35) !important;
}
.ts-shortcode-form .ff-el-is-error .ff-el-form-control {
  border-color: rgba(183,54,32,.55) !important;
  box-shadow: 0 0 0 4px rgba(183,54,32,.10) !important;
}
.ts-shortcode-form .ff-el-help-message,
.ts-shortcode-form .error,
.ts-shortcode-form .ff-el-is-error .text-danger {
  font-size: .86rem !important;
  margin-top: .35rem !important;
}
@media (max-width: 960px) {
  .ts-form-card { border-radius: 24px !important; }
}
/* v1.3.5 package marker */


/* v1.3.6 Fluent Forms visibility fix + cleaner theme styling */
.ts-form-card {
  width: 100% !important;
  max-width: 560px !important;
  justify-self: end !important;
  min-height: 0 !important;
  color: var(--ts-deep) !important;
}
.ts-form-card .ts-shortcode-form,
.ts-form-card .fluentform,
.ts-form-card .frm-fluent-form,
.ts-form-card form,
.ts-form-card .ff-el-form-top,
.ts-form-card .ff-el-group,
.ts-form-card .ff-el-input--content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}
.ts-form-card .ff-el-form-top { margin: 0 !important; }
.ts-form-card .ff_form_title,
.ts-form-card .ff-form-title,
.ts-form-card .fluentform h3,
.ts-form-card .frm-fluent-form > h3 {
  display: none !important;
}
.ts-form-card .ff-el-group:first-child { margin-top: 0 !important; }
.ts-shortcode-form .ff-el-input--label label,
.ts-shortcode-form label {
  color: var(--ts-deep) !important;
}
.ts-shortcode-form .ff-el-form-control,
.ts-shortcode-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.ts-shortcode-form textarea,
.ts-shortcode-form select {
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 960px) {
  .ts-form-card {
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}
/* v1.3.6 package marker */

/* v1.3.7 Fluent Forms hard visibility fix */
.ts-form-card .ts-shortcode-form,
.ts-form-card .ts-shortcode-form > *,
.ts-form-card .fluentform,
.ts-form-card .fluent_form,
.ts-form-card .frm-fluent-form,
.ts-form-card form.frm-fluent-form,
.ts-form-card form.fluent_form,
.ts-form-card form,
.ts-form-card .ff-el-form-top,
.ts-form-card .ff-el-group,
.ts-form-card .ff-el-input--content,
.ts-form-card .ff-el-input--label,
.ts-form-card .ff-el-input--label label,
.ts-form-card .ff-t-container,
.ts-form-card .ff-t-cell,
.ts-form-card .ff_submit_btn_wrapper,
.ts-form-card .ff-el-form-control {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
  clip-path: none !important;
}
.ts-form-card .ff-t-container {
  display: flex !important;
  gap: 1rem !important;
}
.ts-form-card .ff-t-cell {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
.ts-form-card .ff-el-form-top .ff-form-title,
.ts-form-card .ff-el-form-top .ff_form_title,
.ts-form-card .ff-el-form-top h3,
.ts-form-card .ff-el-form-top h2,
.ts-form-card .ff-el-form-top .ff-description,
.ts-form-card .ff-el-form-top .ff_form_description,
.ts-form-card .fluentform > h3,
.ts-form-card .frm-fluent-form > h3 {
  display: none !important;
}
.ts-form-card .ff-el-group {
  margin: 0 0 1rem !important;
}
.ts-form-card .ff-el-input--label {
  margin: 0 0 .45rem !important;
}
.ts-form-card .ff-el-form-control,
.ts-form-card input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.ts-form-card textarea,
.ts-form-card select {
  width: 100% !important;
  min-height: 54px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(2,39,64,.16) !important;
  border-radius: 18px !important;
  padding: .95rem 1rem !important;
  background: rgba(255,255,255,.98) !important;
  color: var(--ts-deep) !important;
  font: inherit !important;
}
.ts-form-card textarea,
.ts-form-card textarea.ff-el-form-control {
  min-height: 130px !important;
}
.ts-form-card .ff-btn-submit,
.ts-form-card button[type="submit"],
.ts-form-card input[type="submit"] {
  width: 100% !important;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ts-blue), #0790DA) !important;
  color: #fff !important;
  font-weight: 800 !important;
}
.ts-footer-bottom a[href*="rpdev.eu"] {
  font-weight: 600 !important;
}


/* v1.3.8 Fluent Forms inline script output fix + lighter footer credit */
.ts-form-card script,
.ts-form-card style,
.ts-shortcode-form script,
.ts-shortcode-form style,
.ts-form-card .fluentform script,
.ts-form-card .frm-fluent-form script {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}
.ts-footer-bottom a[href*="rpdev.eu"] {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}


/* v1.3.9 Fluent Forms script text hard fix */
.ts-form-card .ts-shortcode-form > script,
.ts-form-card .ts-shortcode-form script,
.ts-form-card .fluentform script,
.ts-form-card .frm-fluent-form script,
.ts-form-card script[type="text/javascript"],
.ts-form-card script[id*="fluent"],
.ts-form-card script[id*="ff_"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
.ts-footer-bottom a[href*="rpdev.eu"] {
  font-weight: 400 !important;
}


/* v1.4.0 hero spacing + translucent scrolled header */
.ts-header.ts-header-scrolled,
body:not(.home) .ts-header {
  background: rgba(255,255,255,.78) !important;
  border-bottom-color: rgba(2,39,64,.08) !important;
  box-shadow: 0 18px 50px rgba(2,39,64,.08) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
}
.ts-custom-hero,
.ts-hero.ts-custom-hero {
  min-height: clamp(740px, 100svh, 940px) !important;
  padding-top: clamp(118px, 11vh, 150px) !important;
  padding-bottom: clamp(4.75rem, 8vh, 7rem) !important;
  align-items: center !important;
}
.ts-hero .ts-buttons {
  margin-top: clamp(1.75rem, 3vh, 2.5rem) !important;
  margin-bottom: 0 !important;
}
.ts-frontpage-customizer #teenused.ts-section {
  padding-top: clamp(3rem, 5vw, 5rem) !important;
}
@media (max-width: 782px) {
  .ts-custom-hero,
  .ts-hero.ts-custom-hero {
    min-height: auto !important;
    padding-top: 150px !important;
    padding-bottom: 4.5rem !important;
  }
}

/* v1.4.2 mobile compact header + sideways nav */
@media (max-width: 782px) {
  .ts-header {
    position: fixed !important;
    background: rgba(2,39,64,.22);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
  }
  .ts-header.ts-header-scrolled,
  body:not(.home) .ts-header {
    background: rgba(255,255,255,.78) !important;
    backdrop-filter: blur(22px) saturate(1.18) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
  }
  .ts-header-inner {
    min-height: 68px !important;
    height: 68px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .85rem !important;
    overflow: hidden !important;
  }
  .ts-brand,
  .ts-brand .custom-logo-link {
    width: 104px !important;
    height: 54px !important;
    flex: 0 0 104px !important;
  }
  .ts-brand img,
  .ts-logo-img,
  .custom-logo,
  .ts-header.ts-header-scrolled .ts-brand img,
  .ts-header.ts-header-scrolled .ts-logo-img,
  .ts-header.ts-header-scrolled .custom-logo {
    height: 52px !important;
    max-width: 104px !important;
  }
  .ts-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  .ts-nav::-webkit-scrollbar {
    display: none;
  }
  .ts-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: max-content !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 .9rem 0 0 !important;
  }
  .ts-menu li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .ts-menu a {
    min-height: 68px !important;
    font-size: .9rem !important;
    white-space: nowrap !important;
  }
  body:not(.home) {
    padding-top: 68px !important;
  }
  .ts-custom-hero,
  .ts-hero.ts-custom-hero {
    padding-top: 104px !important;
  }
}


/* v1.4.2 mobile header fix: keep logo left and nav visible sideways */
@media (max-width: 782px) {
  .ts-header {
    width: 100% !important;
    min-height: 66px !important;
    background: rgba(255,255,255,.74) !important;
    border-bottom: 1px solid rgba(2,39,64,.08) !important;
    backdrop-filter: blur(20px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.15) !important;
  }
  .admin-bar .ts-header { top: 46px !important; }
  .ts-header .ts-header-inner,
  .ts-header .ts-custom-inner.ts-header-inner {
    width: calc(100% - 24px) !important;
    max-width: 76px !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow: hidden !important;
  }
  .ts-header .ts-brand,
  .ts-header .ts-brand:link,
  .ts-header .ts-brand:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .ts-header .ts-brand img,
  .ts-header .ts-logo-img,
  .ts-header .ts-header-logo,
  .ts-header.ts-header-scrolled .ts-brand img,
  .ts-header.ts-header-scrolled .ts-logo-img,
  body:not(.home) .ts-header .ts-brand img,
  body:not(.home) .ts-header .ts-logo-img {
    display: block !important;
    height: 50px !important;
    width: auto !important;
    max-width: 96px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-nav {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 108px) !important;
    width: auto !important;
    margin-left: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent) !important;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-nav::-webkit-scrollbar { display: none !important; }
  .ts-header .ts-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: max-content !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 30px 0 0 !important;
    list-style: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .ts-header .ts-menu li {
    display: block !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-menu a,
  .ts-header.ts-header-scrolled .ts-menu a,
  body:not(.home) .ts-header .ts-menu a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 66px !important;
    height: 66px !important;
    color: var(--ts-deep) !important;
    font-size: .9rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-menu:hover li:not(:has(a:hover)) {
    filter: none !important;
    opacity: 1 !important;
  }
  .ts-custom-hero,
  .ts-hero.ts-custom-hero {
    padding-top: 98px !important;
  }
}


/* v1.4.3 mobile hamburger menu */
.ts-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.10);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.ts-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transition: transform .22s ease, opacity .22s ease;
}
.ts-menu-toggle:hover { transform: translateY(-1px); }
.ts-header.ts-header-scrolled .ts-menu-toggle,
body:not(.home) .ts-menu-toggle {
  color: var(--ts-deep);
  border-color: rgba(2,39,64,.14);
  background: rgba(2,39,64,.04);
}
.ts-header.ts-menu-open .ts-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ts-header.ts-menu-open .ts-menu-toggle span:nth-child(2) { opacity: 0; }
.ts-header.ts-menu-open .ts-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 782px) {
  .ts-header,
  .ts-header.ts-header-scrolled,
  body:not(.home) .ts-header {
    position: fixed !important;
    background: rgba(255,255,255,.78) !important;
    border-bottom: 1px solid rgba(2,39,64,.08) !important;
    box-shadow: 0 18px 50px rgba(2,39,64,.08) !important;
    backdrop-filter: blur(22px) saturate(1.16) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.16) !important;
  }
  .ts-header .ts-header-inner,
  .ts-header .ts-custom-inner.ts-header-inner {
    width: calc(100% - 24px) !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: auto 46px !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 12px !important;
    overflow: visible !important;
  }
  .ts-header .ts-brand,
  .ts-header .ts-brand:link,
  .ts-header .ts-brand:visited {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 156px !important;
    height: 54px !important;
    min-height: 54px !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .ts-header .ts-brand img,
  .ts-header .ts-logo-img,
  .ts-header .ts-header-logo,
  .ts-header.ts-header-scrolled .ts-brand img,
  .ts-header.ts-header-scrolled .ts-logo-img,
  body:not(.home) .ts-header .ts-brand img,
  body:not(.home) .ts-header .ts-logo-img {
    display: block !important;
    height: 50px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }
  .ts-menu-toggle {
    grid-column: 2 !important;
    display: inline-flex !important;
    justify-self: end !important;
    color: var(--ts-deep) !important;
    border-color: rgba(2,39,64,.16) !important;
    background: rgba(255,255,255,.68) !important;
    box-shadow: 0 10px 28px rgba(2,39,64,.12) !important;
    z-index: 1002 !important;
  }
  .ts-header .ts-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 12px !important;
    right: 12px !important;
    display: block !important;
    width: auto !important;
    max-width: 76px !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(.985) !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    z-index: 1001 !important;
  }
  .ts-header.ts-menu-open .ts-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }
  .ts-header .ts-menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 76px !important;
    margin: 0 !important;
    padding: .55rem !important;
    list-style: none !important;
    border: 1px solid rgba(2,39,64,.10) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 24px 80px rgba(2,39,64,.18) !important;
    backdrop-filter: blur(20px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.15) !important;
  }
  .ts-header .ts-menu li {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    white-space: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-menu a,
  .ts-header.ts-header-scrolled .ts-menu a,
  body:not(.home) .ts-header .ts-menu a {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: .75rem .9rem !important;
    border-radius: 16px !important;
    color: var(--ts-deep) !important;
    background: transparent !important;
    font-size: 1rem !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    text-shadow: none !important;
    white-space: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .ts-header .ts-menu a:hover,
  .ts-header .ts-menu a.is-active,
  .ts-header .ts-menu .current-menu-item > a {
    background: rgba(5,102,162,.08) !important;
    color: var(--ts-navy) !important;
  }
  .ts-header .ts-menu a::after {
    left: .9rem !important;
    right: auto !important;
    bottom: .45rem !important;
    width: 32px !important;
    background: var(--ts-blue) !important;
  }
  .ts-header .ts-menu:hover li:not(:has(a:hover)) {
    filter: none !important;
    opacity: 1 !important;
  }
  body.ts-mobile-menu-open { overflow: hidden !important; }
  .ts-custom-hero,
  .ts-hero.ts-custom-hero {
    padding-top: 98px !important;
  }
  body:not(.home) { padding-top: 66px !important; }
}


/* v1.4.4 mobile menu outside-close support + less transparent header */
.ts-header.ts-header-scrolled,
body:not(.home) .ts-header {
  background: rgba(255,255,255,.91) !important;
  border-bottom-color: rgba(2,39,64,.10) !important;
  box-shadow: 0 18px 50px rgba(2,39,64,.10) !important;
}

@media (max-width: 782px) {
  .ts-header,
  .ts-header.ts-header-scrolled,
  body:not(.home) .ts-header {
    background: rgba(255,255,255,.92) !important;
    border-bottom-color: rgba(2,39,64,.11) !important;
    box-shadow: 0 16px 44px rgba(2,39,64,.12) !important;
  }

  .ts-menu-toggle {
    background: rgba(255,255,255,.88) !important;
  }

  .ts-header .ts-menu {
    background: rgba(255,255,255,.97) !important;
  }
}


/* v1.4.5 home menu item + stable refresh top behavior */
html {
  scroll-padding-top: 92px;
}
@media (max-width: 782px) {
  html { scroll-padding-top: 78px; }
}

.ts-project-image figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

.ts-project-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(2, 39, 64, 0), rgba(2, 39, 64, .72));
    pointer-events: none;
}

.ts-card .ts-quote p,
.ts-card div p {
    margin-top: 0;
}


/* v1.5.2: keep original typography; remove only the unwanted hero/menu fog layer. */
.ts-hero::after,
.ts-custom-hero::after,
body.ts-mobile-menu-open::before,
body.ts-mobile-menu-open::after,
.ts-header::before,
.ts-header::after,
.ts-header .ts-nav::before,
.ts-header .ts-nav::after,
.ts-header .ts-menu::before,
.ts-header .ts-menu::after {
  content: none !important;
  display: none !important;
}

.ts-hero,
.ts-custom-hero {
  isolation: isolate !important;
}

.ts-hero .ts-custom-inner,
.ts-hero .ts-eyebrow,
.ts-hero .ts-hero-title,
.ts-hero .ts-hero-lead,
.ts-hero .ts-buttons {
  position: relative !important;
  z-index: 2 !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

.ts-hero .ts-hero-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.ts-hero .ts-hero-lead {
  color: rgba(255,255,255,.88) !important;
  -webkit-text-fill-color: rgba(255,255,255,.88) !important;
}

body.ts-mobile-menu-open {
  overflow: auto !important;
}

@media (min-width: 783px) {
  .ts-menu-toggle { display: none !important; }
  .ts-header.ts-menu-open,
  .ts-header.ts-menu-open .ts-header-inner,
  .ts-header.ts-menu-open .ts-nav,
  .ts-header.ts-menu-open .ts-menu,
  .ts-header.ts-menu-open .ts-menu li,
  .ts-header.ts-menu-open .ts-menu a {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ts-header .ts-nav,
  .ts-header.ts-menu-open .ts-nav {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .ts-header .ts-menu,
  .ts-header.ts-menu-open .ts-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.55rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* v1.5.3 FINAL: remove only the unwanted fog layer while preserving existing typography. */
body::before,
body::after,
body.ts-mobile-menu-open::before,
body.ts-mobile-menu-open::after,
.ts-header::before,
.ts-header::after,
.ts-header .ts-nav::before,
.ts-header .ts-nav::after,
.ts-header .ts-menu::before,
.ts-header .ts-menu::after,
.ts-hero::after,
.ts-custom-hero::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.ts-hero,
.ts-custom-hero {
  position: relative !important;
  isolation: auto !important;
  overflow: hidden !important;
}

.ts-hero::before,
.ts-custom-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background:
    linear-gradient(90deg, rgba(2,39,64,.88) 0%, rgba(2,53,90,.72) 48%, rgba(2,39,64,.28) 100%),
    var(--ts-hero-image) center/cover no-repeat !important;
}

.ts-hero > .ts-custom-inner,
.ts-custom-hero > .ts-custom-inner {
  position: relative !important;
  z-index: 2 !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

.ts-hero .ts-eyebrow,
.ts-hero .ts-hero-title,
.ts-hero .ts-hero-lead,
.ts-hero .ts-buttons,
.ts-hero .ts-button {
  position: relative !important;
  z-index: 3 !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

.ts-hero .ts-hero-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  text-shadow: none !important;
}

.ts-hero .ts-hero-lead {
  color: rgba(255,255,255,.88) !important;
  -webkit-text-fill-color: rgba(255,255,255,.88) !important;
  background: transparent !important;
  background-image: none !important;
}

body.ts-mobile-menu-open,
body.ts-mobile-menu-open .ts-hero,
body.ts-mobile-menu-open .ts-custom-hero,
body.ts-mobile-menu-open .ts-hero > .ts-custom-inner {
  overflow: auto !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}

@media (min-width: 783px) {
  .ts-header.ts-menu-open .ts-nav,
  .ts-header.ts-menu-open .ts-menu,
  .ts-header.ts-menu-open .ts-menu li,
  .ts-header.ts-menu-open .ts-menu a {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* v1.6.0 project admin/content cards + lightbox + testimonial submissions */
.ts-section-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.ts-button-dark {
  background: var(--ts-deep);
  border-color: var(--ts-deep);
  color: #fff;
}
.ts-button-outline-dark {
  background: transparent;
  border-color: rgba(2,39,64,.24);
  color: var(--ts-deep);
  box-shadow: none;
}
.ts-project-card {
  min-width: 0;
}
.ts-project-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(2,39,64,0.09);
  border-radius: var(--ts-radius-lg);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--ts-shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ts-project-card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--ts-shadow);
  border-color: rgba(5,102,162,0.25);
}
.ts-project-card-media {
  margin: 0;
  height: 245px;
  background: var(--ts-mist);
  overflow: hidden;
}
.ts-project-card-media img,
.ts-project-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ts-project-card-link:hover .ts-project-card-media img { transform: scale(1.04); }
.ts-project-card-placeholder {
  background: linear-gradient(135deg, rgba(2,39,64,.92), rgba(5,102,162,.48));
}
.ts-project-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}
.ts-project-card-body h3 { margin-bottom: .65rem; }
.ts-project-card-body p {
  color: var(--ts-steel);
  margin-bottom: 1rem;
}
.ts-project-card-body span {
  color: var(--ts-blue);
  font-weight: 900;
}
.ts-project-full-text {
  padding: clamp(1.35rem, 3vw, 2.25rem);
  margin: 2rem 0;
  max-width: 980px;
}
.ts-project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.ts-gallery-item {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ts-mist);
  box-shadow: var(--ts-shadow-soft);
  cursor: zoom-in;
}
.ts-gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.ts-gallery-item:hover img { transform: scale(1.04); }
.ts-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 20, 34, .88);
  padding: 1.25rem;
}
.ts-lightbox.is-open { display: flex; }
.ts-lightbox-stage {
  position: relative;
  max-width: min(1180px, 96vw);
  max-height: 90vh;
}
.ts-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.ts-lightbox-close,
.ts-lightbox-prev,
.ts-lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ts-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}
.ts-lightbox-close {
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.5rem;
}
.ts-lightbox-prev,
.ts-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.8rem;
}
.ts-lightbox-prev { left: -70px; }
.ts-lightbox-next { right: -70px; }
.ts-testimonial-submit {
  margin-top: 2rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.ts-public-testimonial-form {
  display: grid;
  gap: 1rem;
}
.ts-public-testimonial-form label {
  display: grid;
  gap: .4rem;
  font-weight: 800;
  color: var(--ts-deep);
}
.ts-public-testimonial-form textarea { resize: vertical; }
.ts-hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.ts-form-message {
  padding: .9rem 1rem;
  border-radius: 14px;
  font-weight: 800;
}
.ts-form-success {
  background: rgba(5,102,162,.10);
  color: var(--ts-deep);
}
.ts-form-error {
  background: rgba(150, 45, 20, .10);
  color: #7d2a14;
}
@media (max-width: 960px) {
  .ts-project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-testimonial-submit { grid-template-columns: 1fr; }
  .ts-lightbox-prev { left: .75rem; }
  .ts-lightbox-next { right: .75rem; }
}
@media (max-width: 560px) {
  .ts-project-gallery { grid-template-columns: 1fr; }
  .ts-gallery-item img { height: 260px; }
  .ts-lightbox-close { top: .75rem; right: .75rem; }
  .ts-lightbox-prev, .ts-lightbox-next { width: 42px; height: 52px; }
}

/* v1.6.1 project detail layout + testimonial popup */
.ts-project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.ts-project-detail-copy {
  min-width: 0;
}
.ts-project-detail-media {
  min-width: 0;
  position: sticky;
  top: 110px;
}
.ts-project-featured-image {
  display: block;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--ts-shadow);
  background: var(--ts-mist);
  cursor: zoom-in;
  margin-bottom: 1rem;
}
.ts-project-featured-image img {
  width: 100%;
  height: clamp(320px, 44vw, 560px);
  object-fit: cover;
  display: block;
}
.ts-project-detail-media .ts-project-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 0;
}
.ts-project-detail-media .ts-gallery-item {
  border-radius: 16px;
}
.ts-project-detail-media .ts-gallery-item img {
  height: 112px;
}
.ts-project-detail-copy .ts-project-full-text {
  margin: 1.5rem 0 0;
  max-width: none;
}
.ts-testimonial-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ts-testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 20, 34, .58);
}
.ts-testimonial-modal.is-open {
  display: flex;
}
.ts-testimonial-modal-panel {
  width: min(920px, 96vw);
  max-height: min(760px, 92vh);
  overflow: auto;
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}
.ts-testimonial-modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(2,39,64,.08);
  color: var(--ts-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.ts-testimonial-modal .ts-testimonial-submit {
  margin-top: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
}
@media (max-width: 960px) {
  .ts-project-detail-layout {
    grid-template-columns: 1fr;
  }
  .ts-project-detail-media {
    position: static;
  }
  .ts-project-featured-image img {
    height: clamp(260px, 60vw, 440px);
  }
  .ts-project-detail-media .ts-project-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ts-project-detail-media .ts-project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ts-project-detail-media .ts-gallery-item img {
    height: 120px;
  }
  .ts-testimonial-modal {
    align-items: flex-end;
    padding: .75rem;
  }
  .ts-testimonial-modal-panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px;
  }
}


/* v1.6.2 fixed project thumbnail sizing */
.ts-project-featured-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-height: 520px;
}
.ts-project-featured-image img {
  width: 100%;
  height: 100% !important;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.ts-project-detail-media .ts-gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.ts-project-detail-media .ts-gallery-item img {
  width: 100%;
  height: 100% !important;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.ts-project-card-media {
  aspect-ratio: 16 / 11;
}
.ts-project-card-media img,
.ts-project-card-placeholder {
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 960px) {
  .ts-project-featured-image { aspect-ratio: 16 / 11; max-height: none; }
}
@media (max-width: 560px) {
  .ts-project-featured-image { aspect-ratio: 4 / 3; }
}


/* v1.6.4 footer RP DEV logo credit - match text height */
.ts-footer-bottom .ts-rpdev-credit {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: -0.03em !important;
  line-height: 1 !important;
  font-weight: inherit !important;
  margin: 0 .12em !important;
}
.ts-footer-bottom .ts-rpdev-credit img {
  display: block !important;
  height: .64em !important;
  width: auto !important;
  max-width: 76px !important;
  object-fit: contain !important;
}


/* v1.6.5 mobile header repair: left logo + right hamburger, no overlap */
@media (max-width: 782px) {
  .ts-header,
  .ts-header.ts-header-scrolled,
  body:not(.home) .ts-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 72px !important;
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid rgba(2,39,64,.10) !important;
    box-shadow: 0 14px 38px rgba(2,39,64,.10) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  }

  .admin-bar .ts-header { top: 46px !important; }

  .ts-header .ts-header-inner,
  .ts-header .ts-custom-inner.ts-header-inner {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 14px !important;
    overflow: visible !important;
  }

  .ts-header .ts-brand,
  .ts-header .ts-brand:link,
  .ts-header .ts-brand:visited,
  .ts-header.ts-header-scrolled .ts-brand,
  body:not(.home) .ts-header .ts-brand {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 150px !important;
    height: 58px !important;
    min-height: 58px !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 2 !important;
  }

  .ts-header .ts-brand img,
  .ts-header .ts-logo-img,
  .ts-header .ts-header-logo,
  .ts-header.ts-header-scrolled .ts-brand img,
  .ts-header.ts-header-scrolled .ts-logo-img,
  body:not(.home) .ts-header .ts-brand img,
  body:not(.home) .ts-header .ts-logo-img {
    display: block !important;
    width: auto !important;
    height: 54px !important;
    max-width: 145px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
  }

  .ts-menu-toggle,
  .ts-header.ts-header-scrolled .ts-menu-toggle,
  body:not(.home) .ts-menu-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    z-index: 3 !important;
    color: var(--ts-deep) !important;
    border-color: rgba(2,39,64,.16) !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 10px 28px rgba(2,39,64,.12) !important;
  }

  .ts-header .ts-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(.985) !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    z-index: 1001 !important;
  }

  .ts-header.ts-menu-open .ts-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .ts-header .ts-menu {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: .55rem !important;
    margin: 0 !important;
    border: 1px solid rgba(2,39,64,.10) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 24px 80px rgba(2,39,64,.18) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  }

  .ts-header .ts-menu li { width: 100% !important; display: block !important; }

  .ts-header .ts-menu a,
  .ts-header.ts-header-scrolled .ts-menu a,
  body:not(.home) .ts-header .ts-menu a {
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    padding: .75rem .9rem !important;
    border-radius: 16px !important;
    justify-content: flex-start !important;
    color: var(--ts-deep) !important;
    text-shadow: none !important;
    white-space: normal !important;
  }

  .ts-custom-hero,
  .ts-hero.ts-custom-hero {
    padding-top: 104px !important;
  }
  body:not(.home) { padding-top: 72px !important; }
}


/* v1.6.7 testimonial excerpt + read more popup */
.ts-testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.ts-testimonial-card .ts-quote,
.ts-testimonial-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-testimonial-card strong {
  margin-top: auto;
  padding-top: 1rem;
}
.ts-link-button {
  border: 0;
  background: transparent;
  color: var(--ts-blue);
  font: inherit;
  font-weight: 800;
  padding: .75rem 0 0;
  text-align: left;
  cursor: pointer;
}
.ts-link-button:hover { color: var(--ts-navy); }
.ts-readmore-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 20, 34, .58);
}
.ts-readmore-modal.is-open { display: flex; }
.ts-readmore-modal-panel {
  width: min(720px, 94vw);
  max-height: min(720px, 90vh);
  overflow: auto;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ts-readmore-modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(2,39,64,.08);
  color: var(--ts-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.ts-readmore-text {
  color: var(--ts-steel);
  font-size: 1.05rem;
  line-height: 1.75;
  white-space: pre-wrap;
  margin-top: 1rem;
}

/* v1.6.9 strict project image ratios and no hidden placeholders */
.ts-project-card-media {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  display: block !important;
  overflow: hidden !important;
  background: var(--ts-mist) !important;
}
.ts-project-card-media img,
.ts-project-card-media .ts-project-card-img,
.ts-project-card-placeholder {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.ts-project-featured-image {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  max-height: none !important;
  display: block !important;
  background: var(--ts-mist) !important;
}
.ts-project-featured-image img,
.ts-project-featured-img {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
.ts-project-detail-media .ts-project-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.ts-project-detail-media .ts-gallery-item {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  display: block !important;
  overflow: hidden !important;
}
.ts-project-detail-media .ts-gallery-item img,
.ts-project-gallery-img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.ts-gallery-item-hidden {
  display: none !important;
}
.ts-gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,39,64,.58);
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  pointer-events: none;
}
@media (max-width: 960px) {
  .ts-project-card-media { aspect-ratio: 16 / 11 !important; }
  .ts-project-featured-image { aspect-ratio: 16 / 11 !important; }
  .ts-project-detail-media .ts-project-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .ts-project-card-media { aspect-ratio: 4 / 3 !important; }
  .ts-project-featured-image { aspect-ratio: 4 / 3 !important; }
  .ts-project-detail-media .ts-project-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .55rem !important; }
}


/* v1.6.9 remove hidden gallery placeholder tiles completely */
.ts-project-gallery > .ts-gallery-item-hidden,
.ts-project-detail-media .ts-project-gallery > .ts-gallery-item-hidden,
.ts-project-gallery > a[hidden],
.ts-project-detail-media .ts-project-gallery > a[hidden] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* v1.7.2 compact auto-scrolling testimonials */
.ts-testimonial-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: .15rem .15rem 1rem;
  margin-top: 1.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ts-testimonial-grid::-webkit-scrollbar { display: none; }
.ts-testimonial-grid.ts-testimonial-carousel-active {
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.ts-testimonial-grid.ts-testimonial-carousel-paused { cursor: default; }
.ts-testimonial-grid > .ts-card,
.ts-testimonial-grid > .ts-testimonial-card {
  flex: 0 0 clamp(245px, 24vw, 330px);
  width: clamp(245px, 24vw, 330px);
  min-height: 220px;
  max-height: 260px;
  padding: 1.45rem;
  scroll-snap-align: start;
}
.ts-testimonial-card {
  display: flex;
  flex-direction: column;
}
.ts-testimonial-card .ts-quote,
.ts-testimonial-excerpt {
  -webkit-line-clamp: 5;
  line-height: 1.65;
}
.ts-testimonial-card strong {
  padding-top: .9rem;
}
.ts-testimonial-read-more {
  padding-top: .55rem;
}
@media (max-width: 782px) {
  .ts-testimonial-grid {
    gap: .85rem;
    margin-top: 1.4rem;
    padding-bottom: .85rem;
  }
  .ts-testimonial-grid > .ts-card,
  .ts-testimonial-grid > .ts-testimonial-card {
    flex-basis: min(78vw, 300px);
    width: min(78vw, 300px);
    min-height: 205px;
    max-height: 245px;
    padding: 1.25rem;
  }
}


/* v1.7.2 cleaner testimonial carousel */
.ts-testimonial-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: .1rem 0 .35rem !important;
  margin-top: 1.55rem !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
.ts-testimonial-grid::-webkit-scrollbar { display: none; }
.ts-testimonial-grid.ts-testimonial-carousel-active,
.ts-testimonial-grid.ts-testimonial-carousel-paused {
  cursor: default !important;
}
.ts-testimonial-grid > .ts-card,
.ts-testimonial-grid > .ts-testimonial-card {
  flex: 0 0 calc((100% - 2rem) / 3) !important;
  width: calc((100% - 2rem) / 3) !important;
  min-width: 260px !important;
  height: 190px !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 1.35rem 1.45rem !important;
  border: 1px solid rgba(2, 53, 90, .10) !important;
  box-shadow: 0 10px 28px rgba(2, 39, 64, .06) !important;
  background: rgba(255,255,255,.96) !important;
  scroll-snap-align: start;
  overflow: hidden !important;
}
.ts-testimonial-card,
.ts-testimonial-grid > .ts-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.ts-testimonial-card .ts-quote,
.ts-testimonial-grid .ts-quote,
.ts-testimonial-excerpt {
  display: block !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-height: calc(1.55em * 3) !important;
  overflow: hidden !important;
  color: var(--ink) !important;
  line-height: 1.55 !important;
}
.ts-testimonial-card .ts-quote p,
.ts-testimonial-grid .ts-quote p,
.ts-testimonial-excerpt p {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  line-height: 1.55 !important;
  white-space: normal !important;
}
.ts-testimonial-card strong,
.ts-testimonial-grid > .ts-card strong {
  display: block !important;
  padding-top: .8rem !important;
  margin-top: auto !important;
  font-size: .98rem !important;
  color: var(--ink) !important;
}
.ts-testimonial-read-more {
  display: inline-block !important;
  align-self: flex-start !important;
  padding-top: .45rem !important;
  margin-top: .25rem !important;
  line-height: 1.2 !important;
}
@media (min-width: 1200px) {
  .ts-testimonial-grid > .ts-card,
  .ts-testimonial-grid > .ts-testimonial-card {
    flex-basis: calc((100% - 2rem) / 3) !important;
    width: calc((100% - 2rem) / 3) !important;
  }
}
@media (max-width: 782px) {
  .ts-testimonial-grid {
    gap: .85rem !important;
    margin-top: 1.25rem !important;
    padding-bottom: .25rem !important;
  }
  .ts-testimonial-grid > .ts-card,
  .ts-testimonial-grid > .ts-testimonial-card {
    flex-basis: min(82vw, 315px) !important;
    width: min(82vw, 315px) !important;
    min-width: min(82vw, 315px) !important;
    height: 178px !important;
    padding: 1.15rem 1.2rem !important;
  }
}


/* v1.7.4 reliable testimonial marquee */
.ts-testimonial-carousel-viewport {
  width: 100%;
  overflow: hidden !important;
  margin-top: 1.45rem;
  padding: .05rem 0 .25rem;
}
.ts-testimonial-carousel-viewport .ts-testimonial-grid {
  margin-top: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  width: max-content !important;
  min-width: 100%;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  scroll-snap-type: none !important;
  transform: translate3d(0,0,0);
}
.ts-testimonial-grid.ts-testimonial-carousel-active {
  animation: ts-testimonial-marquee var(--ts-testimonial-duration, 30s) linear infinite !important;
  will-change: transform;
}
.ts-testimonial-grid.ts-testimonial-carousel-paused {
  animation-play-state: paused !important;
}
.ts-testimonial-carousel-viewport .ts-testimonial-grid > .ts-card,
.ts-testimonial-carousel-viewport .ts-testimonial-grid > .ts-testimonial-card {
  flex: 0 0 clamp(285px, calc((min(1180px, 100vw - 3rem) - 2rem) / 3), 360px) !important;
  width: clamp(285px, calc((min(1180px, 100vw - 3rem) - 2rem) / 3), 360px) !important;
  height: 168px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 168px !important;
  padding: 1.2rem 1.25rem !important;
  overflow: hidden !important;
  box-shadow: 0 8px 22px rgba(2, 39, 64, .045) !important;
}
.ts-testimonial-carousel-viewport .ts-testimonial-grid .ts-quote,
.ts-testimonial-carousel-viewport .ts-testimonial-grid .ts-quote p,
.ts-testimonial-carousel-viewport .ts-testimonial-excerpt,
.ts-testimonial-carousel-viewport .ts-testimonial-excerpt p {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.5 !important;
  max-height: 4.5em !important;
}
.ts-testimonial-carousel-viewport .ts-testimonial-grid strong {
  margin-top: auto !important;
  padding-top: .65rem !important;
}
@keyframes ts-testimonial-marquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(calc(-50% - .5rem),0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ts-testimonial-grid.ts-testimonial-carousel-active { animation: none !important; }
}
@media (max-width: 782px) {
  .ts-testimonial-carousel-viewport .ts-testimonial-grid > .ts-card,
  .ts-testimonial-carousel-viewport .ts-testimonial-grid > .ts-testimonial-card {
    flex-basis: min(82vw, 310px) !important;
    width: min(82vw, 310px) !important;
    height: 160px !important;
    max-height: 160px !important;
    padding: 1.05rem 1.1rem !important;
  }
}


/* v1.7.5 testimonial empty state + consistent CTA sizing */
.ts-no-testimonials {
  margin-top: 1.45rem;
  max-width: 620px;
}
.ts-no-testimonials p {
  margin: 0;
  color: var(--ts-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.ts-testimonial-actions .ts-button,
.ts-section-actions .ts-button,
.ts-buttons .ts-button {
  min-width: 190px;
  min-height: 52px;
  padding: .9rem 1.35rem;
}
.ts-public-testimonial-form .ts-button,
.ts-form-card .ts-button {
  width: 100%;
  min-width: 0;
}
@media (max-width: 520px) {
  .ts-testimonial-actions .ts-button,
  .ts-section-actions .ts-button,
  .ts-buttons .ts-button {
    min-width: 0;
  }
}
