:root {
  --accent: #d25632;
  --accent-soft: #f6e5db;
  --muted: #777d85;
  --line: #dedfe3;
  background: #f8f8f6;
  color: #202b3d;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding-left: 38px;
  padding-right: 38px;
}
header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
}
.mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #22334a;
  color: white;
  margin-right: 5px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 65px 0 80px;
}
.hero h1 {
  font-size: clamp(46px, 5.9vw, 76px);
  line-height: 1.08;
  letter-spacing: -4px;
  margin: 24px 0;
}
.hero h1 span {
  color: var(--accent);
}
.intro {
  max-width: 470px;
  color: #657080;
  font-size: 16px;
  margin-bottom: 26px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  font-size: 10px;
  color: #828896;
}
.hero-meta strong {
  display: block;
  color: #253349;
  font-size: 20px;
  margin-bottom: 4px;
}
.hero-art {
  height: 380px;
  background: #e8edf0;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.orbit {
  border: 1px solid #ccd5de;
  border-radius: 50%;
  position: absolute;
  width: 400px;
  height: 400px;
}
.o2 {
  width: 280px;
  height: 280px;
}
.art-label {
  position: absolute;
  top: 25px;
  left: 26px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #718291;
}
.mini-window {
  background: white;
  width: 265px;
  transform: rotate(-8deg);
  box-shadow: 10px 22px 35px #26364b22;
  border-radius: 12px;
  padding: 20px;
}
.window-dots {
  color: #bbc4ce;
  font-size: 12px;
}
.mini-row {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.mini-row span {
  width: 70px;
  height: 27px;
  border-radius: 5px;
  background: #edf0f4;
}
.mini-row span:first-child {
  background: #d2563230;
  width: 120px;
}
.mini-graph {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 93px;
  border-bottom: 2px solid #e8eaf0;
}
.mini-graph i {
  background: #d25632;
  width: 30px;
  height: 40%;
  border-radius: 5px 5px 0 0;
}
.mini-graph i:nth-child(2) {
  height: 62%;
  background: #243b59;
}
.mini-graph i:nth-child(3) {
  height: 51%;
  background: #809ab6;
}
.mini-graph i:nth-child(4) {
  height: 88%;
  background: #243b59;
}
.mini-graph i:nth-child(5) {
  height: 73%;
}
.mini-text {
  margin-top: 20px;
  width: 70%;
  height: 7px;
  background: #e5eaf0;
  border-radius: 8px;
}
.code-sticker {
  position: absolute;
  right: 18px;
  bottom: 61px;
  background: #24364e;
  color: white;
  transform: rotate(8deg);
  padding: 17px;
  border-radius: 12px;
  font-family: monospace;
  font-size: 18px;
}
.star {
  position: absolute;
  color: #d25632;
  font-size: 85px;
  top: 37px;
  right: 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-head h2 {
  font-size: 29px;
  margin: 10px 0 22px;
}
.search input {
  width: 295px;
  background: white;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 5px 0 20px;
}
.filters button {
  padding: 8px 17px;
  font-size: 12px;
  border-radius: 30px;
}
.filters [aria-pressed="true"] {
  background: #24364e;
  color: white;
  border-color: #24364e;
}
#result-count {
  font-size: 12px;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 22px;
}
.project {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: white;
}
.project-preview {
  display: block;
  position: relative;
  width: 100%;
  height: 195px;
  border: 0;
  border-radius: 0;
  background: var(--card-color);
  text-align: left;
  padding: 22px;
  overflow: hidden;
}
.project-preview:hover {
  background: var(--card-color);
  filter: brightness(0.96);
}
.preview-id {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #3e4b5788;
}
.project-symbol {
  display: grid;
  place-items: center;
  font-size: 47px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  transform: rotate(-10deg);
  background: #ffffffa6;
  box-shadow: 7px 8px 0 #24364e14;
  margin: 16px auto 0;
  color: #24364e;
}
.preview-line {
  position: absolute;
  width: 85px;
  height: 6px;
  background: #24364e16;
  left: 22px;
  bottom: 27px;
  border-radius: 5px;
}
.preview-line.short {
  width: 45px;
  bottom: 15px;
}
.preview-open {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 20px;
}
.project-body {
  padding: 23px;
}
.category-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}
.small-status {
  font-size: 9px;
  color: #7c8793;
}
.project h3 {
  margin: 12px 0 8px;
}
.title-button {
  border: 0;
  padding: 0;
  background: none;
  font-family: Manrope;
  font-size: 21px;
  letter-spacing: -0.8px;
}
.title-button:hover {
  background: none;
}
.project-body > p {
  font-size: 13px;
  color: #77818d;
  min-height: 42px;
  margin: 0 0 20px;
}
.project-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  border-top: 1px solid #eef0f2;
  padding-top: 15px;
}
.project-links a {
  text-decoration: none;
  color: #6d7885;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  color: #22364d;
}
.text-button:hover {
  background: none;
}
.about {
  margin: 70px 0 50px;
  padding: 34px 38px;
  background: #ebedf0;
  border-radius: 15px;
}
.about h2 {
  font-size: 25px;
}
.about p:not(.eyebrow) {
  max-width: 800px;
  color: #637081;
  font-size: 14px;
}
.about a {
  font-size: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 35px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
dialog h2 {
  font-size: 32px;
  margin-top: 15px;
}
dialog li {
  line-height: 2;
}
dl {
  font-size: 13px;
}
dt {
  color: var(--muted);
  margin-top: 15px;
}
dd {
  margin: 5px 0 20px;
}
#close-detail {
  margin-top: 25px;
  width: 100%;
}
@media (max-width: 900px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    gap: 25px;
  }
  .hero-art {
    height: 340px;
  }
  .hero-meta {
    gap: 18px;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
}
@media (max-width: 650px) {
  header,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  header {
    height: 80px;
  }
  nav {
    gap: 16px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 0 45px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-art {
    height: 290px;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .search input {
    width: 100%;
    margin-bottom: 20px;
  }
  .about {
    padding: 25px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin: 8px 0;
  }
}
