:root {
  --white: #fff;
  --ink: #000;
  --muted: #a1a39a;
  --lime: #8dc400;
  --lime-hover: #719d00;
  --gutter: 64px;
  --nav-padding-top: 44px;
  --nav-height: calc(var(--nav-padding-top) + 40px + 16px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-height); }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }
main[data-portfolio-content] { display: flex; flex-direction: column; }
main[data-portfolio-content] > .leaf-home { margin-top: auto; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:not(.pill):hover { color: var(--lime); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
a:not([href]) { cursor: default; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: var(--nav-padding-top) var(--gutter) 16px;
}
.wordmark { font-size: 24px; font-weight: 700; line-height: 1.35; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 68px;
  background: var(--lime);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}
a.pill[href]:hover { background: var(--lime-hover); }
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  padding: 64px var(--gutter);
  font-size: 16px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.weather { text-align: center; white-space: nowrap; }
.clock { text-align: right; white-space: nowrap; }
.leaf-home { display: flex; justify-content: center; padding-top: 256px; padding-bottom: 64px; }
.leaf-home a { display: block; }
.leaf-home img { display: block; width: 139px; height: 143px; object-fit: contain; }

@media (max-width: 800px) {
  :root { --gutter: 16px; --nav-padding-top: 16px; }
  .site-header { background: var(--white); }
  .wordmark { font-size: 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding-block: 16px; }
  .site-footer, .site-footer > * { text-align: center; }
  .leaf-home img { width: 97px; height: 100px; }
}

@media print {
  body { display: block; min-height: 0; }
  .leaf-home { display: none; }
}
