:root {
  --ink: #05070a;
  --panel: #0b1016;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1279d7;
  --soft: #f4f8fd;
  --muted: rgba(255, 255, 255, 0.68);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --body-font-size: 16px;
  --nav-font-size: 13px;
  --hero-title-size: 180px;
  --section-title-size: 88px;
  --project-title-size: 96px;
  --body-line-height: 1.8;
  --arabic-title-line-height: 1.34;
  --section-spacing: 112px;
  --content-max-width: 1920px;
  --header-height: 92px;
  --logo-width: 112px;
  --hero-min-height: 100vh;
  --card-radius: 4px;
  --form-opacity: .2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nw-menu-open { overflow: hidden; }

.nw-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;
}

body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Inter, Tajawal, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  font-size: var(--body-font-size);
}

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

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

.nw-page {
  max-width: var(--content-max-width);
  margin-inline: auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 121, 215, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 121, 215, 0.06) 1px, transparent 1px),
    var(--ink);
  background-size: 84px 84px;
}

.nw-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem clamp(1rem, 3vw, 3rem);
  min-height: var(--header-height);
  color: white;
  transition: transform 360ms var(--ease), background 220ms ease;
}

.nw-header.is-scrolled {
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(16px);
}

.nw-inner-header {
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.nw-brand img {
  width: var(--logo-width);
  height: auto;
}

.nw-header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nw-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.nw-nav a,
.nw-hero-actions a,
.nw-link,
.nw-project-copy a,
.nw-project-lanes a,
.nw-form button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  color: white;
  font-size: .78rem;
  font-size: var(--nav-font-size);
  font-weight: 800;
  letter-spacing: .04em;
  padding: .78rem 1.08rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nw-nav a:hover,
.nw-hero-actions a:hover,
.nw-link:hover,
.nw-project-copy a:hover,
.nw-project-lanes a:hover,
.nw-form button:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 121, 215, .75);
  background: var(--blue);
}

.nw-menu-button {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: white;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.nw-menu-button {
  flex-direction: column;
  gap: .32rem;
}

.nw-menu-button span {
  width: 1.42rem;
  height: 2px;
  background: currentColor;
}

.nw-socials svg,
.nw-social-links svg,
.nw-hotline svg,
.nw-drawer-hotline svg,
.nw-whatsapp-float svg,
.nw-back-to-top svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
}

.nw-menu-button:hover {
  transform: translateY(-2px);
  background: rgba(18, 121, 215, .9);
}

.nw-hotline {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: white;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.nw-hotline svg,
.nw-drawer-hotline svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.nw-header-meta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}

.nw-socials {
  display: flex;
  align-items: center;
  gap: .78rem;
}

.nw-social-links {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.nw-social-links a,
.nw-social-links span {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, .06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nw-social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: var(--blue);
}

.nw-socials a {
  color: white;
  opacity: .92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nw-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nw-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: white;
  min-width: 2rem;
  justify-content: center;
  font-size: .9rem;
  font-weight: 900;
  white-space: nowrap;
}

.nw-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: .7rem;
  padding: clamp(1.5rem, 5vw, 5rem);
  background: rgba(5, 7, 10, .96);
  transform: translateY(-105%);
  transition: transform 360ms var(--ease);
  isolation: isolate;
}

.nw-drawer.is-open {
  transform: translateY(0);
}

.nw-drawer-bg {
  position: absolute;
  inset: 0 34% 0 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .88)),
    url("/static/img/newweb/barah-night.jpg") center/cover;
  filter: grayscale(1) contrast(1.12);
  opacity: .58;
}

.nw-drawer-logo {
  position: absolute;
  top: 4rem;
  left: 50%;
  width: 140px;
  transform: translateX(-50%);
}

.nw-drawer-slogan {
  position: absolute;
  inset: 0 34% 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(2rem, 8vw, 8rem);
  pointer-events: none;
}

.nw-drawer-slogan h2 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
}

.nw-drawer-nav {
  width: 34%;
  min-width: 320px;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
  direction: rtl;
  padding: 5.5rem clamp(2rem, 5vw, 5rem) 2rem;
}

.nw-drawer a,
.nw-drawer-close {
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
  font-weight: 900;
  padding: .25rem 0;
  text-align: end;
  transition: color 180ms ease, transform 180ms ease;
}

.nw-drawer a:hover {
  color: var(--blue);
  transform: translateX(-6px);
}

.nw-drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  left: auto;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1;
}

.nw-drawer-lang {
  margin-top: .8rem;
}

.nw-drawer-nav .nw-drawer-hotline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--blue);
  font-size: 1rem;
}

.nw-drawer-nav .nw-social-links {
  margin-top: .7rem;
}

.nw-drawer-nav .nw-social-links span,
.nw-drawer-nav .nw-social-links a {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1rem;
  text-align: center;
}

.nw-drawer-nav .nw-social-links a:hover {
  transform: translateY(-2px);
  color: white;
}

.nw-hero {
  position: relative;
  min-height: var(--hero-min-height);
  display: grid;
  align-items: end;
  padding: 7rem clamp(1rem, 4vw, 4rem) 4rem;
  isolation: isolate;
  overflow: hidden;
}

.nw-hero-video,
.nw-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nw-hero-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
  transform: scale(1.02);
}

.nw-hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 70% 35%, rgba(18, 121, 215, .22), transparent 30rem),
    linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .28) 52%, rgba(0, 0, 0, .76)),
    linear-gradient(0deg, rgba(5, 7, 10, .88), transparent 42%);
}

.nw-hero-content {
  max-width: 980px;
}

.nw-kicker,
.nw-section-label {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.nw-hero h1 {
  margin: 1rem 0;
  font-size: clamp(4.5rem, 13vw, var(--hero-title-size));
  line-height: .78;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.nw-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.8;
}

.nw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.nw-hero-side {
  position: absolute;
  top: 45%;
  left: 2rem;
  color: rgba(255, 255, 255, .45);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .45em;
  writing-mode: vertical-rl;
}

.nw-hero .video-sound-toggle {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 6;
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: white;
  backdrop-filter: blur(8px);
}

[dir="rtl"] .nw-hero .video-sound-toggle {
  right: auto;
  left: 1.5rem;
}

.nw-hero .video-sound-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.nw-hero .video-sound-toggle .hidden {
  display: none;
}

.nw-section {
  padding: clamp(4.5rem, 9vw, var(--section-spacing)) clamp(1rem, 4vw, 4rem);
}

.nw-who {
  background: var(--soft);
  color: var(--ink);
}

.nw-who-grid,
.nw-grid-head,
.nw-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.nw-who h2,
.nw-grid-head h2,
.nw-contact h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, var(--section-title-size));
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

html[dir="rtl"] .nw-who h2,
html[dir="rtl"] .nw-grid-head h2,
html[dir="rtl"] .nw-contact h2 {
  font-size: clamp(2.4rem, 5.25vw, 6.1rem);
  line-height: var(--arabic-title-line-height);
  letter-spacing: 0;
}

.nw-who p,
.nw-grid-head p,
.nw-contact p {
  color: rgba(5, 7, 10, .64);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 2;
  line-height: var(--body-line-height);
}

.nw-who .nw-section-label,
.nw-projects-grid .nw-section-label,
.nw-board .nw-section-label,
.nw-insights .nw-section-label {
  margin-bottom: 1.2rem;
}

.nw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(5, 7, 10, .12);
}

.nw-stats article {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: white;
  padding: 1.25rem;
}

.nw-stats strong {
  color: var(--blue);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .82;
}

.nw-stats span {
  margin-top: .8rem;
  color: rgba(5, 7, 10, .58);
  font-weight: 800;
}

.nw-featured-project {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--ink);
}

.nw-project-media {
  display: block;
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.nw-project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.nw-project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(5, 7, 10, .35));
}

.nw-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.nw-project-copy p:first-child,
.nw-project-lanes span {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.nw-project-copy h2,
.nw-project-lanes h2 {
  margin: .8rem 0;
  font-size: clamp(3rem, 7vw, var(--project-title-size));
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.nw-project-copy h3 {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.4rem, 3vw, 3rem);
}

.nw-project-copy p,
.nw-project-lanes p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 2;
}

.nw-project-copy a,
.nw-project-lanes a {
  width: max-content;
  margin-top: 1.3rem;
}

.nw-project-copy h2 .nw-project-title-link,
.nw-project-lanes h2 .nw-project-title-link {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.nw-project-copy h2 .nw-project-title-link:hover,
.nw-project-lanes h2 .nw-project-title-link:hover {
  transform: none;
  background: transparent;
  color: var(--blue);
}

.nw-project-lanes {
  display: grid;
}

.nw-project-lanes article {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
  overflow: hidden;
}

.nw-project-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.nw-lane-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.nw-project-lanes article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  transition: transform 900ms var(--ease);
}

.nw-project-lanes article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 10, .84), rgba(5, 7, 10, .2) 55%, rgba(5, 7, 10, .75));
}

.nw-project-lanes article:hover::before {
  transform: scale(1.06);
}

.nw-project-lane-video:hover .nw-lane-video {
  transform: scale(1.06);
}

.nw-project-lanes div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.nw-projects-grid,
.nw-insights {
  background: var(--soft);
  color: var(--ink);
}

.nw-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 2rem 0;
}

.nw-filter-row button {
  border: 1px solid rgba(5, 7, 10, .14);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  padding: .75rem 1rem;
  font-weight: 900;
}

.nw-filter-row .is-active {
  background: var(--ink);
  color: white;
}

.nw-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.nw-card-grid article {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: white;
  box-shadow: 0 24px 60px rgba(5, 7, 10, .08);
}

.nw-project-card {
  display: block;
  color: inherit;
}

.nw-project-card article {
  height: 100%;
}

.nw-card-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.nw-card-grid article:hover img {
  transform: scale(1.06);
}

.nw-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  margin: 1rem 1rem .25rem;
}

.nw-card-title h3 {
  margin: 0;
  font-size: 1.35rem;
}

.nw-card-grid .nw-card-title img {
  width: 92px;
  height: 56px;
  flex: 0 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.nw-card-grid article:hover .nw-card-title img {
  transform: none;
}

.nw-card-grid span {
  display: block;
  margin: 0 1rem 1.2rem;
  color: var(--blue);
  font-weight: 900;
}

.nw-board {
  background: var(--ink);
}

.nw-board .nw-grid-head p {
  color: var(--muted);
}

.nw-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.nw-board-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: rgba(255, 255, 255, .04);
}

.nw-board-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.nw-board-grid h3 {
  margin: 1rem 1rem .3rem;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.nw-board-grid p {
  margin: 0 1rem 1.2rem;
  color: var(--blue);
  font-weight: 900;
}

.nw-insight-list {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  background: rgba(5, 7, 10, .12);
}

.nw-insight-list a {
  display: block;
  background: white;
  padding: 1.5rem;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 900;
  transition: color 180ms ease, padding 180ms ease;
}

.nw-insight-list a:hover {
  color: var(--blue);
  padding-inline-start: 2rem;
}

.nw-contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(18, 121, 215, .24), transparent 28rem),
    var(--ink);
  padding: clamp(4rem, 9vw, 9rem) clamp(1rem, 4vw, 4rem);
}

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

.nw-form {
  display: grid;
  gap: .8rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: .6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, var(--form-opacity)), rgba(255, 255, 255, .12));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px);
  padding: clamp(1rem, 2vw, 1.6rem);
}

.nw-form input,
.nw-form select,
.nw-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: .25rem;
  background: rgba(255, 255, 255, .22);
  color: white;
  font: inherit;
  padding: 1rem;
}

.nw-form input::placeholder,
.nw-form textarea::placeholder {
  color: rgba(255, 255, 255, .84);
}

.nw-form input:focus,
.nw-form select:focus,
.nw-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  background: rgba(255, 255, 255, .28);
}

.nw-form select option {
  color: var(--ink);
}

.nw-form textarea {
  min-height: 130px;
  resize: vertical;
}

.nw-form button {
  cursor: pointer;
  border-color: rgba(18, 121, 215, .9);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(18, 121, 215, .28);
}

.nw-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 4rem);
  background: #020304;
}

.nw-footer img {
  width: 140px;
}

.nw-footer p {
  max-width: 760px;
  color: var(--muted);
}

.nw-footer > div:last-child {
  display: flex;
  gap: .8rem;
}

.nw-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.nw-footer-brand .nw-social-links {
  gap: .45rem;
}

.nw-footer-brand .nw-social-links span,
.nw-footer-brand .nw-social-links a {
  width: 2rem;
  height: 2rem;
}

.nw-footer a {
  color: var(--blue);
  font-weight: 900;
}

.nw-whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.7rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: white;
}

.nw-whatsapp-float span {
  position: relative;
  border-radius: .65rem;
  background: white;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  padding: .72rem 1rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.nw-whatsapp-float span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.38rem;
  width: .78rem;
  height: .78rem;
  background: white;
  transform: translateY(-50%) rotate(45deg);
}

.nw-whatsapp-float svg {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: #12d66b;
  padding: .86rem;
  box-shadow: 0 16px 38px rgba(18, 214, 107, .3);
}

.nw-back-to-top {
  position: fixed;
  right: 1.95rem;
  bottom: 6rem;
  z-index: 60;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 7, 10, .86);
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease;
}

.nw-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nw-back-to-top:hover {
  background: var(--blue);
}

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

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

@media (max-width: 980px) {
  .nw-header {
    grid-template-columns: auto 1fr auto;
  }

  .nw-nav,
  .nw-socials {
    display: none;
  }

  .nw-brand {
    justify-self: center;
  }

  .nw-lang-switch {
    justify-self: end;
  }

  .nw-header-meta {
    justify-self: end;
  }

  .nw-drawer-bg {
    inset: 0;
  }

  .nw-drawer-slogan {
    display: none;
  }

  .nw-drawer-nav {
    width: 100%;
    min-width: 0;
    padding-top: 6rem;
  }

  .nw-drawer-close {
    top: 2rem;
    right: 2rem;
    left: auto;
  }

  .nw-who-grid,
  .nw-grid-head,
  .nw-contact,
  .nw-featured-project {
    grid-template-columns: 1fr;
  }

  .nw-stats,
  .nw-card-grid,
  .nw-board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nw-project-media {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .nw-header {
    gap: .65rem;
    padding-inline: .85rem;
  }

  .nw-brand img {
    width: 86px;
  }

  .nw-menu-button {
    width: 2.9rem;
    height: 2.9rem;
  }

  .nw-header-meta {
    gap: .55rem;
  }

  .nw-hotline {
    gap: .3rem;
    font-size: .78rem;
  }

  .nw-hotline svg {
    width: .95rem;
    height: .95rem;
  }

  .nw-lang-switch {
    min-width: 1.5rem;
    font-size: .8rem;
  }

  .nw-hero {
    min-height: 92vh;
  }

  .nw-hero-side {
    display: none;
  }

  .nw-card-grid,
  .nw-board-grid {
    grid-template-columns: 1fr;
  }

  .nw-card-grid .nw-card-title img {
    width: 110px;
    height: 64px;
  }

  .nw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3rem;
  }

  .nw-stats article {
    min-height: 128px;
    padding: .75rem;
  }

  .nw-stats strong {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .nw-stats span {
    margin-top: .6rem;
    font-size: .88rem;
    line-height: 1.35;
  }

  .nw-who.nw-section {
    padding-top: 3.375rem;
    padding-bottom: 3.375rem;
  }

  .nw-project-lanes article {
    min-height: 72vh;
  }

  .nw-footer {
    grid-template-columns: 1fr;
  }

  .nw-footer > div:last-child {
    flex-wrap: wrap;
  }

  .nw-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }

  .nw-whatsapp-float span {
    display: none;
  }

  .nw-back-to-top {
    right: 1.25rem;
    bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .nw-reveal {
    opacity: 1;
    transform: none;
  }
}
