:root {
  /* پالت رنگی رسمی برند Humanext */
  --navy: #0b234b; /* Deep Navy */
  --gold: #e6c37e; /* Warm Gold */
  --light-gold: #d9c9a8; /* Sand Beige */
  --ivory: #faf8f1; /* Ivory */
  --slate: #6b7280; /* Slate Gray */
  --white: #ffffff;
  --text-dark: #0b234b; /* سرمه ای تیره به جای مشکی برای متون */
  --border-color: #e5e7eb;

  /* مپ کردن متغیرهای سیستم با پالت جدید برند */
  --navy-950: var(--navy);
  --navy-900: var(--navy);
  --navy-800: #0f3066;
  --navy-700: #143e85;
  --yellow: var(--gold);
  --orange: var(--gold);
  --paper: var(--ivory);
  --soft: #fcfbf8; /* نسخه بسیار روشن تر از Ivory برای سکشن های مجزا */
  --line: var(--border-color);
  --muted: var(--slate);
  --text: var(--text-dark);
  --success: #0d7a54;

  --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(10, 25, 47, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container: 1100px;
  --header-height: 80px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  direction: rtl;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open,
body.nav-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--yellow);
  color: var(--navy-950);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.narrow {
  max-width: 820px;
}
.section {
  padding: clamp(72px, 8vw, 118px) 0;
}
.section--soft {
  background: var(--soft);
}
.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 2000;
  transform: translateY(-150%);
  transition: 0.2s;
}
.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  inline-size: 28px;
  block-size: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}
.section--navy .eyebrow,
.cta-panel .eyebrow {
  color: #d7e3ef;
}

.display-title,
h1,
h2,
h3 {
  line-height: 1.28;
  margin: 0;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 5.25rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  font-weight: 850;
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 800;
}
p {
  margin-block: 0 1em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}
.section-heading p {
  max-width: 650px;
  color: var(--muted);
  margin: 10px 0 0;
}
.section-heading__link {
  flex: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 23px;
  font-weight: 800;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: var(--yellow);
  color: var(--navy-950);
  box-shadow: 0 9px 26px rgba(246, 200, 76, 0.26);
}
.button--primary:hover {
  background: #ffd55f;
  box-shadow: 0 13px 30px rgba(246, 200, 76, 0.35);
}
.button--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(11, 31, 58, 0.22);
}
.button--outline:hover {
  border-color: var(--navy-900);
}
.button--white {
  background: var(--white);
  color: var(--navy-900);
}
.button--glass {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}
.button--glass:hover {
  background: rgba(255, 255, 255, 0.22);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-800);
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(-4px);
}
.pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.pill--light {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 18px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--navy-900);
  border: none;
}
.pill--navy {
  background: var(--navy-900);
  color: #fff;
  border: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(251, 251, 250, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(140%) blur(16px);
  transition:
    height 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.site-header.is-scrolled {
  height: 74px;
  border-color: rgba(11, 31, 58, 0.09);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.05);
  background: rgba(255, 255, 255, 0.94);
}
.header-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}
.brand {
  justify-self: start;
  display: flex;
  align-items: center;
}
.brand img {
  height: 60px;
  width: auto;
}
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 0.9rem;
  font-weight: 650;
  color: #334358;
}
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s;
}
.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}
.site-nav a.is-active {
  color: var(--navy-900);
  font-weight: 800;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 99px;
  transition: 0.2s;
}
.menu-toggle span {
  margin: 4px 0;
}
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  padding: 20px 0 0;
}
.hero-frame {
  position: relative;
  min-height: min(760px, calc(100vh - 115px));
  border-radius: clamp(24px, 3vw, 42px);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.82) contrast(1.03);
  transform: scale(1.015);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to left,
      rgba(11, 35, 75, 0.05) 0%,
      rgba(11, 35, 75, 0.5) 45%,
      rgba(11, 35, 75, 0.95) 100%
    ),
    linear-gradient(0deg, rgba(11, 35, 75, 0.6), transparent 45%);
}
.hero-accent {
  position: absolute;
  inset-inline-start: -70px;
  inset-block-start: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 70px solid rgba(230, 195, 126, 0.14);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 78%);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(54px, 8vw, 105px);
  color: #fff;
  margin-right: auto;
  margin-left: 0;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #eef5fb;
  font-size: 0.86rem;
  font-weight: 700;
}
.hero-kicker span {
  width: 42px;
  height: 2px;
  background: var(--yellow);
}
.hero h1 small {
  display: block;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 10px;
  color: #d7e1ed;
}
.hero-lead {
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.75;
  max-width: 670px;
  margin: 25px 0 12px;
  font-weight: 750;
}
.hero-copy {
  color: #d5deea;
  max-width: 650px;
  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.hero-badge {
  position: absolute;
  z-index: 3;
  inset-inline-start: 34px;
  inset-block-end: 34px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  padding: 15px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--yellow);
  font-weight: 900;
}
.hero-badge strong {
  display: block;
  font-size: 0.9rem;
}
.hero-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
}

/* Stats */
.stats-strip {
  margin-top: 34px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 8px 30px;
  border-inline-start: 1px solid var(--line);
}
.stat:last-child {
  border-inline-start: 0;
}
.stat strong {
  display: block;
  color: var(--navy-900);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 900;
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 7px;
}

.founding-badge {
  display: inline-block;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  background: rgba(11, 31, 58, 0.4);
  backdrop-filter: blur(4px);
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}
.intro-copy h2 {
  margin-bottom: 22px;
}
.intro-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}
.intro-note {
  border-right: 4px solid var(--yellow);
  padding: 5px 20px 5px 0;
  color: var(--navy-700);
  font-weight: 700;
}
.intro-stack {
  display: grid;
  gap: 14px;
}
.intro-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.intro-row__num {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 900;
}
.intro-row h3 {
  margin-bottom: 5px;
}
.intro-row p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
  text-align: justify;
  text-justify: inter-word;
}

/* Experience slider */
.experience-shell {
  position: relative;
}
.experience-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  user-select: none;
}
.experience-track {
  display: flex;
  direction: ltr;
  transition: transform 0.75s var(--ease);
  will-change: transform;
}
.experience-slide {
  position: relative;
  direction: rtl;
  flex: 0 0 100%;
  height: clamp(520px, 62vw, 690px);
  overflow: hidden;
}
.experience-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transform: scale(1.035);
  transition: transform 6.5s linear;
}
.experience-slide.is-active > img {
  transform: scale(1);
}
.experience-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 45, 0.12), rgba(7, 24, 45, 0.83) 76%),
    linear-gradient(0deg, rgba(7, 24, 45, 0.72), transparent 55%);
}
.experience-slide__content {
  position: absolute;
  z-index: 2;
  inset-inline-end: clamp(34px, 7vw, 92px);
  inset-block-end: clamp(42px, 7vw, 82px);
  width: min(650px, 78%);
  color: #fff;
}
.experience-slide__meta {
  display: flex;
  gap: 20px;
  margin: 15px 0 12px;
  color: #d9e4ee;
  font-size: 0.83rem;
}
.experience-slide h3 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  max-width: 760px;
  margin-bottom: 15px;
}
.experience-slide p {
  color: #d9e4ee;
  max-width: 650px;
}
.slider-controls {
  position: absolute;
  z-index: 5;
  inset-inline-start: 24px;
  inset-block-end: 25px;
  display: flex;
  gap: 9px;
}
.slider-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(7, 24, 45, 0.33);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: 0.2s;
}
.slider-button:hover {
  background: #fff;
  color: var(--navy-900);
}
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 19px;
}
.slider-dot {
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c6ced8;
  padding: 0;
  transition: 0.25s;
}
.slider-dot.is-active {
  width: 30px;
  background: var(--navy-800);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.benefits-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.benefit-card {
  min-height: 290px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
  position: relative;
}
.benefit-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(246, 200, 76, 0.22),
    rgba(242, 138, 46, 0.12)
  );
  inset-inline-start: -42px;
  inset-block-end: -50px;
  transition: transform 0.3s;
}
.benefit-card:hover {
  transform: translateY(-7px);
  border-color: #cdd6df;
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover::after {
  transform: scale(1.3);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--yellow);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 25px;
}
.benefit-card h3 {
  margin: 34px 0 10px;
}
.benefit-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: justify;
  text-justify: inter-word;
}

/* Event cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.event-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-sm);
}
.event-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #dde2e8;
}
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event-card:hover .event-card__media img {
  transform: scale(1.045);
}
.event-card__body {
  padding: 23px 22px 24px;
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.event-card__meta span + span::before {
  content: "•";
  margin-left: 8px;
  color: var(--orange);
}
.event-card h3 {
  margin-bottom: 11px;
}
.event-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
  text-align: justify;
  text-justify: inter-word;
}
.archive-link-panel {
  margin-top: 35px;
  padding: 28px 30px;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.archive-link-panel p {
  margin: 0;
  color: #d5e0eb;
}
.archive-link-panel .text-link {
  color: var(--yellow);
  flex: none;
}

/* Members */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member-card {
  min-width: 0;
}
.member-card__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 0.86;
  background: #e8ebef;
}
.member-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition:
    transform 0.6s var(--ease),
    filter 0.4s;
}
.member-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 24, 45, 0.45), transparent 45%);
  opacity: 0;
  transition: 0.3s;
}
.member-card__view {
  position: absolute;
  z-index: 3;
  inset-inline: 17px;
  inset-block-end: 17px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  transform: translateY(15px);
  opacity: 0;
  transition: 0.3s;
}
.member-card:hover .member-card__image {
  transform: scale(1.04);
}
.member-card:hover .member-card__image-wrap::after,
.member-card:hover .member-card__view {
  opacity: 1;
}
.member-card:hover .member-card__view {
  transform: none;
}
.member-card__body {
  padding: 16px 4px 4px;
}
.member-card__body h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.member-card__role {
  color: var(--navy-700);
  font-weight: 700;
  margin: 0;
  font-size: 0.88rem;
}
.member-card__company {
  color: var(--muted);
  margin: 0;
  font-size: 0.82rem;
}
.member-card__expertise {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 0.76rem;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* CTA */
.cta-section {
  padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 9vw, 130px);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(45px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: end;
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 80px solid rgba(246, 200, 76, 0.1);
  inset-inline-start: -110px;
  inset-block-start: -170px;
}
.cta-panel h2 {
  max-width: 780px;
}
.cta-panel p {
  color: #d4e0ec;
  max-width: 760px;
  margin: 20px 0 0;
}
.cta-panel__action {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-panel__micro {
  font-size: 0.78rem;
  color: #bdcad8;
}
.cta-panel__micro strong {
  color: #fff;
  display: block;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #fff;
  padding: 68px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr 1fr 0.8fr auto;
  gap: 30px;
  padding-bottom: 48px;
  align-items: start;
}
.footer-brand img {
  width: 140px;
  display: block;
}
.footer-brand p {
  color: #9fb0c3;
  max-width: 420px;
  font-size: 0.88rem;
  margin-top: 18px;
}
.footer-title {
  font-size: 0.83rem;
  font-weight: 800;
  color: #dfe8f1;
  margin-bottom: 17px;
}
.footer-links {
  display: grid;
  gap: 9px;
  color: #9fb0c3;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 9px;
  margin-top: 17px;
}
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #c9d5e1;
  transition: 0.2s;
}
.socials a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7f91a5;
  font-size: 0.75rem;
}

/* Inner page hero */
.page-hero {
  padding: 68px 0 56px;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 60px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  color: var(--navy-900);
}
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 20px 0 0;
  max-width: 720px;
}
.page-hero__note {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 25px;
  color: var(--muted);
}
.page-hero__note strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 8px;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.story-card {
  padding: 35px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}
.story-card--navy {
  background: var(--navy-900);
  color: #fff;
  border-color: transparent;
}
.story-card p {
  color: var(--muted);
}
.story-card--navy p {
  color: #cfdae5;
}
.story-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(18, 49, 84, 0.13);
  line-height: 1;
  margin-bottom: 30px;
}
.story-card--navy .story-number {
  color: rgba(246, 200, 76, 0.22);
}
.fit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: fit;
}
.fit-step {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: fit;
}
.fit-step::before {
  content: "۰" counter(fit, persian);
  font-weight: 900;
  color: var(--orange);
  display: block;
  margin-bottom: 35px;
}
.fit-step p {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: justify;
  text-justify: inter-word;
}

/* Experiences */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}
.quote-mark {
  font-size: 3.5rem;
  color: var(--yellow);
  line-height: 1;
  font-weight: 900;
}
.quote-card blockquote {
  margin: 20px 0 30px;
  font-size: 1.02rem;
  line-height: 1.9;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-person span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
.experience-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}
.experience-story__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1.15;
}
.experience-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-story__copy p {
  color: var(--muted);
}

/* Directory */
.directory-toolbar {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 12px;
  margin-bottom: 32px;
}
.field,
.select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  padding: 11px 16px;
  color: var(--text);
  outline: none;
  transition: 0.2s;
}
.field:focus,
.select:focus,
textarea.field:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(18, 49, 84, 0.08);
}
.empty-state {
  text-align: center;
  padding: 55px;
  border: 1px dashed #cdd4dc;
  border-radius: var(--radius-md);
  color: var(--muted);
}

/* Events page */
.upcoming-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  min-height: 490px;
  box-shadow: var(--shadow-lg);
}
.upcoming-card__copy {
  padding: clamp(35px, 6vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.upcoming-card h2 {
  margin: 17px 0;
}
.upcoming-card p {
  color: #cfdae5;
  text-align: justify;
  text-justify: inter-word;
}
.upcoming-card .event-card__meta {
  color: #bac8d7;
  margin: 4px 0 22px;
}
.upcoming-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail pages */
.detail-hero {
  position: relative;
  height: min(690px, 74vh);
  min-height: 500px;
  overflow: hidden;
  background: var(--navy-950);
}
.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 24, 45, 0.85),
    rgba(7, 24, 45, 0.1) 72%
  );
}
.detail-hero__content {
  position: relative;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
  padding-bottom: 65px;
}
.detail-hero__content h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  margin: 14px 0;
}
.detail-hero__meta {
  display: flex;
  gap: 22px;
  color: #d4dfeb;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr;
  gap: 80px;
  align-items: start;
}
.prose h2 {
  margin-bottom: 20px;
}
.prose p {
  color: var(--muted);
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
}
.prose blockquote {
  margin: 35px 0 0;
  padding: 25px 25px 25px 0;
  border-right: 4px solid var(--yellow);
  color: var(--navy-800);
  font-weight: 750;
  font-size: 1.1rem;
}
.detail-aside {
  position: sticky;
  top: 105px;
  padding: 27px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.detail-aside span {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 12px;
}
.detail-aside strong {
  font-size: 0.9rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 620px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.gallery-grid img:first-child {
  grid-row: 1 / 3;
}

/* Member profile */
.member-profile {
  padding-top: 75px;
}
.member-profile__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.member-profile__photo {
  aspect-ratio: 0.86;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8ebef;
}
.member-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-profile__copy h1 {
  color: var(--navy-900);
  margin-bottom: 8px;
}
.member-profile__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-700);
}
.member-profile__copy > p:not(.member-profile__lead) {
  color: var(--muted);
  max-width: 720px;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}
.profile-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f5;
  color: #455669;
  font-size: 0.78rem;
}

/* Forms / Modal */
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: rgba(5, 17, 33, 0.62);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.join-modal[hidden] {
  display: none;
}
.join-modal.is-open {
  opacity: 1;
}
.join-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 80px);
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.28);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.join-modal.is-open .join-dialog {
  transform: none;
}
.join-dialog__head {
  flex: none;
  z-index: 3;
  background: #fff;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
}
.join-dialog__head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.join-dialog__head h2 {
  font-size: 1.65rem;
}
.join-dialog__head p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 7px 0 0;
}
.icon-button {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-900);
  font-size: 1.25rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.icon-button:hover {
  background: var(--navy-900);
  color: var(--yellow);
  border-color: var(--navy-900);
  transform: rotate(90deg);
}
.form-progress {
  height: 3px;
  background: #e7ebef;
  border-radius: 99px;
  margin-top: 18px;
  overflow: hidden;
}
.form-progress i {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width 0.3s;
}
.form-step-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #f0f4f8;
  border-radius: 6px;
  font-weight: 750;
  color: var(--navy-800);
  font-size: 0.75rem;
  white-space: nowrap;
}
.join-form {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px;
}

/* اسکرول بار اختصاصی فرم */
.join-form::-webkit-scrollbar {
  width: 6px;
}
.join-form::-webkit-scrollbar-track {
  background: transparent;
}
.join-form::-webkit-scrollbar-thumb {
  background: #cdd6df;
  border-radius: 10px;
}
.join-form::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  align-items: start;
}
.form-group {
  display: grid;
  gap: 7px;
  align-content: start;
}
.form-group--wide {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 750;
  color: #3f4c5c;
}
.form-group textarea {
  min-height: 125px;
  resize: vertical;
}
.form-note {
  margin-top: 18px;
  padding: 14px 15px;
  border-radius: 13px;
  background: #f5f7f9;
  color: var(--muted);
  font-size: 0.76rem;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}
.form-actions__left,
.form-actions__right {
  display: flex;
  gap: 9px;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
}
.check-row input {
  margin-top: 7px;
  accent-color: var(--navy-800);
}
.join-success {
  flex: 1;
  overflow-y: auto;
  padding: 56px 35px;
  text-align: center;
}
.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e6f5ef;
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 900;
}
.join-success p {
  max-width: 570px;
  margin: 14px auto 24px;
  color: var(--muted);
}

.application-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 45px;
  align-items: start;
}
.application-aside {
  position: sticky;
  top: 105px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: #fff;
}
.application-aside p {
  color: #cad8e5;
  font-size: 0.88rem;
}
.application-aside ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.application-aside li {
  display: flex;
  gap: 10px;
  color: #d6e2ec;
  font-size: 0.82rem;
}
.application-aside li::before {
  content: "✓";
  color: var(--yellow);
  font-weight: 900;
}
.application-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
    font-size: 0.82rem;
  }
  .brand img {
    height: 55px;
    width: auto;
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefit-card:nth-child(4),
  .benefit-card:nth-child(5) {
    min-height: 240px;
  }
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .site-nav,
  .header-actions .button {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .mobile-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    inset: var(--header-height) 0 auto;
    height: calc(100dvh - var(--header-height));
    padding: 25px 20px 35px;
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      opacity 0.25s;
    z-index: 999;
  }
  .mobile-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .mobile-nav a {
    padding: 15px 5px;
    font-size: 1.08rem;
    font-weight: 750;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav .button {
    margin-top: 25px;
    border-bottom: 0;
  }
  .hero {
    padding-top: 10px;
  }
  .hero-frame {
    min-height: 690px;
  }
  .hero-content {
    width: 100%;
    justify-content: flex-end;
    padding: 45px 32px 105px;
  }
  .hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(11, 35, 75, 0.95) 7%,
      rgba(11, 35, 75, 0.65) 55%,
      rgba(11, 35, 75, 0.1)
    );
  }
  .hero-badge {
    inset-inline-start: 22px;
    inset-block-end: 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }
  .stat:nth-child(2) {
    border-inline-start: 0;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .intro-grid,
  .page-hero__grid,
  .experience-story,
  .member-profile__grid,
  .application-layout {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    gap: 50px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .benefits-grid,
  .benefits-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-grid {
    grid-template-columns: 1fr 1fr;
  }
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .fit-steps,
  .testimonials {
    grid-template-columns: 1fr;
  }
  .directory-toolbar {
    grid-template-columns: 1fr;
  }
  .upcoming-card {
    grid-template-columns: 1fr;
  }
  .upcoming-card__media {
    height: 360px;
    order: -1;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .detail-aside,
  .application-aside {
    position: static;
  }
  .gallery-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 220px;
  }
  .gallery-grid img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }
  .brand img {
    height: 50px;
    width: auto;
  }
  .hero-frame {
    border-radius: 22px;
    min-height: 650px;
  }
  .hero-content {
    padding: 36px 22px 108px;
  }
  .hero-lead {
    font-size: 1.2rem;
  }
  .hero-copy {
    font-size: 0.88rem;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button {
    flex: 1;
    padding-inline: 14px;
    font-size: 0.82rem;
  }
  .hero-badge {
    display: none;
  }
  .stats-strip {
    margin-top: 22px;
  }
  .stat {
    padding-inline: 15px;
  }
  .experience-slide {
    height: 570px;
  }
  .experience-slide__shade {
    background: linear-gradient(
      0deg,
      rgba(7, 24, 45, 0.92),
      rgba(7, 24, 45, 0.13) 85%
    );
  }
  .experience-slide__content {
    inset-inline: 22px;
    inset-block-end: 84px;
    width: auto;
  }
  .experience-slide__meta {
    display: grid;
    gap: 2px;
  }
  .experience-slide h3 {
    font-size: 1.75rem;
  }
  .experience-slide p {
    font-size: 0.87rem;
  }
  .slider-controls {
    inset-inline-start: 18px;
    inset-block-end: 18px;
  }
  .slider-button {
    width: 44px;
    height: 44px;
  }
  .benefits-grid,
  .benefits-grid--3,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    min-height: 235px;
  }
  .members-grid {
    gap: 15px 11px;
  }
  .member-card__body {
    padding-top: 12px;
  }
  .member-card__role {
    font-size: 0.8rem;
  }
  .member-card__company,
  .member-card__expertise {
    font-size: 0.7rem;
  }
  .archive-link-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-panel {
    padding: 35px 25px;
    border-radius: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > * {
    grid-column: auto !important;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 48px 0 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group--wide {
    grid-column: auto;
  }
  .join-modal {
    padding: 8px 8px 0;
    align-items: flex-end;
  }
  .join-dialog {
    margin: 0;
    max-height: 93dvh;
    border-radius: 24px 24px 0 0;
    transform: translateY(40px);
  }
  .join-dialog__head,
  .join-form {
    padding-inline: 20px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions__left,
  .form-actions__right {
    width: 100%;
  }
  .form-actions .button {
    flex: 1;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 220px 220px;
  }
  .gallery-grid img:first-child {
    grid-column: auto;
  }
  .detail-hero {
    min-height: 560px;
  }
  .detail-hero__content {
    padding-bottom: 40px;
  }
  .member-profile {
    padding-top: 45px;
  }
  .application-form {
    padding: 21px;
  }
}

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

/* WordPress integration */
[hidden] {
  display: none !important;
}
.site-nav__list,
.mobile-nav__list,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 29px;
}
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after {
  transform: scaleX(1);
}
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--navy-900);
  font-weight: 800;
}
.mobile-nav__list {
  display: grid;
}
.footer-menu {
  display: grid;
  gap: 9px;
  color: #9fb0c3;
  font-size: 0.85rem;
}
.footer-menu a:hover {
  color: #fff;
}
.socials--labels {
  flex-wrap: wrap;
}
.socials--labels a {
  width: auto;
  height: 40px;
  padding: 0 13px;
}
.center-action {
  text-align: center;
  margin-top: 36px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.78rem;
}
.breadcrumbs a {
  color: var(--navy-700);
  font-weight: 700;
}
.breadcrumbs a:hover {
  color: var(--navy-900);
}
.humanext-honeypot {
  position: absolute !important;
  inset-inline-start: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff0f0;
  color: #9d2222;
  font-size: 0.82rem;
  border: 1px solid #f0c8c8;
}
.char-counter {
  font-size: 0.75rem;
  font-weight: 650;
  text-align: left;
  margin-top: -3px;
  transition: color 0.3s ease;
}
.char-counter.is-invalid {
  color: #9d2222; /* قرمز */
}
.char-counter.is-valid {
  color: #0d7a54; /* سبز */
}
.field-error-msg {
  color: #9d2222;
  font-size: 0.8rem;
  font-weight: 650;
  display: block;
  animation: fadeInError 0.3s ease;
}
@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.join-form--standalone {
  padding: 0;
}
.form-progress--standalone {
  margin: 0 0 18px;
}
button:disabled,
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.prose {
  font-size: 1rem;
}
.prose > *:first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  color: var(--muted);
}
.experience-quote-detail {
  font-size: 1.18rem;
  line-height: 2;
}

/* Event detail template */
.detail-hero {
  height: auto;
  min-height: 0;
  padding: 72px 0;
  background: linear-gradient(180deg, #f4f6f8, #fbfbfa);
}
.detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 58px;
  align-items: center;
}
.detail-hero__copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  color: var(--navy-900);
  margin: 18px 0;
}
.detail-hero__copy > p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 720px;
  text-align: justify;
  text-justify: inter-word;
}
.detail-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1.25;
  background: #e3e7eb;
  box-shadow: var(--shadow-lg);
}
.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.detail-meta > div {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.detail-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.detail-meta strong {
  display: block;
  color: var(--navy-900);
  margin-top: 3px;
  font-size: 0.86rem;
}
.detail-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr;
  gap: 80px;
  align-items: start;
}
.detail-aside p {
  color: var(--muted);
  font-size: 0.86rem;
}

body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 1080px) {
  .site-nav__list {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .site-nav__list {
    display: none;
  }
  .mobile-nav__list {
    width: 100%;
  }
  .mobile-nav__list li {
    display: block;
  }
  .detail-hero__grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .detail-hero__media {
    order: -1;
  }
  .detail-aside {
    position: static;
  }
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .mobile-nav {
    inset-block-start: calc(var(--header-height) + 46px);
    height: calc(100dvh - var(--header-height) - 46px);
  }
}
@media (max-width: 600px) {
  .detail-hero {
    padding: 38px 0 48px;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .breadcrumbs {
    overflow: auto;
    white-space: nowrap;
  }
}
.directory-toolbar--advanced {
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(150px, 1fr));
  align-items: center;
}
@media (max-width: 1080px) {
  .directory-toolbar--advanced {
    grid-template-columns: 1fr 1fr;
  }
  .directory-toolbar--advanced > [data-member-search] {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .directory-toolbar--advanced {
    grid-template-columns: 1fr;
  }
  .directory-toolbar--advanced > [data-member-search] {
    grid-column: auto;
  }
}
/* =========================================
   BLENDED HUMANEXT STYLES
   ========================================= */
.founding-badge {
  display: inline-block;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  background: rgba(11, 31, 58, 0.4);
  backdrop-filter: blur(4px);
}

.process-section {
  padding: 80px 5%;
  background-color: var(--white);
  text-align: center;
}
.process-grid {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
  justify-content: center;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--navy-900);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}
.process-step h3 {
  color: var(--navy-900);
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 768px) {
  .process-grid {
    flex-direction: column;
  }
}
/* =========================================
   TEAM PAGE STYLES
   ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.member-photo {
  width: 100%;
  height: 260px;
  background-color: #e2e8f0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  position: relative;
}
.team-card:hover .member-photo {
  filter: grayscale(0%);
}
.member-info {
  padding: 25px;
  text-align: center;
  background: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.member-name {
  color: var(--navy-900);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.member-role {
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}
.member-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}
.linkedin-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--navy-900);
  padding-bottom: 2px;
  transition: 0.3s;
  align-self: center;
}
.linkedin-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

@media (max-width: 1150px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
