/* christopherroque.com — visual overrides on top of LittleLink defaults.
   Register: neutral dark, no brand-color fills, no gradients, no glow.
   Loaded last so it wins over style.css and brands.css.

   Hierarchy is the point: ONE primary action (light fill), the rest outlined,
   contact quieter still. Brand colors are deliberately never used — the only
   emphasis tool here is contrast. */

:root {
  --bg: #0a0a0a;
  --text: #ededed;
  --text-muted: #8a8a8a;
  --text-dim: #6b6b6b;
  --line: #232323;
  --line-hover: #3a3a3a;
  --surface-hover: #141414;
  --primary-bg: #ededed;
  --primary-bg-hover: #ffffff;
  --primary-text: #0a0a0a;
  --stack-width: 24rem;
}

body,
:root.theme-dark body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container {
  padding-top: clamp(3rem, 11vh, 6rem);
  padding-bottom: 4rem;
}

/* --- Identity block ------------------------------------------------------ */

.avatar {
  width: 6rem;
  height: 6rem;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

/* Placeholder until a real headshot lands. Initials, not a logo. */
.avatar--monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #151515;
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  user-select: none;
}

h1 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem 0;
}

/* Specificity note: upstream style.css targets `.container p`, which outranks a
   bare `.bio`. Match it or the auto margins get dropped and the block sits left. */
/* Sized to hold one line at 430px phone width — a wrapped credential orphans
   "service ops" onto its own line and reads like a mistake. */
.container p.credential {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0 0 1.25rem 0;
}

.container p.bio {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  max-width: 26rem;
  margin-top: 0;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Link stack ---------------------------------------------------------- */

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Two-line buttons: name on top, plain-English explainer underneath.
   Overrides upstream's fixed 300px centered single-line pill. */
.button,
button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  max-width: var(--stack-width);
  min-height: 0;
  margin: 0 auto;
  padding: 0.95rem 1.15rem;
  text-align: left;
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.button:hover,
button:hover {
  background-color: var(--surface-hover);
  border-color: var(--line-hover);
  color: var(--text);
}

.button-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.button-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-dim);
}

/* The one action that leads. Contrast only — no color, no glow. */
.button--primary {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  border-color: var(--primary-bg);
}

.button--primary:hover {
  background-color: var(--primary-bg-hover);
  border-color: var(--primary-bg-hover);
  color: var(--primary-text);
}

.button--primary .button-sub {
  color: #4a4a4a;
}

/* --- Contact ------------------------------------------------------------- */

.contact {
  margin-top: 2rem;
}

.contact-link,
:root.theme-dark a.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: none;
  transition: color 120ms ease;
}

.contact-link:hover,
:root.theme-dark a.contact-link:hover {
  color: var(--text);
  border-bottom: none;
}

.contact-link .icon {
  width: 0.9375rem;
  height: 0.9375rem;
  margin: 0;
  opacity: 0.45;
}

.contact-link:hover .icon {
  opacity: 0.7;
}

/* --- Document pages (proof.html, future build-log entries) ---------------- */
/* The bio card is centred and narrow. Reading pages are left-aligned and wider —
   centred body copy is unreadable past a couple of lines. */

.container--doc {
  max-width: 40rem;
  text-align: left;
  padding-top: clamp(2.5rem, 8vh, 4.5rem);
}

.doc-nav {
  margin-bottom: 3rem;
  font-size: 0.875rem;
}

.doc-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.container--doc h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem 0;
}

.container--doc p {
  color: #c4c4c4;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.25rem 0;
  text-align: left;
}

.container--doc .doc-lede {
  color: var(--text);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.container--doc strong {
  color: var(--text);
  font-weight: 600;
}

/* Caveats and denominators. Deliberately not hidden in small grey print — the
   honesty is the selling point on this page, so it stays readable. */
.container--doc .doc-note {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 0 0;
}

.stat {
  flex: 1 1 8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.15rem 1rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* The seats a small-shop owner ends up sitting in. Name left, failure mode right —
   the failure modes are the credential, so they get equal weight, not small print. */
.seats {
  margin: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.seat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.seat-name {
  flex: 0 0 11rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.seat-what {
  flex: 1 1 15rem;
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.timeline {
  border-left: 2px solid var(--line);
  margin: 1.75rem 0;
  padding-left: 1.25rem;
}

.tl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
}

.tl-time {
  flex: 0 0 5.5rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tl-what {
  flex: 1 1 14rem;
  color: #c4c4c4;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Closing ask. Sits last because a reader who got this far is the warmest visitor
   the site gets. Bordered rather than filled — it should read as an offer, not a
   banner ad on a page whose whole argument is restraint. */
.cta {
  margin: 3.5rem 0 0 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.container--doc .cta-line {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.cta .button.cta-button {
  margin: 0 0 1.25rem 0;
  max-width: 20rem;
}

.container--doc footer {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 34.375rem) {
  .doc-title { font-size: 1.875rem; }
  .stat { flex: 1 1 100%; }
  .tl-time { flex: 0 0 100%; }
  .seat-name { flex: 0 0 100%; }
}

/* --- Footer + focus ------------------------------------------------------ */

footer,
:root.theme-dark footer {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 3.5rem;
}

a:not(.button):not(.contact-link),
:root.theme-dark a:not(.button):not(.contact-link) {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

a:not(.button):not(.contact-link):hover,
:root.theme-dark a:not(.button):not(.contact-link):hover {
  color: var(--text);
  border-bottom-color: var(--line-hover);
}

:root.theme-dark :focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

@media (max-width: 34.375rem) {
  h1 {
    font-size: 1.875rem;
  }

  .container {
    padding-top: clamp(2.5rem, 8vh, 4rem);
  }
}
