:root {
  color-scheme: light;
  --yellow: #ffd400;
  --yellow-soft: #ffe66b;
  --ink: #111111;
  --paper: #fffdf5;
  --paper-deep: #f6f1e5;
  --muted: #5d5d57;
  --coral: #ff5c35;
  --border: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(17, 17, 17, 0.05) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 36px));
  min-height: 100vh;
  margin: 18px auto;
  border: var(--border);
  background: var(--paper);
  box-shadow: 9px 9px 0 rgba(17, 17, 17, 0.12);
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: 68px;
  border-bottom: var(--border);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-right: var(--border);
  background: var(--yellow);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  padding: 0 32px;
}

nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 4px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-mark {
  width: 68px;
  border-left: var(--border);
  background: linear-gradient(135deg, transparent 43%, var(--ink) 44%, var(--ink) 48%, transparent 49%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  min-height: max(570px, calc(100svh - 106px));
  border-bottom: var(--border);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(54px, 7vw, 92px);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 9px 13px 8px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

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

h1 {
  width: max-content;
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.55vw, 4.25rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1.06;
  white-space: nowrap;
}

h1::after {
  display: block;
  width: 70%;
  height: 9px;
  margin-top: -3px;
  background: var(--yellow);
  content: "";
}

.intro {
  max-width: 540px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 580;
  line-height: 1.75;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 250px;
  padding: 17px 20px;
  border: var(--border);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.button-link span {
  font-size: 1.4rem;
  line-height: 0;
}

.button-link:hover,
.button-link:focus-visible {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(4px, 4px);
}

.hero-scribble {
  position: absolute;
  right: 10%;
  bottom: 5%;
  font-family: "Comic Sans MS", cursive;
  font-size: 4.2rem;
  transform: rotate(12deg);
}

.hero-art {
  position: relative;
  min-height: max(570px, calc(100svh - 106px));
  overflow: hidden;
  border-left: var(--border);
  background: var(--yellow);
}

.sun-disc {
  position: absolute;
  z-index: 5;
  top: 14%;
  right: 13%;
  display: flex;
  width: clamp(150px, 17vw, 210px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--ink);
  border-radius: 48% 52% 45% 55% / 53% 42% 58% 47%;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(5deg);
}

.sun-disc span {
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.28em;
}

.sun-disc strong {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.95;
}

.burst {
  position: absolute;
  z-index: 6;
  width: 68px;
  height: 13px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 40%, 100% 60%, 0 100%);
}

.burst-one {
  top: 16%;
  left: 35%;
  transform: rotate(28deg);
}

.burst-two {
  top: 26%;
  left: 29%;
  transform: rotate(6deg);
}

.orbit {
  position: absolute;
  z-index: 4;
  top: 39%;
  left: 17%;
  width: 52%;
  height: 21%;
  border: 5px solid var(--ink);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.black-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 39%;
  background: var(--ink);
}

.grid-paper {
  position: absolute;
  bottom: -3%;
  left: 31%;
  width: 38%;
  height: 34%;
  border: 2px solid var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  transform: rotate(3deg);
}

.tape {
  position: absolute;
  z-index: 8;
  bottom: 7%;
  left: 26%;
  width: 57%;
  height: 62px;
  background: var(--ink);
  clip-path: polygon(3% 6%, 99% 0, 96% 86%, 0 100%);
  transform: rotate(-7deg);
}

.art-label {
  position: absolute;
  z-index: 9;
  right: 5%;
  margin: 0;
  padding: 8px 13px;
  font-size: clamp(0.68rem, 1vw, 0.84rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  transform: rotate(-3deg);
}

.art-label-dark {
  bottom: 24%;
  color: var(--paper);
  background: var(--ink);
}

.art-label-light {
  bottom: 15%;
  border: var(--border);
  background: var(--paper);
}

.art-arrow {
  position: absolute;
  top: 4%;
  right: 5%;
  font-family: "Comic Sans MS", cursive;
  font-size: 4rem;
  transform: rotate(-20deg);
}

.latest {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(64px, 8vw, 105px);
  border-bottom: var(--border);
  background: var(--paper-deep);
}

.section-heading p,
.section-number,
.post-meta,
footer {
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.section-heading p,
.section-number {
  margin-bottom: 13px;
  font-size: 0.68rem;
  font-weight: 850;
}

.section-heading h2 {
  display: inline-block;
  margin: 0;
  padding: 10px 14px 9px;
  border: var(--border);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  transform: rotate(-2deg);
}

.post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  min-height: 390px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.post-card::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 46px;
  height: 46px;
  border-bottom: var(--border);
  border-left: var(--border);
  background: linear-gradient(45deg, var(--yellow) 49%, var(--ink) 50%, var(--ink) 54%, var(--paper) 55%);
  content: "";
}

.post-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-right: var(--border);
  background:
    linear-gradient(135deg, transparent 74%, rgba(17, 17, 17, 0.08) 75%, transparent 76%),
    var(--yellow);
}

.seed {
  position: absolute;
  bottom: 63px;
  left: 50%;
  font-size: 3.8rem;
  transform: translateX(-50%) scaleX(1.7);
}

.stem {
  position: absolute;
  bottom: 107px;
  left: calc(50% - 3px);
  width: 6px;
  height: 92px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-5deg);
  transform-origin: bottom;
}

.leaf {
  position: absolute;
  top: 115px;
  width: 68px;
  height: 34px;
  border: 4px solid var(--ink);
  background: var(--paper);
}

.leaf-left {
  left: calc(50% - 66px);
  border-radius: 90% 10% 90% 10%;
  transform: rotate(18deg);
}

.leaf-right {
  left: calc(50% - 2px);
  border-radius: 10% 90% 10% 90%;
  transform: rotate(-12deg);
}

.post-spark {
  position: absolute;
  top: 48px;
  right: 34px;
  font-size: 3rem;
  transform: rotate(10deg);
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 62px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.post-meta span::before {
  padding-right: 14px;
  content: "●";
}

.post-card h3 {
  max-width: 630px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.4vw, 3.35rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.post-content > p:not(.post-meta) {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.coming-soon {
  align-self: flex-start;
  padding-bottom: 5px;
  border-bottom: 6px solid var(--yellow);
  font-size: 0.82rem;
  font-weight: 850;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  min-height: 530px;
  border-bottom: var(--border);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 105px);
}

.about h2 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 9px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}

.about-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.about-art {
  position: relative;
  overflow: hidden;
  border-left: var(--border);
  background: var(--yellow);
}

.about-art::before {
  position: absolute;
  top: 13%;
  right: -12%;
  width: 78%;
  aspect-ratio: 1;
  border: 5px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.asterisk {
  position: absolute;
  top: 8%;
  left: 9%;
  font-size: 5rem;
  font-weight: 900;
}

.telescope {
  position: absolute;
  z-index: 2;
  top: 41%;
  left: 50%;
  width: 190px;
  height: 130px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.telescope-body {
  position: absolute;
  top: 10px;
  left: 14px;
  width: 145px;
  height: 54px;
  border: 5px solid var(--ink);
  border-radius: 50px 12px 12px 50px;
  background: var(--paper);
  box-shadow: inset 26px 0 0 var(--ink);
}

.telescope-eye {
  position: absolute;
  top: 0;
  right: 2px;
  width: 39px;
  height: 74px;
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: var(--coral);
}

.telescope-leg {
  position: absolute;
  top: 60px;
  width: 6px;
  height: 92px;
  background: var(--ink);
  transform-origin: top;
}

.telescope-leg-left {
  left: 90px;
  transform: rotate(16deg);
}

.telescope-leg-right {
  left: 99px;
  transform: rotate(-13deg);
}

.about-art p {
  position: absolute;
  right: 8%;
  bottom: 8%;
  margin: 0;
  padding: 12px 15px;
  color: var(--paper);
  background: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1.05;
  transform: rotate(3deg);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.65rem;
  font-weight: 800;
}

footer p {
  margin: 0;
}

footer span {
  margin-left: 5px;
}

.not-found .page-shell {
  display: grid;
  min-height: calc(100vh - 36px);
  place-items: center;
  background: var(--yellow);
}

.not-found-card {
  width: min(660px, calc(100% - 40px));
  padding: clamp(36px, 7vw, 72px);
  border: var(--border);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--ink);
}

.not-found-card h1 {
  white-space: normal;
}

.not-found-card h1::after {
  width: 42%;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(100svh - 106px);
  }

  .hero-art {
    min-height: 480px;
    border-top: var(--border);
    border-left: 0;
  }

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

  .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .section-heading p {
    order: 2;
    margin: 0;
  }

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

  .about-art {
    min-height: 430px;
    border-top: var(--border);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: calc(100% - 20px);
    margin: 10px auto;
    box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.13);
  }

  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 58px;
  }

  .brand {
    padding: 0 18px;
    font-size: 1.25rem;
  }

  nav {
    gap: 19px;
    padding: 0 17px;
  }

  .header-mark {
    display: none;
  }

  .hero-copy {
    min-height: calc(100svh - 80px);
    padding: 48px 22px 55px;
  }

  h1 {
    font-size: clamp(2rem, 10.9vw, 3.35rem);
    letter-spacing: -0.085em;
  }

  h1::after {
    height: 7px;
  }

  .intro {
    font-size: 1rem;
  }

  .button-link {
    min-width: min(255px, calc(100vw - 72px));
  }

  .hero-scribble {
    display: none;
  }

  .hero-art {
    min-height: 390px;
  }

  .sun-disc {
    top: 12%;
    right: 8%;
    width: 145px;
  }

  .burst-one,
  .burst-two {
    left: 22%;
  }

  .art-arrow {
    font-size: 3rem;
  }

  .latest,
  .about-copy {
    padding: 58px 22px 64px;
  }

  .section-heading {
    align-items: flex-end;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .post-card {
    grid-template-columns: 1fr;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .post-visual {
    min-height: 245px;
    border-right: 0;
    border-bottom: var(--border);
  }

  .leaf {
    top: 70px;
  }

  .stem {
    bottom: 72px;
  }

  .seed {
    bottom: 30px;
  }

  .post-content {
    padding: 34px 24px 40px;
  }

  .post-card h3 {
    font-size: 2rem;
  }

  .about-art {
    min-height: 360px;
  }

  .about h2 {
    font-size: 2.35rem;
  }

  footer {
    padding: 20px 18px;
  }
}

@media (max-width: 370px) {
  nav {
    gap: 12px;
    padding: 0 12px;
  }

  nav a {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
