/* ================================================================
   About us — the page where the company stops performing.
   Warmer, rounder and softer than the rest of the site, on purpose.
   ================================================================ */

.about-page {
  --warm: #f4f2ec;          /* a touch warmer than porcelain */
  --paper: #ffffff;
  background: var(--warm);
}

.about-page .topbar { background: color-mix(in srgb, var(--warm) 88%, transparent); }

.about-page .topnav a[aria-current="page"] {
  opacity: 1;
  color: var(--mint-dim);
  font-weight: 600;
}

.ab-section { max-width: 1120px; margin: 0 auto; padding: 4.5rem 2rem; }
.ab-narrow { max-width: 44rem; }

.ab-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--mint-dim);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-page h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.about-page h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.about-page h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.ab-section p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: color-mix(in srgb, var(--ink) 84%, transparent);
  margin-bottom: 1rem;
}

.ab-sub { opacity: 0.72; }

/* ---------------- Hero ---------------- */
.ab-hero { max-width: 1120px; margin: 0 auto; padding: 4.5rem 2rem 1rem; }

.ab-lede {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 40rem;
  margin: 1.4rem 0 0;
  color: color-mix(in srgb, var(--ink) 86%, transparent);
}
.ab-lede em { font-style: normal; color: var(--mint-dim); font-weight: 500; }

.ab-hero-strip {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3.4rem 0 1rem;
}

/* ---------------- Polaroids ---------------- */
.pola {
  background: var(--paper);
  padding: 0.7rem 0.7rem 0;
  border-radius: 18px;                       /* rounded box, as asked */
  box-shadow: 0 10px 30px -14px rgba(16, 35, 56, 0.4),
              0 2px 6px -2px rgba(16, 35, 56, 0.16);
  width: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pola img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #e6e8e3;
}

.pola figcaption {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  text-align: center;
  padding: 0.85rem 0.4rem 0.95rem;
  line-height: 1.4;
}

/* the scattered, pinned-to-the-wall feel */
.pola-a { transform: rotate(-3deg); }
.pola-b { transform: rotate(1.5deg) translateY(-10px); }
.pola-c { transform: rotate(2.5deg); }

.pola:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 22px 44px -16px rgba(16, 35, 56, 0.42),
              0 3px 8px -2px rgba(16, 35, 56, 0.18);
  z-index: 2;
}

/* ---------------- Beliefs ---------------- */
.ab-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
}

.ab-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 1.8rem 1.9rem;
  border: 1px solid rgba(16, 35, 56, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -20px rgba(16, 35, 56, 0.4);
}

.ab-emoji { font-size: 1.5rem; display: block; margin-bottom: 0.9rem; }
.ab-card p { font-size: 0.94rem; margin: 0; }

/* ---------------- Polaroid wall ---------------- */
.ab-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 1.4rem;
  justify-items: center;
  margin-top: 2.6rem;
}

.ab-wall .pola { width: 100%; max-width: 300px; }
.ab-wall .pola:nth-child(odd)  { transform: rotate(-1.8deg); }
.ab-wall .pola:nth-child(even) { transform: rotate(1.6deg); }
.ab-wall .pola:nth-child(3n)   { transform: rotate(0.8deg) translateY(8px); }
.ab-wall .pola:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); }

/* the hand-written note pinned among the photos */
.pola-note { display: flex; flex-direction: column; }
.pola-text {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(160deg, #eef7f4, #dff0ea);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.6rem;
}
.pola-text p {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.pola-text p:first-child::before { content: "“"; color: var(--mint-dim); }
.pola-text p:last-child::after { content: "”"; color: var(--mint-dim); }

/* ---------------- Numbers ---------------- */
.ab-numbers-wrap { padding-top: 1rem; }

.ab-numbers {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.4rem;
}

.ab-numbers li {
  background: var(--paper);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid rgba(16, 35, 56, 0.07);
}
.ab-numbers strong {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.ab-numbers span { font-size: 0.86rem; font-weight: 300; opacity: 0.7; }

/* ---------------- CTA ---------------- */
.ab-cta { padding-bottom: 5.5rem; }
.ab-cta .ab-narrow {
  background: var(--paper);
  border-radius: 22px;
  padding: 2.8rem 3rem;
  max-width: 46rem;
  border: 1px solid rgba(16, 35, 56, 0.07);
}
.ab-cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.ab-cta .btn { border-radius: 999px; }
.ab-ps {
  margin-top: 1.6rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  opacity: 0.45;
}

/* ---------------- Hiring call-out ---------------- */
.ab-hiring { max-width: 1120px; margin: 0 auto; padding: 0 2rem 1rem; }

.ab-hiring-inner {
  background: linear-gradient(150deg, #eef7f4, #dff0ea);
  border: 1px solid rgba(79, 185, 161, 0.35);
  border-radius: 22px;
  padding: 2.4rem 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.ab-hiring h2 { margin-bottom: 0.5rem; }
.ab-hiring p { margin: 0; max-width: 34rem; }
.ab-hiring .btn { border-radius: 999px; white-space: nowrap; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .ab-wall { grid-template-columns: repeat(2, 1fr); }
  .ab-numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ab-section, .ab-hero, .ab-hiring { padding-left: 1.4rem; padding-right: 1.4rem; }
  .ab-cards, .ab-wall, .ab-numbers { grid-template-columns: 1fr; }
  .ab-cta .ab-narrow { padding: 2rem 1.5rem; }
  .ab-hiring-inner { padding: 1.8rem 1.5rem; }
  .pola, .ab-wall .pola { width: 100%; max-width: 340px; }
  .pola-a, .pola-b, .pola-c { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pola, .ab-card { transition: none; }
}
