:root {
  --bg: #f5f1ea;
  --paper: #fffdf9;
  --ink: #171717;
  --muted: #706d68;
  --gold: #b8955f;
  --line: rgba(23, 23, 23, .14);
  --serif: "Noto Serif JP", serif;
  --sans: "Inter", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 234, .92);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .18em;
}
.brand-image {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(184,149,95,.55);
}
.global-nav {
  display: flex;
  gap: 38px;
}
.global-nav a {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .1em;
}
.menu-button { display: none; }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw 6vw 8vw 9vw;
}
.hero-rule {
  position: absolute;
  left: 6vw;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--gold);
}
.eyebrow,
.section-label,
.project-kicker,
.project-state {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 600;
}
.hero h1 {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 96px);
  line-height: 1;
  letter-spacing: .12em;
  font-weight: 500;
}
.hero-message {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 36px);
  letter-spacing: .08em;
}
.hero-description {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 24%;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.section { padding: 72px 6vw; }
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-accent {
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 8px;
  background: var(--gold);
}
.section-link {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .06em;
}
.section-link:hover { color: var(--gold); }

.essay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.essay-card {
  overflow: hidden;
  min-width: 0;
  background: var(--paper);
  border: 1px solid rgba(23,23,23,.08);
  box-shadow: 0 6px 20px rgba(23,23,23,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.essay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23,23,23,.09);
}
.essay-thumb {
  aspect-ratio: 16 / 8;
  background: #252525;
  overflow: hidden;
}
.essay-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.essay-card-body {
  padding: 18px 20px 22px;
}
.essay-card-body time {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .08em;
}
.essay-card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}
.essay-card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
}
.essay-placeholder {
  aspect-ratio: 16 / 8;
  background: linear-gradient(110deg, #e4ded3 8%, #eee9df 18%, #e4ded3 33%);
  background-size: 200% 100%;
  animation: shine 1.3s linear infinite;
}
@keyframes shine { to { background-position-x: -200%; } }

.book-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}
.book-card { min-width: 0; }
.book-cover {
  aspect-ratio: 2 / 3;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(23,23,23,.12);
  transition: transform .25s ease;
}
.book-card:hover .book-cover { transform: translateY(-5px); }
.book-cover span {
  font-size: 7px;
  letter-spacing: .16em;
}
.book-cover h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 25px);
  line-height: 1.4;
  font-weight: 500;
}
.book-meta {
  padding-top: 12px;
}
.book-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
}
.book-meta small {
  color: var(--muted);
  font-size: 9px;
}
.cover-nuance { background: #ece5d8; color: #1d1d1d; }
.cover-emotion { background: radial-gradient(circle at 50% 62%, #d7a446, transparent 18%), #172026; color: #f7f2e8; }
.cover-story { background: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.25)), #5f513f; color: #f5efe3; }
.cover-mind { background: linear-gradient(145deg,#1b2630,#354a5b); color: white; }
.cover-quantum { background: linear-gradient(145deg,#10212a,#0f3440); color: white; }
.cover-sword { background: linear-gradient(145deg,#171717,#43362a); color: white; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--paper);
}
.project-card h3 {
  margin: 10px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
}

.about-section {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 8vw;
  border-top: 1px solid var(--line);
}
.about-main h2 {
  margin: 28px 0 24px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.5;
  font-weight: 500;
}
.about-main p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-family: var(--serif);
}
.about-side {
  display: grid;
  gap: 40px;
  align-content: start;
}
.focus-list,
.follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}
.focus-list span,
.follow-links a {
  font-family: var(--serif);
  font-size: 13px;
}
.follow-links a:hover { color: var(--gold); }

.site-footer {
  padding: 24px 6vw 36px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

@media (max-width: 1000px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .hero-visual::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(var(--bg), transparent);
  }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 5vw; }
  .brand-image { width: 44px; height: 44px; }
  .brand span { font-size: 12px; }
  .menu-button {
    display: grid;
    gap: 6px;
    width: 38px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    display: block;
    height: 1px;
    background: var(--ink);
  }
  .global-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 22px 5vw;
    flex-direction: column;
    background: rgba(245,241,234,.98);
    border-bottom: 1px solid var(--line);
  }
  .global-nav.open { display: flex; }
  .hero-copy { padding: 110px 8vw 70px 13vw; }
  .hero-rule { left: 8vw; }
  .hero h1 { font-size: 16vw; letter-spacing: .06em; }
  .hero-visual { min-height: 360px; }
  .section { padding: 58px 5vw; }
  .essay-grid,
  .project-grid,
  .about-section { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
