.page-about {
  --about-pad: 20px;
  --about-section-pad: 52px;
  display: block;
  background: var(--bg);
  color: var(--text);
}

.page-about .container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--about-pad);
}

.page-about .breadcrumb {
  padding-block: 20px 4px;
}

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

.page-about .about-hero {
  padding-block: 16px var(--about-section-pad);
}

.page-about .about-hero__frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 34px 22px 30px;
}

.page-about .about-hero__frame::before,
.page-about .about-hero__frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--red);
  pointer-events: none;
}

.page-about .about-hero__frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.page-about .about-hero__frame::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.page-about .page-title {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.4vw, 52px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-about .page-lead {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.page-about .about-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-about .about-hero__stats > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 5px;
  background: var(--surface);
  padding: 16px 14px;
}

.page-about .about-hero__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.page-about .about-hero__unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.page-about .about-hero__key {
  flex-basis: 100%;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- bands ---------- */

.page-about .about-band {
  padding-block: var(--about-section-pad);
  border-top: 1px solid var(--line);
}

.page-about .about-band--paper {
  background: var(--bg);
  color: var(--text);
}

.page-about .about-band--ink {
  --surface: rgba(247, 245, 242, 0.055);
  --line: rgba(201, 198, 209, 0.22);
  --text: var(--paper);
  --muted: rgba(247, 245, 242, 0.8);
  background: var(--ink-deep);
  color: var(--paper);
  border-top-color: transparent;
}

/* ---------- chapter head ---------- */

.page-about .about-chapter {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.page-about .about-chapter__num {
  flex: none;
  margin-top: 4px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
}

.page-about .about-band--ink .about-chapter__num {
  color: var(--gold);
}

.page-about .about-chapter__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.page-about .about-chapter__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- generic text ---------- */

.page-about .about-text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.page-about .about-text p:last-child {
  margin-bottom: 0;
}

.page-about .about-text--tight p {
  margin-bottom: 18px;
}

.page-about .about-text--lead {
  max-width: 64ch;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.page-about .about-text a,
.page-about .about-notes a,
.page-about .about-who__foot a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-about .about-band--ink .about-text a {
  color: var(--gold);
}

/* ---------- split layouts ---------- */

.page-about .about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about .about-split--matrix {
  gap: 32px;
}

/* ---------- who panel ---------- */

.page-about .about-who__panel .panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.page-about .about-who__foot {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- figure ---------- */

.page-about .about-figure {
  margin: 0 0 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}

.page-about .about-band--ink .about-figure {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

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

.page-about .about-figure--square {
  margin-bottom: 0;
}

/* ---------- timeline ---------- */

.page-about .about-timeline__rail {
  position: relative;
  height: 30px;
  margin-bottom: 6px;
}

.page-about .about-timeline__svg {
  display: block;
  width: 100%;
  height: 30px;
  color: rgba(201, 198, 209, 0.5);
}

.page-about .about-timeline__mark {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  transform: translateX(-50%);
  background: var(--red);
}

.page-about .about-timeline__mark:nth-child(2) {
  left: 16.6667%;
}

.page-about .about-timeline__mark:nth-child(3) {
  left: 50%;
  background: var(--gold);
}

.page-about .about-timeline__mark:nth-child(4) {
  left: 83.3333%;
  background: var(--mint);
}

.page-about .about-timeline__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-about .about-timeline__node {
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.page-about .about-timeline__node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 180ms ease;
}

.page-about .about-timeline__node:hover,
.page-about .about-timeline__node:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
}

.page-about .about-timeline__node:hover::before,
.page-about .about-timeline__node:focus-visible::before,
.page-about .about-timeline__node:focus-within::before {
  opacity: 1;
}

.page-about .about-timeline__phase {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-about .about-timeline__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-about .about-timeline__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-about .about-timeline__more {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-about .about-timeline__note {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

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

/* ---------- team shot + rhythm ---------- */

.page-about .about-shot {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--gold-soft);
}

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

.page-about .about-shot__caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-about .about-rhythm {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-about .about-rhythm__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-about .about-rhythm__idx {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--red);
}

.page-about .about-rhythm__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.page-about .about-rhythm__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- scale cells ---------- */

.page-about .about-scale {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-about .about-scale__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  background: var(--ink-deep);
}

.page-about .about-band--ink .about-scale__cell {
  background: rgba(14, 14, 26, 0.92);
}

.page-about .about-scale__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.page-about .about-scale__key {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.page-about .about-link-row {
  margin: 22px 0 0;
}

.page-about .about-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--red);
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

/* ---------- notes grid ---------- */

.page-about .about-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-about .about-notes__item {
  position: relative;
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.page-about .about-notes__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 9px;
  background: var(--red-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-about .about-notes__tag--gold {
  background: var(--gold-soft);
  color: var(--gold-text);
}

.page-about .about-notes__tag--mint {
  background: rgba(46, 196, 182, 0.18);
  color: #1d7d74;
}

.page-about .about-notes__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-about .about-notes__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- focus cards ---------- */

.page-about .about-focus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-about .about-focus__card {
  position: relative;
  padding: 24px 20px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.page-about .about-focus__bar {
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 16px;
}

.page-about .about-focus__bar--red {
  background: var(--red);
}

.page-about .about-focus__bar--gold {
  background: var(--gold);
}

.page-about .about-focus__bar--mint {
  background: var(--mint);
}

.page-about .about-focus__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.page-about .about-focus__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- cta ---------- */

.page-about .about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.page-about .about-cta__text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.page-about .about-cta__link {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--red);
  background: var(--red);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.page-about .about-cta__link + .about-cta__link {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 245, 242, 0.4);
}

.page-about .about-cta__link:hover,
.page-about .about-cta__link:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  .page-about {
    --about-pad: 28px;
    --about-section-pad: 68px;
  }

  .page-about .about-hero__frame {
    padding: 46px 40px 42px;
  }

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

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

@media (min-width: 900px) {
  .page-about {
    --about-pad: 36px;
    --about-section-pad: 88px;
  }

  .page-about .about-hero {
    padding-block: 24px var(--about-section-pad);
  }

  .page-about .about-hero__frame {
    padding: 58px 56px 52px;
  }

  .page-about .about-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
  }

  .page-about .about-chapter {
    margin-bottom: 40px;
  }

  .page-about .about-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
  }

  .page-about .about-split--offset > :nth-child(2) {
    margin-top: 46px;
  }

  .page-about .about-split--matrix {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 52px;
  }

  .page-about .about-figure--square {
    margin-bottom: 0;
  }

  .page-about .about-timeline__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 900px) and (hover: hover) {
  .page-about .about-timeline__more {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    border-top-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 220ms ease, opacity 220ms ease, margin-top 220ms ease,
      padding-top 220ms ease;
  }

  .page-about .about-timeline__node:hover .about-timeline__more,
  .page-about .about-timeline__node:focus-within .about-timeline__more,
  .page-about .about-timeline__node:focus-visible .about-timeline__more {
    max-height: 180px;
    margin-top: 10px;
    padding-top: 10px;
    border-top-width: 1px;
    opacity: 1;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-about .about-timeline__node,
  .page-about .about-timeline__node::before,
  .page-about .about-timeline__more,
  .page-about .about-cta__link {
    transition: none;
  }

  .page-about .about-timeline__node:hover,
  .page-about .about-timeline__node:focus-visible {
    transform: none;
  }
}
