.hero-image {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 48% 30% at 0% 0%, rgba(255,255,255,.56) 0%, rgba(255,255,255,.3) 42%, rgba(255,255,255,0) 76%),
    linear-gradient(to bottom, rgba(0,43,78,.3) 0%, rgba(0,43,78,.5) 38%, rgba(0,43,78,.64) 100%),
    url('uae-architecture.webp');
  background-size: cover;
  background-position: center;
  filter: grayscale(1) sepia(.22) hue-rotate(155deg) saturate(1.35) contrast(1.12);
  opacity: .86;
}

.image-story {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  background: var(--navy-2);
  gap: 1px;
}

.image-story figure {
  margin: 0;
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--navy);
}

.image-story img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: grayscale(1) sepia(.22) hue-rotate(155deg) saturate(1.35) contrast(1.12);
  opacity: .72;
  transition: transform .7s ease, opacity .4s ease;
}

.image-story figure:hover img {
  transform: scale(1.035);
  opacity: .9;
}

.image-story figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.55);
}

.image-story figcaption span {
  font: inherit;
  color: inherit;
  margin-right: 14px;
}

.web3 {
  position: relative;
  overflow: hidden;
}

.web3-watermark {
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(0,43,78,.08);
  border-radius: 50%;
  right: -230px;
  top: 80px;
  box-shadow: 0 0 0 70px rgba(0,43,78,.025), 0 0 0 140px rgba(0,43,78,.018);
}

@media (max-width: 900px) {
  .image-story { grid-template-columns: 1fr 1fr; }
  .image-story figure:first-child { grid-column: 1 / -1; }
}

@media (max-width: 590px) {
  .image-story { grid-template-columns: 1fr; }
  .image-story figure:first-child { grid-column: auto; }
  .image-story figure { min-height: 225px; }
}

/* Slim translucent navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .16), rgba(248, 248, 245, .06));
  border-bottom: 0;
  box-shadow: 0 9px 30px rgba(0, 0, 0, .045), inset 0 1px 0 rgba(255, 255, 255, .48);
  -webkit-backdrop-filter: blur(34px) saturate(1.6);
  backdrop-filter: blur(34px) saturate(1.6);
}

.brand {
  width: 428px;
  height: 54px;
  max-height: 54px;
}

.brand img {
  width: 100%;
  height: 54px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
}

nav a,
nav a:visited,
nav a:not(.nav-cta):hover {
  color: #000;
}

.nav-cta {
  color: #000;
  border-color: #000;
}

.nav-cta:hover {
  background: #000;
  color: #fff;
}

.hero {
  min-height: 100vh;
  padding-top: clamp(96px, 9vw, 126px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

section[id] {
  scroll-margin-top: 72px;
}

.menu-toggle {
  color: #000;
  border-color: rgba(0, 0, 0, .34);
  background: rgba(248, 248, 245, .12);
  font: inherit;
  font-weight: 600;
}

/* A tighter editorial rhythm across desktop and mobile. */
.section-pad {
  padding-top: clamp(42px, 5vw, 66px);
  padding-bottom: clamp(42px, 5vw, 66px);
}

.statement-grid,
.uae-layout,
.company {
  gap: clamp(32px, 5vw, 72px);
}

.section-intro {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero-copy {
  max-width: 850px;
}

.hero h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 720px;
  margin-bottom: 22px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-system {
  padding-top: 14px;
}

.hero-system ol {
  margin-top: 16px;
}

.hero-system li {
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero-system li span {
  color: inherit;
  font: inherit;
  padding-top: 0;
}

.service-grid article {
  min-height: 166px;
  padding: 20px 22px;
}

.service-grid article > span {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
}

.service-grid h3 {
  margin: 18px 0 9px;
}

.web3-grid h3 {
  margin: 20px 0 10px;
}

.web3-grid {
  margin-top: clamp(24px, 3vw, 36px);
}

.web3-grid article {
  min-height: 220px;
  padding: 22px 24px;
}

.web3-grid .number {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.web3-grid .focus-card .number {
  color: #fff;
}

.method-list li {
  padding-top: 15px;
  padding-bottom: 15px;
}

.method-list li > span {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

/* The original 390px gallery is reduced by approximately 35%. */
.image-story figure {
  min-height: 205px;
}

.team-grid article {
  min-height: 0;
  padding: 22px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  filter: grayscale(1) sepia(.16) hue-rotate(155deg) saturate(1.18) contrast(1.04) brightness(1.14);
}

@media (max-width: 900px) {
  .site-header { height: 64px; padding-left: 12px; padding-right: 16px; }
  .brand { width: 390px; height: 48px; max-height: 48px; margin-right: auto; }
  .brand img { height: 48px; max-height: 48px; }
  .menu-toggle { flex: 0 0 auto; margin-left: 12px; }
  nav { top: 64px; background: #fbfaf6; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 16px 30px rgba(0, 0, 0, .12); }
  section[id] { scroll-margin-top: 64px; }
  .hero { min-height: auto; padding-top: 92px; padding-bottom: 48px; }
  .hero-system { margin-top: 34px; }
  .section-pad { padding-top: 42px; padding-bottom: 42px; }
}

@media (max-width: 590px) {
  .brand { width: min(285px, calc(100vw - 105px)); height: 48px; }
  .brand img { height: 48px; }
  .section-pad { padding-top: 34px; padding-bottom: 34px; }
  .section-intro { margin-bottom: 22px; }
  .service-grid article { min-height: 0; padding: 18px; }
  .web3-grid article { min-height: 0; padding: 19px 18px; }
  .web3-grid .number { margin-bottom: 12px; }
  .method-list li { padding-top: 13px; padding-bottom: 13px; }
  .image-story figure { min-height: 170px; }
}

.eyebrow {
  margin-bottom: 16px;
}

h2 {
  margin-bottom: 18px;
}

.section-intro h2 {
  margin-bottom: 0;
}

.team-grid h3 {
  margin: 16px 0 4px;
}

.statement-grid p,
.uae-layout > p,
.company-copy > p:last-child {
  margin-bottom: 0;
}

.ecosystem span,
.ecosystem strong {
  min-height: 78px;
}

.contact-actions {
  gap: 8px;
}

.contact-actions .text-link {
  margin-top: 18px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #fff;
  background: transparent;
  padding: 0;
  text-decoration: none;
}

.linkedin-symbol {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.linkedin-wordmark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

footer {
  grid-template-columns: minmax(250px, 1fr) minmax(320px, 1fr) auto;
}

footer address {
  font-style: normal;
  line-height: 1.65;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-legal a {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: rgba(0, 17, 30, .96);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font: 600 16px Montserrat, sans-serif;
}

.cookie-banner p {
  margin: 5px 0 0;
  color: #c7d2d8;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-actions button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #fff;
  font: 600 13px "DM Sans", sans-serif;
  cursor: pointer;
}

.cookie-primary {
  color: #001a30;
  background: #fff;
}

.cookie-secondary {
  color: #fff;
  background: transparent;
}

.legal-page {
  min-height: 100vh;
  padding: 112px max(28px, calc((100vw - 920px) / 2)) 64px;
  background: var(--paper);
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(42px, 6vw, 70px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
  color: var(--navy);
}

.legal-page p,
.legal-page li {
  color: #435560;
}

.legal-meta {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  footer { grid-template-columns: 1fr; }
  .cookie-banner { align-items: flex-start; }
}

@media (max-width: 590px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 17px; flex-direction: column; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
  .legal-page { padding: 92px 22px 44px; }
  .contact-actions .linkedin-link {
    align-self: center;
    margin-top: 28px;
  }
}
