/* ==========================================================================
   about.css — About page only. Classes are namespaced `ab-`.
   Uses the global tokens from styles.css (:root).
   Motif: the logo badge — navy disc with a gold ring.
   ========================================================================== */

.ab-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.ab-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ab-label::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.ab-label--light { color: var(--accent); }

.ab-story h2, .ab-how h2, .ab-team h2, .ab-brands h2, .ab-cta h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; color: var(--dark);
}

/* --- Buttons --------------------------------------------------------------- */
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn--solid { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(27,58,92,.6); }
.ab-btn--solid:hover { background: var(--primary-dark); }
.ab-btn--line { color: var(--primary); border-color: rgba(27,58,92,.28); background: rgba(255,255,255,.6); }
.ab-btn--line:hover { border-color: var(--primary); background: #fff; }
.ab-btn--gold { background: var(--accent); color: var(--dark); }
.ab-btn--gold:hover { background: #fff; }
.ab-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.ab-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* --- Hero ------------------------------------------------------------------ */
.ab-hero {
  position: relative; overflow: hidden;
  padding: 140px 0 120px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,154,59,.12), transparent 40%),
    linear-gradient(160deg, #F5F1E8 0%, #FAF7F0 55%, var(--bg-alt) 100%);
}
.ab-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.ab-kicker {
  display: inline-block; font-size: .85rem; font-weight: 600; color: var(--primary);
  padding: 7px 14px; border-radius: 50px; background: rgba(27,58,92,.07); border: 1px solid rgba(27,58,92,.14);
  margin-bottom: 22px;
}
.ab-hero h1 {
  position: relative; isolation: isolate;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em;
  color: var(--dark); margin-bottom: 22px;
}
.ab-hero h1 em {
  font-style: normal; color: var(--primary); position: relative; white-space: nowrap;
}
.ab-hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em;
  background: var(--accent); border-radius: 4px; z-index: -1; opacity: .85;
  transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) .5s;
}
.ab-ready .ab-hero h1 em::after { transform: scaleX(1); }
.ab-lede { font-size: 1.12rem; line-height: 1.7; color: var(--mid); max-width: 54ch; margin-bottom: 32px; }

/* Collage */
.ab-collage { position: relative; height: 520px; }
.ab-ring {
  position: absolute; width: 440px; height: 440px; right: -40px; top: 30px; border-radius: 50%;
  border: 2px dashed rgba(201,154,59,.55);
  animation: ab-spin 60s linear infinite;
}
.ab-ring::after {
  content: ''; position: absolute; inset: 34px; border-radius: 50%; border: 1px solid rgba(27,58,92,.12);
}
.ab-shot { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-alt); }
.ab-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-shot--main {
  width: 64%; height: 470px; left: 4%; top: 0;
  box-shadow: 0 30px 60px -24px rgba(20,33,61,.45);
}
.ab-shot--side {
  width: 52%; height: 230px; right: 0; bottom: 0;
  border: 6px solid #FAF7F0; box-shadow: 0 24px 48px -20px rgba(20,33,61,.45);
}
.ab-seal {
  position: absolute; left: -6px; bottom: 40px; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 60px; background: #fff;
  box-shadow: 0 18px 40px -16px rgba(20,33,61,.35);
  font-size: .85rem; font-weight: 600; line-height: 1.25; color: var(--dark);
}
.ab-seal img { width: 52px; height: 52px; border-radius: 14px; }

/* --- Stats ----------------------------------------------------------------- */
.ab-stats-wrap { position: relative; z-index: 2; margin-top: -64px; }
.ab-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--dark); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,33,61,.6);
  border-bottom: 4px solid var(--accent);
}
.ab-stats > div { padding: 30px 28px; position: relative; }
.ab-stats > div + div::before {
  content: ''; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: rgba(255,255,255,.12);
}
.ab-stats dt { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.ab-stats dd {
  margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.3rem; color: #fff;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px;
}
.ab-stats dd small { font-size: 1rem; color: var(--accent); font-weight: 600; }

/* --- Story ----------------------------------------------------------------- */
.ab-story { padding: 110px 0 100px; }
.ab-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.ab-story-head { position: sticky; top: 110px; }
.ab-story-head > p:not(.ab-label) { margin-top: 18px; font-size: 1.05rem; line-height: 1.7; color: var(--mid); max-width: 44ch; }
.ab-story-photo {
  margin: 32px 0 0; width: 78%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 50px -26px rgba(20,33,61,.5); position: relative;
}
.ab-story-photo::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20,33,61,.08);
}
.ab-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ab-timeline { list-style: none; margin: 0; padding: 8px 0 0 0; position: relative; }
.ab-timeline::before {
  content: ''; position: absolute; left: 21px; top: 14px; bottom: 14px; width: 2px; background: rgba(27,58,92,.12);
}
.ab-timeline::after {
  content: ''; position: absolute; left: 21px; top: 14px; width: 2px; height: var(--ab-progress, 0%);
  max-height: calc(100% - 28px); background: var(--accent); transition: height .15s linear;
}
.ab-timeline li { position: relative; padding: 0 0 44px 72px; }
.ab-timeline li:last-child { padding-bottom: 0; }
.ab-timeline li::before {
  content: ''; position: absolute; left: 8px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent);
  z-index: 1;
}
.ab-tl-year {
  display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem;
  color: var(--accent); margin-bottom: 6px;
}
.ab-timeline h3 { font-size: 1.35rem; color: var(--dark); margin-bottom: 8px; }
.ab-timeline p { color: var(--mid); line-height: 1.7; max-width: 52ch; }

/* --- How we work ----------------------------------------------------------- */
.ab-how {
  position: relative; overflow: hidden; padding: 100px 0;
  background: linear-gradient(150deg, var(--primary) 0%, var(--dark) 100%);
}
.ab-how::before {
  content: ''; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -320px; border-radius: 50%;
  border: 2px solid rgba(201,154,59,.25); box-shadow: inset 0 0 0 60px rgba(255,255,255,.02);
}
.ab-how-head { max-width: 640px; margin-bottom: 52px; position: relative; }
.ab-how h2 { color: #fff; }
.ab-how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ab-how-item {
  padding: 28px 24px 30px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.ab-how-item:nth-child(even) { transform: translateY(28px); }
.ab-how-item:hover { background: rgba(255,255,255,.09); border-color: rgba(201,154,59,.5); }
.ab-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 20px;
  background: var(--dark); color: var(--accent); box-shadow: 0 0 0 2px var(--accent);
}
.ab-icon svg { width: 24px; height: 24px; }
.ab-how-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.ab-how-item p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.65; }

/* --- Team ------------------------------------------------------------------ */
.ab-team { padding: 130px 0 100px; }
.ab-team-head { text-align: center; margin-bottom: 56px; }
.ab-team-head .ab-label::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.ab-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ab-member {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 28px 32px; margin-top: 64px; border-radius: 22px;
  background: #fff; border: 1px solid rgba(27,58,92,.1);
  box-shadow: 0 20px 40px -30px rgba(20,33,61,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ab-member:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,33,61,.45); }
.ab-avatar {
  width: 128px; height: 128px; margin: -64px 0 20px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--secondary), var(--dark) 75%);
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--accent), 0 18px 30px -12px rgba(20,33,61,.5);
}
.ab-avatar span { font-family: 'Space Grotesk', sans-serif; font-size: 2.3rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.ab-member-tag {
  display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: rgba(27,58,92,.07); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.ab-member h3 { font-size: 1.4rem; color: var(--dark); }
.ab-member-role { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 4px 0 14px; }
.ab-member p:last-child { color: var(--mid); line-height: 1.7; font-size: .96rem; }

/* --- Brands ---------------------------------------------------------------- */
.ab-brands { padding: 90px 0; background: var(--bg-alt); }
.ab-brands-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.ab-brands-copy > p:not(.ab-label) { margin: 16px 0 22px; color: var(--mid); line-height: 1.7; }
.ab-link { font-weight: 600; color: var(--primary); display: inline-flex; gap: 8px; }
.ab-link span { transition: transform .2s ease; }
.ab-link:hover span { transform: translateX(4px); }
.ab-logos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; }
.ab-logos li {
  display: grid; place-items: center; height: 92px; padding: 18px 22px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(27,58,92,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ab-logos li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(20,33,61,.4); }
.ab-logos img { max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }
.ab-logos li:hover img { filter: none; opacity: 1; }

/* --- CTA ------------------------------------------------------------------- */
.ab-cta-wrap { padding: 40px 0 100px; }
.ab-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 52px 56px; border-radius: 26px; background: var(--dark);
}
.ab-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.ab-cta p { color: rgba(255,255,255,.7); }
.ab-cta > div { position: relative; }
.ab-cta-ring {
  position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%;
  border: 2px solid rgba(201,154,59,.5); box-shadow: 0 0 0 40px rgba(27,58,92,.5), 0 0 0 42px rgba(201,154,59,.25);
}

/* --- Motion ---------------------------------------------------------------- */
@keyframes ab-spin { to { transform: rotate(360deg); } }

.ab-js [data-ab] { opacity: 0; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.ab-js [data-ab="up"] { transform: translateY(26px); }
.ab-js [data-ab="rise"] { transform: translateY(40px) scale(.96); }
.ab-js [data-ab="slide"] { transform: translateX(40px); }
.ab-js [data-ab="pop"] { transform: scale(.8); }
.ab-js [data-ab].ab-in { opacity: 1; transform: none; }
.ab-js .ab-how-item:nth-child(even).ab-in { transform: translateY(28px); }
.ab-js .ab-member.ab-in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .ab-ring { animation: none; }
  .ab-js [data-ab] { opacity: 1; transform: none; transition: none; }
  .ab-js .ab-how-item:nth-child(even) { transform: translateY(28px); }
  .ab-hero h1 em::after { transform: scaleX(1); transition: none; }
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .ab-hero-grid, .ab-story-grid, .ab-brands-grid { grid-template-columns: 1fr; }
  .ab-hero { padding: 120px 0 110px; }
  .ab-collage { height: 440px; max-width: 560px; }
  .ab-shot--main { height: 400px; }
  .ab-story-head { position: static; }
  .ab-story-grid { gap: 48px; }
  .ab-how-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-how-item:nth-child(even), .ab-js .ab-how-item:nth-child(even).ab-in { transform: none; }
  .ab-team-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-stats > div:nth-child(3)::before { display: none; }
  .ab-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .ab-wrap { padding: 0 16px; }
  .ab-hero { padding: 104px 0 96px; }
  .ab-collage { height: 360px; }
  .ab-shot--main { width: 72%; height: 320px; left: 0; }
  .ab-shot--side { width: 58%; height: 160px; }
  .ab-ring { width: 300px; height: 300px; right: -60px; }
  .ab-seal { left: 0; bottom: auto; top: 16px; transform-origin: left; }
  .ab-actions { flex-direction: column; }
  .ab-btn { width: 100%; }
  .ab-stats > div { padding: 22px 18px; }
  .ab-stats dd { font-size: 1.8rem; }
  .ab-story, .ab-how, .ab-brands { padding: 72px 0; }
  .ab-team { padding: 90px 0 72px; }
  .ab-story-photo { width: 100%; }
  .ab-timeline li { padding-left: 60px; }
  .ab-how-grid { grid-template-columns: 1fr; }
  .ab-logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ab-logos li { height: 72px; padding: 12px; }
  .ab-cta { flex-direction: column; align-items: stretch; padding: 36px 24px; }
}
