/* Analytic Gator. Styled after alfonsoherrada.com (paper, Newsreader and Inter,
   folio nav, proof rows, stat row, colophon). The AG differences are the
   gator-green accent and the gold "Gator" in the wordmark. */

:root {
  --paper: #FCFCF7;
  --paper-deep: #F4F2EA;
  --ink: #0E0E0E;
  --ink-soft: #2C2A26;
  --ink-mute: #6C6962;
  --rule: rgba(14,14,14,.12);
  --rule-soft: rgba(14,14,14,.06);
  --accent: #1a3a2a;      /* AG gator green, in place of the sibling's navy */
  --accent-line: rgba(26,58,42,.35);
  --gold-ink: #7a5c06;    /* AG gold, darkened to hold 4.5:1 at 11px */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern','liga';
  font-variation-settings: 'opsz' 16;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--paper); }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--accent-line); transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; font-family: var(--sans); font-size: 12px; }

/* ── Folio nav ── */
.folio {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 56px 20px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.folio-l, .folio-r { display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; }
.folio .wordmark { color: var(--ink); font-weight: 600; text-decoration: none; }
.folio .wordmark span { color: var(--gold-ink); }
.folio-link { color: var(--ink-mute); text-decoration: none; transition: color .15s; }
.folio-link:hover { color: var(--ink); }
.folio-divider { color: var(--ink-mute); opacity: .4; }
.folio-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  text-decoration: none;
}
.folio-live:hover { text-decoration: underline; }
.folio-live::before,
.live {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Frame ── */
.frame { max-width: 1200px; margin: 0 auto; padding: 0 56px; }

/* ── Hero ── */
.hero { padding: 96px 0 88px; max-width: 960px; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 36px;
  text-wrap: balance;
}
.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}
.route {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.route-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
}
.route-btn.primary { background: var(--ink); color: var(--paper); }
.route-btn.primary:hover { background: var(--accent); border-color: var(--accent); }

/* ── Sections ── */
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 28px;
}
.section-head {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 60;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 36px;
  max-width: 22ch;
  text-wrap: balance;
}
.section > p:not(.label):not(.note) {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ── Proof rows ── */
.row {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.row:first-of-type { border-top: 1px solid var(--rule); }
.row > * { grid-column: 2; }
.row > .row-meta { grid-column: 1; grid-row: 1 / span 3; }
.row-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.row-head {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 32;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.row p:not(.row-meta) {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.row p:last-child { margin-bottom: 0; }

/* ── Stat row ── */
.stat-row {
  margin-top: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  max-width: 820px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 40;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 36ch;
}
.note {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-mute);
}

/* ── Colophon ── */
.colophon {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 56px 56px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-mute);
  line-height: 1.8;
}
.colophon-block strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: 'opsz' 18;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 8px;
}
.colophon ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.colophon a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(14,14,14,.18);
  text-underline-offset: 2px;
  font-weight: 500;
}
.colophon a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 760px) {
  .folio { padding: 22px 24px 14px; font-size: 10px; }
  .frame { padding: 0 24px; }
  .hero { padding: 56px 0; }
  .section { padding: 56px 0; }
  .row { grid-template-columns: 1fr; row-gap: 10px; padding: 28px 0; }
  .row > *, .row > .row-meta { grid-column: 1; grid-row: auto; }
  .colophon { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; }
}
@media (max-width: 420px) {
  .folio { padding: 20px 16px 14px; }
  .frame { padding: 0 16px; }
  .stat-row { grid-template-columns: 1fr; }
  .colophon { padding: 40px 16px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
