@font-face {
  font-family: "Anjoman";
  src: local("Anjoman Max"), local("AnjomanMax"), local("Anjoman");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/iransans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #092f33;
  --ink-soft: #456367;
  --teal: #11aaa7;
  --teal-deep: #087d7c;
  --cyan: #5ee2dc;
  --mist: #eef8f8;
  --paper: #fbfefd;
  --line: rgba(9, 47, 51, 0.12);
  --violet: #7b61ff;
  --coral: #ff726b;
  --type-section-title: clamp(1.75rem, 2.25vw, 2.4rem);
  --type-card-title: clamp(1.25rem, 1.55vw, 1.8rem);
  --type-lead: clamp(0.875rem, 0.82rem + 0.18vw, 0.975rem);
  --type-body: 0.875rem;
  --type-small: 0.75rem;
  --tracking-fa: -0.018em;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Anjoman", "IRANSans", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid rgba(17, 170, 167, 0.75);
  outline-offset: 4px;
}

::selection {
  background: var(--teal);
  color: white;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 85% 4%,
      rgba(94, 226, 220, 0.12),
      transparent 22%
    ),
    var(--paper);
  overflow: clip;
}

.section-pad {
  padding: 112px max(5vw, 32px);
}

/* Navigation */
.topbar {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1320px, calc(100% - 44px));
  min-height: 72px;
  padding: 9px 12px 9px 20px;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(251, 254, 253, 0.78);
  box-shadow: 0 16px 48px rgba(13, 65, 70, 0.08);
  backdrop-filter: blur(22px) saturate(1.35);
  transform: translateX(-50%);
}

.brand {
  justify-self: end;
  display: flex;
  align-items: center;
  width: 148px;
  height: 50px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 18px 0;
  color: #25484c;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 11px;
  width: 100%;
  height: 2px;
  border-radius: 20px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

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

.nav-cta {
  justify-self: start;
  height: 50px;
  padding: 6px 7px 6px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    background 250ms ease;
}

.nav-cta i,
.submit-button i {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--teal);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #062326;
  box-shadow: 0 14px 28px rgba(9, 47, 51, 0.22);
  transform: translateY(-2px);
}

.arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.arrow--diagonal {
  transform: rotate(-45deg);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.orbit-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-block;
}

.orbit-mark span {
  position: absolute;
  inset: 7px 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: rotate(24deg);
}

.orbit-mark span:nth-child(2) {
  transform: rotate(-38deg) scale(0.82);
  opacity: 0.55;
}

.orbit-mark i {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(17, 170, 167, 0.12);
}

/* Opening banner */
.hero {
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #edf3f5;
  isolation: isolate;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1774 / 887;
  overflow: hidden;
  background: #edf3f5;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  animation: hero-banner-breathe 14s ease-in-out infinite;
}

/* Brand statement */
.statement {
  padding: 82px max(6vw, 34px) 104px;
  text-align: center;
  background: white;
}

.statement p {
  max-width: 920px;
  margin: 0 auto;
  color: #37585b;
  font-size: clamp(22px, 2.25vw, 35px);
  font-weight: 300;
  letter-spacing: var(--tracking-fa);
  line-height: 1.78;
}

.statement p span {
  color: var(--ink);
  font-weight: 600;
}

.statement-line {
  position: relative;
  width: min(520px, 60vw);
  height: 62px;
  margin: 30px auto -22px;
  border: 1px solid rgba(17, 170, 167, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.statement-line i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(17, 170, 167, 0.12);
  animation: statement-orbit 5s ease-in-out infinite;
}

.statement-brand {
  position: absolute;
  top: 27px;
  left: 50%;
  direction: ltr;
  color: var(--teal-deep);
  font:
    600 18px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.34em;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  transform: translate(-50%, 7px);
  animation: statement-brand-reveal 5s ease-in-out infinite;
}

/* Services */
.services {
  position: relative;
  background: linear-gradient(180deg, #f4fafa 0%, #fbfefd 40%), var(--paper);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-intro--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-intro--center .eyebrow {
  justify-content: center;
}

.section-intro h2 {
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: var(--tracking-fa);
  line-height: 1.55;
}

.section-intro p {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--type-lead);
  line-height: 2.05;
}

/* Centered editorial headings for the three primary sections */
.services .section-intro,
.process .section-intro,
.work .section-intro {
  width: min(100%, 900px);
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services .section-intro .eyebrow,
.process .section-intro .eyebrow,
.work .section-intro .eyebrow {
  justify-content: center;
}

.services .section-intro h2,
.process .section-intro h2,
.work .section-intro h2 {
  position: relative;
  max-width: 860px;
  margin: 15px auto 20px;
  padding-bottom: 20px;
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: var(--tracking-fa);
  line-height: 1.58;
  text-wrap: balance;
}

.services .section-intro h2::after,
.process .section-intro h2::after,
.work .section-intro h2::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 88px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--teal),
    var(--cyan),
    transparent
  );
  box-shadow: 0 0 16px rgba(94, 226, 220, 0.32);
  transform: translateX(50%);
}

.services .section-intro p,
.work .section-intro p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-grid {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 760px;
  margin: 0 auto;
}

.service-card {
  --card-accent: var(--cyan);
  position: absolute;
  width: 32%;
  height: 300px;
  min-height: 0;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(11, 53, 58, 0.07);
  isolation: isolate;
  translate: 0 0;
  animation: service-drift 6.5s ease-in-out infinite;
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 420ms ease;
}

.service-card:nth-child(1) {
  top: 220px;
  right: 0;
  animation-delay: -1.6s;
}

.service-card:nth-child(2) {
  top: 0;
  left: 34%;
  width: 33%;
  animation-delay: -3.4s;
}

.service-card:nth-child(3) {
  top: 235px;
  left: 0;
  animation-delay: -4.8s;
}

.service-card:nth-child(4) {
  top: 390px;
  left: 34%;
  width: 33%;
  animation-delay: -0.5s;
}

.service-card--wide,
.service-card--tall {
  min-height: 0;
}

.service-card img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 750ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 500ms ease;
}

.service-card:nth-child(1) img {
  object-position: 55% 70%;
}
.service-card:nth-child(2) img {
  object-position: 50% 55%;
}
.service-card:nth-child(4) img {
  object-position: 50% 55%;
}

.service-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(4, 25, 28, 0.06) 20%,
      rgba(4, 25, 28, 0.88) 100%
    ),
    linear-gradient(90deg, rgba(7, 36, 39, 0.34), transparent 70%);
}

.service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 29px;
  pointer-events: none;
}

.service-number {
  position: absolute;
  top: 26px;
  right: 28px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font:
    600 10px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.service-content {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 85px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.service-content small {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font:
    600 9px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.18em;
}

.service-content strong {
  font-size: var(--type-card-title);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.45;
}

.service-content em {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-style: normal;
  line-height: 1.85;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 450ms ease,
    margin 450ms ease,
    opacity 350ms ease,
    transform 450ms ease;
}

.service-arrow {
  position: absolute;
  left: 26px;
  bottom: 26px;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  transition:
    color 300ms ease,
    background 300ms ease,
    transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover,
.service-card:focus-visible {
  box-shadow: 0 28px 54px rgba(11, 53, 58, 0.18);
  transform: translateY(-8px) scale(1.015);
}

.service-card:hover img,
.service-card:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.055);
}

.service-card:hover .service-content em,
.service-card:focus-visible .service-content em {
  max-height: 65px;
  margin-top: 8px;
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  color: white;
  background: var(--teal);
  transform: rotate(45deg);
}

/* Clients */
.client-section {
  padding: 72px 0 86px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.client-heading {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
}

.client-heading span {
  color: var(--teal);
  font:
    700 9px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.24em;
}

.client-heading h2 {
  width: 100%;
  margin: 0;
  font-size: clamp(21px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.65;
  text-align: center;
}

.client-marquee {
  position: relative;
  overflow: hidden;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 12vw;
  pointer-events: none;
}

.client-marquee::before {
  right: 0;
  background: linear-gradient(270deg, white, transparent);
}
.client-marquee::after {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.client-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: client-scroll 28s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-track figure {
  width: 245px;
  height: 92px;
  margin: 0;
  padding: 20px 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}

.client-track img {
  max-width: 155px;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.48;
  transition:
    filter 300ms ease,
    opacity 300ms ease,
    transform 300ms ease;
}

.client-track figure:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* Collaboration process */
.process {
  position: relative;
  width: 100%;
  margin: 64px 0;
  padding-top: 52px;
  padding-bottom: 50px;
  overflow: hidden;
  border-top: 1px solid rgba(94, 226, 220, 0.11);
  border-bottom: 1px solid rgba(94, 226, 220, 0.11);
  border-radius: 0;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(94, 226, 220, 0.08),
      transparent 26%
    ),
    #082e32;
  box-shadow:
    0 18px 52px rgba(9, 47, 51, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.04);
  color: white;
  isolation: isolate;
}

.process::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 226, 220, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 226, 220, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 78%);
  pointer-events: none;
}

.process::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -32%;
  width: 26%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 226, 220, 0.07),
    transparent
  );
  transform: skewX(-12deg);
  pointer-events: none;
  animation: process-scan 9s linear infinite;
}

.process-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.process .section-intro {
  margin-bottom: 0;
}
.process .eyebrow {
  color: var(--cyan);
}
.process .section-intro h2 {
  max-width: 780px;
  margin-top: 13px;
  margin-bottom: 14px;
  padding-bottom: 18px;
  color: white;
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.012em;
  line-height: 1.55;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.process .section-intro h2::after {
  width: 84px;
}

.process-top > p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.95;
  text-align: center;
}

.process-orbit {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-line {
  position: absolute;
  z-index: 0;
  top: 36px;
  right: 7%;
  left: 7%;
  height: 1px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
}

.process-line span {
  display: block;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px rgba(94, 226, 220, 0.42);
  animation: process-travel 5.6s ease-in-out infinite;
}

.process-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 0 0 4px rgba(94, 226, 220, 0.12),
    0 0 17px 5px rgba(94, 226, 220, 0.42);
  animation: process-beacon 5.6s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.process-orbit article {
  position: relative;
  z-index: 1;
  min-height: 138px;
  padding: 14px 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 21px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(7px);
  transition:
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.process-orbit article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  opacity: 0.65;
}

.process-orbit article:hover {
  border-color: rgba(94, 226, 220, 0.26);
  background: linear-gradient(
    145deg,
    rgba(94, 226, 220, 0.095),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
}

.process-node {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--cyan);
  background: #082e32;
  font:
    600 11px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  animation: process-node-glow 5.6s ease-in-out infinite;
  animation-delay: calc(var(--step) * 1.35s);
}

.process-node i {
  position: absolute;
  top: 1px;
  right: 31px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(94, 226, 220, 0.11);
  animation: process-node-pulse 2.8s ease-in-out infinite;
  animation-delay: calc(var(--step) * 350ms);
}

.process-orbit h3 {
  margin: 14px 0 7px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.process-orbit p {
  max-width: 240px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.85;
}

/* Selected projects */
.work {
  padding-top: 72px;
  padding-bottom: 90px;
  background: var(--paper);
}

.work .section-intro {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-bottom: 26px;
}

.work .section-intro h2 {
  max-width: none;
  margin: 10px auto 12px;
  padding-bottom: 14px;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.48;
  white-space: nowrap;
}

.work .section-intro p {
  max-width: 820px;
  font-size: 12px;
  line-height: 1.9;
  white-space: nowrap;
}

.work-toolbar {
  width: min(100%, 1068px);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.work-toolbar > span {
  color: #70868a;
  font-size: 11px;
}

.work-tabs {
  padding: 5px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.work-tabs button {
  padding: 9px 15px;
  border: 0;
  border-radius: 11px;
  color: #60777a;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition:
    color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.work-tabs button.is-active {
  color: white;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(9, 47, 51, 0.17);
}

.project-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  transform: translateX(0);
}

.project-carousel {
  position: relative;
  width: min(100%, 1164px);
  margin: 0 auto;
  padding: 0 48px;
  outline: 0;
}

.project-carousel:focus-visible .project-viewport {
  outline: 2px solid rgba(17, 170, 167, 0.34);
  outline-offset: 7px;
  border-radius: 28px;
}

.project-viewport {
  width: 100%;
  overflow: hidden;
}

.project-nav {
  position: absolute;
  z-index: 6;
  top: clamp(150px, 20vw, 252px);
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(9, 47, 51, 0.1);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(9, 47, 51, 0.1);
  cursor: pointer;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    opacity 220ms ease;
}

.project-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-nav--previous {
  right: 0;
}

.project-nav--next {
  left: 0;
}

.project-nav:hover:not(:disabled),
.project-nav:focus-visible:not(:disabled) {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
  box-shadow: 0 15px 32px rgba(17, 170, 167, 0.22);
  transform: scale(1.06);
}

.project-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.project-grid.is-leaving-next {
  animation: project-leave-next 180ms ease forwards;
}

.project-grid.is-leaving-previous {
  animation: project-leave-previous 180ms ease forwards;
}

.project-grid.is-entering-next {
  animation: project-enter-next 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-grid.is-entering-previous {
  animation: project-enter-previous 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card {
  grid-column: auto;
  align-self: stretch;
  width: 100%;
  max-width: 520px;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(9, 47, 51, 0.075);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(3, 33, 36, 0.075);
  transition:
    border-color 280ms ease,
    box-shadow 360ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card--2 {
  grid-column: auto;
}

.project-card > a {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  outline: 0;
}

.project-image {
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  border-radius: 26px 26px 19px 19px;
  background: #e8eeee;
  box-shadow: none;
}

.project-card--2 .project-image {
  height: auto;
}

.project-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 1px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    transparent 38%
  );
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 450ms ease;
}

.project-index {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: white;
  background: rgba(8, 31, 34, 0.24);
  backdrop-filter: blur(10px);
  font:
    600 10px/1 "Anjoman",
    "IRANSans",
    sans-serif;
}

.project-view {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  min-height: 44px;
  padding: 7px 14px 7px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  color: white;
  background: rgba(7, 35, 38, 0.88);
  font-size: 11px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 300ms ease,
    transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-view .arrow {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--cyan);
}

.project-copy {
  min-height: 150px;
  padding: 18px 20px 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.project-copy span {
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 600;
}

.project-copy h3 {
  margin: 6px 0 8px;
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.65;
}

.project-copy p {
  margin: 0;
  color: #708588;
  font-size: 11px;
  line-height: 1.95;
}

.project-copy ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
}

.project-copy li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #607679;
  font:
    500 8px/1 "Anjoman",
    "IRANSans",
    sans-serif;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(17, 170, 167, 0.2);
  box-shadow: 0 24px 58px rgba(3, 33, 36, 0.11);
  transform: translateY(-5px);
}

.project-card a:hover .project-image img,
.project-card a:focus-visible .project-image img {
  filter: saturate(1.055) contrast(1.015);
  transform: scale(1.025);
}

.project-card a:hover .project-view,
.project-card a:focus-visible .project-view {
  opacity: 1;
  transform: translateY(0);
}

/* Distribution network */
.distribution {
  position: relative;
  min-height: 0;
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 5vw, 82px);
  overflow: hidden;
  border-top: 1px solid rgba(9, 47, 51, 0.06);
  border-bottom: 1px solid rgba(9, 47, 51, 0.06);
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(95, 224, 217, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
  isolation: isolate;
}

.distribution::before {
  display: none;
}

.distribution-copy {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.distribution-copy .eyebrow {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(17, 170, 167, 0.14);
  border-radius: 999px;
  background: rgba(244, 251, 250, 0.92);
}

.distribution-copy h2 {
  max-width: 540px;
  margin: 14px 0 12px;
  font-size: clamp(27px, 2.1vw, 36px);
  font-weight: 600;
  letter-spacing: var(--tracking-fa);
  line-height: 1.55;
}

.distribution-copy > p {
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 2.05;
}

.distribution-list {
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.distribution-list > div {
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  border: 1px solid rgba(9, 47, 51, 0.08);
  border-radius: 14px;
  background: rgba(248, 252, 252, 0.9);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background-color 250ms ease,
    box-shadow 250ms ease;
}

.distribution-list > div:hover {
  transform: translateX(-4px);
  border-color: rgba(17, 170, 167, 0.26);
  background: white;
  box-shadow: 0 12px 30px rgba(9, 47, 51, 0.07);
}

.distribution-list b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(17, 170, 167, 0.18);
  border-radius: 50%;
  color: var(--teal);
  background: white;
  font:
    600 10px/1 "Anjoman",
    "IRANSans",
    sans-serif;
}

.distribution-list span {
  display: grid;
  gap: 2px;
}

.distribution-list strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.8;
}

.distribution-list small {
  color: #789093;
  font-size: 9.5px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(9, 47, 51, 0.09);
  border-radius: 14px;
  color: var(--ink);
  background: white;
  box-shadow: 0 9px 24px rgba(9, 47, 51, 0.06);
  font-size: 12px;
  font-weight: 600;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.text-link:hover {
  border-color: rgba(17, 170, 167, 0.28);
  color: var(--teal-dark);
  box-shadow: 0 13px 30px rgba(9, 47, 51, 0.09);
}

.text-link .arrow {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  transition: transform 250ms ease;
}

.text-link:hover .arrow {
  transform: translateX(-5px);
}

.distribution-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 0;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(9, 47, 51, 0.08);
  border-radius: 30px;
  background: #f5f8f8;
  box-shadow:
    0 28px 70px rgba(9, 47, 51, 0.11),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  isolation: isolate;
}

.distribution-visual::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    transparent 38%,
    rgba(17, 170, 167, 0.035)
  );
}

.distribution-visual img {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.015);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms ease;
}

.distribution-visual:hover img {
  transform: scale(1.025);
  filter: saturate(1.02) contrast(1.02);
}

.broadcast-orbit {
  display: none;
}

.broadcast-orbit::after {
  content: "";
  position: absolute;
  top: 48%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow:
    0 0 0 8px rgba(17, 170, 167, 0.12),
    0 0 24px var(--cyan);
}

.broadcast-orbit--one {
  animation: broadcast-orbit 13s linear infinite;
}
.broadcast-orbit--two {
  width: 48%;
  border-color: rgba(123, 97, 255, 0.22);
  animation: broadcast-orbit 9s linear reverse infinite;
}

.broadcast-chip {
  display: none;
}

.broadcast-chip--one {
  top: 16%;
  left: 10%;
}
.broadcast-chip--two {
  right: 1%;
  bottom: 25%;
  animation-delay: 1.2s;
}
.broadcast-chip--three {
  left: 17%;
  bottom: 7%;
  animation-delay: 2.1s;
}

/* Consultation */
.consultation {
  background: white;
  padding-top: 82px;
  padding-bottom: 330px;
}

.consultation-panel {
  position: relative;
  height: 340px;
  padding: 42px clamp(34px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr minmax(360px, 0.78fr);
  align-items: start;
  gap: 5vw;
  overflow: visible;
  border-radius: 27px;
  color: white;
  background: linear-gradient(112deg, #23b9b4 0%, #11aaa7 48%, #16a7a3 100%);
  box-shadow: 0 18px 44px rgba(9, 47, 51, 0.08);
}

.consultation-panel::before,
.consultation-panel::after {
  display: none;
}

.consultation-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  padding-top: 7px;
}

.eyebrow--light {
  color: var(--cyan);
}
.eyebrow--light .orbit-mark i {
  box-shadow: 0 0 0 4px rgba(94, 226, 220, 0.13);
}

.consultation-copy h2 {
  max-width: 620px;
  margin: 14px 0 12px;
  font-size: clamp(25px, 2.25vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.consultation-copy > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 2.05;
}

.contact-direct {
  margin-top: 14px;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-direct span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}
.contact-direct a {
  align-self: flex-end;
  font:
    500 17px/1.25 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.04em;
}

.consultation-form {
  position: relative;
  z-index: 3;
  grid-column: 2;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  padding: clamp(25px, 2.5vw, 34px);
  justify-self: center;
  border: 1px solid rgba(9, 47, 51, 0.045);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 48px rgba(3, 33, 36, 0.11);
  backdrop-filter: blur(14px);
}

.form-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.form-heading span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.form-heading small {
  color: #809194;
  font-size: 9px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.consultation-form > label,
.form-row label {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consultation-form label > span,
.consultation-form legend {
  color: #37585b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.75;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  border: 1px solid rgba(9, 47, 51, 0.1);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #f5f8f8;
  font-size: 12px;
  line-height: 1.75;
  transition:
    border 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.consultation-form input {
  height: 48px;
  padding: 0 14px;
}
.consultation-form textarea {
  min-height: 82px;
  padding: 12px 14px;
  resize: vertical;
}
.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
  color: #a5b1b3;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: rgba(17, 170, 167, 0.62);
  background: white;
  box-shadow: 0 0 0 4px rgba(17, 170, 167, 0.1);
}

.consultation-form fieldset {
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
}

.consultation-form legend {
  margin-bottom: 8px;
}

.consultation-form fieldset label {
  position: relative;
  cursor: pointer;
}

.consultation-form fieldset input {
  position: absolute;
  opacity: 0;
}

.consultation-form fieldset span {
  min-height: 36px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(9, 47, 51, 0.1);
  border-radius: 10px;
  background: #f5f8f8;
  font-size: 10px;
  transition:
    color 220ms ease,
    border 220ms ease,
    background 220ms ease;
}

.consultation-form fieldset input:checked + span {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(17, 170, 167, 0.08);
}

.consultation-form fieldset input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(17, 170, 167, 0.12);
}

.submit-button {
  width: 100%;
  height: 54px;
  padding: 7px 8px 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 15px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  box-shadow: 0 15px 28px rgba(9, 47, 51, 0.22);
  transform: translateY(-2px);
}

.form-privacy {
  display: block;
  margin-top: 12px;
  color: #8b9b9d;
  font-size: 8px;
  text-align: center;
}

.form-success {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-orbit {
  position: relative;
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 170, 167, 0.2);
  border-radius: 50%;
}

.success-orbit i {
  position: absolute;
  width: 125px;
  height: 48px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: success-spin 2.8s linear infinite;
}

.success-orbit span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 23px;
}

.form-success h3 {
  margin: 28px 0 8px;
  font-size: 25px;
}
.form-success p {
  margin: 0;
  color: #71878a;
  font-size: 11px;
}
.form-success button {
  margin-top: 25px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: var(--teal-deep);
  background: rgba(17, 170, 167, 0.09);
  cursor: pointer;
  font-size: 10px;
}

/* Footer */
.footer {
  position: relative;
  min-height: 410px;
  margin-top: 105px;
  padding: 58px max(5vw, 32px) 100px;
  color: #143b3f;
  background: white;
  overflow: visible;
}

.footer-sky {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 320px;
  background:
    linear-gradient(
      180deg,
      rgba(237, 245, 247, 0.08) 0%,
      rgba(237, 245, 247, 0.38) 76%
    ),
    url("../images/earth-clouds.webp") center bottom/cover no-repeat;
  opacity: 0.95;
  overflow: hidden;
}

.footer::before {
  display: none;
}

.footer::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 72px;
  left: clamp(18px, 4.4vw, 82px);
  width: clamp(260px, 23vw, 360px);
  height: clamp(220px, 20vw, 320px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(128, 238, 233, 0.46) 0%,
    rgba(94, 226, 220, 0.18) 34%,
    rgba(94, 226, 220, 0) 70%
  );
  filter: blur(10px);
  opacity: 0.58;
  pointer-events: none;
  animation: moon-glow 4.8s ease-in-out infinite;
}

.footer-astronaut {
  position: absolute;
  z-index: 6;
  right: auto;
  top: -86px;
  left: clamp(-20px, 1vw, 22px);
  bottom: auto;
  width: clamp(340px, 30vw, 440px);
  filter: drop-shadow(0 22px 32px rgba(19, 59, 63, 0.16))
    drop-shadow(0 0 18px rgba(94, 226, 220, 0.2));
  animation: footer-float 5.6s ease-in-out infinite;
}

.footer-content {
  position: relative;
  z-index: 4;
  max-width: none;
  margin-right: 0;
  margin-left: min(34vw, 490px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(25px, 4vw, 56px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-symbol {
  color: var(--teal);
  font:
    300 46px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: -0.12em;
}

.footer-brand strong {
  margin-top: 8px;
  font:
    500 12px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  letter-spacing: 0.24em;
}

.footer-brand p {
  max-width: 250px;
  margin: 18px 0 0;
  color: #5d777a;
  font-size: 11px;
  line-height: 1.9;
}

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

.footer-column > span {
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 700;
}

.footer-column a,
.footer-column p {
  position: relative;
  margin: 0;
  color: #456367;
  font-size: 11px;
}

.footer-column a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.footer-column a:hover::after {
  transform: scaleX(1);
  transform-origin: right;
}

.footer-bottom {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  padding: 0 max(5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 0;
  color: var(--teal-deep);
  background: white;
  font-size: 11px;
}

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

.footer-bottom > div:last-child {
  position: absolute;
  right: max(5vw, 32px);
  display: flex;
  gap: 22px;
}

.socials {
  position: absolute;
  top: -55px;
  left: 50%;
  display: flex;
  gap: 9px;
  direction: ltr;
  transform: translateX(-50%);
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 11px;
  color: white;
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(9, 47, 51, 0.12);
  font:
    700 11px/1 "Anjoman",
    "IRANSans",
    sans-serif;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.socials a:nth-child(1) {
  background: linear-gradient(135deg, #7b3fe4, #f53b72 55%, #ffb13b);
}
.socials a:nth-child(2) {
  background: #0a66c2;
}
.socials a:nth-child(3) {
  border-radius: 50%;
  background: #229ed9;
}

.socials a:hover {
  color: white;
  transform: translateY(-4px) rotate(-4deg) scale(1.04);
}

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}

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

/* Motion */
@keyframes hero-banner-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.008);
  }
}

@keyframes statement-orbit {
  0%,
  100% {
    left: 18%;
  }
  50% {
    left: 82%;
  }
}

@keyframes statement-brand-reveal {
  0%,
  7% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    transform: translate(-50%, 7px);
  }
  18%,
  92% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    transform: translate(-50%, -3px);
  }
}

@keyframes project-leave-next {
  to {
    opacity: 0;
    transform: translateX(-26px);
  }
}

@keyframes project-leave-previous {
  to {
    opacity: 0;
    transform: translateX(26px);
  }
}

@keyframes project-enter-next {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes project-enter-previous {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes process-travel {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(290%);
  }
}

@keyframes process-scan {
  0% {
    left: -32%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  88%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes process-beacon {
  0% {
    left: 0;
    opacity: 0;
    transform: scale(0.7);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  88% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    left: calc(100% - 7px);
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes process-node-glow {
  0%,
  72%,
  100% {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 rgba(94, 226, 220, 0);
  }
  82% {
    border-color: rgba(94, 226, 220, 0.72);
    box-shadow: 0 0 22px rgba(94, 226, 220, 0.2);
  }
}

@keyframes process-node-pulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.58;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes broadcast-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes broadcast-orbit {
  to {
    transform: rotateX(66deg) rotateZ(372deg);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes success-spin {
  to {
    transform: rotate(342deg);
  }
}

@keyframes footer-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.25deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.35deg);
  }
}

@keyframes moon-glow {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.06);
  }
}

@keyframes service-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

/* Responsive */
@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 160px 1fr 170px;
    gap: 15px;
  }
  .nav-links {
    gap: 22px;
  }
  .hero {
    min-height: 0;
  }
  .distribution {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 34px;
  }
  .distribution-visual {
    max-width: 660px;
  }
  .consultation-panel {
    gap: 4vw;
  }
  .service-grid {
    height: 680px;
  }
  .service-card {
    height: 270px;
  }
  .service-card:nth-child(1) {
    top: 190px;
  }
  .service-card:nth-child(3) {
    top: 205px;
  }
  .service-card:nth-child(4) {
    top: 350px;
  }
  .footer-content {
    margin-left: min(35vw, 390px);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 88px 26px;
  }
  .topbar {
    top: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr auto auto;
    border-radius: 18px;
  }
  .brand {
    justify-self: start;
    width: 128px;
  }
  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: var(--ink);
    transition: transform 250ms ease;
  }
  .menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    top: 94px;
    right: 12px;
    left: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: rgba(251, 254, 253, 0.97);
    box-shadow: 0 24px 54px rgba(9, 47, 51, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 240ms ease,
      transform 240ms ease;
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-cta {
    height: 48px;
  }
  .nav-cta i {
    display: none;
  }
  .hero {
    min-height: 0;
    padding: 0;
    display: block;
  }
  .work {
    padding-top: 62px;
    padding-bottom: 74px;
  }
  .work .section-intro h2,
  .work .section-intro p {
    white-space: normal;
  }
  .project-carousel {
    padding: 0 44px;
  }
  .statement {
    padding: 70px 26px 88px;
  }
  .service-grid {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: 310px;
  }
  .process-top {
    gap: 16px;
  }
  .process {
    width: 100%;
    margin: 48px 0;
    padding-top: 48px;
    padding-bottom: 48px;
    border-radius: 0;
  }
  .process-orbit {
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px;
  }
  .process-line {
    display: none;
  }
  .distribution {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .distribution-visual {
    width: min(100%, 720px);
    min-height: 0;
    order: -1;
    border-radius: 26px;
  }
  .distribution-visual img {
    width: 100%;
  }
  .distribution-copy {
    max-width: 720px;
    justify-self: center;
  }
  .consultation {
    padding-bottom: 100px;
  }
  .consultation-panel {
    height: auto;
    min-height: auto;
    padding: 55px 30px 30px;
    grid-template-columns: 1fr;
    gap: 32px;
    overflow: hidden;
  }
  .consultation-form {
    grid-column: 1;
    max-width: 650px;
  }
  .contact-direct {
    margin-top: 28px;
  }
  .footer {
    min-height: 470px;
    margin-top: 80px;
    padding: 52px 26px 100px;
  }
  .footer-sky {
    height: 380px;
  }
  .footer::after {
    top: 70px;
    left: -15px;
  }
  .footer-astronaut {
    right: auto;
    top: -62px;
    left: -52px;
    bottom: auto;
    width: 340px;
    opacity: 0.88;
  }
  .footer-content {
    margin: 0 0 0 255px;
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-bottom {
    right: 0;
    left: 0;
  }
  .footer-contact {
    display: none;
  }
}

@media (max-width: 680px) {
  .section-pad {
    padding: 72px 18px;
  }
  .topbar {
    min-height: 64px;
    padding: 7px 8px 7px 12px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    width: 112px;
    height: 44px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding: 0;
  }
  .statement {
    padding: 62px 20px 78px;
  }
  .statement p {
    font-size: 22px;
    line-height: 1.82;
  }
  .statement-line {
    width: 82vw;
  }
  .work {
    padding-top: 52px;
    padding-bottom: 64px;
  }
  .work .section-intro {
    margin-bottom: 22px;
  }
  .work .section-intro h2 {
    font-size: 25px;
    line-height: 1.58;
  }
  .work-toolbar {
    margin-bottom: 20px;
  }
  .project-carousel {
    padding: 0 22px;
  }
  .project-nav {
    top: clamp(120px, 37vw, 168px);
    width: 38px;
    height: 38px;
  }
  .section-intro {
    margin-bottom: 38px;
  }
  .section-intro h2 {
    font-size: 28px;
    line-height: 1.58;
  }
  .service-grid {
    display: flex;
    height: auto;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar {
    display: none;
  }
  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card--wide,
  .service-card--tall {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: 410px;
    min-width: 84vw;
    min-height: 410px;
    scroll-snap-align: center;
  }
  .service-content em {
    max-height: 65px;
    margin-top: 8px;
    opacity: 1;
    transform: none;
  }
  .client-heading {
    width: calc(100% - 36px);
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
  }
  .client-track figure {
    width: 190px;
    padding: 18px 30px;
  }
  .process {
    width: 100%;
    margin: 36px 0;
    padding-top: 44px;
    padding-bottom: 44px;
    border-radius: 0;
  }
  .process-orbit {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-orbit article {
    min-height: 0;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 14px;
  }
  .process-node {
    grid-row: span 2;
  }
  .process-orbit h3 {
    margin: 4px 0 5px;
  }
  .work-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .work-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .work-tabs button {
    flex: 1 0 auto;
  }
  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card {
    grid-column: auto;
    margin-bottom: 0;
  }
  .project-image,
  .project-card--2 .project-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 23px;
  }
  .project-view {
    opacity: 1;
    transform: none;
  }
  .project-copy {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 32px;
  }
  .project-copy ul {
    justify-content: flex-start;
  }
  .distribution {
    padding-top: 54px;
    padding-bottom: 58px;
    gap: 30px;
  }
  .distribution-visual {
    width: 100%;
    min-height: 0;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(9, 47, 51, 0.1);
  }
  .distribution-copy h2 {
    font-size: 26px;
    line-height: 1.62;
  }
  .distribution-list {
    margin: 18px 0;
    gap: 8px;
  }
  .distribution-list > div {
    padding: 11px 12px;
    border-radius: 13px;
  }
  .distribution-list > div:hover {
    transform: none;
  }
  .text-link {
    width: 100%;
    justify-content: space-between;
  }
  .consultation {
    padding-right: 10px;
    padding-left: 10px;
  }
  .consultation-panel {
    padding: 44px 16px 16px;
    border-radius: 30px;
  }
  .consultation-copy {
    padding: 0 10px;
  }
  .consultation-copy h2 {
    font-size: 29px;
    line-height: 1.58;
  }
  .consultation-form {
    padding: 25px 18px;
    border-radius: 24px;
  }
  .consultation-form input,
  .consultation-form textarea {
    font-size: 16px;
  }
  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .consultation-form fieldset {
    align-items: stretch;
    flex-direction: column;
  }
  .footer {
    min-height: 520px;
    margin-top: 70px;
    padding: 58px 22px 100px;
  }
  .footer-sky {
    height: 430px;
  }
  .footer::after {
    top: 88px;
    left: -55px;
    width: 250px;
    height: 230px;
  }
  .footer-astronaut {
    right: auto;
    top: -54px;
    left: -72px;
    bottom: auto;
    width: 285px;
    opacity: 0.78;
  }
  .footer-content {
    margin: 0;
    grid-template-columns: 1fr 1fr;
    gap: 42px 26px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    right: 0;
    bottom: 0;
    left: 0;
    height: 90px;
    padding: 0 22px;
  }
  .footer-bottom p {
    display: block;
    max-width: 220px;
    font-size: 9px;
  }
  .footer-bottom > div:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .statement-brand {
    opacity: 1;
    clip-path: none;
    transform: translate(-50%, 0);
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
