/* About page — the public explanation of the desk, its county and its account.
   The collage is a masonry of the two image sets in the tree, deliberately uneven:
   tall, square, portrait and wide tiles break the rows so the page reads as a
   collection rather than a gallery. */

.about-shell {
  min-height: 100vh;
  padding: clamp(20px, 2.4vw, 40px);
  background: linear-gradient(170deg, #fffdf7 0%, #f9f3e4 58%, #f2eee4 100%);
  color: var(--text-primary);
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 16px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-muted);
}

.about-hero {
  display: grid;
  gap: 12px;
  max-width: 940px;
  margin: 34px auto 30px;
}

.about-title {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

.about-title em {
  color: var(--accent-gold);
  font-style: italic;
}

.about-lede {
  margin: 0;
  max-width: 70ch;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.62;
}

/* ---- Asymmetric collage down the page ---- */

/* A twelve-tile grid on a fine row track: the spans do the collage work, and no
   single element is ever thousands of pixels tall, so every tile paints while
   scrolling. */
.about-collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  column-gap: 14px;
  row-gap: 0;
  max-width: 1180px;
  margin: 0 auto 46px;
}

.about-collage figure {
  position: relative;
  grid-column: span 2;
  grid-row: span 46;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(16, 41, 30, 0.08);
  background: var(--surface-hover);
  box-shadow: 0 14px 30px rgba(30, 45, 35, 0.12);
}

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

.about-collage .about-tile-tall {
  grid-column: span 4;
  grid-row: span 52;
}

.about-collage .about-tile-portrait {
  grid-column: span 2;
  grid-row: span 52;
}

.about-collage .about-tile-square {
  grid-column: span 2;
  grid-row: span 46;
}

.about-collage .about-tile-wide {
  grid-column: span 3;
  grid-row: span 26;
}

.about-tile-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  color: #f7f1e2;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(9, 27, 19, 0) 0%, rgba(9, 27, 19, 0.84) 100%);
}

/* ---- What an account opens ---- */

.about-features {
  max-width: 1180px;
  margin: 0 auto 46px;
}

.about-section-title {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--accent-deep);
}

.about-section-note {
  margin: 4px 0 0;
  color: var(--text-faint);
  font-size: 12.5px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-feature-grid li {
  display: grid;
  gap: 6px;
  padding: 16px 17px;
  background: #fffefb;
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(30, 45, 35, 0.06);
}

.about-feature-grid strong {
  color: var(--accent-deep);
  font-size: 14px;
}

.about-feature-grid span {
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.52;
}

/* ---- The client brief, requirement by requirement ---- */

.about-specification {
  max-width: 1180px;
  margin: 0 auto 46px;
}

.about-specification-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-specification-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 16px;
  background: #fffefb;
  border: 1px solid var(--border-muted);
  border-radius: 14px;
}

.about-specification-list strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
}

.about-specification-list p {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.52;
}

.about-specification-status {
  justify-self: start;
  padding: 3px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-specification-status.is-delivered {
  color: #1d5a3d;
  border-color: rgba(29, 90, 61, 0.35);
  background: rgba(29, 90, 61, 0.08);
}

.about-specification-status.is-partly {
  color: var(--accent-gold-ink);
  border-color: rgba(196, 137, 47, 0.42);
  background: rgba(196, 137, 47, 0.1);
}

.about-specification-status.is-next {
  color: var(--text-faint);
  border-color: var(--border-muted);
  background: var(--surface-hover);
}

/* ---- The account card ---- */

.about-account {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.about-account-card {
  padding: 20px;
  background: #fffefb;
  border: 1px solid var(--border-muted);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(30, 45, 35, 0.1);
}

.about-account-card h2 {
  margin: 0 0 4px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-deep);
}

.about-account-note {
  margin: 0 0 12px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.5;
}

.about-account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-muted);
}

.about-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-gold-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-link:hover {
  color: var(--accent-deep);
}

.about-account-aside h2 {
  margin: 0 0 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--accent-deep);
}

.about-account-aside p {
  margin: 0 0 10px;
  max-width: 54ch;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.about-account-aside .about-account-smallprint {
  color: var(--text-faint);
  font-size: 11px;
}

/* The front door's two account links sit under the demo button. */
.landing-signin-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--border-muted);
}

@media (max-width: 1080px) {
  .about-collage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-collage .about-tile-tall {
    grid-column: span 4;
    grid-row: span 44;
  }

  .about-collage .about-tile-wide {
    grid-column: span 4;
    grid-row: span 24;
  }

  .about-collage .about-tile-portrait {
    grid-row: span 46;
  }

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

  .about-specification-list li {
    grid-template-columns: 84px minmax(0, 1fr);
  }

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

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

  .about-collage figure,
  .about-collage .about-tile-tall,
  .about-collage .about-tile-wide,
  .about-collage .about-tile-portrait,
  .about-collage .about-tile-square {
    grid-column: span 2;
  }

  .about-collage .about-tile-tall {
    grid-row: span 40;
  }

  .about-collage .about-tile-portrait {
    grid-row: span 38;
  }

  .about-collage .about-tile-square {
    grid-row: span 34;
  }

  .about-collage .about-tile-wide {
    grid-row: span 22;
  }

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

  .about-specification-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .about-hero {
    margin: 22px auto 22px;
  }
}
