/*
Theme Name: NestCore Global
Theme URI: http://localhost:8088
Author: NestCore Global Pvt Ltd
Description: A colorful, animated construction and infrastructure WordPress theme for NestCore Global Pvt Ltd.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nestcore-global
*/

:root {
  --ink: #071b33;
  --paper: #f7fbff;
  --muted: #5e6b78;
  --line: rgba(7, 27, 51, 0.12);
  --navy: #061a32;
  --blue: #0b65a3;
  --sky: #18a4d8;
  --steel: #7b8794;
  --graphite: #2c3036;
  --copper: #b26842;
  --ice: #d9edf8;
  --fire: var(--copper);
  --gold: #d7a95d;
  --leaf: #1a9a8a;
  --aqua: var(--sky);
  --rose: #8b4b5c;
  --violet: #315a9f;
  --shadow: 0 24px 70px rgba(7, 27, 51, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(11, 101, 163, 0.1), transparent 28%, rgba(178, 104, 66, 0.08) 72%, transparent),
    var(--paper);
  overflow-x: hidden;
}

body.is-video-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.top-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  z-index: 200;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--sky), var(--steel), var(--copper));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(255, 250, 242, 0.84);
  border-bottom: 1px solid rgba(16, 19, 26, 0.1);
  transition: background 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(16, 19, 26, 0.12);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 132px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 128px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.nav-toggle svg {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.nav-toggle__close {
  opacity: 0;
  transform: rotate(-20deg);
}

.nav-toggle svg {
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header.is-menu-open .nav-toggle__menu {
  opacity: 0;
  transform: rotate(20deg);
}

.site-header.is-menu-open .nav-toggle__close {
  opacity: 1;
  transform: rotate(0);
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  color: #1d2530;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--copper));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--blue);
}

.nav-links a.is-active::before {
  content: "";
  position: absolute;
  inset: 5px 4px;
  z-index: -1;
  border-radius: 6px;
  background: rgba(11, 101, 163, 0.09);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  background: linear-gradient(120deg, var(--navy), var(--blue), var(--sky));
  box-shadow: 0 18px 36px rgba(11, 101, 163, 0.26);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.nav-cta {
  width: 300px;
  flex: 0 0 300px;
  min-height: 60px;
  padding: 0 22px;
  flex-direction: column;
  gap: 2px;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  font-size: 1rem;
}

.nav-cta span {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(6, 26, 50, 0.28);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(9, 12, 18, 0.86), rgba(9, 12, 18, 0.54) 45%, rgba(9, 12, 18, 0.14)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom: 2px solid rgba(11, 101, 163, 0.28);
}

.hero::before {
  content: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 88px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--leaf), var(--aqua));
  border-radius: 999px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff, var(--ice), #7cd5ff, var(--copper));
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: colorSweep 5s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button.secondary {
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.stats-ribbon {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.stat {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 98px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-grid,
.project-grid,
.route-grid,
.page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-card {
  min-height: 190px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(217, 237, 248, 0.6)),
    #fff;
  box-shadow: 0 18px 44px rgba(7, 27, 51, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.route-card:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 101, 163, 0.28);
  box-shadow: 0 24px 60px rgba(7, 27, 51, 0.14);
}

.route-card strong {
  font-size: 1.35rem;
}

.route-card span {
  color: var(--muted);
  line-height: 1.55;
}

.service-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 50px rgba(16, 19, 26, 0.08);
  transition: transform 260ms ease, border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 90, 31, 0.35);
}

.service-card h3,
.project-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.service-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.visual-card {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 54px rgba(7, 27, 51, 0.2);
}

.visual-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 34, 0.05) 16%, rgba(4, 18, 34, 0.35) 54%, rgba(4, 18, 34, 0.94) 100%),
    linear-gradient(90deg, rgba(4, 18, 34, 0.28), transparent 72%);
  transition: background-color 260ms ease;
}

.visual-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 28px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--copper));
}

.visual-card:hover {
  border-color: rgba(111, 207, 255, 0.48);
  box-shadow: 0 30px 70px rgba(7, 27, 51, 0.28);
}

.visual-card__content {
  width: 100%;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.visual-card h3 {
  color: #fff;
}

.visual-card p,
.statement-row .visual-card p {
  color: rgba(255, 255, 255, 0.86);
}

.impact-band {
  padding: 108px 0;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(16, 19, 26, 0.86), rgba(16, 19, 26, 0.5)),
    var(--impact-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.impact-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.impact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.impact-copy p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  font-size: 1.05rem;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--copper));
}

.feature-icon::before {
  content: "\2713";
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.12);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-body {
  padding: 24px;
}

.image-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: stretch;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 26, 50, 0.92), rgba(11, 101, 163, 0.78)),
    url("assets/images/counter-bg.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.image-band--video {
  grid-template-columns: 0.9fr 1.1fr;
}

.image-band__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  color: #fff;
}

.image-band__lead .section-label {
  color: #c9eaff;
}

.image-band__lead h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.image-band__lead p:not(.section-label) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.image-band__media {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.video-launch {
  position: relative;
  width: 100%;
  min-height: 300px;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #02070d;
  box-shadow: 0 18px 42px rgba(2, 7, 13, 0.34);
  cursor: pointer;
}

.video-launch img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  transition: transform 400ms ease, filter 400ms ease;
}

.video-launch:hover img,
.video-launch:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.video-launch__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 7, 13, 0.05), rgba(2, 7, 13, 0.46));
  text-align: center;
}

.video-launch__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-blue));
  box-shadow: 0 18px 42px rgba(2, 7, 13, 0.35);
}

.video-launch__icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}

.video-launch__label {
  font-weight: 900;
  font-size: 1.3rem;
}

.video-launch__meta {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(2, 7, 13, 0.34);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 13, 0.74);
  backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  width: min(860px, 92vw);
  background: #02070d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(2, 7, 13, 0.58);
}

.video-modal__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--radius);
  background: #02070d;
}

.video-modal__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(2, 7, 13, 0.32);
  cursor: pointer;
}

.video-modal__close::before,
.video-modal__close::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.video-modal__close::before {
  transform: rotate(45deg);
}

.video-modal__close::after {
  transform: rotate(-45deg);
}

.image-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-band__grid img {
  width: 100%;
  min-height: 158px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(2, 7, 13, 0.26);
  transition: transform 420ms ease, filter 420ms ease;
}

.image-band__grid img:first-child {
  grid-row: span 2;
}

.image-band__grid img:hover {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.04);
}

.cta-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--navy), var(--blue), var(--sky), var(--copper));
  background-size: 260% 260%;
  animation: gradientFlow 8s ease infinite;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.cta-band p {
  margin: 12px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #02070d;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  text-align: left;
}

.footer-brand {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
}

.footer-logo {
  width: 150px;
  height: 72px;
  object-fit: contain;
}

.footer-tagline {
  grid-column: 3;
  display: block;
  justify-self: end;
  text-align: right;
  font-weight: 700;
  line-height: 1.4;
}

.footer-credit {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: inherit;
}

.inner-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-image: var(--inner-hero-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(11, 101, 163, 0.3);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 35%, rgba(4, 18, 35, 0.08) 58%, rgba(4, 18, 35, 0.72) 100%),
    linear-gradient(90deg, rgba(4, 18, 35, 0.46), transparent 62%);
}

.inner-hero__content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 46px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.inner-hero__content h1 {
  max-width: 780px;
  margin: 16px 0 10px;
  color: #fff;
  font-size: clamp(2.35rem, 4.4vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.inner-hero__content p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.65;
}

.inner-hero__accent {
  display: block;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--leaf), var(--sky));
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.28);
}

.inner-hero--about-us {
  background-position: center 58%;
}

.inner-hero--solutions {
  background-position: center 55%;
}

.inner-hero--services {
  background-position: center 42%;
}

.inner-hero--why-nestcore {
  background-position: center;
}

.inner-hero--contact-us {
  background-position: center 55%;
}

.page-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.page-detail__image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-detail__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-detail__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.page-detail__copy p {
  color: var(--muted);
  line-height: 1.75;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-grid span {
  padding: 10px 13px;
  border: 1px solid rgba(11, 101, 163, 0.18);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  background: rgba(217, 237, 248, 0.68);
}

.page-visual-intro {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.page-visual-intro__image {
  min-height: 360px;
  overflow: hidden;
}

.page-visual-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 700ms ease;
}

.page-visual-intro:hover .page-visual-intro__image img {
  transform: scale(1.045);
}

.page-visual-intro__panel {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(217, 237, 248, 0.72)),
    #fff;
}

.page-visual-intro__panel h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.page-visual-intro__panel p:not(.section-label) {
  color: var(--muted);
  line-height: 1.72;
}

.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-story,
.contact-layout,
.innovation-lab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-panel,
.contact-card,
.contact-checklist,
.innovation-card,
.matrix-card,
.value-card {
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 27, 51, 0.09);
}

.about-panel {
  overflow: hidden;
}

.about-panel img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.about-panel div {
  padding: 26px;
}

.about-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.statement-row {
  grid-template-columns: repeat(2, minmax(280px, 476px));
  justify-content: center;
  gap: 24px;
  padding-top: 54px;
}

.statement-row .value-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.statement-row .statement-card {
  min-height: 350px;
  justify-content: flex-end;
  padding: 32px;
  text-align: left;
}

.value-card {
  padding: 28px;
}

.value-card.visual-card {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue), var(--copper));
  font-weight: 900;
}

.value-card h3,
.matrix-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.value-card p,
.matrix-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-directory {
  display: grid;
  gap: 16px;
}

.service-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.45fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 27, 51, 0.12);
}

.service-line__visual {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
}

.service-line__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 34, 0.08), rgba(4, 18, 34, 0.84)),
    linear-gradient(90deg, rgba(4, 18, 34, 0.64), transparent 82%);
}

.service-line__copy {
  max-width: 680px;
}

.service-line__visual h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.service-line__visual p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.service-line .mini-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(217, 237, 248, 0.72)),
    #fff;
}

.service-line--solo {
  grid-template-columns: 1fr;
}

.service-line--solo .service-line__visual {
  min-height: 390px;
}

.service-line h2,
.timeline-item h2,
.case-study h2,
.contact-card h2,
.innovation-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.service-line p,
.timeline-item p,
.case-study p,
.contact-card p,
.innovation-card p,
.contact-checklist li {
  color: var(--muted);
  line-height: 1.7;
}

.service-line .service-line__visual p {
  color: rgba(255, 255, 255, 0.9);
}

.service-line strong {
  color: var(--navy);
  line-height: 1.45;
}

.project-showcase {
  display: grid;
  gap: 26px;
}

.case-study {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 54px rgba(7, 27, 51, 0.1);
}

.case-study:nth-child(even) img {
  order: 2;
}

.case-study img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-study div {
  padding: 18px;
}

.case-study a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.timeline-page {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 27, 51, 0.08);
}

.timeline-item h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}

.innovation-lab {
  align-items: stretch;
}

.innovation-card,
.contact-card,
.contact-checklist {
  padding: 34px;
}

.innovation-card {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 26, 50, 0.92), rgba(11, 101, 163, 0.84)),
    url("assets/images/counter-bg.jpg");
  background-size: cover;
}

.innovation-card p {
  color: rgba(255, 255, 255, 0.84);
}

.innovation-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.matrix-card {
  padding: 24px;
}

.contact-checklist ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.contact-checklist li {
  position: relative;
  min-height: 30px;
  padding: 3px 0 3px 36px;
}

.contact-checklist li + li {
  margin-top: 5px;
}

.contact-checklist li::before {
  content: "\2713";
  position: absolute;
  top: 4px;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 101, 163, 0.22);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(217, 237, 248, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
}

.solution-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.solution-intro {
  position: sticky;
  top: 110px;
}

.solution-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(7, 27, 51, 0.16);
}

.solution-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.solution-intro p {
  color: var(--muted);
  line-height: 1.75;
}

.solution-groups {
  display: grid;
  gap: 16px;
}

.icon-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon-list li {
  position: relative;
  min-height: 30px;
  padding: 3px 0 3px 36px;
}

.icon-list li + li {
  margin-top: 5px;
}

.icon-list li::before {
  content: "\2713";
  position: absolute;
  top: 4px;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 101, 163, 0.22);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(217, 237, 248, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.single-service-section {
  padding-top: 26px;
  padding-bottom: 26px;
}

.photo-split {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #071b33;
  color: #fff;
  box-shadow: var(--shadow);
}

.photo-split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.photo-split div {
  padding: clamp(28px, 5vw, 58px);
}

.photo-split .section-label {
  color: #c9eaff;
}

.photo-split h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.core-solutions {
  padding-top: 78px;
  padding-bottom: 78px;
}

.core-solutions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.core-solutions-grid .service-card {
  min-height: 225px;
  padding: 26px 24px;
  border-top: 4px solid var(--blue);
}

.core-solutions-grid .service-card:nth-child(2) {
  border-top-color: var(--steel);
}

.core-solutions-grid .service-card:nth-child(3) {
  border-top-color: var(--copper);
}

.core-solutions-grid .service-card:nth-child(4) {
  border-top-color: var(--sky);
}

.contact-layout {
  align-items: stretch;
  gap: 28px;
}

.contact-card,
.enquiry-panel {
  min-width: 0;
}

.contact-card {
  padding: 0;
  overflow: hidden;
  color: #fff;
  border-color: rgba(7, 27, 51, 0.16);
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(7, 27, 51, 0.2);
}

.contact-card__image {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.contact-card__details {
  position: relative;
  padding: 30px 34px 34px;
  background:
    linear-gradient(135deg, rgba(6, 26, 50, 0.98), rgba(9, 66, 106, 0.94)),
    var(--navy);
}

.contact-card__details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 92px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--copper));
}

.contact-card .contact-card__eyebrow {
  margin: 0 0 7px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.contact-card .contact-card__descriptor {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-detail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 54px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.contact-detail > span:last-child {
  white-space: pre-line;
}

/* Client expansion: micro factory, technical content, industries, and resources. */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(6,26,50,.54);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-microfactory,
.profile-section,
.feature-section,
.sustainability-section {
  width: min(100% - 40px, 1475px);
  margin: 64px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(6,26,50,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(6,26,50,.12);
}

.home-microfactory__image,
.feature-section__image,
.profile-visual {
  min-height: 480px;
}

.home-microfactory__image img,
.feature-section__image img,
.profile-visual img,
.sustainability-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-microfactory__copy,
.feature-section__copy,
.profile-copy,
.sustainability-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 76px);
}

.home-microfactory__copy h2,
.feature-section__copy h2,
.profile-copy h2,
.sustainability-copy h2 {
  margin: 10px 0 18px;
  max-width: 14ch;
}

.home-microfactory__copy .button {
  align-self: flex-start;
  margin-top: 20px;
}

.nav-group {
  position: relative;
}

.nav-group-trigger {
  position: relative;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #202833;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.nav-group.is-active .nav-group-trigger {
  color: var(--blue);
}

.nav-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(6,26,50,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6,26,50,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 5px;
  font-size: .88rem;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: #edf7fc;
  color: var(--blue);
}

.industry-grid,
.ecosystem-grid,
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.industry-card {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(4,14,27,.05) 20%, rgba(4,14,27,.92) 100%),
    var(--industry-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(6,26,50,.14);
}

.industry-card__content {
  width: 100%;
  padding: 26px;
  color: #fff;
}

.industry-card h3 {
  margin: 0 0 8px;
  color: #fff;
}

.industry-card p {
  margin: 0;
  color: rgba(255,255,255,.86);
}

.profile-copy strong {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 1.05rem;
}

.ecosystem-card {
  overflow: hidden;
  border: 1px solid rgba(6,26,50,.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(6,26,50,.1);
}

.ecosystem-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ecosystem-card > div {
  padding: 26px;
}

.ecosystem-card h3 {
  margin-top: 0;
}

.delivery-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.delivery-step {
  position: relative;
  min-height: 270px;
  padding: 28px 22px;
  overflow: hidden;
  border: 1px solid rgba(6,26,50,.11);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6,26,50,.09);
}

.delivery-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--sky), var(--copper));
}

.delivery-step__index {
  color: var(--blue);
  font-size: 2.25rem;
  font-weight: 900;
}

.delivery-step h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
}

.delivery-step p {
  margin: 0;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid rgba(6,26,50,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(6,26,50,.1);
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-right: 1px solid rgba(6,26,50,.1);
  border-bottom: 1px solid rgba(6,26,50,.1);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--navy);
  color: #fff;
}

.comparison-table tbody th {
  color: var(--navy);
  background: #edf7fc;
}

.comparison-table tbody td:last-child {
  background: rgba(24,164,216,.08);
  color: var(--navy);
  font-weight: 700;
}

.case-study-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-study-card {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(6,26,50,.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(6,26,50,.1);
}

.case-study-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.case-study-card__content {
  padding: 28px;
}

.case-study-card h3 {
  margin: 8px 0 22px;
}

.case-study-card dl,
.case-study-card dl div {
  display: grid;
  gap: 5px;
}

.case-study-card dl {
  gap: 16px;
  margin: 0;
}

.case-study-card dt {
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-study-card dd {
  margin: 0;
  color: #5d6c7b;
}

.technical-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.technical-feature img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.technical-feature > div {
  padding: 46px;
}

.technical-feature h2 {
  color: #fff;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.technical-grid > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid rgba(6,26,50,.1);
  border-radius: 6px;
  background: #fff;
}

.sustainability-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.sustainability-points > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.resource-section,
.home-resources {
  background: linear-gradient(120deg, #eef8fd, #fff 48%, #f6f3f1);
}

.home-resources {
  width: min(100% - 40px, 1475px);
  margin: 64px auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(6,26,50,.1);
  border-radius: 8px;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid rgba(6,26,50,.15);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(6,26,50,.08);
}

.resource-link:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
}

.resource-link__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.enquiry-form small {
  display: block;
  margin-top: 6px;
  color: #718093;
  font-size: .78rem;
}

@media (max-width: 1390px) {
  .nav-cta {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links > a,
  .nav-group-trigger {
    padding-inline: 8px;
    font-size: .87rem;
  }
}

@media (max-width: 1180px) {
  .delivery-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group-trigger {
    width: 100%;
    padding: 12px 0;
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin-bottom: 8px;
    border: 0;
    box-shadow: none;
    background: #f3f8fb;
  }

  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    display: none;
  }

  .nav-group.is-open .nav-submenu {
    display: grid;
  }
}

@media (min-width: 1041px) and (max-width: 1180px) {
  .nav-group {
    width: auto;
  }

  .nav-group-trigger {
    width: auto;
    padding: 10px 8px;
  }

  .nav-submenu {
    position: absolute;
    display: grid;
    min-width: 250px;
    margin-bottom: 0;
    border: 1px solid rgba(6,26,50,.12);
    box-shadow: 0 18px 45px rgba(6,26,50,.18);
    background: #fff;
  }

  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    display: grid;
  }
}

@media (max-width: 760px) {
  .hero-proof {
    display: grid;
  }

  .home-microfactory,
  .profile-section,
  .feature-section,
  .sustainability-section,
  .technical-feature {
    grid-template-columns: 1fr;
  }

  .home-microfactory__image,
  .feature-section__image,
  .profile-visual {
    min-height: 280px;
  }

  .delivery-process,
  .industry-grid,
  .ecosystem-grid,
  .technical-grid,
  .sustainability-points {
    grid-template-columns: 1fr;
  }

  .delivery-step {
    min-height: 0;
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .case-study-card img {
    min-height: 230px;
    max-height: 280px;
  }

  .technical-feature img {
    height: 280px;
  }

  .technical-feature > div {
    padding: 28px;
  }

  .resource-actions,
  .resource-link {
    width: 100%;
  }
}

.contact-detail + .contact-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a.contact-detail:hover {
  color: #fff;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 207, 255, 0.32);
  border-radius: 50%;
  color: var(--sky);
  background: rgba(111, 207, 255, 0.08);
}

.contact-detail__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.enquiry-panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(11, 101, 163, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 241, 250, 0.86)),
    #fff;
  box-shadow: 0 28px 70px rgba(7, 27, 51, 0.16);
}

.enquiry-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sky), var(--blue), var(--copper));
}

.enquiry-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.enquiry-panel > p:not(.section-label) {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.enquiry-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(7, 27, 51, 0.16);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(7, 27, 51, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.enquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 101, 163, 0.12);
}

.enquiry-form .button {
  width: fit-content;
  min-width: 170px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(11, 101, 163, 0.2);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  margin: 0 0 20px;
  padding: 13px 15px;
  border-radius: 6px;
  line-height: 1.5;
}

.form-notice--success {
  color: #075c50;
  border: 1px solid rgba(18, 145, 132, 0.28);
  background: rgba(18, 145, 132, 0.1);
}

.form-notice--error {
  color: #842d28;
  border: 1px solid rgba(190, 73, 63, 0.28);
  background: rgba(190, 73, 63, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes colorSweep {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 1040px) {
  .nav-wrap {
    min-height: 72px;
  }

  .brand-logo {
    width: 116px;
    height: 56px;
  }

  .brand-logo img {
    width: 112px;
    height: 52px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(7, 27, 51, 0.12);
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 54px rgba(7, 27, 51, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-header.is-menu-open .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    background: rgba(217, 237, 248, 0.28);
  }

  .nav-links a::after {
    bottom: 3px;
  }

  .nav-panel .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: min(780px, calc(100svh - 72px));
  }

  .hero h1 {
    font-size: clamp(3.6rem, 9vw, 6.2rem);
  }

  .service-grid,
  .project-grid,
  .route-grid,
  .page-cards,
  .value-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    gap: 28px;
  }
}

@media (max-width: 800px) {
  .stats-ribbon,
  .image-band,
  .page-visual-intro,
  .photo-split,
  .split-story,
  .contact-layout,
  .innovation-lab,
  .solution-block,
  .impact-inner,
  .section-head,
  .cta-band,
  .page-detail {
    grid-template-columns: 1fr;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -28px;
  }

  .stat {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .image-band__grid,
  .innovation-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .page-visual-intro,
  .image-band {
    margin-top: 24px;
  }

  .video-launch,
  .video-launch img {
    min-height: 0;
  }

  .page-visual-intro__image {
    min-height: 300px;
  }

  .page-visual-intro__panel {
    padding: 36px;
  }

  .statement-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-line,
  .case-study,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .service-line__visual,
  .service-line--solo .service-line__visual {
    min-height: 340px;
  }

  .case-study:nth-child(even) img {
    order: initial;
  }

  .solution-intro {
    position: static;
  }

  .solution-thumb {
    aspect-ratio: 16 / 9;
  }

  .photo-split img {
    height: 340px;
  }

  .impact-band {
    padding: 82px 0;
    background-attachment: scroll;
  }

  .contact-layout {
    align-items: start;
  }

  .contact-card,
  .enquiry-panel {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .cta-band {
    margin-bottom: 58px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-credit {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    width: calc(100% - 24px);
    min-height: 66px;
  }

  .brand-logo {
    width: 104px;
    height: 50px;
  }

  .brand-logo img {
    width: 100px;
    height: 46px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-panel {
    left: 12px;
    right: 12px;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
  }

  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    min-height: 44px;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
  }

  .nav-panel .nav-cta {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 82px 0 68px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .eyebrow::before {
    width: 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 0.96;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
    gap: 10px;
  }

  .hero-actions .button {
    min-width: 0;
    padding-inline: 12px;
    text-align: center;
  }

  .section {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .section h2,
  .page-detail__copy h2,
  .page-visual-intro__panel h2,
  .solution-intro h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 26px;
  }

  .section-lead,
  .page-detail__copy p,
  .solution-intro p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .service-grid,
  .project-grid,
  .route-grid,
  .page-cards,
  .value-row,
  .core-solutions-grid,
  .statement-row,
  .form-grid,
  .image-band__grid,
  .innovation-matrix {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
    padding: 24px;
  }

  .visual-card,
  .statement-row .statement-card {
    min-height: 300px;
    padding: 24px;
  }

  .visual-card::after {
    inset-inline: 24px;
  }

  .stats-ribbon {
    width: calc(100% - 32px);
  }

  .stat {
    padding: 20px;
  }

  .page-visual-intro {
    width: calc(100% - 32px);
    margin-top: 18px;
  }

  .page-visual-intro__image {
    min-height: 230px;
  }

  .page-visual-intro__panel {
    padding: 26px;
  }

  .inner-hero {
    height: 390px;
    background-position: center;
  }

  .inner-hero__content {
    width: calc(100% - 32px);
    padding-bottom: 28px;
  }

  .inner-hero__content h1 {
    max-width: 100%;
    margin-top: 12px;
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.02;
  }

  .inner-hero__content p {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .service-line__visual,
  .service-line--solo .service-line__visual {
    min-height: 290px;
    padding: 24px;
  }

  .service-line__visual h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .service-line .mini-list,
  .contact-card__details,
  .enquiry-panel {
    padding: 24px;
  }

  .solution-groups .value-card {
    padding: 24px;
  }

  .photo-split img {
    height: 260px;
  }

  .photo-split div {
    padding: 28px 24px;
  }

  .contact-card__image {
    height: 220px;
  }

  .contact-detail {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .contact-detail__icon {
    width: 34px;
    height: 34px;
  }

  .enquiry-panel h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .enquiry-form .button {
    width: 100%;
  }

  .cta-band {
    width: calc(100% - 32px);
    padding: 28px 24px;
  }

  .cta-band h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .cta-band .button {
    width: 100%;
  }

  .image-band {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .image-band__lead {
    min-height: 0;
    padding: 10px 0 20px;
  }

  .image-band__lead p:not(.section-label) {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .video-launch {
    aspect-ratio: 16 / 9;
  }

  .image-band__grid img,
  .image-band__grid img:first-child {
    min-height: 210px;
    grid-row: auto;
  }

  .impact-band {
    padding: 66px 0;
  }

  .process-item {
    padding: 16px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    justify-self: center;
  }

  .footer-credit {
    flex-basis: 100%;
  }
}

@media (max-width: 360px) {
  .hero-inner,
  .section,
  .inner-hero__content,
  .page-visual-intro,
  .stats-ribbon,
  .cta-band,
  .image-band {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .inner-hero__content h1 {
    font-size: 2rem;
  }

  .contact-card__details,
  .enquiry-panel,
  .service-line .mini-list,
  .service-line__visual {
    padding: 20px;
  }
}

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

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

/* If-So contact shortcode and enquiry form polish */
.contact-card__details--geo {
    display: grid;
    gap: 1rem;
}

.contact-card__details--geo .nestcore-geo-contact {
    display: grid;
    gap: .9rem;
}

.nestcore-geo-contact__title {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
}

.nestcore-geo-contact__item {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: .4rem 1rem;
    padding: .95rem 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.nestcore-geo-contact__label {
    color: #7fd2ff;
    font-weight: 800;
}

.nestcore-geo-contact__value,
.nestcore-geo-contact__value a {
    color: #fff;
    line-height: 1.55;
}

.nestcore-geo-contact__value a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

#project-enquiry .enquiry-panel,
#project-enquiry .contact-form-panel,
#project-enquiry .wpforms-container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(241, 248, 252, .94)),
        #fff;
    border: 1px solid rgba(11, 101, 163, .16);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(5, 34, 62, .13);
}

#project-enquiry .wpforms-container,
#project-enquiry .enquiry-form,
#project-enquiry form {
    margin: 0;
}

#project-enquiry .wpforms-form,
#project-enquiry .enquiry-form {
    display: grid;
    gap: 1.05rem;
}

#project-enquiry .form-grid {
    gap: 1.05rem;
}

#project-enquiry .wpforms-field {
    padding: 0 0 .95rem;
}

#project-enquiry label,
#project-enquiry .wpforms-field-label {
    display: grid;
    gap: .5rem;
    color: #09213d;
    font-weight: 800;
    letter-spacing: .01em;
    margin: 0;
}

#project-enquiry input[type="text"],
#project-enquiry input[type="email"],
#project-enquiry input[type="tel"],
#project-enquiry input[type="number"],
#project-enquiry input[type="date"],
#project-enquiry input[type="file"],
#project-enquiry select,
#project-enquiry textarea,
#project-enquiry .wpforms-field input,
#project-enquiry .wpforms-field select,
#project-enquiry .wpforms-field textarea {
    width: 100%;
    min-height: 3.45rem;
    border: 1px solid rgba(11, 101, 163, .2);
    border-radius: 8px;
    background: #fbfdff;
    color: #09213d;
    padding: .9rem 1rem;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(5, 34, 62, .055);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#project-enquiry input::placeholder,
#project-enquiry textarea::placeholder {
    color: rgba(9, 33, 61, .5);
    font-weight: 700;
}

#project-enquiry select {
    appearance: none;
    padding-right: 2.8rem;
    background:
        linear-gradient(45deg, transparent 50%, #09213d 50%) calc(100% - 1.35rem) 50% / .45rem .45rem no-repeat,
        linear-gradient(135deg, #09213d 50%, transparent 50%) calc(100% - 1.05rem) 50% / .45rem .45rem no-repeat,
        #fbfdff;
}

#project-enquiry input[type="date"] {
    padding-right: .85rem;
}

#project-enquiry input[type="file"] {
    min-height: auto;
    padding: .65rem;
    background: #fff;
}

#project-enquiry input[type="file"]::file-selector-button {
    margin-right: .85rem;
    border: 0;
    border-radius: 6px;
    background: #09213d;
    color: #fff;
    font: inherit;
    font-size: .88rem;
    font-weight: 900;
    padding: .72rem .95rem;
    cursor: pointer;
}

#project-enquiry textarea,
#project-enquiry .wpforms-field textarea {
    min-height: 9rem;
    resize: vertical;
}

#project-enquiry input:focus,
#project-enquiry select:focus,
#project-enquiry textarea:focus,
#project-enquiry .wpforms-field input:focus,
#project-enquiry .wpforms-field select:focus,
#project-enquiry .wpforms-field textarea:focus {
    outline: none;
    border-color: #1399d6;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(19, 153, 214, .16), 0 14px 30px rgba(5, 34, 62, .08);
}

#project-enquiry small {
    color: #657586;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}

#project-enquiry button,
#project-enquiry input[type="submit"],
#project-enquiry .wpforms-submit {
    justify-self: start;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #062744, #12a7df);
    color: #fff;
    font-weight: 900;
    padding: 1rem 1.45rem;
    box-shadow: 0 16px 32px rgba(8, 75, 115, .22);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

#project-enquiry button:hover,
#project-enquiry input[type="submit"]:hover,
#project-enquiry .wpforms-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(8, 75, 115, .28);
}

@media (max-width: 640px) {
    .nestcore-geo-contact__item {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    #project-enquiry button,
    #project-enquiry input[type="submit"],
    #project-enquiry .wpforms-submit {
        width: 100%;
        justify-self: stretch;
    }
}
