/* ============================================================
   ARKHE — Design System
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg: #F5F2ED;
  --bg-card: #FFFFFF;
  --bg-dark: #141414;
  --text: #1A1A1A;
  --text-muted: #787672;
  --text-xmuted: #AEABA6;
  --accent: #1A1A1A;
  --accent-warm: #8B6F5E;
  --border: #E2DDD8;
  --border-dark: #2E2E2E;
  --white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-mono: 'Inter', monospace;

  --header-h: 72px;
  --container: 1280px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg: #141414;
  --bg-card: #1E1E1E;
  --text: #F0EDE8;
  --text-muted: #8A8782;
  --text-xmuted: #555250;
  --border: #2E2E2E;
  --accent: #F0EDE8;
  --white: #1A1A1A;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Scroll Progress ---- */
.scroll-progress, .read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--text);
  z-index: 1000;
  transition: width 0.1s linear;
}
.read-progress { background: var(--accent-warm); }

/* ---- Container ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}

.header.scrolled {
  background: rgba(245, 242, 237, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(20, 20, 20, 0.92);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.logo-img--dark {
  display: none;
}

/* Dark mode */
[data-theme="dark"] .logo-img--light { display: none; }
[data-theme="dark"] .logo-img--dark  { display: block; }

/* Footer always uses dark logo */
.footer-logo .logo-img {
  height: 40px;
  opacity: 0.75;
}
.footer-logo .logo-img--light { display: none; }
.footer-logo .logo-img--dark  { display: block; }
.footer-logo:hover .logo-img  { opacity: 1; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 24px; }

.theme-toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 16px;
  transition: border-color 0.25s, color 0.25s, transform 0.3s;
}
.theme-toggle:hover { border-color: var(--text); color: var(--text); transform: rotate(180deg); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.mobile-nav-link:hover { color: var(--text-muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  object-position: center;
  transition: transform 8s ease;
}
.hero:hover .hero-img { transform: scale(1.03); }

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.5) 40%,
    rgba(10,10,10,0.15) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(40px, 8vh, 100px) clamp(24px, 6vw, 80px);
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}
.hero-eyebrow .line { display: block; width: 40px; height: 1px; background: rgba(255,255,255,0.5); }
.hero-eyebrow .label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.hero-eyebrow .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 3px 10px;
  text-transform: uppercase;
}

.hero-scope {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.hero-excerpt {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-avatar.large { width: 52px; height: 52px; font-size: 20px; }
.author-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.author-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.meta-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.date, .read-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}
.btn-hero:hover { color: #fff; border-color: rgba(255,255,255,0.8); gap: 18px; }

.hero-counter {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(40px, 8vh, 80px);
  z-index: 3;
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.counter-current {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  height: 44px;
  background: var(--text);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--text), transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, var(--text), transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-track .dot { color: rgba(255,255,255,0.25); font-size: 16px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   COLUMNS SECTION
   ============================================================ */
.columns-section { padding: clamp(64px, 10vh, 120px) 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-label-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.section-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-xmuted);
  letter-spacing: 0.1em;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text);
}

/* Filters */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.filter-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 9px 18px;
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.filter-tab:last-child { border-right: none; }
.filter-tab:hover { background: var(--bg-card); color: var(--text); }
.filter-tab.active { background: var(--text); color: var(--bg); }

/* Columns Grid */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.column-card {
  background: var(--bg);
  transition: opacity 0.4s var(--ease);
}
.column-card.hidden { display: none; }

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  transition: background 0.3s;
}
.card-link:hover { background: var(--bg); }

/* Large card spans 2 cols */
.card-large {
  grid-column: span 2;
}
.card-large .card-img-wrap { aspect-ratio: 16/9; }
.card-large .card-title { font-size: clamp(18px, 2vw, 24px); }

/* Wide card spans 2 cols */
.card-wide { grid-column: span 2; }
.card-wide .card-link { flex-direction: row; }
.card-wide .card-img-wrap { width: 45%; flex-shrink: 0; aspect-ratio: auto; }
.card-wide .card-body { flex: 1; }

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-img {
  transition: transform 0.6s var(--ease);
}
.card-link:hover .card-img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #fff;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  text-transform: uppercase;
}

.card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-num {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--text-xmuted);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.card-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.card-link:hover .card-title { color: var(--accent-warm); }

.card-excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 300;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-xmuted);
  letter-spacing: 0.08em;
}
.card-author { color: var(--text-muted); }
.card-date { margin-left: auto; }

/* Load More */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 64px;
}
.btn-load-more {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  transition: color 0.25s;
  overflow: hidden;
}
.btn-load-more:hover { color: var(--text); }
.btn-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 100%;
  background: var(--border);
  transition: background 0.25s;
}
.btn-load-more::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--text);
  transition: width 0.4s var(--ease);
}
.btn-load-more:hover::after { width: 100%; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 6vw, 80px);
  overflow: hidden;
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}
.about-text { padding-right: clamp(0px, 4vw, 60px); }
.about-text .section-num { display: block; margin-bottom: 20px; }
.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 28px;
}
.about-heading em { font-style: italic; color: var(--text-muted); }
.about-body {
  font-size: 14px;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 300;
}
.btn-outline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-img { transition: transform 6s ease; }
.about-img-wrap:hover .about-img { transform: scale(1.04); }

.about-img-label {
  position: absolute;
  bottom: 20px; left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
}
.about-img-label span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.about-img-label span:first-child { color: rgba(255,255,255,0.95); font-weight: 500; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1px;
}
.stat {
  background: var(--bg-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ============================================================
   PROFILE SECTION
   ============================================================ */
.profile-section {
  padding: clamp(80px, 12vh, 160px) 0;
  overflow: hidden;
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.profile-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.profile-img { transition: transform 6s ease; }
.profile-img-wrap:hover .profile-img { transform: scale(1.04); }

.profile-content { padding-top: 16px; }

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.profile-name {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-name-en {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.profile-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-warm);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.profile-bio {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.profile-detail-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  font-size: 13px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-xmuted);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.detail-value { color: var(--text); line-height: 1.6; }

.profile-awards { }

.awards-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-xmuted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.awards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.awards-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.award-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-warm);
  min-width: 36px;
}

@media (max-width: 900px) {
  .profile-inner { grid-template-columns: 1fr; }
  .profile-img-wrap { aspect-ratio: 4/3; max-width: 480px; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--text);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 80px);
}
.newsletter-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}
.newsletter-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.newsletter-body {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.form-row {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  transition: border-color 0.25s;
}
.form-row:focus-within { border-color: rgba(255,255,255,0.5); }
.form-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-sans);
  font-weight: 300;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.btn-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
  border-left: 1px solid rgba(255,255,255,0.15);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn-submit:hover { background: rgba(255,255,255,0.15); color: #fff; }
.form-note {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: clamp(48px, 8vh, 80px) 0 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  align-items: start;
}
.footer-brand {}
/* footer-logo styles now handled above in Logo section */
.footer-tagline {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

.footer-nav { display: flex; gap: 48px; }
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-nav-col a:hover { color: rgba(255,255,255,0.8); }

.footer-social { display: flex; flex-direction: column; gap: 14px; }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.social-link:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
  transition: color 0.25s;
}
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page { background: var(--bg); }
.article-main { padding-top: var(--header-h); }

/* Article Hero */
.article-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-bg { position: absolute; inset: 0; }
.article-hero-img { object-position: center 40%; }
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.92) 0%,
    rgba(5,5,5,0.6) 40%,
    rgba(5,5,5,0.2) 80%,
    transparent 100%
  );
}
.article-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 6vh, 72px) clamp(24px, 6vw, 80px);
  max-width: 1000px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.article-tag-wrap { margin-bottom: 20px; }
.article-tag-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 12px;
  text-transform: uppercase;
}
.article-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 62px);
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.article-hero-title em { font-style: italic; color: rgba(255,255,255,0.7); }
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-card .author-avatar {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.2);
}
.author-info-block { display: flex; flex-direction: column; gap: 3px; }
.author-info-block .author-name { color: rgba(255,255,255,0.85); font-size: 14px; }
.author-info-block .author-role { color: rgba(255,255,255,0.4); }
.article-info {
  display: flex;
  gap: 24px;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.info-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(24px, 4vw, 64px);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  padding-right: 48px;
  padding-top: 8px;
}
.toc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-xmuted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.toc { display: flex; flex-direction: column; gap: 2px; margin-bottom: 40px; }
.toc-link {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.5;
}
.toc-link:hover, .toc-link.active {
  color: var(--text);
  border-left-color: var(--text);
}
.share-btns { display: flex; flex-direction: column; gap: 8px; }
.share-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 14px;
  text-align: left;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.share-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Article Content */
.article-content {
  max-width: 700px;
  padding-top: 8px;
}
.article-lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.02em;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.article-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 24px;
  padding-top: 8px;
}
.article-content p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2.1;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 300;
}
.article-figure {
  margin: 40px 0;
  overflow: hidden;
}
.article-figure img {
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
}
.article-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-xmuted);
  line-height: 1.6;
}
.article-quote {
  margin: 40px 0;
  padding: 32px 40px;
  border-left: 3px solid var(--text);
  background: var(--bg-card);
}
.article-quote p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.article-quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-xmuted);
  font-style: normal;
}
.article-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 32px 0;
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.callout-icon {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.article-callout p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
}

/* Tags */
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.tag-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.tag-item:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 36px;
  background: var(--bg-card);
  margin-top: 48px;
  border: 1px solid var(--border);
}
.author-bio .author-avatar {
  background: var(--border);
  color: var(--text);
  border-color: var(--border);
  flex-shrink: 0;
}
.author-bio-text { display: flex; flex-direction: column; gap: 4px; }
.author-bio-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  display: block;
}
.author-bio-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-xmuted);
  display: block;
  margin-bottom: 10px;
}
.author-bio-text p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

/* Related */
.related-section {
  background: var(--bg-card);
  padding: clamp(56px, 8vh, 96px) 0;
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.related-grid .column-card { background: var(--bg-card); }

/* Back link */
.back-to-columns {
  display: flex;
  justify-content: center;
  padding: 48px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  transition: color 0.25s, gap 0.25s;
}
.btn-back:hover { color: var(--text); gap: 18px; }

/* ============================================================
   ANIMATIONS & REVEAL
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.05s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .columns-grid { grid-template-columns: repeat(2, 1fr); }
  .card-large { grid-column: span 2; }
  .card-wide { grid-column: span 2; }
  .card-wide .card-link { flex-direction: column; }
  .card-wide .card-img-wrap { width: 100%; aspect-ratio: 16/9; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-text { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar {
    position: static;
    padding-right: 0;
    display: flex;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
  }
  .toc { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid .column-card:last-child { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .columns-grid { grid-template-columns: 1fr; }
  .card-large { grid-column: span 1; }
  .card-wide { grid-column: span 1; }
  .filter-tabs { flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { flex-direction: column; gap: 24px; }
  .footer-brand { grid-column: 1; }
  .about-stats { margin-top: 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .column-card:last-child { display: block; }
  .related-grid .column-card:nth-child(3) { display: none; }
  .hero-counter { display: none; }
  .author-bio { flex-direction: column; }
  .article-hero-meta { flex-direction: column; gap: 16px; }
  .article-info { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; word-break: normal; overflow-wrap: break-word; }
  .hero-content { width: 100%; box-sizing: border-box; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .newsletter-inner { gap: 28px; }
  .form-row { flex-direction: column; }
  .btn-submit { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
}

/* ── CTA Section ── */
.cta-section {
  padding: 100px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}
.cta-title {
  font-family: var(--font-ja);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.cta-text {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 500px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  margin-top: 8px;
}
.cta-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* ===== SNS�V�F�A�{�^�� ===== */
.share-section { margin: 40px 0; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-label { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .15em; color: var(--text-muted); margin-bottom: 16px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 4px; font-size: 13px; font-family: var(--font-sans); text-decoration: none; border: none; cursor: pointer; transition: opacity .2s; }
.share-btn:hover { opacity: .8; }
.share-btn--x    { background: #000; color: #fff; }
.share-btn--fb   { background: #1877f2; color: #fff; }
.share-btn--hatena { background: #00a4de; color: #fff; }
.share-btn--copy { background: var(--bg-sub,#f5f5f5); color: var(--text); }
