/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Base */
:root {
  --fg: #1a1a1a;
  --fg-muted: #666;
  --bg: #ffffff;
  --accent: #1a1a1a;
  --border: #e5e5e5;
  --max-width: 860px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-title a { display: inline-block; }
.site-nav ul {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  font-size: 0.875rem;
  color: var(--fg);
  transition: opacity 0.2s;
  position: relative;
}
.site-nav a:hover { opacity: 0.6; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: var(--fg);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--fg);
  padding: 0.5rem;
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.hero__tagline {
  font-size: 0.95rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Biography / text-heavy pages */
.page-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.page-title__sub {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  font-family: var(--font-sans);
}
.lead {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 1.5rem 0 2.5rem;
  color: var(--fg);
}

h2.section-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
}
h3.sub-heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--fg);
}
h4.year-heading {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* Timeline for biography */
.timeline {
  margin: 1rem 0;
}
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.925rem;
}
.timeline__year {
  font-weight: 600;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}
.timeline__content {
  color: var(--fg);
}

/* Simple list */
.item-list {
  margin: 0.5rem 0 1rem;
}
.item-list li {
  padding: 0.35rem 0;
  font-size: 0.925rem;
  line-height: 1.7;
}
.item-list li + li {
  border-top: 1px dotted #eee;
}

/* Year-grouped list */
.year-group {
  margin-bottom: 1.5rem;
}
.year-group__label {
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

/* Statement (essay) */
.essay {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 2;
  color: var(--fg);
}
.essay p {
  margin-bottom: 1.5rem;
  text-indent: 1em;
}
.essay__meta {
  margin-top: 3rem;
  text-align: right;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Artwork gallery */
.artworks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin: 2rem 0;
}
.artwork {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.artwork__image {
  background: #f5f5f5;
  overflow: hidden;
}
.artwork__image img {
  width: 100%;
  height: auto;
}
.artwork__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
}
.artwork__medium {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.artwork__note {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.7;
}

/* Landing page */
.landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.landing__hero-image {
  margin: 2rem 0 3rem;
  aspect-ratio: 3 / 2;
  background: #f5f5f5;
  overflow: hidden;
}
.landing__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing__intro {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
}
.landing__sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.landing__card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.landing__card:hover {
  background: #fafafa;
  border-color: var(--fg);
}
.landing__card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.landing__card-desc {
  font-size: 0.825rem;
  color: var(--fg-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.social {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.social a { color: var(--fg-muted); transition: color 0.2s; }
.social a:hover { color: var(--fg); }
.site-footer__copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* External links in biography */
.ext-link {
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.ext-link:hover { border-color: var(--fg); }

/* Mobile */
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .timeline__year { font-size: 0.8rem; }
  main { padding: 1.5rem 1.25rem 3rem; }
  .hero { padding: 2.5rem 1.5rem 1rem; }
}
