/* landonmayo.com: navy corporate */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --sky: #38bdf8;
  --sky-ink: #04223a;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --on-navy: #c7d3e3;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0369a1; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 20; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }

/* Header (sits on navy everywhere) */
.site-header { background: var(--navy); position: relative; z-index: 2; }
.site-header.over { background: transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav a { color: var(--on-navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a.cta { background: #fff; color: var(--navy); padding: 9px 16px; border-radius: 6px; font-weight: 600; }
.nav a.cta:hover { background: var(--sky); color: var(--sky-ink); }
@media (max-width: 640px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-bottom: 120px; }
.hero::before { content: ""; position: absolute; right: -200px; top: -220px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.22), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; padding-top: 72px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; } }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.07; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.hero .lede { color: var(--on-navy); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; margin: 22px 0 0; max-width: 620px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--sky); color: var(--sky-ink); }
.btn.primary:hover { background: #7dd3fc; }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn.ghost:hover { border-color: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-2); }
.btn.outline { color: var(--navy); border-color: #cbd5e1; }
.btn.outline:hover { border-color: var(--navy); }

.hero-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 28px; backdrop-filter: blur(4px); }
.hero-card .k { color: var(--sky); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.hero-card h2 { color: #fff; font-size: 21px; line-height: 1.3; margin: 0; font-weight: 700; }
.hero-card h2 a { color: #fff; text-decoration: none; }
.hero-card h2 a:hover { text-decoration: underline; }
.hero-card p { color: var(--on-navy); font-size: 15.5px; margin: 10px 0 0; }
.hero-card .now { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 22px; padding-top: 18px; }
.hero-card .now b { color: #fff; display: block; font-weight: 600; }

/* Stat bar */
.stats { position: relative; z-index: 3; margin-top: -72px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14); list-style: none; padding: 0; }
.stats li { padding: 26px 28px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats b { display: block; color: var(--navy); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.stats span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 4px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats li:nth-child(2) { border-right: 0; } .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stats li { border-right: 0; border-bottom: 1px solid var(--line); } .stats li:last-child { border-bottom: 0; } }
.employers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding: 36px 0 8px; color: var(--muted); font-size: 14px; }
.employers span { color: #475569; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.15; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
.section-head .more { font-weight: 600; text-decoration: none; }

.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 32px; } }
.two p { margin: 0 0 16px; font-size: 18px; color: var(--body); max-width: 640px; }
.focus { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.focus h3 { margin: 0 0 14px; font-size: 18px; }
.focus ul { margin: 0; padding: 0; list-style: none; }
.focus li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.focus li:first-child { border-top: 0; }
.focus li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 2px; background: var(--sky); }

/* Cards (writing, projects) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.card:hover { border-color: #94a3b8; }
.card .meta { color: var(--muted); font-size: 14px; font-weight: 500; }
.card h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: #0369a1; }
.card p { margin: 0; color: var(--body); font-size: 16px; }
.card .go { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--navy-2); background: #e0f2fe; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* Experience timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.timeline .when { color: var(--muted); font-size: 15px; font-weight: 500; padding-top: 2px; }
.timeline .now .when { color: #0369a1; font-weight: 600; }
.timeline h3 { margin: 0; font-size: 19px; font-weight: 700; }
.timeline .org { margin: 2px 0 0; color: var(--navy-2); font-weight: 600; font-size: 16px; }
.timeline p { margin: 8px 0 0; font-size: 16px; max-width: 760px; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .creds { grid-template-columns: 1fr; } }
.creds > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.creds h3 { margin: 0 0 12px; font-size: 17px; }
.creds ul { margin: 0; padding-left: 18px; }
.creds li { margin-bottom: 6px; font-size: 16px; }

/* Contact band */
.contact-band { background: var(--navy); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.16), transparent); }
.contact-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-band h2 { color: #fff; margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.contact-band p { color: var(--on-navy); margin: 10px 0 0; font-size: 18px; max-width: 600px; }

/* Footer */
.site-footer { background: #071629; color: #8fa1b8; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #c7d3e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Page header band (blog, articles, 404) */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -240px; top: -260px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.2), transparent); }
.page-head .wrap { position: relative; }
.page-head .back { color: var(--sky); font-weight: 600; text-decoration: none; font-size: 15px; }
.page-head .back:hover { text-decoration: underline; }
.page-head h1 { color: #fff; margin: 14px 0 0; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; max-width: 920px; }
.page-head .meta { color: var(--on-navy); margin: 18px 0 0; font-size: 15px; }
.page-head .dek { color: var(--on-navy); margin: 12px 0 0; font-size: 19px; max-width: 720px; }

/* Article body */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 32px 80px; font-size: 18px; line-height: 1.75; color: #1e293b; }
@media (max-width: 640px) { .prose { padding: 40px 16px 64px; } }
.prose h2 { font-size: 26px; line-height: 1.25; font-weight: 750; margin: 2em 0 0.6em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--ink); }
.prose figure { margin: 0 0 2em; }
.prose figure img { max-width: 360px; border-radius: 10px; border: 1px solid var(--line); }
.prose code { font-family: var(--mono); font-size: 0.86em; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--navy); color: #e2e8f0; padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; border-radius: 10px; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-2); color: var(--ink); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }
.prose .refs { font-size: 15.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1em; }
.prose .refs h2 { font-size: 20px; }
.prose .author { border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1.4em; font-size: 16px; color: var(--muted); }

.post-list { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
