/* ==========================================================================
   /trevor-ragan — bio landing page.
   Site system throughout (paper/ink/yellow); the only blue on the page is
   the book-cover checker callback behind the headshot and the cover art in
   the book band — both deliberate echoes of LEARNER.
   ========================================================================== */

.tr { background: var(--paper); }
.tr .wrap { max-width: var(--wrap-max); margin: 0 auto; padding-left: var(--wrap-pad); padding-right: var(--wrap-pad); }

/* ---------- hero: photo | intro ---------- */
.tr-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 6vw;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 88px;
}
.tr-photo-col { margin: 0; position: sticky; top: 96px; }
/* Headshot over scattered checker cells — the LEARNER cover callback. */
.tr-photo { position: relative; }
.tr-photo img {
  display: block; width: 100%; height: auto;
  position: relative; z-index: 1;
  filter: grayscale(1) contrast(1.05);
}
.tr-checks { position: absolute; inset: 0; }
.tr-checks i { position: absolute; width: 25%; aspect-ratio: 1; }
.tr-checks i:nth-child(1) { left: 0;   top: 25%; background: #CCDCF8; }
.tr-checks i:nth-child(2) { left: 75%; top: 0;   background: #1E4BDB; }
.tr-checks i:nth-child(3) { left: 75%; top: 50%; background: #93B6F2; }
.tr-checks i:nth-child(4) { left: 0;   top: 75%; background: #3D73EA; }
.tr-photo::before,
.tr-photo::after {
  content: ""; position: absolute; width: 18px; height: 18px; z-index: 2;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
}
.tr-photo::before { top: -24px; left: -24px; }
.tr-photo::after  { right: -24px; bottom: -24px; }

.tr-kicker {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.tr-kicker::before { content: ""; width: 9px; height: 9px; background: var(--accent); }
.tr-intro h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
  color: var(--ink);
}
.tr-intro p {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 58ch;
}
.tr-lede { font-size: clamp(1.25rem, 1.7vw, 1.5rem) !important; color: var(--ink) !important; }
.tr-intro a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.tr-buckets { list-style: none; margin: 10px 0 26px; padding: 0; }
.tr-buckets li { padding: 22px 0; border-top: 1px solid var(--rule); }
.tr-buckets li:last-child { border-bottom: 1px solid var(--rule); }
.tr-buckets h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.tr-buckets h2 span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 30px;
  background: var(--accent); color: var(--ink);
  font-size: 0.95rem;
}
.tr-buckets p:last-child { margin-bottom: 0; }
.tr-sig {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem !important;
  color: var(--ink) !important;
}

/* ---------- book band: LEARNER cobalt + the blueprint lattice ---------- */
.tr-book {
  background-color: #1E4BDB;
  color: #F4EEE0;
  padding: 72px 0;
  background-image:
    linear-gradient(rgba(244, 238, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 238, 224, 0.06) 1px, transparent 1px);
  background-size: clamp(44px, 6.3vw, 92px) clamp(44px, 6.3vw, 92px);
}
.tr-book-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 40px 5vw;
  align-items: center;
}
.tr-book-cover { display: block; }
.tr-book-cover img {
  display: block; width: 100%; max-width: 300px; height: auto;
  margin: 0 auto;
  transform: rotate(-3deg);
  transition: transform 0.2s ease-out;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}
.tr-book-cover:hover img { transform: rotate(0deg) scale(1.02); }
.tr-book-kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.tr-book-kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.tr-book-copy h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.tr-book-copy h2 em { font-style: italic; font-family: var(--serif); font-weight: 400; }
.tr-book-line {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: rgba(244, 238, 224, 0.88);
  margin: 0 0 28px;
  max-width: 52ch;
}
.tr-book-btn {
  display: inline-block;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  transition: background 0.15s, color 0.15s;
}
.tr-book-btn:hover { background: var(--paper); }

/* ---------- clients ---------- */
.tr-clients { padding-top: 72px; padding-bottom: 24px; }
.tr-section-kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 28px;
  display: flex; align-items: center; gap: 12px;
}
.tr-section-kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
/* Reuses .hm-trusted/.tb-logos from chrome.css; the grid variant lets the
   full client list wrap over multiple rows. */
.tr-logo-grid .tb-logos { flex-wrap: wrap; row-gap: 28px; }

/* ---------- bio ---------- */
.tr-bio { padding-top: 48px; padding-bottom: 88px; }
.tr-bio-prose { max-width: var(--prose-max); }
.tr-bio-prose p {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .tr-hero { grid-template-columns: 1fr; padding-top: 32px; gap: 40px; }
  .tr-photo-col { position: static; max-width: 420px; }
  .tr-book-inner { grid-template-columns: 1fr; text-align: center; }
  .tr-book-kicker, .tr-book-kicker::before { justify-content: center; }
  .tr-book-kicker { display: flex; }
  .tr-book-line { margin-left: auto; margin-right: auto; }
  .tr-book-cover img { max-width: 230px; }
}
