/* =========================================================
   Tracy Boyd — light info pages (Bio / CV / Contact)
   White ground, black text. Reuses the home page's gutter,
   type scale and footer structure in an inverted palette.
   ========================================================= */
@import url("tracy/colors_and_type.css");

html, body { background: var(--tb-bg); color: var(--tb-fg); height: auto; }
body {
  font-family: var(--tb-font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.page { display: block; }

/* ---------- header ---------- */
.page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
}
.page__wm {
  font-weight: var(--tb-fw-bold);
  font-size: 18px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.page__nav { display: flex; gap: clamp(16px, 3vw, 34px); }
.page__nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-fg);
  opacity: 0.55;
  transition: opacity 160ms var(--tb-ease);
}
.page__nav a:hover { opacity: 1; }
.page__nav a.is-active { opacity: 1; font-weight: var(--tb-fw-medium); }

/* ---------- TRACY BOYD nav-pill dropdown ---------- */
.pillnav { position: relative; }
.pillnav__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 17px;
  border-radius: var(--tb-radius-full);
  background: var(--tb-fg);
  color: var(--tb-bg);
  font-weight: var(--tb-fw-bold);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms var(--tb-ease);
}
.pillnav__btn:hover { background: var(--tb-ink-6); }
.pillnav__btn svg { width: 14px; height: 14px; opacity: 0.8; transition: transform 200ms var(--tb-ease); }
.pillnav.is-open .pillnav__btn svg { transform: rotate(180deg); }
.pillnav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 184px;
  background: var(--tb-bg-elevated);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.pillnav.is-open .pillnav__menu { display: flex; }
.pillnav__menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--tb-fg);
  white-space: nowrap;
  transition: background 140ms var(--tb-ease);
}
.pillnav__menu a:hover { background: rgba(255,255,255,0.06); }
.pillnav__menu a.is-active { font-weight: var(--tb-fw-bold); }
.pillnav__sep { height: 1px; background: rgba(255,255,255,0.1); margin: 6px 4px; }

/* keep the nav-pill's footprint constant across labels ("bio" vs "statement")
   so the brand text beside it always starts at the same x — lets the page
   title/body below line up with it. */
.hg__menu-slot .pill__btn { min-width: 150px; }

/* ---------- main ---------- */
.page__main {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-top: clamp(40px, 9vh, 110px);
  padding-right: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(60px, 10vh, 130px);
  padding-left: 169px;   /* lines up with the brand text beside the nav pill above */
}
.page--tight-top .page__main {
  padding-top: clamp(20px, 4.5vh, 55px);
}
.page__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.page__title {
  margin: 0;
  font-weight: var(--tb-fw-bold);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.page__body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
}
.page__body p { margin: 0; }
.page__body p + p { margin-top: 1.1em; }

/* ---------- CV list ---------- */
.cv {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 820px;
}
.cv__group h2 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
  font-weight: var(--tb-fw-medium);
}
.cv__row {
  display: flex;
  gap: 24px;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  line-height: 1.4;
}
.cv__row .yr {
  flex: 0 0 56px;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}
.cv__row .what { color: var(--tb-fg); }
.cv__row .where { color: rgba(255,255,255,0.55); }

/* ---------- contact ---------- */
.contact-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 820px;
}
.contact-block h2 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 12px;
  font-weight: var(--tb-fw-medium);
}
.contact-block a, .contact-block p { margin: 0 0 8px; font-size: 16px; color: var(--tb-fg); }
.contact-block a { border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 2px; display: inline-block; transition: border-color 160ms var(--tb-ease); }
.contact-block a:hover { border-color: var(--tb-fg); }

/* ---------- footer (light) ---------- */
.page__footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 44px clamp(20px, 4vw, 56px) 56px;
}
.page__footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}
.footer-wm { font-weight: var(--tb-fw-bold); font-size: 16px; letter-spacing: 0.01em; }
.footer-note {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  line-height: 1.55;
}
.footer-cols { display: flex; gap: clamp(36px, 6vw, 92px); }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
  font-weight: var(--tb-fw-medium);
}
.footer-col a { display: block; font-size: 14px; color: var(--tb-fg); margin-bottom: 9px; transition: opacity 160ms var(--tb-ease); }
.footer-col a:hover { opacity: 0.55; }

@media (max-width: 720px) {
  .page__main { padding-left: clamp(20px, 4vw, 56px); }
  .page__footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
  .page__nav { gap: 16px; }
}
