/* Ambidex R&D: light theme.
   Text #1E2A22 on white 14.9:1 | link green #2F6B4A on white 6.32:1 | muted #55615A on white 6.47:1
   Button text #1E2A22 on yellow #F2C230 8.89:1 | #6FAF8A and #F2C230 are decorative only (not used for text on white). */
:root {
  color-scheme: light;
  --ink: #1E2A22; --muted: #55615A; --yellow: #F2C230; --green: #6FAF8A;
  --link: #2F6B4A; --link-hover: #24533A; --line: #E4E7E3; --soft: #F7F8F6;
}
* { margin: 0; box-sizing: border-box; }
html { background: #fff; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: #fff;
       border-top: 4px solid var(--yellow);
       min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between;
                     gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink);
         text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.4rem; display: block; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
         padding-bottom: 2px; border-bottom: 2px solid var(--yellow); }
.nav a:hover { color: var(--link); }

main { flex: 1; padding: 3rem 0 3.5rem; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em;
     margin-bottom: 1.1rem; }
h2 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.3; margin: 2.75rem 0 0.9rem; }
h2::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.45rem;
            background: var(--green); border-radius: 2px; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.4rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; }
ul, ol { margin: 0 0 1rem 1.3rem; }
li { margin-bottom: 0.5rem; padding-left: 0.2rem; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
strong { font-weight: 650; }

.btn { display: inline-block; margin: 0.5rem 0 1rem; padding: 0.75rem 1.3rem;
       background: var(--yellow); color: var(--ink); border-radius: 0.45rem;
       font-weight: 700; text-decoration: none; box-shadow: 0 1px 0 rgba(30,42,34,0.15); }
.btn:hover { background: #E5B520; color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

.about { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--soft);
         border: 1px solid var(--line); border-radius: 0.6rem; padding: 1.25rem; }
.about img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.about p:last-child { margin-bottom: 0; }

.site-footer { background: var(--soft); border-top: 1px solid var(--line);
               color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 1.75rem; }
.site-footer p { margin: 0; }

@media (max-width: 520px) {
  body { font-size: 1rem; }
  main { padding: 2.25rem 0 2.5rem; }
  .about { flex-direction: column; }
  .nav a { font-size: 0.9rem; }
}
