@import url("amekaji-guide.css?v=20260618-reviewed");

:root {
  --ink: #1b1a17;
  --paper: #f2efe7;
  --white: #fffef9;
  --indigo: #31536a;
  --brass: #9d7738;
  --red: #8b3f39;
  --muted: #625f57;
  --line: rgba(27, 26, 23, .18);
}

body {
  background:
    linear-gradient(rgba(49, 83, 106, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 29px;
}

.nerdcore-hero > img { object-position: center; }
.nerdcore-hero .article-hero__shade {
  background:
    linear-gradient(90deg, rgba(9, 12, 13, .77), rgba(9, 12, 13, .53) 42%, rgba(9, 12, 13, .03) 72%),
    linear-gradient(0deg, rgba(9, 12, 13, .38), transparent 48%);
}
.nerdcore-hero h1 { font-weight: 600; }
.nerdcore-foundations article { min-height: 230px; }
.nerdcore-foundations article:last-child { grid-column: auto; }
.nerdcore-shop { background: #2f4d4a; }

.nerd-p1 i:first-child { background: #655044; }
.nerd-p1 i:nth-child(2) { background: #7795ac; }
.nerd-p1 i:last-child { background: #626950; }
.nerd-p2 i:first-child { background: #aaa9a2; }
.nerd-p2 i:nth-child(2) { background: #f4f0e5; }
.nerd-p2 i:last-child { background: #b6a17e; }
.nerd-p3 i:first-child { background: #314d43; }
.nerd-p3 i:nth-child(2) { background: #d7e1e5; }
.nerd-p3 i:last-child { background: #243b50; }

@media (max-width: 620px) {
  .nerdcore-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding-top: 68px;
    background: #111616;
  }
  .nerdcore-hero > img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    order: 1;
  }
  .nerdcore-hero .article-hero__shade { display: none; }
  .nerdcore-hero .article-hero__copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 2;
    padding: 30px 20px 48px;
  }
  .nerdcore-hero h1 { font-size: clamp(2.8rem, 13.5vw, 4rem); }
  .nerdcore-hero .hero-description { display: none; }
}
