/* About us page (about.html, handwritten; about-tr.html by tools/make_tr.py).
   Shared tokens and components live in styles.css. */

.about h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; margin: 0 0 32px; }
.about .kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 8px; }
.ab-block { padding-top: 72px; padding-bottom: 72px; }
.ab-soft { background: var(--bg-soft); }
.about .custom-band { margin-top: 0; }
.band-sub { display: block; font-size: 15px; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.ab-outfit, .ab-stats-grid strong, .ab-timeline strong, .ab-values li { font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

/* top: who we are, beside the three cans */
.ab-top-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.ab-top h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin: 0 0 16px; }
.ab-top .lede { font-size: 20px; max-width: 46ch; color: var(--ink); }
.ab-text { font-size: 16px; color: var(--ink-2); max-width: 58ch; margin-top: 16px; }
.ab-photo { width: 100%; max-height: 500px; object-fit: contain; display: block; }

/* numbers, as on the home page */
.ab-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* 1991 left out (the user, 2026-12-01) */
.ab-stats-grid div { padding: 28px 0 28px 24px; border-left: 1px solid var(--line); }
.ab-stats-grid div:first-child { border-left: 0; padding-left: 0; }
.ab-stats-grid strong { display: block; font-size: 36px; line-height: 1.1; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
.ab-stats-grid span { font-size: 14px; color: var(--ink-2); }

/* the two factories: four photographs, two to a row */
.about h2 + .ab-intro { margin-top: -16px; }
.ab-intro { font-size: 17px; color: var(--ink-2); max-width: 62ch; margin-bottom: 28px; }
.ab-factories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-factories figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.ab-factories img { width: 100%; height: 100%; aspect-ratio: 5 / 3; object-fit: cover; display: block; }
.ab-factories figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 14px; font-size: 14px; line-height: 1.3; }
.ab-factories figcaption strong { font-weight: 600; }
.ab-factories figcaption span { color: rgba(255, 255, 255, .82); }

/* story: nine years on a line, three to a row */
.ab-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 0; }
.ab-timeline li { position: relative; border-top: 2px solid var(--navy); padding: 22px 24px 0 0; }
.ab-timeline li::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--bg-soft); }
.ab-timeline li:nth-child(even) { border-color: var(--green); }
.ab-timeline li:nth-child(even)::before { background: var(--green); }
.ab-timeline strong { display: block; font-size: 34px; line-height: 1.1; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.ab-timeline li:nth-child(even) strong { color: #4aa000; }
.ab-timeline p { font-size: 16px; color: var(--ink-2); margin-top: 6px; max-width: 30ch; }

/* vision and mission */
.ab-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-panel { background: var(--bg-soft); border-radius: 16px; padding: 32px; }
.ab-quote { font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 21px; line-height: 1.45; font-weight: 500; color: var(--navy); margin-top: 6px; }

/* values */
.ab-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ab-values li { border: 1px solid var(--line); border-radius: 14px; padding: 26px 14px 24px; font-size: 19px; line-height: 1.25; font-weight: 600; color: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
/* the icons: tools/build_about_icons.py draws them, 256 px PNGs with a clear background */
.ab-values img { width: 88px; height: 88px; display: block; }

/* where we are */
.ab-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ab-where h2 { margin-bottom: 0; }
.ab-contact { font-size: 17px; color: var(--ink-2); display: grid; gap: 14px; }
.ab-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.ab-contact a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .ab-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ab-block { padding-top: 48px; padding-bottom: 48px; }
  .about h2 { margin-bottom: 24px; }
  .ab-top-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .ab-top .lede { font-size: 18px; }
  .ab-photo { max-height: 300px; }
  .ab-stats-grid div { padding: 20px 0 20px 16px; }
  .ab-stats-grid div:first-child { padding-left: 0; }
  .ab-stats-grid strong { font-size: 24px; }
  .ab-stats-grid span { font-size: 13px; }
  /* the story runs down the page on one line */
  .ab-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ab-timeline li { border-top: 0; border-left: 2px solid var(--navy); padding: 0 0 26px 22px; }
  .ab-timeline li::before { left: -8px; top: 6px; }
  .ab-timeline li:last-child { padding-bottom: 0; }
  .ab-timeline strong { font-size: 26px; }
  .ab-timeline p { max-width: none; }
  .ab-duo, .ab-where, .ab-factories { grid-template-columns: minmax(0, 1fr); }
  .ab-factories figcaption { left: 10px; bottom: 10px; font-size: 13px; padding: 6px 11px; gap: 0 6px; }
  .ab-intro { font-size: 16px; margin-bottom: 20px; }
  .ab-panel { padding: 24px 20px; }
  .ab-quote { font-size: 18px; }
  .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-values li { font-size: 17px; gap: 14px; padding: 20px 10px; }
  .ab-values img { width: 72px; height: 72px; }
}
