:root {
  --paper: #f4f0e7;
  --paper-light: #fbf8f1;
  --ink: #171716;
  --muted: #6e6a62;
  --line: #d8d0c2;
  --electric: #ff5a36;
  --electric-dark: #d83c1d;
  --lime: #d8ef65;
  --content-width: 1320px;
  --font-sans:
    'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 18px;
}

.site-header {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--electric);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}
.brand-name {
  font-size: 19px;
  letter-spacing: 0.02em;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 15px;
}
.desktop-nav a {
  position: relative;
  padding: 31px 0;
  color: #3f3c37;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 2px;
  background: var(--electric);
  transition: right 0.2s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current='page']::after {
  right: 0;
}
.header-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.header-action:hover {
  transform: translate(-2px, -2px);
  background: var(--ink);
  color: #fff;
}

.hero-section {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
  padding: 70px 0 58px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.eyebrow span {
  min-width: 35px;
  height: 26px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  transform: rotate(-2deg);
}
.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-wrap: balance;
}
.hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: #504c45;
  font-size: 18px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 750;
}
.button-primary {
  background: var(--ink);
  color: #fff;
}
.button-primary:hover {
  background: var(--electric);
}
.button-quiet:hover {
  background: #fff;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 46px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  min-width: 0;
}
.hero-facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}
.hero-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  min-height: 590px;
}
.hero-frame {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 18px 18px 0 var(--lime);
}
.frame-main {
  position: absolute;
  inset: 22px 28px 24px 42px;
  transform: rotate(1.6deg);
}
.frame-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, transparent 45%, rgb(23 23 22 / 12%));
  pointer-events: none;
}
.frame-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}
.floating-card {
  position: absolute;
  z-index: 2;
  width: 196px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5px 10px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 7px 7px 0 var(--ink);
}
.floating-card span {
  color: var(--muted);
  font-size: 12px;
}
.floating-card strong {
  grid-column: 1 / -1;
  font-size: 15px;
}
.card-search {
  left: -6px;
  top: 62px;
  transform: rotate(-3deg);
}
.card-progress {
  right: 0;
  bottom: 42px;
  transform: rotate(2deg);
}
.chapter-stamp {
  position: absolute;
  right: 7px;
  top: 4px;
  z-index: 2;
  padding: 8px 12px;
  background: var(--electric);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(5deg);
}

.genre-strip {
  min-height: 92px;
  padding: 20px max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper-light);
}
.genre-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.genre-strip p span {
  margin-right: 10px;
  color: var(--electric-dark);
}
.genre-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.genre-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}
.genre-links a:hover {
  border-color: var(--ink);
}
.genre-links a:nth-child(2) {
  background: var(--lime);
}
.genre-links a:nth-child(4) {
  background: #fff0e9;
}

:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-stage {
    min-height: 560px;
  }
  .genre-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .genre-links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero-section {
    width: min(calc(100% - 32px), var(--content-width));
  }
  .site-header {
    min-height: 72px;
    gap: 14px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .header-action {
    padding: 0 13px;
    font-size: 13px;
  }
  .hero-section {
    gap: 34px;
    padding: 42px 0 40px;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.16;
  }
  .hero-lead {
    font-size: 16px;
    line-height: 1.8;
  }
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .hero-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
  .hero-stage {
    min-height: 420px;
  }
  .frame-main {
    inset: 12px 10px 34px 14px;
    box-shadow: 10px 10px 0 var(--lime);
  }
  .floating-card {
    width: 168px;
    padding: 13px;
  }
  .card-search {
    left: -2px;
    top: 28px;
  }
  .card-progress {
    right: 0;
    bottom: 8px;
  }
  .chapter-stamp {
    right: 0;
  }
  .genre-strip {
    padding: 24px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Shared navigation and footer */
.site-header {
  position: relative;
  z-index: 20;
}
.desktop-nav {
  gap: clamp(14px, 1.7vw, 30px);
}
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-group > button {
  width: 28px;
  height: 44px;
  margin-left: -5px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-group > button svg {
  transition: transform 0.2s ease;
}
.nav-group > button[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.sub-menu {
  position: absolute;
  left: -18px;
  top: calc(100% - 14px);
  min-width: 190px;
  padding: 9px;
  display: none;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 7px 7px 0 var(--ink);
}
.sub-menu.is-open,
.nav-group:focus-within .sub-menu,
.nav-group:hover .sub-menu {
  display: grid;
}
.desktop-nav .sub-menu a {
  padding: 11px 12px;
  color: var(--ink);
  white-space: nowrap;
}
.desktop-nav .sub-menu a::after {
  display: none;
}
.desktop-nav .sub-menu a:hover,
.desktop-nav .sub-menu a:focus-visible {
  background: var(--lime);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-link,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
}
.menu-toggle[aria-expanded='false'] svg:last-child,
.menu-toggle[aria-expanded='true'] svg:first-child {
  display: none;
}

.site-footer {
  margin-top: 0;
  padding: 58px max(24px, calc((100vw - var(--content-width)) / 2)) 22px;
  background: var(--ink);
  color: #f7f2e8;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(52px, 7vw, 108px);
}
.brand-on-dark {
  color: #fff;
}
.footer-brand > p {
  max-width: 440px;
  margin: 24px 0 0;
  color: #b9b4aa;
  font-size: 14px;
  line-height: 1.85;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid #3e3d39;
}
.footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
}
.footer-links a {
  color: #b9b4aa;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--lime);
}
.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #3e3d39;
  color: #918d85;
  font-size: 12px;
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  cursor: pointer;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Shared sections */
.section {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 108px 0;
}
.section-heading h2,
.about-copy h2,
.home-cta h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 50px;
}
.split-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.9;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}
.text-link:hover {
  color: var(--electric-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 24px;
}
.product-card {
  min-width: 0;
}
.product-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  display: block;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #ddd;
}
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-cover:hover img {
  transform: scale(1.025);
}
.product-cover > span {
  position: absolute;
  left: 14px;
  top: 14px;
  min-width: 40px;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  font-size: 12px;
  font-weight: 850;
}
.product-copy {
  padding: 19px 4px 0;
}
.product-copy > p {
  margin: 0 0 8px;
  color: var(--electric-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.product-copy h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 25px);
}
.product-copy > div {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.product-card.is-featured .product-cover {
  aspect-ratio: 3 / 2;
}
.product-summary > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.product-audience {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}
.manga-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.manga-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}
.manga-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.manga-card:hover .manga-card-image img {
  transform: scale(1.02);
}
.manga-card-copy {
  min-height: 104px;
  padding: 21px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manga-card-copy p {
  margin: 0 0 9px;
  color: var(--electric-dark);
  font-size: 12px;
  font-weight: 800;
}
.manga-card-copy h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 25px);
}
.manga-card-copy > span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
/* Homepage */
.eyebrow-dark {
  color: #a6a39c;
}
.about-slice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-light);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.about-image {
  min-height: 520px;
  overflow: hidden;
  border-right: 2px solid var(--ink);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-copy {
  max-width: 700px;
  align-self: center;
  padding: 80px clamp(36px, 7vw, 110px);
}
.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 2;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 24px;
}
.journal-card a {
  display: block;
}
.journal-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--ink);
}
.journal-card p {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.journal-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}
.journal-card span {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--electric-dark);
  font-weight: 750;
}
.home-cta,
.cta-band {
  padding: 60px max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  border-top: 2px solid var(--ink);
  background: var(--lime);
}
.home-cta p,
.cta-band p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.home-cta span,
.cta-band span {
  display: block;
  margin-top: 12px;
  color: #4f4c45;
}

/* Manga content homepage */
.manga-popular {
  padding: 88px 0 92px;
}
.manga-grid-home .manga-card:nth-child(3n + 1) {
  box-shadow: 7px 7px 0 var(--lime);
}
.manga-grid-home .manga-card:nth-child(3n + 2) {
  box-shadow: 7px 7px 0 #ffc8b6;
}
.manga-grid-home .manga-card:nth-child(3n) {
  box-shadow: 7px 7px 0 #b7e7df;
}
.home-products {
  padding-block: 88px;
}
.region-board {
  padding: 78px max(24px, calc((100vw - var(--content-width)) / 2));
  border-block: 2px solid var(--ink);
  background:
    radial-gradient(circle at 1px 1px, #ffffff12 1px, transparent 0) 0 0 / 22px
      22px,
    var(--ink);
  color: #fff;
}
.region-board-heading {
  max-width: 700px;
  margin-bottom: 42px;
}
.region-board-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.region-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.region-board-grid > article {
  padding: 28px;
  border: 1px solid #4b4944;
  background: #20201e;
}
.region-board-grid header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
}
.region-board-grid header > span {
  min-width: 38px;
  min-height: 32px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}
.region-board-grid h3 {
  margin: 0;
  font-size: 25px;
}
.region-board-grid header a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c7c3bb;
  font-size: 12px;
}
.region-board-grid > article > p {
  min-height: 52px;
  margin: 22px 0;
  color: #aaa69e;
  font-size: 14px;
  line-height: 1.8;
}
.region-board-grid ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid #4b4944;
  list-style: none;
}
.region-board-grid li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #3e3d39;
}
.region-board-grid li > span {
  color: var(--electric);
  font-size: 11px;
  font-weight: 850;
}
.region-board-grid li a {
  font-weight: 750;
}
.region-board-grid li small {
  color: #918d85;
  font-size: 11px;
}
.journal-section {
  padding-block: 88px;
}
.work-facts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.work-facts div {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-facts dt {
  color: var(--muted);
  font-size: 11px;
}
.work-facts dd {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 800;
}

/* Inner pages */
.inner-hero {
  padding: 34px max(24px, calc((100vw - var(--content-width)) / 2)) 76px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-light);
}
.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.breadcrumbs a:hover {
  color: var(--electric-dark);
}
.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-top: 70px;
}
.inner-hero-grid h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.inner-hero-grid > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.article-header {
  padding: 30px max(24px, calc((100vw - var(--content-width)) / 2)) 58px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}
.article-header__inner {
  width: min(100%, 980px);
  margin: 48px auto 0;
}
.article-header__inner .eyebrow {
  margin-bottom: 18px;
}
.article-header__inner .eyebrow a:hover {
  color: var(--electric-dark);
}
.article-header__inner h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.article-header__lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: #4f4c45;
  font-size: 17px;
  line-height: 1.85;
}
.article-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 13px;
}
.category-ledger {
  border-top: 1px solid var(--ink);
}
.category-row {
  min-height: 150px;
  display: grid;
  grid-template-columns: 50px 80px 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
}
.category-row > span {
  color: var(--electric-dark);
  font-weight: 850;
}
.category-row small {
  letter-spacing: 0.12em;
}
.category-row h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 32px);
}
.category-row p {
  color: var(--muted);
  line-height: 1.75;
}
.category-row:hover h2 {
  color: var(--electric-dark);
}
.category-focus {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}
.category-note {
  align-self: start;
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--lime);
}
.category-note span,
.category-note p {
  display: block;
  margin: 0;
  font-size: 12px;
}
.category-note strong {
  display: block;
  margin: 20px 0 5px;
  font-size: 52px;
  line-height: 1;
}
.category-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 24px;
}
.category-products .is-featured {
  grid-column: auto;
}
.path-explain {
  border-top: 1px solid var(--line);
}
.path-explain > h2 {
  margin: 0 0 34px;
  font-size: 32px;
}
.path-explain > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.path-explain p {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  line-height: 1.8;
}
.path-explain b {
  display: block;
  margin-bottom: 8px;
}

.feature-spread {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}
.feature-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 16px 16px 0 var(--lime);
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-image > span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.chapter-label {
  color: var(--electric-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.feature-intro h2 {
  margin: 14px 0 24px;
  font-size: clamp(28px, 3vw, 40px);
}
.feature-intro > p:not(.chapter-label) {
  color: var(--muted);
  line-height: 2;
}
.feature-intro blockquote {
  margin: 30px 0 0;
  padding: 20px 24px;
  border-left: 6px solid var(--electric);
  background: var(--paper-light);
  font-weight: 700;
  line-height: 1.8;
}
.feature-guide {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding-top: 30px;
}
.feature-guide h2 {
  margin: 0 0 28px;
  font-size: 32px;
}
.feature-guide ol,
.feature-guide ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-guide ol {
  border-top: 1px solid var(--ink);
}
.feature-guide ol li {
  min-height: 86px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}
.feature-guide ol span {
  color: var(--electric-dark);
  font-weight: 850;
}
.feature-guide ol p {
  margin: 0;
}
.feature-guide aside {
  align-self: start;
  padding: 32px;
  background: var(--ink);
  color: #fff;
}
.feature-guide aside h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-guide aside ul {
  display: grid;
  gap: 17px;
}
.feature-guide aside li {
  display: flex;
  gap: 10px;
  color: #c4c0b7;
  line-height: 1.7;
}
.feature-guide aside li svg {
  flex: 0 0 18px;
  color: var(--lime);
}
.feature-guide .feature-highlights {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #ffffff33;
}
.related-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}
.related-strip__inner {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 58px 0 64px;
}
.related-strip__heading {
  margin-bottom: 26px;
  display: block;
}
.related-strip__heading .chapter-label {
  margin: 0 0 10px;
}
.related-strip__heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.3vw, 34px);
}
.related-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}
.related-strip--article .related-strip__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related-strip--article .related-strip__inner {
  padding: 26px 0 30px;
}
.related-strip--article .related-strip__heading {
  margin-bottom: 14px;
}
.related-strip--article .related-strip__heading .chapter-label {
  margin-bottom: 4px;
}
.related-strip--article .related-strip__heading h2 {
  font-size: clamp(22px, 1.8vw, 27px);
}
.related-strip--article .related-strip__grid {
  gap: 10px;
}
.related-strip__grid > a {
  min-width: 0;
  min-height: 214px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.related-strip__grid > a:hover,
.related-strip__grid > a:focus-visible {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
  transform: translate(-2px, -2px);
}
.related-strip__number {
  color: var(--electric-dark);
  font-size: 13px;
  font-weight: 850;
}
.related-strip__grid h3 {
  margin: 18px 0 12px;
  font-size: 19px;
  line-height: 1.55;
}
.related-strip__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.related-strip__grid strong {
  margin-top: auto;
  padding-top: 22px;
  color: var(--electric-dark);
  font-size: 13px;
}
.related-strip--article .related-strip__grid > a {
  min-height: 0;
  padding: 13px 16px;
}
.related-strip--article .related-strip__number {
  font-size: 12px;
}
.related-strip--article .related-strip__grid h3 {
  margin: 6px 0 5px;
  font-size: 16px;
  line-height: 1.4;
}
.related-strip--article .related-strip__grid p {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-strip--article .related-strip__grid strong {
  margin-top: 8px;
  padding-top: 0;
  font-size: 12px;
}

/* Reader and bookshelf */
.reader-showcase {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--ink);
  color: #fff;
}
.reader-device {
  position: relative;
  min-height: 640px;
  margin: 70px 0 70px max(24px, calc((100vw - var(--content-width)) / 2));
  overflow: hidden;
  border: 1px solid #4b4944;
}
.reader-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reader-toolbar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  background: rgb(23 23 22 / 88%);
  backdrop-filter: blur(8px);
  font-size: 13px;
}
.reader-modes {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 70px max(24px, calc((100vw - var(--content-width)) / 2)) 70px 54px;
}
.reader-modes article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid #484640;
}
.reader-modes article > span {
  color: var(--electric);
  font-size: 12px;
  font-weight: 850;
}
.reader-modes svg {
  display: block;
  margin: 40px 0 18px;
  color: var(--lime);
}
.reader-modes h2 {
  margin: 0;
  font-size: 23px;
}
.reader-modes p {
  color: #aaa69e;
  line-height: 1.8;
}
.rhythm-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.rhythm-section h2 {
  margin: 0;
  font-size: 34px;
}
.rhythm-lines {
  border-top: 1px solid var(--ink);
}
.rhythm-lines p {
  margin: 0;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--ink);
}
.rhythm-lines span {
  color: var(--muted);
}
.bookshelf-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 0;
}
.bookshelf-showcase-image {
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #f2eff8;
}
.bookshelf-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bookshelf-showcase-copy {
  min-width: 0;
  min-height: 500px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: #fff;
}
.bookshelf-showcase-copy > p {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.bookshelf-showcase-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}
.bookshelf-showcase-copy > span {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 8px 12px;
  background: var(--electric);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.bookshelf-showcase-copy ul {
  margin: 0;
  padding: 34px 0 0;
  list-style: none;
}
.bookshelf-showcase-copy li {
  padding: 12px 0;
  border-bottom: 1px solid #ffffff33;
  color: #d8d4cb;
}
.manga-region {
  scroll-margin-top: 110px;
  border-bottom: 1px solid var(--line);
}
/* About and contact */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: #fff;
}
.about-story > div {
  min-height: 680px;
}
.about-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story article {
  align-self: center;
  max-width: 720px;
  padding: 80px clamp(40px, 7vw, 110px);
}
.about-story article > p:first-child {
  color: var(--electric);
  font-size: 12px;
  font-weight: 850;
}
.about-story h2 {
  margin: 20px 0 28px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}
.about-story article > p:not(:first-child) {
  color: #b9b4aa;
  line-height: 2;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.principle-grid article {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--ink);
}
.principle-grid span {
  color: var(--electric-dark);
  font-weight: 850;
}
.principle-grid h2 {
  margin: 90px 0 15px;
  font-size: 26px;
}
.principle-grid p {
  color: var(--muted);
  line-height: 1.8;
}
.team-note {
  padding: 80px max(24px, calc((100vw - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 2px solid var(--ink);
  background: var(--paper-light);
}
.team-note h2 {
  margin: 0;
  font-size: 32px;
}
.team-note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.contact-cards article {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--ink);
}
.contact-cards svg {
  margin-bottom: 45px;
  color: var(--electric-dark);
}
.contact-cards p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}
.contact-cards a,
.contact-cards strong {
  font-size: 18px;
  line-height: 1.6;
  word-break: break-word;
}
.contact-cards span {
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.contact-image {
  display: flex;
  flex-direction: column;
}
.contact-image img {
  width: 100%;
  flex: 1;
  min-height: 400px;
  object-fit: cover;
  border: 1px solid var(--ink);
}
.contact-image p {
  margin: 0;
  padding: 20px;
  background: var(--lime);
  line-height: 1.7;
}
.contact-topics {
  border-top: 1px solid var(--line);
}
.contact-topics > h2 {
  margin: 0 0 34px;
  font-size: 32px;
}
.contact-topics > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-topics article {
  padding: 26px;
  border: 1px solid var(--line);
}
.contact-topics article span {
  color: var(--electric-dark);
  font-weight: 850;
}
.contact-topics article p {
  color: var(--muted);
  line-height: 1.8;
}

/* Download */
.download-stage {
  padding: 80px max(24px, calc((100vw - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 0;
  background: var(--ink);
}
.download-cover {
  height: 600px;
  overflow: hidden;
}
.download-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.download-card {
  min-height: 500px;
  margin-left: -50px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--electric);
}
.download-card > p {
  color: var(--muted);
}
.download-card h2 {
  margin: 8px 0 25px;
  font-size: 32px;
}
.download-card dl {
  width: 100%;
  margin: 0 0 28px;
}
.download-card dl > div {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.download-card dt {
  color: var(--muted);
}
.download-card dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}
.download-card small {
  margin-top: 13px;
  color: var(--muted);
}
.install-steps > h2 {
  margin: 0 0 38px;
  font-size: 34px;
}
.install-steps ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.install-steps li {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--ink);
}
.install-steps li > span {
  color: var(--electric-dark);
  font-weight: 850;
}
.install-steps h3 {
  margin: 82px 0 12px;
}
.install-steps p {
  color: var(--muted);
  line-height: 1.8;
}
.system-notes {
  padding: 58px max(24px, calc((100vw - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 50px;
  background: var(--lime);
}
.system-notes h2 {
  margin: 0;
}
.system-notes ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  list-style: none;
}
.system-notes li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.system-notes a {
  font-weight: 850;
  border-bottom: 1px solid;
}

/* Journal and FAQ */
.journal-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.journal-categories > a {
  min-height: 240px;
  padding: 30px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--paper-light);
}
.journal-categories > a > span {
  color: var(--electric-dark);
  font-weight: 850;
}
.journal-categories small {
  color: var(--muted);
}
.journal-categories h2 {
  margin: 10px 0;
  font-size: 30px;
}
.journal-categories p {
  margin: 0;
  color: var(--muted);
}
.article-list {
  padding-top: 20px;
}
.article-list > article {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  border-top: 1px solid var(--ink);
}
.article-list > article:last-child {
  border-bottom: 1px solid var(--ink);
}
.article-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-list article > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.article-list h3 {
  margin: 10px 0;
  font-size: 28px;
}
.article-list article > div > span {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}
.category-articles > article {
  min-height: 260px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 54px 300px 1fr;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--ink);
}
.category-articles > article > span {
  color: var(--electric-dark);
  font-weight: 850;
}
.category-articles img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.category-articles h2 {
  margin: 8px 0;
  font-size: 28px;
}
.category-articles div > p,
.category-articles div > span {
  color: var(--muted);
  line-height: 1.8;
}
.article-page {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
  padding: 62px 0 72px;
}
.article-page figure {
  margin: 0 0 48px;
}
.article-page figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--ink);
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-body .article-intro {
  padding: 24px;
  border-left: 5px solid var(--electric);
  background: var(--paper-light);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.article-body section {
  margin-top: 42px;
}
.article-body h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.4;
}
.article-body p {
  margin: 0;
  color: #4f4c45;
  font-size: 17px;
  line-height: 2;
}
.article-pagination {
  width: min(calc(100% - 48px), 980px);
  margin: 48px auto 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}
.article-pagination__next {
  text-align: right;
}
.article-pagination a {
  min-width: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-light);
  transition: border-color 0.2s, background 0.2s;
}
.article-pagination a:hover,
.article-pagination a:focus-visible {
  border-color: var(--ink);
  background: #fff;
}
.article-pagination > a:only-child {
  width: min(100%, 620px);
}
.article-pagination > .article-pagination__next:only-child {
  margin-left: auto;
}
.article-pagination span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}
.article-pagination strong {
  line-height: 1.55;
}
.cta-band--article {
  padding-top: 44px;
  padding-bottom: 44px;
  border-top-width: 1px;
}
.cta-band--article h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}
.faq-groups {
  display: grid;
  gap: 60px;
}
.faq-groups > section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
}
.faq-groups header span {
  color: var(--electric-dark);
  font-weight: 850;
}
.faq-groups header h2 {
  margin: 15px 0;
  font-size: 30px;
}
.faq-groups details {
  border-top: 1px solid var(--ink);
}
.faq-groups details:last-child {
  border-bottom: 1px solid var(--ink);
}
.faq-groups summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 750;
}
.faq-groups summary::-webkit-details-marker {
  display: none;
}
.faq-groups summary > [data-faq-question] {
  min-width: 0;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.5;
}
.faq-groups summary > span[aria-hidden='true'] {
  flex: 0 0 auto;
  font-size: 25px;
  transition: transform 0.2s ease;
}
.faq-groups details[open] summary > span[aria-hidden='true'] {
  transform: rotate(45deg);
}
.faq-groups details p {
  max-width: 760px;
  margin: 0 0 25px;
  color: var(--muted);
  line-height: 1.9;
}
.help-contact {
  padding: 60px max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--lime);
}
.help-contact h2 {
  margin: 0 0 10px;
}
.help-contact p {
  margin: 0;
  color: #4f4c45;
}

/* Search, legal, sitemap and 404 */
.search-panel form > label {
  display: block;
  margin-bottom: 13px;
  font-weight: 750;
}
.search-panel form > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 2px solid var(--ink);
  background: #fff;
}
.search-panel form svg {
  margin-left: 18px;
}
.search-panel input {
  min-width: 0;
  height: 62px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}
.search-panel button {
  align-self: stretch;
  min-width: 110px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.search-welcome,
.search-results {
  margin-top: 54px;
}
.search-welcome h2 {
  font-size: 30px;
}
.search-welcome p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search-welcome a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}
.search-results > p {
  color: var(--muted);
}
.search-results ol {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.search-results li {
  padding: 26px 0;
  border-bottom: 1px solid var(--ink);
}
.search-results li > span {
  color: var(--electric-dark);
  font-size: 12px;
  font-weight: 800;
}
.search-results h2 {
  margin: 8px 0;
  font-size: 26px;
}
.search-results li p {
  margin: 0;
  color: var(--muted);
}
.empty-state {
  padding: 50px;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  text-align: center;
}
.empty-state h2 {
  margin: 0 0 12px;
  font-size: 32px;
}
.empty-state > div {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.legal-page {
  width: min(calc(100% - 48px), 1000px);
  margin: 0 auto;
  padding: 80px 0;
}
.legal-page section {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  border-top: 1px solid var(--ink);
}
.legal-page section > span {
  color: var(--electric-dark);
  font-weight: 850;
}
.legal-page h2 {
  margin: 0 0 14px;
  font-size: 28px;
}
.legal-page p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}
.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sitemap-groups > section {
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
}
.sitemap-groups header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.sitemap-groups header span {
  color: var(--electric-dark);
  font-weight: 850;
}
.sitemap-groups h2 {
  margin: 0;
  font-size: 25px;
}
.sitemap-groups ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  list-style: none;
}
.sitemap-groups a {
  color: var(--muted);
}
.sitemap-groups a:hover {
  color: var(--electric-dark);
}
.not-found {
  min-height: 720px;
  padding: 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.not-found-code {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--electric);
  font-size: clamp(72px, 12vw, 150px);
  font-weight: 900;
  line-height: 0.8;
}
.not-found-code svg {
  width: 90px;
  height: 90px;
  color: var(--ink);
}
.not-found > p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}
.not-found > h1 {
  max-width: 800px;
  margin: 8px 0;
  font-size: clamp(30px, 3.5vw, 44px);
}
.not-found > div:last-child {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    padding: 16px;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--ink);
    background: var(--paper-light);
    box-shadow: 8px 8px 0 var(--ink);
  }
  .desktop-nav.is-open {
    display: grid;
  }
  .desktop-nav > a,
  .nav-group > a {
    min-height: 48px;
    padding: 13px 12px;
  }
  .desktop-nav a::after {
    display: none;
  }
  .nav-group {
    display: grid;
    grid-template-columns: 1fr 44px;
  }
  .nav-group > button {
    width: 44px;
    margin-left: 0;
  }
  .sub-menu {
    position: static;
    grid-column: 1 / -1;
    box-shadow: none;
    border-color: var(--line);
  }
  .nav-group:hover .sub-menu:not(.is-open),
  .nav-group:focus-within .sub-menu:not(.is-open) {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 80px 0;
  }
  .hero-copy h1 {
    max-width: 760px;
  }
  .split-heading,
  .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-slice,
  .about-story,
  .reader-showcase {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .category-products,
  .manga-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .region-board-grid {
    grid-template-columns: 1fr;
  }
  .region-board-grid {
    gap: 14px;
  }
  .region-board-grid > article > p {
    min-height: 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .category-focus,
  .rhythm-section,
  .bookshelf-showcase,
  .faq-groups > section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bookshelf-showcase-image,
  .bookshelf-showcase-copy {
    min-height: 420px;
  }
  .category-note {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 10px;
  }
  .category-note strong {
    margin: 0;
    font-size: 44px;
  }
  .feature-spread,
  .feature-guide,
  .contact-layout,
  .download-stage {
    grid-template-columns: 1fr;
  }
  .feature-guide {
    gap: 42px;
  }
  .reader-device {
    margin: 50px 24px 0;
  }
  .reader-modes {
    padding: 24px 24px 60px;
  }
  .about-story > div {
    min-height: 480px;
  }
  .team-note {
    grid-template-columns: 1fr auto;
  }
  .team-note > p {
    grid-column: 1 / -1;
  }
  .download-card {
    min-height: auto;
    margin: -60px 32px 0;
  }
  .system-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .system-notes ul {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .header-action {
    display: none;
  }
  .section {
    width: min(calc(100% - 32px), var(--content-width));
    padding: 66px 0;
  }
  .site-header {
    width: calc(100% - 32px);
  }
  .hero-section {
    width: calc(100% - 32px);
  }
  .desktop-nav {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(34px, 9vw, 42px);
  }
  .hero-stage {
    min-height: 390px;
  }
  .journal-grid,
  .footer-links,
  .principle-grid,
  .contact-cards,
  .contact-topics > div,
  .install-steps ol,
  .journal-categories,
  .sitemap-groups {
    grid-template-columns: 1fr;
  }
  .about-image {
    min-height: 390px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
  .about-copy {
    padding: 58px 24px;
  }
  .home-cta,
  .cta-band,
  .help-contact {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-main {
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid,
  .category-products {
    grid-template-columns: 1fr;
    gap: 38px 14px;
  }
  .manga-grid {
    grid-template-columns: 1fr;
  }
  .product-cover > span {
    left: 8px;
    top: 8px;
    min-width: 34px;
    min-height: 28px;
  }
  .product-copy {
    padding-top: 14px;
  }
  .product-copy > p {
    min-height: 30px;
    margin-bottom: 5px;
    line-height: 1.45;
  }
  .product-copy h3 {
    font-size: 19px;
  }
  .region-board {
    padding: 62px 16px;
  }
  .region-board-grid header {
    grid-template-columns: auto 1fr;
  }
  .region-board-grid header a {
    grid-column: 2;
  }
  .region-board-grid li {
    grid-template-columns: 28px 1fr;
  }
  .region-board-grid li small {
    grid-column: 2;
    margin-top: -10px;
    padding-bottom: 10px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .inner-hero {
    padding: 28px 16px 58px;
  }
  .inner-hero-grid {
    margin-top: 48px;
  }
  .inner-hero-grid h1 {
    font-size: clamp(32px, 8.5vw, 40px);
  }
  .inner-hero-grid > p {
    font-size: 15px;
  }
  .category-row {
    padding: 24px 0;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
  }
  .category-row small {
    display: none;
  }
  .category-row h2 {
    font-size: 23px;
  }
  .category-row p {
    grid-column: 2 / -1;
    margin: 0;
  }
  .category-products .is-featured {
    grid-column: auto;
  }
  .path-explain > div {
    grid-template-columns: 1fr;
  }
  .feature-spread {
    gap: 44px;
  }
  .feature-image {
    box-shadow: 9px 9px 0 var(--lime);
  }
  .related-strip__inner {
    width: calc(100% - 32px);
    padding: 48px 0 52px;
  }
  .related-strip__grid {
    grid-template-columns: 1fr;
  }
  .related-strip--article .related-strip__grid {
    grid-template-columns: 1fr;
  }
  .related-strip__grid > a {
    min-height: 0;
  }
  .reader-device {
    min-height: 430px;
    margin: 30px 16px 0;
  }
  .reader-modes {
    grid-template-columns: 1fr;
    padding: 16px 16px 50px;
  }
  .reader-modes article {
    min-height: 220px;
  }
  .rhythm-lines p {
    grid-template-columns: 95px 1fr;
  }
  .about-story > div {
    min-height: 390px;
  }
  .about-story article {
    padding: 58px 24px;
  }
  .team-note {
    grid-template-columns: 1fr;
  }
  .contact-image img {
    min-height: 330px;
  }
  .download-stage {
    padding: 48px 16px;
  }
  .download-cover {
    height: 420px;
  }
  .download-card {
    margin: -45px 14px 0;
    padding: 30px 24px;
    box-shadow: 8px 8px 0 var(--electric);
  }
  .download-card h2 {
    font-size: 27px;
  }
  .article-list > article,
  .category-articles > article {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .category-articles > article > span {
    display: none;
  }
  .article-list h3,
  .category-articles h2 {
    font-size: 24px;
  }
  .article-page {
    width: calc(100% - 32px);
    padding: 44px 0 52px;
  }
  .article-body .article-intro {
    font-size: 16px;
  }
  .article-pagination {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    margin: 36px auto 48px;
  }
  .article-pagination__next {
    text-align: left;
  }
  .article-pagination > a:only-child {
    width: 100%;
  }
  .article-pagination > .article-pagination__next:only-child {
    margin-left: 0;
  }
  .article-header {
    padding: 24px 16px 44px;
  }
  .article-header__inner {
    margin-top: 36px;
  }
  .article-header__inner h1 {
    font-size: clamp(30px, 8.4vw, 38px);
  }
  .article-header__lead {
    margin-top: 18px;
    font-size: 15px;
  }
  .faq-groups {
    gap: 48px;
  }
  .faq-groups > section {
    gap: 10px;
  }
  .legal-page {
    width: calc(100% - 32px);
    padding: 58px 0;
  }
  .legal-page section {
    grid-template-columns: 50px 1fr;
    gap: 12px;
  }
  .sitemap-groups ul {
    grid-template-columns: 1fr;
  }
  .empty-state {
    padding: 34px 20px;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 15px;
  }
  .header-tools {
    gap: 2px;
  }
  .bookshelf-showcase-image {
    min-height: 250px;
  }
  .bookshelf-showcase-copy {
    min-height: 340px;
    padding: 32px 24px;
  }
  .contact-cards article {
    min-height: 220px;
  }
  .search-panel form > div {
    grid-template-columns: 44px 1fr;
  }
  .search-panel button {
    grid-column: 1 / -1;
    min-height: 48px;
  }
  .not-found-code svg {
    width: 58px;
    height: 58px;
  }
}
