:root {
  --ink: #172322;
  --paper: #f2f0ea;
  --acid: #d8f260;
  --orange: #ef6e3b;
  --muted: #76807a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  font-family: Manrope, sans-serif;
  color: var(--ink);
}
header {
  height: 84px;
  padding: 0 5vw;
  border-bottom: 1px solid #d5d6ce;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
}
.logo {
  font: 500 23px "DM Mono";
  color: inherit;
  text-decoration: none;
  grid-column: 1;
  justify-self: start;
}
.logo span {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 36px;
  grid-column: 2;
  justify-self: center;
}
nav a {
  font-size: 13px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  grid-column: 3;
  justify-self: end;
}
.social {
  display: flex;
  color: var(--ink);
  transition: color 0.2s;
}
.social:hover {
  color: var(--orange);
}
.social svg {
  width: 18px;
  height: 18px;
  display: block;
}
nav a,
.mail,
.copy a,
.about a,
.journal a {
  font: 500 12px "DM Mono";
  letter-spacing: 0.05em;
  color: inherit;
  text-decoration: none;
}
.mail,
.copy a,
.about a,
.journal a {
  color: var(--ink);
}
.mail::first-letter {
}
.menu {
  display: none;
}
.wrap {
  padding-left: 9.5vw;
  padding-right: 9.5vw;
}
.hero {
  min-height: 650px;
  padding-top: 73px;
  position: relative;
  overflow: hidden;
}
.kicker {
  font: 500 12px "DM Mono";
  letter-spacing: 0.08em;
  color: #5c6760;
  margin: 0;
}
.kicker i {
  display: inline-block;
  background: var(--orange);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr;
  margin-top: 68px;
  position: relative;
  z-index: 1;
}
.hero h1,
.about h2,
.journal h2,
footer h2 {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.91;
  letter-spacing: -0.08em;
  margin: 0;
}
.hero em,
.about em,
.journal em,
footer em {
  font-family: "Playfair Display", serif;
}
.intro {
  font-size: 14px;
  line-height: 1.75;
  align-self: end;
  margin: 0 0 5px 28px;
  max-width: 290px;
}
.intro p {
  margin: 0;
}
.resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 500 12px "DM Mono";
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.resume:hover {
  background: var(--ink);
  color: var(--paper);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 86px;
  position: relative;
  z-index: 1;
  font: 10px "DM Mono";
  letter-spacing: 0.05em;
}
.hero-meta a {
  color: inherit;
  text-decoration: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
}
.orb.a {
  background: var(--acid);
  width: 280px;
  height: 280px;
  right: -90px;
  top: 130px;
}
.orb.b {
  background: var(--orange);
  width: 115px;
  height: 115px;
  right: 25%;
  top: 75px;
}
.work {
  background: var(--ink);
  color: #f7f6ef;
  padding-top: 102px;
  padding-bottom: 25px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 85px;
}
.work .kicker {
  color: #a9b0aa;
}
.section-head > p:last-child {
  font-size: 13px;
  line-height: 1.6;
  color: #bdc4bc;
  max-width: 285px;
  margin: 0;
}
.project {
  border-top: 1px solid #40504c;
  padding: 38px 0 85px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 8vw;
}
.project.reverse {
  grid-template-columns: 0.7fr 1.3fr;
}
.copy {
  max-width: 350px;
}
.copy small {
  font: 10px "DM Mono";
  color: var(--acid);
}
.copy h2 {
  font-size: 46px;
  letter-spacing: -0.07em;
  margin: 25px 0 0;
}
.copy sup {
  font-size: 12px;
  color: var(--acid);
}
.copy .type {
  font: 9px "DM Mono";
  color: var(--acid);
  letter-spacing: 0.07em;
  margin: 14px 0 25px;
}
.copy p:not(.type) {
  font-size: 13px;
  color: #c4c9c2;
  line-height: 1.75;
}
.copy a {
  display: inline-block;
  color: #fff;
  margin-top: 7px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.tags span {
  border: 1px solid #56635d;
  border-radius: 20px;
  padding: 6px 9px;
  font: 9px "DM Mono";
  color: #d7dbd4;
}
.frame {
  height: 350px;
  box-shadow: 16px 16px 0 #0f1817;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.frame > small {
  flex: none;
  display: block;
  padding: 9px 13px;
  font: 8px "DM Mono";
  color: #929b96;
  background: #ecece6;
  border-bottom: 1px solid #ddd;
}
.frame img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  display: block;
}
.visual label {
  display: block;
  font: 9px "DM Mono";
  letter-spacing: 0.06em;
  color: #abb4ab;
  margin-top: 13px;
}
.about {
  padding-top: 120px;
  padding-bottom: 115px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.about h2,
.journal h2 {
  font-size: clamp(46px, 5.4vw, 78px);
  margin-top: 39px;
}
.about > div:nth-child(2) {
  padding-top: 74px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.8;
}
.about .lead {
  font-size: 19px;
  line-height: 1.55;
}
.about a {
  display: inline-block;
  margin-top: 20px;
}
.toolkit {
  grid-column: 1/-1;
  border-top: 1px solid #c9ccc3;
  margin-top: 30px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.toolkit small {
  font: 10px "DM Mono";
}
.toolkit p {
  font-size: 14px;
  margin: 0;
  line-height: 2;
}
.journal {
  background: var(--acid);
  padding-top: 100px;
  padding-bottom: 105px;
}
.journal .section-head > a {
  margin-bottom: 8px;
}
.posts {
  border-top: 1px solid #91a857;
}
.posts a {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #98ac5b;
  align-items: center;
}
.posts small {
  font: 9px "DM Mono";
  color: #536331;
}
.posts b {
  font-size: 19px;
  letter-spacing: -0.04em;
  max-width: 500px;
}
.posts span {
  text-align: right;
  font: 10px "DM Mono";
}
.posts span::first-letter {
  color: var(--orange);
}
footer {
  background: var(--ink);
  color: #fbfaf2;
  padding: 105px 0 30px;
}
footer .kicker {
  color: #abb4ab;
}
footer h2 {
  margin-top: 41px;
}
.big-mail {
  display: inline-block;
  color: var(--acid);
  font-size: clamp(19px, 2.2vw, 33px);
  letter-spacing: -0.05em;
  text-decoration: none;
  border-bottom: 1px solid #879763;
  margin-top: 50px;
  padding-bottom: 6px;
}
.bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 120px;
  font: 9px "DM Mono";
  color: #abb4ab;
}
.bottom a {
  color: white;
  text-decoration: none;
}
.blog {
  padding-top: 80px;
  padding-bottom: 100px;
}
.blog > h1 {
  font-size: clamp(55px, 8vw, 115px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin: 50px 0 85px;
}
.blog > h1 em {
  font-family: "Playfair Display";
}
.entry {
  border-top: 1px solid #cbd0c7;
  padding: 35px 0 48px;
  max-width: 760px;
  margin-left: auto;
}
.entry h2 {
  font-size: clamp(28px, 3.5vw, 47px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 15px 0 22px;
}
.entry p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 600px;
}
.entry small {
  font: 10px "DM Mono";
  color: var(--orange);
}
.entry h2 a {
  color: inherit;
  text-decoration: none;
}
.entry h2 a:hover {
  text-decoration: underline;
}
.entry .more {
  display: inline-block;
  font: 500 11px "DM Mono";
  letter-spacing: 0.05em;
  color: var(--orange);
  text-decoration: none;
}
.entry .more:hover {
  text-decoration: underline;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  font: 500 11px "DM Mono";
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
}
.back:hover {
  color: var(--ink);
}
.post {
  padding-top: 55px;
  padding-bottom: 110px;
}
.post > h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 22px 0 55px;
  max-width: 820px;
}
.post > h1 em {
  font-family: "Playfair Display", serif;
}
.post-body {
  max-width: 680px;
}
.post-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 24px;
}
.post-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 55px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 500 11px "DM Mono";
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.post-nav:hover {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 720px) {
  header {
    height: 68px;
    padding: 0 6vw;
  }
  .actions {
    gap: 14px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    grid-column: 1/-1;
    justify-self: stretch;
    flex-direction: column;
    margin-left: 0;
    background: var(--paper);
    border-bottom: 1px solid #d5d6ce;
    box-shadow: 0 16px 28px -18px rgba(23, 35, 34, 0.35);
  }
  nav a {
    padding: 16px 6vw;
    border-top: 1px solid #e5e6df;
  }
  .mail {
    display: none;
  }
  .menu {
    display: block;
    border: 0;
    background: none;
    font-size: 20px;
    padding: 4px 0;
    cursor: pointer;
    color: inherit;
    line-height: 1;
  }
  header.open nav {
    display: flex;
  }
  .wrap {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .hero {
    padding-top: 48px;
    min-height: 630px;
  }
  .hero-grid {
    display: block;
    margin-top: 45px;
  }
  .intro {
    margin: 45px 0 0;
    max-width: 330px;
  }
  .hero-meta {
    margin-top: 56px;
    line-height: 1.7;
  }
  .hero-meta span {
    max-width: 150px;
  }
  .orb.a {
    width: 150px;
    height: 150px;
    top: 265px;
  }
  .orb.b {
    width: 70px;
    height: 70px;
    top: 190px;
  }
  .section-head {
    display: block;
    margin-bottom: 50px;
  }
  .section-head > p:last-child {
    margin-top: 22px;
  }
  .project,
  .project.reverse {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 58px;
  }
  .project.reverse .copy {
    order: 2;
  }
  .project.reverse .visual {
    order: 1;
  }
  .visual {
    width: 100%;
  }
  .frame {
    height: 285px;
  }
  .about {
    display: block;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .about > div:nth-child(2) {
    padding-top: 45px;
  }
  .toolkit {
    display: block;
    margin-top: 62px;
  }
  .toolkit p {
    margin-top: 18px;
  }
  .journal {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .journal .section-head > a {
    display: inline-block;
    margin-top: 28px;
  }
  .posts a {
    grid-template-columns: 1fr 40px;
    gap: 9px;
  }
  .posts small {
    grid-column: 1/-1;
  }
  .posts b {
    font-size: 17px;
  }
  .bottom {
    display: block;
    line-height: 2.8;
    margin-top: 80px;
  }
  .bottom span {
    display: block;
  }
  .entry {
    margin-left: 0;
  }
  .blog {
    padding-top: 55px;
  }
  .blog > h1 {
    margin: 38px 0 65px;
  }
  .post {
    padding-top: 40px;
    padding-bottom: 70px;
  }
  .post > h1 {
    margin: 18px 0 35px;
  }
  .post-body p {
    font-size: 14px;
  }
  .post-nav {
    margin-top: 40px;
  }
}
