/* ProjectBob.xyz - About page */

:root {
  --about-bone: #fbfaf5;
  --about-paper: #fffdf8;
  --about-cream: #f1eee5;
  --about-ink: #171713;
  --about-muted: #5e625a;
  --about-soft: #8d9187;
  --about-clay: #b96f52;
  --about-clay-dark: #89513e;
  --about-sea: #256d8e;
  --about-teal: #2f8f7b;
  --about-signal: #d7a83d;
  --about-line: rgba(23,23,19,0.1);
  --about-shadow: 0 1px 2px rgba(23,23,19,0.04), 0 6px 16px rgba(23,23,19,0.06), 0 22px 48px rgba(23,23,19,0.07);
  --about-soft-shadow: 0 1px 2px rgba(23,23,19,0.04), 0 10px 28px rgba(23,23,19,0.06);
  --about-font-serif: 'Fraunces', Georgia, serif;
  --about-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --about-font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

body {
  background: var(--about-bone);
}

.about-page {
  padding-top: var(--nav-height);
  background: var(--about-bone);
  color: var(--about-ink);
  font-family: var(--about-font-sans);
  letter-spacing: 0;
  overflow: hidden;
}

.about-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.about-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--about-clay);
  text-transform: uppercase;
  letter-spacing: 0;
}

.about-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height) - 72px);
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(90deg, rgba(12,23,28,0.86) 0%, rgba(12,23,28,0.64) 45%, rgba(12,23,28,0.22) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(251,250,245,0) 0%, var(--about-bone) 100%);
  z-index: -1;
}

.about-hero-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  align-items: end;
}

.about-hero-copy {
  max-width: 760px;
  color: #fffdf8;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}

.about-hero h1 {
  margin: 0;
  font-family: var(--about-font-serif);
  font-size: 5.2rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  font-variation-settings: 'opsz' 120;
}

.about-hero-deck {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.24rem;
  line-height: 1.58;
  color: rgba(255,253,248,0.92);
}

.about-hero-note {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255,253,248,0.76);
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.about-btn:hover {
  transform: translateY(-1px);
}

.about-btn-primary {
  background: var(--about-clay);
  color: #fff;
  box-shadow: 0 1px 2px rgba(137,81,62,0.24), 0 8px 20px rgba(137,81,62,0.28);
}

.about-btn-primary:hover {
  background: var(--about-clay-dark);
  color: #fff;
}

.about-btn-secondary {
  background: rgba(255,253,248,0.14);
  color: #fffdf8;
  border-color: rgba(255,253,248,0.34);
  backdrop-filter: blur(12px);
}

.about-btn-secondary:hover {
  background: rgba(255,253,248,0.22);
  color: #fff;
}

.about-stat-strip {
  width: min(1040px, calc(100% - 40px));
  margin: -34px auto 44px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.about-stat {
  min-height: 112px;
  padding: 22px;
  border-radius: 8px;
  background: var(--about-paper);
  border: 1px solid var(--about-line);
  box-shadow: var(--about-soft-shadow);
}

.about-stat dt {
  font-family: var(--about-font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--about-ink);
}

.about-stat dd {
  margin-top: 8px;
  color: var(--about-muted);
  font-size: 0.88rem;
}

.about-section {
  padding: 78px 0;
}

.about-section-header {
  max-width: 740px;
}

.about-section-header h2,
.about-final h2 {
  margin: 0;
  font-family: var(--about-font-serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--about-ink);
  font-variation-settings: 'opsz' 90;
}

.about-section-lead {
  margin: 18px 0 0;
  color: var(--about-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.about-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.about-system-card,
.about-why-card,
.about-timeline-item,
.about-maker-card {
  border-radius: 8px;
  background: var(--about-paper);
  border: 1px solid var(--about-line);
  box-shadow: 0 1px 2px rgba(23,23,19,0.03);
}

.about-system-card {
  padding: 22px;
  min-height: 170px;
}

.about-system-card h3,
.about-why-card h3,
.about-timeline-body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--about-ink);
}

.about-system-card p,
.about-why-card p,
.about-timeline-body p,
.about-maker-copy p,
.about-maker-card p,
.about-final p {
  margin: 12px 0 0;
  color: var(--about-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.about-mission-plot {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  border-radius: 8px;
  background: #eef4f1;
  border: 1px solid var(--about-line);
  box-shadow: var(--about-shadow);
  overflow: hidden;
}

.about-mission-plot svg {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  background:
    linear-gradient(135deg, rgba(37,109,142,0.08) 0%, rgba(47,143,123,0.09) 50%, rgba(215,168,61,0.08) 100%),
    #f7f6ef;
}

.about-map-land {
  fill: rgba(23,23,19,0.1);
  stroke: rgba(23,23,19,0.2);
  stroke-width: 0.7;
}

.about-map-grid {
  fill: none;
  stroke: rgba(37,109,142,0.13);
  stroke-width: 0.45;
}

.about-route-line {
  fill: none;
  stroke: var(--about-sea);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 7 4;
  animation: aboutRoute 8s linear infinite;
}

.about-route-boat {
  fill: var(--about-clay);
  stroke: #fffdf8;
  stroke-width: 1.2;
  animation: aboutBoatPulse 2.4s ease-in-out infinite;
}

.about-route-point circle {
  fill: var(--about-paper);
  stroke: var(--about-sea);
  stroke-width: 0.9;
}

.about-route-point text {
  font-family: var(--about-font-mono);
  font-size: 3.2px;
  fill: var(--about-muted);
}

.about-plot-caption {
  padding: 16px 18px 18px;
  color: var(--about-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  border-top: 1px solid var(--about-line);
}

.about-plot-caption strong {
  color: var(--about-ink);
}

.about-image-ribbon {
  width: min(1280px, calc(100% - 40px));
  margin: 14px auto 38px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 14px;
}

.about-photo {
  position: relative;
  min-height: 410px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--about-cream);
  border: 1px solid var(--about-line);
  box-shadow: var(--about-soft-shadow);
}

.about-photo-large {
  min-height: 480px;
}

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

.about-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(23,23,19,0.68);
  color: #fffdf8;
  font-size: 0.88rem;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}

.about-journey {
  background: var(--about-paper);
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
}

.about-timeline {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}

.about-timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 22px;
  position: relative;
}

.about-timeline-index {
  font-family: var(--about-font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--about-clay);
}

.about-timeline-label {
  margin: 0 0 6px !important;
  color: var(--about-sea) !important;
  font-family: var(--about-font-mono);
  font-size: 0.76rem !important;
  font-weight: 700;
  text-transform: uppercase;
}

.about-maker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: start;
}

.about-maker-copy {
  max-width: 760px;
}

.about-maker-card {
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.about-maker-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--about-line);
}

.about-maker-card blockquote {
  margin: 22px 0 0;
  font-family: var(--about-font-serif);
  font-size: 1.55rem;
  line-height: 1.28;
  color: var(--about-ink);
}

.about-why {
  padding-top: 40px;
}

.about-why-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-why-card {
  min-height: 240px;
  padding: 24px;
}

.about-why-card:nth-child(1) {
  border-top: 4px solid var(--about-clay);
}

.about-why-card:nth-child(2) {
  border-top: 4px solid var(--about-sea);
}

.about-why-card:nth-child(3) {
  border-top: 4px solid var(--about-teal);
}

.about-why-card:nth-child(4) {
  border-top: 4px solid var(--about-signal);
}

.about-final {
  margin-top: 24px;
  padding: 86px 0 96px;
  background: #171713;
  color: #fffdf8;
}

.about-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.about-final h2 {
  color: #fffdf8;
}

.about-final p {
  color: rgba(255,253,248,0.72);
  max-width: 620px;
}

.about-final .about-btn-secondary {
  color: #fffdf8;
}

.about-noscript {
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 24px;
}

.about-noscript h1 {
  font-family: Georgia, serif;
  font-size: 3rem;
  margin-bottom: 16px;
}

@keyframes aboutRoute {
  to { stroke-dashoffset: -44; }
}

@keyframes aboutBoatPulse {
  0%, 100% { transform: scale(1); transform-origin: 16px 29px; }
  50% { transform: scale(1.55); transform-origin: 16px 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-route-line,
  .about-route-boat {
    animation: none;
  }

  .about-btn {
    transition: none;
  }
}

@media (max-width: 1020px) {
  .about-hero-shell,
  .about-split,
  .about-maker-grid,
  .about-final-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-shell {
    padding: 70px 0 70px;
  }

  .about-mission-plot,
  .about-maker-card {
    position: static;
  }

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

  .about-image-ribbon {
    grid-template-columns: 1fr;
  }

  .about-photo,
  .about-photo-large {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .about-container,
  .about-hero-shell,
  .about-image-ribbon,
  .about-stat-strip {
    width: min(100% - 28px, 1180px);
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero h1 {
    font-size: 3.25rem;
  }

  .about-hero-deck {
    font-size: 1.05rem;
  }

  .about-stat-strip,
  .about-system-grid,
  .about-why-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-strip {
    margin-top: 14px;
  }

  .about-section {
    padding: 58px 0;
  }

  .about-section-header h2,
  .about-final h2 {
    font-size: 2.25rem;
  }

  .about-timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-photo,
  .about-photo-large {
    min-height: 290px;
  }

  .about-actions-final {
    margin-top: 10px;
  }
}

@media (max-width: 440px) {
  .about-hero-shell {
    padding: 54px 0 48px;
  }

  .about-hero h1 {
    font-size: 2.72rem;
  }

  .about-actions {
    width: 100%;
  }

  .about-btn {
    width: 100%;
  }

}
