:root {
  --ink: #1a1612;
  --paper: #faf7f2;
  --muted: #7a7066;
  --border: #e8e0d4;
}

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

body { font-family: 'Noto Serif JP', serif; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.menu-btn { display:flex;flex-direction:column;justify-content:center;gap:5px;width:32px;height:32px;background:none;border:none;cursor:pointer;padding:4px; }
.menu-btn span { display:block;height:1px;background:var(--ink);transition:transform 0.3s,opacity 0.3s; }
.menu-overlay { position:fixed;inset:0;z-index:200;background:var(--paper);display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0;pointer-events:none;transition:opacity 0.3s; }
.menu-overlay.is-open { opacity:1;pointer-events:all; }
.menu-close { position:absolute;top:1.25rem;right:2rem;font-family:'Cormorant',serif;font-size:1.5rem;background:none;border:none;cursor:pointer;color:var(--muted); }
.menu-links { display:flex;flex-direction:column;align-items:center;gap:2rem; }
.menu-links a { font-family:'Cormorant',serif;font-size:1.5rem;letter-spacing:0.2em;color:var(--ink);text-decoration:none;transition:color 0.2s; }
.menu-links a:hover { color:var(--c); }
.menu-social { display:flex;gap:2rem;margin-top:3rem; }
.menu-social a { font-family:'Cormorant',serif;font-size:0.7rem;letter-spacing:0.2em;color:var(--muted);text-decoration:none;transition:color 0.2s; }
.menu-social a:hover { color:var(--c); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 56px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 4rem 5.5rem 6rem;
}
.hero-text > * {
  opacity: 0;
  animation: fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0.12s; }
.hero-text > *:nth-child(2) { animation-delay: 0.22s; }
.hero-text > *:nth-child(3) { animation-delay: 0.36s; }
.hero-text > *:nth-child(4) { animation-delay: 0.46s; }
.hero-text > *:nth-child(5) { animation-delay: 0.56s; }
.hero-text > *:nth-child(6) { animation-delay: 0.66s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.char-reading {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.char-name {
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.char-rule {
  width: 2.5rem;
  height: 3px;
  background: var(--c);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.char-tagline {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 1.75rem;
}
.char-catch {
  position: relative;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  background: white;
  border: 1.5px solid color-mix(in srgb, var(--c) 40%, transparent);
  border-radius: 1rem 1rem 1rem 0.125rem;
  padding: 0.75rem 1.4rem;
  margin-bottom: 2rem;
  box-shadow: 2px 4px 14px color-mix(in srgb, var(--c) 12%, transparent);
}
.stat-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.stat-chip {
  font-size: 0.65rem;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--c) 33%, transparent);
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hero-sprite {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    168deg,
    color-mix(in srgb, var(--c) 27%, transparent) 0%,
    color-mix(in srgb, var(--c) 80%, transparent) 100%
  );
}
.hero-sprite img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.14));
  animation: spriteIn 1.1s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}
@keyframes spriteIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.sprite-wm {
  position: absolute;
  bottom: -0.5rem; left: 0; right: 0;
  text-align: center;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255,255,255,0.11);
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.03em;
}

.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 5.5rem 2rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.section-hd {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2rem;
}
.section-num {
  font-family: 'Cormorant', serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--c);
}
.section-name {
  font-family: 'Cormorant', serif;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.section-line { flex: 1; height: 1px; background: var(--border); }

.profile-row {
  display: flex;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.profile-row:first-child { border-top: 1px solid var(--border); }
.profile-label {
  min-width: 5.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.profile-value { font-size: 0.875rem; color: var(--ink); }

.persona-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.persona-tag {
  font-size: 0.78rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--c);
  background: color-mix(in srgb, var(--c) 5%, transparent);
  color: var(--ink);
  font-weight: 300;
}
.theme-text { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.12em; }

.ld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ld-col-label {
  font-family: 'Cormorant', serif;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  margin-bottom: 1.25rem;
  display: block;
}
.ld-list { list-style: none; }
.ld-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--ink);
}
.ld-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px,1fr)); gap: 1.25rem; }
.work-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-animate].visible { opacity: 1; transform: none; }

.bottom-nav { text-align: center; }
.bottom-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}
.bottom-nav a:hover { border-color: var(--c); color: var(--c); }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-sprite { height: 340px; }
  .hero-text { padding: 2.5rem 1.5rem 3rem; }
  .char-name { font-size: 3rem; }
  .ld-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content { padding: 3.5rem 1.25rem 5rem; gap: 3.5rem; }
  .site-header { padding: 0 1.25rem; }
}
