.about-page {
  --about-line: color-mix(in srgb, var(--color-border) 78%, transparent);
  --about-map-route: rgb(36 84 216 / 26%);
  --about-map-flow: #22c7e8;
  --about-map-node: #2454d8;
  --about-map-node-core: #d9b64c;
  --about-flow-point: color-mix(in srgb, var(--color-operations-muted) 28%, var(--color-operations-border));
}

.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: var(--font-family-heading);
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--color-primary-700);
  font-size: var(--text-sm);
  font-weight: 850;
}

.about-kicker > span {
  width: 1.65rem;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-signal), var(--color-primary-500));
}

.about-kicker--inverse {
  color: var(--color-signal-soft);
}

.about-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-primary-100) 18%, transparent), transparent 42%),
    var(--color-surface);
  isolation: isolate;
}

.about-hero__layout {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: var(--page-start-space);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: none;
  align-self: start;
}

.about-hero__title {
  max-width: none;
  margin: var(--space-5) 0 0;
  color: var(--color-ink);
  font-size: var(--text-display);
  font-weight: 950;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  text-wrap: balance;
}

.about-hero__title span {
  display: block;
  color: var(--color-primary-600);
}

.about-hero__description {
  max-width: 62ch;
  margin: var(--space-6) 0 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 2.05;
  text-wrap: pretty;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block-start: var(--space-8);
}

.about-hero__actions .button {
  min-width: 168px;
}

.about-hero__actions .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.iran-network {
  min-width: 0;
  margin: 0;
}

.iran-network__canvas {
  position: relative;
  max-width: 580px;
  margin-inline: auto;
  color: var(--color-primary-600);
}

.iran-network svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.iran-network__map {
  opacity: 0.72;
}

.iran-network__waters,
.iran-network__shape {
  display: none;
}

.iran-network__water {
  fill: color-mix(in srgb, var(--color-signal) 14%, transparent);
  stroke: color-mix(in srgb, var(--color-signal) 35%, transparent);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.iran-network__water--north {
  fill: color-mix(in srgb, var(--color-primary-500) 15%, transparent);
}

.iran-network__routes {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.iran-network__routes--base {
  stroke: var(--about-map-route);
  stroke-width: 0.62;
}

.iran-network__routes--flow {
  display: none;
}

.iran-network__routes--flow path {
  animation: iran-route-flow 4.8s linear infinite;
}

.iran-network__routes--flow path:nth-child(2) {
  animation-delay: -0.7s;
}

.iran-network__routes--flow path:nth-child(3) {
  animation-delay: -1.5s;
}

.iran-network__routes--flow path:nth-child(4) {
  animation-delay: -2.2s;
}

.iran-network__routes--flow path:nth-child(5) {
  animation-delay: -2.9s;
}

.iran-network__routes--flow path:nth-child(6) {
  animation-delay: -3.6s;
}

.iran-network__routes--flow path:nth-child(7) {
  animation-delay: -4.1s;
}

.iran-network__packets {
  fill: var(--about-map-flow);
  filter: drop-shadow(0 0 3px rgb(34 199 232 / 90%));
}

.iran-network__nodes {
  fill: var(--about-map-node);
}

.iran-network__nodes circle:first-child {
  fill: var(--about-map-node-core);
}

.iran-network__pulses {
  fill: none;
  stroke: var(--about-map-flow);
  stroke-width: 1;
}

.iran-network__pulses circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: iran-node-pulse 2.8s var(--ease-out) infinite;
}

.iran-network__pulses circle:nth-child(2) {
  animation-delay: -0.45s;
}

.iran-network__pulses circle:nth-child(3) {
  animation-delay: -0.9s;
}

.iran-network__pulses circle:nth-child(4) {
  animation-delay: -1.35s;
}

.iran-network__pulses circle:nth-child(5) {
  animation-delay: -1.8s;
}

.iran-network__pulses circle:nth-child(6) {
  animation-delay: -2.25s;
}

.iran-network__labels {
  fill: var(--color-muted);
  font-family: var(--font-family-base);
  font-size: var(--text-micro);
  font-weight: 700;
}

@keyframes iran-route-flow {
  to {
    stroke-dashoffset: -1;
  }
}

@keyframes iran-node-pulse {
  0%,
  100% {
    opacity: 0.2;
    scale: 0.5;
  }

  45% {
    opacity: 0.9;
  }

  75% {
    opacity: 0;
    scale: 2.25;
  }
}

.about-story {
  padding-block: var(--section-space);
  background: var(--color-surface-soft);
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-story__heading {
  align-self: start;
}

.about-story h2,
.about-section-heading h2,
.about-support__intro h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-feature);
  font-weight: 950;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-feature);
  text-wrap: balance;
}

.about-story__lead {
  margin: var(--space-6) 0 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 2.05;
}

.about-story__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-border);
  gap: 1px;
}

.about-story__body article {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(1.35rem, 2.25vw, 1.9rem);
  background: var(--color-surface);
}

.about-story__body article:nth-child(2),
.about-story__body article:nth-child(3) {
  background: color-mix(in srgb, var(--color-primary-100) 22%, var(--color-surface));
}

.about-story__body span {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-family: var(--font-family-heading);
  font-size: var(--text-xs);
  font-weight: 850;
}

.about-story__body p {
  margin: 0;
  max-width: 76ch;
  color: var(--color-muted);
  line-height: 1.95;
  text-wrap: pretty;
}

.about-operations {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  border-block: 1px solid var(--color-operations-border);
  background: var(--color-operations);
  color: var(--color-operations-text);
}

.about-operations__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-operations__content h2 {
  max-width: 650px;
  margin: var(--space-5) 0 0;
  color: var(--color-operations-text);
  font-size: var(--text-feature);
  font-weight: 950;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-feature);
  text-wrap: balance;
}

.about-operations__content > p:last-of-type {
  max-width: 620px;
  margin: var(--space-6) 0 0;
  color: var(--color-operations-muted);
  font-size: var(--text-lg);
  line-height: 2;
}

.about-operations__principles {
  display: grid;
  gap: 0;
  margin: var(--space-8) 0 0;
  border-block-start: 1px solid var(--color-operations-border);
}

.about-operations__principles > div {
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--color-operations-border);
}

.about-operations__principles dt {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-operations-text);
  font-weight: 850;
}

.about-operations__principles dt .icon {
  color: var(--color-signal-soft);
}

.about-operations__principles dd {
  margin: var(--space-2) 2rem 0 0;
  color: var(--color-operations-muted);
  font-size: var(--text-sm);
  line-height: 1.9;
}

html[dir="ltr"] .about-operations__principles dd {
  margin-inline: 2rem 0;
}

.about-flow {
  margin: 0;
}

.about-flow svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.about-flow__guides {
  fill: none;
  stroke: rgb(131 158 199 / 18%);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.about-flow__routes {
  fill: none;
  stroke: rgb(116 149 199 / 34%);
  stroke-dasharray: 2.2 5.4;
  stroke-linecap: round;
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
}

.about-flow__active-routes {
  display: none;
}

.about-flow__active-routes path {
  animation: about-flow-route 6.4s linear infinite;
}

.about-flow__active-routes path:nth-child(2) {
  animation-delay: -0.9s;
}

.about-flow__active-routes path:nth-child(3) {
  animation-delay: -1.8s;
}

.about-flow__active-routes path:nth-child(4) {
  animation-delay: -2.7s;
}

.about-flow__active-routes path:nth-child(5) {
  animation-delay: -3.6s;
}

.about-flow__active-routes path:nth-child(6) {
  animation-delay: -4.5s;
}

.about-flow__active-routes path:nth-child(7) {
  animation-delay: -5.4s;
}

.about-flow__points {
  fill: var(--about-flow-point);
}

.about-flow__points circle:not(.about-flow__core) {
  opacity: 0.82;
}

.about-flow__points .about-flow__core,
.about-flow__packets {
  fill: var(--color-signal-soft);
  filter: drop-shadow(0 0 7px rgb(34 199 232 / 90%));
}

@keyframes about-flow-route {
  to {
    stroke-dashoffset: -1;
  }
}

.about-commitment {
  padding-block: var(--section-space);
  background: var(--color-surface);
}

.about-section-heading {
  display: grid;
  width: min(100%, 940px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--space-6);
  margin-block-end: clamp(3.5rem, 7vw, 6rem);
  margin-inline: auto;
  text-align: center;
}

.about-section-heading h2,
.about-support__intro h2 {
  width: min(100%, 820px);
  max-width: none;
  margin-inline: auto;
}

.about-section-heading > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 2;
}

.about-ledger {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(235px, auto)) minmax(142px, auto);
  gap: 1px;
  padding: 1px;
  border-radius: var(--radius-md);
  background: var(--color-border);
}

.about-ledger article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: var(--space-6) var(--space-4);
  min-width: 0;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--color-surface);
}

.about-ledger article > .icon {
  width: 2.15rem;
  height: 2.15rem;
  justify-self: start;
  color: var(--color-primary-600);
}

.about-ledger article > div {
  grid-column: 1 / -1;
}

.about-ledger h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 900;
}

.about-ledger p {
  max-width: 42ch;
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  line-height: 1.95;
}

.about-ledger__priority {
  background: color-mix(in srgb, var(--color-accent-500) 13%, var(--color-surface));
}

.about-ledger__priority > .icon {
  color: var(--color-accent-700);
}

.about-ledger article.about-ledger__anchor {
  grid-row: 1 / 3;
  min-height: 471px;
  align-content: end;
  background: var(--color-primary-600);
}

.about-ledger__anchor::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
  inset-block-start: -36%;
  inset-inline-end: -24%;
}

.about-ledger__anchor > .icon {
  position: relative;
  z-index: 1;
  color: var(--color-signal-soft);
}

.about-ledger__anchor h3 {
  color: var(--color-on-primary);
  font-size: var(--text-subheadline);
}

.about-ledger__anchor p {
  color: rgb(234 241 255 / 78%);
  font-size: var(--text-md);
}

.about-ledger__closing {
  grid-column: 1 / -1;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  align-content: center;
}

.about-ledger__closing > div {
  grid-column: auto;
}

.about-ledger__closing p {
  max-width: 78ch;
}

.about-support {
  padding-block: var(--section-space);
  border-block: 1px solid var(--about-line);
  background: var(--color-surface-soft);
}

.about-support__intro {
  display: grid;
  width: min(100%, 940px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--space-6);
  margin-inline: auto;
  text-align: center;
}

.about-support__intro > div {
  max-width: 68ch;
}

.about-support__intro > div p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 2;
}

.about-support__intro > div p + p {
  margin-block-start: var(--space-5);
}

.about-support__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5);
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  list-style: none;
}

.about-support__flow::before,
.about-support__flow::after {
  position: absolute;
  z-index: 0;
  height: 1px;
  content: "";
  inset-block-start: 27px;
  inset-inline: 5%;
}

.about-support__flow::before {
  background: var(--color-border);
}

.about-support__flow::after {
  width: 26%;
  background: linear-gradient(90deg, transparent, var(--color-signal), transparent);
  animation: support-line-flow 4.6s linear infinite;
}

.about-support__flow li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.about-support__flow li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary-600);
}

.about-support__flow li > span .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.about-support__flow li > div {
  margin-block-start: var(--space-6);
}

.about-support__flow small {
  display: block;
  color: var(--color-primary-600);
  font-family: var(--font-family-heading);
  font-weight: 750;
}

.about-support__flow h3 {
  margin: var(--space-2) 0 0;
  color: var(--color-ink);
  font-size: var(--text-lg);
  font-weight: 820;
  line-height: 1.65;
}

.about-support__flow p {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.9;
}

@keyframes support-line-flow {
  from {
    translate: -35% 0;
  }

  to {
    translate: 330% 0;
  }
}

html[dir="rtl"] .about-support__flow::after {
  animation-name: support-line-flow-rtl;
}

@keyframes support-line-flow-rtl {
  from {
    translate: 35% 0;
  }

  to {
    translate: -330% 0;
  }
}

.about-values {
  padding-block: var(--section-space);
  background: var(--color-surface);
}

.about-section-heading--compact {
  width: min(100%, 940px);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--color-border);
}

.about-values__grid article {
  min-height: 270px;
  padding: clamp(2rem, 4vw, 3rem);
  border-inline-end: 1px solid var(--color-border);
}

.about-values__grid article:last-child {
  border-inline-end: 0;
}

.about-values__grid .icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary-600);
}

.about-values__grid h3 {
  margin: var(--space-8) 0 0;
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 820;
  line-height: 1.6;
}

.about-values__grid p {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  line-height: 1.95;
}

html[data-theme="dark"] .about-page {
  --about-map-route: rgb(130 165 255 / 27%);
  --about-map-flow: #22c7e8;
  --about-map-node: #82a5ff;
  --about-map-node-core: #e5c35c;
}

html[data-theme="dark"] .about-hero {
  background:
    linear-gradient(180deg, rgb(53 104 240 / 7%), transparent 42%),
    var(--color-surface);
}

html[data-theme="dark"] .iran-network__map {
  opacity: 0.48;
  filter: saturate(0.55) brightness(0.58) hue-rotate(168deg);
}

html[data-theme="dark"] .about-operations {
  background: var(--color-operations);
}

html[data-theme="dark"] .about-support__flow li > span {
  background: var(--color-surface);
}

html[dir="ltr"] .about-page h1,
html[dir="ltr"] .about-page h2,
html[dir="ltr"] .about-page h3 {
  letter-spacing: -0.035em;
}

html[dir="ltr"] .about-hero__actions .icon {
  transform: rotate(180deg);
}

html[dir="ltr"] .iran-network__labels {
  font-size: var(--text-micro);
}

@media (max-width: 1024px) {
  .about-hero__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
    gap: var(--space-8);
  }

  .about-hero__content{
    text-align: center;
  }

  .about-hero__description{
    margin-right: auto;
    margin-left: auto;
  }

  .about-hero__actions{
    justify-content: center;
  }

  .about-operations__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: var(--space-10);
  }

  .about-story__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-12);
  }

  .about-support__flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--space-12);
  }

  .about-support__flow::before,
  .about-support__flow::after {
    display: none;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values__grid article:nth-child(2) {
    border-inline-end: 0;
  }

  .about-values__grid article:nth-child(-n + 2) {
    border-block-end: 1px solid var(--color-border);
  }

  .about-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .about-ledger__anchor {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }

  .about-ledger__closing {
    grid-column: 1 / -1;
  }

  .about-hero__layout,
  .about-operations__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .iran-network__canvas,
  .about-flow {
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .about-hero,
  .about-hero__layout {
    min-height: auto;
  }

  .about-hero__layout {
    gap: var(--space-12);
  }

  .about-hero__description,
  .about-operations__content > p:last-of-type,
  .about-section-heading > p:last-child,
  .about-support__intro > div p {
    font-size: var(--text-md);
  }

  .iran-network figcaption {
    text-align: start;
  }

  .about-story__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-story__body article {
    min-height: 0;
  }

  .about-story__body p {
    line-height: 2.05;
  }

  .about-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .about-ledger article {
    gap: var(--space-5) var(--space-3);
    min-height: 0;
  }

  .about-ledger article > .icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .about-ledger__anchor {
    min-height: 260px;
  }

  .about-support__flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .about-support__flow::before {
    display: block;
    width: 1px;
    height: auto;
    background: var(--color-border);
    inset-block: 27px;
    inset-inline: 27px auto;
  }

  .about-support__flow li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: var(--space-5);
    padding-block-end: var(--space-10);
  }

  .about-support__flow li:last-child {
    padding-block-end: 0;
  }

  .about-support__flow li > div {
    margin-block-start: 0;
  }

  .about-values__grid article {
    min-height: 230px;
  }
}

@media (max-width: 540px) {
  .about-hero__actions {
    flex-direction: column;
  }

  .about-hero__actions .button {
    width: 100%;
  }

  .iran-network__labels {
    font-size: var(--text-micro);
  }

  .about-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-ledger__anchor,
  .about-ledger__closing {
    grid-column: auto;
  }

  .about-ledger__closing {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .about-ledger__closing > div {
    grid-column: 1 / -1;
  }

  .about-values__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-values__grid article,
  .about-values__grid article:nth-child(2) {
    min-height: 0;
    border-inline-end: 0;
    border-block-end: 1px solid var(--color-border);
  }

  .about-values__grid article:last-child {
    border-block-end: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iran-network__routes--flow path,
  .iran-network__pulses circle,
  .about-flow__active-routes path,
  .about-support__flow::after {
    animation: none;
  }

  .iran-network__routes--flow,
  .about-flow__active-routes {
    stroke-dasharray: none;
    opacity: 0.72;
  }

  .iran-network__packets,
  .about-flow__packets {
    display: none;
  }
}
