.page-about {
  --about-edge: rgba(17, 20, 24, 0.14);
  --about-no: rgba(14, 58, 42, 0.5);
  --about-gridline: rgba(17, 20, 24, 0.07);
  background: var(--paper);
  color: var(--ink);
}

.page-about .crumbs {
  padding: 1.1rem 0 0.4rem;
}

.page-about .crumbs__item + .crumbs__item::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--mist);
}

/* ---------- hero ---------- */

.page-about .about-hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(14, 58, 42, 0.06), rgba(241, 232, 215, 0) 62%),
    var(--paper);
  border-bottom: 1px solid var(--about-edge);
}

.page-about .about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(158deg, rgba(14, 58, 42, 0.14), rgba(11, 27, 43, 0.2));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-about .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--about-gridline) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, var(--about-gridline) 0 1px, transparent 1px 28px);
  opacity: 0.7;
  pointer-events: none;
}

.page-about .about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.page-about .about-hero__title {
  margin: 0.75rem 0 0;
  max-width: 15em;
  font-size: clamp(2.1rem, 7.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-about .about-hero__deck {
  margin: 1.15rem 0 0;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(17, 20, 24, 0.82);
}

.page-about .about-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.9rem 0 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--ink);
}

.page-about .about-figure {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
}

.page-about .about-figure__label {
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-about .about-figure__value {
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.page-about .about-hero__media {
  align-self: end;
  margin: 0;
  border: 1px solid var(--about-edge);
  background: var(--retro);
  box-shadow: 0 18px 40px -28px rgba(11, 27, 43, 0.55);
}

/* ---------- index strip ---------- */

.page-about .about-index {
  background: var(--night);
  border-top: 3px solid var(--neon);
}

.page-about .about-index__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-about .about-index__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-about .about-index__link:hover,
.page-about .about-index__link:focus-visible {
  color: var(--neon);
  padding-left: 0.4rem;
}

.page-about .about-index__no {
  color: var(--neon);
  font-size: 0.72rem;
}

/* ---------- generic block ---------- */

.page-about .about-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--about-edge);
}

.page-about .about-block h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.5rem, 5.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-about .about-block__head--wide {
  max-width: 62ch;
}

.page-about .about-lede {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(17, 20, 24, 0.78);
}

.page-about .about-room__grid,
.page-about .about-team__grid {
  display: grid;
  gap: 1.6rem;
}

.page-about .about-block__body p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.85;
}

.page-about .about-block__body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- history ---------- */

.page-about .about-history__media {
  margin: 1.8rem 0 0;
  border: 1px solid var(--about-edge);
}

.page-about .about-timeline {
  margin: 1.8rem 0 0;
  padding: 0 0 0 1.9rem;
  list-style: none;
  border-left: 2px solid var(--green);
}

.page-about .about-node {
  position: relative;
  padding-bottom: 1rem;
}

.page-about .about-node__marker {
  position: absolute;
  left: -3.3rem;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 1.5rem;
  background: var(--green);
  color: var(--neon);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.page-about .about-node__panel {
  border: 1px solid var(--about-edge);
  background: rgba(255, 255, 255, 0.5);
}

.page-about .about-node__panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  padding: 0.85rem 1rem;
  transition: background 0.2s ease;
}

.page-about .about-node__panel > summary::-webkit-details-marker {
  display: none;
}

.page-about .about-node__panel > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--green);
}

.page-about .about-node__panel[open] > summary::after {
  content: "–";
}

.page-about .about-node__panel > summary:hover {
  background: rgba(200, 255, 61, 0.16);
}

.page-about .about-node__era {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.45rem;
  background: var(--retro);
  color: var(--ink);
}

.page-about .about-node__title {
  font-size: 0.98rem;
  font-weight: 700;
}

.page-about .about-node__desc {
  padding: 0 1rem 0.9rem;
}

.page-about .about-node__desc p {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(17, 20, 24, 0.78);
}

/* ---------- method (dark) ---------- */

.page-about .about-block--method {
  padding: 0;
  border-bottom: none;
}

.page-about .about-method {
  padding: 3rem 0;
  background: linear-gradient(150deg, var(--green) 0%, var(--night) 78%);
  color: var(--paper);
}

.page-about .about-method h2 {
  color: var(--paper);
}

.page-about .eyebrow--dark {
  color: var(--neon);
}

.page-about .about-method__grid {
  display: grid;
  gap: 1.8rem;
}

.page-about .about-method__lede {
  margin: 1rem 0 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(241, 232, 215, 0.8);
}

.page-about .about-method__media {
  margin: 0;
  border: 1px solid var(--line-dark);
  background: rgba(11, 27, 43, 0.6);
}

.page-about .about-method__media .media__cap {
  color: rgba(241, 232, 215, 0.7);
}

.page-about .about-steps {
  display: grid;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-about .about-step {
  position: relative;
  padding: 1.1rem 1.1rem 1.2rem;
  background: rgba(241, 232, 215, 0.07);
  border: 1px solid rgba(241, 232, 215, 0.18);
  border-left: 3px solid rgba(200, 255, 61, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.page-about .about-step:hover,
.page-about .about-step:focus-within {
  transform: translateY(-3px);
  border-left-color: var(--neon);
  background: rgba(241, 232, 215, 0.11);
}

.page-about .about-step__no {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.page-about .about-step__name {
  margin: 0.45rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.page-about .about-step__desc {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(241, 232, 215, 0.76);
}

.page-about .about-method__tail {
  margin: 1.8rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(241, 232, 215, 0.75);
}

.page-about .about-method__tail a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- legacy ---------- */

.page-about .about-block--legacy {
  background: linear-gradient(180deg, rgba(229, 211, 168, 0.42), rgba(241, 232, 215, 0.2));
}

.page-about .about-legacy {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
}

.page-about .about-legacy__card {
  padding: 1.3rem 1.2rem 1.4rem;
}

.page-about .about-legacy__card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.page-about .about-legacy__card p {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(17, 20, 24, 0.78);
}

.page-about .about-legacy__list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.page-about .about-legacy__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(17, 20, 24, 0.74);
}

.page-about .about-legacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 2px;
  background: var(--mid);
}

.page-about .about-stamp {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 2px solid var(--alert);
  color: var(--alert);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  transform: rotate(-2deg);
}

.page-about .about-legacy__tail {
  margin: 1.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(17, 20, 24, 0.74);
}

.page-about .about-legacy__tail a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- team ---------- */

.page-about .about-flow {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-about .about-flow__step {
  padding: 1rem 1.05rem 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--about-edge);
  border-top: 3px solid var(--mid);
}

.page-about .about-flow__no {
  display: block;
  font-size: 0.9rem;
  color: var(--green);
  letter-spacing: 0.1em;
}

.page-about .about-flow__name {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.page-about .about-flow__step p {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(17, 20, 24, 0.74);
}

.page-about .about-team__tail {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(17, 20, 24, 0.74);
}

.page-about .about-team__tail a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- media base within page ---------- */

.page-about .media img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- tablet ---------- */

@media (min-width: 680px) {
  .page-about .about-index__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-about .about-index__link {
    border-bottom: none;
    border-right: 1px solid var(--line-dark);
    padding: 0.95rem 0.8rem;
    justify-content: flex-start;
  }

  .page-about .about-index__item:last-child .about-index__link {
    border-right: none;
  }

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

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

/* ---------- desktop ---------- */

@media (min-width: 1000px) {
  .page-about .about-hero {
    padding: 2.5rem 0 4.5rem;
  }

  .page-about .about-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: end;
    gap: 3.2rem;
  }

  .page-about .about-hero__media {
    transform: translateY(1.6rem);
  }

  .page-about .about-room__grid,
  .page-about .about-team__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3rem;
    align-items: start;
  }

  .page-about .about-block {
    padding: 4.5rem 0;
  }

  .page-about .about-method {
    padding: 4.5rem 0;
  }

  .page-about .about-method__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 3rem;
  }

  .page-about .about-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .page-about .about-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-about .about-timeline {
    padding-left: 2.4rem;
  }

  .page-about .about-node__marker {
    left: -3.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .about-step,
  .page-about .about-index__link {
    transition: none;
  }
}
