:root {
  --color-bg: #0f172a;
  --color-bg-soft: #f3f4f6;
  --color-surface: #ffffff;
  --color-primary: #0b3b75;
  --color-primary-soft: #1d4ed8;
  --color-accent: #d4af37;
  --color-text: #111827;
  --color-text-soft: #4b5563;
  --color-border-subtle: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: min(96%, 1120px);
  z-index: 20;
  background: rgb(15, 23, 42);
  backdrop-filter: blur(10px);
  border-radius: 3rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #f9fafb;
  padding-right: max(3rem, 5vw);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(156, 163, 175, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #cbd5f5;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
  position: relative;
  color: #e5e7eb;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #1d4ed8);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 80vh;
  color: #f9fafb;
  background-color: #020617;
  display: flex;
  align-items: stretch;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.88),
    rgba(15, 23, 42, 0.75)
  );
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Remove native overlay / play affordance flash (Chrome, Safari, Edge) */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-overlay-enclosure,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 4.5rem 1.5rem 4rem;
}

.hero-text {
  max-width: 540px;
}

.hero h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3.1vw + 1.8rem, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-soft));
  color: #0b1120;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: #cbd5f5;
}

.section {
  padding: 4.5rem 0;
}

.section-intro {
  background: var(--color-bg-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.intro-logo-wrap {
  display: flex;
  justify-content: center;
}

.intro-logo {
  width: min(100%, 430px);
  border-radius: 1.2rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.intro-content {
  display: grid;
  gap: 1rem;
}

.section-kicker {
  width: 80px;
  height: 3px;
  background: var(--color-primary-soft);
  margin-bottom: 1.2rem;
}

.intro-quote h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0;
  color: #0b1120;
}

.intro-copy p {
  margin: 0 0 1.4rem;
  color: var(--color-text-soft);
}

.intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dbe3ef;
  color: #1f2937;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.feature-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  flex: 0 0 7px;
}

.section-services {
  background: #ffffff;
}

.section-header {
  text-align: left;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.8rem;
  margin: 0 0 0.7rem;
  color: #0b1120;
}

.section-header p {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 34rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.7rem;
}

.service-card {
  flex: 0 1 calc((100% - 3.4rem) / 3);
  background: var(--color-surface);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: scale(1.02);
  border-color: #cdd9eb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.service-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.section-process .process-progress {
  position: relative;
  margin-bottom: 1.6rem;
  min-height: 20px;
  --process-start: 0%;
  --process-end: 100%;
  --process-fill: 0%;
}

.section-process .process-layout {
  display: block;
}

.section-process .process-bar {
  position: absolute;
  left: var(--process-start);
  right: calc(100% - var(--process-end));
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 999px;
  background: #dbe3ef;
  overflow: hidden;
}

.section-process .process-bar-fill {
  display: block;
  width: var(--process-fill);
  height: 100%;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6);
  transition: width 0.28s ease;
}

.section-process .process-points {
  position: absolute;
  inset: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-process .process-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #c5d0e3;
  background: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.section-process .process-point::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #2563eb;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.section-process .process-point.completed::after {
  opacity: 1;
}

.section-process .process-point.active {
  transform: translate(-50%, -50%) scale(1.12);
  border-color: #1d4ed8;
  background: #eff6ff;
}

.section-process .process-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section-process .process-step.active {
  transform: scale(1.05);
  border-color: #a8bfdc;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.section-stats {
  padding: 1.6rem 0;
  margin: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  min-height: 168px;
  padding: 1.5rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, #0b1326, #0f172a);
  text-align: center;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-value {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.55rem;
  color: #f8fafc;
}

.stat-label {
  font-size: 0.93rem;
  max-width: 15rem;
  margin: 0 auto;
  color: #dbe3ef;
}

.stat-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.45rem;
}

.stat-location .stat-label {
  font-weight: 600;
  max-width: 16rem;
}

.section-projects {
  background: #ffffff;
}

.section-commitment {
  text-align: justify;
}

.section-projects-list {
  background: #ffffff;
}

.section-contact {
  background: var(--color-bg-soft);
}

#contact-form {
  scroll-margin-top: 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 1.6rem;
  align-items: start;
  padding: 0;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.4rem;
}

.contact-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.1rem;
  color: #0b1120;
}

.contact-card p {
  margin: 0 0 0.9rem;
  color: var(--color-text-soft);
}

.contact-card a {
  color: #0b3b75;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
  margin: 1.1rem 0;
}

.map-wrap {
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.contact-form {
  margin-top: 0.3rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-form .field > span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b1120;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #ffffff;
  outline: none;
}

.contact-form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: #1d4ed8;
  cursor: pointer;
  vertical-align: middle;
}

.contact-form .field.field-services {
  gap: 0.35rem;
}

.contact-form .field > span.field-hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-soft);
  margin-top: -0.05rem;
  line-height: 1.4;
}

.contact-form .service-multiselect {
  position: relative;
  margin-top: 0.1rem;
}

.contact-form .service-multiselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: calc(2px + 0.7rem * 2 + 1.35em);
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.75rem;
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form .service-multiselect-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form .service-multiselect-label.is-placeholder {
  color: #64748b;
}

.contact-form .service-multiselect-chevron {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #64748b;
  transition: transform 0.2s ease;
}

.contact-form .service-multiselect.is-open .service-multiselect-chevron {
  transform: rotate(180deg);
}

.contact-form .service-multiselect-panel {
  position: fixed;
  z-index: 100600;
  box-sizing: border-box;
  margin: 0;
  padding: 0.35rem 0;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
  max-height: min(260px, 46vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.contact-form .service-multiselect-panel[hidden] {
  display: none !important;
}

.contact-form .service-multiselect-panel .service-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

.contact-form .service-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.48rem 0.75rem;
  font: inherit;
  font-weight: 400;
  font-size: 0.94rem;
  line-height: 1.35;
  color: #0f172a;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.12s ease;
}

.contact-form .service-option:hover {
  background-color: rgba(241, 245, 249, 0.9);
}

.contact-form .service-option span {
  flex: 1;
  min-width: 0;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(29, 78, 216, 0.75);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.contact-form .service-multiselect-trigger:focus-visible,
.contact-form .service-multiselect.is-open .service-multiselect-trigger {
  border-color: rgba(29, 78, 216, 0.75);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin: 0.2rem 0 1rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-status {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Home: enquiry modal */
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.enquiry-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.enquiry-modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  height: auto;
  min-height: 0;
  max-height: min(90vh, 920px);
  max-height: min(90dvh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem 1.65rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.enquiry-modal-dialog .contact-form {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.enquiry-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.enquiry-modal-close:hover {
  background: rgba(15, 23, 42, 0.14);
}

.enquiry-modal-close:focus,
.enquiry-modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.enquiry-modal-title {
  margin: 0 2.5rem 0.5rem 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.35rem;
  color: #0b1120;
}

.enquiry-modal-lead {
  margin: 0 0 1.05rem;
  font-size: 0.92rem;
  color: var(--color-text-soft);
  line-height: 1.55;
}

body.enquiry-modal-open {
  overflow: hidden;
}

/* Modal: message area fixed to ~4 rows (field-message on index.html) */
.enquiry-modal-dialog .contact-form .field.field-message {
  flex: 0 0 auto;
  margin-bottom: 0.65rem;
}

.enquiry-modal-dialog .contact-form textarea {
  box-sizing: border-box;
  line-height: 1.35;
  resize: none;
  overflow-y: auto;
  field-sizing: fixed;
  height: 6.75rem;
  max-height: 6.75rem;
  height: calc(4 * 1lh + 1.45rem);
  max-height: calc(4 * 1lh + 1.45rem);
}

.enquiry-modal-dialog .contact-form .form-note {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.project-card:hover {
  transform: scale(1.02);
  border-color: #cdd9eb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-media-carousel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-media-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.project-media-slide {
  min-width: 100%;
}

.project-media-slide img,
.project-media-slide video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.project-media-dots {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.project-media-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.4);
}

.project-media-dot.active {
  background: #ffffff;
}

.project-media-counter {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
}

.project-content {
  padding: 1rem 0.95rem 1rem;
}

.project-content h3 {
  margin: 0 0 0.7rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.05rem;
  color: #0b1120;
}

.project-text {
  margin: 0 0 0.75rem;
  color: var(--color-text-soft);
  line-height: 1.72;
  line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.project-card.expanded .project-text {
  line-clamp: unset;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.project-card.no-toggle .project-text {
  line-clamp: unset;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.project-scope {
  margin-bottom: 0.85rem;
}

.project-scope h4 {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
}

.project-scope ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
}

.project-scope li {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
}

.project-toggle {
  margin-top: 0.8rem;
  background: rgba(15, 23, 42, 0.7);
}

.project-toggle:hover {
  background: rgba(15, 23, 42, 0.9);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(92vw, 1080px);
  max-height: 88vh;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
}

.lightbox-media {
  width: 100%;
  max-height: 88vh;
  border-radius: 1rem;
  display: block;
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: rgb(255, 255, 255);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.lightbox-close {
  top: -2.1rem;
  right: 0;
  font-size: 1.5rem;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.55rem;
}

.lightbox-arrow.prev {
  left: 0.2rem;
}

.lightbox-arrow.next {
  right: 0.2rem;
}

.lightbox-meta {
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.lightbox-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.65);
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
}

.lightbox-dots {
  display: flex;
  gap: 0.35rem;
}

.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.lightbox-dot.active {
  background: #ffffff;
}

@media (max-width: 1024px) {
  .lightbox-content {
    width: min(96vw, 920px);
  }
}

@media (max-width: 770px) {
  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-content {
    width: 100%;
    max-height: 92vh;
  }

  .lightbox-media {
    max-height: 72vh;
  }

  .lightbox-meta {
    margin-top: 0.55rem;
    gap: 0.3rem;
  }

  .lightbox-counter {
    font-size: 0.74rem;
  }
}

.commitment-copy h2 {
  margin: 0 0 0.8rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.8rem;
  color: #0b1120;
}

.commitment-copy p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.75;
}

.projects-placeholder {
  margin-top: 1.5rem;
}

.placeholder-card {
  border-radius: 1rem;
  padding: 2.4rem;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.05),
      transparent 55%
    ),
    #f9fafb;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.section-testimonials {
  background: var(--color-bg-soft);
}

.testimonials-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #c9d4e5;
  border-radius: 999px;
  background: #ffffff;
  color: #0b3b75;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonials-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.testimonials-track-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-grid {
  display: flex;
  gap: 2rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.testimonial {
  flex: 0 0 calc((100% - 4rem) / 3);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1.2rem 1.1rem;
}

.testimonial-line {
  width: 40px;
  height: 3px;
  background: var(--color-primary-soft);
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  margin: 0 0 1.1rem;
}

.testimonial h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: #111827;
}

.site-footer {
  background: #092344;
  color: #e5e7eb;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 0 1.5rem 2.4rem;
}

.footer-brand h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
  max-width: 20rem;
}

.footer-brand .footer-social {
  margin-top: 1rem;
}

.footer-column h3 {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.footer-column p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-column a {
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.9rem 1.5rem 1.4rem;
  font-size: 0.8rem;
  color: #cbd5f5;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    position: sticky;
    transform: none;
    border-radius: 0;
  }

  .header-inner {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .brand {
    padding-right: 0;
  }

  .main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: nowrap;
    font-size: 0.9rem;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .services-grid {
    justify-content: center;
  }

  .service-card {
    flex-basis: calc((100% - 1.7rem) / 2);
  }

  .section-process .services-grid {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .section-process .service-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 1rem 0.85rem;
  }

  .section-process .service-media {
    margin-bottom: 0.75rem;
  }

  .section-process .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
  }

  .section-process .service-card p {
    font-size: 0.88rem;
  }

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

  .stat:last-child {
    grid-column: span 2;
  }

  .testimonial {
    flex-basis: calc((100% - 2rem) / 2);
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 770px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 1rem;
    background: rgb(15, 23, 42);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    z-index: 25;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.35rem 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding-block: 3.2rem;
  }

  .hero-text {
    max-width: none;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    justify-content: stretch;
  }

  .service-card {
    flex-basis: 100%;
  }

  .section-process .process-layout {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
  }

  .section-process .process-progress {
    width: 22px;
    min-height: 100%;
    margin-bottom: 0;
  }

  .section-process .process-progress.vertical .process-bar {
    left: 50%;
    right: auto;
    top: var(--process-start);
    bottom: calc(100% - var(--process-end));
    width: 6px;
    height: auto;
    transform: translateX(-50%);
  }

  .section-process .process-progress.vertical .process-bar-fill {
    width: 100%;
    height: var(--process-fill);
  }

  .section-process .process-progress.vertical .process-points {
    inset: 0;
    top: 0;
    transform: none;
  }

  .section-process .process-progress.vertical .process-point {
    left: 50%;
    top: var(--point-pos, 0%);
    transform: translate(-50%, -50%);
  }

  .section-process .services-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.9rem;
  }

  .section-process .process-point {
    width: 14px;
    height: 14px;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat:last-child {
    grid-column: auto;
  }

  .testimonials-track-wrap {
    gap: 0.6rem;
  }

  .testimonials-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .testimonial {
    flex-basis: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Enquiry modal (home): safe-area padding + compact form */
  .enquiry-modal {
    padding: max(0.45rem, env(safe-area-inset-top, 0px))
      max(0.45rem, env(safe-area-inset-right, 0px))
      max(0.45rem, env(safe-area-inset-bottom, 0px))
      max(0.45rem, env(safe-area-inset-left, 0px));
  }

  .enquiry-modal-dialog {
    flex: 0 1 auto;
    align-self: center;
    width: min(calc(100% - 0.5rem), 520px);
    max-width: 100%;
    max-height: min(92vh, 920px);
    max-height: min(92dvh, 920px);
    padding: 0.45rem 0.6rem 0.5rem;
    border-radius: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .enquiry-modal-close {
    top: 0.35rem;
    right: 0.35rem;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.15rem;
  }

  .enquiry-modal-title {
    font-size: 1.05rem;
    margin: 0 1.75rem 0.25rem 0;
    line-height: 1.2;
  }

  .enquiry-modal-lead {
    font-size: 0.82rem;
    margin: 0 0 0.65rem;
    line-height: 1.42;
  }

  .enquiry-modal-dialog .contact-form .field {
    flex-shrink: 0;
    margin-bottom: 0.38rem;
    gap: 0.22rem;
  }

  .enquiry-modal-dialog .contact-form .field.field-message {
    margin-bottom: 0.32rem;
  }

  .enquiry-modal-dialog .contact-form .field > span {
    font-size: 0.8rem;
  }

  .enquiry-modal-dialog .contact-form input:not([type="checkbox"]),
  .enquiry-modal-dialog .contact-form select,
  .enquiry-modal-dialog .contact-form textarea {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    border-radius: 0.65rem;
  }

  .enquiry-modal-dialog .contact-form .service-multiselect-trigger {
    min-height: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    border-radius: 0.65rem;
  }

  .enquiry-modal-dialog .contact-form .service-multiselect-panel {
    border-radius: 0.65rem;
    max-height: min(220px, 38vh);
  }

  .enquiry-modal-dialog .contact-form .service-option {
    font-size: 0.88rem;
    padding: 0.42rem 0.6rem;
  }

  .enquiry-modal-dialog .contact-form .field > span.field-hint {
    font-size: 0.74rem;
  }

  .enquiry-modal-dialog .contact-form textarea {
    height: 6.35rem;
    max-height: 6.35rem;
    height: calc(4 * 1lh + 1rem);
    max-height: calc(4 * 1lh + 1rem);
    -webkit-overflow-scrolling: touch;
  }

  .enquiry-modal-dialog .form-row {
    gap: 0.45rem;
  }

  .enquiry-modal-dialog .form-note {
    font-size: 0.76rem;
    margin: 0 0 0.5rem;
    line-height: 1.38;
  }

  .enquiry-modal-dialog .form-actions {
    gap: 0.3rem;
    padding-top: 0.15rem;
  }

  .enquiry-modal-dialog .form-actions .btn {
    width: 100%;
    padding: 0.52rem 1rem;
    font-size: 0.88rem;
  }

  .enquiry-modal-dialog .form-status {
    font-size: 0.74rem;
    min-height: 1em;
    line-height: 1.25;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

