:root {
  --gold: #d3ab67;
  --bg: #010101;
  --ink: #fff;
  --card: #0f0f10;
  --card2: #151516;
  --radius: 8px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* section */
.who {
  color: var(--ink);
  padding: 0 40px 20px 40px;
  font-family: "Eurostile LT Std", sans-serif;
  background: transparent;
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: clip; /* contain reveal animations that slide in horizontally */
  overflow-y: visible;
}
.who__container {
  min-height: 90vh;
  max-width: 1440px;
  padding: 40px 0px 20px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}
.who__title {
  text-align: center;
  color: var(--gold);
  font-family: "Eurostile", sans-serif;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: var(--fs-48);
  padding-bottom: 2rem;
}
.who__rule {
  height: 2px;
  z-index: 100 !important;
  width: 100%;
  margin: 2rem 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.159));
}

.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "mission-label vision-label"
    "mission-card  vision-card";
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

/* labels */
.who__label {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  transition: transform var(--hover-duration, 320ms) var(--hover-ease, ease),
    color var(--hover-duration, 320ms) ease;
}
.who__label--mission {
  grid-area: mission-label;
  justify-self: start;
}
.who__label--vision {
  grid-area: vision-label;
  justify-self: end;
}
.who__plus {
  font-family: "Eurostile", sans-serif;
  color: var(--gold);
  font-weight: 400;
  font-size: var(--fs-78);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.who__labelText {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Eurostile L", sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: var(--fs-32);
}
.who__labelText--right {
  text-align: right;
}
.who__labelText span,
.who__labelText p {
  display: block;
  font-family: "eurostile lt std", sans-serif;
  font-weight: 400;
  margin: 0;
}

/* cards */
.who-card--mission {
  grid-area: mission-card;
}
.who-card--vision {
  grid-area: vision-card;
}

.who-card {
  --reveal-blur: 0px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 24px;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px) clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  transition: transform var(--reveal-duration, 800ms)
      var(--reveal-ease, cubic-bezier(.22, 1, .36, 1)),
    opacity var(--reveal-duration, 800ms)
      var(--reveal-ease, cubic-bezier(.22, 1, .36, 1)),
    filter var(--reveal-duration, 800ms)
      var(--reveal-ease, cubic-bezier(.22, 1, .36, 1)),
    box-shadow var(--hover-duration, 320ms) var(--hover-ease, ease),
    border-color var(--hover-duration, 320ms) ease;
  isolation: isolate;
  overflow: hidden;
}

.who-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    transparent 15%,
    rgba(211, 171, 103, 0.45) 45%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity var(--hover-duration, 320ms) ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.who-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-glow, 0 22px 45px rgba(211, 171, 103, 0.35));
  border-color: rgba(211, 171, 103, 0.45);
}

.who-card:hover::before {
  opacity: 1;
  animation: kde-glint 2.6s linear infinite;
}

.who-card__body p {
  margin: 0;
  font-size: var(--fs-26);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f4f4f4;
}

.who-card__corner {
  position: relative;
  width: clamp(33px, 4vw, 52px);
  height: clamp(33px, 4vw, 52px);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.301);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: var(--fs-clamp-card);
  font-size: clamp(16px, 2vw, 28px);
  transition: background var(--hover-duration, 320ms) ease,
    border-color var(--hover-duration, 320ms) ease,
    transform var(--hover-duration, 320ms) var(--hover-ease, ease);
}

.who-card:hover .who-card__corner {
  background: rgba(211, 171, 103, 0.15);
  border-color: rgba(211, 171, 103, 0.6);
  transform: translateY(-2px);
}

.who-card__icon {
  max-width: 70%;
  max-height: 70%;
  width: clamp(18px, 60%, 32px);
  height: auto;
  object-fit: contain;
  display: block;
}

.who__label:hover {
  transform: translateY(-4px);
  color: var(--gold);
}

/* responsive: single column order = label then card for each */
@media (max-width: 768px) {
  .who__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mission-label"
      "mission-card"
      "vision-label"
      "vision-card";
  }
  /* On mobile, align the VISION label text to the left */
  .who__label--vision .who__labelText {
    justify-self: end;
  }
  .who {
    padding: 20px;
  }
  .who__container {
    padding: 0;
  }
  .who__labelText {
    font-size: var(--fs-28);
  }
  .who__title {
    font-size: var(--fs-32);
    padding: 0;
  }
  .who-card__body p {
    font-size: var(--fs-18);
  }
}
