/* Shared styles for Home, Experience and Work with me. */
:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --bg: #fafafa;
  --border: #e0e0e0;
  --max-width: 600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { max-width: var(--max-width); margin: 0 auto; padding: 3rem 1.5rem; }

.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin-bottom: 2.5rem; font-size: .875rem; }
.site-nav a { padding: .25rem 0; color: var(--text-secondary); text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.site-nav a:hover { color: var(--text); }

header, section, .follow-section { margin-bottom: 2.5rem; }
h1 { font-size: 1.8rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .9rem; }
h2 { margin: 0 0 .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
h3 { margin: 0; font-size: 1rem; line-height: 1.45; }
p { margin: 0; max-width: min(56ch, 100%); }
p + p { margin-top: .8rem; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #666; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 1px; }
.section-link { margin-top: 1rem; font-size: .9rem; }

.highlights, .reading-list, .recognition { list-style: none; margin: 0; padding: 0; }
.highlights li, .decisions li { padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; line-height: 1.5; }
.highlights li:first-child, .decisions li:first-child { padding-top: 0; }
.highlights li:last-child, .decisions li:last-child { border-bottom: 0; }
.role { margin: 0 0 1.8rem; }
.role:last-child { margin-bottom: 0; }
.role-meta { margin: .15rem 0 .6rem; color: var(--text-secondary); font-size: .875rem; }
.role p:not(.role-meta) { font-size: .95rem; }
.role ul { padding-left: 1.15rem; margin: .7rem 0 0; font-size: .95rem; }
.role li + li { margin-top: .35rem; }
.reading-list li { margin-bottom: 1.1rem; }
.reading-list li:last-child { margin-bottom: 0; }
.reading-list span { display: block; margin-top: .2rem; font-size: .9rem; color: var(--text-secondary); }
.recognition { font-size: .95rem; }
.recognition li + li { margin-top: .65rem; }

.decisions { list-style: none; margin: .75rem 0 0; padding: 0; }
.shape { margin: 0 0 1.6rem; }
.shape:last-child { margin-bottom: 0; }
.shape p { font-size: .95rem; margin-top: .35rem; }
.ask { margin: .75rem 0 0; padding-left: 1rem; border-left: 2px solid var(--border); font-size: .95rem; }

.follow { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .875rem; }
.follow a { color: var(--text-secondary); text-decoration: none; transition: color .15s; }
.follow a:hover { color: var(--text); }
footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: .8rem; }

@media (max-width: 420px) {
  main { padding-top: 2rem; }
  .site-nav { gap: .2rem 1.15rem; }
}
@media print {
  .site-nav, .follow-section { display: none; }
  main { max-width: 760px; padding: 0; }
  .role, .shape, .reading-list li, .recognition li { break-inside: avoid; }
}
