/* matthewfawks.com — resume site */
:root {
  --ink: #13233A;
  --body: #45536A;
  --muted: #5B6880;
  --line: #E3E6EA;
  --tint: #F5F7F9;
  --accent: #2B5C8F;
  --dark-text: #C9D3E0;
  --dark-muted: #9FB8D6;
  --dark-line: #2E4260;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* nav */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 22px; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; }

/* hero */
.hero { padding-top: 80px; padding-bottom: 88px; }
.hero-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-photo { flex: 1 1 260px; max-width: 320px; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 999px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.5vw, 60px); line-height: 1.06; letter-spacing: -.015em; }
.lede { margin: 0; font-size: 19px; line-height: 1.65; color: var(--body); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

/* sections */
section { scroll-margin-top: 16px; }
.band { background: var(--tint); }
.section { padding-top: 88px; padding-bottom: 88px; }
h2 { margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: 40px; }
h3 { margin: 0; font-size: 21px; font-weight: 600; }
.row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.when { margin: 0; font-size: 15px; font-weight: 600; }
.where { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.role { margin: 4px 0 0; font-size: 16px; color: var(--body); }
.org-note { font-weight: 400; color: var(--muted); }
.bullets { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }
.bullets strong { color: var(--ink); }
.honors { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; background: var(--tint); border-radius: 999px; font-size: 14px; }
.subhead { margin: 40px 0 14px; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* outside work */
.dark { background: var(--ink); color: #fff; }
.dark a { color: #fff; }
.dark h2 { margin-bottom: 32px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--dark-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.card-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.card p.text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--dark-text); }
.card-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.placeholder { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; border-bottom: 1px dashed #4A6385; color: var(--dark-muted); font-size: 14px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
/* earlier experience */
.xp-list { margin-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.xp p { margin: 0; }
.xp-co { font-size: 17px; color: var(--ink); }
.xp-loc { margin-left: 6px; font-size: 14px; color: var(--muted); }
.xp-loc::before { content: "· "; }
.xp-role { margin-top: 2px !important; font-size: 15px; font-weight: 500; color: var(--body); }
.xp-desc { margin-top: 6px !important; font-size: 16px; line-height: 1.6; color: var(--body); }
/* flying stats bar */
.stats { margin: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--dark-line); }
.stats div { padding: 16px 10px 18px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.stats div + div { border-left: 1px solid var(--dark-line); }
.stats dt { font-size: 11px; line-height: 1.35; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--dark-muted); }
.stats dd { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--dark-text); }
.also { margin: 32px 0 0; font-size: 15px; color: var(--dark-muted); }
.link-strong { font-weight: 600; font-size: 16px; }

/* footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.footer-mail { font-family: var(--serif); font-size: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 500; }
.fine { font-size: 13px; color: var(--muted); width: 100%; margin: 0; }

@media (max-width: 820px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .hero-photo { max-width: 220px; }
}
@media (max-width: 600px) {
  .nav-links .opt { display: none; }
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 480px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 32px; }
}
@media print {
  .site-header, .dark, .actions, .site-footer .footer-links { display: none; }
  .band { background: none; }
  .section { padding-top: 24px; padding-bottom: 24px; }
}
