/* ==========================================================================
   Site updates (Nov 2026): View All buttons, product hover, case studies,
   footer link grid, and inner listing pages (awards, testimonials, events, blogs)
   ========================================================================== */

/* ---------- View All buttons ---------- */
.section-view-all {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin: 1px;
  background-color: #f5f5f5;
}

.section-view-all .btn.btn-learn-more {
  min-width: 280px;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.section-view-all .btn.btn-learn-more svg {
  transition: transform 0.25s ease;
}

.section-view-all .btn.btn-learn-more:hover {
  background-color: #000;
  color: #fff;
}

.section-view-all .btn.btn-learn-more:hover svg {
  transform: translate(3px, -3px);
}

/* ---------- Our Products Section Header ---------- */
.product-main {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
}

.product-main .theme-log {
  margin: 0;
  text-align: center;
}

.product-main .theme-log img {
  max-width: 80px !important;
  margin: 0 auto !important;
  height: auto;
}

@media (max-width: 768px) {
  .product-main .theme-log img {
    max-width: 60px !important;
  }
}

@media (max-width: 480px) {
  .product-main .theme-log img {
    max-width: 46px !important;
  }
}

/* ---------- Product hover: dark at the bottom, clear by 30% height ---------- */
.parallax-item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.parallax-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 15%,
    rgba(0, 0, 0, 0) 30%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-hover-name {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

.parallax-item a:hover::after,
.parallax-item a:focus-visible::after,
.parallax-item a:hover .product-hover-name,
.parallax-item a:focus-visible .product-hover-name {
  opacity: 1;
}

.parallax-item a:hover .product-hover-name,
.parallax-item a:focus-visible .product-hover-name {
  transform: translateY(0);
}

/* Touch screens have no hover, so always show the name there */
@media (hover: none) {
  .parallax-item a::after,
  .product-hover-name {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Case study cards ---------- */
.case-study-category {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #f79620;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- Footer link grid ---------- */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Cover the fixed background guide lines (.rr-v-lines) so only the
     column borders show; 1px side margins keep the outer guide lines visible. */
  position: relative;
  z-index: 1;
  margin: 0 1px;
  background-color: #f5f5f5;
}

.footer-col {
  padding: 40px 24px;
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

.footer-col:first-child {
  border-left: none;
}

.footer-col h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-box .footer-col a {
  padding: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.5;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-box .footer-col a:hover {
  color: #f79620;
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-box .footer-legal a {
  padding: 0;
  color: #111;
  font-size: 14px;
}

.footer-box .footer-legal a:hover {
  color: #f79620;
}

@media (max-width: 1023px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col:nth-child(3) {
    border-left: none;
  }

  .footer-col:nth-child(n + 3) {
    border-top: 1px solid rgba(17, 17, 17, 0.15);
  }
}

@media (max-width: 575px) {
  .footer-col {
    padding: 24px 16px;
  }

  .footer-col h4 {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .footer-box .footer-col a,
  .footer-contact-item {
    font-size: 14px;
  }
}

/* ---------- Inner listing pages ---------- */
.listing-hero {
  padding: 60px 24px 40px;
}

.listing-hero .small-title {
  display: block;
  color: #f79620;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.listing-hero h1 {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  font-size: clamp(36px, 6vw, 96px);
  line-height: 1.1;
}

.listing-hero p {
  max-width: 720px;
  margin-top: 16px;
  font-size: 18px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 24px 80px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  color: #111;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

a.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  color: #111;
}

.listing-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f2f2;
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.listing-card-meta {
  font-size: 13px;
  color: #f79620;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.listing-card-body h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.listing-card-body p {
  font-size: 16px;
  margin: 0;
}

.listing-card .testimonials-profile {
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 1023px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .listing-grid {
    grid-template-columns: 1fr;
    padding: 24px 16px 60px;
  }
}

/* "Case Studies" is longer than the old "Projects" title, so size it to fit */
.section-project .project-main .section-title h2 {
  font-size: clamp(32px, 6.2vw, 120px);
  white-space: nowrap;
}

.listing-grid--logos .listing-card-img {
  aspect-ratio: 16 / 7;
  background: #fff;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.listing-grid--logos .listing-card-img img {
  object-fit: contain;
}

/* ---------- Case Studies listing page ---------- */
.case-study-title .case-study-category {
  margin-bottom: 6px;
}

.case-study-summary {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}

.case-study-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.case-study-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition:
    color 0.25s ease,
    gap 0.25s ease;
}

.block-link:hover .case-study-read {
  color: #f79620;
  gap: 12px;
}

/* Sits above the full-card overlay link so it stays clickable */
a.case-study-visit {
  position: relative;
  z-index: 3;
  padding: 8px 18px;
  border: 1px solid #f79620;
  border-radius: 30px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

a.case-study-visit:hover {
  background-color: #f79620;
  color: #fff;
}

/* ==========================================================================
   About Us page
   ========================================================================== */

.about-desc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Six stats ---------- */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
  /* Solid bg covers the page background guide lines; only the stat borders show */
  position: relative;
  z-index: 1;
  background-color: #f5f5f5;
}

.about-stat {
  padding: 40px 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  transition: background-color 0.3s ease;
}

.about-stat:hover {
  background-color: rgba(247, 150, 32, 0.08);
}

.about-stat h3 {
  font-size: clamp(36px, 3.4vw, 60px);
  line-height: 1.1;
  margin-bottom: 10px;
  color: #000;
}

.about-stat span {
  display: block;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ---------- Team photo ---------- */
.section-team-photo .image-container img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

/* ---------- Awards ---------- */
.about-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

.about-award {
  padding: 40px 28px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  transition: background-color 0.3s ease;
}

.about-award:hover {
  background-color: #111;
  color: #fff;
}

.about-award-year {
  display: inline-block;
  font-size: 14px;
  color: #000;
  background: #f79620;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.about-award h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: inherit;
}

.about-award p {
  font-size: 15px;
  margin: 0;
  opacity: 0.8;
}

/* ---------- Founders ---------- */
.founders-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-left: 1px solid rgba(17, 17, 17, 0.15);
  border-right: 1px solid rgba(17, 17, 17, 0.15);
}

.founders-message {
  position: relative;
}

.founders-quote-mark {
  display: block;
  font-size: 120px;
  line-height: 0.8;
  color: #f79620;
}

.founders-lead {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 20px;
}

.founders-message p:not(.founders-lead) {
  font-size: 17px;
  line-height: 1.7;
}

.founders-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 24px;
  border-left: 1px solid rgba(17, 17, 17, 0.15);
  align-content: center;
}

/* ---------- Team grid + person cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding: 40px 24px 20px;
}

.person-card {
  display: flex;
  flex-direction: column;
}

.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(135deg, #f79620 0%, #2a1a08 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Black & white by default, colour on hover */
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 15px;
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.person-initials {
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  transition: transform 0.6s ease;
}

.person-card:hover .person-photo {
  filter: grayscale(0);
}

.person-card:hover .person-photo img,
.person-card:hover .person-initials {
  transform: scale(1.06);
}

.person-card:hover .person-photo::after {
  border-color: #f79620;
}

.person-info {
  padding-top: 16px;
}

.person-info h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.person-role {
  display: block;
  font-size: 13px;
  color: #f79620;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.person-info p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #555;
}

@media (hover: none) {
  .person-photo {
    filter: grayscale(0);
  }
}

@media (max-width: 1215px) {
  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-stat:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  }

  .about-awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1023px) {
  .founders-wrap {
    grid-template-columns: 1fr;
  }

  .founders-people {
    border-left: none;
    border-top: 1px solid rgba(17, 17, 17, 0.15);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-desc-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  }

  .about-awards-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 16px;
  }

  .founders-people {
    gap: 16px;
    padding: 24px 16px;
  }
}

/* ---------- Our Journey timeline ---------- */
.journey-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
  /* Solid bg covers the page background guide lines; only the step borders show */
  z-index: 1;
  background-color: #f5f5f5;
}

/* Horizontal line running through the dots */
.journey-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  height: 2px;
  background: linear-gradient(to right, #f79620, rgba(247, 150, 32, 0.15));
}

.journey-step {
  position: relative;
  padding: 40px 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  transition: background-color 0.3s ease;
}

.journey-step:hover {
  background-color: rgba(247, 150, 32, 0.08);
}

.journey-year {
  display: block;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 600;
  line-height: 1;
  color: #000;
  height: 52px;
}

.journey-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px 0 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #f79620;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.journey-step:hover .journey-dot {
  background: #f79620;
  transform: scale(1.25);
}

.journey-step h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.journey-step p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* ---------- Life at Midnight gallery ---------- */
.culture-intro {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  padding: 32px 24px 0;
  margin: 0;
}

.culture-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
  padding: 32px 24px 20px;
}

.culture-item {
  position: relative;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  background: #eee;
}

/* Mosaic: two large tiles, the rest fill around them */
.culture-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.culture-item-3 {
  grid-row: span 2;
}

.culture-item-5,
.culture-item-6 {
  grid-column: span 2;
}

.culture-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.culture-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.culture-item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.culture-item:hover img {
  transform: scale(1.05);
}

.culture-item:hover::after,
.culture-item:hover figcaption {
  opacity: 1;
}

.culture-item:hover figcaption {
  transform: translateY(0);
}

@media (hover: none) {
  .culture-item::after,
  .culture-item figcaption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1215px) {
  .journey-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-timeline::before {
    display: none;
  }

  .journey-step:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  }
}

@media (max-width: 1023px) {
  .culture-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .culture-item-3 {
    grid-row: span 1;
  }
}

@media (max-width: 575px) {
  .journey-timeline {
    grid-template-columns: 1fr;
  }

  .journey-step {
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
    padding: 28px 20px;
  }

  .journey-year {
    height: auto;
    margin-bottom: 12px;
  }

  .journey-dot {
    display: none;
  }

  .culture-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 16px;
    padding: 24px 16px;
  }

  .culture-item-1,
  .culture-item-5,
  .culture-item-6 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---------- Proud Member Of ---------- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.membership-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  color: #111;
  transition: background-color 0.3s ease;
}

a.membership-card:hover,
div.membership-card:hover {
  background-color: rgba(247, 150, 32, 0.08);
  color: #111;
}

.membership-logo {
  height: 90px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.membership-logo img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.membership-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 90px;
  padding: 0 18px;
  border-radius: 12px;
  border: 2px solid #f79620;
  color: #f79620;
  font-size: 26px;
  font-weight: 700;
}

.membership-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 6px;
}

.membership-card h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.membership-location {
  font-size: 14px;
  color: #f79620;
  font-weight: 600;
}

/* ---------- Trusted By (two logo rows scrolling in opposite directions) ---------- */
.trusted-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 60px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.trusted-row {
  overflow: hidden;
}

.trusted-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: trusted-scroll 60s linear infinite;
}

.trusted-row-reverse .trusted-track {
  animation-direction: reverse;
}

.trusted-marquee:hover .trusted-track {
  animation-play-state: paused;
}

.trusted-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
}

.trusted-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.trusted-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes trusted-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* The list is rendered twice, so moving by half loops seamlessly */
    transform: translateX(calc(-50% - 10px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .trusted-logo[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 1215px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .membership-card {
    padding: 20px 14px;
  }

  .membership-logo,
  .membership-logo img {
    height: 56px;
    max-height: 56px;
    margin-bottom: 16px;
  }

  .membership-badge {
    min-width: 56px;
    height: 56px;
    font-size: 18px;
    padding: 0 10px;
  }

  .membership-label {
    font-size: 10px;
  }

  .membership-card h4 {
    font-size: 14px;
  }

  .trusted-logo {
    width: 150px;
    height: 84px;
    padding: 12px 16px;
  }
}

/* ---------- How Midnight Began: heading + filled column ---------- */
.about-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.about-story-heading {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(22px, 3vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-story-heading .text-roll {
  display: block;
  width: fit-content;
}

/* Hovering the heading rolls every line, like the other site titles */
.roll-lines:hover .text-roll .tr-top .char {
  transform: translateY(-100%);
}

.roll-lines:hover .text-roll .tr-bottom .char {
  transform: translateY(0%);
}

.about-desc p {
  font-size: 17px;
  line-height: 1.7;
}

.about-story-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}

.about-story-sign img {
  width: 72px;
  height: auto;
}

/* ---------- View All buttons: text + arrow only, code-type hover ---------- */
.section-view-all .btn.btn-learn-more {
  min-width: 0;
  background: none;
  border: none;
  gap: 12px;
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.section-view-all .btn.btn-learn-more:hover,
.section-view-all .btn.btn-learn-more:focus-visible {
  background: none;
  color: #f79620;
}

.section-view-all .btn.btn-learn-more svg {
  color: #f79620;
}

.code-hover-text {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- Award photos ---------- */
.about-award-img {
  aspect-ratio: 16 / 10;
  margin: -40px -28px 24px;
  overflow: hidden;
  background: #111;
}

.about-award-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-award:hover .about-award-img img {
  transform: scale(1.05);
}

/* Let the office photo fill the full height of the story row */
.about-desc-img,
.about-desc-img picture {
  display: block;
  height: 100%;
}

/* ==========================================================================
   Enquiry modal (site-wide)
   ========================================================================== */
html.enquiry-open,
html.enquiry-open body {
  overflow: hidden;
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 100000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.enquiry-modal[hidden] {
  display: none;
}

.enquiry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  animation: enquiry-fade 0.25s ease;
}

.enquiry-modal-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 44px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: enquiry-rise 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.enquiry-modal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #f79620;
  border-radius: 18px 18px 0 0;
}

.enquiry-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.enquiry-modal-close:hover {
  background: #f79620;
  transform: rotate(90deg);
}

.enquiry-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 8px;
  padding-right: 40px;
}

.enquiry-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}

.enquiry-sub {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.enquiry-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  color: #111;
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.enquiry-field input:focus {
  outline: none;
  border-color: #f79620;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(247, 150, 32, 0.2);
}

.enquiry-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}

.enquiry-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #f79620;
}

.enquiry-consent a {
  color: #111;
  text-decoration: underline;
}

.enquiry-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.enquiry-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdecea;
  color: #b3261e;
  font-size: 14px;
}

.enquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: 10px;
  background: #f79620;
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.enquiry-submit:hover {
  background: #111;
  color: #fff;
}

.enquiry-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.enquiry-success {
  text-align: center;
  padding: 20px 0 4px;
}

@keyframes enquiry-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes enquiry-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575px) {
  .enquiry-modal {
    padding: 0;
    align-items: flex-end;
  }

  .enquiry-modal-panel {
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 36px 20px 24px;
  }

  .enquiry-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA banner ---------- */
.section-cta-banner {
  padding: 0;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 40px;
  padding: 64px 48px;
  background: #0d0d0d;
  color: #fff;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 150, 32, 0.45),
    rgba(247, 150, 32, 0) 70%
  );
  pointer-events: none;
}

.cta-banner-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 12px;
}

.cta-banner-heading {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(26px, 3.2vw, 52px);
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0;
}

.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.cta-primary {
  color: #f79620;
  border-bottom: 2px solid #f79620;
}

.cta-secondary {
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-primary:hover {
  color: #fff;
}

.cta-secondary:hover {
  color: #f79620;
}

/* ---------- More case studies / products on detail pages ---------- */
.more-head {
  padding: 40px 24px 28px;
}

.more-head h2 {
  font-size: clamp(28px, 4vw, 64px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 8px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 32px 24px 48px;
}

.more-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: #111;
}

.more-card:hover {
  color: #111;
}

.more-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.more-card-img {
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  margin-bottom: 14px;
}

.more-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.more-card:hover .more-card-img img {
  transform: scale(1.06);
}

.more-card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 4px;
}

.more-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.more-card:hover h3 {
  color: #f79620;
}

.more-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 6px 0 0;
}

.more-card-demo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 0;
  background: none;
  border: none;
  border-bottom: 2px solid #f79620;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  cursor: pointer;
}

.more-card-demo:hover {
  color: #f79620;
}

@media (max-width: 1215px) {
  .more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 48px 28px;
  }

  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cta-banner {
    padding: 40px 20px;
  }

  .more-grid {
    gap: 20px 14px;
    padding: 24px 16px 40px;
  }

  .more-card h3 {
    font-size: 14px;
  }

  .more-card p {
    display: none;
  }
}

button.case-study-visit {
  position: relative;
  z-index: 3;
  background: none;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 18px;
  border: 1px solid #f79620;
  border-radius: 30px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

button.case-study-visit:hover {
  background-color: #f79620;
  color: #fff;
}

/* ---------- Services: subscribe CTA after each service ---------- */
.svc-cta {
  margin-top: 28px;
}

.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  background: none;
  border: none;
  border-bottom: 2px solid #f79620;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  transition: color 0.25s ease;
}

.svc-cta-btn svg {
  color: #f79620;
}

.svc-cta-btn:hover {
  color: #f79620;
}

/* ==========================================================================
   Blog post
   ========================================================================== */
.blog-post-hero {
  max-width: 980px;
  padding: 56px 24px 36px;
}

.blog-breadcrumb {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
}

.blog-breadcrumb a {
  color: #111;
}

.blog-breadcrumb a:hover {
  color: #f79620;
}

.blog-post-meta {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 14px;
}

.blog-post-hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.blog-post-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.blog-post-cover {
  margin: 0 24px 40px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #eee;
}

.blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 760px);
  gap: 64px;
  padding: 48px 24px 72px;
}

.blog-post-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}

.blog-toc-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}

.blog-post-toc ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-left: 2px solid rgba(17, 17, 17, 0.1);
}

.blog-post-toc li a {
  display: block;
  padding: 6px 0 6px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  transition: color 0.2s ease;
}

.blog-post-toc li a:hover {
  color: #f79620;
}

.blog-toc-cta {
  background: none;
  border: none;
  border-bottom: 2px solid #f79620;
  padding: 4px 0;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-toc-cta:hover {
  color: #f79620;
}

.blog-post-body {
  font-size: 18px;
  line-height: 1.8;
  color: #222;
}

.blog-post-body h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  margin: 44px 0 16px;
  scroll-margin-top: 120px;
}

.blog-post-body h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.blog-post-body p {
  margin: 0 0 20px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.blog-post-body li {
  margin-bottom: 8px;
}

.blog-post-body li::marker {
  color: #f79620;
}

.blog-post-body a {
  color: #f79620;
  text-decoration: underline;
}

.blog-post-body blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid #f79620;
  font-size: 20px;
  font-style: italic;
}

.blog-post-body img {
  max-width: 100%;
  border-radius: 12px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.blog-tags li {
  padding: 6px 14px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 20px;
  font-size: 13px;
  margin: 0;
}

.more-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1023px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-post-toc {
    position: static;
  }

  .more-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .blog-post-hero {
    padding: 36px 16px 24px;
  }

  .blog-post-cover {
    margin: 0 16px 24px;
    aspect-ratio: 16 / 10;
  }

  .blog-post-layout {
    padding: 32px 16px 48px;
  }

  .blog-post-body {
    font-size: 17px;
  }
}

/* ==========================================================================
   Services (listing cards + detail pages)
   ========================================================================== */
.svc-card-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f79620;
  margin-bottom: 12px;
}

.svc-trending {
  padding: 3px 10px;
  border-radius: 20px;
  background: #f79620;
  color: #000;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.svc-card-title a {
  color: inherit;
  transition: color 0.25s ease;
}

.svc-card-title a:hover {
  color: #f79620;
}

.svc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
}

.svc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
  border-bottom: 2px solid rgba(17, 17, 17, 0.25);
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.svc-cta-link:hover {
  color: #f79620;
  border-color: #f79620;
}

/* All services index */
.services-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

.services-index-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  color: #111;
  transition: background-color 0.25s ease;
}

.services-index-item:hover {
  background: rgba(247, 150, 32, 0.08);
  color: #111;
}

.services-index-item h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.services-index-item:hover h3 {
  color: #f79620;
}

.services-index-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* Detail page */
.svc-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 24px;
}

.svc-detail-hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(30px, 4.2vw, 68px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.svc-detail-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: #444;
  margin-bottom: 28px;
}

.svc-detail-hero-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.svc-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-detail-two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 48px 24px;
}

.svc-detail-two-col > h2 {
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.2;
  text-transform: uppercase;
}

.svc-detail-text p {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.svc-detail-text a {
  color: #f79620;
  text-decoration: underline;
}

.svc-chip-list,
.svc-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-chip-list li {
  padding: 10px 18px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.svc-chip-list li:hover {
  border-color: #f79620;
  background: rgba(247, 150, 32, 0.08);
}

.svc-tech-list li {
  padding: 8px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
}

.svc-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  margin: 0 0 24px;
}

.svc-benefit {
  padding: 32px 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.svc-benefit-num {
  display: block;
  font-size: 32px;
  color: #f79620;
  margin-bottom: 16px;
}

.svc-benefit h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.svc-benefit p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.svc-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.svc-faq {
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.svc-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.svc-faq summary::-webkit-details-marker {
  display: none;
}

.svc-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  color: #f79620;
  transition: transform 0.25s ease;
}

.svc-faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.svc-faq p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 22px;
  max-width: 820px;
}

@media (max-width: 1215px) {
  .svc-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  .svc-detail-hero-grid,
  .svc-detail-two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .svc-detail-hero-grid,
  .svc-detail-two-col {
    padding: 32px 16px;
  }

  .services-index-grid,
  .svc-benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* Home: Industries We Serve tab links */
.serve-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f79620;
  border-bottom: 2px solid #f79620;
  padding-bottom: 2px;
}

.serve-link:hover {
  color: #111;
}

/* Blog tables */
.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 16px;
}

.blog-post-body th,
.blog-post-body td {
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  text-align: left;
}

.blog-post-body th {
  background: #111;
  color: #fff;
  font-weight: 600;
}

.blog-post-body tr:nth-child(even) td {
  background: #fafafa;
}

/* Detail pages: services used / related links strip */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 28px 24px;
}

.related-links-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-right: 6px;
}

.related-links a {
  padding: 8px 16px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.related-links a:hover {
  border-color: #f79620;
  color: #f79620;
}
.legal-layout {
  grid-template-columns: 0 minmax(0, 860px);
  gap: 0;
}

/* ==========================================================================
   Home v2: hero, services tabs, product grid
   ========================================================================== */
.hero-v2 {
  min-height: 420px;
}

.hero-video-box {
  overflow: hidden;
}

.hero-video-box .theme-icon video {
  object-fit: cover;
  /* Keep the hero video from shrinking on smaller screens; extra width is cropped */
  display: block;
  width: 100%;
  min-height: 280px;
}

/* Desktop / laptop: the video fills the whole left column height, so it never
   shrinks and leaves an empty gap under it while the other columns stay tall */
@media (min-width: 1025px) {
  .hero-video-box {
    display: flex;
    flex-direction: column;
  }

  .hero-video-box .theme-icon {
    position: relative;
    flex: 1 1 auto;
    min-height: 280px;
  }

  .hero-video-box .theme-icon video {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
  }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f79620;
  box-shadow: 0 0 0 0 rgba(247, 150, 32, 0.7);
  animation: hero-pulse 1.8s infinite;
}

@keyframes hero-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 150, 32, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(247, 150, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 150, 32, 0);
  }
}

.hero-tags {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.hero-tags li {
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.hero-stat-box .experience-title span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-box .years {
  font-size: clamp(64px, 8vw, 180px);
  line-height: 0.9;
  font-weight: 400;
}

.hero-desc-box {
  gap: 28px;
}

.hero-desc {
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 500;
  color: #111;
  min-height: 4.4em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions .btn.btn-learn-more {
  width: 100%;
  cursor: pointer;
  font-weight: 600;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  border-bottom: 2px solid #f79620;
  padding-bottom: 4px;
}

.hero-secondary:hover {
  color: #f79620;
}

/* Services tabs */
.home-services .serve-name {
  display: grid;
  align-items: stretch;
  height: 100%;
}

.home-services .serve-num {
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.home-services .tab-details,
.home-services .tab-list-block,
.home-services .tab-list,
.home-services .tab-list .tab {
  height: 100%;
  display: flex;
  flex: 1;
  width: 100%;
}

.home-services .tab-list .tab a {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.3;
  padding: 12px 14px;
  box-sizing: border-box;
}

.home-services .tab-list .tab.is-active a {
  background: #f79620;
  border-color: #f79620;
  color: #000;
}

.home-services .content-tab[hidden] {
  display: none !important;
}

.home-services .content-tab {
  display: block;
  height: 100%;
}

.home-svc-panel {
  position: sticky;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}

.home-svc-panel h4 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.home-svc-panel p {
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}

.home-svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-svc-chips li {
  padding: 6px 12px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 30px;
  font-size: 13px;
  background: #fff;
}

.home-svc-panel .serve-link {
  align-self: flex-start;
  margin-top: auto;
}

/* Products: each product once, staggered columns */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  padding: 1vw 1vw 80px;
}

.home-product-col-2,
.home-product-col-4 {
  transform: translateY(60px);
}

/* Per-product image fixes: screenshot/tall images need contain so they don't over-zoom */
.product-slug-circle-ledger img,
.product-slug-seo-platform img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #f4f6fa;
}

.product-slug-pill-iq img {
  object-fit: cover !important;
  object-position: center top !important;
}

.product-hover-name small {
  display: block;
  margin-top: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

@media (max-width: 1023px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 60px;
  }

  .home-product-col-3 {
    transform: none;
  }

  .home-product-col-2,
  .home-product-col-4 {
    transform: translateY(40px);
  }

  .hero-stat-box .years {
    font-size: clamp(56px, 12vw, 120px);
  }
}

@media (max-width: 575px) {
  .hero-tags li {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ---------- Case Studies & Products listing grid: 4 / 3 / 2 / 1 columns ---------- */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(17, 17, 17, 0.15);
}

.cs-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.cs-card .case-study-img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.cs-card .case-study-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-card-title {
  font-family: "Orbitron", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  margin: 4px 0 0;
  text-transform: none;
}

.cs-card .case-study-summary {
  font-size: var(--fs-small);
  margin-top: 10px;
  flex: 1;
}

.cs-card .case-study-actions {
  margin-top: 16px;
}

@media (max-width: 1407px) {
  .cs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }

  .cs-card {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   Typography standard (applies site-wide; edit the tokens to retune everything)
   H1 = page title · H2 = section title · H3 = card / item title
   Eyebrow = small section label · Lead = intro text · Body = descriptions
   ========================================================================== */
:root {
  --fs-h1: clamp(36px, 5.6vw, 92px);
  --fs-h2: clamp(28px, 3.8vw, 60px);
  --fs-h3: clamp(18px, 1.5vw, 22px);
  --fs-eyebrow: clamp(14px, 1.1vw, 18px);
  --fs-lead: clamp(18px, 1.5vw, 24px);
  --fs-body: 17px;
  --fs-small: 15px;
  --lh-heading: 1.15;
  --lh-body: 1.65;
}

@media (max-width: 575px) {
  :root {
    --fs-body: 16px;
    --fs-small: 14px;
  }
}

/* H1: page titles */
.banner-title h1,
.listing-hero h1,
.svc-detail-hero h1,
.blog-post-hero h1 {
  font-size: var(--fs-h1) !important;
  line-height: var(--lh-heading) !important;
}

/* H2: section titles */
.section-title h2,
.more-head h2,
.svc-detail-two-col > h2,
.cta-banner-heading,
.about-story-heading,
.svc-card-title,
.vm-title,
.believe-header h2,
.contact-us-title .section-title h2,
.project-main .section-title h2,
.section-project .project-main .section-title h2 {
  font-size: var(--fs-h2) !important;
  line-height: var(--lh-heading) !important;
}

/* Eyebrow labels that sit beside section titles */
.section-head h3,
.testimonial-title h3,
.section-title h3,
.small-title,
.svc-card-group,
.more-card-meta,
.case-study-category,
.listing-card-meta,
.blog-post-meta {
  font-size: var(--fs-eyebrow) !important;
}

.more-card-meta,
.case-study-category,
.listing-card-meta,
.svc-card-group,
.blog-post-meta {
  font-size: 13px !important;
}

/* H3: card and item titles */
.more-card h3,
.services-index-item h3,
.svc-benefit h3,
.about-award h4,
.person-info h4,
.journey-step h4,
.membership-card h4,
.listing-card-body h3,
.cs-card-title,
.home-svc-panel h4,
.case-study-title h6,
.content-tab h4,
.believe-acc-title {
  font-size: var(--fs-h3) !important;
  line-height: 1.3 !important;
}

/* Lead / intro text */
.svc-detail-lead,
.blog-post-lead,
.listing-hero p,
.culture-intro,
.founders-lead,
.case-study-desc h5,
.contact-desc h5 {
  font-size: var(--fs-lead) !important;
  line-height: 1.5 !important;
}

/* Body / description text */
.svc-card-desc,
.svc-detail-text p,
.case-study-summary,
.listing-card-body p,
.about-desc p,
.about-award p,
.svc-benefit p,
.person-info p,
.journey-step p,
.home-svc-panel p,
.cta-banner p,
.testimonials-desc p,
.believe-acc-content p,
.vm-desc,
.blog-post-body,
.svc-faq p,
.founders-message p:not(.founders-lead) {
  font-size: var(--fs-body) !important;
  line-height: var(--lh-body) !important;
}

/* Small text */
.more-card p,
.services-index-item p,
.case-study-visit,
.footer-box .footer-col a,
.footer-contact-item {
  font-size: var(--fs-small) !important;
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 16px;
  border-top: 4px solid #f79620;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: enquiry-rise 0.35s ease;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner a {
  color: #f79620;
  text-decoration: underline;
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cookie-btn-primary {
  background: #f79620;
  border: 1px solid #f79620;
  color: #000;
}

.cookie-btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

.cookie-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: inherit;
}

.cookie-btn-ghost:hover {
  border-color: #f79620;
  color: #f79620;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 99999995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cookie-modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  background: #fff;
  color: #111;
  border-radius: 16px;
}

.cookie-modal-panel h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.cookie-modal-panel > p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.cookie-option span {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.cookie-option input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #f79620;
}

.cookie-modal-actions {
  margin-top: 20px;
  justify-content: flex-end;
}

.cookie-modal-actions .cookie-btn-ghost {
  border-color: rgba(17, 17, 17, 0.25);
}

/* Legal page tables */
.blog-post-body table td:first-child {
  white-space: nowrap;
  font-family: monospace;
  font-size: 14px;
}

@media (max-width: 767px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner-actions .cookie-btn-primary {
    grid-column: 1 / -1;
    order: -1;
  }

  .blog-post-body table {
    display: block;
    overflow-x: auto;
  }
}

.cs-card .case-study-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cs-card .case-study-img img {
  height: 100% !important;
  max-height: none;
}

@media (max-width: 767px) {
  .home-services,
  .home-services .serve-ul,
  .home-services .serve-li,
  .home-services .serve-name,
  .home-services .tab-details,
  .home-services .tab-list-block {
    min-width: 0;
    max-width: 100%;
  }

  .home-services .tab-list .tab a {
    font-size: 12px;
    white-space: normal;
    word-break: break-word;
    padding: 14px 12px;
  }
}

/* Tablet & mobile: keep each service as 2 columns ({ 01 } | name) instead of stacking */
@media (max-width: 1024px) {
  .home-services .serve-name {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .home-services .serve-num {
    border-right: 1px solid rgba(17, 17, 17, 0.15);
  }
}

/* Mobile: keep the active service panel (title, chips, Explore link) inside the screen */
@media (max-width: 767px) {
  .home-services .serve-content {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .home-services .serve-content > *,
  .home-services .content-tab,
  .home-svc-panel {
    min-width: 0;
    max-width: 100%;
  }

  .home-svc-panel h4 {
    overflow-wrap: anywhere;
  }

  .home-svc-panel .serve-link {
    max-width: 100%;
  }

  .home-svc-panel .serve-link .code-hover-text {
    white-space: normal;
    overflow-wrap: anywhere;
    /* hover script sets an inline min-width at load */
    min-width: 0 !important;
  }

  .home-svc-panel .serve-link svg {
    flex-shrink: 0;
  }

  .home-svc-chips li {
    max-width: 100%;
    white-space: normal;
  }
}

/* ==========================================================================
   Sticky actions: round Enquire (left, orange) + WhatsApp (right, green)
   ========================================================================== */
.sticky-enquire,
.sticky-whatsapp {
  position: fixed;
  bottom: 24px;
  z-index: 9999990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sticky-enquire {
  left: 24px;
  background: #f79620;
  color: #000;
  box-shadow: 0 10px 30px rgba(247, 150, 32, 0.45);
}

.sticky-whatsapp {
  right: 24px;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.sticky-enquire::before,
.sticky-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: sticky-ring 2s infinite;
}

.sticky-enquire::before {
  border-color: #f79620;
}

.sticky-whatsapp::before {
  border-color: #25d366;
}

@keyframes sticky-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.sticky-enquire:hover,
.sticky-whatsapp:hover {
  transform: translateY(-3px);
}

.sticky-whatsapp:hover {
  color: #fff;
}

/* Small label that appears on hover / keyboard focus */
.sticky-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  padding: 6px 12px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.sticky-enquire .sticky-tip {
  left: 0;
}

.sticky-whatsapp .sticky-tip {
  right: 0;
}

.sticky-enquire:hover .sticky-tip,
.sticky-enquire:focus-visible .sticky-tip,
.sticky-whatsapp:hover .sticky-tip,
.sticky-whatsapp:focus-visible .sticky-tip {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .sticky-enquire,
  .sticky-whatsapp {
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .sticky-enquire {
    left: 14px;
  }

  .sticky-whatsapp {
    right: 14px;
  }

  .section-footer {
    padding-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-enquire::before,
  .sticky-whatsapp::before {
    animation: none;
  }
}

/* ---------- Review platform links ---------- */
.review-links {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 16px;
  background: #fff;
}

.review-links-copy h3 {
  font-family: "Orbitron", sans-serif;
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin: 6px 0 8px;
}

.review-links-copy p {
  font-size: var(--fs-small);
  color: #555;
  margin: 0;
}

.review-links-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 12px;
  color: #111;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.review-link:hover {
  color: #111;
  border-color: #f79620;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.review-link-icon {
  flex: 0 0 auto;
  display: inline-flex;
}

.review-link strong {
  display: block;
  font-size: 15px;
}

.review-link small {
  display: block;
  font-size: 12px;
  color: #666;
}

.review-link-missing {
  opacity: 0.55;
  border-style: dashed;
}

@media (max-width: 1023px) {
  .review-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .review-links {
    padding: 20px;
  }
  .review-links {
    gap: 20px;
  }
  .review-link {
    padding: 12px 10px;
  }
  .section-view-all {
    background: unset;
  }
  .review-links-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Careers ---------- */
.careers-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}

.careers-hero .svc-cta {
  margin-top: 28px;
}

.careers-hero-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-right: 24px;
}

.careers-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

button.svc-cta-link {
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.careers-perks {
  grid-template-columns: repeat(3, 1fr);
}

.careers-note {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: var(--fs-body);
  color: #555;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 24px 48px;
}

.career-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.career-card:hover {
  border-color: #f79620;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.career-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: var(--fs-h3);
  line-height: 1.3;
}

.career-card p {
  font-size: var(--fs-small);
  color: #555;
  margin: 0;
  flex: 1;
}

.career-card .more-card-demo {
  margin-top: 4px;
}

.careers-steps {
  grid-template-columns: repeat(5, 1fr);
}

.careers-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
  padding: 24px 24px 20px;
}

@media (max-width: 1215px) {
  .careers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .careers-hero {
    grid-template-columns: 1fr;
  }

  .careers-hero-img {
    margin: 0 24px;
  }

  .careers-grid,
  .careers-perks,
  .careers-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .careers-grid,
  .careers-perks,
  .careers-photos {
    grid-template-columns: 1fr;
  }

  .careers-grid {
    padding: 24px 16px 40px;
  }

  .careers-hero-img {
    margin: 0 16px;
  }
}

.review-links {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  box-sizing: border-box;
  max-width: 100%;
}

.review-links-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-link,
.review-link > span:last-child {
  min-width: 0;
}

@media (max-width: 1023px) {
  .review-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .review-links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    justify-content: center;
  }
  .footer-legal {
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 575px) {
  .review-links-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Heading standard v2: same font, weight and size per level on every page
   ========================================================================== */
:root {
  --fw-heading: 600;
  --fw-label: 500;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif !important;
}

/* H1: page titles */
h1 {
  font-size: var(--fs-h1) !important;
  font-weight: var(--fw-heading) !important;
  line-height: var(--lh-heading) !important;
}

/* H2: section titles (article sub-headings and card titles have their own size below) */
h2:not(.blog-post-body h2):not(.cs-card-title) {
  font-size: var(--fs-h2) !important;
  font-weight: var(--fw-heading) !important;
  line-height: var(--lh-heading) !important;
}

/* H3 / H4: card and item titles */
h3:not(.marquee h3):not(.about-marquee-content h3):not(.about-stat h3):not(
    .stat-item h3
  ):not(.section-head h3):not(.testimonial-title h3):not(.section-title h3):not(
    .contact-us-title h3
  ):not(.enquiry-title):not(.cookie-modal-panel h3),
h4,
.cs-card-title {
  font-size: var(--fs-h3) !important;
  font-weight: var(--fw-heading) !important;
  line-height: 1.3 !important;
}

/* Article sub-headings inside blog posts and legal pages */
.blog-post-body h2 {
  font-size: clamp(22px, 2vw, 30px) !important;
  font-weight: var(--fw-heading) !important;
  line-height: 1.3 !important;
}

/* Small labels beside section titles */
.section-head h3,
.testimonial-title h3,
.section-title h3,
.contact-us-title h3 {
  font-size: var(--fs-eyebrow) !important;
  font-weight: var(--fw-label) !important;
}

/* Stats numbers keep their display size but share the heading weight */
.about-stat h3,
.stat-item h3 {
  font-weight: var(--fw-heading) !important;
}

/* ---------- Home hero: steady layout while the text rotates ---------- */
/* Same column proportions as the theme, but columns can't grow with their text */
@media (min-width: 1025px) {
  .hero-v2 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .product-hover-name {
    font-size: 12px !important;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .product-hover-name small {
    font-size: 10px !important;
    margin-top: 2px;
  }
}

.hero-v2 > * {
  min-width: 0;
}

.hero-stat-box .experience-title {
  min-height: 3.2em;
}

.hero-stat-box .experience-title span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.hero-stat-box .years {
  font-size: clamp(20px, 4.6vw, 96px) !important;
  line-height: 1 !important;
  white-space: nowrap;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.hero-desc {
  font-size: clamp(16px, 1.25vw, 20px) !important;
  min-height: 6.2em;
}

/* Text-style primary action (no orange block) */
.hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 0 0 4px;
  background: none;
  border: none;
  border-bottom: 2px solid #f79620;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f79620;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.hero-primary:hover {
  color: #111;
  border-color: #111;
}

.hero-actions {
  gap: 20px;
}

/* Keep hero buttons inside their column on narrow widths: text may wrap, arrow stays */
.hero-actions .hero-primary,
.hero-actions .hero-secondary {
  max-width: 100%;
  text-align: left;
}

.hero-actions .code-hover-text {
  white-space: normal;
  overflow-wrap: anywhere;
  /* The hover script sets an inline min-width at load; don't let it push past the column */
  min-width: 0 !important;
}

.hero-actions svg {
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .hero-desc {
    min-height: 0;
  }
}

/* Rotating hero texts reserve their height via JS; block display so min-height applies */
[data-hero="eyebrow"],
[data-hero="statLabel"] {
  display: block;
}

/* Theme weight utilities shouldn't override the heading standard */
h1.fw-500,
h2.fw-500,
h3.fw-500:not(.section-head h3):not(.testimonial-title h3):not(
    .section-title h3
  ),
h4.fw-500,
h1.fw-700,
h2.fw-700,
h3.fw-700,
h4.fw-700 {
  font-weight: var(--fw-heading) !important;
}

/* Mobile: "What Our Clients Say" is a single-line text-roll title (chars can't wrap),
   so scale it with the screen width to keep it inside the container */
@media (max-width: 767px) {
  .section-testimonial .testimonial-title .section-title h2 {
    font-size: clamp(16px, 4.6vw, 28px) !important;
  }
}

/* Sticky header: stays at the top of the screen while scrolling */
#header.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f5f5f5;
}

/* Sticky menu trigger: on <=1216px the script moves #menu-trigger to <body>,
   so pin it to the screen (same top/right offsets) to stay with the sticky header */
@media screen and (max-width: 1216px) {
  #menu-trigger.insomenu-bars {
    position: fixed;
  }
}

/* ---------- Contact page form: consent + status ---------- */
.contact-consent {
  margin: 8px 0 4px;
}

.contact-form-status {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
}

.contact-form-status.is-ok {
  background: #e8f7ee;
  color: #1b6b3a;
}

.contact-form-status.is-error {
  background: #fdecea;
  color: #b3261e;
}

/* Page titles that are now <h1> (for SEO/accessibility) keep their existing section-title size */
h1.page-title {
  font-size: var(--fs-h2) !important;
}

/* ==========================================================================
   Accessibility: readable orange text on light backgrounds (WCAG AA 4.5:1)
   Bright #f79620 stays for buttons, icons and anything on dark backgrounds.
   ========================================================================== */
:root {
  --brand-text: #a14e00;
}

.theme-color,
.small-title.theme-color,
.case-study-category,
.svc-card-group,
.more-card-meta,
.listing-card-meta,
.blog-post-meta,
.person-role,
.membership-location,
.enquiry-eyebrow,
.footer-col h4,
.hero-primary,
.serve-link,
.listing-hero .small-title,
.careers-hero .small-title,
.journey-step .journey-year,
.about-stat h3,
.menu-link.active,
.review-links-copy .small-title {
  color: var(--brand-text) !important;
}

.hero-primary,
.serve-link {
  border-color: var(--brand-text) !important;
}

/* Keep the bright brand orange on dark sections */
.cta-banner .cta-banner-eyebrow,
.cta-banner .cta-primary,
.cookie-banner a {
  color: #f79620 !important;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #a14e00;
  outline-offset: 3px;
}

/* Skip link: hidden until focused with the keyboard */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100000001;
  padding: 10px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.not-found .svc-cta {
  margin-top: 28px;
}
