@font-face {
  font-family: Poppins;
  src: url("/_portal/fonts/poppins-400.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/_portal/fonts/poppins-500.ttf");
  font-weight: 500;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f8f7;
  color: #17231d;
  font-family: Poppins, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
header,
main,
footer {
  max-width: 1340px;
  margin: auto;
}
header {
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
}
.brand {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  background: #203e2a;
  color: #bfff70;
  border-radius: 11px;
  font-size: 32px;
  line-height: 1;
  padding-bottom: 5px;
}
.brand-sub {
  color: #95a197;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 7px;
}
.header-note {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8b978e;
}
.header-link {
  font-size: 13px;
  border-bottom: 1px solid #a8b9ac;
  padding-bottom: 5px;
}
.header-link span {
  margin-left: 25px;
}
main {
  padding: 0 45px;
}
.hero {
  padding: 78px 0 65px;
}
.eyebrow {
  font-size: 11px;
  color: #768778;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  background: #6ac06b;
  border-radius: 50%;
}
h1 {
  font-size: 70px;
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -2px;
  margin: 25px 0 30px;
}
h1 > span {
  color: #87988c;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-bottom p {
  font-size: 15px;
  color: #829086;
  line-height: 1.9;
  margin: 0;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 25px;
}
.hero-meta b {
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -3px;
}
.hero-meta span {
  font-size: 11px;
  color: #829086;
  line-height: 1.9;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-top: 1px solid #e0e5df;
}
h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
h2 span {
  font-size: 10px;
  color: #859087;
  padding: 2px 6px;
  background: #eaf0e8;
  border-radius: 4px;
  margin-left: 9px;
  vertical-align: middle;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #829486;
  font-size: 23px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 12px;
  width: 165px;
  color: #344b3a;
}
.search input:focus {
  border-bottom: 1px solid #9aab9c;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.project-card {
  display: block;
  background: white;
  border: 1px solid #e1e7df;
  border-radius: 17px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px #2546320b;
}
.cover {
  height: 310px;
  background: #e9eee8;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover img {
  width: 90%;
  height: auto;
  max-height: 270px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px #28433215;
  transition: transform 0.4s;
}
.project-card:hover .cover img {
  transform: scale(1.025);
}
.cover .initial {
  font-size: 100px;
  color: #8dba96;
  letter-spacing: -8px;
}
.cover-label {
  position: absolute;
  top: 17px;
  left: 17px;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #ffffffd9;
  color: #617065;
}
.project-info {
  padding: 25px;
}
.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-title h3 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0;
}
.enter {
  width: 35px;
  height: 35px;
  border: 1px solid #dce6db;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.project-card:hover .enter {
  background: #d2f5b8;
  border-color: #d2f5b8;
}
.subtitle {
  font-size: 12px;
  color: #89968d;
  margin: 3px 0 17px;
}
.description {
  font-size: 13px;
  color: #748278;
  line-height: 1.8;
  margin: 0 0 22px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  padding: 4px 9px;
  border: 1px solid #e5eae4;
  border-radius: 6px;
  font-size: 10px;
  color: #839087;
}
.project-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.path {
  font-size: 11px;
  color: #a4afa6;
}
.note {
  margin: 55px 0 65px;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 27px 30px;
  background: #eef2ec;
  border: 1px solid #e4e9e1;
  border-radius: 12px;
}
.note-icon {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  background: #dde9d7;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #5c7858;
}
.note h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 7px;
}
.note p {
  font-size: 12px;
  color: #8a9589;
  line-height: 1.8;
  margin: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e1e6df;
  padding: 35px 45px;
  color: #8c978e;
  font-size: 11px;
}
footer .brand {
  font-size: 22px;
  color: #617367;
}
footer .brand-sub {
  font-size: 14px;
}
.loading,
.empty {
  font-size: 14px;
  color: #7d8b80;
  padding: 50px;
  text-align: center;
  background: #eef3ec;
  border-radius: 12px;
}
.empty button {
  border: 1px solid #b9c7b4;
  border-radius: 7px;
  padding: 9px 18px;
  background: white;
  color: #3f5941;
  cursor: pointer;
  margin-top: 15px;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid #5f9b64;
  outline-offset: 5px;
}
@media (max-width: 800px) {
  header {
    padding: 0 24px;
    height: 90px;
  }
  .header-note {
    display: none;
  }
  main {
    padding: 0 24px;
  }
  .hero {
    padding: 50px 0;
  }
  h1 {
    font-size: 47px;
  }
  .hero-bottom p {
    font-size: 13px;
  }
  .hero-meta {
    gap: 12px;
  }
  .hero-meta b {
    font-size: 43px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .cover {
    height: 300px;
  }
  .cover img {
    max-height: 270px;
  }
  footer {
    padding: 25px 24px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .note {
    padding: 22px;
    gap: 18px;
  }
}
@media (max-width: 450px) {
  h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }
  .hero-meta {
    display: none;
  }
  .section-title h2 {
    font-size: 14px;
  }
  .search input {
    width: 128px;
    font-size: 11px;
  }
  .brand {
    font-size: 24px;
  }
  .header-link {
    font-size: 11px;
  }
  .header-link span {
    margin-left: 10px;
  }
  .cover {
    height: 230px;
  }
  .cover img {
    max-height: 195px;
  }
  .project-info {
    padding: 22px;
  }
  .note-icon {
    display: none;
  }
  .note {
    margin: 35px 0;
  }
  .hero {
    padding-top: 38px;
  }
  .project-title h3 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* A compact project directory keeps the first demo within reach. */
header { height: 96px; }
.hero { padding: 42px 0 36px; }
h1 { font-size: 54px; line-height: 1.2; margin: 19px 0 23px; }
.hero-meta b { font-size: 44px; }
.cover { height: 258px; }
.cover img { max-height: 230px; }
@media(max-width:800px) { header { height: 80px; } .hero { padding: 30px 0; } h1 { font-size: 43px; } .hero-bottom p { font-size: 12px; } .hero-meta { display:none; } .cover { height:250px; } }
@media(max-width:450px) { h1 { font-size:36px; } .cover { height:215px; } .cover img { max-height:190px; } }
