:root {
  --bg: #eeeeee;
  --ink: #050505;
  --muted: #5c6675;
  --paper: #ffffff;
  --pink: #f15fb2;
  --blue: #3f86f4;
  --green: #48dc7d;
  --yellow: #ffda28;
  --cream: #fffbe8;
  --shadow: 7px 8px 0 #050505;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(#d5d5d5 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 18px 20px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 70px);
  width: min(680px, 100%);
  min-height: 58px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding: 4px 8px;
}

.site-nav a.active {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.mail-link {
  min-width: 34px;
  font-size: 22px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
  min-height: 620px;
  padding: 92px 0 66px;
}

.hero-title,
.page-title h1,
.product-head h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line:first-child {
  white-space: nowrap;
}

.marker {
  display: inline-block;
  padding: 0 14px 4px;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1deg);
}

.marker-pink {
  background: var(--pink);
}

.marker-blue {
  color: #fff;
  background: var(--blue);
}

.marker-green {
  background: var(--green);
}

.marker-yellow {
  background: var(--yellow);
}

.hero-text {
  max-width: 580px;
  color: #263140;
  font-size: 18px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 24px;
  padding: 0 28px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 6px 0 rgba(5, 5, 5, 0.35);
  font-weight: 900;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-light {
  background: var(--paper);
}

.portrait-card {
  display: grid;
  min-height: 300px;
  place-items: center;
  background: #fffdf3;
  border: 3px solid var(--ink);
  border-radius: 38px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait {
  position: relative;
  width: 210px;
  height: 250px;
}

.hair {
  position: absolute;
  top: 0;
  left: 29px;
  width: 152px;
  height: 152px;
  background: var(--ink);
  border-radius: 48% 48% 42% 42%;
}

.face {
  position: absolute;
  top: 56px;
  left: 58px;
  width: 94px;
  height: 92px;
  background: #ffd6c4;
  border: 3px solid var(--ink);
  border-radius: 46%;
}

.eye {
  position: absolute;
  top: 34px;
  width: 19px;
  height: 19px;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.eye.left {
  left: 18px;
}

.eye.right {
  right: 18px;
}

.smile {
  position: absolute;
  left: 34px;
  bottom: 22px;
  width: 27px;
  height: 13px;
  border-bottom: 4px solid var(--ink);
  border-radius: 0 0 24px 24px;
}

.body-shape {
  position: absolute;
  left: 14px;
  bottom: 0;
  width: 184px;
  height: 112px;
  background: linear-gradient(90deg, var(--pink) 0 50%, var(--blue) 50%);
  border: 3px solid var(--ink);
  border-radius: 80px 80px 0 0;
}

.split-section,
.section,
.page-shell {
  padding: 82px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 70px;
  align-items: start;
}

.section-title,
.center-title {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
}

.split-section p,
.center-subtitle,
.page-title p,
.product-head p {
  color: #344052;
  font-size: 18px;
  font-weight: 600;
}

.id-card {
  padding: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.id-head {
  display: flex;
  justify-content: space-between;
  margin: -22px -22px 18px;
  padding: 18px 22px;
  background: var(--green);
  border-bottom: 3px solid var(--ink);
  border-radius: 20px 20px 0 0;
}

.id-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
}

.mini-avatar,
.tile-icon {
  display: grid;
  place-items: center;
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 900;
}

.mini-avatar {
  height: 88px;
  font-size: 30px;
}

.id-fields {
  display: grid;
  gap: 9px;
}

.id-fields span,
.id-code {
  padding: 9px 12px;
  background: #fff38c;
  border: 3px solid var(--ink);
  border-radius: 9px;
  font-weight: 800;
}

.id-fields span:nth-child(2) {
  background: #e7f0ff;
}

.id-fields span:nth-child(3) {
  background: #ebd7ff;
}

.about-page {
  width: min(1120px, calc(100% - 40px));
}

.about-intro {
  padding-top: 110px;
}

.statement {
  width: min(650px, 100%);
  margin: 0 auto 84px;
  padding: 26px 34px;
  background: #ffe45e;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.statement span {
  display: inline-flex;
  margin-top: -48px;
  padding: 4px 9px;
  background: var(--paper);
  border: 3px solid var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.statement p {
  margin: 6px 0 14px;
  font-size: 30px;
  font-weight: 500;
}

.statement strong {
  display: block;
  font-size: 18px;
}

.timeline-card {
  padding: clamp(24px, 5vw, 54px);
  background:
    linear-gradient(#ececec 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, #ececec 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper);
  border: 3px solid var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.timeline-card h2 {
  margin-bottom: 36px;
  text-align: center;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
}

.timeline {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}

.timeline article {
  padding: 18px 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--blue);
  font-weight: 800;
}

.timeline article:nth-child(2) {
  box-shadow-color: var(--pink);
}

.timeline article:nth-child(3) {
  box-shadow-color: var(--green);
}

.timeline span {
  display: inline-flex;
  margin-right: 12px;
  padding: 3px 8px;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  font-size: 12px;
}

.center-title,
.center-subtitle {
  text-align: center;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(720px, 100%);
  margin: 52px auto 0;
}

.neo-card,
.media-card,
.journal-card,
.workshop-card,
.search-box {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.neo-card {
  min-height: 210px;
  padding: 34px;
}

.tile-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
}

.neo-card h3,
.media-card h3,
.journal-card h2,
.workshop-card h2 {
  font-size: 26px;
  line-height: 1.2;
}

.coming-card {
  display: grid;
  place-items: center;
  color: #9aa3b0;
  text-align: center;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 42px;
}

.label-title {
  display: inline-block;
  margin: 0;
  padding: 0 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--pink);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.2;
}

.label-blue {
  box-shadow-color: var(--blue);
}

.text-link {
  font-weight: 900;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.media-card {
  overflow: hidden;
}

.media,
.journal-image {
  min-height: 165px;
  border-bottom: 3px solid var(--ink);
}

.media-pink,
.image-one {
  background: linear-gradient(135deg, #ffd1e7, #7bb7f8);
}

.media-blue,
.image-two {
  background: #a9dcfb;
}

.media-sky,
.image-three {
  background: linear-gradient(#9ed7ff, #ffffff 45%, #2f85d8);
}

.image-four {
  background: linear-gradient(135deg, #101010, #264a76);
}

.media-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  padding: 2px 8px;
  background: var(--pink);
  border: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.page-shell {
  width: min(980px, calc(100% - 40px));
  min-height: 70vh;
}

.page-title {
  margin: 72px 0 40px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
}

.search-box span {
  font-size: 32px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.search-box input::placeholder {
  color: #9aa3b0;
}

.article-stack {
  display: grid;
  gap: 34px;
  margin-top: 48px;
}

.journal-card {
  display: grid;
  grid-template-columns: 285px 1fr 62px;
  align-items: center;
  min-height: 180px;
  overflow: hidden;
}

.journal-card.warm {
  background: var(--cream);
}

.journal-image {
  height: 100%;
  border-right: 3px solid var(--ink);
  border-bottom: 0;
}

.journal-content {
  padding: 28px;
}

.journal-content p:first-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.arrow-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-right: 24px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.arrow-button.dark {
  color: #fff;
  background: var(--ink);
}

.load-more {
  width: fit-content;
  margin: 72px auto 0;
  padding: 18px 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  font-weight: 900;
}

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: end;
  margin: 92px 0 70px;
}

.search-box.compact {
  min-height: 72px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.workshop-card {
  min-height: 330px;
  padding: 34px;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 218, 40, 0.22) 28% 58%, transparent 58%),
    var(--paper);
}

.workshop-card.green {
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(72, 220, 125, 0.22) 28% 58%, transparent 58%),
    var(--paper);
}

.workshop-card.pink {
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(241, 95, 178, 0.22) 28% 58%, transparent 58%),
    var(--paper);
}

.serial {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 5px 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  font-weight: 900;
}

.workshop-card small {
  display: block;
  margin-top: 18px;
  color: #a5adba;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
  background: #fbfbfb;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: slide 24s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  gap: 34px;
}

.ticker span {
  min-width: 130px;
  padding: 7px 18px;
  background: #bde5ff;
  border: 3px solid var(--ink);
  border-radius: 5px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  text-align: center;
}

.ticker span:nth-child(2n) {
  background: #fff38c;
}

.ticker span:nth-child(3n) {
  background: #a9f3c6;
}

.ticker span:nth-child(4n) {
  background: #ff9cd0;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-33.333% - 22.666px));
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 52px;
  padding: 82px max(40px, calc((100vw - 1120px) / 2)) 46px;
  color: #fff;
  background: #000;
}

.site-footer h2 {
  font-size: 30px;
  line-height: 1.2;
}

.site-footer h3 {
  display: inline-block;
  border-bottom: 3px solid var(--pink);
}

.site-footer a {
  display: block;
  margin: 12px 0;
  color: #b9c2cf;
}

.site-footer p {
  color: #93a0b1;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.copyright {
  grid-column: 1 / -1;
  margin: 40px 0 0;
  padding-top: 30px;
  border-top: 1px solid #202a36;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    top: 0;
    padding-top: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    border-radius: 24px;
  }

  .hero,
.split-section,
.product-head,
.journal-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .journal-image {
    min-height: 190px;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .arrow-button {
    margin: 0 0 24px 28px;
  }

  .cards-three,
  .workshop-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 28px;
  }
}

@media (max-width: 620px) {
  main,
  .page-shell {
    width: min(100% - 26px, 1120px);
  }

  .hero-title,
  .page-title h1,
  .product-head h1 {
    font-size: 44px;
  }

  .hero-line:first-child {
    white-space: normal;
  }

  .creation-grid {
    grid-template-columns: 1fr;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .portrait-card {
    min-height: 260px;
  }
}
