/* ============================================================================
 * site-about.css — the Company / About internal page (photo-first rebuild).
 * A full-bleed team band, an editorial era timeline, a founder-quote moment,
 * a recognition logo strip, a principles grid and a culture band. Built on the
 * flat-white + dark-editorial system from the Nama Design System — no new
 * colors, radii or shadows beyond the shared sheets.
 * ========================================================================== */

/* ── full-bleed team band — the human anchor, right under the hero ──────── */
.s-team { position: relative; background: var(--ink); overflow: hidden; }
.s-team .tb-img {
  display: block; width: 100%; height: min(66vh, 660px);
  object-fit: cover; object-position: center 42%;
}
.s-team .tb-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,9,15,0.34) 0%, rgba(6,9,15,0) 22%, rgba(6,9,15,0) 46%, rgba(6,9,15,0.88) 100%);
}
.s-team .tb-cap { position: absolute; left: 0; right: 0; bottom: 0; }
.s-team .tb-cap .wrap { max-width: 1248px; margin: 0 auto; padding: 0 48px 52px; }
.s-team .tb-lab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-300); margin-bottom: 14px;
}
.s-team .tb-h {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.18; font-weight: 500;
  letter-spacing: -0.008em; color: #F4F8FF; margin: 0; max-width: 720px; text-wrap: balance;
}
.s-team .tb-sub {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: #A9B7CE; margin: 16px 0 0;
}

/* ── era timeline — bolder, cleaner, no logo clutter ────────────────────── */
.s-timeline .ab-tl { margin-top: 14px; }
.s-timeline .ab-era {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 52px;
}
.s-timeline .ab-yrs { text-align: right; padding-top: 2px; }
.s-timeline .ab-yrs .yr {
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em; color: #006ADF; display: block;
}
.s-timeline .ab-era.hi .ab-yrs .yr { color: #2684FF; }
.s-timeline .ab-yrs .era-n {
  display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #AEB2BD; font-weight: 700; margin-top: 8px;
}
.s-timeline .ab-body {
  position: relative; border-left: 1.5px solid #E4E4E7;
  padding: 0 0 54px 44px;
}
.s-timeline .ab-era:last-child .ab-body { padding-bottom: 0; }
.s-timeline .ab-body::before {
  content: ''; position: absolute; left: -8px; top: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #FFFFFF; border: 2.5px solid #B9C7DC; box-sizing: border-box;
}
.s-timeline .ab-era.hi .ab-body::before {
  border-color: #2684FF; background: #2684FF;
  box-shadow: 0 0 0 5px rgba(38,132,255,0.14);
}
.s-timeline .ab-era-t { font-size: 23px; font-weight: 600; color: #0B1220; margin: 0 0 5px; letter-spacing: -0.014em; }
.s-timeline .ab-era.hi .ab-era-t { color: #006ADF; }
.s-timeline .ab-era-sub { font-size: 15px; line-height: 1.5; color: #71717A; margin: 0 0 26px; max-width: 580px; text-wrap: pretty; }

.s-timeline .ab-ms { padding-bottom: 20px; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 22px; }
.s-timeline .ab-ms:last-of-type { padding-bottom: 0; }
.s-timeline .ab-ms .d {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em;
  text-transform: uppercase; color: #9CA1AB; font-weight: 600; padding-top: 2px; text-align: right;
}
.s-timeline .ab-ms .mtx .h { font-size: 15.5px; font-weight: 600; color: #1F2937; }
.s-timeline .ab-ms .mtx p { font-size: 14px; line-height: 1.55; color: #52525B; margin: 4px 0 0; max-width: 560px; text-wrap: pretty; }
/* discreet per-era logo footnote (clients won that period) */
.s-timeline .ab-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid #E4E4E7; }
.s-timeline .ab-foot .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #9CA1AB; font-weight: 600; }
.s-timeline .ab-foot .fl { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.s-timeline .ab-foot img { height: 26px; width: auto; filter: grayscale(1); opacity: 0.5; }

/* ── founder-quote moment (dark) ────────────────────────────────────────── */
.s-founder { background: var(--ink-2); color: #EAF0FA; position: relative; overflow: hidden; }
.s-founder::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 12% 30%, rgba(38,132,255,0.12) 0%, transparent 62%);
}
.s-founder .wrap {
  position: relative; z-index: 1; max-width: 1248px; margin: 0 auto; padding: 100px 48px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr); gap: 68px; align-items: center;
}
.s-founder .fq-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-300); margin-bottom: 22px;
}
.s-founder blockquote { margin: 0; }
.s-founder blockquote p {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(23px, 2.5vw, 34px); line-height: 1.34; font-weight: 500;
  letter-spacing: -0.006em; color: #F4F8FF; margin: 0 0 30px; text-wrap: balance;
}
.s-founder blockquote p .hl { color: #589DFF; }
.s-founder .fq-by { display: flex; flex-direction: column; gap: 3px; }
.s-founder .fq-by b { font-size: 15.5px; font-weight: 600; color: #F4F8FF; }
.s-founder .fq-by span { font-size: 12px; letter-spacing: 0.02em; color: #8FA0BC; }
.s-founder .fq-media {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(159,176,199,0.16); box-shadow: 0 30px 64px -30px rgba(0,0,0,0.7);
  text-decoration: none;
}
.s-founder .fq-media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 66% 30%; display: block;
}
.s-founder .fq-media .play {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  background: rgba(10,15,26,0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(159,176,199,0.24);
}
.s-founder .fq-media .play .pd {
  width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none;
}
.s-founder .fq-media .play .pd svg { width: 13px; height: 13px; color: #06090F; margin-left: 2px; }
.s-founder .fq-media .play .pt { display: flex; flex-direction: column; line-height: 1.25; }
.s-founder .fq-media .play .pt b { font-size: 12.5px; font-weight: 600; color: #F4F8FF; }
.s-founder .fq-media .play .pt span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #A9B7CE; }
.s-founder .fq-media:hover .play .pd { transform: scale(1.06); transition: transform .15s ease; }

/* ── recognition logo strip ─────────────────────────────────────────────── */
.s-recog .wrap { padding: 68px 48px; }
.s-recog .rc-lab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #9CA1AB; margin-bottom: 28px;
}
.s-recog .rc-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 52px; }
.s-recog .rc-logos img {
  filter: grayscale(1); opacity: 0.52; transition: opacity .2s ease, filter .2s ease;
}
.s-recog .rc-logos img:hover { opacity: 1; filter: none; }
.s-recog .rc-logos .gfs { height: 30px; }
.s-recog .rc-logos .gcloud { height: 26px; }
.s-recog .rc-logos .gai { height: 30px; }
.s-recog .rc-logos .forbes { height: 40px; }
.s-recog .rc-logos .cdl { height: 30px; }
.s-recog .rc-group + .rc-group { margin-top: 42px; padding-top: 38px; border-top: 1px solid #EEF0F4; }
.s-recog .rc-logos.clients { gap: 36px 48px; }
.s-recog .rc-logos.clients img { height: 28px; }
.s-recog .rc-logos.clients img.pad { height: 48px; }
.s-recog .rc-logos.clients img.poupex { height: 24px; }

/* ── photo gallery — a decade in the room ──────────────────────────────── */
.s-gallery .gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 232px; gap: 12px; margin-top: 14px; }
.s-gallery figure {
  position: relative; margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid #E4E4E7; background: #EAECEF;
}
.s-gallery figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.s-gallery figure:hover img { transform: scale(1.035); }
.s-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; line-height: 1.35;
  color: #EAF0FA; background: linear-gradient(180deg, transparent, rgba(6,9,15,0.86)); text-wrap: pretty;
}
.s-gallery .g-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.s-gallery .g-b { grid-column: 3 / 5; grid-row: 1 / 3; }
.s-gallery .g-c { grid-column: 1; grid-row: 3 / 5; }
.s-gallery .g-d { grid-column: 2; grid-row: 3; }
.s-gallery .g-e { grid-column: 2; grid-row: 4; }
.s-gallery .g-f { grid-column: 3 / 5; grid-row: 3; }
.s-gallery .g-g { grid-column: 3 / 5; grid-row: 4; }
.s-gallery .g-d img { object-position: 28% center; }

/* ── principles grid ────────────────────────────────────────────────────── */
.s-principles .pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.s-principles .pr {
  background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s-principles .pr:hover { border-color: #A6CBFF; box-shadow: 0 12px 32px -18px rgba(15,23,42,0.16); }
.s-principles .pr .ic {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600);
}
.s-principles .pr .ic svg { width: 21px; height: 21px; }
.s-principles .pr h3 { font-size: 17px; font-weight: 600; color: #0B1220; margin: 0; letter-spacing: -0.005em; }
.s-principles .pr p { font-size: 14px; line-height: 1.55; color: #52525B; margin: 0; text-wrap: pretty; }

/* ── culture / how we work ──────────────────────────────────────────────── */
.s-culture .cul-tenets { list-style: none; margin: 40px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.s-culture .cul-tenets li { border-top: 1px solid #E4E4E7; padding-top: 18px; }
.s-culture .cul-tenets li .ct-h { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; color: #0B1220; margin-bottom: 6px; }
.s-culture .cul-tenets li .ct-h svg { color: #2684FF; flex: none; width: 18px; height: 18px; }
.s-culture .cul-tenets li p { font-size: 14px; line-height: 1.55; color: #52525B; margin: 0; text-wrap: pretty; }
.s-culture .cul-cta {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 15px; font-weight: 600; color: #006ADF;
}
.s-culture .cul-cta svg { width: 16px; height: 16px; transition: transform .15s ease; }
.s-culture .cul-cta:hover svg { transform: translateX(3px); }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .s-team .tb-img { height: 52vh; }
  .s-team .tb-cap .wrap { padding: 0 24px 36px; }
  .s-timeline .ab-era { grid-template-columns: 92px minmax(0, 1fr); gap: 22px; }
  .s-timeline .ab-body { padding-left: 26px; padding-bottom: 44px; }
  .s-timeline .ab-ms { grid-template-columns: 1fr; gap: 3px; }
  .s-timeline .ab-ms .d { text-align: left; padding-top: 0; }
  .s-founder .wrap { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
  .s-founder .fq-media { order: -1; }
  .s-principles .pr-grid { grid-template-columns: 1fr; }
  .s-culture .cul-tenets { grid-template-columns: 1fr; gap: 20px; }
  .s-gallery .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .s-gallery figure { grid-column: auto !important; grid-row: auto !important; }
  .s-gallery .g-a, .s-gallery .g-b, .s-gallery .g-f, .s-gallery .g-g { grid-column: 1 / 3 !important; }
  .s-gallery .g-c { grid-row: span 2 !important; }
}
@media (max-width: 560px) {
  .s-gallery .gal { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .s-gallery figure { grid-column: auto !important; grid-row: auto !important; }
}
