:root {
  color-scheme: light;
  --ink: #242824;
  --muted: #60655e;
  --paper: #fff;
  --line: #dedfd8;
  --accent: #be4527;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(880px, calc(100% - 48px)); min-height: 100vh; min-height: 100svh; margin-inline: auto; display: flex; flex-direction: column; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: 0.5rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; }
p { margin: 0 0 1rem; }
.projects { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; padding: 56px 0 72px; }
.projects h1 { font-size: 26px; font-weight: 600; margin: 0 0 32px; }
.project > img { width: 180px; height: 180px; border-radius: 12px; margin-inline: auto; }
.project h2 { font-size: 20px; font-weight: 600; margin: 16px 0 0; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { overflow-wrap: anywhere; }
.policy { max-width: 720px; margin: 0 auto; padding: 50px 0 60px; }
.back { font-size: 14px; }
.policy h1 { font-size: clamp(34px, 7vw, 46px); letter-spacing: -0.045em; margin: 26px 0 10px; }
.policy .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.draft-note { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.policy a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 90px; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
  nav { gap: 16px; }
  .projects { padding: 40px 0 48px; }
  .site-footer { flex-wrap: wrap; gap: 8px 20px; }
  .policy { padding-top: 32px; }
}
@media print {
  body { background: white; color: black; font-size: 12pt; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .back, .skip-link { display: none; }
  .policy { padding: 0; max-width: none; }
  h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
