:root {
  --paper: #f5f1ea;
  --ink: #151412;
  --muted: #706c64;
  --line: #d8d0c5;
  --field: #fbf8f2;
  --charcoal: #242320;
  --vermilion: #8f3424;
  --indigo: #223f56;
  --moss: #68705a;
  --shadow: 0 18px 50px rgba(21, 20, 18, 0.1);
  --max: 1180px;
  --mincho: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --gothic: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 234, 0.9);
  border-bottom: 1px solid rgba(216, 208, 197, 0.82);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: baseline;
  display: flex;
  font-family: var(--mincho);
  font-size: clamp(16px, 1.4vw, 18px);
  gap: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand-mark {
  color: var(--vermilion);
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.8vw, 24px);
  justify-content: flex-end;
}

.nav-links a {
  color: var(--charcoal);
  font-size: clamp(11px, 1vw, 12px);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lang-switch {
  align-items: center;
  border: 1px solid rgba(36, 35, 32, 0.18);
  display: flex;
  flex: 0 0 auto;
}

.lang-switch a {
  border-right: 1px solid rgba(36, 35, 32, 0.18);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 9px 10px;
  white-space: nowrap;
}

.lang-switch a:last-child {
  border-right: 0;
}

.lang-switch a:hover,
.lang-switch a.active {
  background: var(--ink);
  color: var(--field);
}

.nav-links a:hover {
  color: var(--vermilion);
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  min-height: 94vh;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.72), rgba(16, 15, 13, 0.34) 48%, rgba(16, 15, 13, 0.08)),
    linear-gradient(0deg, rgba(21, 20, 18, 0.18), rgba(21, 20, 18, 0));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fffaf3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94vh;
  padding: 132px clamp(22px, 7vw, 96px) 92px;
  position: relative;
  width: min(820px, 100%);
  z-index: 1;
}

.section-kicker {
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .section-kicker {
  color: #f4c7b3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--mincho);
  font-size: clamp(48px, 8.4vw, 112px);
  font-weight: 400;
  line-height: 0.94;
  margin-bottom: 26px;
}

h2 {
  font-family: var(--mincho);
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 0;
}

h3 {
  font-family: var(--mincho);
  font-size: clamp(22px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.28;
  margin-bottom: 12px;
}

.hero-line {
  color: #ffe3d0;
  font-family: var(--mincho);
  font-size: clamp(22px, 2.6vw, 33px);
  line-height: 1.45;
  margin-bottom: 28px;
}

.hero-copy {
  color: rgba(255, 250, 243, 0.88);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2;
  margin-bottom: 14px;
  max-width: 680px;
}

.intro-band {
  background: rgba(21, 20, 18, 0.96);
  color: var(--field);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--max);
  transform: translateY(-34px);
  width: calc(100% - clamp(28px, 7vw, 96px));
}

.intro-item {
  border-right: 1px solid rgba(247, 243, 236, 0.18);
  min-height: 112px;
  padding: 26px 28px;
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span {
  color: #d5ba9a;
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.intro-item strong {
  display: block;
  font-family: var(--mincho);
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.35;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(76px, 11vw, 140px) clamp(22px, 4vw, 48px);
}

.section-heading {
  display: grid;
  gap: 34px;
  grid-template-columns: 0.8fr 1.5fr;
  margin-bottom: 54px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section-heading.compact p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2;
  margin-top: 24px;
}

.about-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
}

.jp-copy {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.jp-copy p {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2.12;
  margin-bottom: 20px;
}

.about-note {
  align-self: start;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.about-note span {
  color: var(--moss);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.about-note p {
  font-family: var(--mincho);
  font-size: clamp(22px, 2.1vw, 25px);
  line-height: 1.55;
  margin-bottom: 0;
}

.artists-section {
  border-top: 1px solid var(--line);
}

.artist-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

.artist-slot {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 18px;
}

.artist-image {
  aspect-ratio: 1 / 1;
  border-radius: 1px;
  margin-bottom: 20px;
}

.artist-a {
  background:
    radial-gradient(circle at 35% 30%, rgba(167, 57, 36, 0.7), transparent 25%),
    linear-gradient(135deg, #ede3d4, #2b3135);
}

.artist-b {
  background:
    linear-gradient(45deg, rgba(31, 63, 95, 0.9), transparent 55%),
    linear-gradient(145deg, #f6efe3, #b9c0a3 52%, #191a19);
}

.artist-c {
  background:
    radial-gradient(circle at 70% 30%, #d2b189, transparent 23%),
    linear-gradient(135deg, #242321, #f4ece0 46%, #8c3425);
}

.artist-slot p,
.project-body p {
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  margin-bottom: 0;
}

.projects-section {
  background: #e9e2d8;
  max-width: none;
}

.projects-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: var(--field);
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.project-body {
  padding: 24px;
}

.project-label {
  color: var(--vermilion);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.text-card {
  align-items: stretch;
  background: var(--indigo);
  color: var(--field);
  display: flex;
}

.text-card .project-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.text-card p {
  color: rgba(255, 250, 243, 0.78);
}

.index-number {
  color: #d5ba9a;
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 80px;
}

.journal-section {
  border-bottom: 1px solid var(--line);
}

.journal-list {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.journal-list a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: var(--mincho);
  font-size: clamp(22px, 2.9vw, 38px);
  justify-content: space-between;
  line-height: 1.05;
  min-height: 86px;
  padding: 20px 0;
}

.journal-list a::after {
  color: var(--vermilion);
  content: "+";
  font-family: var(--gothic);
  font-size: 28px;
}

.journal-list a:hover {
  color: var(--vermilion);
}

.contact-section {
  background: var(--ink);
  color: var(--field);
  padding: clamp(80px, 12vw, 150px) clamp(22px, 4vw, 48px);
}

.contact-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.contact-inner h2 {
  max-width: 820px;
}

.contact-inner > p:not(.section-kicker) {
  color: rgba(255, 250, 243, 0.74);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2;
  margin: 28px 0 52px;
}

.contact-lines {
  border-top: 1px solid rgba(255, 250, 243, 0.18);
  max-width: 680px;
}

.contact-lines p {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 250, 243, 0.18);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0;
  padding: 20px 0;
}

.contact-lines span {
  color: #d5ba9a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-lines a:hover {
  color: #f4c7b3;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-content {
    padding-top: 170px;
  }

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 9px 14px;
  }

  .nav-links a {
    font-size: 10.5px;
  }

  .lang-switch a {
    font-size: 10.5px;
    padding: 8px 9px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(28px, 8.2vw, 38px);
    line-height: 1.22;
  }

  h3 {
    font-size: 21px;
  }

  .hero-line {
    font-size: clamp(20px, 6vw, 27px);
    line-height: 1.48;
  }

  .hero,
  .hero img,
  .hero-content {
    min-height: 88vh;
  }

  .hero-content {
    padding: 190px 22px 64px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    transform: none;
    width: 100%;
  }

  .intro-item {
    border-bottom: 1px solid rgba(247, 243, 236, 0.18);
    border-right: 0;
  }

  .section {
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-note p {
    font-size: 22px;
  }

  .journal-list a {
    font-size: 23px;
    line-height: 1.24;
    min-height: 72px;
  }

  .contact-lines p {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
