:root {
  color-scheme: light;
  --paper: #f9f8f2;
  --ink: #192921;
  --muted: #4c5d51;
  --green: #235440;
  --deep: #132e25;
  --gold: #f2d287;
  --line: #d7ddd2;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #bd7d2d; outline-offset: 4px; }
code, kbd { font: .94em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
code { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 8vw, 6.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h1 span { color: var(--green); }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 2;
  inset: .6rem auto auto .6rem;
  padding: .55rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: .75rem;
}
.header-inner { min-height: 4.75rem; padding-block: .75rem; }
.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem clamp(.9rem, 3vw, 2rem);
}
.site-header nav a, .site-footer a { font-size: .9rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: .36em;
}
.wordmark {
  display: inline-flex;
  gap: 0;
  align-items: center;
  flex: none;
  font: 700 1.9rem/.95 var(--serif);
  letter-spacing: -.065em;
  text-decoration: none;
}
.wordmark span { color: var(--green); }
.quill-mark { gap: .45rem; }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 5rem; padding-block: 1.2rem; font-size: .9rem; }
.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.lede { color: var(--muted); font-size: clamp(1.12rem, 2.1vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  border: 1px solid var(--green);
  border-radius: .35rem;
  padding: .65rem 1.1rem;
  background: var(--green);
  color: white;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: var(--deep); }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: #e5ede2; }
.text-link { color: var(--green); font-weight: 650; }

.home { padding-block: clamp(3.8rem, 8vw, 7rem) 4.25rem; }
.home-intro .lede { margin-top: 1.25rem; max-width: 37rem; }
.home-grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.project-card, .personal-card {
  min-width: 0;
  padding: clamp(1.55rem, 3.4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  overflow: hidden;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--deep);
  border-color: var(--deep);
  color: #fbf7e8;
  isolation: isolate;
}
.project-card > img { margin: -.35rem 0 .7rem -.4rem; }
.project-copy { position: relative; z-index: 1; max-width: 16rem; }
.project-copy p { margin: .7rem 0 1.45rem; color: #d8e2d7; }
.project-card .button, .quill-hero .button:not(.button-outline) { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.project-card .button:hover, .quill-hero .button:not(.button-outline):hover { background: #ffe3a6; }
.project-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 36%;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 45%, #477353, transparent 76%);
}
.project-art img {
  position: absolute;
  left: 13%;
  top: 27%;
  width: 118%;
  max-width: none;
  transform: rotate(-8deg);
  border: 1px solid #607769;
  border-radius: .65rem;
  box-shadow: 0 1rem 2.5rem #071b13aa;
}
.personal-card { background: #eef0e7; }
.monogram {
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  margin-bottom: 1.05rem;
  border: 1px solid #9aa99a;
  border-radius: 50%;
  color: var(--green);
  font: 1.4rem/1 var(--serif);
}
.personal-card h2 { font-size: clamp(1.8rem, 3vw, 2.9rem); }
.personal-card p { margin: .75rem 0 1.2rem; color: var(--muted); }

.quill-page .site-header { background: var(--deep); border-color: #496255; color: #fbf7e8; }
.quill-hero {
  background: radial-gradient(ellipse at 80% 54%, #365e48 0%, transparent 65%), var(--deep);
  color: #fbf7e8;
}
.quill-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.quill-hero h1 { font-size: clamp(2.75rem, 5.4vw, 5.5rem); }
.quill-hero h1 em, .quill-hero .eyebrow { color: var(--gold); }
.quill-intro .lede { margin-top: 1.25rem; max-width: 32rem; color: #e0e9dd; }
.quill-hero .button-outline { border-color: #90a998; color: #fbf7e8; }
.quill-hero .button-outline:hover { background: #355747; }
.product-meta { margin-top: .9rem; font-size: .875rem; color: #d2e1d3; }
.product-meta span { padding-inline: .25rem; }
.hero-shot img, .gallery img { width: 100%; }
.hero-shot a, .gallery a { display: block; border-radius: .65rem; overflow: hidden; }
.hero-shot a { border: 1px solid #78917f; background: #232321; box-shadow: 0 1.5rem 3.25rem #081b1466; }
figcaption { margin-top: .6rem; font-size: .875rem; }
.hero-shot figcaption { color: #e0e9dd; }
.features { padding-block: clamp(3rem, 6vw, 5rem); scroll-margin-top: 1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.8rem; }
.feature-grid article { padding: 1.2rem 0 0; border-top: 1px solid #aab9ab; }
.feature-grid h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.feature-grid p { color: var(--muted); }
.keys { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .8rem; }
.keys kbd {
  min-width: 1.6rem;
  padding: .1rem .25rem;
  text-align: center;
  background: #e6ede3;
  border: 1px solid #bcc9bd;
  border-bottom-width: 2px;
  border-radius: .26rem;
}
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.gallery img { aspect-ratio: 1.65; object-fit: cover; object-position: top; }
.gallery figcaption { color: var(--muted); }
.google-section { background: #e9eee4; border-top: 1px solid var(--line); }
.google-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1.5rem 3rem;
  padding-block: clamp(2.8rem, 6vw, 4.75rem);
}
.google-inner p { margin-bottom: .9rem; max-width: 45rem; }

.profile { padding-block: clamp(3.5rem, 8vw, 6.75rem) 4rem; }
.profile-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 2.5rem; }
.profile-intro .lede { margin-top: 1.35rem; max-width: 30rem; }
.profile-art {
  display: grid;
  place-items: center;
  width: min(100%, 24rem);
  justify-self: end;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #9bab9a;
  background: repeating-radial-gradient(circle at center, transparent 0 1.8rem, #b8c4b5 1.8rem calc(1.8rem + 1px)), #e1eadf;
  color: var(--green);
}
.profile-art span {
  display: grid;
  place-items: center;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid #9bab9a;
  border-radius: 50%;
  background: #e1eadf;
  font: 500 clamp(2.2rem, 6vw, 5rem)/1 var(--serif);
  letter-spacing: -.1em;
  padding-right: .08em;
}
.profile-project {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.8rem, 7vw, 5rem);
  padding: 1.25rem;
  background: #eef0e7;
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.profile-project h2 { font-size: 1.8rem; }
.profile-project p { margin-top: .2rem; color: var(--muted); }

.document { width: min(100% - 3rem, 48rem); padding-block: clamp(2.75rem, 6vw, 5rem) 4rem; }
.document h1 { font-size: clamp(2.65rem, 7.5vw, 5rem); }
.document-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.document-header .lede { margin-top: 1rem; }
.document-date { margin-top: .85rem; font-size: .9rem; color: var(--muted); }
.document section { margin-top: 2.2rem; }
.document h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .65rem; }
.document section p + p, .document li + li { margin-top: .75rem; }
.document ul { padding-inline-start: 1.45rem; }
.document p a { color: var(--green); }

@media (max-width: 58rem) {
  .project-art { left: 47%; }
  .project-art img { left: 18%; top: 33%; }
}
@media (max-width: 44rem) {
  .home-grid, .quill-hero-inner, .feature-grid, .google-inner { grid-template-columns: 1fr; }
  .quill-hero h1 { font-size: clamp(2.75rem, 9vw, 4.5rem); }
  .hero-shot { margin-top: .4rem; }
  .project-art { left: 38%; }
  .project-art img { left: 16%; top: 22%; }
  .profile-intro { grid-template-columns: 1fr; }
  .profile-art { display: none; }
}
@media (max-width: 30rem) {
  .wrap, .document { width: calc(100% - 2rem); }
  .site-header nav { column-gap: .75rem; }
  .site-header nav a { font-size: .875rem; }
  .quill-page .header-inner { column-gap: .9rem; }
  .project-art { opacity: .48; left: 58%; }
  .project-art img { left: 9%; top: 40%; }
  .gallery { grid-template-columns: 1fr; }
  .profile-project { grid-template-columns: auto 1fr; }
  .profile-project > a { grid-column: 2; }
}
