@font-face {
  font-family: "thmanyahseriftext-Black";
  src: url("thmanyahseriftext-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "thmanyahseriftext-Black", Tahoma, Arial, sans-serif;
  --green-950: #003f37;
  --green-900: #004d43;
  --green-800: #0c6355;
  --emerald: #00a888;
  --emerald-soft: #d8f5ee;
  --paper: #f8f7f2;
  --paper-2: #eeeee6;
  --ink: #0f2522;
  --muted: #63706d;
  --line: rgba(15, 37, 34, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 63, 55, 0.16);
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.8;
}

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

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

main > [id] {
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 63, 55, 0.05);
}

.nav-shell {
  width: min(1080px, calc(100% - 40px));
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  width: 166px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--green-950);
  font-size: 0.86rem;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--green-950);
}

.section {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  align-content: center;
  padding: 32px 0;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 168, 136, 0.08), transparent 38%),
    var(--green-950);
}

.muted {
  background: var(--paper-2);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(0, 168, 136, 0.18), transparent 30%),
    linear-gradient(115deg, rgba(12, 99, 85, 0.22), transparent 42%);
  opacity: 1;
}

.hero-art {
  position: absolute;
  z-index: 0;
  width: clamp(220px, 20vw, 340px);
  height: clamp(72px, 7vw, 112px);
  overflow: hidden;
  pointer-events: none;
  background-image: url("زخرفة 1 و 2.svg");
  background-repeat: no-repeat;
  background-size: 620px auto;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}

.hero-art-top {
  top: 44px;
  right: -106px;
  background-position: 92% 16%;
  transform: rotate(45deg);
}

.hero-art-bottom {
  bottom: 54px;
  left: -110px;
  background-position: 10% 76%;
  transform: rotate(225deg);
  opacity: 0.14;
}

.hero-inner,
.section-grid,
.contact-inner,
.partners-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
  padding: 54px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--emerald);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading .eyebrow,
.contact-copy .eyebrow {
  font-size: clamp(1.08rem, 1.7vw, 1.55rem);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  font-weight: 800;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  color: var(--green-950);
  background: var(--emerald);
  border-color: var(--emerald);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  padding: 0;
  background: transparent;
  color: var(--white);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 320px;
}

.hero-stat-grid div {
  padding: 0 0 18px;
  text-align: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat-grid strong {
  display: block;
  color: var(--emerald);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.hero-stat-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.5;
}

.metrics strong {
  display: block;
  color: var(--green-950);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  color: var(--green-950);
}

.section-dark .section-heading h2,
.contact-copy h2 {
  color: var(--white);
}

.centered {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto 32px;
  text-align: center;
}

.copy-stack p {
  margin: 0 0 22px;
  color: #354945;
  font-size: 1.04rem;
}

#about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 168, 136, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(0, 168, 136, 0.045), transparent 46%),
    var(--paper);
}

#about::before {
  content: "";
  position: absolute;
  inset-inline: max(28px, calc((100vw - 1080px) / 2));
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 136, 0.32), transparent);
}

#about .section-grid {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 40px));
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 86px;
  align-items: center;
  text-align: right;
}

#about .section-heading {
  justify-self: end;
  max-width: 560px;
}

#about .section-heading .eyebrow {
  margin-bottom: 12px;
}

#about .section-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  line-height: 1.16;
}

#about .copy-stack {
  position: relative;
  display: block;
  padding: 74px 0 0;
  color: var(--ink);
}

#about .copy-stack::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 56px;
  height: 1px;
  background: var(--emerald);
  opacity: 0.6;
}

#about .copy-stack p {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #354945;
  text-align: right;
  font-size: 0.98rem;
  line-height: 1.86;
}

#about .copy-stack p:first-child {
  padding-top: 0;
  color: var(--green-950);
  font-size: 1.06rem;
}

#about .copy-stack p + p {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

#about > .section-grid {
  display: none;
}

.constellation-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.constellation-core {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.constellation-core h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.95rem, 3.15vw, 3.15rem);
  line-height: 1.14;
}

.constellation-core p:not(.eyebrow) {
  width: min(620px, 100%);
  margin: 14px auto 0;
  color: #354945;
  font-size: 0.94rem;
  line-height: 1.72;
}

.constellation-map {
  position: relative;
  width: min(860px, 100%);
  height: 360px;
  margin: 0 auto;
  overflow: visible;
}

.constellation-hub {
  position: absolute;
  left: 50%;
  top: 51.4%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--emerald);
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow:
    0 0 0 3px rgba(0, 168, 136, 0.12),
    0 0 20px rgba(0, 168, 136, 0.32);
  z-index: 2;
}

.constellation-hub::after,
.capability-node span::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(0, 168, 136, 0.36);
  opacity: 0.58;
  z-index: -1;
  animation: rhombusExpandingAura 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.constellation-lines line {
  stroke: rgba(0, 168, 136, 0.24);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.capability-node {
  position: absolute;
  z-index: 3;
  width: 236px;
  min-height: 96px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.capability-node span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  display: block;
  margin: 0;
  background: var(--emerald);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow:
    0 0 0 3px rgba(0, 168, 136, 0.13),
    0 0 20px rgba(0, 168, 136, 0.36);
}

@keyframes rhombusExpandingAura {
  0% {
    opacity: 0.72;
    transform: scale(0.86);
  }

  70% {
    opacity: 0;
    transform: scale(1.85);
  }

  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

.node-text {
  position: absolute;
  width: 210px;
}

.capability-node h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1rem;
  line-height: 1.35;
}

.capability-node p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.node-planning {
  left: 50%;
  top: 19.44%;
}

.node-planning .node-text {
  left: 50%;
  bottom: calc(50% + 16px);
  transform: translateX(-50%);
  text-align: center;
}

.node-operations {
  left: 75.8%;
  top: 31.39%;
}

.node-operations .node-text {
  left: 50%;
  bottom: calc(50% + 16px);
  transform: translateX(-50%);
  text-align: center;
}

.node-events {
  left: 64.3%;
  top: 80.28%;
}

.node-events .node-text {
  left: calc(50% + 18px);
  top: calc(50% + 18px);
  text-align: left;
}

.node-visitor {
  left: 82.2%;
  top: 58.61%;
}

.node-visitor .node-text {
  left: calc(50% + 18px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.node-media {
  left: 35.7%;
  top: 80.28%;
}

.node-media .node-text {
  right: calc(50% + 18px);
  top: calc(50% + 18px);
  text-align: right;
}

.node-tech {
  left: 24.2%;
  top: 31.39%;
}

.node-tech .node-text {
  left: 50%;
  bottom: calc(50% + 16px);
  transform: translateX(-50%);
  text-align: center;
}

.node-measure {
  left: 17.8%;
  top: 58.61%;
}

.node-measure .node-text {
  right: calc(50% + 18px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.vision-grid,
.services-grid,
.project-grid,
.cert-grid,
.method-track {
  width: min(1080px, calc(100% - 40px));
  margin: 30px auto 0;
}

.cert-grid {
  width: min(780px, calc(100% - 40px));
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.values-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 16%, rgba(0, 168, 136, 0.2), transparent 32%),
    linear-gradient(135deg, var(--green-950), #002e29);
}

.values-section .section-heading h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.1vw, 3rem);
}

.values-section .vision-grid {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 40px));
  margin-top: 42px;
  gap: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.values-section .value-block {
  min-height: 258px;
  padding: 34px 34px 30px;
  border: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.values-section .value-block:first-child {
  border-inline-start: 0;
}

.values-section .value-block span {
  color: var(--emerald);
  font-size: 1.05rem;
}

.values-section .value-block h3 {
  max-width: 330px;
  color: var(--white);
  font-size: 1.38rem;
  line-height: 1.48;
}

.values-section .value-block p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.75;
}

.value-block,
.service-card,
.project-card,
.cert,
.method-step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.value-block {
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-height: 0;
}

.value-block span,
.service-card span,
.method-step span,
.project-card p {
  color: var(--emerald);
  font-weight: 800;
}

.value-block h3,
.service-card h3,
.method-step h3,
.project-card h3 {
  margin: 12px 0;
  color: var(--green-950);
  font-size: 1.08rem;
  line-height: 1.45;
}

.value-block p,
.service-card p,
.method-step p,
.project-card span {
  margin: 0;
  color: var(--muted);
}

.value-block p {
  margin-top: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

#services .centered {
  margin-bottom: 20px;
}

#services .services-grid {
  margin-top: 0;
}

#projects .project-grid {
  margin-top: 20px;
}

.service-card {
  min-height: 140px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.service-card::after,
.project-card::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  inset-inline-end: -35px;
  bottom: -35px;
  background: var(--emerald);
  opacity: 0.08;
  transform: rotate(45deg);
}

.visitor-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 52%, rgba(0, 168, 136, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(0, 168, 136, 0.06), transparent 42%),
    var(--green-950);
}

.visitor-section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: min(46vw, 520px);
  height: 360px;
  background-image: url("زخرفة 1 و 2.svg");
  background-size: cover;
  opacity: 0.055;
}

.visitor-section .section-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 58px;
}

.visitor-section .section-heading {
  justify-self: end;
  max-width: 440px;
}

.visitor-section .section-heading .eyebrow {
  margin-bottom: 16px;
  color: var(--emerald);
}

.visitor-section .section-heading h2 {
  font-size: clamp(1.9rem, 3.15vw, 3.15rem);
  line-height: 1.16;
}

.journey {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  padding-block: 8px;
  counter-reset: journey;
  width: min(620px, 100%);
  justify-self: start;
}

.journey::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.journey div {
  counter-increment: journey;
  position: relative;
  display: grid;
  grid-template-columns: 38px 42px 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
}

.journey div::before {
  content: none;
}

.journey div::after {
  content: none;
}

.journey-marker {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  line-height: 1;
  direction: ltr;
  border: 1px solid rgba(0, 168, 136, 0.68);
  background: rgba(0, 168, 136, 0.1);
  transform: rotate(45deg);
}

.journey-marker::before {
  content: counter(journey);
  transform: rotate(-45deg);
}

.journey strong {
  grid-column: 3;
  grid-row: 1;
  color: var(--emerald);
  font-size: 1rem;
  line-height: 1.3;
  text-align: right;
}

.journey-detail {
  grid-column: 4;
  grid-row: 1;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
  min-width: 0;
  text-align: right;
}

.journey-icon {
  grid-column: 2;
  grid-row: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: rgba(255, 255, 255, 0.42);
}

.journey-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}

.method-step {
  min-height: 210px;
  padding: 24px;
  border-block: 0;
  border-inline-end: 0;
}

.method-step:last-child {
  border-inline-end: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metrics div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.project-brief {
  width: min(1080px, calc(100% - 40px));
  margin: 58px auto 0;
}

.project-brief p {
  margin: 0;
  color: var(--emerald);
  font-size: clamp(1.08rem, 1.7vw, 1.55rem);
  line-height: 1.35;
}

.project-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
}

.project-card p {
  margin: 0;
}

.credentials-section {
  background:
    linear-gradient(180deg, transparent 0, rgba(0, 168, 136, 0.08) 100%),
    var(--paper);
}

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

.cert {
  padding: 24px;
  min-height: 132px;
  display: grid;
  align-content: center;
  text-align: center;
}

.cert strong {
  display: block;
  color: var(--green-950);
  font-size: 1.46rem;
}

.cert span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.partners-band {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  align-content: center;
  padding: 44px 0;
  background: var(--paper-2);
  color: var(--green-950);
}

.partners-inner .eyebrow {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--green-950);
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.partner-list span {
  width: 132px;
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: transparent;
}

.partner-list img {
  width: 100%;
  max-width: 132px;
  height: 58px;
  object-fit: contain;
}

.contact-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  align-content: center;
  padding: 64px 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 148px;
  background-image: url("زخرفة 11.svg");
  background-size: 710px 148px;
  opacity: 0.18;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 54px;
  align-items: end;
}

.contact-copy h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a,
.contact-actions span {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  direction: ltr;
  text-align: left;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(20px, calc((100vw - 1080px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  margin: 0;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

  .nav-links {
    position: absolute;
    inset-inline: 20px;
    top: var(--nav-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .hero-inner,
  .section-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 36px;
  }

  .vision-grid,
  .services-grid,
  .project-grid,
  .cert-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

@media (max-width: 700px) {
  html {
    scroll-padding-top: calc(var(--nav-height) + 12px);
  }

  main > [id] {
    scroll-margin-top: calc(var(--nav-height) + 12px);
  }

  .nav-shell,
  .hero-inner,
  .section-grid,
  .contact-inner,
  .partners-inner,
  .vision-grid,
  .services-grid,
  .project-grid,
  .cert-grid,
  .method-track {
    width: min(100% - 28px, 1080px);
  }

  .brand-mark {
    width: 136px;
  }

  .hero {
    min-height: calc(100svh - var(--nav-height));
  }

  .section,
  .partners-band,
  .contact-section {
    min-height: calc(100svh - var(--nav-height));
    display: block;
  }

  #services,
  #method,
  #projects,
  .credentials-section {
    min-height: auto;
  }

  #method {
    min-height: calc(100svh - var(--nav-height));
    display: grid;
    align-content: center;
  }

  .credentials-section {
    min-height: calc(100svh - var(--nav-height));
    display: grid;
    align-content: center;
  }

  .hero-art {
    width: 190px;
    height: 66px;
    background-size: 460px auto;
    opacity: 0.12;
  }

  .hero-art-top {
    top: 26px;
    right: -84px;
  }

  .hero-art-bottom {
    bottom: 34px;
    left: -88px;
  }

  .hero-inner {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  #about .section-grid {
    gap: 22px;
    text-align: right;
  }

  #about::before {
    display: none;
  }

  #about .section-heading {
    text-align: center;
  }

  #about .section-heading .eyebrow {
    font-size: 1.02rem;
  }

  #about .section-heading h2 {
    font-size: 1.78rem;
    line-height: 1.25;
  }

  #about .copy-stack {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  #about .copy-stack p {
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .constellation-inner {
    width: min(100% - 28px, 1080px);
    gap: 24px;
  }

  .constellation-core h2 {
    font-size: 1.9rem;
    line-height: 1.22;
  }

  .constellation-core p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .constellation-map {
    height: auto;
    display: grid;
    gap: 0;
    padding: 8px 0;
    border-block: 1px solid var(--line);
    overflow: visible;
  }

  .constellation-map::before {
    content: "";
    position: absolute;
    inset-block: 30px;
    right: 14px;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(0, 168, 136, 0.38) 12%,
      rgba(0, 168, 136, 0.38) 88%,
      transparent
    );
  }

  .constellation-lines,
  .constellation-axis,
  .constellation-hub {
    display: none;
  }

  .capability-node {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-block-start: 1px solid rgba(15, 37, 34, 0.08);
    text-align: right;
    transform: none;
  }

  .capability-node:first-of-type {
    border-block-start: 0;
  }

  .capability-node span {
    position: relative;
    left: auto;
    top: auto;
    justify-self: center;
    margin: 8px 0 0;
    transform: rotate(45deg);
    z-index: 1;
  }

  .capability-node .node-text {
    position: static;
    width: auto;
    transform: none;
    text-align: right;
  }

  .values-section .vision-grid {
    border-block: 1px solid rgba(255, 255, 255, 0.14);
  }

  .values-section .value-block {
    min-height: auto;
    padding: 20px 0;
    border-inline-start: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.14);
    text-align: right;
  }

  .values-section .value-block:last-child {
    border-block-end: 0;
  }

  .hero-panel {
    padding: 0;
  }

  .hero-stat-grid,
  .vision-grid,
  .services-grid,
  .project-grid,
  .cert-grid,
  .metrics,
  .method-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    border-block: 0;
  }

  .values-section .section-heading {
    width: min(100% - 28px, 1080px);
  }

  .values-section .section-heading h2 {
    font-size: 1.9rem;
    line-height: 1.22;
  }

  .values-section .vision-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
    border-block: 1px solid rgba(255, 255, 255, 0.14);
  }

  .values-section .value-block {
    min-height: auto;
    padding: 22px 0;
    border-inline-start: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.14);
    text-align: right;
  }

  .values-section .value-block:last-child {
    border-block-end: 0;
  }

  .values-section .value-block span {
    font-size: 1rem;
  }

  .values-section .value-block h3,
  .values-section .value-block p {
    max-width: none;
  }

  .values-section .value-block h3 {
    margin: 10px 0 0;
    font-size: 1.34rem;
    line-height: 1.42;
  }

  .values-section .value-block p {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  #services .service-card {
    text-align: center;
  }

  .hero-stat-grid div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 58px 0;
  }

  #method.section {
    padding: 36px 0;
  }

  #method .centered {
    margin-bottom: 18px;
  }

  #method .section-heading .eyebrow {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  #method .section-heading h2 {
    font-size: 1.72rem;
    line-height: 1.22;
  }

  #projects.section {
    padding: 42px 0;
  }

  #projects .section-grid {
    gap: 22px;
  }

  #projects .section-heading {
    text-align: center;
  }

  #projects .section-heading .eyebrow {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  #projects .section-heading h2 {
    max-width: 13ch;
    margin: 0 auto;
    font-size: 1.82rem;
    line-height: 1.2;
  }

  #projects .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto;
  }

  #projects .metrics div {
    min-height: 96px;
    padding: 14px 8px;
    text-align: center;
  }

  #projects .metrics strong {
    font-size: 1rem;
    line-height: 1.25;
  }

  #projects .metrics span {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  #projects .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  #projects .project-brief {
    width: min(100% - 28px, 1080px);
    margin-top: 34px;
    text-align: center;
  }

  #projects .project-brief p {
    font-size: 1rem;
  }

  #projects .project-card {
    min-height: auto;
    padding: 18px 20px;
  }

  #projects .project-card::after {
    width: 72px;
    height: 72px;
    opacity: 0.045;
  }

  #projects .project-card h3 {
    margin: 8px 0;
    font-size: 1.02rem;
    line-height: 1.38;
  }

  #projects .project-card span {
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .visitor-section .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .visitor-section .section-heading {
    justify-self: stretch;
    max-width: none;
    text-align: center;
  }

  .visitor-section .section-heading h2 {
    max-width: 12ch;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1.18;
  }

  .partner-list {
    gap: 10px;
  }

  .partner-list span {
    width: 104px;
    min-height: 86px;
    padding: 10px;
  }

  .partner-list img {
    max-width: 104px;
    height: 48px;
  }

  .journey {
    width: 100%;
    justify-self: stretch;
  }

  .journey div {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 18px 0;
  }

  .journey div::after {
    display: none;
  }

  .journey-marker {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 26px;
    height: 26px;
  }

  .journey strong {
    grid-column: 2;
    grid-row: 1;
  }

  .journey-detail {
    grid-column: 2;
    grid-row: 2;
  }

  .journey-icon {
    display: none;
  }

  .method-step,
  .method-step:last-child {
    border: 1px solid var(--line);
  }

  .method-step {
    min-height: auto;
    padding: 14px;
    text-align: center;
  }

  .method-step h3 {
    margin: 6px 0;
    font-size: 0.92rem;
    line-height: 1.32;
  }

  .method-step p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .cert strong {
    font-size: 1.2rem;
  }

  .cert span {
    font-size: 0.94rem;
  }

  .contact-section {
    padding: 64px 0;
  }

  .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer a {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .constellation-hub::after,
  .capability-node span::after {
    animation: none;
  }

  .constellation-hub,
  .capability-node span {
    animation: none;
  }
}
