:root {
  --bg: #030303;
  --panel: #080808;
  --text: #f5f5f5;
  --muted: #8d939a;
  --dim: #555a60;
  --line: #191919;
  --acid: #dcff00;
  --font-en: "Inter", system-ui, sans-serif;
  --font-ja: "Noto Sans JP", "Yu Gothic", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 6%, rgba(220, 255, 0, 0.055), transparent 22rem),
    linear-gradient(180deg, #020202 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-ja);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0, 145, 255, 0.45), -2px 0 0 rgba(255, 50, 50, 0.35);
}

.brand i {
  color: var(--acid);
  font-style: italic;
  text-shadow: none;
}

.menu-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  gap: 4px;
  background: transparent;
  border: 2px solid var(--acid);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--acid);
  content: "";
}

.menu-button.is-open span {
  opacity: 0;
}

.site-menu {
  position: sticky;
  top: 76px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 0;
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, border-color 0.28s ease;
}

.site-menu.is-open {
  max-height: 190px;
  border-color: var(--line);
}

.site-menu a {
  display: grid;
  gap: 5px;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}

.site-menu a:last-child {
  border-right: 0;
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
  background: var(--acid);
  color: #050505;
}

.site-menu span {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.site-menu small {
  color: var(--muted);
  font-weight: 900;
}

.site-menu a:hover small,
.site-menu a[aria-current="page"] small {
  color: #050505;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding: 32px 32px 56px;
}

.hero-media {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #202020;
  background: #000;
}

.hero-media img {
  height: min(74vh, 720px);
  min-height: 420px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(0.72);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.34) 70%, rgba(0, 0, 0, 0.88));
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: -1px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 22px;
  background: var(--acid);
  color: #050505;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-copy {
  max-width: 820px;
  padding-top: 30px;
}

.kicker,
.article-card__meta,
.focus-banner p,
.site-footer small {
  font-family: var(--font-en);
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 0.86rem;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 3px 2px 0 rgba(0, 140, 255, 0.58), -2px 0 0 rgba(255, 42, 42, 0.38);
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
}

.hero-title-link:hover {
  color: var(--acid);
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #a6adb5;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
}

.filter-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: #676d74;
  background: #050505;
  border: 1px solid #1f1f1f;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--acid);
  border-color: var(--acid);
}

.article-feed {
  display: grid;
  gap: 0;
}

.article-feed__empty {
  padding: 48px 32px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: center;
  padding: 34px 32px;
  border-bottom: 1px solid var(--line);
}

.article-card__body {
  display: block;
  min-width: 0;
}

.article-card__meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: #686e75;
  font-size: 0.77rem;
}

.article-card__meta span::before {
  content: "/ ";
}

.article-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 1px 0 rgba(0, 140, 255, 0.42), -1px 0 0 rgba(255, 42, 42, 0.3);
}

.article-card p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #949ba4;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 2px 7px;
  background: #1b1d1f;
  color: #f1f1f1;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #090909;
  border: 1px solid #171717;
}

.article-card__thumb img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.14) saturate(0.75);
}

.thumb-abstract {
  background:
    linear-gradient(135deg, transparent 42%, var(--acid) 42% 60%, transparent 60%),
    radial-gradient(circle at 68% 24%, #13d7ff 0 8%, transparent 9%),
    radial-gradient(circle at 28% 68%, #ff54c7 0 13%, transparent 14%),
    repeating-linear-gradient(90deg, #111, #111 8px, #292929 9px, #111 12px);
}

.thumb-abstract span {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(220, 255, 0, 0.7);
  border-radius: 50%;
}

.thumb-face {
  background:
    radial-gradient(circle at 56% 45%, #f2f2f2 0 4%, transparent 5%),
    radial-gradient(circle at 43% 45%, #f2f2f2 0 4%, transparent 5%),
    radial-gradient(ellipse at 50% 55%, #d9d9d9 0 24%, transparent 25%),
    radial-gradient(circle at 50% 42%, #1b1b1b 0 42%, #050505 43%);
  filter: contrast(1.2);
}

.thumb-face::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(130deg, transparent 0 44%, rgba(0, 0, 0, 0.88) 45%);
}

.focus-banner {
  margin: 34px 32px;
  padding: 34px 46px;
  background: var(--acid);
  color: #060606;
  border-left: 18px solid #fff;
}

.focus-banner p {
  margin: 0;
  font-size: 0.8rem;
}

.focus-banner blockquote {
  margin: 22px 0;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
  font-size: clamp(1.55rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.22;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 32px 96px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 4px;
  color: var(--text);
  font-family: var(--font-en);
  font-weight: 900;
}

.page-hero {
  padding: 72px 32px 50px;
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  padding-bottom: 34px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 11vw, 8.6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 3px 2px 0 rgba(0, 140, 255, 0.58), -2px 0 0 rgba(255, 42, 42, 0.38);
}

.single-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 1px 0 rgba(0, 140, 255, 0.42), -1px 0 0 rgba(255, 42, 42, 0.3);
}

.page-hero p:last-child,
.single-header > p:not(.kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #a6adb5;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  padding: 46px 32px 72px;
}

.about-image {
  overflow: hidden;
  border: 1px solid #202020;
}

.about-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
}

.about-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.14;
}

.about-copy p,
.single-content p {
  margin: 0 0 1.5em;
  color: #b2b8bf;
  font-size: 1.02rem;
  font-weight: 700;
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--acid);
  font-family: var(--font-en);
  font-weight: 900;
}

.profile-list dd {
  margin: 0;
  color: #b2b8bf;
  font-weight: 800;
}

.single-article {
  padding-bottom: 72px;
}

.single-header {
  padding: 72px 32px 34px;
}

.single-header .article-card__meta {
  margin-top: 26px;
}

.single-image {
  margin: 0 32px 48px;
  overflow: hidden;
  border: 1px solid #202020;
}

.single-image img {
  max-height: 660px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
}

.single-image--graphic {
  min-height: min(58vw, 620px);
  background: #050505;
}

.single-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

.single-content h2 {
  margin: 2.2em 0 0.8em;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.16;
}

.single-content blockquote {
  margin: 44px 0;
  padding: 28px 0 28px 28px;
  color: var(--acid);
  border-left: 8px solid var(--acid);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.22;
}

.single-content a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 56px auto 0;
  padding: 0 32px;
}

.single-nav a {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #050505;
}

.single-nav a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.single-nav small {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.single-nav--next {
  text-align: right;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 48px 32px 72px;
  border-top: 1px solid var(--line);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  color: #676d74;
  background: #050505;
  border: 1px solid #1f1f1f;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  color: var(--acid);
  border-color: var(--acid);
}

.pagination .dots {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--dim);
  font-family: var(--font-en);
  font-weight: 900;
}

/* Search */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 32px 48px;
}

.search-form input[type="search"] {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  background: #050505;
  border: 1px solid #1f1f1f;
  font-family: var(--font-ja);
  font-weight: 700;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--acid);
}

.search-form button {
  min-height: 42px;
  padding: 0 18px;
  color: #050505;
  background: var(--acid);
  border: 0;
  font-family: var(--font-en);
  font-weight: 900;
  cursor: pointer;
}

.error-404 {
  padding: 72px 32px;
  text-align: center;
}

.error-404__code {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(4rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--acid);
}

.error-404__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.error-404__text {
  margin: 0 0 2rem;
  color: var(--muted);
}

.error-404__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  background: var(--acid);
  color: #050505;
  font-family: var(--font-en);
  font-weight: 900;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 900px) {
  .site-shell {
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 78px;
    padding: 0 20px;
  }

  .site-menu {
    top: 78px;
    grid-template-columns: 1fr;
  }

  .site-menu a {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 20px 20px 48px;
  }

  .hero-media,
  .hero-media img {
    min-height: 0;
  }

  .hero-media img {
    height: 72vh;
    object-position: 57% center;
  }

  .hero-badge {
    left: 8px;
    min-height: 36px;
    padding: 0 16px;
  }

  .hero-copy {
    padding-top: 26px;
  }

  .filter-nav {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 20px;
  }

  .filter-button {
    font-size: 0.78rem;
  }

  .article-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 18px;
    padding: 28px 20px;
  }

  .article-card p {
    display: none;
  }

  .article-card__meta {
    font-size: 0.7rem;
  }

  .tag-list {
    margin-top: 14px;
  }

  .focus-banner {
    margin: 28px 20px;
    padding: 28px 24px;
    border-left-width: 12px;
  }

  .page-hero,
  .single-header {
    padding: 48px 20px 34px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 20px 58px;
  }

  .about-image img {
    min-height: 320px;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .single-image {
    margin: 0 20px 36px;
  }

  .single-content,
  .single-nav {
    padding: 0 20px;
  }

  .pagination {
    padding: 36px 20px 56px;
  }

  .search-form {
    margin: 0 20px 36px;
  }
}

@media (max-width: 430px) {
  .article-card {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .tag-list li:nth-child(n + 2) {
    display: none;
  }

  .single-nav {
    grid-template-columns: 1fr;
  }
}
