/* ==========================================================================
   About page — page-specific layouts only.
   Reuses: .feature (style.css), .figure / .pull-quote / .prose__intro
   (article.css), .section-head / .grid (layout.css), .culture__topics.
   ========================================================================== */

/* ---- Shared helpers ------------------------------------------------------- */
.about-index {
  margin-right: var(--space-sm);
  color: var(--color-muted);
}

.section--inverse .about-index {
  color: var(--color-inverse-muted);
}

/* Running text blocks */
.about-text > p + p,
.about-text > p + div,
.about-text > div + p {
  margin-top: var(--space-md);
}

.about-text--narrow {
  max-width: var(--article-width);
  margin-top: var(--space-xl);
}

@media (min-width: 64rem) {
  /* Offset narrow columns to the right of the grid's quarter line: asymmetric, not centred */
  .about-text--narrow {
    margin-left: calc(100% / 12 * 3);
  }
}

/* Figures placed inside the grid don't need their own vertical margins */
.grid > .figure,
.about-note__media > .figure {
  margin-block: 0;
}

.section--inverse .figure figcaption {
  color: var(--color-inverse-muted);
}

/* ---- 01 Hero ------------------------------------------------------------------ */
.about-hero__title {
  font-size: clamp(3rem, 1rem + 7vw, 8rem);
}

.about-hero__statement {
  display: grid;
  gap: var(--space-3xs);
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem);
  line-height: 1.2;
}

.about-hero__statement span:last-child {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ---- 02 Origins: text + offset image ---------------------------------------- */
.about-split__text .prose__intro {
  margin-bottom: var(--space-xs);
}

@media (min-width: 48rem) {
  .about-split__text {
    grid-column: 1 / span 6;
  }

  .about-split__media {
    grid-column: 3 / -1;
  }
}

@media (min-width: 64rem) {
  .about-split__text {
    grid-column: 1 / span 6;
    max-width: 36rem;
  }

  .about-split__media {
    grid-column: 8 / -1;
    margin-top: var(--space-xl);
  }
}

/* ---- 03 Podcast: dark, outline type ----------------------------------------- */
.about-podcast {
  overflow: hidden;
}

.about-podcast__kicker {
  color: var(--color-inverse-muted);
}

.about-podcast__index {
  margin-right: var(--space-sm);
}

/* Oversized outline word — decorative (aria-hidden), the real heading follows */
.about-outline {
  margin-block: var(--space-lg) var(--space-xl); /* capitals rise above the 0.8 line box */
  font-family: var(--font-display);
  font-size: clamp(4rem, 17.5vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-inverse-text);
}

@supports (-webkit-text-stroke: 1px currentColor) {
  .about-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-inverse-text);
  }
}

.about-podcast__cover {
  display: grid;
  gap: var(--space-sm);
  justify-items: start;
  margin: 0;
}

/* The real cover art is 300 × 300 — never upscale it */
.about-podcast__cover img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 1px solid var(--color-inverse-border);
}

.about-podcast__cover figcaption {
  display: grid;
  gap: var(--space-3xs);
  max-width: 300px;
  color: var(--color-inverse-muted);
}

.about-podcast__show {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-style: italic;
  line-height: 1.3;
  color: var(--color-inverse-text);
}

.about-podcast__title {
  margin-bottom: var(--space-md);
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.about-dialogue {
  display: grid;
  gap: var(--space-2xs);
  margin-block: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 1px solid var(--color-inverse-border);
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  line-height: 1.35;
}

.about-dialogue p:first-child {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-inverse-muted);
}

@media (min-width: 64rem) {
  .about-podcast__cover {
    grid-column: 2 / span 5;
    align-self: start;
  }

  .about-podcast__text {
    grid-column: 8 / -1;
  }
}

/* ---- 04 Evolution path: Podcast → Magazine → Community ----------------------
   `ol.` prefix: must out-rank reset.css `ol[role="list"] { padding: 0 }`.    */
ol.about-path {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: 0 0 0 var(--space-md);
  list-style: none;
  border-left: var(--rule);
}

.about-path__stop {
  position: relative;
  display: grid;
  gap: var(--space-2xs);
}

/* The marker on the line */
.about-path__stop::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: calc(-1 * var(--space-md) - 0.4375rem);
  width: 0.875rem;
  height: 0.875rem;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-background);
}

.about-path__state {
  color: var(--color-muted);
}

.about-path__name {
  font-family: var(--font-display);
  /* "COMMUNITY" is ~6.5em wide — must fit a third of the container from 48rem up */
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-path__note {
  color: var(--color-muted);
  font-size: var(--fs-small);
}

.about-path__stop.is-past .about-path__name {
  color: var(--color-muted);
}

/* Still running alongside the present (the podcast) */
.about-path__stop.is-ongoing::before {
  background: var(--color-text);
}

.about-path__stop.is-now::before {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.about-path__stop.is-now .about-path__state {
  color: var(--color-accent);
}

/* The future is drawn, not yet filled in */
@supports (-webkit-text-stroke: 1px currentColor) {
  .about-path__stop.is-next .about-path__name {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text);
  }
}

@media (min-width: 48rem) {
  ol.about-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
    padding: var(--space-lg) 0 0;
    border-left: 0;
    border-top: var(--rule);
  }

  .about-path__stop::before {
    top: calc(-1 * var(--space-lg) - 0.4375rem);
    left: 0;
  }
}

.about-text > .about-aside {
  margin-top: var(--space-lg);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-style: italic;
  line-height: 1.25;
}

/* ---- 05 Philosophy ------------------------------------------------------------ */
.about-statement {
  max-width: 15ch;
  margin-top: var(--space-sm);
  font-size: clamp(2.75rem, 0.75rem + 7.5vw, 8.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-wide {
  margin-block: var(--space-xl);
}

.about-wide__media {
  aspect-ratio: 4 / 3;
}

.about-wide--panorama .about-wide__media {
  aspect-ratio: var(--ratio-landscape);
}

@media (min-width: 48rem) {
  .about-wide__media {
    aspect-ratio: var(--ratio-hero);
  }

  .about-wide--panorama .about-wide__media {
    aspect-ratio: 21 / 9;
  }
}

@media (min-width: 64rem) {
  .about-philosophy__text {
    grid-column: 1 / span 6;
  }

  .about-philosophy__body .spec-sheet {
    grid-column: 8 / -1;
    align-self: start;
    position: sticky;
    top: calc(var(--header-bar-h) + var(--space-lg));
  }
}

/* The spec sheet, rewritten: familiar data-box format, numbers struck out */
.spec-sheet {
  margin: 0;
  border-top: 2px solid var(--color-text);
}

.spec-sheet__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3xs) var(--space-md);
  padding-block: var(--space-xs);
  border-bottom: var(--rule);
}

.spec-sheet__sub {
  color: var(--color-accent);
}

.spec-sheet__list {
  margin: 0;
}

.spec-sheet__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: baseline;
  padding-block: var(--space-sm);
  border-bottom: var(--hairline);
}

.spec-sheet__row dt {
  color: var(--color-muted);
}

.spec-sheet__row dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-style: italic;
  line-height: 1.3;
}

.spec-sheet__row s {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-style: normal;
  color: var(--color-muted);
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1.5px;
}

.about-cars {
  margin-top: var(--space-2xl);
}

.about-cars__intro {
  margin-bottom: var(--space-sm);
  color: var(--color-muted);
}

.about-cars__note {
  margin-top: var(--space-md);
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-style: italic;
}

/* ---- 06 People ---------------------------------------------------------------- */
/* Placeholder photo: keep the person (right side of the frame) in the portrait crop */
.about-people__media img {
  object-position: 85% 50%;
}

.about-people__body {
  display: grid;
  gap: var(--space-lg);
  align-content: start;
}

.about-questions {
  display: grid;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--rule);
}

.about-questions h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-muted);
}

.about-questions ul {
  display: grid;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-questions__group--rarely li {
  color: var(--color-muted);
  font-size: var(--fs-small);
  text-decoration: line-through;
  text-decoration-color: var(--color-border);
}

.about-questions__group--always li {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-style: italic;
  line-height: 1.3;
}

@media (min-width: 48rem) {
  .about-questions {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--grid-gap);
  }

  .about-people__media {
    grid-column: 1 / span 5;
  }

  .about-people__body {
    grid-column: 6 / -1;
  }
}

@media (min-width: 64rem) {
  .about-people__media {
    grid-column: 1 / span 5;
  }

  .about-people__body {
    grid-column: 7 / -1;
  }
}

/* ---- 07 Editor's note (Willys) -------------------------------------------- */
.about-note__title {
  max-width: 18ch;
  margin-block: var(--space-sm) var(--space-xl);
  font-size: clamp(2.25rem, 1.1rem + 4vw, 5rem);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.about-note__media {
  row-gap: var(--space-md);
}

.about-note__detail {
  grid-column: 2 / -1;
}

.about-text > .about-note__signature {
  display: grid;
  gap: var(--space-3xs);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--hairline);
}

.about-note__name {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-style: italic;
}

.about-note__signature .label {
  color: var(--color-muted);
}

@media (min-width: 48rem) {
  .about-note__main {
    grid-column: 1 / span 6;
  }

  .about-note__detail {
    grid-column: 6 / -1;
    margin-top: calc(-1 * var(--space-2xl));
    position: relative;
  }
}

@media (min-width: 64rem) {
  .about-note__main {
    grid-column: 1 / span 8;
  }

  .about-note__detail {
    grid-column: 9 / -1;
    margin-top: var(--space-2xl);
  }
}

/* Founder's cars: a short, dated list — the Willys entry is the long one */
.about-note__title + .about-note__intro {
  margin-top: 0;
}

ol.about-garage {
  max-width: 52rem;
  margin: var(--space-xl) 0;
  padding: 0;
  list-style: none;
  border-top: var(--rule);
}

.about-garage__car {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: var(--hairline);
}

.about-garage__year {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  color: var(--color-muted);
}

.about-garage__model {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3xs) var(--space-sm);
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.about-garage__state {
  color: var(--color-accent);
}

/* Cars that are no longer in the garage */
.about-garage__state--past {
  color: var(--color-muted);
}

.about-garage__text {
  max-width: 40rem;
  margin-top: var(--space-2xs);
  color: var(--color-muted);
  font-size: 1rem;
}

.about-garage__car--feature .about-garage__model {
  font-size: var(--fs-h2);
  font-family: var(--font-serif);
  font-style: italic;
}

.about-garage__car--feature .about-garage__text {
  color: var(--color-text);
  font-size: var(--fs-body);
}

.about-garage__car--feature .about-garage__text + .about-garage__text {
  margin-top: var(--space-sm);
}

@media (min-width: 48rem) {
  .about-garage__car {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
}

@media (min-width: 64rem) {
  ol.about-garage {
    margin-left: calc(100% / 12 * 3);
  }
}

/* ---- 08 Independent ------------------------------------------------------------ */
.about-independent {
  display: grid;
  gap: var(--space-md);
  max-width: 44rem;
  margin-inline: auto;
  padding-block: var(--space-xl);
  border-block: var(--rule);
  text-align: center;
}

.about-independent__title {
  font-size: clamp(2.5rem, 1.2rem + 4.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-independent p:not(.label):not(.about-independent__small) {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.about-independent__small {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--color-muted);
  font-size: var(--fs-small);
}

/* ---- 09 Route: Magazine → … → Community --------------------------------------- */
ol.about-route {
  display: grid;
  margin: 0;
  padding: 0 0 0 var(--space-md);
  list-style: none;
  border-left: 1px dashed var(--color-muted);
}

.about-route__stop {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-xs);
  border-bottom: var(--hairline);
}

.about-route__stop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * var(--space-md) - 0.3125rem);
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
  background: var(--color-background);
  transform: translateY(-50%);
}

.about-route__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  color: var(--color-muted);
}

.about-route__state {
  color: var(--color-muted);
  white-space: nowrap;
}

.about-route__stop.is-now::before {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.about-route__stop.is-now .about-route__name {
  color: var(--color-text);
}

.about-route__stop.is-now .about-route__state {
  color: var(--color-accent);
}

.about-route__stop.is-next .about-route__name {
  color: var(--color-text);
}

.about-route__stop.is-next::before {
  border-color: var(--color-text);
}

@media (min-width: 64rem) {
  /* Horizontal road book with a dashed line through the markers */
  ol.about-route {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md) var(--space-sm);
    padding: var(--space-md) 0 0;
    border-left: 0;
    border-top: 1px dashed var(--color-muted);
  }

  .about-route__stop {
    flex-direction: column;
    gap: var(--space-3xs);
    padding-block: 0;
    border-bottom: 0;
  }

  .about-route__stop::before {
    top: calc(-1 * var(--space-md) - 0.3125rem);
    left: 0;
    transform: none;
  }

  .about-route__name {
    font-size: clamp(1.375rem, 0.6rem + 1.3vw, 2.25rem);
  }
}

/* ---- 10 Manifesto ---------------------------------------------------------------- */
.about-manifesto {
  padding-block: var(--space-3xl);
}

.about-manifesto__label {
  margin-bottom: var(--space-lg);
  color: var(--color-inverse-muted);
}

.about-manifesto__lines {
  display: grid;
  gap: var(--space-2xs);
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  line-height: 1.22;
}

.about-manifesto__final {
  margin-top: var(--space-2xl);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 0.75rem + 7vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* ---- CTA ------------------------------------------------------------------------- */
.about-cta__item {
  position: relative;
  display: grid;
  gap: var(--space-sm);
  justify-items: start;
  padding-top: var(--space-md);
  border-top: var(--rule);
}

.about-cta__title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.about-cta__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.about-cta__item:hover .about-cta__title a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.08em;
}

.about-cta__text {
  max-width: 36ch;
  color: var(--color-muted);
}

@media (min-width: 64rem) {
  .about-cta__item {
    grid-column: span 6;
  }
}

/* ---- 07 Dream garage: auction-catalogue index -------------------------------------- */
.about-dream__title {
  margin-block: var(--space-sm) var(--space-lg);
  font-size: clamp(2.75rem, 1rem + 6.5vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.about-dream__intro {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about-dream__intro .lead {
  max-width: 34ch;
  color: var(--color-inverse-text);
}

.about-dream__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  margin: 0;
}

.about-dream__stats div {
  display: grid;
  gap: var(--space-3xs);
}

.about-dream__stats dt {
  color: var(--color-inverse-muted);
}

.about-dream__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  line-height: 1;
}

@media (min-width: 64rem) {
  .about-dream__intro {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .about-dream__stats {
    justify-content: flex-end;
  }
}

.about-dream__marques {
  display: grid;
  gap: var(--space-xl);
}

.dream-marque__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-md);
  padding-top: var(--space-sm);
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--color-inverse-text);
}

.dream-marque__name {
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.dream-marque__count {
  color: var(--color-inverse-muted);
}

/* Models flow in columns like a catalogue index */
ol.dream-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
  column-gap: var(--grid-gap);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.35;
}

.dream-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--color-inverse-border);
  break-inside: avoid;
}

.dream-list__no {
  color: var(--color-inverse-muted);
}

@media (min-width: 48rem) {
  ol.dream-list {
    columns: 2;
  }
}

@media (min-width: 80rem) {
  ol.dream-list {
    columns: 3;
  }
}

.about-dream__closing {
  margin-top: var(--space-xl);
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-style: italic;
  color: var(--color-inverse-muted);
}

/* Dream garage — featured "why it's on the list" story */
.dream-story {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-inverse-border);
  scroll-margin-top: calc(var(--header-bar-h) + var(--space-md));
}

.dream-story__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  align-items: end;
}

.dream-story__no {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2rem + 7vw, 9rem);
  line-height: 0.8;
  color: var(--color-inverse-border);
}

.dream-story__kicker {
  color: var(--color-inverse-muted);
}

.dream-story__rank {
  color: var(--color-inverse-text);
}

.dream-story__title {
  margin-top: var(--space-2xs);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.dream-story__body {
  display: grid;
  gap: var(--space-lg);
}

.dream-story__quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-style: italic;
  line-height: 1.2;
}

.dream-story__text {
  display: grid;
  gap: var(--space-sm);
  max-width: var(--article-width);
  color: var(--color-inverse-text);
}

.dream-story__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-sm) var(--grid-gap);
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-inverse-border);
}

.dream-story__facts dt {
  color: var(--color-inverse-muted);
}

.dream-story__facts dd {
  margin: var(--space-3xs) 0 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
}

@media (min-width: 64rem) {
  .dream-story__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-xl);
    align-items: start;
  }

  .dream-story__facts {
    grid-column: 1 / -1;
  }
}

.dream-list__story {
  text-decoration: underline;
  text-decoration-color: var(--color-inverse-muted);
  text-underline-offset: 0.2em;
}

.dream-list__story .label {
  margin-left: var(--space-2xs);
  color: var(--color-inverse-muted);
}

.dream-list__story:hover {
  text-decoration-color: currentColor;
}
