:root {
  --ink: #0f0e0c;
  --paper: #f5f2ec;
  --cream: #ede9e0;
  --accent: #8b1a1a;
  --gold: #c9a84c;
  --mid: #6b6560;
  --rule: rgba(15,14,12,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
}

nav { display: flex; gap: 32px; align-items: center; }

nav a {
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

nav a:hover { color: var(--accent); }

.nav-cta {
  color: var(--accent) !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}

.hero-left {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--rule);
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--mid);
  margin-bottom: 48px;
}

.hero-body {
  font-size: 14px;
  line-height: 2;
  color: #4a4540;
  max-width: 420px;
  margin-bottom: 56px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: #6d1414; transform: translateY(-2px); }

.btn-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-ghost {
  border: 1px solid rgba(245,242,236,0.25);
  color: var(--paper);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.btn-ghost:hover { background: rgba(245,242,236,0.1); }

/* HERO RIGHT */
.hero-right {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

.hero-right-inner {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.manifesto-num {
  font-family: 'DM Serif Display', serif;
  font-size: 120px;
  color: rgba(139,26,26,0.06);
  line-height: 1;
  position: absolute;
  top: 60px; left: 28px;
  pointer-events: none;
}

.manifesto-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  margin-top: 60px;
}

.manifesto-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 20px;
}

.manifesto-caption {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 2;
}

.deco-lines {
  position: absolute;
  bottom: 48px; right: 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.3;
}

.deco-lines span { display: block; height: 1px; background: var(--ink); }
.deco-lines span:nth-child(1) { width: 48px; }
.deco-lines span:nth-child(2) { width: 32px; }
.deco-lines span:nth-child(3) { width: 16px; }

/* TICKER */
.ticker-wrap {
  background: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-inner span {
  font-size: 11px;
  letter-spacing: 0.3em;
  padding: 0 24px;
  color: rgba(245,242,236,0.5);
}

.ticker-inner em {
  font-style: normal;
  color: var(--gold);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section { padding: 96px 48px; }

.section-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 120px;
}

/* PILLARS */
.pillars { background: var(--cream); }

.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.pillars-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}

.pillars-desc {
  font-size: 13.5px;
  color: var(--mid);
  max-width: 340px;
  line-height: 2;
  text-align: right;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.pillar {
  background: var(--cream);
  padding: 40px 32px;
  transition: background 0.3s;
}

.pillar:hover { background: var(--paper); }

.pillar-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: rgba(139,26,26,0.15);
  line-height: 1;
  margin-bottom: 24px;
}

.pillar-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pillar-body {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 2;
}

/* ARTICLES */
#articles { padding-bottom: 0; }

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.article-card {
  background: var(--paper);
  padding: 40px 36px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}

.article-card:hover { background: var(--cream); }
.article-card.featured { grid-row: 1 / 3; }

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-cat {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  text-decoration: none;
}

.article-date {
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.1em;
}

.article-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.featured .article-title { font-size: clamp(20px, 2.5vw, 28px); }
.article-card:not(.featured) .article-title { font-size: 16px; }

.article-excerpt {
  font-size: 13px;
  color: var(--mid);
  line-height: 2;
  margin-bottom: 24px;
}

.article-link {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.article-link::after { content: '→'; transition: transform 0.2s; }
.article-card:hover .article-link::after { transform: translateX(4px); }

/* CTA BAND */
.cta-band {
  background: var(--ink);
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-tag {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-headline {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: var(--paper);
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 13.5px;
  color: rgba(245,242,236,0.5);
  line-height: 2;
}

/* ARCHIVE */
.archive-wrap { padding: 120px 48px 96px; }

.archive-header { margin-bottom: 64px; }

.archive-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.3;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 48px;
}

.archive-card {
  background: var(--paper);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}

.archive-card:hover { background: var(--cream); }

.archive-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.archive-card-excerpt {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 2;
  margin-bottom: 20px;
}

/* SINGLE POST */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 120px 48px 96px; }

.post-header { margin-bottom: 56px; border-bottom: 1px solid var(--rule); padding-bottom: 40px; }

.post-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  margin-top: 20px;
}

.post-body {
  font-size: 15px;
  line-height: 2.2;
  color: #2a2825;
}

.post-body h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.post-body h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.post-body p { margin-bottom: 24px; }

.post-body ul, .post-body ol {
  margin: 0 0 24px 24px;
}

.post-body li { margin-bottom: 8px; }

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--cream);
  font-style: italic;
  color: var(--mid);
}

.post-body strong { font-weight: 600; color: var(--ink); }

.post-body a { color: var(--accent); text-decoration: underline; }

.post-footer { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule); }

.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 24px;
  border: 1px solid var(--rule);
  transition: background 0.2s;
}

.post-nav-item:hover { background: var(--cream); }
.post-nav-item.next { text-align: right; }

.post-nav-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
}

.post-nav-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 48px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,242,236,0.1);
  margin-bottom: 32px;
}

.footer-brand {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(245,242,236,0.4);
  line-height: 2;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 12.5px;
  color: rgba(245,242,236,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 11px;
  color: rgba(245,242,236,0.3);
  letter-spacing: 0.1em;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  header { padding: 0 24px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 64px 24px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-row: auto; }
  .cta-band { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .post-wrap { padding: 100px 24px 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 24px; }
  .archive-wrap { padding: 100px 24px 64px; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* CONTACT FORM */
.contact-form {
  max-width: 600px;
  margin: 48px 0;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  line-height: 1.8;
}

/* SEARCH PAGE */
.search-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.search-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--ink);
}

.pagefind-ui .pagefind-ui__search-input {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 16px !important;
  border: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 12px 16px !important;
}

.pagefind-ui .pagefind-ui__search-input:focus {
  border-color: var(--accent) !important;
  outline: none !important;
}

.pagefind-ui .pagefind-ui__result-link {
  font-family: 'Shippori Mincho', serif !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
}

.pagefind-ui .pagefind-ui__result-link:hover {
  color: var(--accent) !important;
}

.pagefind-ui .pagefind-ui__result-excerpt {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--mid) !important;
  line-height: 1.8 !important;
}

.pagefind-ui .pagefind-ui__button {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-radius: 0 !important;
}