:root {
  --tm-dark: #151515;
  --tm-ink: #232323;
  --tm-muted: #7d8288;
  --tm-soft: #f3f4f6;
  --tm-paper: #ffffff;
  --tm-line: rgba(255, 255, 255, 0.14);
  --tm-orange: #ff9417;
  --tm-orange-2: #d67510;
  --tm-radius: 8px;
  --tm-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

body {
  color: var(--tm-ink);
  background: var(--tm-soft);
}

body,
p,
a,
button,
input,
textarea {
  letter-spacing: 0;
}

.page-wrapper {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%) 0 0 / 72px 72px,
    linear-gradient(225deg, rgba(0, 0, 0, 0.025) 25%, transparent 25%) 0 0 / 72px 72px,
    var(--tm-soft);
}

.section-padding {
  padding: 92px 0;
}

.theme-btn,
.theme-btn-s2,
.theme-btn-s4,
.slide-btns a,
.btns a,
.submit-area button {
  min-height: 46px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tm-orange), var(--tm-orange-2));
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(255, 148, 23, 0.26);
}

.theme-btn:hover,
.theme-btn-s2:hover,
.theme-btn-s4:hover,
.slide-btns a:hover,
.btns a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 148, 23, 0.32);
}

#header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 99;
}

.wpo-site-header {
  background: rgba(18, 18, 18, 0.36);
  border-bottom: 1px solid var(--tm-line);
  backdrop-filter: blur(10px);
}

.wpo-site-header .navigation {
  padding: 16px 22px;
}

.wpo-site-header .navbar-brand img {
  max-height: 58px;
  width: auto;
}

.wpo-site-header #navbar > ul > li > a {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 24px 18px;
}

.wpo-site-header #navbar > ul > li > a.active,
.wpo-site-header #navbar > ul > li > a:hover {
  color: #fff;
}

.wpo-site-header #navbar > ul > li > a.active:after,
.wpo-site-header #navbar > ul > li > a:hover:after {
  width: calc(100% - 36px);
}

.wpo-site-header #navbar > ul > li > a:after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 8px;
  background: var(--tm-orange);
  transition: width 0.2s ease;
}

.wpo-site-header .sub-menu {
  border: 0;
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow);
}

.header-right .right-menu-toggle-btn span,
.navbar-toggler .icon-bar {
  background: #fff;
}

.float-wa {
  width: 54px;
  height: 54px;
  left: 24px;
  background: #1fbf62;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.wpo-hero-slider,
.wpo-hero-slider .slide-inner {
  min-height: 100vh;
}

.wpo-hero-slider .slide-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 72%);
  z-index: 1;
}

.wpo-hero-slider .slide-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-top: 120px;
}

.wpo-hero-slider .slide-title h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.wpo-hero-slider .swiper-pagination-bullet,
.wpo-hero-slider .swiper-pagination-bullet-active {
  background: var(--tm-orange);
}

.tm-dark-band {
  position: relative;
  overflow: hidden;
  background: var(--tm-dark);
  color: #fff;
}

.tm-dark-band:before,
.wpo-site-footer-s2:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 42px solid rgba(255, 255, 255, 0.035);
  border-radius: 80px;
  transform: rotate(35deg);
  right: -120px;
  top: 80px;
}

.tm-stat-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tm-radius);
  background: rgba(255, 255, 255, 0.08);
}

.tm-stat-card {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.tm-stat-card strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.tm-stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--tm-orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tm-intro {
  max-width: 760px;
  margin: 54px auto 0;
  text-align: center;
}

.tm-intro h2,
.tm-projects h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.tm-intro p {
  color: rgba(255, 255, 255, 0.78);
}

.tm-projects {
  padding-top: 40px;
}

.tm-section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--tm-orange);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.tm-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 34px;
}

.tm-project-card,
.wpo-project-item,
.wpo-service-item,
.wpo-blog-item,
.office-info-item {
  overflow: hidden;
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-project-card:hover,
.wpo-project-item:hover,
.wpo-service-item:hover,
.wpo-blog-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--tm-shadow);
}

.tm-project-card img,
.wpo-project-img img,
.wpo-service-img img,
.wpo-blog-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
}

.tm-project-card .body {
  padding: 22px;
  background: #1f1f1f;
}

.tm-project-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
}

.tm-project-card p {
  color: var(--tm-orange);
}

.wpo-about-area,
.wpo-about-area-s4,
.wpo-service-area,
.wpo-service-area-s3,
.wpo-blog-section,
.wpo-blog-section-s2,
.wpo-contact-pg-section,
.wpo-project-area-s2,
.wpo-project-single-area,
.wpo-service-single-area {
  background: transparent;
}

.wpo-about-area-s4 {
  background: var(--tm-dark);
}

.wpo-about-area-s4 .wpo-about-title h2,
.wpo-about-area-s4 .wpo-about-title span,
.wpo-about-area-s4 p {
  color: #fff !important;
}

.wpo-about-img img,
.wpo-service-single-main-img img,
.wpo-project-single-main-img img {
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow);
}

.wpo-section-title-s3 span,
.wpo-about-title span {
  color: var(--tm-orange) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.wpo-section-title-s3 h2,
.wpo-about-title h2 {
  color: var(--tm-ink);
  font-size: clamp(30px, 3vw, 46px);
}

.wpo-service-item {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 0;
}

.wpo-service-area .wpo-service-item {
  padding: 34px 28px;
}

.wpo-service-item i {
  color: var(--tm-orange);
  font-size: 48px;
}

.wpo-service-text,
.wpo-blog-content {
  padding: 24px;
}

.wpo-service-text h2 a,
.wpo-service-item h2,
.wpo-blog-content h2 a,
.wpo-project-text h2 a {
  color: var(--tm-ink);
}

.wpo-service-item a,
.wpo-blog-content a,
.wpo-project-text a {
  color: var(--tm-orange);
  font-weight: 800;
}

.wpo-page-title {
  min-height: 430px;
  padding-top: 120px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), rgba(17, 17, 17, 0.9)),
    url("../images/page-title.jpg") center / cover no-repeat !important;
}

.wpo-page-title .wpo-breadcumb-wrap h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  text-transform: uppercase;
}

.wpo-page-title .wpo-breadcumb-wrap li,
.wpo-page-title .wpo-breadcumb-wrap li a {
  color: rgba(255, 255, 255, 0.82);
}

.wpo-project-area-s2 .project-grids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  height: auto !important;
  position: static !important;
}

.wpo-project-area-s2 .project-grids .grid {
  width: 100% !important;
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
}

.wpo-project-area-s2 .grid > div[style] {
  height: auto !important;
  min-height: 150px;
  margin-top: 0;
  padding: 22px !important;
  border: 0 !important;
  border-radius: 0 0 var(--tm-radius) var(--tm-radius) !important;
  background: #fff !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
}

.wpo-project-area-s2 .grid > div[style] p {
  margin-bottom: 8px;
  color: var(--tm-ink);
  font-weight: 800;
}

.wpo-project-text {
  padding: 20px 22px;
  background: #fff;
}

.wpo-project-text h2 {
  margin: 0;
  font-size: 21px;
}

.tm-page-intro {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.tm-page-intro h2 {
  margin-bottom: 14px;
  color: var(--tm-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.tm-page-intro p {
  color: var(--tm-muted);
}

.tm-reference-section,
.tm-photo-section,
.tm-home-showcase {
  background: var(--tm-soft);
}

.tm-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tm-reference-card {
  position: relative;
  min-height: 178px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--tm-radius);
  background:
    linear-gradient(145deg, #fff, #f8f8f8);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tm-reference-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  bottom: -54px;
  border: 18px solid rgba(255, 148, 23, 0.14);
  border-radius: 28px;
  transform: rotate(35deg);
}

.tm-reference-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 148, 23, 0.42);
  box-shadow: var(--tm-shadow);
}

.tm-reference-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #191919;
  color: var(--tm-orange);
  font-weight: 900;
}

.tm-reference-card h3 {
  margin: 0 0 8px;
  color: var(--tm-ink);
  font-size: 20px;
  line-height: 1.25;
}

.tm-reference-card p {
  margin: 0;
  color: var(--tm-muted);
  font-weight: 700;
}

.tm-brand-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.tm-brand-logo {
  display: grid;
  min-height: 116px;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tm-brand-logo:hover {
  transform: translateY(-4px);
}

.tm-brand-logo img {
  max-width: 150px;
  max-height: 82px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.tm-brand-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.tm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.tm-gallery-card,
.tm-mini-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--tm-radius);
  background: #111;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.13);
}

.tm-gallery-card:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.tm-gallery-card img,
.tm-mini-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tm-gallery-card:after,
.tm-mini-gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tm-gallery-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-orange);
  color: #fff;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.tm-gallery-card:hover img,
.tm-mini-gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.82;
}

.tm-gallery-card:hover:after,
.tm-mini-gallery-item:hover:after,
.tm-gallery-card:hover span {
  opacity: 1;
}

.tm-gallery-card:hover span {
  transform: translateY(0);
}

.tm-mini-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.25fr;
  gap: 16px;
  margin-top: 26px;
}

.tm-mini-gallery-item:nth-child(1),
.tm-mini-gallery-item:nth-child(6) {
  grid-row: span 2;
}

.tm-mini-gallery-item img {
  min-height: 190px;
}

.tm-ghost-btn {
  margin-left: 10px;
  background: #191919 !important;
  box-shadow: none;
}

.blog-sidebar .widget,
.wpo-contact-form-area,
.wpo-project-single-wrap,
.wpo-service-single-wrap {
  border: 0;
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .widget {
  padding: 28px;
}

.wpo-contact-form-area input,
.wpo-contact-form-area textarea {
  border: 1px solid #dde1e6;
  border-radius: var(--tm-radius);
}

.office-info-item {
  min-height: 230px;
  padding: 32px 24px;
}

.office-info-icon .icon {
  color: var(--tm-orange);
}

.wpo-site-footer-s2 {
  position: relative;
  overflow: hidden;
  background: #171717;
}

.wpo-site-footer-s2 .wpo-upper-footer {
  background: transparent;
  padding: 82px 0 54px;
}

.wpo-site-footer-s2 .wpo-lower-footer {
  background: #111;
}

.wpo-site-footer-s2 h3,
.wpo-site-footer-s2 p,
.wpo-site-footer-s2 li,
.wpo-site-footer-s2 a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.wpo-site-footer-s2 .about-widget img {
  max-width: 250px;
}

.wpo-site-footer-s2 .about-widget ul li a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.pg-pagination .active a,
.pg-pagination a:hover {
  background: var(--tm-orange) !important;
  border-color: var(--tm-orange) !important;
  color: #fff !important;
}

@media (max-width: 1199px) {
  .wpo-site-header #navbar > ul > li > a {
    padding: 20px 10px;
    font-size: 12px;
  }

  .wpo-project-area-s2 .project-grids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-reference-grid,
  .tm-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-brand-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .wpo-site-header .navigation {
    padding: 12px;
  }

  .wpo-site-header #navbar > ul > li > a {
    color: var(--tm-ink);
  }

  .wpo-site-header #navbar > ul > li > a.active,
  .wpo-site-header #navbar > ul > li > a:hover {
    color: var(--tm-orange);
  }

  .wpo-hero-slider,
  .wpo-hero-slider .slide-inner {
    min-height: 760px;
  }

  .tm-stat-wrap,
  .tm-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-reference-grid,
  .tm-gallery-grid,
  .tm-mini-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-brand-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-gallery-card:nth-child(7n + 1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 64px 0;
  }

  .wpo-hero-slider,
  .wpo-hero-slider .slide-inner {
    min-height: 680px;
  }

  .wpo-hero-slider .slide-content {
    padding-top: 80px;
  }

  .wpo-page-title {
    min-height: 330px;
    padding-top: 92px;
  }

  .tm-stat-wrap,
  .tm-project-grid,
  .wpo-project-area-s2 .project-grids,
  .tm-reference-grid,
  .tm-gallery-grid,
  .tm-mini-gallery {
    grid-template-columns: 1fr;
  }

  .tm-brand-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-reference-card {
    min-height: auto;
  }

  .tm-gallery-card img,
  .tm-mini-gallery-item img {
    min-height: 230px;
  }

  .tm-ghost-btn {
    display: inline-flex;
    margin-top: 10px;
    margin-left: 0;
  }

  .tm-stat-card {
    padding: 24px 16px;
  }

  .float-wa {
    width: 46px;
    height: 46px;
    left: 14px;
  }
}

/* 2026 home refresh */
.wpo-hero-slider {
  position: relative;
  background: #111;
}

.wpo-hero-slider .slide-inner:before {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.72) 62%, rgba(10, 10, 10, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 72%);
}

.tm-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-hero-kicker:before {
  content: "";
  width: 54px;
  height: 2px;
  background: var(--tm-orange);
}

.tm-hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
}

.tm-hero-stat-dock {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 5;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: translate(-50%, 50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--tm-radius);
  background: rgba(25, 25, 25, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.tm-hero-stat-dock div {
  padding: 24px 22px;
  text-align: center;
}

.tm-hero-stat-dock div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.tm-hero-stat-dock strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.tm-hero-stat-dock span {
  display: block;
  margin-top: 8px;
  color: var(--tm-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-stat-wrap-compact {
  display: none;
}

.tm-intro-band {
  padding-top: 128px;
}

.tm-dark-band {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 148, 23, 0.16), transparent 28%),
    linear-gradient(180deg, #171717 0%, #111 100%);
}

.tm-intro {
  margin-top: 0;
}

.tm-intro h2 {
  margin-bottom: 18px;
}

.tm-about-frame {
  position: relative;
}

.tm-about-frame:after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 62%;
  height: 62%;
  border: 2px solid var(--tm-orange);
  border-radius: var(--tm-radius);
  z-index: -1;
}

.wpo-service-area-s3 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 249, 0.94)),
    linear-gradient(135deg, rgba(17, 17, 17, 0.035) 25%, transparent 25%) 0 0 / 34px 34px;
}

.wpo-service-area-s3 .wpo-service-item {
  background: #fff;
}

.wpo-service-text h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
}

.tm-projects {
  background:
    radial-gradient(circle at 88% 28%, rgba(255, 148, 23, 0.13), transparent 26%),
    #151515;
}

.tm-project-card .body {
  min-height: 150px;
}

.tm-home-showcase {
  background:
    linear-gradient(180deg, #f5f6f8 0%, #fff 100%);
}

.wpo-blog-section-s2 {
  background:
    linear-gradient(180deg, #fff 0%, #f4f5f7 100%);
}

.wpo-blog-item {
  height: calc(100% - 30px);
  background: #25262b;
}

.wpo-blog-content h2 a,
.wpo-blog-content p {
  color: #fff !important;
}

.wpo-blog-content p {
  color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 991px) {
  .tm-hero-stat-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translate(-50%, 42%);
  }

  .tm-hero-stat-dock div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-hero-stat-dock div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-intro-band {
    padding-top: 170px;
  }
}

@media (max-width: 767px) {
  .wpo-hero-slider,
  .wpo-hero-slider .slide-inner {
    min-height: 720px;
  }

  .wpo-hero-slider .slide-content {
    padding: 96px 10px 180px;
  }

  .wpo-hero-slider .slide-title h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .tm-hero-kicker {
    font-size: 11px;
  }

  .tm-hero-kicker:before {
    width: 32px;
  }

  .tm-hero-copy {
    font-size: 15px;
  }

  .tm-hero-stat-dock {
    bottom: 18px;
    width: calc(100% - 24px);
    transform: translateX(-50%);
  }

  .tm-hero-stat-dock div {
    padding: 18px 12px;
  }

  .tm-intro-band {
    padding-top: 70px;
  }

  .tm-brand-logo {
    min-height: 92px;
    padding: 16px;
  }

  .tm-brand-logo img {
    max-width: 118px;
  }
}

@media (max-width: 420px) {
  .tm-hero-stat-dock strong {
    font-size: 27px;
  }

  .tm-hero-stat-dock span {
    font-size: 10px;
  }
}

/* Corporate reset requested after first preview */
.wpo-hero-slider,
.wpo-hero-slider .slide-inner {
  min-height: 760px !important;
}

.wpo-hero-slider .slide-inner:before {
  background:
    linear-gradient(90deg, rgba(15, 18, 22, 0.9) 0%, rgba(15, 18, 22, 0.66) 48%, rgba(15, 18, 22, 0.42) 100%),
    linear-gradient(180deg, rgba(15, 18, 22, 0.34), rgba(15, 18, 22, 0.86)) !important;
}

.wpo-hero-slider .slide-content {
  max-width: 760px !important;
  margin-left: clamp(0px, 5vw, 72px);
  padding-top: 140px !important;
  text-align: left;
}

.wpo-hero-slider .slide-title h2 {
  max-width: 720px !important;
  color: #fff !important;
  font-size: clamp(42px, 5.2vw, 72px) !important;
  line-height: 1.05 !important;
  text-transform: none !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.34) !important;
}

.tm-hero-copy {
  color: rgba(255,255,255,.88);
  font-size: 19px;
}

.tm-hero-stat-dock {
  display: none !important;
}

.tm-stat-wrap-compact {
  display: grid;
}

.tm-intro-band {
  padding-top: 92px;
  padding-bottom: 92px;
  background:
    linear-gradient(135deg, rgba(255, 148, 23, 0.12), transparent 34%),
    #151719;
}

.tm-corporate-services {
  border-top: 0 !important;
  background: #f4f6f8;
}

.tm-section-title-wide {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.tm-section-title-wide p,
.wpo-section-title-s3 p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--tm-muted);
}

.tm-legacy-services {
  display: none !important;
}

.tm-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tm-service-grid-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-service-card {
  position: relative;
  min-height: 260px;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(20, 26, 32, 0.08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tm-service-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--tm-orange), var(--tm-orange-2));
}

.tm-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 148, 23, .35);
  box-shadow: 0 24px 60px rgba(20, 26, 32, 0.14);
}

.tm-service-card i {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #151719;
  color: var(--tm-orange);
  font-size: 24px;
}

.tm-service-card h3 {
  margin: 0 0 12px;
  color: #181b20;
  font-size: 22px;
  line-height: 1.25;
}

.tm-service-card p {
  margin: 0;
  color: #656c75;
  line-height: 1.65;
}

.tm-service-more {
  margin-top: 34px;
}

.tm-services-page {
  background: #f4f6f8;
}

.tm-projects,
.tm-dark-band {
  background:
    linear-gradient(135deg, rgba(255, 148, 23, 0.08), transparent 35%),
    #151719;
}

.tm-project-card .body {
  background: #1d2025;
}

@media (max-width: 991px) {
  .wpo-hero-slider,
  .wpo-hero-slider .slide-inner {
    min-height: 700px !important;
  }

  .wpo-hero-slider .slide-content {
    margin-left: 0;
    padding-top: 120px !important;
  }

  .tm-service-grid,
  .tm-service-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wpo-hero-slider,
  .wpo-hero-slider .slide-inner {
    min-height: 640px !important;
  }

  .wpo-hero-slider .slide-title h2 {
    font-size: clamp(34px, 11vw, 46px) !important;
  }

  .tm-hero-copy {
    font-size: 16px;
  }

  .tm-service-grid,
  .tm-service-grid-page {
    grid-template-columns: 1fr;
  }

  .tm-service-card {
    min-height: auto;
  }
}

/* Birlesim-like hero composition */
.tm-home-hero.wpo-hero-slider,
.tm-home-hero.wpo-hero-slider .swiper-container,
.tm-home-hero.wpo-hero-slider .swiper-wrapper,
.tm-home-hero.wpo-hero-slider .swiper-slide,
.tm-home-hero.wpo-hero-slider .slide-inner {
  height: 100vh !important;
  min-height: 780px !important;
}

.tm-home-hero .wpo-line-animated {
  display: none !important;
}

.tm-home-hero .slide-inner {
  background-position: center center !important;
}

.tm-home-hero .slide-inner:before {
  background:
    linear-gradient(180deg, rgba(18, 28, 36, .76) 0%, rgba(18, 28, 36, .42) 42%, rgba(18, 28, 36, .86) 100%),
    linear-gradient(90deg, rgba(10, 15, 20, .58), rgba(10, 15, 20, .12) 48%, rgba(10, 15, 20, .46)) !important;
}

.tm-home-hero .slide-content {
  position: absolute !important;
  left: clamp(34px, 10vw, 190px) !important;
  bottom: clamp(190px, 24vh, 270px) !important;
  right: auto !important;
  top: auto !important;
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  transform: none !important;
}

.tm-home-hero .tm-hero-kicker {
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .08em;
}

.tm-home-hero .tm-hero-kicker:before {
  width: 46px;
  background: var(--tm-orange);
}

.tm-home-hero .slide-title h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(36px, 4.1vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.03 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 18px 42px rgba(0,0,0,.36) !important;
}

.tm-home-hero .tm-hero-copy {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(255,255,255,.84) !important;
  font-size: 17px !important;
  line-height: 1.7;
  text-align: left;
}

.tm-home-hero .slide-btns {
  margin-top: 24px !important;
  text-align: left !important;
}

.tm-home-hero .slide-btns a {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--tm-orange) !important;
  box-shadow: 0 18px 44px rgba(255,148,23,.28);
}

.tm-home-hero .swiper-button-prev,
.tm-home-hero .swiper-button-next {
  width: 58px !important;
  height: 58px !important;
  border: 1px solid rgba(255,255,255,.52) !important;
  border-radius: 50%;
  background: rgba(8,12,16,.18) !important;
}

.tm-home-hero .swiper-pagination {
  display: none !important;
}

.tm-hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 8;
  width: min(1180px, calc(100% - 64px));
  transform: translateX(-50%);
  color: #fff;
}

.tm-hero-metrics-title {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 260px;
  text-align: left;
}

.tm-hero-metrics-title span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 28px;
  line-height: 1;
}

.tm-hero-metrics-title strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 31px;
  line-height: 1.12;
}

.tm-hero-metrics-title:after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 100%;
  width: 3px;
  height: 150px;
  background: linear-gradient(180deg, #fff 0 34%, var(--tm-orange) 34% 76%, transparent 76%);
}

.tm-hero-metrics-line {
  width: calc(100% - 260px);
  height: 1px;
  margin-left: 0;
  background: linear-gradient(90deg, transparent, var(--tm-orange) 14%, var(--tm-orange) 100%);
}

.tm-hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% - 260px);
  padding-top: 18px;
}

.tm-hero-metric {
  text-align: center;
}

.tm-hero-metric strong {
  display: block;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.tm-hero-metric span {
  display: block;
  margin-top: 13px;
  color: var(--tm-orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tm-intro-band .tm-stat-wrap-compact {
  display: none !important;
}

@media (max-width: 991px) {
  .tm-home-hero.wpo-hero-slider,
  .tm-home-hero.wpo-hero-slider .swiper-container,
  .tm-home-hero.wpo-hero-slider .swiper-wrapper,
  .tm-home-hero.wpo-hero-slider .swiper-slide,
  .tm-home-hero.wpo-hero-slider .slide-inner {
    min-height: 720px !important;
  }

  .tm-home-hero .slide-content {
    left: 32px !important;
    right: auto !important;
    bottom: 260px !important;
  }

  .tm-hero-metrics {
    width: calc(100% - 36px);
  }

  .tm-hero-metrics-title {
    position: static;
    width: auto;
    margin-bottom: 16px;
  }

  .tm-hero-metrics-title:after {
    display: none;
  }

  .tm-hero-metrics-line,
  .tm-hero-metrics-grid {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .tm-home-hero.wpo-hero-slider,
  .tm-home-hero.wpo-hero-slider .swiper-container,
  .tm-home-hero.wpo-hero-slider .swiper-wrapper,
  .tm-home-hero.wpo-hero-slider .swiper-slide,
  .tm-home-hero.wpo-hero-slider .slide-inner {
    min-height: 680px !important;
  }

  .tm-home-hero .slide-content {
    left: 18px !important;
    right: auto !important;
    bottom: 300px !important;
    width: calc(100% - 36px) !important;
  }

  .tm-home-hero .slide-title h2 {
    font-size: clamp(31px, 10vw, 42px) !important;
  }

  .tm-home-hero .tm-hero-copy {
    font-size: 15px !important;
  }

  .tm-home-hero .swiper-button-prev,
  .tm-home-hero .swiper-button-next {
    display: none !important;
  }

  .tm-hero-metrics {
    bottom: 24px;
  }

  .tm-hero-metrics-title span {
    font-size: 18px;
  }

  .tm-hero-metrics-title strong {
    font-size: 23px;
  }

  .tm-hero-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .tm-hero-metric strong {
    font-size: 34px;
  }

  .tm-hero-metric span {
    font-size: 11px;
  }
}

/* Corporate page polish: services, blog, inner pages */
.page-wrapper {
  background: #f4f6f8 !important;
}

.wpo-page-title {
  min-height: 310px !important;
  padding-top: 96px !important;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, .58), rgba(10, 14, 18, .9)),
    url("../images/page-title.jpg") center / cover no-repeat !important;
}

.wpo-page-title .wpo-breadcumb-wrap h2 {
  font-size: clamp(34px, 4vw, 58px) !important;
  letter-spacing: 0 !important;
}

.tm-services-page,
.wpo-blog-section,
.wpo-blog-single-section,
.wpo-service-single-area,
.wpo-project-area-s2,
.tm-reference-section {
  background:
    linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
}

.tm-service-card-link {
  display: block;
  color: inherit;
}

.tm-service-card-link:hover {
  color: inherit;
}

.tm-service-card img {
  width: calc(100% + 56px);
  height: 190px;
  margin: -32px -28px 28px;
  object-fit: cover;
  filter: saturate(1.05);
}

.tm-service-card span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #151719;
  color: var(--tm-orange);
}

.tm-service-card span i {
  margin: 0;
  background: transparent;
  width: auto;
  height: auto;
  font-size: 23px;
}

.tm-service-card b,
.tm-read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--tm-orange);
  font-weight: 800;
}

.tm-service-detail .wpo-service-single-main-img img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.tm-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.tm-detail-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f4f6f8;
  color: #303640;
  font-weight: 700;
}

.tm-detail-list i {
  color: var(--tm-orange);
  margin-top: 4px;
}

.active-service {
  color: var(--tm-orange) !important;
  font-weight: 900 !important;
}

.wpo-blog-section .row {
  row-gap: 28px;
}

.tm-blog-card,
.wpo-blog-section .wpo-blog-item {
  height: 100%;
  margin-bottom: 0;
  border: 1px solid rgba(18, 24, 30, .08);
  border-radius: 8px;
  background: #fff !important;
  box-shadow: 0 16px 44px rgba(20, 26, 32, .08);
}

.tm-blog-card .wpo-blog-img img,
.wpo-blog-section .wpo-blog-img img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover;
}

.tm-blog-card .wpo-blog-content,
.wpo-blog-section .wpo-blog-content {
  padding: 26px 24px 30px;
  background: #fff !important;
}

.tm-blog-card .wpo-blog-content h2,
.wpo-blog-section .wpo-blog-content h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.25;
}

.tm-blog-card .wpo-blog-content h2 a,
.wpo-blog-section .wpo-blog-content h2 a {
  color: #181d24 !important;
}

.tm-blog-card .wpo-blog-content p,
.wpo-blog-section .wpo-blog-content p {
  color: #66707c !important;
  line-height: 1.7;
}

.wpo-blog-single-section .wpo-blog-content,
.wpo-blog-single-section .post,
.wpo-service-single-wrap {
  border-radius: 8px;
  background: #fff !important;
}

.wpo-blog-single-section .post h2,
.wpo-blog-single-section .post h3,
.wpo-blog-single-section .post h4,
.wpo-blog-single-section .post p,
.wpo-blog-single-section .post li,
.wpo-service-single-wrap p,
.wpo-service-single-wrap li {
  color: #2d333b !important;
}

.wpo-blog-single-section .entry-media img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
}

.blog-sidebar .widget h3 {
  color: #181d24;
}

.blog-sidebar .widget a {
  color: #303640 !important;
}

.blog-sidebar .widget a:hover {
  color: var(--tm-orange) !important;
}

.wpo-site-footer-s2 {
  background: #111417 !important;
}

@media (max-width: 991px) {
  .tm-service-card img {
    height: 170px;
  }

  .tm-detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .wpo-page-title {
    min-height: 260px !important;
  }

  .tm-service-card img {
    height: 210px;
  }

  .tm-blog-card .wpo-blog-img img,
  .wpo-blog-section .wpo-blog-img img {
    height: 220px !important;
  }
}

/* Final corporate polish layer */
.tm-home-hero .slide-content {
  left: clamp(34px, 9vw, 170px) !important;
  right: auto !important;
  bottom: clamp(205px, 25vh, 285px) !important;
  text-align: left !important;
}

.tm-home-hero .slide-title h2,
.tm-home-hero .tm-hero-copy,
.tm-home-hero .slide-btns {
  text-align: left !important;
}

.tm-home-hero .tm-hero-copy {
  max-width: 560px;
}

.tm-service-grid-page .tm-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 0 30px !important;
  overflow: hidden;
}

.tm-service-grid-page .tm-service-card img {
  order: 1;
  width: 100% !important;
  height: 270px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.tm-service-grid-page .tm-service-card span {
  order: 2;
  position: static !important;
  flex: 0 0 auto;
  margin: 24px 30px 18px !important;
}

.tm-service-grid-page .tm-service-card h3,
.tm-service-grid-page .tm-service-card p,
.tm-service-grid-page .tm-service-card b {
  order: 3;
  margin-left: 30px !important;
  margin-right: 30px !important;
}

.tm-service-grid-page .tm-service-card h3 {
  margin-bottom: 14px !important;
}

.tm-service-grid-page .tm-service-card p {
  color: #5f6975 !important;
  font-size: 15px;
  line-height: 1.75;
}

.tm-service-detail .wpo-service-single-wrap {
  padding: clamp(24px, 4vw, 44px) !important;
  box-shadow: 0 18px 54px rgba(20, 26, 32, .08);
}

.tm-service-detail .wpo-service-single-main-img {
  margin-bottom: 30px;
}

.tm-service-detail .wpo-service-single-title {
  margin-top: 0;
  margin-bottom: 18px;
}

.tm-service-detail .wpo-service-single-title h3,
.tm-service-detail h3 {
  color: #101827 !important;
  line-height: 1.2;
}

.tm-service-detail .wpo-service-single-wrap p {
  max-width: 820px;
  color: #4d5966 !important;
  font-size: 16px;
  line-height: 1.85;
}

.tm-service-detail .blog-sidebar .widget {
  padding: 26px !important;
  border: 1px solid rgba(16, 24, 39, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 26, 32, .07);
}

.tm-service-detail .blog-sidebar ul li a {
  display: block;
  padding: 8px 0;
}

body .wpo-blog-section .tm-blog-card .wpo-blog-content h2,
body .wpo-blog-section .tm-blog-card .wpo-blog-content h2 a,
body .wpo-blog-section .wpo-blog-content h2,
body .wpo-blog-section .wpo-blog-content h2 a {
  color: #151b23 !important;
  -webkit-text-fill-color: #151b23 !important;
}

body .wpo-blog-section .tm-blog-card .wpo-blog-content p,
body .wpo-blog-section .wpo-blog-content p {
  color: #55616f !important;
  -webkit-text-fill-color: #55616f !important;
}

body .wpo-blog-section .tm-blog-card .wpo-blog-content,
body .wpo-blog-section .wpo-blog-content {
  background: #fff !important;
  color: #151b23 !important;
}

body .wpo-blog-single-section .wpo-blog-content,
body .wpo-blog-single-section .wpo-blog-content *,
body .wpo-blog-single-section .post,
body .wpo-blog-single-section .post * {
  color: #2d333b !important;
  -webkit-text-fill-color: #2d333b !important;
}

body .wpo-blog-single-section .post h1,
body .wpo-blog-single-section .post h2,
body .wpo-blog-single-section .post h3,
body .wpo-blog-single-section .post h4 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

body .wpo-blog-single-section .post a {
  color: var(--tm-orange) !important;
  -webkit-text-fill-color: var(--tm-orange) !important;
}

.site-header #navbar > ul > li > a,
.site-header .navigation ul > li > a {
  letter-spacing: 0 !important;
}

.wpo-site-footer-s2 p,
.wpo-site-footer-s2 li,
.wpo-site-footer-s2 a {
  color: rgba(255, 255, 255, .72) !important;
}

.wpo-site-footer-s2 h3,
.wpo-site-footer-s2 .widget-title h3 {
  color: #fff !important;
}

.wpo-site-footer-s2 a:hover {
  color: var(--tm-orange) !important;
}

@media (max-width: 991px) {
  .tm-home-hero .slide-content {
    left: 28px !important;
    bottom: 285px !important;
    width: calc(100% - 56px) !important;
  }

  .tm-service-grid-page .tm-service-card img {
    height: 230px !important;
  }
}

@media (max-width: 767px) {
  .tm-home-hero .slide-content {
    left: 18px !important;
    bottom: 315px !important;
    width: calc(100% - 36px) !important;
  }

  .tm-service-grid-page .tm-service-card span,
  .tm-service-grid-page .tm-service-card h3,
  .tm-service-grid-page .tm-service-card p,
  .tm-service-grid-page .tm-service-card b {
    margin-left: 22px !important;
    margin-right: 22px !important;
  }

  .tm-service-detail .wpo-service-single-wrap {
    padding: 20px !important;
  }
}

/* Unified references page */
.tm-projects {
  display: none !important;
}

.tm-reference-hero {
  background:
    linear-gradient(135deg, rgba(255, 148, 23, .09), transparent 34%),
    #111417;
  color: #fff;
}

.tm-reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 42px;
  align-items: end;
}

.tm-reference-hero-copy .tm-section-kicker {
  text-align: left;
}

.tm-reference-hero-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
}

.tm-reference-hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
  line-height: 1.8;
}

.tm-reference-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.tm-reference-stats div {
  padding: 24px 18px;
  text-align: center;
}

.tm-reference-stats div + div {
  border-left: 1px solid rgba(255,255,255,.12);
}

.tm-reference-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.tm-reference-stats span {
  display: block;
  margin-top: 10px;
  color: var(--tm-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-reference-projects {
  padding-top: 80px;
}

.tm-reference-project-grid,
.tm-home-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tm-reference-project-card,
.tm-home-reference-card {
  overflow: hidden;
  border: 1px solid rgba(18, 24, 30, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(20, 26, 32, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tm-reference-project-card:hover,
.tm-home-reference-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 148, 23, .32);
  box-shadow: 0 24px 64px rgba(20, 26, 32, .14);
}

.tm-reference-project-media,
.tm-home-reference-card a {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
}

.tm-reference-project-media img,
.tm-home-reference-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .35s ease;
}

.tm-reference-project-card:hover img,
.tm-home-reference-card:hover img {
  transform: scale(1.04);
}

.tm-reference-project-media > span {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  background: linear-gradient(135deg, #1b2026, #303640);
  color: var(--tm-orange);
  font-size: 72px;
  font-weight: 900;
}

.tm-reference-project-body {
  padding: 24px;
}

.tm-reference-project-body > span,
.tm-home-reference-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--tm-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tm-reference-project-body h3,
.tm-home-reference-card h3 {
  margin: 0 0 12px;
  color: #151b23;
  font-size: 21px;
  line-height: 1.28;
}

.tm-reference-project-body h3 a {
  color: #151b23;
}

.tm-reference-project-body p {
  min-height: 76px;
  color: #5f6975;
  line-height: 1.7;
}

.tm-reference-project-body small {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #303640;
  font-weight: 800;
}

.tm-reference-project-body small i {
  color: var(--tm-orange);
}

.tm-reference-brand-band {
  background: #fff !important;
}

.tm-reference-gallery-band,
.tm-home-reference-showcase {
  background:
    linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
}

.tm-brand-cloud-featured {
  margin-top: 0;
}

.tm-reference-mini-gallery {
  margin-top: 0;
}

.tm-home-reference-grid {
  margin-bottom: 34px;
}

.tm-home-reference-card a {
  min-height: 100%;
  background: #111417;
}

.tm-home-reference-card span,
.tm-home-reference-card h3 {
  position: relative;
  z-index: 2;
  margin-left: 22px;
  margin-right: 22px;
}

.tm-home-reference-card span {
  margin-top: 20px;
}

.tm-home-reference-card h3 {
  padding-bottom: 24px;
  color: #fff;
}

@media (max-width: 991px) {
  .tm-reference-hero-grid,
  .tm-reference-project-grid,
  .tm-home-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-reference-hero-grid {
    align-items: start;
  }
}

@media (max-width: 767px) {
  .tm-reference-hero-grid,
  .tm-reference-project-grid,
  .tm-home-reference-grid,
  .tm-reference-stats {
    grid-template-columns: 1fr;
  }

  .tm-reference-stats div + div {
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 0;
  }

  .tm-reference-hero-copy .tm-section-kicker {
    text-align: center;
  }

  .tm-reference-hero-copy,
  .tm-reference-hero-copy p {
    text-align: center;
  }
}
