/* ==========================================================================
   Illumexa — About Us page
   1. Hero  2. Intro  3. Our Story  4. Philosophy  5. Pillars
   6. Board  7. Reach  8. Responsive
   ========================================================================== */

/* 1. Hero ----------------------------------------------------------------- */
.about-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 786px;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-black);
  color: var(--c-white);
}

/* Photo graded warm like the design's sunset boardroom, fading into black on the left.
   Its layer takes the scroll depth; the image inside takes the slow camera drift. */
.about-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.about-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  filter: sepia(0.5) saturate(1.5) hue-rotate(-14deg) brightness(0.95) contrast(1.06);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #000 0%, #000 14%, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0) 66%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}

.about-hero__network {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Flipped so the ribbon arcs under the heading and dips toward the caption, as in the design. */
.about-hero__wave {
  position: absolute;
  left: 0;
  top: 460px;
  z-index: -1;
  width: 760px;
  max-width: 62%;
  height: auto;
  transform: scaleY(-1);
  pointer-events: none;
}

.about-hero__wave > img {
  width: 100%;
}

.about-hero__content {
  padding-top: 281px;
}

.about-hero__label {
  display: inline-block;
  padding: 0 4px 14px;
  border-bottom: 3px solid var(--c-lime);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.0625rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.about-hero__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.2rem + 2.6vw, 3.125rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.about-hero__caption {
  margin-top: 165px;
  margin-left: 18px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(214, 245, 90, 0.8);
}

/* 2. Intro ---------------------------------------------------------------- */
.about-intro {
  padding-block: 116px 192px;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 674px) minmax(0, 553px);
  column-gap: 62px;
  align-items: center;
}

.about-intro__text {
  /* Same reading style as the home page's "why" paragraph (home.css .why__text). */
  font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.21875rem);
  line-height: 1.72;
  color: #404636;
}

.about-intro__text p + p {
  margin-top: 20px;
}

.about-intro__text strong {
  font-weight: 600;
  color: var(--c-night);
}

.about-intro__media {
  overflow: hidden;
  border-radius: 20px;
  background: var(--c-black);
}

.about-intro__media img {
  width: 100%;
  height: auto;
}

.about-intro__caption {
  padding: 38px 16px 44px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-lime);
}

.about-intro__caption::after {
  content: "";
  display: block;
  width: 95px;
  height: 4px;
  margin-top: 12px;
  background: var(--c-lime);
}

/* 3. Our Story ------------------------------------------------------------ */
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 654px) minmax(0, 595px);
  column-gap: 31px;
}

.about-story__visual {
  position: relative;
  min-height: 710px;
  margin: 0;
  border: 1px solid #c4c4c4;
  border-radius: 40px;
  background:
    radial-gradient(90% 70% at 28% 58%, #eefba9 0%, #f2fcc4 35%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(200deg, #fff 18%, #f6fdd8 60%, #eefbb4 100%);
}

.about-story__place {
  position: absolute;
  left: 49px;
  bottom: 36px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-lime-ink);
}

.about-story__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-top: 30px;
}

.about-story__title {
  margin-top: 34px;
  margin-right: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 1.6vw, 2.8125rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-black);
}

.story-card {
  width: 100%;
  min-height: 251px;
  margin-top: 28px;
  padding: 26px 15px 26px 40px;
  border-right: 3px solid var(--c-lime);
  border-radius: 30px 0 0 30px;
  background: #e7e7e7;
}

.story-card + .story-card {
  margin-top: 15px;
}

.story-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.34rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-lime-ink);
}

.story-card p {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #222;
}

/* 4. Philosophy ----------------------------------------------------------- */
.about-philosophy {
  padding-block: 96px;
  text-align: center;
}

.about-philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 2.3vw, 3.125rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.047em;
  color: var(--c-black);
}

.about-philosophy__text {
  margin-top: 84px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.1875rem);
  line-height: 1.62;
  letter-spacing: 0.06em;
  color: #161616;
}

/* 5. Pillars -------------------------------------------------------------- */
.about-pillars {
  position: relative;
  isolation: isolate;
  padding-block: 48px 75px;
  /* Dark at the top, a bright glow rising from the bottom centre and a lighter band on the left. */
  background:
    radial-gradient(42% 48% at 50% 104%, #ecfbdf 0%, #cbe8b5 22%, rgba(122, 166, 96, 0.65) 52%, rgba(60, 95, 45, 0) 100%),
    radial-gradient(24% 34% at 0% 46%, rgba(162, 202, 138, 0.9) 0%, rgba(112, 152, 92, 0.45) 45%, rgba(60, 95, 45, 0) 100%),
    linear-gradient(180deg, #0d100d 0%, #172315 22%, #2a4223 58%, #35512c 100%);
}

/* Film grain over the gradient. */
.about-pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.about-pillars__inner {
  width: min(1229px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.pillar + .pillar {
  margin-top: 26px;
}

.pillar__title {
  padding-left: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1rem + 1.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--c-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.pillar__card {
  position: relative;
  min-height: 188px;
  margin-top: 10px;
  padding: 30px 40px 36px 21px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fcfff2 42%, #eefab0 70%, #d9f34f 100%);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.66;
  letter-spacing: 0.05em;
  color: #111;
}

.pillar__tag {
  position: absolute;
  right: 12px;
  bottom: -18px;
  width: 50px;
  height: 36px;
  rotate: -40deg;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  transition: rotate var(--dur) var(--ease-out);
}

.pillar:hover .pillar__tag {
  rotate: -28deg;
}

/* 6. Board ---------------------------------------------------------------- */
.about-board {
  padding-block: 64px 200px;
  text-align: center;
}

.about-board__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.1vw, 2.9375rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.06em;
  color: var(--c-black);
}

.about-board__intro {
  max-width: 560px;
  margin: 22px auto 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.72;
  letter-spacing: 0.08em;
  color: #333;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 555px));
  justify-content: center;
  gap: 79px 103px;
  margin-top: 39px;
  padding-inline: var(--gutter);
  text-align: left;
}

.board-grid > li {
  display: flex;
}

.director {
  flex: 1;
  padding: 28px 25px 58px;
  border: 1.5px solid #1a1a1a;
  border-radius: 24px;
  background: var(--c-white);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.director:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.35);
}

.director__photo {
  aspect-ratio: 504 / 358;
  border-radius: 22px;
  background: #e5e5e5;
}

.director__role {
  margin-top: 22px;
  padding-inline: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.34rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-lime-ink);
}

.director__name {
  margin-top: 6px;
  padding-inline: 12px;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-black);
}

.director__bio {
  margin-top: 12px;
  padding-inline: 12px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 2.1;
  color: #1a1a1a;
}

/* 7. Reach ---------------------------------------------------------------- */
.about-reach {
  padding-bottom: 67px;
  background: radial-gradient(40% 60% at 100% 20%, rgba(205, 242, 0, 0.08), rgba(205, 242, 0, 0) 70%);
}

.about-reach__inner {
  width: min(1288px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.reach-stats {
  display: flex;
  gap: 18px;
  margin-left: 3px;
}

.reach-stat {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  min-width: 142px;
  min-height: 81px;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--c-black);
  text-align: center;
}

.reach-stat__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-lime);
}

.reach-stat__label {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--c-white);
}

/* Crop measured from the design: the map is enlarged and trimmed so the three hubs fill the card. */
.about-reach__map {
  --map-width: 116%;
  --map-left: -7.6%;
  --map-top: -23.6%;
  margin-top: 17px;
  aspect-ratio: 1288 / 475;
  border: 1.5px solid #333;
  border-radius: 44px;
  background: linear-gradient(180deg, #fafafa, #f4f4f5);
}

/* 7b. Motion -------------------------------------------------------------- */
/* Hero, on arrival: the photo settles from a slight zoom, the network draws its arcs, the
   ribbon wipes in along its length, then the label, the heading word by word and the caption. */
.about-hero__photo {
  animation:
    photo-settle 1800ms var(--ease-expo) var(--page-delay, 0ms) both,
    camera-drift 28s var(--ease-in-out) calc(var(--page-delay, 0ms) + 1800ms) infinite alternate;
}

.about-hero__wave {
  animation: wave-in 1800ms var(--ease-expo) calc(var(--page-delay, 0ms) + 450ms) both;
}

.about-hero__network {
  --reveal-delay: 150ms;
  --draw-dur: 1300ms;
  --draw-step: 80ms;
  --draw-fill-delay: 1000ms;
}

.about-hero__title { --reveal-delay: 240ms; }
.about-hero__caption { --reveal-delay: 900ms; }

/* The hero stays quietly alive: light drifting over the room, a glint crossing the glass,
   a few motes rising, light running along the network and along the ribbon's own strands.
   Everything pauses once the hero is off screen, and none of it runs with reduced motion. */
.about-hero__atmos {
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(34% 40% at 72% 36%, rgba(255, 214, 150, 0.1), rgba(255, 214, 150, 0) 70%),
    radial-gradient(28% 32% at 26% 80%, rgba(205, 242, 0, 0.08), rgba(205, 242, 0, 0) 70%);
  animation: atmos-drift 22s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

.about-hero__glint {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  z-index: -2;
  width: 30%;
  background: linear-gradient(100deg, rgba(255, 246, 225, 0), rgba(255, 248, 232, 0.035) 40%, rgba(255, 250, 238, 0.07) 50%, rgba(255, 248, 232, 0.035) 60%, rgba(255, 246, 225, 0));
  /* A reflection on the glass: it fades out before the floor. */
  -webkit-mask-image: linear-gradient(#000 30%, transparent 78%);
  mask-image: linear-gradient(#000 30%, transparent 78%);
  opacity: 0;
  transform: translateX(-120%) skewX(-12deg);
  animation: glint-pass 12s var(--ease-in-out) calc(var(--page-delay, 0ms) + 2600ms) infinite;
  pointer-events: none;
}

.about-hero__pulses {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-hero__pulses path {
  --pulse-len: 0.08;
  fill: none;
  stroke: var(--c-lime-bright);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: var(--pulse-len) 2;
  stroke-dashoffset: var(--pulse-len);
  filter: drop-shadow(0 0 4px rgba(205, 242, 0, 0.9));
  animation: net-travel 5600ms linear infinite;
  animation-delay: calc(var(--page-delay, 0ms) + 2400ms + var(--p, 0) * 930ms);
}

.about-hero__pulses path:nth-child(2) { --p: 1; }
.about-hero__pulses path:nth-child(3) { --p: 2; }
.about-hero__pulses path:nth-child(4) { --p: 3; }
.about-hero__pulses path:nth-child(5) { --p: 4; }
.about-hero__pulses path:nth-child(6) { --p: 5; }

.about-hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.about-hero__particles span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s, 2px);
  height: var(--s, 2px);
  border-radius: 50%;
  background: rgb(232, 255, 140);
  box-shadow: 0 0 6px rgba(205, 242, 0, 0.8);
  opacity: 0;
  animation: particle-float var(--d, 11s) linear var(--delay, 0s) infinite;
}

/* The ribbon: a band of light flows along its strands (the ribbon image itself is the mask),
   and the ribbon breathes a little brighter and dimmer. */
.about-hero__trail {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("../assets/images/light-wave.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/images/light-wave.svg") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}

.about-hero__trail > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 36%;
  background: linear-gradient(90deg, rgba(240, 255, 160, 0), rgb(246, 255, 190) 50%, rgba(240, 255, 160, 0));
  transform: translateX(-100%);
  animation: trail-flow 7s var(--ease-in-out) calc(var(--page-delay, 0ms) + 2200ms) infinite;
}

.about-hero__wave > img {
  animation: wave-breathe 6s var(--ease-in-out) infinite alternate;
}

.about-hero:not(.is-in-view) :is(.about-hero__photo, .about-hero__atmos, .about-hero__glint, .about-hero__pulses path, .about-hero__particles span, .about-hero__trail > span, .about-hero__wave > img) {
  animation-play-state: paused;
}

/* Intro: the paragraphs arrive one after another, then the image opens, settles from 1.05×
   and gathers a soft lime shadow; a faint light wanders behind it. */
.about-intro {
  isolation: isolate;
}

.about-intro::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 4%;
  z-index: -1;
  width: 46%;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 242, 0, 0.12), rgba(205, 242, 0, 0));
  animation: light-wander 18s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

.about-intro__text {
  --stagger: 150ms;
}

.about-intro__media {
  --reveal-delay: 380ms;
  --image-zoom: 1.05;
  --image-radius: 20px;
}

.about-intro__media.is-visible {
  box-shadow: 0 34px 60px -36px rgba(110, 140, 0, 0.5);
  transition: box-shadow 1600ms var(--ease-out) 900ms;
}

.about-intro__media:hover {
  box-shadow:
    0 38px 70px -34px rgba(120, 150, 0, 0.6),
    0 0 0 1px rgba(205, 242, 0, 0.45);
  transition-delay: 0ms;
  transition-duration: 500ms;
}

.about-intro__media img {
  transition: transform 900ms var(--ease-expo);
}

.about-intro__media:hover img {
  transform: scale(1.03);
}

/* The intro caption's lime rule draws out once the image has arrived. */
.about-intro__caption::after {
  transform-origin: left;
}

.js .about-intro__media:not(.is-visible) .about-intro__caption::after {
  transform: scaleX(0);
}

.js .about-intro__media.is-visible .about-intro__caption::after {
  animation: reveal-line 1200ms var(--ease-expo) 1100ms backwards;
}

/* Our Story: light moves slowly through the lime visual; the story cards (lift from .fx-card,
   light from .fx-sheen) glow along their lime edge. */
.about-story__visual {
  --image-radius: 40px;
  overflow: hidden;
  isolation: isolate;
}

.about-story__visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(28% 30% at 40% 56%, rgba(214, 245, 90, 0.45), rgba(214, 245, 90, 0) 70%);
  animation: gradient-wander 16s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

.story-card {
  transition:
    transform 450ms var(--ease-expo),
    box-shadow 450ms var(--ease-out);
}

.story-card:hover {
  --lift: -4px;
  box-shadow: 14px 18px 36px -22px rgba(88, 112, 0, 0.45);
}

/* Philosophy: the heading word by word (its lime words get a passing highlight), then the
   two paragraphs one after the other. */
.about-philosophy__text {
  --reveal-delay: 300ms;
  --stagger: 180ms;
}

/* Pillars: as the section arrives its light wakes and keeps breathing, the grain drifts, the
   pillars rise in turn and their lime tags land after the text. */
.about-pillars {
  overflow: hidden;
}

.about-pillars::before {
  inset: -40px;
  animation: grain-drift 40s linear infinite alternate;
}

.about-pillars__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 46% at 50% 100%, rgba(226, 255, 150, 0.3), rgba(160, 210, 80, 0) 70%),
    radial-gradient(22% 30% at 0% 46%, rgba(190, 230, 150, 0.18), rgba(190, 230, 150, 0) 70%);
  opacity: 0;
  pointer-events: none;
}

.about-pillars.is-visible .about-pillars__glow {
  animation:
    glow-wake 2600ms var(--ease-out) forwards,
    glow-breathe 14s var(--ease-in-out) 2600ms infinite alternate;
}

.about-pillars:not(.is-in-view)::before,
.about-pillars:not(.is-in-view) .about-pillars__glow {
  animation-play-state: paused;
}

.about-pillars__inner {
  --stagger: 160ms;
}

.js .pillar:not(.is-visible) .pillar__tag {
  opacity: 0;
}

.js .pillar.is-visible .pillar__tag {
  animation: tag-in 800ms var(--ease-expo) backwards;
  animation-delay: calc(var(--i, 0) * var(--stagger) + 650ms);
}

/* Pillar cards: lift from .fx-card; a band of light crosses the card (drawn in its own
   background, so the tag hanging off the corner isn't clipped). */
.pillar__card {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%) -150% 0 / 55% 100% no-repeat,
    linear-gradient(180deg, #fff 0%, #fcfff2 42%, #eefab0 70%, #d9f34f 100%);
}

.pillar__card:hover {
  box-shadow:
    0 26px 44px -20px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(205, 242, 0, 0.22);
  animation: card-sheen 1100ms var(--ease-in-out);
}

/* Board: each card rises, then its photo opens, its name, role and bio follow in turn.
   Hover lifts the card (.fx-card), sends light across it (.fx-sheen), eases the photo in and
   brings up a lime edge. */
.director {
  --card: var(--i, 0);
  transition:
    transform 450ms var(--ease-expo),
    box-shadow 450ms var(--ease-out),
    border-color 350ms var(--ease-out);
}

.director .reveal-item {
  --reveal-delay: calc(260ms + var(--card) * 140ms);
  --stagger: 120ms;
}

.director__name { --i: 1; }
.director__role { --i: 2; }
.director__bio { --i: 3; }

.director__photo {
  --image-radius: 22px;
  transition: transform 700ms var(--ease-expo);
}

.director:hover {
  transform: perspective(1000px) translate3d(0, var(--lift), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--grow));
  border-color: var(--c-lime-ink);
  box-shadow: 0 26px 44px -28px rgba(88, 112, 0, 0.45);
}

.director:hover .director__photo {
  transform: scale(1.02);
}

/* Reach: the global blueprint draws over the map (geo-blueprint.css), and the pins drop onto
   their hubs as its sequence reaches them (India, Europe, USA); then their ground light
   breathes while the section is on screen. */
.map-pin--india { --pin: 0; }
.map-pin--europe { --pin: 1; }
.map-pin--usa { --pin: 2; }

.js .about-reach__map:not(.is-visible) .map-pin {
  opacity: 0;
}

.js .about-reach__map.is-visible .map-pin {
  animation: pin-drop 900ms var(--ease-expo) backwards;
  animation-delay: calc(var(--bp-hubs-at, 600ms) + var(--pin, 0) * var(--bp-hub-step, 180ms));
}

.about-reach.is-in-view .about-reach__map.is-visible .map-pin::before {
  animation: pin-breathe 3s var(--ease-in-out) infinite alternate;
  animation-delay: calc(1600ms + var(--pin, 0) * 500ms);
}

/* Ambient loops elsewhere pause when their section is off screen. */
.about-intro:not(.is-in-view)::before,
.about-story:not(.is-in-view) .about-story__visual::before {
  animation-play-state: paused;
}

/* Scroll-linked depth (desktop): the photo layer sinks and swells a touch, the light and
   motes move a little faster, the network and ribbon lag behind the heading, which lifts
   away (.hero-exit); the pillar headings slide a few pixels as the section passes. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
    .about-hero__media {
      animation: media-sink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }

    .about-hero__network,
    .about-hero__pulses {
      animation: network-sink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }

    .about-hero__atmos {
      animation:
        atmos-drift 22s var(--ease-in-out) infinite alternate,
        atmos-sink linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }

    .about-hero__particles {
      animation: particles-sink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }

    .about-hero__wave {
      animation:
        wave-in 1800ms var(--ease-expo) calc(var(--page-delay, 0ms) + 450ms) both,
        wave-sink linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }

    .pillar__title {
      animation: title-drift linear both;
      animation-timeline: --scope;
    }
  }
}

@media (max-width: 767px) {
  /* Lighter on phones: half the motes, and no light on the (hidden) network. */
  .about-hero__particles span:nth-child(n + 7),
  .about-hero__pulses {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__particles,
  .about-hero__glint,
  .about-hero__pulses,
  .about-hero__trail {
    display: none;
  }

  .about-hero__photo,
  .about-hero__atmos,
  .about-hero__wave > img,
  .about-pillars::before,
  .about-intro::before,
  .about-story__visual::before {
    animation: none;
  }
}

@keyframes photo-settle {
  from { opacity: 0; transform: scale(1.08); }
}

@keyframes camera-drift {
  from { scale: 1; translate: 0 0; }
  to { scale: 1.045; translate: -1.2% -0.6%; }
}

@keyframes media-sink {
  to { translate: 0 90px; scale: 1.05; }
}

@keyframes network-sink {
  to { translate: 0 50px; }
}

@keyframes atmos-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(2%, -1.5%, 0) scale(1.05); }
}

@keyframes atmos-sink {
  to { translate: 0 40px; }
}

@keyframes particles-sink {
  to { translate: 0 -30px; }
}

@keyframes wave-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes wave-sink {
  to { translate: 0 30px; }
}

@keyframes wave-breathe {
  from { opacity: 0.82; }
  to { opacity: 1; }
}

@keyframes glint-pass {
  0% { opacity: 0; transform: translateX(-120%) skewX(-12deg); }
  8% { opacity: 1; }
  42% { opacity: 1; transform: translateX(300%) skewX(-12deg); }
  46%, 100% { opacity: 0; transform: translateX(300%) skewX(-12deg); }
}

@keyframes net-travel {
  0% { stroke-dashoffset: var(--pulse-len); }
  40%, 100% { stroke-dashoffset: -1; }
}

@keyframes particle-float {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15%, 80% { opacity: var(--o, 0.6); }
  100% { opacity: 0; transform: translate3d(var(--dx, 10px), -70px, 0); }
}

@keyframes trail-flow {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(290%); }
}

@keyframes light-wander {
  from { transform: translate3d(-4%, 3%, 0) scale(0.95); }
  to { transform: translate3d(4%, -3%, 0) scale(1.05); }
}

@keyframes gradient-wander {
  from { transform: translate3d(-6%, 4%, 0); }
  to { transform: translate3d(8%, -6%, 0); }
}

@keyframes grain-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-30px, -24px, 0); }
}

@keyframes glow-wake {
  to { opacity: 1; }
}

@keyframes glow-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.06) translateY(-1.5%); }
}

@keyframes tag-in {
  from { opacity: 0; scale: 0.4; }
}

@keyframes card-sheen {
  from { background-position: -150% 0, 0 0; }
  to { background-position: 250% 0, 0 0; }
}

@keyframes title-drift {
  from { translate: -12px 0; }
  to { translate: 12px 0; }
}

@keyframes pin-drop {
  from { opacity: 0; transform: translateY(-18px); }
}

@keyframes pin-breathe {
  from { scale: 1; opacity: 0.75; }
  to { scale: 1.3; opacity: 1; }
}

/* 8. Responsive ----------------------------------------------------------- */
@media (max-width: 1279px) {
  /* The title reaches further across the photo as the viewport narrows. */
  .about-hero::before {
    background:
      linear-gradient(90deg, #000 0%, #000 16%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.6) 62%, rgba(0, 0, 0, 0.1) 85%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  }

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

  .board-grid {
    gap: 48px;
  }
}

@media (max-width: 1023px) {
  /* Below desktop the ribbon follows the caption in the flow, so the two never overlap. */
  .about-hero {
    flex-direction: column;
    min-height: 640px;
  }

  .about-hero__photo {
    width: 100%;
    object-position: 70% 40%;
  }

  .about-hero::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.35) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
  }

  .about-hero__content {
    padding-top: 200px;
  }

  .about-hero__wave {
    position: relative;
    top: auto;
    order: 1;
    margin-top: 8px;
  }

  .about-hero__caption {
    margin-top: 96px;
  }

  .about-intro {
    padding-block: 80px 112px;
  }

  .about-intro__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }

  .about-intro__media {
    max-width: 560px;
  }

  .about-story__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .about-story__visual {
    order: 2;
    min-height: 320px;
  }

  .about-story__content {
    padding-top: 0;
  }

  .story-card {
    min-height: 0;
  }

  .about-philosophy__text {
    margin-top: 40px;
  }

  .about-philosophy__text p + p {
    margin-top: 1em;
  }

  .about-board {
    padding-bottom: 112px;
  }

  .about-reach__map {
    --map-width: 100%;
    --map-left: 0%;
    --map-top: 0%;
    aspect-ratio: 1440 / 962;
    border-radius: 28px;
  }
}

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

  /* Text spans the full width here, so the whole photo is dimmed rather than one side. */
  .about-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.78) 28%, rgba(0, 0, 0, 0.8) 72%, rgba(0, 0, 0, 0.9) 100%);
  }

  .about-hero__content {
    padding-top: 150px;
  }

  .about-hero__title br {
    display: none;
  }

  /* On narrow screens the network would sit on top of the heading. */
  .about-hero__network {
    display: none;
  }

  .about-hero__wave {
    width: 560px;
    max-width: 100%;
    opacity: 0.8;
  }

  .about-hero__caption {
    margin-top: 64px;
    margin-left: 0;
  }

  .about-story__content {
    align-items: flex-start;
    text-align: left;
  }

  .about-story__title {
    margin-right: 0;
  }

  .about-story__title br {
    display: none;
  }

  .story-card {
    padding: 22px 18px 24px 22px;
    border-radius: 22px 0 0 22px;
  }

  .story-card p {
    margin-top: 14px;
    line-height: 1.45;
  }

  .about-philosophy {
    padding-block: 72px;
  }

  .about-philosophy__text {
    letter-spacing: 0.02em;
  }

  .pillar__card {
    padding: 22px 22px 34px;
    letter-spacing: 0.02em;
  }

  .about-board {
    padding-bottom: 80px;
  }

  .board-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .director {
    padding: 16px 14px 32px;
  }

  .reach-stat {
    min-width: 0;
    flex: 1;
  }

  .about-reach__map {
    border-radius: 20px;
  }
}

/* Values (Illumexa Charter section 2): five numbered values under the section title. */
.values-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
  padding: 0;
  list-style: none;
}

.values-item {
  padding-top: 22px;
  border-top: 2px solid var(--c-lime);
}

.values-item__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-lime-ink, #6b7d00);
}

.values-item__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-black);
}

.values-item__text {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-text-soft);
}

@media (max-width: 1023px) {
  .values-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .values-list { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
}

/* Board page (board.html): the heading sits directly above the cards, without the
   About page's section spacing. */
.svc-hero.svc-hero--board {
  padding-bottom: 48px;
}

.about-board.about-board--page {
  padding-top: 0;
}

.about-board--page .board-grid {
  margin-top: 0;
}

/* A director card with a real photo: fill the frame, keep the face in view. */
.director__photo--img {
  overflow: hidden;
}

.director__photo--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: inherit;
}

/* City shown beside a director's name. */
.director__city {
  margin-left: 10px;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #6b6f63;
  white-space: nowrap;
}

.director__city::before {
  content: "·";
  margin-right: 10px;
}

/* Board page: portrait frames, the shape of the headshots, so a photo shows in full. */
.about-board--page .director__photo {
  aspect-ratio: 1647 / 2000;
}

.about-board--page .director__photo--img img {
  object-position: 50% 50%;
}

/* Board page: four cards in one row on laptops, two on tablets, one on phones. */
.about-board--page .board-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1320px;
  margin-inline: auto;
}

.about-board--page .director {
  padding: 16px 14px 28px;
}

.about-board--page .director__photo {
  border-radius: 16px;
}

.about-board--page .director__role {
  margin-top: 18px;
  padding-inline: 6px;
  font-size: 1rem;
}

.about-board--page .director__name {
  padding-inline: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.about-board--page .director__city {
  display: block;
  margin: 4px 0 0;
  font-size: 0.8125rem;
}

.about-board--page .director__city::before {
  content: none;
}

.about-board--page .director__bio {
  padding-inline: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .about-board--page .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .about-board--page .board-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Board page: Management Team below the board, five placeholder tiles. */
.about-board.about-board--page {
  padding-bottom: 96px;
}

.about-board.about-team {
  padding-bottom: 160px;
}

.about-team .about-board__title {
  margin: 0 0 40px;
}

.about-board--page .board-grid.board-grid--team {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1279px) {
  .about-board--page .board-grid.board-grid--team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .about-board--page .board-grid.board-grid--team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .about-board--page .board-grid.board-grid--team {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-board.about-team {
    padding-bottom: 96px;
  }
}
