/* =========================================================
   JHA Architecture - cleaned consolidated stylesheet
   Generated from uploaded styles.css plus inline HTML <style> blocks.
   ========================================================= */

@keyframes blinkCursor {0% { border-color: #f67f21; }
  50% { border-color: transparent; }
  100% { border-color: #f67f21; }}

@keyframes portfolioLightboxFade {from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }}


/* ===================== Base / reset ===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding-top: 0px;
}

html, body {
  overflow-x: hidden;
}

section {
  padding: 90px 20px;
  min-height: 100vh;
}

h2 {
  font-size: 2rem;
  color: #f67f21;
  margin-bottom: 1rem;
}

html {
  scroll-behavior: smooth;
}

body.home-fixed {
  height: 100vh;
  overflow: hidden;
}

body.home-fixed .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-fixed .hero .hero-content {
  position: relative;
  z-index: 2;
}

body.home-fixed footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
}

body.home-fixed header {
  z-index: 1002;
}

body.home-fixed .hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  padding-bottom: 120px;
}

body.privacy-page .privacy-section {
  padding: 140px 20px 60px;
  min-height: auto;
}

body.privacy-page .privacy-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

body.privacy-page .privacy-content h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #f67f21;
}

body.privacy-page .privacy-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #f67f21;
  font-size: 1.6rem;
}

body.privacy-page .privacy-content h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: #0e1130;
  font-size: 1.1rem;
}

body.privacy-page .privacy-content p, body.privacy-page .privacy-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}

body.privacy-page .privacy-content ul {
  margin: 8px 0 16px 22px;
}

body.privacy-page .privacy-content a {
  color: #f67f21;
  font-weight: bold;
  text-decoration: none;
}

body.privacy-page .privacy-content a:hover {
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}


/* ===================== Header / navigation ===================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  padding: 0 2rem;
  z-index: 1000;
  background: rgba(30, 26, 49);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container .logo img {
  height: 140px;
  width: auto;
  display: block;
  top: 35px;
  z-index: 1001;
}

.contact-number {
  margin-left: 40px;
  white-space: nowrap;
}

.contact-number a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

.contact-number a .tel-prefix {
  color: #f67f21;
  margin-right: 5px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
  text-shadow: 1px 1px 3px black;
}

.nav-links a:hover, .nav-links a.active {
  color: #f67f21;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 220px;
  height: 120px;
  margin-bottom: 20px;
}

.logo-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-container .logo-hover {
  opacity: 0;
}

.logo-container:hover .logo-hover {
  opacity: 1;
}

.logo-container:hover .logo-default {
  opacity: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li {
  margin-left: 1rem;
}

/* ===================== Navigation dropdowns ===================== */
.nav-dropdown { position: relative; }
.nav-dropdown__arrow { display:inline-block; margin-left:4px; font-size:.75em; transition:transform .2s ease; }
.nav-submenu { position:absolute; top:100%; right:0; min-width:190px; padding:8px 0; margin:0; list-style:none; background:#0e1130; box-shadow:0 10px 24px rgba(0,0,0,.28); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .2s ease, transform .2s ease, visibility .2s ease; z-index:1300; }
.nav-submenu li { margin:0; }
.nav-submenu a { display:block; padding:11px 18px; white-space:nowrap; font-size:.95rem; }
.nav-dropdown:hover > .nav-submenu, .nav-dropdown:focus-within > .nav-submenu { opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown:hover > .nav-dropdown__link .nav-dropdown__arrow, .nav-dropdown:focus-within > .nav-dropdown__link .nav-dropdown__arrow { transform:rotate(180deg); }
.nav-dropdown:has(.nav-submenu a.active) > .nav-dropdown__link { color:#f67f21; }

/* ===================== Hero layouts ===================== */

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100vh;
  padding-bottom: 80px;
  color: #fff;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

.hero--full {
  height: 100vh;
}

.hero--compact {
  height: 46vh;
  min-height: 360px;
  max-height: 520px;
}

.hero--low-res {
  height: 38vh;
  min-height: 300px;
  max-height: 440px;
}

.hero--compact, .hero--low-res {
  align-items: flex-end;
  padding-bottom: 55px;
}

.hero--compact::before, .hero--low-res::before, .hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero--compact .hero-content, .hero--low-res .hero-content, .hero--full .hero-content {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0);
  border-radius: 10px;
}

#hero-typewriter {
  display: inline-block;
  border-right: 2px solid #f67f21;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  animation: blinkCursor 0.7s infinite;
}

.hero.hero--video {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero.hero--video .hero-content {
  position: relative;
  z-index: 2;
}

.hero.hero--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.service-hero__overlay {
  width: 100%;
  background: rgba(14, 17, 48, 0.58);
  padding: 20px 20px 16px;
}

.service-hero__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-hero--text-overlay {
  height: 72vh;
  min-height: 540px;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 8% 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-hero--text-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.32) 45%,
      rgba(0,0,0,0.06) 100%
    );
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.about-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.about-hero__breadcrumbs a {
  color: #f67f21;
  text-decoration: none;
  font-weight: 600;
}

.about-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #f67f21;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.about-hero__content h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

.about-hero__content p {
  max-width: 760px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.about-hero__tags {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero__tags span {
  display: inline-flex;
  padding: 8px 12px;
  color: #fff;
  background: rgba(0,0,0,0.22);
  border-left: 3px solid #f67f21;
  backdrop-filter: blur(2px);
  font-size: 0.92rem;
}

.team-hero--text-overlay {
  height: 70vh;
  min-height: 520px;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 8% 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.team-hero--text-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.64) 0%,
      rgba(0,0,0,0.34) 45%,
      rgba(0,0,0,0.06) 100%
    );
  z-index: 1;
}

.team-hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.team-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.team-hero__breadcrumbs a {
  color: #f67f21;
  text-decoration: none;
  font-weight: 600;
}

.team-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #f67f21;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.team-hero__content h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

.team-hero__content p {
  max-width: 760px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.team-hero__tags {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.team-hero__tags span {
  display: inline-flex;
  padding: 8px 12px;
  color: #fff;
  background: rgba(0,0,0,0.22);
  border-left: 3px solid #f67f21;
  backdrop-filter: blur(2px);
  font-size: 0.92rem;
}


.project-hero--text-overlay {
  height: 78vh;
  min-height: 560px;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 0 8% 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-hero--text-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.58) 0%,
      rgba(0,0,0,0.30) 42%,
      rgba(0,0,0,0.06) 100%
    );
  z-index: 1;
}

.project-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.project-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #f67f21;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.project-hero__content h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

.project-hero__content p {
  max-width: 720px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.project-hero__tags {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-hero__tags span {
  display: inline-flex;
  padding: 8px 12px;
  color: #fff;
  background: rgba(0,0,0,0.22);
  border-left: 3px solid #f67f21;
  backdrop-filter: blur(2px);
  font-size: 0.92rem;
}


/* ===================== Cards / grids / portfolio ===================== */

.card h3 {
  color: #f67f21;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.grid-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.grid-item h3 {
  font-size: 1.25rem;
  margin: 0.75rem;
  color: #f67f21;
}

.grid-item p {
  margin: 0 0.75rem 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.grid-item .client {
  display: block;
  margin: 0 0.75rem 1rem 0.75rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #888;
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.image-container .overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56, 57, 77, 0.85);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 0;
  transition: bottom 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-container:hover .overlay {
  bottom: 0;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #38394D;
  color: #ffffff;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3, .card p {
  color: #ffffff;
}

.card:hover {
  background-color: #f67f21;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.portfolio-filters {
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-filters button {
  background: #272b5a;
  color: #fff;
  border: none;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.portfolio-filters button:hover {
  background: #0e1130;
  transform: translateY(-2px);
}

.portfolio-filters button.active {
  background: #f67f21;
  color: #fff;
  font-weight: bold;
}

.portfolio-content {
  padding: 18px;
  background: #38394D;
}

.portfolio-content h4 {
  color: #f67f21;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.portfolio-content p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.portfolio-client {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 600;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-container {
  padding: 0px 20px;
}

.portfolio-container h2 {
  color: #f67f21;
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.portfolio-column {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.portfolio-item {
  background: #38394D;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
  border: solid 0px #38394D;
  position: relative;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.portfolio-overlay {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
  to bottom,
  rgba(56,57,77,0) 0%,
  rgba(56,57,77,0.15) 40%,
  rgba(56,57,77,0.75) 100%
);
  color: #fff;
  flex-direction: column;
  justify-content: flex-end;
  align-items: left;
  text-align: left;
  padding-bottom: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  padding: 15px;
  pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-overlay h4 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.portfolio-overlay p {
  margin: 0px 0;
  font-size: 0.9rem;
  color: #fff;
}

.portfolio-item.hidden {
  display: none !important;
}

.team-member .image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.team-member .image-container:focus-visible {
  box-shadow: 0 0 0 4px rgba(246, 127, 33, 0.35);
}

.team-member:hover .image-container img, .team-member:focus-within .image-container img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.portfolio-item:focus-visible {
  outline: 3px solid #f67f21;
  outline-offset: 4px;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 2000;
}

.portfolio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 28, 0.9);
  backdrop-filter: blur(3px);
}

.portfolio-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1400px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: portfolioLightboxFade 0.35s ease;
}

.portfolio-lightbox__image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  overflow: auto;
}

.portfolio-lightbox__dialog img {
  width: auto;
  max-width: 95vw;
  max-height: 88vh;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.portfolio-lightbox.is-zoomed .portfolio-lightbox__image-wrap {
  justify-content: flex-start;
}

.portfolio-lightbox.is-zoomed .portfolio-lightbox__dialog img {
  max-width: none;
  max-height: none;
  width: min(1600px, 160vw);
  cursor: zoom-out;
}

.portfolio-lightbox__caption, .portfolio-lightbox__hint {
  margin: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.portfolio-lightbox__caption {
  font-size: 1.05rem;
  font-weight: 600;
}

.portfolio-lightbox__hint {
  font-size: 0.9rem;
  opacity: 0.82;
}

.portfolio-lightbox__close, .portfolio-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(12, 15, 35, 0.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.portfolio-lightbox__close:hover, .portfolio-lightbox__nav:hover {
  background: rgba(246, 127, 33, 0.92);
  transform: scale(1.04);
}

.portfolio-lightbox__close {
  top: -14px;
  right: 0;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.portfolio-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  font-size: 2rem;
}

.portfolio-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.portfolio-lightbox__nav--prev {
  left: 18px;
}

.portfolio-lightbox__nav--next {
  right: 18px;
}

.portfolio-lightbox__nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.team-page-mockup .image-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.team-page-mockup .team-office-lead {
  margin: 0 0 1px !important;
  color: #222 !important;
  font-size: 0.82rem !important;
  line-height: 1.25 !important;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* ===================== About / timeline ===================== */

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding: 0px 20px;
}

.about-left {
  flex: 1 1 45%;
}

.about-right {
  flex: 1 1 50%;
  color: #38394D;
}

.about-images {
  margin: 20px auto 0;
  width: 100%;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  gap: 15px;
  text-align: center;
}

.about-images img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  transition: transform 0.3s ease;
}

.about-images img:hover {
  transform: scale(1.05);
}

.about-right h2 {
  color: #f67f21;
  margin-bottom: 20px;
}

.about-right p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.timeline-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}

.timeline-logo {
  width: 100px;
  height: 100px;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.timeline-item.original .timeline-logo {
  border: 2px solid #f67f21;
}

.timeline-item.transition .timeline-logo {
  border: 2px solid #38394D;
}

.timeline-item .company-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 5px 0 0 0;
  text-align: center;
}

.timeline-item .company-description {
  font-size: 0.85rem;
  margin-top: 2px;
  text-align: center;
}

.timeline-line-vertical {
  width: 4px;
  height: 60px;
  background-color: #f67f21;
  margin: 5px 0;
  border-radius: 2px;
}

.timeline-structure {
  max-width: 820px;
  margin: 0 auto;
}

.timeline-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 60px;
  justify-items: center;
  align-items: start;
}

.timeline-merge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  padding-top: 50px;
}

.timeline-merge::before, .timeline-merge::after {
  content: "";
  position: absolute;
  top: 10px;
  height: 4px;
  width: clamp(125px, 28vw, 125px);
  background: #f67f21;
  border-radius: 2px;
  opacity: 0.95;
}

.timeline-merge::before {
  left: calc(50% - clamp(140px, 28vw, 220px));
  transform-origin: center;
  transform: rotate(30deg);
}

.timeline-merge::after {
  right: calc(50% - clamp(140px, 28vw, 220px));
  transform-origin: center;
  transform: rotate(-30deg);
}

.about-page-mockup .section.alt {
  background: #f4f5f8;
}

.about-page-mockup .about-container {
  max-width: 1250px;
  margin: 0 auto;
  align-items: stretch;
  gap: 34px;
}

.about-page-mockup .about-left, .about-page-mockup .about-right {
  background: #fff;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.about-page-mockup .about-right p:first-of-type {
  font-size: 1.2rem;
  font-weight: 600;
  color: #38394D;
  line-height: 1.75;
}

.about-page-mockup .about-right h2, .about-page-mockup .about-left h2 {
  text-align: left;
}

.about-page-mockup .about-images {
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid rgba(56,57,77,0.12);
}

.about-page-mockup .about-images img {
  background: #fff;
  padding: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1250px;
  margin: 0 auto 34px;
}

.about-stat {
  background: #38394D;
  color: #fff;
  padding: 24px;
  border-left: 4px solid #f67f21;
}

.about-stat strong {
  display: block;
  color: #f67f21;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
}


/* ===================== Team ===================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin-top: 2rem;
}

.team-member .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56,57,77,0.85);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member:hover .overlay {
  opacity: 1;
}

.team-member h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
  color: #f67f21;
}

.team-member p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.team-member .overlay p {
  color: #fff;
}

.team-member:hover {
  background: #f67f21;
}

.team-member:hover h3, .team-member:hover p {
  color: #fff;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
  padding: 10px;
}

.team-member:hover, .team-member:focus-within {
  background: #f67f21;
}

.team-member:hover h3, .team-member:hover > p, .team-member:focus-within h3, .team-member:focus-within > p {
  color: #fff;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.team-member .overlay.overlay--cta {
  position: absolute;
  inset: 0;
  background: rgba(56, 57, 77, 0.45);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.team-member .overlay.overlay--cta p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(246, 127, 33, 0.9);
}

.team-member:hover .overlay.overlay--cta, .team-member:focus-within .overlay.overlay--cta {
  opacity: 1;
}

.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;
}

.team-modal.is-open {
  display: block;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 49, 0.72);
}

.team-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 32px));
  max-height: min(82vh, 780px);
  margin: 8vh auto;
  background: #fff;
  color: #38394D;
  padding: 32px 28px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.team-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #38394D;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.team-modal__content {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 28px;
  align-items: start;
}

.team-modal__image-wrap {
  position: sticky;
  top: 0;
}

.team-modal__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.team-modal__text {
  min-width: 0;
}

.team-modal__text h3 {
  margin: 0 32px 8px 0;
  color: #f67f21;
  font-size: 1.8rem;
}

.team-modal__role {
  margin: 0 0 18px;
  color: #38394D;
  font-weight: 700;
  font-size: 1rem;
}

.team-modal__bio p {
  margin: 0 0 14px;
  color: #444;
  line-height: 1.7;
  text-align: left;
}

.team-page-mockup .team-section h2 {
  display: none;
}

.team-page-mockup .team-grid {
  max-width: 1320px;
  margin: 0 auto;
}

.team-page-mockup .team-member {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.team-page-mockup .team-member:hover {
  transform: translateY(-4px);
}

.team-page-mockup .team-member h3 {
  margin-top: 14px;
}

.team-page-mockup .team-member > p {
  margin-bottom: 8px;
}

.team-intro-strip__copy {
  font-size: 1.08rem !important;
  line-height: 1.6 !important;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.team-stat {
  border-left: 3px solid #f67f21;
  padding-left: 12px !important;
}

.team-stat strong {
  display: block;
  color: #f67f21;
  font-size: 1.8rem !important;
  line-height: 1;
  margin-bottom: 6px !important;
}

.team-stat span {
  display: block;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}

.team-page-mockup .team-section {
  padding-top: 45px !important;
  min-height: 0 !important;
  padding-bottom: 60px !important;
}

.team-page-mockup .section {
  min-height: 0 !important;
}

.team-intro-strip {
  background: #38394D;
  color: #fff;
  padding: 10px 20px !important;
  min-height: 0 !important;
  height: auto !important;
}

.team-intro-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px !important;
  align-items: center !important;
  min-height: 0 !important;
}


/* ===================== Services / sectors / project pages ===================== */

.services-intro-note {
  max-width: 820px;
  margin: 0 auto 10px;
  color: #5a5a5a;
}

.service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 290px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover, .service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.service-card__media {
  position: relative;
  width: 100%;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 34px 24px 28px;
  background: #f67f21;
}

.service-card__icon {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  object-fit: contain;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.service-card:hover .service-card__icon, .service-card:focus-within .service-card__icon {
  transform: scale(1.08);
}

.service-card__title {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #38394D;
  text-shadow: none;
  font-size: 1.2rem;
  line-height: 1.3;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(56,57,77,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-card__overlay, .service-card:focus-within .service-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-card__overlay-inner h3 {
  margin: 0 0 12px 0;
  color: #f67f21;
}

.service-card__overlay-inner p {
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.6;
}

.service-card__cta {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-hero {
  position: relative;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.service-hero h1 {
  margin: 0 0 4px;
  font-size: 1.85rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
}

.service-breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
}

.service-breadcrumbs a {
  color: #f67f21;
  text-decoration: none;
  font-weight: 600;
}

.service-breadcrumbs a:hover {
  text-decoration: underline;
}

.service-body {
  padding: 22px 20px 28px;
  background: #f4f5f8;
  border-top: 3px solid #f67f21;
}

.service-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 18px;
}

.service-intro-copy p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #333;
}

.service-intro-media img {
  width: 100%;
  display: block;
  border-radius: 0;
  border-left: 3px solid #38394D;
  border-bottom: 3px solid #38394D;
  border-top: 3px solid #38394D;
  border-right: 3px solid #38394D;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.service-panel {
  margin-bottom: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 0;
  border: 1px solid #eee;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.service-panel h2 {
  position: relative;
  padding-left: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #f67f21;
}

.service-panel h3 {
  margin: 10px 0 4px;
  color: #38394D;
}

.service-panel p, .service-panel li {
  line-height: 1.58;
  color: #333;
}

.service-panel p, .service-panel ul, .service-panel h3 {
  max-width: 700px;
}

.service-panel p {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
}

.service-panel--highlight {
  background: rgba(246,127,33,0.1);
  border-left: 4px solid #f67f21;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(246,127,33,0.1);
  color: #f67f21;
  text-decoration: none;
  font-weight: 600;
}

.service-links a:hover {
  background: rgba(246,127,33,0.18);
}

.service-cta {
  background: linear-gradient(135deg, #38394D, #2b2c3f);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-cta h2, .service-cta p {
  text-align: center;
  color: #fff;
}

.service-cta p {
  max-width: 1000px;
  margin-bottom: 20px;
}

.service-cta h2 {
  color: #f67f21;
}

.service-cta .btn {
  display: inline-block;
  margin-top: 6px;
}

.service-panel + .service-panel {
  margin-top: 18px;
}

.service-panel ul {
  margin: 6px 0 0 18px;
  padding: 0;
  list-style: none;
  padding-left: 0;
}

.service-panel li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.service-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #f67f21;
}

.service-intro-copy p:first-child {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
}

.service-intro-copy p:last-child {
  font-size: 1.05rem;
}

.sectors-intro {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.sectors-hub__inner p {
  max-width: 900px;
  margin: 0 auto 14px;
}

.sector-lattice-rows {
  margin-top: 70px;
  padding-bottom: 90px;
}

.sector-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: -110px;
}

.sector-row:first-child {
  margin-top: 0;
}

.sector-row--offset {
  transform: translateX(110px);
}

.sector-tile {
  position: relative;
  width: 220px;
  height: 220px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  -webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.sector-tile:hover, .sector-tile:focus {
  transform: scale(1.04);
  box-shadow: 0 18px 38px rgba(0,0,0,0.24);
  z-index: 3;
}

.sector-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,17,48,0.22),
    rgba(14,17,48,0.78)
  );
  transition: background 0.35s ease;
}

.sector-tile:hover .sector-tile__overlay, .sector-tile:focus .sector-tile__overlay {
  background: linear-gradient(
    to bottom,
    rgba(14,17,48,0.12),
    rgba(14,17,48,0.68)
  );
}

.sector-tile__title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
  z-index: 2;
}

.sector-tile--accent {
  pointer-events: none;
  box-shadow: none;
}

.sector-tile--blue {
  background: #38394D;
}

.sector-tile--orange {
  background: #f67f21;
}

.sectors-hub {
  background: #f4f5f8;
  overflow-x: hidden;
}

.sectors-hub__inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-left: 120px;
  padding-right: 120px;
  box-sizing: border-box;
}

.sector-brochure {
  margin: 60px 0;
}

.sector-brochure-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: #f4f5f8;
  padding: 30px;
}

.sector-brochure-card img {
  width: 100%;
  height: auto;
  display: block;
}

.sector-brochure-btn {
  margin-top: 10px;
  display: inline-block;
}

.sector-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 70px 0;
}

.sector-split--reverse .sector-split__image {
  order: 2;
}

.sector-split--reverse .sector-split__content {
  order: 1;
}

.sector-split__image img {
  width: 100%;
  height: auto;
  display: block;
  border-left: 3px solid #38394D;
  border-bottom: 3px solid #38394D;
  border-top: 3px solid #38394D;
  border-right: 3px solid #38394D;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.sectors-page .sectors-hub {
  padding-top: 80px;
}

.sector-card__panel {
  position: relative;
  overflow: hidden;
}

.sector-card__image {
  position: relative;
}

.sector-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sector-card__image h3 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 20px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: left;
  background: linear-gradient(
    to bottom,
    rgba(56,57,77,0) 0%,
    rgba(56,57,77,0.2) 45%,
    rgba(56,57,77,0.85) 100%
  );
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.sector-card:hover .sector-card__image img {
  transform: scale(1.04);
}

.sectors-page .sector-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}

.sectors-page .sector-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.sectors-page .sector-card__image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  transition: bottom 0.35s ease;
}

.sectors-page .sector-card:hover .sector-card__image::after {
  bottom: 0;
}

.sectors-page .sector-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sectors-page .sector-card:hover .sector-card__image img {
  transform: scale(1.05);
}

.sectors-page .sectors-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  max-width: 1100px;
  margin: 20px auto 0;
}

.sectors-page .sector-card {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.sectors-page .sector-card__panel {
  background: transparent;
  padding: 0px;
  min-height: 240px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .25s ease, box-shadow .25s ease;
  width: 100%;
}


/* ===================== Knowledge Base ===================== */


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

    .knowledge-card {
      background: #38394D;
      padding: 30px;
      border-left: 4px solid #f67f21;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .knowledge-card h3 {
	color: #f67f21;
      margin-bottom: 14px;
    }
    .knowledge-card p {
	color: #fff;
    }
    .faq-list {
      display: grid;
      gap: 18px;
      margin-top: 28px;
    }

    .faq-item {
      background: #fff;
      border-left: 4px solid #f67f21;
      box-shadow: 0 8px 24px rgba(0,0,0,0.07);
      overflow: hidden;
    }

    .faq-item summary {
      cursor: pointer;
      padding: 22px 26px;
      font-weight: 700;
      list-style: none;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      float: right;
      color: #f67f21;
      font-size: 1.4rem;
      line-height: 1;
    }

    .faq-item[open] summary::after {
      content: "–";
    }

    .faq-item p {
      padding: 0 26px 24px;
      margin: 0;
    }

    .knowledge-split {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 34px;
      align-items: stretch;
      margin-top: 36px;
    }

    .knowledge-split__image {
      min-height: 360px;
      background: #e8e8e8;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      font-weight: 700;
      text-align: center;
      padding: 30px;
    }

    @media (max-width: 900px) {
      .knowledge-grid,
      .knowledge-split {
        grid-template-columns: 1fr;
      }

      .knowledge-hero--text-overlay {
        min-height: 500px;
        padding: 0 6% 70px;
      }
    }
  

    .knowledge-split__image {
      min-height: 360px;
      padding: 0;
      overflow: hidden;
      background: #e8e8e8;
      display: block;
    }

    .knowledge-split__image img {
      width: 100%;
      height: 100%;
      min-height: 360px;
      display: block;
      object-fit: cover;
      border-left: 3px solid #38394D;
      border-bottom: 3px solid #38394D;
      border-top: 3px solid #38394D;
      border-right: 3px solid #38394D;
      box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }

/* ===================== Contact / privacy / footer ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.office {
  background: #fff;
  border-radius: 0;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.office:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.office h3 {
  color: #f67f21;
  margin-bottom: 8px;
}

.office p {
  margin: 4px 0;
  color: #555;
  font-size: 0.95rem;
}

.office-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.office a:hover .office-img {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  background-color: #f67f21;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.map-link:hover {
  background-color: #d96d1a;
}

.contact-main {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  align-items: stretch;
}

.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 0;
  max-width: 500px;
  flex: 1 1 400px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.contact-form h3 {
  color: #f67f21;
  margin-bottom: 15px;
  text-align: center;
}

.contact-form form input, .contact-form form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 0;
}

.contact-form form button {
  background-color: #f67f21;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 0;
  cursor: pointer;
  width: 100%;
}

.contact-form form button:hover {
  background-color: #d96d1a;
}

.contact-social {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.contact-social h3 {
  color: #f67f21;
  margin-bottom: 10px;
  text-align: left;
}

.contact-social ul.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-social ul li a {
  text-decoration: none;
  color: #38394D;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-social ul li a:hover {
  color: #f67f21;
}

.contact-social .social-icons {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.contact-social .social-icons li {
  display: inline-flex !important;
  margin: 0;
}

.contact-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-left {
  background-color: transparent;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.footer-left .accreditations {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left .accreditations img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-left .accreditations img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-center p {
  position: static;
  left: auto;
  transform: none;
  text-align: center;
  font-size: 0.95rem;
  margin: 0;
}

.footer-right a:hover {
  color: #fff;
}

.office-region {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 3px;
}

.office-phone a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.office-phone .tel-prefix {
  color: #f67f21;
  margin-right: 4px;
}

.office-phone a:hover {
  color: #f67f21;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.office .map-link {
  margin-top: auto;
}

.contact-row .office, .contact-row .contact-form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-row iframe {
  height: 240px;
  max-width: 100%;
}

.contact-form .contact-social {
  display: block;
  flex: none;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-form form textarea {
  max-width: 100%;
  min-width: 100%;
  resize: vertical;
  min-height: 120px;
}

.contact-form .social-icons {
  justify-content: center;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 18px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.footer-container {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-offices {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border-radius: 8px;
  flex-wrap: wrap;
}

.footer-office {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: center;
  min-width: 140px;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.footer-right a {
  color: #f67f21;
  margin-left: 0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}




/* ===================== Utilities / miscellaneous ===================== */

.section {
  text-align: center;
}

.section.alt {
  background: #FFF;
}

.btn {
  background: #f67f21;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.3s;
}

.btn:hover {
  background: #d95f00;
}

#services {
  padding-top: 120px;
  margin-top: -60px;
  background: #f9f9f9;
}

#services h2 {
  text-align: center;
  color: #f67f21;
  margin-bottom: 40px;
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 10px 0 0;
}

.social-icons li {
  display: inline-flex;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0e1130;
  background: #f2f2f2;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icons a:hover {
  background: #f67f21;
  color: #fff;
  transform: translateY(-2px);
}

.social-heading {
  margin-top: 10px;
}

.image-break {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-break .overlay {
  background: rgba(0,0,0,0.25);
  color: #fff;
  text-align: center;
  padding: 0.5rem 0.5rem;
  border-radius: 12px;
}

.image-break h2 {
  font-size: 2.5rem;
  color: #f67f21;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

#page {
  opacity: 1;
  transition: opacity 220ms ease;
}

#page.is-exiting {
  opacity: 0;
}

ul.metadata-list {
  display: inline-block;
  text-align: left;
}

.back-portfolio {
  text-align: center;
  margin: 20px 0;
}

.back-portfolio .btn {
  background-color: #f67f21;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}

.back-portfolio .btn:hover {
  background-color: #d96d1a;
  transform: translateY(-2px);
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  padding: 18px;
  pointer-events: auto;
}

.cookie-modal__panel {
  max-width: 680px;
  margin: 10vh auto 0;
  background: rgba(14, 17, 48, 0.98);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 22px;
  position: relative;
  pointer-events: auto;
}

.cookie-modal__title {
  margin: 0 0 10px 0;
}

.cookie-modal__text {
  margin: 0 0 16px 0;
  line-height: 1.4;
  text-shadow: 1px 1px 3px black;
}

.cookie-modal__text a {
  color: #f67f21;
  font-weight: bold;
  text-decoration: none;
}

.cookie-modal__text a:hover {
  text-decoration: underline;
}

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.75);
  padding: 18px;
  pointer-events: auto;
}

.cookie-modal-content {
  background: rgba(14, 17, 48, 0.98);
  color: #fff;
  max-width: 760px;
  margin: 10vh auto 0;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-height: 75vh;
  overflow-y: auto;
  position: relative;
  pointer-events: auto;
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  cursor: pointer;
}

.cookie-btn {
  appearance: none;
  border: none;
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.cookie-btn--primary {
  background: #f67f21;
  color: #fff;
}

.cookie-btn--primary:hover {
  background: #d95f00;
}

.cookie-btn--secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.cookie-btn--secondary:hover {
  background: rgba(255,255,255,0.22);
}

.finance-partnership {
  margin: 20px 0 30px 0;
  text-align: center;
}

.finance-partnership__label {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.finance-partnership__logo {
  max-height: 70px;
  width: auto;
  display: inline-block;
}

.brochure-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.brochure-modal.is-open {
  display: block;
}

.brochure-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.brochure-modal__panel {
  position: relative;
  max-width: 520px;
  margin: 10vh auto 0;
  background: #fff;
  padding: 28px;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.brochure-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #38394D;
}

.brochure-form {
  margin-top: 18px;
}

.brochure-form__field {
  margin-bottom: 14px;
}

.brochure-form__field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #38394D;
}

.brochure-form__field input[type="text"], .brochure-form__field input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 0;
}

.brochure-form__checkbox label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: normal;
}

.brochure-form__message {
  margin-top: 12px;
  font-size: 0.95rem;
}

footer {
  background: rgba(30, 26, 49, 0.5);
  color: #fff;
  padding: 18px 20px;
  position: relative;
}

/* About page history/timeline stacked layout */
.history-about-section .about-container--single {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
}
.history-timeline-block {
  max-width: 1600px;
  margin: 0 auto 4rem;
  text-align: center;
}
.history-timeline-block h2 {
  margin-bottom: 2rem;
}
.timeline-image-wrap--full {
  width: 100%;
  margin: 0 auto;
}
.timeline-image-wrap--full img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.about-content-full {
  max-width: 1100px;
  margin: 0 auto;
}
.about-content-full h2 {
  margin-top: 0;
}
/* ===================== Responsive rules ===================== */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p.strapline {
    font-size: 1rem;
  }

  .about-container {
    flex-direction: column;
  }

  .timeline-grid {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-pair {
    margin-bottom: 40px;
  }

  .timeline-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-merge {
    margin-top: 18px;
    padding-top: 0;
  }

  .timeline-merge::before, .timeline-merge::after {
    display: none;
  }

  .contact-main {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, .contact-social {
    max-width: 100%;
    flex: none;
    text-align: center;
  }

  .contact-social h3 {
    text-align: center;
  }

  .contact-social ul {
    align-items: center;
  }

  .footer-right a {
    margin-left: 0;
    margin-right: 0;
    font-size: 0.8rem;
  }

  .portfolio-grid {
    flex-direction: column;
  }

  .portfolio-column {
    flex: 1 1 100%;
  }

  .image-break {
    background-attachment: scroll;
  }

  .cookie-modal__panel {
    margin-top: 6vh;
    padding: 18px;
  }

  .cookie-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-modal-content {
    margin-top: 6vh;
    padding: 18px;
    max-height: 80vh;
  }

  .service-card, .service-card__media {
    min-height: 250px;
  }

  .service-card__icon {
    width: 80px;
    height: 80px;
  }

  .service-card__title {
    font-size: 1.1rem;
  }

  .service-hero {
    min-height: 150px;
  }

  .service-hero__overlay {
    padding: 68px 16px 14px;
  }

  .service-hero h1 {
    font-size: 1.5rem;
  }

  .service-body {
    padding: 18px 16px 24px;
  }

  .service-intro-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-panel {
    padding: 16px;
  }

  .team-modal__panel {
    width: min(92vw, 680px);
    margin: 6vh auto;
    padding: 28px 22px;
  }

  .team-modal__content {
    grid-template-columns: 140px 1fr;
    gap: 20px;
  }

  .portfolio-lightbox {
    padding: 16px;
  }

  .portfolio-lightbox__dialog {
    width: 100%;
  }

  .portfolio-lightbox__dialog img {
    max-width: 100%;
    max-height: 78vh;
  }

  .portfolio-lightbox__close {
    top: -8px;
    right: -4px;
  }

  .portfolio-lightbox__nav {
    width: 44px;
    height: 56px;
    font-size: 1.6rem;
  }

  .portfolio-lightbox__nav--prev {
    left: 4px;
  }

  .portfolio-lightbox__nav--next {
    right: 4px;
  }

  .portfolio-lightbox__hint {
    font-size: 0.8rem;
  }

  body {
    padding-top: 0 !important;
  }

  header {
    height: 64px;
    padding: 0 14px;
  }

  .navbar {
    min-height: 64px;
  }

  .logo-container .logo img {
    height: 70px;
    max-width: 180px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0e1130;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    display: none;
    padding: 10px 0;
    left: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    z-index: 1200;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-size: 1rem;
    display: block;
    padding: 14px 20px;
    text-align: center;
  }

  .nav-dropdown > .nav-dropdown__link { position:relative; }
  .nav-dropdown__arrow { margin-left:8px; }
  .nav-submenu { position:static; min-width:0; width:100%; padding:0; background:rgba(255,255,255,.06); box-shadow:none; opacity:1; visibility:visible; transform:none; display:none; }
  .nav-dropdown.is-open > .nav-submenu { display:block; }
  .nav-dropdown.is-open > .nav-dropdown__link .nav-dropdown__arrow { transform:rotate(180deg); }
  .nav-submenu a { padding:11px 20px; font-size:.92rem; font-weight:600; color:rgba(255,255,255,.88); }

  section {
    min-height: auto;
    padding: 80px 16px 50px;
  }

  .hero {
    padding-bottom: 60px;
    min-height: calc(100svh - 64px);
    height: auto;
    padding: 100px 16px 90px;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    padding: 0;
  }

  .hero-content h1, #hero-typewriter {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.15;
    white-space: normal;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: stretch;
  }

  .footer-left, .footer-center, .footer-right {
    margin: 0;
    width: 100%;
    justify-content: center;
  }

  .footer-offices {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .footer-office {
    width: 100%;
    max-width: 280px;
  }

  .footer-right {
    justify-content: center;
    margin-left: 0;
    text-align: center;
    gap: 6px 12px;
  }

  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .portfolio-filters button {
    margin: 0;
    width: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-container, .portfolio-container, .sectors-hub__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sectors-hub__inner {
    max-width: 100%;
  }

  body.home-fixed {
    height: auto;
    overflow: visible;
  }

  body.home-fixed .hero {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: calc(100svh - 64px);
    padding-bottom: 90px;
  }

  body.home-fixed footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }

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

  .service-card__media {
    min-height: 180px;
    padding: 28px 18px;
  }

  .service-card__overlay {
    position: static;
    opacity: 1;
    transform: none;
    background: #38394D;
    padding: 18px;
    pointer-events: auto;
  }

  .service-card__overlay-inner h3 {
    display: none;
  }

  .service-card__overlay-inner p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .service-card__cta {
    background: #f67f21;
    border: none;
    padding: 11px 16px;
    font-weight: 700;
  }

  .about-hero--text-overlay {
    height: auto;
    min-height: 520px;
    padding: 130px 20px 60px;
  }

  .about-hero__content h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .about-hero__content p {
    font-size: 1.05rem;
  }

  .about-page-mockup .about-left, .about-page-mockup .about-right {
    padding: 24px;
  }

  .team-hero--text-overlay {
    height: auto;
    min-height: 520px;
    padding: 130px 20px 60px;
  }

  .team-hero__content h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .team-hero__content p {
    font-size: 1.05rem;
  }

  .team-page-mockup .team-section {
    padding-top: 45px;
  }

  .project-hero--text-overlay {
    height: auto;
    min-height: 520px;
    padding: 130px 20px 60px;
  }

  .project-hero__content h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .project-hero__content p {
    font-size: 1.05rem;
  }

  .project-hero__tags {
    gap: 8px;
  }

  .project-hero__tags span {
    font-size: 0.82rem;
  }

}

@media (max-width: 480px) {
  .image-container .overlay {
    font-size: 0.85rem;
    padding: 10px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member .overlay.overlay--cta p {
    font-size: 0.85rem;
    padding: 9px 14px;
  }

  .team-modal__text h3 {
    font-size: 1.45rem;
  }

  body {
    padding-top: 60px;
  }

  header {
    height: 60px;
    padding: 0 12px;
  }

  .navbar {
    min-height: 60px;
  }

  .logo-container .logo img {
    height: 64px;
    max-width: 165px;
  }

  .office-region {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .office-phone a {
    font-size: 0.9rem;
  }

  .footer-right a {
    font-size: 0.75rem;
  }

  .portfolio-grid, .contact-row, .cards {
    gap: 16px;
  }

}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sector-split--reverse .sector-split__image, .sector-split--reverse .sector-split__content {
    order: initial;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-page .sectors-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .about-stats {
    grid-template-columns: 1fr;
    margin: 0 20px 28px;
  }

  .about-page-mockup .about-container {
    padding: 0 20px;
  }

  .team-intro-strip__inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sectors-page .sectors-grid {
    grid-template-columns: 1fr !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  #page {
    transition: none;
  }

  .hero-video {
    display: none;
  }

  .service-card, .service-card__icon, .service-card__overlay {
    transition: none;
    transform: none;
  }

}

@media (max-width: 700px) {
  .contact-row {
    grid-template-columns: 1fr;
  }

  .sector-row {
    flex-wrap: wrap;
    margin-top: 16px;
    gap: 12px;
  }

  .sector-row--offset {
    transform: none;
  }

  .sector-tile {
    width: 150px;
    height: 150px;
  }

  .sector-tile__title {
    width: 92px;
    font-size: 0.78rem;
  }

}

@media (max-width: 1100px) {
  .sector-row {
    margin-top: -90px;
  }

  .sector-row--offset {
    transform: translateX(90px);
  }

  .sector-tile {
    width: 180px;
    height: 180px;
  }

  .sector-tile__title {
    width: 110px;
    font-size: 0.85rem;
  }

}

@media (max-width: 520px) {
  .sector-tile--accent {
    display: none;
  }

}

@media (max-width:900px) {
  .sector-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sector-brochure-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .team-modal__content {
    grid-template-columns: 1fr;
  }

  .team-modal__image-wrap {
    position: static;
    max-width: 180px;
  }

}

@media (hover: none) and (pointer: coarse) {
  .portfolio-overlay, .service-card__overlay, .image-container .overlay, .team-member .overlay {
    opacity: 1;
    transform: none;
    bottom: 0;
    background: rgba(56, 57, 77, 0.78);
  }

  .portfolio-item:hover, .team-member:hover, .service-card:hover {
    transform: none;
  }

}



@media (max-width: 768px) {
  body {
    padding-top: 0 !important;
  }

  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 5000 !important;
  }

  .hero,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay {
    min-height: 100svh !important;
    height: 100svh !important;
    margin-top: 0 !important;
    padding-top: 130px !important;
  }
}
/* Team profile LinkedIn buttons */
.team-page-mockup .team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 7px 11px;
  background: #0a66c2;
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 3px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.team-page-mockup .team-linkedin:hover {
  transform: translateY(-1px);
  filter: brightness(0.92);
}

.team-page-mockup .team-linkedin:focus-visible {
  outline: 3px solid rgba(10, 102, 194, 0.3);
  outline-offset: 3px;
}

.team-page-mockup .team-linkedin__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #fff;
  color: #0a66c2;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
/* ===================== Mobile hero image optimisation ===================== */
/* Keeps hero artwork proportional on phones and prevents stretched images. */
@media (max-width: 768px) {
  .hero,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay,
  .service-hero,
  .knowledge-hero--text-overlay {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  .hero-video,
  body.home-fixed .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Full homepage hero remains screen-filling but uses the mobile viewport. */
  .hero--full,
  body.home-fixed .hero {
    height: 100svh;
    min-height: 100svh;
  }

  /* Inner-page heroes are less excessively tall on mobile. */
  .hero--compact,
  .hero--low-res,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay {
    height: 72svh !important;
    min-height: 500px !important;
    max-height: 760px;
  }
}

@media (max-width: 480px) {
  .hero,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay,
  .service-hero,
  .knowledge-hero--text-overlay {
    background-size: cover !important;
    background-position: 50% 50% !important;
  }

  .hero--compact,
  .hero--low-res,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay {
    height: 68svh !important;
    min-height: 460px !important;
    max-height: 680px !important;
    padding-top: 96px !important;
  }

  .hero--full,
  body.home-fixed .hero {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: none !important;
  }

  .hero-video,
  body.home-fixed .hero-video {
    object-fit: cover;
    object-position: 50% 50%;
  }
}

/* ================= Mobile balanced hero scaling =================
   Keeps more of wide hero artwork visible by reducing the mobile hero
   aspect ratio, while scaling overlay text and controls with the image. */
@media (max-width: 768px) {
  .hero,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay,
  .service-hero,
  .knowledge-hero--text-overlay {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  /* Homepage / full hero: shorter than the phone viewport = less side cropping. */
  .hero--full,
  body.home-fixed .hero {
    height: clamp(520px, 78svh, 720px) !important;
    min-height: 520px !important;
    max-height: 720px !important;
    padding: 92px 18px 54px !important;
  }

  /* Inner-page heroes use a shallower frame so more of the original image shows. */
  .hero--compact,
  .hero--low-res,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay,
  .service-hero,
  .knowledge-hero--text-overlay {
    height: clamp(440px, 62svh, 620px) !important;
    min-height: 440px !important;
    max-height: 620px !important;
    padding-top: 88px !important;
    padding-bottom: 46px !important;
  }

  .hero-content,
  .about-hero__content,
  .team-hero__content,
  .project-hero__content,
  .service-hero__inner {
    width: min(100%, 680px);
    padding-left: 2px;
    padding-right: 2px;
  }

  .hero-content h1,
  #hero-typewriter,
  .about-hero__content h1,
  .team-hero__content h1,
  .project-hero__content h1,
  .service-hero h1 {
    font-size: clamp(1.9rem, 7vw, 3rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 14px;
    white-space: normal;
  }

  .hero-content p,
  .hero-content p.strapline,
  .about-hero__content p,
  .team-hero__content p,
  .project-hero__content p,
  .service-hero p {
    font-size: clamp(0.92rem, 3.4vw, 1.08rem) !important;
    line-height: 1.45 !important;
  }

  .hero .btn,
  .about-hero--text-overlay .btn,
  .team-hero--text-overlay .btn,
  .project-hero--text-overlay .btn,
  .service-hero .btn {
    width: auto !important;
    max-width: 100%;
    padding: 11px 18px !important;
    font-size: 0.92rem !important;
  }

  .about-hero__tags,
  .team-hero__tags,
  .project-hero__tags {
    gap: 7px;
  }

  .about-hero__tags span,
  .team-hero__tags span,
  .project-hero__tags span {
    font-size: 0.76rem !important;
    padding: 6px 9px;
  }
}

@media (max-width: 480px) {
  .hero--full,
  body.home-fixed .hero {
    height: clamp(480px, 72svh, 610px) !important;
    min-height: 480px !important;
    max-height: 610px !important;
    padding: 80px 14px 42px !important;
  }

  .hero--compact,
  .hero--low-res,
  .about-hero--text-overlay,
  .team-hero--text-overlay,
  .project-hero--text-overlay,
  .service-hero,
  .knowledge-hero--text-overlay {
    height: clamp(390px, 58svh, 520px) !important;
    min-height: 390px !important;
    max-height: 520px !important;
    padding: 76px 14px 36px !important;
  }

  .hero-content h1,
  #hero-typewriter,
  .about-hero__content h1,
  .team-hero__content h1,
  .project-hero__content h1,
  .service-hero h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.35rem) !important;
    line-height: 1.06 !important;
    margin-bottom: 10px;
  }

  .hero-content p,
  .hero-content p.strapline,
  .about-hero__content p,
  .team-hero__content p,
  .project-hero__content p,
  .service-hero p {
    font-size: clamp(0.86rem, 3.7vw, 0.98rem) !important;
    line-height: 1.4 !important;
  }

  .hero .btn,
  .about-hero--text-overlay .btn,
  .team-hero--text-overlay .btn,
  .project-hero--text-overlay .btn,
  .service-hero .btn {
    padding: 10px 15px !important;
    font-size: 0.86rem !important;
  }

  .about-hero__tags span,
  .team-hero__tags span,
  .project-hero__tags span {
    font-size: 0.7rem !important;
    padding: 5px 8px;
  }
}
.knowledge-page .section.alt {
  min-height: auto;
  padding: 40px 20px 45px;
}
/* Footer preview: keep the original three offices visible; group only policy links */
body.home-fixed {
  height: 100vh;
  overflow: hidden;
}

body.home-fixed .hero {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  padding-bottom: 120px;
}

body.home-fixed footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  padding: 14px 20px;
  background: rgba(30, 26, 49, 0.72);
  backdrop-filter: blur(6px);
}

body.home-fixed footer .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  width: 100%;
}

/* Preserve the existing office presentation */
body.home-fixed footer .footer-offices {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 0;
  min-width: 0;
}

body.home-fixed footer .footer-office {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  text-align: center;
  line-height: 1.2;
}

/* Only these two items behave as menus */
.footer-policy-groups {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.footer-policy-group {
  position: relative;
}

.footer-policy-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.footer-policy-toggle:hover,
.footer-policy-toggle:focus-visible,
.footer-policy-group.is-open .footer-policy-toggle {
  color: #f67f21;
  background: rgba(246,127,33,0.12);
  border-color: rgba(246,127,33,0.5);
}

.footer-policy-toggle__icon {
  color: #f67f21;
  transition: transform 0.2s ease;
}

.footer-policy-group.is-open .footer-policy-toggle__icon {
  transform: rotate(45deg);
}

.footer-policy-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: none;
  width: max-content;
  min-width: 230px;
  max-width: min(320px, 88vw);
  padding: 12px 0;
  background: rgba(30, 26, 49, 0.97);
  border-top: 2px solid #f67f21;
  box-shadow: 0 -10px 28px rgba(0,0,0,0.3);
}

.footer-policy-group.is-open .footer-policy-menu {
  display: block;
}

.footer-policy-menu a {
  display: block;
  padding: 9px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
}

.footer-policy-menu a:hover,
.footer-policy-menu a:focus-visible {
  color: #f67f21;
  background: rgba(255,255,255,0.05);
}

@media (max-width: 900px) {
  body.home-fixed {
    height: auto;
    overflow: visible;
  }

  body.home-fixed .hero {
    position: relative;
    inset: auto;
    min-height: 100svh;
    height: auto;
    padding-bottom: 90px;
  }

  body.home-fixed footer {
    position: relative;
    padding: 16px 14px;
  }

  body.home-fixed footer .footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  body.home-fixed footer .footer-offices {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  body.home-fixed footer .footer-office {
    width: 100%;
    max-width: 280px;
  }

  .footer-policy-groups {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-left: 0;
  }

  .footer-policy-toggle {
    width: 100%;
  }

  .footer-policy-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 6px;
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

@media (max-width: 520px) {
  .footer-policy-groups {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE NAVIGATION - FLAT MENU
   On mobile, hide the parent "About" / "Expertise" headings
   and show their actual destination links as normal menu items.
   Desktop dropdown behaviour is unchanged.
   ========================================================= */

@media (max-width: 768px) {
  .nav-dropdown {
    position: static !important;
    width: 100%;
  }

  .nav-dropdown > .nav-dropdown__link {
    display: none !important;
  }

  .nav-dropdown__arrow {
    display: none !important;
  }

  .nav-submenu,
  .nav-dropdown.is-open > .nav-submenu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-submenu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-submenu li a {
    display: block !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #fff;
    text-align: center;
    white-space: normal;
    background: transparent;
  }

  .nav-submenu li a:hover,
  .nav-submenu li a.active {
    color: #f67f21;
  }
}
