/* ============================================================
   About block — sits on the homepage between Quiz and Before/After
   Scoped with .ab- prefix to avoid colliding with site tokens.
   Uses the site's own --bg / --ink / --accent vars so it adapts
   to any palette / mode the user picks from Tweaks.
   ============================================================ */

.ab {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ab__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

/* ── Left column: portrait + caption ──────────────────────── */
.ab__portrait-col {
  position: sticky;
  top: 120px;
}
.ab__portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.ab__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.ab__portrait-meta {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.ab__portrait-meta strong { color: var(--ink); font-weight: 500; }

/* Handwritten note artifact — sits below the portrait stack */
.ab__note {
  margin-top: 28px;
  position: relative;
  padding: 22px 22px 18px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab__note-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
}
.ab__note-label::before {
  content: ""; width: 22px; height: 1px; background: var(--ink-3);
}
.ab__note-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  transform: rotate(-1.5deg);
  box-shadow: 0 18px 38px -18px rgba(0,0,0,0.4);
}
.ab__note-img img {
  width: 100%; height: auto;
  display: block;
}
.ab__note-cap {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 6px 0 0;
}
.ab__note-cap strong {
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* signature line under photo */
.ab__sig {
  margin-top: 22px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ab__sig-name {
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
}

/* Years-of-experience tile floating off the portrait, bottom-right */
.ab__yoe {
  position: absolute;
  right: 14px; bottom: 30px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: 18px;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.45);
}
.ab__yoe-num {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.ab__yoe-num em { color: var(--accent); font-style: italic; }
.ab__yoe-lbl {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.4;
}
.ab__yoe-split {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ab__yoe-split > div {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ab__yoe-split strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-weight: 500;
}

/* ── Right column ─────────────────────────────────────────── */
.ab__head {
  margin-bottom: 32px;
}
.ab__head h2 {
  margin: 18px 0 22px;
}
.ab__lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}
.ab__lead strong {
  color: var(--ink);
  font-weight: 700;
  font-style: normal;
  font-family: inherit;
}

/* Beliefs grid */
.ab__beliefs-head {
  margin: 56px 0 24px;
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.ab__beliefs-head .eyebrow { font-size: 11px; }
.ab__beliefs-head span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ab__beliefs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ab__belief {
  background: var(--bg-2);
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  min-height: 160px;
}
.ab__belief-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ab__belief-tag::before {
  content: ""; width: 14px; height: 1px; background: var(--ink-3);
}
.ab__belief--yes .ab__belief-tag {
  color: var(--accent);
}
.ab__belief--yes .ab__belief-tag::before { background: var(--accent); }
.ab__belief--no .ab__belief-tag {
  color: var(--ink-3);
}
.ab__belief h4 {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ab__belief--no h4 {
  text-decoration: line-through;
  text-decoration-color: color-mix(in oklab, var(--ink) 35%, transparent);
  text-decoration-thickness: 1.5px;
}
.ab__belief p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 38ch;
}

/* CTA row at the bottom of the right column */
.ab__cta-row {
  margin-top: 36px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.ab__cta-row .label-mono { color: var(--ink-3); }

/* ── "The longer version" — inline expanding story ─────────── */
.ab__long {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.15, 1),
    opacity 0.4s ease,
    margin-top 0.45s ease;
}
.ab__long.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 40px;
}
.ab__long-clip { overflow: hidden; }
.ab__long-inner {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.ab__long-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.ab__long-head .eyebrow { font-size: 11px; }
.ab__long-head span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ab__chapter {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.ab__chapter:first-of-type { border-top: none; }
.ab__chapter-year {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
  position: relative;
}
.ab__chapter-year::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 18px; height: 2px;
  background: var(--accent);
}
.ab__chapter-text h5 {
  font-family: var(--f-display);
  font-size: 23px;
  line-height: 1.18;
  margin: 0 0 10px;
  color: var(--ink);
  text-wrap: balance;
}
.ab__chapter-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Responsive */
@media (max-width: 980px) {
  .ab__grid { grid-template-columns: 1fr; gap: 56px; }
  .ab__portrait-col { position: static; max-width: 360px; }
  .ab__beliefs { grid-template-columns: 1fr; }
  .ab__chapter {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ab__chapter-year { padding-top: 8px; }
}

/* Phones: the "12 yrs · 9 yrs coaching · 3,000+" stat tile (.ab__yoe)
   is too tall on small screens and overlaps the JAY BANSAL caption pill
   at the bottom-left of the photo. Move it up and shrink it slightly so
   it sits above the caption with breathing room. */
@media (max-width: 720px) {
  .ab__yoe {
    /* Sit inside the photo's right edge (not past it) and above the
       "JAY BANSAL · Auckland · independent" caption pill at the bottom. */
    right: 12px;
    bottom: 80px;
    top: auto;
    padding: 10px 12px;
    min-width: 0;
    border-radius: 12px;
  }
  .ab__yoe-num { font-size: 24px; }
  .ab__yoe-lbl { font-size: 7.5px; }
  .ab__yoe-split { gap: 10px; padding-top: 7px; margin-top: 7px; }
  .ab__yoe-split strong { font-size: 15px; }
  .ab__yoe-split span { font-size: 7.5px; }
}
