/* System fonts, CSS decoration, and no browser dependencies. */
:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --ink: #242e2c;
  --muted: #55615b;
  --accent: #285e4f;
  --rule: #d5dbd3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid var(--accent); }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
::selection { background: #d3e1c8; color: var(--ink); }
.page { max-width: 1056px; margin-inline: auto; padding: clamp(48px, 8vh, 88px) 40px 32px; }
.introduction {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 31px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.065em;
}
h1 span { color: var(--accent); }
.role {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}
p { margin: 0; }
.about { display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: start; }
.opening {
  font-size: clamp(21px, 2.5vw, 25px);
  line-height: 1.6;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.background, .project p { font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.background { color: var(--muted); }
.project {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  column-gap: 48px;
  margin-top: 45px;
  padding: 38px 40px 32px;
  color: #f4f5ed;
  background: #243f36;
  border-radius: 3px;
  overflow: hidden;
}
/* A small rhythmic motif gives the publication its own visual identity. */
.project::before {
  content: "";
  position: absolute;
  bottom: 35px;
  left: 42px;
  width: 104px;
  height: 30px;
  opacity: .55;
  background: linear-gradient(#adc49e,#adc49e) 0 50% / 3px 12px no-repeat,
    linear-gradient(#adc49e,#adc49e) 14px 50% / 3px 24px no-repeat,
    linear-gradient(#adc49e,#adc49e) 28px 50% / 3px 17px no-repeat,
    linear-gradient(#adc49e,#adc49e) 42px 50% / 3px 30px no-repeat,
    linear-gradient(#adc49e,#adc49e) 56px 50% / 3px 10px no-repeat,
    linear-gradient(#adc49e,#adc49e) 70px 50% / 3px 21px no-repeat,
    linear-gradient(#adc49e,#adc49e) 84px 50% / 3px 14px no-repeat;
}
h2 {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.project p { grid-column: 2; color: #d5dfd4; }
.project-link {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 10px 0;
  color: #f4f5ed;
  font-size: 15px;
  font-weight: 600;
  text-decoration-color: #9fb59d;
}
.project-link span { font-size: 21px; line-height: 1; }
footer { margin-top: 24px; }
footer nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
footer a { padding: 12px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
footer a:hover { color: var(--accent); text-decoration: underline; }
.separator { color: #7b8580; font-size: 12px; }
.skip-link { position: absolute; left: 16px; top: -100px; }
.skip-link:focus { top: 16px; padding: 8px; background: var(--paper); z-index: 1; }
@media (max-width: 760px) {
  .page { padding: 44px 28px 24px; }
  .introduction { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 27px; margin-bottom: 28px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .project { grid-template-columns: 1fr; gap: 0; margin-top: 32px; padding: 30px 28px 24px; }
  h2 { grid-column: 1; grid-row: auto; margin-bottom: 18px; padding-right: 32px; }
  .project p, .project-link { grid-column: 1; }
  .project::before { left: auto; right: 24px; top: 31px; bottom: auto; width: 17px; height: 30px; }
  footer nav { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .page { padding-inline: 20px; }
  h1 { font-size: 60px; }
  .project { padding-inline: 22px; }
}
@media print {
  :root { background: white; color: black; }
  body { border: 0; }
  .page { padding: 0; max-width: none; }
  .project { background: white; color: black; border: 1px solid #ccc; }
  .project p, .project-link { color: black; }
  .project::before, .skip-link { display: none; }
}
