:root {
  --bg: #fafafa;
  --bg-soft: #f2f2f0;
  --ink: #111111;
  --ink-2: #444444;
  --muted: #8a8a8a;
  --line: #e6e6e3;
  --accent: #111111;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 700;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  max-width: 640px;
}

/* Section head */
.works { padding: 80px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.section-title {
  font-size: 24px;
  margin: 0;
  letter-spacing: 0.02em;
}
.section-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
}
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); }
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.card:hover .thumb {
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.card:hover .thumb img { transform: scale(1.03); }

.card-body { display: flex; flex-direction: column; gap: 8px; }
.tags { display: flex; gap: 6px; }
.tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: #fff;
}
.card-title {
  font-size: 22px;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.card-desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
.card-link {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: inline-flex;
  gap: 4px;
}
.card:hover .card-link { text-decoration: underline; }

/* Contact */
.contact {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}
.contact-inner { text-align: center; }
.contact-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.contact-sub {
  font-size: 15px;
  color: #cfcfcf;
  margin: 0 0 32px;
}
.contact-cta {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease;
}
.contact-cta:hover { transform: translateY(-2px); background: #f0f0f0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: center; }
