/* Cold, stark, minimalist stylesheet */
:root {
  --bg: #0a0a0a;
  --ink: #eaeaea;
  --muted: #9a9a9a;
  --line: #1a1a1a;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: .02em;
}

.wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.brand {
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.badge {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

nav.min {
  display: flex;
  gap: 1rem;
}

nav.min a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .85rem;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

nav.min a:hover {
  color: var(--ink);
}

nav.min a.active,
nav.min a[aria-current="page"] {
  color: #CC0000;
  border-bottom: 1px solid #CC0000;
}

h1 {
  font-size: 2.75rem;
  margin: 1rem 0 .25rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.jp {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: .05em;
}

.sub {
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--muted);
  font-size: .9rem;
}

.hero {
  border: 1px solid var(--line);
  background: #111;
  padding: 0.75rem;
  margin: 1.25rem auto 1.75rem;
  display: flex;
  justify-content: center;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 400px; /* ↓ reduced from 520px */
  margin: 0 auto;
  filter: contrast(110%) grayscale(100%);
  opacity: 0.95; /* slight softness, optional */
  transition: opacity 0.3s ease;
}

.hero img:hover {
  opacity: 1;
}

/* Responsive scaling for mobile */
@media (max-width: 640px) {
  .hero img {
    max-width: 85%;
  }
}

.copy {
  display: grid;
  gap: 1rem;
  line-height: 1.5;
}

.copy p {
  margin: 0;
  font-size: 1.05rem;
}

.rule {
  margin: 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
}

a {
  color: var(--ink);
}

a.muted {
  color: var(--muted);
  text-decoration: none;
}

a.muted:hover {
  color: var(--ink);
}

small {
  color: var(--muted);
}
