/* Lohroff.com: shared styles. Same identity as the Personal Agent System page: navy header band,
   results strip overlapping its lower edge, one column of sections, Source Sans 3. */
:root {
  --bg: #FFFFFF; --panel: #F1F5F9; --fg: #1B2430; --muted: #566272; --line: #D9E0E8;
  --accent: #1A66AD; --hero: #0F2A43; --hero-fg: #FFFFFF; --hero-muted: #B4C4D6;
  --hero-btn: #FFFFFF; --hero-btn-fg: #0F2A43; --shadow: 0 8px 24px rgba(15, 42, 67, 0.12);
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1620; --panel: #16212D; --fg: #E6EBF1; --muted: #9AA9BA; --line: #263342; --accent: #72B3EB;
    --hero: #0A1D31; --hero-muted: #A9BBCE; --hero-btn-fg: #0A1D31; --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 14px; }
.wrap { max-width: 920px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hero-btn); color: var(--hero-btn-fg); padding: 8px 14px; border-radius: 4px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header band */
.hero { background: var(--hero); color: var(--hero-fg); padding-block: 20px 112px; }
.hero.short { padding-bottom: 72px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.nav .brand { color: var(--hero-fg); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.nav a.l { color: var(--hero-muted); text-decoration: none; font-weight: 600; font-size: 16px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a.l:hover, .nav a.l[aria-current="page"] { color: var(--hero-fg); border-bottom-color: var(--hero-fg); }
.nav a:focus-visible { outline: 3px solid var(--hero-fg); outline-offset: 3px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hero-muted); margin: 0 0 18px; }
h1 { font-size: clamp(44px, 9vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 22px; text-wrap: balance; }
h1.page { font-size: clamp(36px, 7vw, 60px); }
.lead { font-size: clamp(19px, 2.6vw, 24px); line-height: 1.45; color: var(--hero-muted); max-width: 34em; margin: 0 0 32px; }
.lead strong { color: var(--hero-fg); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; background: var(--hero-btn); color: var(--hero-btn-fg); padding: 12px 20px; border: 2px solid var(--hero-btn); border-radius: 4px; transition: background-color .12s, color .12s, transform .08s; }
.btn:hover { background: transparent; color: var(--hero-fg); }
.btn.alt { background: transparent; color: var(--hero-fg); }
.btn.alt:hover { background: var(--hero-btn); color: var(--hero-btn-fg); }
.btn:active { transform: translateY(2px); }
.hero .btn:focus-visible { outline-color: var(--hero-fg); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.mail { color: var(--hero-fg); font-weight: 500; overflow-wrap: anywhere; }

/* Results strip */
.results { list-style: none; margin: -64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.results li { padding: 24px 24px 22px; min-width: 0; }
.results li + li { border-left: 1px solid var(--line); }
.results b { display: block; font-size: 40px; line-height: 1; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.results span { display: block; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* Sections */
main { padding-block: 64px 80px; }
.after-hero { padding-top: 56px; }
section + section { margin-top: 64px; }
h2 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 22px; text-wrap: balance; }
h2::after { content: ""; display: block; width: 44px; height: 4px; background: var(--accent); margin-top: 12px; }
.intro { font-size: 22px; line-height: 1.5; max-width: 40em; margin-bottom: 18px; }
.prose { max-width: 40em; color: var(--muted); }
.prose strong { color: var(--fg); font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { background: var(--panel); padding: 20px 22px; min-width: 0; display: flex; flex-direction: column; }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
.card p { margin: 0 0 10px; font-size: 16px; color: var(--muted); }
.card .tag { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Project entries */
.proj { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.proj:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.proj h3 { font-size: 24px; line-height: 1.25; font-weight: 800; margin: 0 0 4px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 1px 8px; border-radius: 3px; margin: 0 0 10px; }
.proj ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; max-width: 46em; }
.proj li::marker { color: var(--accent); }
.stack { color: var(--muted); font-size: 15px; margin: 0; }

/* Timeline */
.timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); margin-left: 6px; }
.role { position: relative; padding: 0 0 40px 32px; }
.role:last-child { padding-bottom: 0; }
.role::before { content: ""; position: absolute; left: -9px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 4px solid var(--accent); }
.dates { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; margin: 0 0 2px; }
.role h3 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0; }
.org { color: var(--muted); font-size: 16px; margin: 2px 0 12px; }
.role ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; max-width: 46em; }
.role li::marker { color: var(--accent); }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.skill { background: var(--panel); padding: 18px 20px; min-width: 0; }
.skill dt { font-weight: 700; margin-bottom: 4px; }
.skill dd { margin: 0; font-size: 16px; color: var(--muted); }
.edu { margin-top: 16px; background: var(--panel); padding: 18px 20px; }

/* Footer */
footer { background: var(--hero); color: var(--hero-fg); padding-block: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
footer p { margin: 0; font-size: 18px; font-weight: 600; }
footer .actions { gap: 12px 20px; }
footer a:focus-visible { outline-color: var(--hero-fg); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-block: 16px 96px; }
  .hero.short { padding-bottom: 56px; }
  .nav { margin-bottom: 40px; }
  .results { grid-template-columns: minmax(0, 1fr); margin-top: -56px; }
  .results li + li { border-left: 0; border-top: 1px solid var(--line); }
  .results li { padding: 18px 20px; }
  .results b { font-size: 34px; }
  main { padding-block: 48px 56px; }
  section + section { margin-top: 48px; }
  h2 { font-size: 26px; }
  .intro { font-size: 19px; }
  .cards, .cards.three, .skills { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
