:root {
  color-scheme: dark;
  --background: #101516;
  --surface: #182021;
  --line: #354141;
  --text: #f1f3ed;
  --soft: #b8c4bf;
  --accent: #c9f29d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { max-width: 1120px; margin: auto; padding: 0 clamp(1.25rem, 5vw, 4rem) 3rem; }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.wordmark span, .profile { color: var(--accent); }
.profile { font-size: .92rem; text-underline-offset: .3em; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 19rem);
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(2.45rem, 6.6vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.075em;
  font-weight: 780;
}
h1 em { color: var(--accent); font-style: normal; }
.intro p { max-width: 32rem; margin-top: 1.25rem; font-size: 1.05rem; color: var(--soft); }
.skills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.skills li { border: 1px solid var(--line); border-radius: 2rem; padding: .3rem .75rem; font-size: .86rem; }
.monogram {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--accent);
  background-image: repeating-linear-gradient(0deg, transparent 0 23px, #233b2522 23px 24px),
                    repeating-linear-gradient(90deg, transparent 0 23px, #233b2522 23px 24px);
  color: #233b25;
  font-family: Georgia, serif;
  font-size: clamp(6.5rem, 15vw, 12rem);
  line-height: 1;
  letter-spacing: -.15em;
  padding-right: .15em;
}
.monogram span span { font-style: italic; }
.projects { border-top: 1px solid var(--line); padding-top: 1.4rem; }
h2 { margin-bottom: 1rem; font-size: 1.6rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
article { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: 1.1rem; }
h3 { font-size: 1.1rem; }
article p { margin-top: .45rem; color: var(--soft); font-size: .94rem; }
@media (max-width: 690px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .monogram { display: none; }
  .project-grid { grid-template-columns: 1fr; }
}
