/*
 * About page sections, in page order:
 * page head, strategy moves, regional reach, vision and mission, founders.
 */

/* ---------- Page head ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(56px, 9vw, 120px) clamp(84px, 12vw, 160px);
}

.page-head h1 {
  margin-top: 22px;
  max-width: 15ch;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
}

.page-head .lede {
  margin-top: 26px;
}

/* The logo ribbon, drawn stroke by stroke once it is visible. */
.page-head__mark {
  position: absolute;
  right: -60px;
  top: 50%;
  z-index: -1;
  width: min(48vw, 560px);
  transform: translateY(-50%);
}

.page-head__mark path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1.2;
  stroke-dashoffset: 1.08;
}

.page-head__mark.is-visible path {
  animation: mark-draw 2s var(--ease-io) both;
}

.page-head__mark.is-visible path:nth-child(2) {
  animation-delay: 500ms;
}

@keyframes mark-draw {
  from { stroke-dashoffset: 1.08; }
  to { stroke-dashoffset: 0; }
}

.name-note {
  margin-top: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--ochre);
  max-width: 52ch;
  color: var(--mist);
}

.name-note b {
  font-weight: 600;
  color: var(--starch);
}

@media (max-width: 860px) {
  .page-head__mark {
    opacity: .4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-head__mark path {
    stroke-dashoffset: 0;
  }
}

/* ---------- Strategy moves ---------- */

.moves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
  border-top: 1.5px solid var(--ink);
}

.move {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 0 30px;
  border-bottom: 1.5px solid var(--line-ink);
}

.move p {
  max-width: 48ch;
  color: var(--slate);
}

@media (max-width: 860px) {
  .moves {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Regional reach ---------- */

.reach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.stages {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.stages li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.stages span {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: var(--fs-small);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
}

.stages p {
  color: var(--mist);
}

.stages b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--starch);
}

/* Concentric markets: home base, current region, next region. */
.rings {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  max-width: 100%;
  aspect-ratio: 1;
}

.rings svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rings__ring {
  fill: none;
  stroke-width: 1.5;
}

.rings__ring--home {
  fill: var(--ochre);
}

.rings__ring--region {
  stroke: var(--ochre);
}

.rings__ring--frontier {
  stroke: var(--leaf);
  stroke-dasharray: 5 8;
  transform-origin: 50% 50%;
  animation: rings-spin 80s linear infinite;
}

.rings__ring--pulse {
  stroke: var(--ochre);
  transform-origin: 50% 50%;
  animation: rings-pulse 3.6s ease-out infinite;
}

.rings__label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--starch);
}

.rings__label--dark {
  font-weight: 500;
  fill: var(--forest);
}

@keyframes rings-pulse {
  from { transform: scale(.34); opacity: .9; }
  to { transform: scale(1); opacity: 0; }
}

@keyframes rings-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  .reach {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .stages li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ---------- Vision and mission ---------- */

.statements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.statements__text {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .statements {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Founders ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  perspective: 1400px;
}

/* Cards lean toward the pointer; founder-tilt.js sets --tilt-x and --tilt-y. */
.founder {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  background: var(--green);
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .5s var(--ease);
}

.founder:hover {
  transition-duration: .12s;
}

.founder__portrait {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  max-width: 100%;
  aspect-ratio: 5 / 3.4;
  background: var(--pit);
}

.founder__portrait svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.founder__initials {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.4rem, 11vw, 8.6rem);
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--starch);
  transform: translateZ(40px);
}

.founder__initials em {
  font-style: normal;
  color: var(--ochre);
}

.founder__body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(20px, 2.8vw, 36px);
}

.founder__body h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.founder__body p {
  color: var(--mist);
}

.founder__role {
  font-family: var(--mono);
  font-size: var(--fs-small);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.founder__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.founder__credentials li {
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: .9rem;
}

.quote {
  margin-top: clamp(40px, 6vw, 80px);
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .founders {
    grid-template-columns: minmax(0, 1fr);
  }
}
