:root {
  --navy-950: #041326;
  --navy-900: #071b34;
  --navy-800: #0b2b50;
  --navy-700: #123d6c;
  --orange-600: #e95f0c;
  --orange-500: #f47521;
  --orange-100: #fff0e5;
  --sky-100: #edf5fb;
  --sand-100: #f7f4ef;
  --white: #ffffff;
  --ink: #142238;
  --muted: #627083;
  --line: #dce4eb;
  --success: #257a55;
  --shadow-sm: 0 10px 30px rgba(7, 27, 52, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 27, 52, 0.18);
  --radius-sm: 0.65rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
  --container: 76rem;
  --header-height: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(244, 117, 33, 0.55);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--orange-600);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 49rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--soft {
  background: var(--sand-100);
}

.section--sky {
  background: var(--sky-100);
}

.section--dark {
  color: var(--white);
  background: var(--navy-950);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--orange-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: #ff9a5b;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Arial Narrow", Aptos, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.section--dark h2,
.section--dark h3,
.hero h1,
.page-hero h1 {
  color: var(--white);
}

.lead {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
}

.section--dark .lead,
.hero .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.77);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading__copy {
  max-width: 48rem;
}

.section-heading p:last-child {
  max-width: 37rem;
  margin: 0;
  color: var(--muted);
}

.section--dark .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--orange-600);
  box-shadow: 0 12px 30px rgba(233, 95, 12, 0.3);
}

.btn--primary:hover {
  background: #d95305;
  box-shadow: 0 16px 34px rgba(233, 95, 12, 0.38);
}

.btn--light {
  color: var(--navy-950);
  background: var(--white);
}

.btn--outline {
  color: var(--navy-950);
  background: transparent;
  border-color: rgba(7, 27, 52, 0.24);
}

.section--dark .btn--outline,
.hero .btn--outline,
.page-hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--outline:hover {
  border-color: var(--orange-500);
}

.btn__icon,
.link-arrow::after {
  transition: transform 220ms var(--ease);
}

.btn:hover .btn__icon,
.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-800);
  font-weight: 800;
}

.link-arrow::after {
  content: "→";
  color: var(--orange-600);
}

.topbar {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 27, 52, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: clamp(10.25rem, 16vw, 13.4rem);
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 100%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}

.nav__links > .btn {
  display: none;
}

.nav__link {
  position: relative;
  padding-block: 1.9rem;
  color: #344257;
  font-size: 0.86rem;
  font-weight: 750;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--navy-950);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--navy-950);
  background: var(--sky-100);
  border-radius: 50%;
  cursor: pointer;
}

.nav__toggle-lines,
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav__toggle-lines {
  position: relative;
}

.nav__toggle-lines::before,
.nav__toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav__toggle-lines::before { top: -0.4rem; }
.nav__toggle-lines::after { top: 0.4rem; }

.nav__toggle[aria-expanded="true"] .nav__toggle-lines { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: clamp(42rem, 80vh, 56rem);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.hero__media,
.page-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__media img,
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(4, 19, 38, 0.96) 0%, rgba(4, 19, 38, 0.82) 38%, rgba(4, 19, 38, 0.24) 78%, rgba(4, 19, 38, 0.14) 100%);
  inset: 0;
}

.hero__inner {
  display: grid;
  align-content: center;
  padding-block: clamp(5rem, 12vw, 10rem);
}

.hero__copy {
  max-width: 50rem;
}

.hero__copy .lead {
  max-width: 37rem;
}

.hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__proof {
  display: grid;
  max-width: 47rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__proof-item {
  padding: 1.2rem 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.hero__proof-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--white);
  font-size: 1rem;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: clamp(28rem, 58vh, 39rem);
  overflow: hidden;
  align-items: end;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.page-hero__content {
  padding-block: clamp(4.25rem, 9vw, 7.5rem);
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
}

.page-hero .lead {
  max-width: 43rem;
}

.breadcrumbs {
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.45rem;
  content: "/";
  opacity: 0.5;
}

.breadcrumbs a:hover {
  color: var(--white);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 29rem;
  overflow: hidden;
  align-items: flex-end;
  padding: 1.65rem;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgba(4, 19, 38, 0.93) 100%);
  inset: 0;
}

.service-card__image {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.service-card:hover .service-card__image img {
  transform: scale(1.045);
}

.service-card__number {
  display: block;
  margin-bottom: 0.8rem;
  color: #ff9a5b;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  margin: 0.7rem 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.service-card .link-arrow {
  color: var(--white);
}

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

.expertise-link {
  display: grid;
  min-height: 9.5rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.expertise-link:hover {
  border-color: rgba(244, 117, 33, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.expertise-link__icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.expertise-link h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.expertise-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.expertise-link__arrow {
  color: var(--orange-600);
  font-size: 1.35rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.split__media--wide img {
  aspect-ratio: 4 / 3;
}

.media-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 15rem;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  background: rgba(4, 19, 38, 0.88);
  border-radius: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.split__copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  position: absolute;
  top: 0.13rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  content: "✓";
  color: var(--white);
  background: var(--orange-600);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 5.25rem 1.6rem 0 0;
  counter-increment: step;
  border-top: 1px solid rgba(7, 27, 52, 0.18);
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  content: "0" counter(step);
  color: var(--white);
  background: var(--navy-900);
  border-radius: 0 0 50% 0;
  font-size: 0.85rem;
  font-weight: 850;
}

.steps h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.project-card {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
  cursor: zoom-in;
  isolation: isolate;
}

.project-card:nth-child(3n + 1) {
  grid-column: span 7;
}

.project-card:nth-child(3n + 2) {
  grid-column: span 5;
}

.project-card img {
  width: 100%;
  height: clamp(22rem, 43vw, 35rem);
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

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

.project-card::after {
  position: absolute;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(4, 19, 38, 0.9) 100%);
  inset: 0;
}

.project-card__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.45rem;
}

.project-card__tag,
.visualisation-badge {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.34rem 0.56rem;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card h3 {
  color: var(--white);
  font-size: 1.45rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--navy-950);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.before-after__pane {
  position: relative;
  min-width: 0;
}

.before-after img {
  width: 100%;
  height: clamp(20rem, 40vw, 35rem);
  object-fit: cover;
}

.before-after__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.65rem;
  color: var(--white);
  background: rgba(4, 19, 38, 0.84);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.stat {
  padding: clamp(1.7rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.36fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 3.25rem;
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.prose p,
.prose li {
  color: #4c5a6c;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose strong {
  color: var(--navy-950);
}

.side-card {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.5rem;
  background: var(--sky-100);
  border-radius: var(--radius-md);
}

.side-card h2,
.side-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.side-card p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.side-card .btn {
  width: 100%;
}

.side-card__links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 27, 52, 0.12);
  font-size: 0.88rem;
  font-weight: 750;
}

.faq {
  display: grid;
  max-width: 55rem;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq summary {
  position: relative;
  padding: 1.25rem 3.4rem 1.25rem 1.25rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  content: "+";
  color: var(--orange-600);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.cta::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -80%;
  width: 35rem;
  height: 35rem;
  content: "";
  background: radial-gradient(circle, rgba(244, 117, 33, 0.38), transparent 68%);
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.72);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-card__icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 50%;
  font-weight: 900;
}

.contact-card small {
  display: block;
  color: var(--muted);
}

.contact-card strong {
  color: var(--navy-950);
}

.form-card {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  background: var(--sand-100);
  border-radius: var(--radius-md);
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-950);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd6df;
  border-radius: 0.55rem;
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange-500);
  outline: 3px solid rgba(244, 117, 33, 0.14);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  accent-color: var(--orange-600);
}

.form-status {
  margin: 0.8rem 0 0;
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 700;
}

.map {
  overflow: hidden;
  margin-top: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.map iframe {
  display: block;
  width: 100%;
  height: 28rem;
  border: 0;
}

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

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: var(--navy-900);
  border-radius: 0.75rem;
  cursor: zoom-in;
}

.gallery__item:nth-child(7n + 1),
.gallery__item:nth-child(7n + 4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), opacity 200ms ease;
}

.gallery__item:hover img {
  opacity: 0.88;
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 19, 38, 0.94);
  inset: 0;
}

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

.lightbox__figure {
  max-width: min(92vw, 76rem);
  margin: 0;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0.55rem;
}

.lightbox__caption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
}

.legal-callout {
  padding: 1rem 1.2rem;
  color: #68421f;
  background: #fff7df;
  border-left: 4px solid #e5a322;
  border-radius: 0.4rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.footer__brand img {
  width: 12rem;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  max-width: 26rem;
  margin: 0;
  font-size: 0.9rem;
}

.footer__column h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer__links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.87rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mobile-call {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(7, 27, 52, 0.28);
  font-size: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 68rem) {
  .topbar__location { display: none; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed;
    top: calc(var(--header-height) + 2.15rem);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    overflow-y: auto;
    align-content: start;
    gap: 0;
    padding: 1.5rem;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 300ms var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__link::after { display: none; }
  .nav__links .btn { margin-top: 1.25rem; }
  .nav__links > .btn { display: inline-flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .service-card:last-child { grid-column: 1 / -1; min-height: 24rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer__main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  :root { --header-height: 4.5rem; }
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 1rem; }
  .topbar__links a:last-child { display: none; }
  .nav { gap: 1rem; }
  .brand { width: 10rem; }
  .nav__links { top: calc(var(--header-height) + 2.15rem); }
  .nav > .btn { display: none; }
  .hero { min-height: 46rem; }
  .hero::after,
  .page-hero::after { background: linear-gradient(180deg, rgba(4, 19, 38, 0.52), rgba(4, 19, 38, 0.97) 78%); }
  .hero__inner { align-content: end; }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__proof-item { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 1rem; }
  .cards,
  .expertise-grid,
  .split,
  .contact-layout,
  .form-grid { grid-template-columns: 1fr; }
  .cards .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 25rem; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .project-card,
  .project-card:nth-child(3n + 1),
  .project-card:nth-child(3n + 2) { grid-column: 1 / -1; }
  .before-after { grid-template-columns: 1fr; }
  .before-after img { height: 23rem; }
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(5n + 1) { grid-column: span 2; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  .mobile-call { display: grid; }
}

@media (max-width: 31rem) {
  .hero__actions .btn,
  .cta-actions .btn { width: 100%; }
  .expertise-link { grid-template-columns: auto 1fr; }
  .expertise-link__arrow { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:nth-child(n) { grid-column: span 1; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}
