:root {
  color-scheme: light;
  --ink: #161515;
  --ink-soft: #2c2a28;
  --paper: #f6f2ec;
  --paper-deep: #ede7de;
  --accent: #2b6b5d;
  --accent-light: #7ca399;
  --gold: #c9b78c;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(16, 12, 8, 0.12);
}

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

body {
  font-family: "IBM Plex Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fbf8f2 0%, var(--paper) 55%, var(--paper-deep) 100%);
  min-height: 100vh;
  line-height: 1.7;
}

.page {
  padding: 32px 64px 80px;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.4;
  z-index: -1;
}

.bg-orb--one {
  width: 360px;
  height: 360px;
  background: #d9ebe6;
  top: -120px;
  right: 10%;
}

.bg-orb--two {
  width: 280px;
  height: 280px;
  background: #f0dccf;
  bottom: 60px;
  left: -80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand {
  font-family: "DM Serif Text", "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-decoration: none;
  color: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.7;
}

.nav a.active,
.nav a:hover {
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  animation: fadeUp 0.8s ease forwards;
}

.hero--full {
  grid-template-columns: 1fr;
  margin-bottom: 64px;
}

.hero--full .hero__art {
  width: 100%;
}

.hero__art--full img {
  width: 100%;
  height: calc(100vh - 140px);
  object-fit: cover;
  display: block;
}

.hero--compact {
  margin-bottom: 40px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: "DM Serif Text", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}

h2 {
  font-family: "DM Serif Text", "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__meta,
.stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.hero__meta {
  margin-bottom: 32px;
}

.availability {
  margin-top: 24px;
}

.availability__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 6px;
}

.value {
  font-size: 14px;
  color: var(--ink);
}

.btn {
  border: none;
  background: var(--ink);
  color: white;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero__art {
  display: grid;
  gap: 16px;
}

.art {
  border-radius: 0;
  box-shadow: none;
  background: none;
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.art::after {
  content: none;
}

.art--hero {
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  background: none;
}

.art--hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
}

.art--one,
.art--two,
.art--three,
.art--four {
  background: #ffffff;
}

.art--journal {
  min-height: 320px;
  background: linear-gradient(150deg, #d8e4dc, #efe0d2);
  aspect-ratio: 4 / 3;
}

.art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.art__caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.section {
  margin-bottom: 80px;
}

.section--featured {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  background: none;
}

.section--interior {
  margin-bottom: 88px;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.interior-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.section--cta {
  background: white;
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.cart {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.cart__items {
  display: grid;
  gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(22, 21, 21, 0.08);
}

.cart-item__image img {
  width: 100%;
  height: auto;
  display: block;
}

.cart-item__info h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.cart-item__info p {
  font-size: 13px;
  color: #8a8680;
}

.cart-item__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a19c95;
  margin-top: 12px;
}

.cart-item__price {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
}

.panel--summary {
  gap: 16px;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8680;
}

.summary-total {
  font-size: 15px;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid rgba(22, 21, 21, 0.12);
}

.note {
  font-size: 12px;
  color: #8a8680;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--works {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
}

.grid--works-uniform .art {
  aspect-ratio: auto;
  min-height: auto;
}

.grid--works-uniform .art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.grid--journal {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__body {
  padding: 20px 0 0;
}

.work-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.filter {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter__options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter__btn {
  border: 1px solid rgba(22, 21, 21, 0.2);
  background: transparent;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter__btn.is-active {
  border-color: var(--ink);
}

.card__body h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8680;
  margin-bottom: 6px;
}

.card__body p {
  font-size: 12px;
  color: #a19c95;
  margin-bottom: 6px;
}

.price {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a19c95;
}

.price--large {
  font-size: 18px;
  letter-spacing: 0.3em;
  margin-top: 20px;
}

.price--spaced {
  margin-top: 32px;
}

.panel {
  background: white;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.panel--inline {
  margin-top: 24px;
}

.panel__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.panel__items {
  display: grid;
  gap: 16px;
}

.panel__items--columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.artist-media {
  display: grid;
  gap: 24px;
}

.artist-media img {
  width: 90%;
  display: block;
  box-shadow: var(--shadow);
}

.post {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.post__meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 12px;
}

.post h3 {
  font-size: 16px;
}

.post p {
  font-size: 13px;
  color: #8a8680;
}

.post .link {
  font-size: 11px;
}

.link {
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink);
}

.prose {
  max-width: 720px;
  background: white;
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

.page--legal h1 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.page--cart h1 {
  font-size: clamp(20px, 2.6vw, 30px);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.page--cart .lead {
  font-size: 14px;
  color: #8a8680;
}

.page--legal .hero {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page--legal .hero__text,
.page--legal .prose {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page--legal .hero__text {
  text-align: center;
}

.page--legal .prose {
  background: none;
  box-shadow: none;
  padding: 0;
  font-size: 14px;
  line-height: 2;
}

.page--legal.page--tokusho .prose p {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page--legal.page--tokusho .prose p strong {
  display: inline-block;
  min-width: 14em;
  font-weight: 500;
  color: var(--ink);
}

.page--legal .hero__text .eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  margin-bottom: 10px;
}

.page--legal .hero__text .lead {
  font-size: 14px;
  color: #8a8680;
  margin-bottom: 12px;
}

.page--legal .section {
  margin-bottom: 48px;
}

.page--legal .bg-orb {
  opacity: 0.18;
  filter: blur(80px);
}

.prose p {
  margin-bottom: 16px;
}

.prose blockquote {
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink-soft);
}

.footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__legal {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  display: flex;
  gap: 10px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page {
    padding: 24px;
  }

  .section--featured {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 20px;
    letter-spacing: 0.1em;
  }

  .hero,
  .section--split {
    grid-template-columns: 1fr;
  }

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

  .section--cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .cart-item {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}
