:root {
    --cream: #F8F6F0;
    --ink: #1A1A1A;
    --charcoal: #2D2D2D;
    --amber: #F0B429;
    --amber-deep: #996406; /* darkened from #D89916 — original failed WCAG AA (2.29:1) as text on cream, this passes at 4.65:1 */
    --line: #E6E1D6;
    --mono-label: #8A8475;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--cream);
    color: var(--charcoal);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }

  .wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ---------- Header ---------- */

  header {
    padding: 28px 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .header-row {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .brand-mark-link { display: inline-flex; flex-shrink: 0; line-height: 0; transition: opacity 0.15s ease; }
  .brand-mark-link:hover { opacity: 0.85; }

  .brand-mark {
    height: 64px;
    width: auto;
    display: block;
  }

  .header-name {
    font-family: 'Roboto Slab', serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    color: var(--ink);
  }

  .header-eyebrow {
    font-family: 'Diplomata SC', serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--amber-deep);
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ---------- Hero ---------- */

  .hero {
    padding: 48px 0 36px;
    position: relative;
    overflow: hidden;
  }

  .hero-blob {
    position: absolute;
    top: -60px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: var(--amber);
    border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%;
    opacity: 0.9;
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-name {
    font-family: 'Roboto Slab', serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.18;
    color: var(--ink);
    max-width: 22ch;
  }

  .hero-role {
    margin-top: 18px;
    font-size: 1.15rem;
    color: var(--charcoal);
    max-width: 46ch;
  }

  .hero-role strong {
    color: var(--ink);
    font-weight: 600;
  }

  .hero-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 4px;
  }

  /* ---------- Section shared ---------- */

  section {
    padding: 32px 0;
    border-top: 1px solid var(--line);
  }

  .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mono-label);
    margin-bottom: 14px;
  }

  h2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--ink);
    margin-bottom: 18px;
  }

  p {
    max-width: 64ch;
    margin-bottom: 16px;
    font-size: 1.02rem;
    color: var(--charcoal);
  }

  p:last-child { margin-bottom: 0; }

  /* ---------- What I Run: tier structure ---------- */

  .tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  @media (max-width: 640px) {
    .tiers { grid-template-columns: 1fr; }
  }

  .tier-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px;
  }

  .tier-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tier-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    display: inline-block;
    flex-shrink: 0;
  }

  .tier-card p {
    font-size: 0.92rem;
    color: var(--charcoal);
    margin-bottom: 0;
  }

  /* ---------- Talk offering ---------- */

  .talk-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--amber);
    border-radius: 6px;
    padding: 28px;
    margin-top: 24px;
  }

  .talk-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 10px;
  }

  .cta-row {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .btn-primary {
    background: var(--amber);
    color: var(--ink);
  }

  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
  }

  .btn:hover { transform: translateY(-1px); opacity: 0.92; }

  .cta-fallback {
    margin-top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--mono-label);
  }

  .cta-fallback a { color: var(--amber-deep); font-weight: 600; text-decoration: none; }
  .cta-fallback a:hover { text-decoration: underline; }

  /* ---------- Footer ---------- */

  footer {
    padding: 28px 0 36px;
    border-top: 1px solid var(--line);
  }

  .footer-roles {
    font-size: 0.92rem;
    color: var(--charcoal);
    margin-bottom: 18px;
  }

  .footer-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--mono-label);
  }

  .footer-meta a { color: var(--amber-deep); text-decoration: none; }
  .footer-meta a:hover { text-decoration: underline; }
