/* About page. Uses only tokens from redesign.css. */

.about-hero__title { max-width: 22ch; }
.about-hero__lede strong { color: var(--ink); font-weight: 500; }

/* Experience timeline */
.timeline { position: relative; }
.timeline__item {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 24px;
  padding-block: 28px; border-top: 1px solid var(--line);
}
.timeline__item:first-child { padding-top: 0; border-top: 0; }
.timeline__dates {
  font: 500 0.75rem/1.9 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.timeline__item:first-child .timeline__dates { color: var(--accent); }
.timeline__company { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.timeline__role { margin-top: 4px; font: 400 0.85rem/1.4 var(--mono); color: var(--ink-2); }
.timeline__body { margin-top: 14px; color: var(--ink-2); line-height: 1.65; max-width: 62ch; }

.about-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }

/* Tool grid */
.chapter__body > .tools {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 28px 16px; margin-top: 36px;
}
.chapter__body > .tools { max-width: none; color: inherit; }
.chapter__body > .tools li { padding-left: 0; }
.chapter__body > .tools li::before { content: none; }
.tools__item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tools__tile {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 22px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.tools__tile img { width: 50px; height: 50px; object-fit: contain; }
.tools__item:hover .tools__tile { transform: translateY(-4px); border-color: var(--ink-3); }
.tools__label { font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }

/* Off the clock */
.offclock .chapter__body {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.offclock .chapter__body > p:first-child::first-letter {
  float: left; margin: 0.06em 0.12em 0 0;
  font: italic 400 3.6em/0.8 var(--serif); color: var(--accent);
}

@media (max-width: 560px) {
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
  .timeline__dates:empty { display: none; }
  .chapter__body > .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; }
  .tools__tile { width: 72px; height: 72px; border-radius: 18px; }
  .tools__tile img { width: 42px; height: 42px; }
}

/* Hero + experience on the left, tall portrait pinned on the right */
.about-split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-bottom: clamp(56px, 8vw, 104px);
}
.about-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.about-career { padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.about-career__head { margin-bottom: 36px; }
/* Top edge lines up with the h1: hero padding + eyebrow (12px line + 24px gap) */
.about-split__photo {
  position: sticky; top: 88px;
  margin-top: calc(clamp(48px, 8vw, 112px) + 36px);
  aspect-ratio: 1100 / 1726;
  border-radius: 24px; overflow: hidden; background: var(--bg-2);
}
.about-split__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__photo {
    position: static; order: -1;
    width: min(100%, 420px); margin: 32px auto 0;
  }
  .about-hero { padding-top: 32px; }
}
