@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #202823;
  --muted: #727873;
  --paper: #f6f5f1;
  --line: #e5e5de;
  --green: #315c49;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.header-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.header-link span { margin-left: 6px; color: var(--green); }

.hero {
  position: relative;
  width: min(1160px, calc(100% - 72px));
  min-height: 490px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy { padding: 48px 0 62px; }

.eyebrow,
.project-number {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77a383;
  box-shadow: 0 0 0 4px #e6eee7;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: "Manrope", sans-serif; }

h1 {
  margin: 26px 0 18px;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

h1 span { color: var(--green); }

.hero-description {
  max-width: 390px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid #a8b6aa;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero-art {
  position: relative;
  height: 410px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #e6e5dc;
  border-radius: 50%;
}

.orbit-two { width: 390px; height: 390px; border-color: #eeede6; }

.art-sun {
  position: absolute;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: #e7eadb;
  transform: translate(38px, -24px);
}

.art-card {
  position: absolute;
  width: 174px;
  height: 232px;
  border-radius: 8px;
  box-shadow: 0 22px 55px #3342361c;
}

.card-back {
  padding: 26px 20px;
  background: #cbd8cb;
  transform: translate(33px, -2px) rotate(10deg);
}

.card-back span {
  display: block;
  height: 2px;
  margin: 13px 0;
  background: #a9bcae;
}

.card-front {
  display: flex;
  flex-direction: column;
  padding: 25px 21px;
  background: #fffefa;
  transform: translate(-22px, 15px) rotate(-7deg);
}

.card-star { color: #76957e; font-size: 23px; }
.card-line { width: 88%; height: 2px; margin-top: 20px; background: #e6e5dc; }
.card-line.short { width: 58%; margin-top: 8px; }
.card-note { width: 100%; height: 54px; margin-top: auto; border-radius: 4px; background: #f0f0e9; }
.art-spark { position: absolute; color: #708b74; font-size: 26px; }
.spark-one { top: 75px; right: 75px; }
.spark-two { bottom: 63px; left: 65px; font-size: 48px; }

.hero-index {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #a1a49d;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.hero-index span:first-child { color: var(--green); }
.index-rule { width: 34px; height: 1px; background: #c7cac1; }

.projects {
  width: min(1160px, calc(100% - 72px));
  margin: 0 auto;
  padding: 78px 0 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 27px;
}

.section-heading .eyebrow { margin-bottom: 10px; }

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.065em;
}

.section-note { margin-bottom: 5px; color: var(--muted); font-size: 12px; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.project-card {
  min-width: 0;
  padding: 21px 22px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf7;
  overflow: hidden;
}

.project-topline { display: flex; align-items: center; justify-content: space-between; }
.project-number { font-size: 9px; }
.project-arrow { color: #a3aaa1; font-size: 17px; }

.project-art {
  position: relative;
  height: 210px;
  margin: 10px 0 4px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.book-art { background: radial-gradient(ellipse at 50% 55%, #edf0e8 0, #f5f5ef 52%, transparent 53%); }
.book-shadow { position: absolute; bottom: 32px; width: 205px; height: 27px; border-radius: 50%; background: #dfe3d9; filter: blur(7px); }
.book {
  position: relative;
  width: 130px;
  height: 170px;
  display: flex;
  flex-direction: column;
  padding: 17px 15px;
  border-radius: 4px 9px 9px 4px;
  background: linear-gradient(100deg, #315b48 0%, #39694f 92%, #264b3a 93%);
  color: #f4f0dc;
  box-shadow: 7px 10px 18px #3042352b;
  transform: rotate(-7deg);
}

.book-spark { font-size: 15px; }
.book-title { margin-top: 16px; font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.2; letter-spacing: -0.05em; }
.book-rule { width: 100%; height: 1px; margin-top: 12px; background: #ffffff61; }
.book-mark { margin-top: auto; align-self: end; font-family: Georgia, serif; font-size: 14px; }
.book-orbit { position: absolute; width: 192px; height: 192px; border: 1px solid #dfe5d9; border-radius: 50%; }

.converter-art { background: radial-gradient(ellipse at 50% 52%, #e8eeeb 0, #f4f5f1 55%, transparent 56%); }
.converter-glow { position: absolute; width: 205px; height: 150px; border: 1px solid #dce5de; border-radius: 50%; transform: rotate(-27deg); }
.conversion-tile {
  position: absolute;
  z-index: 1;
  width: 92px;
  height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px;
  border: 1px solid #e4e7df;
  border-radius: 7px;
  background: #fffefa;
  box-shadow: 0 10px 25px #34423812;
  color: #758078;
  font-size: 11px;
}

.conversion-tile i { color: #9aae9f; font-size: 12px; font-style: normal; }
.conversion-tile strong { color: var(--green); font-size: 12px; }
.tile-one { transform: translate(-47px, -31px) rotate(-8deg); }
.tile-two { transform: translate(48px, 3px) rotate(7deg); }
.tile-three { transform: translate(-22px, 48px) rotate(-3deg); }

.project-details {
  min-height: 129px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

h3 { margin-bottom: 7px; font-size: 20px; font-weight: 700; letter-spacing: -0.05em; }
.project-details p { max-width: 285px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.card-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.card-link span:last-child { font-size: 17px; transition: transform 160ms ease; }
.card-link:hover span:last-child { transform: translateX(3px); }

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer-wordmark { font-size: 12px; }
.footer-wordmark .brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
.site-footer p,
.copyright { margin: 0; color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .projects { width: min(100% - 40px, 540px); }

  .site-header { height: 72px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 35px; }
  .hero-copy { padding: 23px 0 0; }
  h1 { margin-top: 20px; font-size: clamp(48px, 12vw, 66px); }
  .hero-description { max-width: 460px; font-size: 14px; }
  .hero-art { height: 320px; margin-top: -2px; }
  .orbit { width: 250px; height: 250px; }
  .orbit-two { width: 320px; height: 320px; }
  .hero-index { bottom: 18px; }
  .projects { padding: 62px 0 68px; }
  .project-grid { grid-template-columns: 1fr; gap: 15px; }
  .project-art { height: 200px; }
  .project-details { min-height: 112px; }
}

@media (max-width: 430px) {
  .section-note { display: none; }
  .project-card { padding-right: 17px; padding-left: 17px; }
  .project-details { align-items: flex-start; flex-direction: column; gap: 13px; }
  .project-details p { max-width: 310px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 10px 18px; padding: 20px 0; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
