/* Generated by site/build.py. */
:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #202820;
  --muted: #525952;
  --accent: #9a402b;
  --line: #d8d4c9;
  --surface: #f0ede4;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2.5rem, 58rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 0.85rem;
  transform: translateY(-200%);
  background: var(--paper);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  text-decoration: none;
}

nav, .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

nav a {
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover { text-decoration: underline; }

.hero {
  padding-block: clamp(3.1rem, 8vw, 6.25rem) clamp(2.75rem, 7vw, 5rem);
}

.tagline, .section-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tagline { color: var(--accent); }

h1, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0.2rem 0 0.85rem;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.intro {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
}

.section {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.85rem 2rem;
  padding-block: clamp(1.55rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.section-title { padding-top: 0.35rem; }
.entries { display: grid; gap: 1.5rem; }

.project {
  padding: clamp(1rem, 4vw, 1.6rem);
  background: var(--surface);
  border-radius: 0.3rem;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.19;
  text-wrap: balance;
}

.section p, .section ul { margin: 0; color: var(--muted); }
.section p + p { margin-top: 0.5rem; }
.project .status { font-size: 0.9rem; font-weight: 600; }
ul { padding-inline-start: 1.15rem; }
li + li { margin-top: 0.4rem; }

.contact { max-width: 31rem; }
form { margin-block: 0.9rem 1.2rem; }

fieldset {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

label {
  margin-block: 0.4rem 0.15rem;
  font-size: 0.9rem;
  font-weight: 650;
}

input, textarea, button { font: inherit; }

input, textarea {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid #8a8274;
  border-radius: 0.25rem;
  background: #fffdf9;
  color: var(--ink);
}

textarea { resize: vertical; }

button {
  justify-self: start;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 0.25rem;
  background: var(--accent);
  color: #fffdf9;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: #783120; }

fieldset:disabled input, fieldset:disabled textarea, button:disabled {
  background: var(--surface);
  color: var(--muted);
  cursor: not-allowed;
}

button:disabled { border-color: #8a8274; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  padding-block: 1rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 39rem) {
  .section { grid-template-columns: 1fr; }
}
