:root {
  --ink: #071421;
  --navy: #061d33;
  --navy-2: #0a2b47;
  --blue: #147da4;
  --cyan: #35b7d1;
  --ice: #e9f4f7;
  --silver: #b9c3cb;
  --line: #d9e0e5;
  --paper: #f5f7f8;
  --white: #ffffff;
  --muted: #64717c;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

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

.container {
  width: min(100%, calc(var(--max) + (var(--pad) * 2)));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section-pad {
  padding-block: var(--section);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: #87d8e7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.03;
}

h2 {
  max-width: 19ch;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  font-weight: 450;
  letter-spacing: -0.052em;
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--navy);
  background: var(--cyan);
}

.button-primary:hover {
  background: #61cae0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid var(--silver);
  padding-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.light-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(4, 26, 45, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 5.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  overflow: visible;
}

.brand-beam {
  fill: currentColor;
}

.brand-beam-muted {
  opacity: 0.62;
}

.brand-glass-dark {
  fill: var(--blue);
}

.brand-glass-light {
  fill: var(--cyan);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.25rem;
  font-weight: 820;
  letter-spacing: 0.27em;
}

.brand-copy small {
  margin-top: 0.33rem;
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.25rem);
}

.site-nav > a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 0.8rem;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.7rem;
  color: inherit;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.4rem;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(44rem, 100svh);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 19, 34, 0.95) 0%, rgba(5, 27, 46, 0.82) 37%, rgba(5, 25, 42, 0.24) 75%),
    linear-gradient(0deg, rgba(3, 18, 31, 0.9) 0%, transparent 43%),
    url("assets/sakr-residence.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}

.hero-grid,
.contact-grid-art {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(116, 212, 230, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 212, 230, 0.7) 1px, transparent 1px);
  background-size: 6rem 6rem;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 10rem;
  padding-bottom: clamp(4rem, 7vh, 6rem);
}

.hero .eyebrow {
  gap: 0.7rem;
}

.hero .eyebrow span {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  max-width: 9.5ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 9.5vw, 8.7rem);
  font-weight: 580;
  letter-spacing: -0.07em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 300;
}

.hero-lead {
  max-width: 43rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(7rem, 10rem)) 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: end;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-stat strong {
  font-size: 1.2rem;
  font-weight: 620;
}

.hero-stat span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-caption {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-caption span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--cyan);
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
}

.intro-copy {
  padding-top: 2.5rem;
  color: #44525d;
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.intro-copy .text-link {
  margin-top: 1rem;
}

.expertise {
  background: var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-head > p {
  max-width: 28rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.compact {
  margin-bottom: 3.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfd8de;
  border-left: 1px solid #cfd8de;
}

.service-card {
  position: relative;
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid #cfd8de;
  border-bottom: 1px solid #cfd8de;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.service-card::after {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
}

.service-card:hover {
  z-index: 1;
  color: var(--white);
  background: var(--navy-2);
  transform: translateY(-0.35rem);
  box-shadow: 0 18px 40px rgba(5, 29, 50, 0.14);
}

.service-number {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 730;
  letter-spacing: 0.14em;
}

.service-card:hover .service-number {
  color: var(--cyan);
}

.service-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.28rem;
  font-weight: 620;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.engineering {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.engineering-lines {
  position: absolute;
  top: -15rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(53, 183, 209, 0.15);
  transform: rotate(45deg);
}

.engineering-lines::before,
.engineering-lines::after {
  position: absolute;
  inset: 5rem;
  border: 1px solid rgba(53, 183, 209, 0.13);
  content: "";
}

.engineering-lines::after {
  inset: 10rem;
}

.engineering-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.engineering h2 {
  max-width: 12ch;
}

.engineering-lead {
  max-width: 41rem;
  margin: 2rem 0 2.7rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.engineering-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.engineering-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.94rem;
}

.engineering-list span {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
}

.engineering-figure {
  position: relative;
  margin: 0;
}

.engineering-figure::before {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 42%;
  height: 42%;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  content: "";
}

.engineering-figure img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
}

.engineering-figure figcaption,
.systems-figure figcaption {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  position: relative;
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  padding: 1.2rem 1rem 1rem 0;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -1.52rem;
  margin-bottom: 3rem;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.process-list span {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 740;
  letter-spacing: 0.12em;
}

.process-list strong {
  margin-top: 0.55rem;
  font-size: 1.1rem;
  font-weight: 620;
}

.process-list small {
  margin-top: 0.4rem;
  padding-right: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.systems {
  background: var(--ice);
}

.systems-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
}

.systems-figure {
  margin: 0;
}

.systems-figure img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.systems-figure figcaption {
  color: var(--muted);
}

.systems-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 2rem 0 2.5rem;
  color: #4e616d;
  font-size: 1.08rem;
}

.system-label {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-series {
  margin-bottom: 1.35rem;
  border-top: 1px solid #bfcfd6;
}

.system-series div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid #bfcfd6;
}

.system-series strong {
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.system-series span {
  color: #536b78;
  font-size: 0.85rem;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.system-tags span {
  padding: 0.65rem 0.85rem;
  border: 1px solid #bfcfd6;
  color: #304651;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.projects {
  background: var(--white);
}

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

.project-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.project-featured {
  grid-column: span 2;
  min-height: 34rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.project-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(2, 15, 27, 0.88));
  content: "";
}

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

.project-poster img {
  object-position: center 34%;
}

.project-poster-landscape img {
  object-position: center 30%;
}

.project-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.project-meta span,
.project-meta p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 520;
}

.project-meta p {
  margin: 0;
}

.reference-strip {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.reference-strip span {
  color: var(--blue);
  font-weight: 730;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.reference-strip p {
  margin: 0;
  color: var(--muted);
}

.proof {
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.1fr 0.75fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.proof-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.proof-mark img {
  width: 90%;
}

.proof-copy h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.proof-copy > p:last-child {
  max-width: 42rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
}

.proof-stats {
  margin: 0;
  border-top: 1px solid var(--line);
}

.proof-stats div {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.proof-stats dt {
  color: var(--blue);
  font-size: 2.15rem;
  font-weight: 420;
  letter-spacing: -0.04em;
}

.proof-stats dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-2);
}

.contact-grid-art {
  opacity: 0.08;
  mask-image: linear-gradient(270deg, #000, transparent 85%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 10vw, 9rem);
  align-items: start;
}

.contact h2 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.contact-copy {
  padding-top: 3.2rem;
}

.contact-copy > p {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.contact-details a:hover {
  color: var(--cyan);
}

.contact-details address {
  font-style: normal;
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: #03101d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 7rem;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand span {
  color: var(--cyan);
  font-weight: 400;
  letter-spacing: 0;
}

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 5.35rem;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100svh - 5.35rem);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 2rem var(--pad);
    color: var(--ink);
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a {
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-top: 1.2rem;
    color: var(--navy);
    border: 0;
    text-align: center;
  }

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

  .engineering-grid,
  .systems-grid,
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-mark {
    grid-row: span 2;
  }

  .proof-stats {
    grid-column: 2;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li:nth-child(3) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .project-card,
  .project-featured {
    min-height: 32rem;
  }
}

@media (max-width: 700px) {
  :root {
    --section: 5rem;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: 0.43rem;
  }

  .brand-mark {
    width: 1.75rem;
    height: 1.85rem;
  }

  .site-nav {
    top: 4.75rem;
    height: calc(100svh - 4.75rem);
  }

  .hero {
    min-height: 46rem;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(3, 19, 34, 0.94), rgba(5, 27, 46, 0.55)),
      linear-gradient(0deg, rgba(3, 18, 31, 0.95), transparent 58%),
      url("assets/sakr-residence.jpg") 62% center / cover no-repeat;
  }

  .hero-grid {
    background-size: 4rem 4rem;
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3.7rem, 17vw, 5.2rem);
    letter-spacing: -0.065em;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-foot {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .hero-caption {
    display: none;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .hero-stat span {
    font-size: 0.54rem;
  }

  .intro-grid,
  .engineering-grid,
  .systems-grid,
  .contact-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .contact-copy {
    padding-top: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-card {
    min-height: 15.5rem;
    padding: 1.15rem;
  }

  .service-number {
    margin-bottom: 3.3rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.8rem;
  }

  .engineering-grid {
    gap: 4rem;
  }

  .engineering-figure img {
    aspect-ratio: 1 / 1.05;
  }

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

  .process-list li,
  .process-list li:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .process-list li:nth-child(even) {
    padding-left: 1rem;
    border-right: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .systems-grid {
    display: flex;
    flex-direction: column-reverse;
  }

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

  .project-card,
  .project-featured {
    grid-column: auto;
    min-height: 30rem;
  }

  .reference-strip {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .proof-mark {
    width: min(70vw, 18rem);
    grid-row: auto;
  }

  .proof-stats {
    grid-column: auto;
  }

  .contact h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-block: 2rem;
  }

  .footer-inner p,
  .footer-inner p:last-child {
    text-align: left;
  }
}

@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;
  }
}
