/* =========================================================================
   ABOUT PAGE (about.php). Builds on css/styles.css tokens.
   ========================================================================= */
.ab-wrap { max-width: var(--maxw); margin: 0 auto; }
.ab-h2 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .92;
  font-size: clamp(2.4rem, 5.2vw, 4rem); color: var(--ink-900);
}

/* ---------------------------------------------------------------- Hero ---- */
.ab-hero { padding-bottom: clamp(4rem, 9vw, 7rem); }
.ab-hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.ab-hero h1 { max-width: 11ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.ab-hero .lead { max-width: 38ch; }

/* Real work framed by the shapes of our mark: the circle, the quarter and the mint dot */
.ab-shapes { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: center; }
.ab-shape { position: absolute; margin: 0; overflow: hidden; background: var(--ink-800); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .65); animation: ab-pop .9s var(--ease) backwards; }
.ab-shape img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-shape--circle  { left: 0; top: 14%; width: 70%; aspect-ratio: 1; border-radius: 50%; animation-delay: .1s; }
.ab-shape--quarter { right: 2%; top: 0; width: 40%; aspect-ratio: 1; border-radius: 0 100% 0 0; animation-delay: .25s; }
.ab-shape--square  { right: 0; bottom: 2%; width: 38%; aspect-ratio: 1; border-radius: var(--radius); animation-delay: .4s; }
.ab-shape--dot     { left: 52%; top: 60%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55); z-index: 2; animation-delay: .55s; }
@keyframes ab-pop { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- Story + ticket ---- */
.ab-story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.ab-story-copy { display: grid; gap: 1.15rem; max-width: 62ch; }
.ab-story-copy .ab-h2 { margin-bottom: .6rem; }
.ab-story-copy p { font-size: 1.07rem; line-height: 1.68; color: rgba(62, 67, 73, .9); }
.ab-story-copy .ab-lead { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--ink-900); }

.ab-ticket { position: sticky; top: 7rem; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -34px rgba(42, 46, 51, .45), 0 0 0 1px rgba(62, 67, 73, .07); }
.ab-ticket-body { padding: 1.5rem 1.6rem 1.7rem; }
.ab-ticket h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink-900); }
.ab-ticket dl { margin: 1rem 0 1.6rem; }
.ab-ticket dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1.5px dashed rgba(62, 67, 73, .18); }
.ab-ticket dt { font-family: var(--font-head); font-size: .92rem; color: rgba(62, 67, 73, .62); }
.ab-ticket dd { font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.4; color: var(--ink-900); }

/* ---------------------------------------------------------------- Mosaic ---- */
.ab-work { background: var(--ink-900); color: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-left: 0; padding-right: 0; }
.ab-work .ab-h2 { color: var(--paper); }
.ab-work-head {
  padding: 0 var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.4rem 2rem;
}
.ab-work-head p { margin-top: .9rem; font-size: 1.07rem; color: rgba(238, 237, 236, .7); }
.ab-mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 0 6px;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
          mask-image: linear-gradient(to bottom, #000 65%, transparent);
}
.ab-mosaic li { aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--ink-800); }
.ab-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .92; }

/* ------------------------------------------------------ Who we work with ---- */
.ab-who { background: var(--mint); color: var(--ink-900); }
.ab-who-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.ab-who-line {
  margin-top: 1.2rem; max-width: 24ch; text-wrap: balance;
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}
.ab-who-foot { margin-top: 1.8rem; max-width: 60ch; font-size: 1.07rem; }
.ab-who-foot a { font-family: var(--font-head); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.ab-who-foot a:hover { text-decoration-color: var(--ink-900); opacity: .8; }

/* ---------------------------------------------------------- How we roll ---- */
.ab-values-intro { margin-top: 1rem; font-size: 1.07rem; color: rgba(62, 67, 73, .85); }
.ab-values-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 3.5vw, 2.8rem) clamp(2rem, 5vw, 4.5rem); }
.ab-values-grid li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; padding-top: 1.4rem; border-top: 2px solid rgba(62, 67, 73, .16); }
.ab-values-grid i { grid-row: span 2; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink-900); color: var(--mint); font-size: 1.2rem; }
.ab-values-grid h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; color: var(--ink-900); align-self: center; }
.ab-values-grid p { margin-top: .5rem; line-height: 1.6; color: rgba(62, 67, 73, .85); }

/* ---------------------------------------------------------- Responsive ---- */
@media (max-width: 980px) {
  .ab-hero-inner, .ab-story-grid { grid-template-columns: 1fr; }
  .ab-shapes { width: min(86%, 420px); }
  .ab-ticket { position: static; }
  .ab-mosaic { grid-template-columns: repeat(8, 1fr); }
  .ab-mosaic li:nth-child(n+57) { display: none; }    /* 8 × 7 */
}
@media (max-width: 640px) {
  .ab-values-grid { grid-template-columns: 1fr; }
  .ab-mosaic { grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 0 4px; }
  .ab-mosaic li:nth-child(n+43) { display: none; }    /* 6 × 7 */
  .ab-ticket dl div { grid-template-columns: 1fr; gap: .15rem; }
}
