/* ============================================================
   ABOUT PAGE (about.html)
   Loaded after site.css and uses its (dark) tokens and type.
   .ab-dark bands sit on the deepest ground so sections alternate.
   ============================================================ */

/* ---------- deep band ---------- */
.ab-dark {
  background: var(--lab-deep);
  position: relative;
  overflow: hidden;
}
.ab-dark .wrap { position: relative; z-index: 1; }
.section.ab-dark + .section { border-top: 0; }

/* ---------- shared bits ---------- */
.ab-h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.ab-h2 span { color: inherit; }   /* headings are one colour (white) */
.ab-intro {
  font-family: var(--f-serif);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 22px 0 0;
}
.ab-head { margin-bottom: 56px; }
.ab-statement {
  margin: 48px 0 0;
  padding: 26px 0 0 28px;
  border-left: 3px solid var(--blaze);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 44rem;
  text-wrap: balance;
}
.ab-statement p { margin: 0; }
.ab-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.ab-tag--live { color: var(--moss); }
.ab-tag--soon { color: var(--ink-soft); border-style: dashed; }
/* <use> content inherits these from the outer <svg> */
.ab-icon {
  width: 44px; height: 44px; color: var(--blaze); flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 1. hero ---------- */
.ab-hero { padding: 96px 0 104px; }
.ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.ab-hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
  text-wrap: balance;
}
.ab-hero-title span { color: inherit; }
.ab-hero-sub {
  font-family: var(--f-serif);
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 34rem;
}
.ab-hero-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 34px;
  max-width: 34rem;
}
.ab-hero .hero-actions .read-link { margin-top: 0; }

/* the La Bassa photo: a tilted print pinned over the terminal's top-right corner */
.ab-hero-visual {
  position: relative;
  padding: 96px 0 0 0;
}
.ab-print {
  position: absolute;
  top: 0;
  right: -36px;
  width: 58%;
  margin: 0;
  padding: 8px 8px 0;
  background: #F1EEE6;
  transform: rotate(4deg);
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.9);
  z-index: 2;
}
.ab-print img { display: block; width: 100%; height: auto; }
.ab-print figcaption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #3A2A1C;
  text-align: right;
  padding: 6px 2px 7px;
}
.ab-hero-visual .ab-term {
  position: relative;
  z-index: 1;
  width: 88%;
}

/* the "terminal window" figure */
.ab-term {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.ab-term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.ab-term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); display: block; }
.ab-term-bar i:first-child { background: var(--blaze); }
.ab-term-bar span { margin-left: 8px; }
.ab-term svg { display: block; width: 100%; height: auto; }
.ab-term figcaption {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ab-term figcaption b { color: var(--moss); font-weight: 500; }
.ab-arc { stroke-dasharray: 520; stroke-dashoffset: 520; animation: ab-draw 2.2s 0.4s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ab-arc { animation: none; stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .ab-hero { padding: 64px 0 72px; }
  .ab-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .ab-term { max-width: 560px; }
  .ab-hero-visual { max-width: 600px; }
  .ab-hero-visual { padding-top: 120px; }
  .ab-print { right: 0; width: 50%; }
}
@media (max-width: 560px) {
  .ab-hero-visual { padding-top: 100px; }
  .ab-print { width: 58%; right: 4px; padding: 6px 6px 0; transform: rotate(3deg); }
  .ab-print figcaption { font-size: 10px; padding: 4px 2px 5px; text-wrap: balance; }
  .ab-hero-visual .ab-term { width: 94%; }
}

/* ---------- 2. more than one way ---------- */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.ab-split .prose { margin-top: 36px; }
.ab-split .prose p:last-child { margin-bottom: 0; }
.ab-photo { margin: 0; position: sticky; top: 100px; }
.ab-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--tint);
}
.ab-photo figcaption { margin-top: 12px; }
.prose p.ab-question {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blaze);
}
.ab-split--even { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 860px) {
  .ab-split, .ab-split--even { grid-template-columns: 1fr; gap: 40px; }
  .ab-photo { position: static; max-width: 520px; }
  .ab-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- 3. three pillars ---------- */
.ab-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: pillar;
}
.ab-pillar {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--pillar, var(--blaze));
  padding: 28px 28px 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ab-pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.7); }
.ab-pillar:nth-child(2) { --pillar: var(--chalk); }
.ab-pillar:nth-child(3) { --pillar: var(--contour); }
.ab-pillar .ab-icon { color: var(--pillar, var(--blaze)); }
.ab-pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ab-pillar-num { font-family: var(--f-mono); font-size: 13px; color: var(--ink-soft); }
.ab-pillar .kicker { margin-top: 22px; }
.ab-pillar-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 10px 0 16px;
}
.ab-pillar p:not(.kicker) {
  margin: 0 0 14px;
  font-family: var(--f-serif);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ab-pillar p.ab-pillar-key {
  margin: auto -28px 0;
  padding: 16px 28px 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.ab-pillar-key::before { content: '> '; color: var(--pillar, var(--blaze)); }
@media (max-width: 960px) {
  .ab-pillars { grid-template-columns: 1fr; max-width: 620px; }
}

/* ---------- 4. different learners ---------- */
.ab-principles {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.ab-principles li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.ab-principles span {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--blaze-dim);
  padding-top: 6px;
}
.ab-principles strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ab-principles p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- 5. human connection ---------- */
.ab-loop {
  list-style: none;
  margin: 0 0 64px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: stretch;
}
.ab-node {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ab-node--human { border-color: var(--blaze); box-shadow: inset 0 0 0 1px var(--blaze); }
.ab-node h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.ab-node p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.ab-node .ab-tag { align-self: flex-start; margin-top: auto; }
.ab-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--blaze);
}
.ab-loop-back {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 10px 0 0;
  border-top: 1px dashed var(--rule);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}
.ab-loop-back b { color: var(--blaze); font-weight: 500; }
@media (max-width: 820px) {
  .ab-loop { grid-template-columns: 1fr; }
  .ab-arrow { height: 40px; transform: rotate(90deg); }
}

.ab-human-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.ab-human-grid .prose p { font-size: 19px; color: var(--text); }
.ab-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: step;
}
.ab-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.ab-steps li::before {
  content: '0' counter(step);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--blaze);
  padding-top: 3px;
}
.ab-steps .ab-tag { margin-left: 6px; vertical-align: 2px; }
.ab-checkin {
  margin: 28px 0 0;
  padding: 20px 22px;
  background: var(--cream);
  border: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.ab-checkin::before { content: '// check-in'; display: block; color: var(--moss); margin-bottom: 6px; font-size: 12px; }
.ab-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 860px) { .ab-human-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 6. problem solving ---------- */
.ab-solve {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.ab-console {
  margin: 0;
  background: var(--lab-deep);
  border: 1px solid var(--rule);
  color: #D3DACF;
  font-family: var(--f-mono);
  font-size: 13.5px;
  line-height: 1.7;
  padding: 22px 22px 24px;
  overflow-x: auto;
  border-top: 4px solid var(--blaze);
}
.ab-console p { margin: 0; }
.ab-console .q { color: #ECEFE7; margin-bottom: 12px; }
.ab-console .q::before { content: '> '; color: #E36A40; }
.ab-console dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; }
.ab-console dt { color: #C9A764; }
.ab-console dd { margin: 0; }
.ab-console .ok { color: #8DBA74; }
.ab-skills {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ab-skills li {
  padding: 18px 18px 20px;
  border: 1px solid var(--rule);
  background: var(--cream);
}
.ab-skills strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  margin: 12px 0 8px;
}
.ab-skills p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.ab-skills .ab-icon { width: 32px; height: 32px; }
.ab-closer {
  margin: 56px 0 0;
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  max-width: 46rem;
  text-wrap: balance;
}
@media (max-width: 960px) {
  .ab-solve { grid-template-columns: 1fr; gap: 40px; }
  .ab-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .ab-skills { grid-template-columns: 1fr; } }

/* ---------- 7. what learning looks like ---------- */
.ab-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ab-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 24px 24px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.ab-feature:hover { border-color: var(--ink); transform: translateY(-3px); }
.ab-feature .ab-icon { width: 36px; height: 36px; }
.ab-feature h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  margin: 4px 0 0;
}
.ab-feature p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.ab-feature p.ab-feature-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.ab-feature-foot .read-link { margin-top: 0; font-size: 11.5px; }
@media (max-width: 960px) { .ab-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ab-features { grid-template-columns: 1fr; } }

/* ---------- 8. mountain biking ---------- */
.ab-mtb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  margin-bottom: 64px;
}
.ab-mtb-grid .prose p { font-size: 19px; }
.ab-mtb-lines {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 2.9vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
}
.ab-mtb-lines span { display: block; }
.ab-mtb-lines em { font-style: normal; color: inherit; }
.ab-examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ab-example a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--rule);
  transition: border-color .2s ease, transform .2s ease;
}
.ab-example a:hover { border-color: var(--blaze); transform: translateY(-3px); }

.ab-example img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--rule); }
.ab-example-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ab-example-from {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.ab-example-to { margin: 0; font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--moss); }
.ab-example-to::before { content: '\2192  '; color: var(--blaze); }
.ab-example-lab { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.ab-example a:hover .ab-example-lab { color: var(--blaze); }
@media (max-width: 960px) {
  .ab-mtb-grid { grid-template-columns: 1fr; gap: 32px; }
  .ab-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .ab-examples { grid-template-columns: 1fr; } }

.ab-beyond {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px 56px;
  align-items: center;
}
.ab-beyond-text p { margin: 0; font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; color: var(--text); }
.ab-beyond-text p + p { margin-top: 14px; }
.ab-interests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ab-interests li {
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 8px 14px;
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
}
.ab-interests li.is-live { border: 1px solid var(--moss); color: var(--ink); }
.ab-interests li.is-live a { color: inherit; text-decoration: none; }
.ab-interests li.is-live a:hover { color: var(--blaze); }
.ab-interests li.is-live b { color: var(--moss); font-weight: 500; }
@media (max-width: 860px) { .ab-beyond { grid-template-columns: 1fr; } }

/* ---------- 9. mission ---------- */
.ab-mission { padding: 112px 0 120px; border-top: 1px solid var(--rule-soft); }
.ab-mission h2.eyebrow { font-weight: 400; }
.ab-mission-statement {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  max-width: 50rem;
  margin: 26px 0 32px;
  text-wrap: balance;
}
.ab-mission-body { max-width: 40rem; color: var(--text); font-size: 17px; line-height: 1.65; }
.ab-mission-body p { margin: 0 0 1em; }
.ab-final {
  margin: 64px 0 48px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 8.4vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
}
.ab-final span { display: block; }
.ab-mission .hero-actions .read-link { margin-top: 0; }
.ab-brand-line { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-soft); }

/* small-label headings keep the kicker's weight */
h3.kicker { font-weight: 400; }

/* ---------- focus on dark bands ---------- */
a:focus-visible { outline-color: var(--ink); }
