/* ==========================================================================
   Reset (replaces Tailwind's Preflight from the original build)
   ========================================================================== */

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

ol,
ul,
menu {
  list-style: none;
}

img,
svg,
video,
canvas {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
optgroup,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}

button {
  cursor: pointer;
}

::placeholder {
  opacity: 1;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   Theme
   ========================================================================== */

:root {
  --join: #014d43;
  --join-dark: #073a35;
  --join-deep: #062c29;
  --join-light: #d5f1e8;
  --mint: #9ce3c9;
  --lime: #d9f16f;
  --cream: #f4f2ea;
  --paper: #fbfaf6;
  --ink: #122421;
  --muted: #66736f;
  --line: #d9dfdb;
  --white: #ffffff;
  --orange: #ef875a;
  --blue: #7fbcdd;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --shadow: 0 1.5rem 4rem rgba(9, 48, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.04em;
}

a,
button {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.2rem solid var(--lime);
  outline-offset: 0.2rem;
}

.site-shell {
  overflow: hidden;
}

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

.section {
  padding-block: 8rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 5.5rem;
  border-bottom: 1px solid rgba(1, 77, 67, 0.1);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(1rem);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  width: 7.2rem;
  height: 4rem;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: auto;
  margin-right: 2.4rem;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:not(.nav-profile)::after {
  position: absolute;
  content: '';
  height: 0.1rem;
  width: 0;
  left: 0;
  bottom: -0.4rem;
  background: var(--join);
  transition: width 180ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-profile {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  background: var(--join);
  color: var(--white);
  padding: 0.75rem 1.2rem 0.75rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--join-dark);
  transform: translateY(-0.1rem);
}

.nav-cta svg,
.card-link svg,
.text-link svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 52rem;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  background:
    radial-gradient(circle at 82% 28%, rgba(156, 227, 201, 0.35), transparent 27rem),
    var(--cream);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(1, 77, 67, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 77, 67, 0.09) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to right, black, transparent 70%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(1, 77, 67, 0.11);
  border-radius: 50%;
}

.orbit-one {
  width: 40rem;
  height: 40rem;
  right: -11rem;
  top: -7rem;
}

.orbit-two {
  width: 22rem;
  height: 22rem;
  left: 43%;
  bottom: -13rem;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 5rem;
  padding-block: 7rem 5rem;
}

.hero-copy {
  max-width: 51rem;
}

.hero-eyebrow,
.eyebrow {
  color: var(--join);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-eyebrow span {
  width: 2.8rem;
  height: 0.15rem;
  background: var(--join);
}

.hero h1 {
  margin-top: 1.7rem;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem);
  line-height: 0.97;
  font-weight: 500;
  color: var(--join-deep);
}

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

.hero-lead {
  max-width: 42rem;
  margin-top: 2rem;
  color: #52635f;
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.5rem 0.4rem 1.5rem;
  font-weight: 600;
}

.button svg,
.submit-button svg {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.7rem;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--join);
  color: var(--white);
}

.button-primary svg {
  background: var(--lime);
  color: var(--join-deep);
}

.button-primary:hover,
.submit-button:hover {
  background: var(--join-dark);
  transform: translateY(-0.15rem);
}

.button-outline {
  border-color: rgba(1, 77, 67, 0.25);
  color: var(--join);
}

.button-outline svg {
  background: var(--white);
}

.button-outline:hover {
  background: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--join);
}

.button-light svg {
  background: var(--lime);
}

.hero-location {
  margin-top: 3.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 35rem;
  margin-inline: auto;
  border: 1px solid rgba(1, 77, 67, 0.18);
  border-radius: 50%;
  animation: enter 800ms ease both;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: '';
  border: 1px dashed rgba(1, 77, 67, 0.22);
  border-radius: 50%;
}

.hero-visual::before {
  inset: 12%;
}

.hero-visual::after {
  inset: 27%;
}

.visual-center {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 9rem;
  height: 9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--join);
  color: var(--white);
  box-shadow: 0 1.2rem 3rem rgba(1, 77, 67, 0.3);
}

/* The mark is dark green; render it white on the green circle (same technique as the footer logo). */
.visual-center img {
  width: auto;
  height: 3.4rem;
  margin-bottom: 0.55rem;
  filter: brightness(0) invert(1);
}

.visual-center small,
.visual-node small {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-center small {
  opacity: 0.7;
}

.visual-node {
  position: absolute;
  z-index: 3;
  width: 9.5rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(1, 77, 67, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: var(--cream);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.visual-node strong {
  margin-top: 0.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
}

.node-talent {
  top: 3%;
  left: 7%;
}

.node-marketing {
  top: 23%;
  right: -5%;
  animation-delay: -1.5s;
}

.node-tech {
  bottom: 5%;
  left: 14%;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.7rem);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
  }
}

.partners-section {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.partners-section .container {
  display: grid;
  grid-template-columns: 16rem 1fr;
  align-items: center;
  gap: 4rem;
}

.partners-heading > p:last-child {
  margin-top: 0.4rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 38s linear infinite;
}

/* Logos share one height; max-width keeps very wide wordmarks from dominating the row. */
.partner-track img {
  box-sizing: content-box;
  width: auto;
  height: 2.4rem;
  max-width: 8.5rem;
  padding-inline: 2.2rem;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.partner-track img:hover {
  opacity: 1;
  filter: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section-intro {
  max-width: 56rem;
}

.section-intro.centered {
  margin-inline: auto;
  text-align: center;
}

.section-intro h2,
.cta-inner h2 {
  margin-top: 1.2rem;
  color: var(--join-deep);
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 1.08;
  font-weight: 500;
}

.section-copy {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.75;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 8rem;
}

.about-body {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.about-body p + p {
  margin-top: 1rem;
}

.about-statement {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 0.2rem solid var(--lime);
  color: var(--join);
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-stage {
  position: relative;
  min-height: 33rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(255, 255, 255, 0.15) 50%, transparent 50.5%),
    var(--join);
}

.brand-stage::before {
  position: absolute;
  content: '';
  inset: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.brand-card {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.brand-card img {
  width: 100%;
}

.brand-card p {
  margin-top: 1.2rem;
  color: var(--join);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.stage-tag {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  background: var(--lime);
  color: var(--join-deep);
  padding: 0.65rem 1rem;
  font-size: 0.73rem;
  font-weight: 700;
}

.tag-one {
  top: 12%;
  right: 5%;
  transform: rotate(4deg);
}

.tag-two {
  bottom: 11%;
  left: 2%;
  background: var(--mint);
  transform: rotate(-3deg);
}

.solutions {
  background: var(--join-deep);
  color: var(--white);
}

.solutions .eyebrow {
  color: var(--mint);
}

.solutions .section-intro h2 {
  color: var(--white);
}

.solutions .section-copy {
  color: rgba(255, 255, 255, 0.62);
}

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

.pillar-card {
  position: relative;
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--cream);
  color: var(--join-deep);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.pillar-card::after {
  position: absolute;
  content: '';
  width: 14rem;
  height: 14rem;
  right: -6rem;
  top: -6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
}

.pillar-card:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-number,
.pillar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(6, 44, 41, 0.25);
  border-radius: 50%;
}

.pillar-card h3 {
  margin-top: 2.6rem;
  font-size: 2rem;
  font-weight: 700;
}

.pillar-card h4 {
  max-width: 22rem;
  margin-top: 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 500;
}

.pillar-card > p {
  margin-top: 1.2rem;
  line-height: 1.65;
  opacity: 0.78;
}

.pillar-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.7rem;
  font-size: 0.88rem;
}

.pillar-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pillar-card li svg,
.success-message svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(6, 44, 41, 0.22);
  font-weight: 700;
}

.solutions-close {
  max-width: 53rem;
  margin: 4rem auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.2rem;
  line-height: 1.65;
  text-align: center;
}

.solutions-close strong {
  color: var(--white);
}

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

.reasons-list {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.reason {
  display: grid;
  grid-template-columns: 4rem 0.65fr 1fr 1.5rem;
  align-items: center;
  gap: 2rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.reason > span {
  color: var(--join);
  font-size: 0.75rem;
  font-weight: 700;
}

.reason h3 {
  font-size: 1.25rem;
  font-weight: 650;
}

.reason p {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.6;
}

.reason > svg {
  width: 1.2rem;
  fill: none;
  stroke: var(--join);
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.reason:hover > svg {
  transform: translate(0.2rem, -0.2rem);
}

.presence {
  background: var(--cream);
}

.presence-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: 8rem;
}

/* The card keeps the map image's aspect ratio so the pin percentages line up with the image. */
.map-visual {
  position: relative;
  aspect-ratio: 617 / 779;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  z-index: 2;
  width: 0.8rem;
  height: 0.8rem;
  translate: -50% -50%;
}

.map-pin i {
  display: block;
  width: 100%;
  height: 100%;
  border: 0.2rem solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0.35rem rgba(239, 135, 90, 0.3);
}

.map-pin span {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.6rem);
  translate: 0 -50%;
  border-radius: 999px;
  background: var(--join-deep);
  color: var(--white);
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0.4rem 1rem rgba(6, 44, 41, 0.2);
}

.map-pin.label-start span {
  left: auto;
  right: calc(100% + 0.6rem);
}

.map-pin.label-below span {
  top: calc(100% + 0.6rem);
  left: 50%;
  translate: -50% 0;
}

.pin-cairo {
  left: 38.1%;
  top: 42.5%;
}

.pin-riyadh {
  left: 63%;
  top: 50.4%;
}

.pin-abu-dhabi {
  left: 75.5%;
  top: 51.7%;
}

.map-visual > p {
  position: absolute;
  z-index: 1;
  right: 1.8rem;
  bottom: 1rem;
  color: rgba(1, 77, 67, 0.12);
  font-family: 'Manrope', sans-serif;
  font-size: 5rem;
  font-weight: 800;
}

.location-list {
  display: grid;
  margin-top: 2.4rem;
}

.location-list article {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid #ccd6d0;
}

.location-list svg {
  width: 1.5rem;
  fill: none;
  stroke: var(--join);
  stroke-width: 1.5;
}

.location-list h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 700;
}

.location-list span {
  margin-left: 0.5rem;
  color: var(--join);
  font-size: 0.78rem;
  font-weight: 600;
}

.location-list p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: 7rem;
  background: var(--join);
  color: var(--white);
}

.cta-pattern {
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -3rem;
  top: -14rem;
  border: 7rem solid rgba(156, 227, 201, 0.1);
  border-radius: 50%;
}

.cta-pattern::after {
  position: absolute;
  content: '';
  width: 15rem;
  height: 28rem;
  right: -3rem;
  top: 13rem;
  background: rgba(217, 241, 111, 0.08);
  transform: rotate(35deg);
}

.cta-inner {
  position: relative;
  max-width: 65rem;
}

.cta-inner .eyebrow {
  color: var(--mint);
}

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

.cta-inner > p:not(.eyebrow) {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
}

.text-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  color: var(--white);
  font-weight: 600;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  align-items: start;
  gap: 8rem;
}

.contact-copy {
  position: sticky;
  top: 8rem;
}

.direct-contact {
  display: grid;
  gap: 0.8rem;
  margin-top: 3rem;
}

.direct-contact a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.direct-contact small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.direct-contact span {
  margin-top: 0.3rem;
  color: var(--join);
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 650;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: var(--cream);
}

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

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #98a39f;
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: var(--join);
  color: var(--white);
  padding: 0.45rem 0.5rem 0.45rem 1.4rem;
  font-weight: 700;
}

.submit-button svg {
  background: var(--lime);
  color: var(--join);
}

.success-message {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--join-light);
  color: var(--join);
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.privacy {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  padding-top: 5rem;
  background: var(--join-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.6fr);
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand img {
  width: 8rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.08rem;
  line-height: 1.5;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h3 {
  margin-bottom: 0.35rem;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.footer-bottom div {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 68rem) {
  .nav-links {
    gap: 1.2rem;
    margin-right: 1.2rem;
  }

  .hero-inner {
    gap: 2rem;
  }

  .about-grid,
  .presence-grid,
  .contact-grid {
    gap: 4rem;
  }

  .pillar-card {
    min-height: 40rem;
  }
}

@media (max-width: 56rem) {
  .section {
    padding-block: 6rem;
  }

  .site-header {
    height: 4.8rem;
  }

  .nav-cta,
  .nav-links {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--join);
  }

  .menu-button svg {
    width: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .nav-links.open {
    position: absolute;
    inset: 4.8rem 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 0.85rem;
  }

  .nav-links.open .nav-profile {
    display: block;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: var(--join);
    color: var(--white);
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-block: 8rem 5rem;
  }

  .hero-copy {
    max-width: 43rem;
  }

  .hero-visual {
    width: min(100%, 33rem);
  }

  .partners-section .container {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .partner-marquee {
    margin-inline: -1.5rem;
  }

  .about-grid,
  .presence-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-stage {
    min-height: 30rem;
  }

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

  .pillar-card {
    min-height: 34rem;
  }

  .reason {
    grid-template-columns: 3rem 0.75fr 1fr 1.2rem;
    gap: 1rem;
  }

  .presence-grid {
    gap: 4rem;
  }

  .map-visual {
    max-width: 34rem;
  }

  .contact-copy {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, 0.7fr);
    gap: 2rem;
  }
}

@media (max-width: 38rem) {
  .container {
    width: min(100% - 2rem, 90rem);
  }

  .section {
    padding-block: 4.5rem;
  }

  .brand {
    width: 6.4rem;
  }

  .hero-inner {
    padding-block: 7rem 4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-eyebrow {
    line-height: 1.5;
  }

  .hero-eyebrow span {
    width: 1.5rem;
    flex: 0 0 auto;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-location {
    line-height: 1.5;
  }

  .hero-visual {
    width: 23rem;
    max-width: 100%;
  }

  .visual-center {
    width: 7rem;
    height: 7rem;
  }

  .visual-center img {
    height: 2.5rem;
    margin-bottom: 0.4rem;
  }

  .visual-node {
    width: 7.6rem;
    min-height: 5.2rem;
    padding: 0.9rem;
  }

  .node-marketing {
    right: -2%;
  }

  .section-intro h2,
  .cta-inner h2 {
    font-size: 2.4rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .brand-stage {
    min-height: 23rem;
  }

  .brand-card {
    padding: 2rem;
  }

  .pillar-card {
    min-height: 37rem;
    padding: 1.5rem;
  }

  .reason {
    grid-template-columns: 2rem 1fr 1.2rem;
  }

  .reason h3 {
    font-size: 1.05rem;
  }

  .reason p {
    grid-column: 2 / 4;
  }

  .reason > svg {
    grid-column: 3;
    grid-row: 1;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

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