:root {
  color-scheme: light;
  --ink: #302a25;
  --muted: #71675d;
  --paper: #fbf8f2;
  --surface: #f1e9dc;
  --line: #ded4c6;
  --accent: #805342;
  --accent-dark: #603b30;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(-180%);
  color: white;
  background: var(--accent-dark);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  width: min(100% - 3rem, 1160px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.25;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-name,
.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.025em;
}

.brand-japanese {
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2.4vw, 2rem);
}

.main-nav a,
.language-nav a,
.footer-inner a {
  font-size: 0.88rem;
  text-decoration: none;
}

.main-nav a:hover,
.language-nav a:hover,
.footer-inner a:hover,
.text-link:hover {
  color: var(--accent);
}

.main-nav .nav-shop {
  color: var(--accent-dark);
  font-weight: 650;
}

.language-nav {
  display: flex;
  gap: 0.65rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.language-nav a {
  color: var(--muted);
  font-size: 0.78rem;
}

.language-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  width: min(100% - 3rem, 1160px);
  min-height: 570px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
  padding: 4.5rem 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.6rem;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.045em;
}

.hero-description {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-description p {
  margin: 0 0 1rem;
}

.hero-description strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: #fffdf9;
  background: var(--accent-dark);
}

.button-primary:hover {
  background: var(--accent);
}

.button-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button-outline:hover {
  color: white;
  background: var(--accent-dark);
}

.text-link {
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.hero-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--surface);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.prose img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
}

.content-width {
  width: min(100% - 3rem, 900px);
  margin-right: auto;
  margin-left: auto;
}

.home-note {
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.home-note h2,
.home-about h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.home-note > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.home-about {
  padding: 4rem 0;
  background: var(--surface);
}

.home-about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.home-about h2 {
  margin-bottom: 0;
}

.page-intro {
  padding: 5rem 0 2.5rem;
}

.page-intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
}

.intro-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p {
  margin: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 6rem;
}

.work-card {
  min-width: 0;
}

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

.work-image,
.work-image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}

.work-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.work-card h2 {
  margin: 1rem 0 0.4rem;
  font-size: 1.45rem;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.work-card-link:hover h2 {
  color: var(--accent);
}

.empty-state {
  display: grid;
  min-height: 310px;
  justify-items: center;
  align-content: center;
  margin-bottom: 5rem;
  padding: 2rem;
  background: var(--surface);
  text-align: center;
}

.empty-mark {
  display: grid;
  width: 56px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.empty-state p {
  margin: 1.1rem 0 1.4rem;
  color: var(--muted);
}

.page-content {
  min-height: 55vh;
  padding-bottom: 6rem;
}

.page-content .page-intro {
  max-width: 780px;
}

.prose {
  max-width: 740px;
  color: #4d453e;
  font-size: 1.06rem;
}

.prose p {
  margin: 0 0 1.4rem;
}

.prose strong {
  color: var(--ink);
}

.page-image {
  max-width: 900px;
  margin: 0 0 3rem;
}

.page-image img {
  display: block;
  max-width: 100%;
  max-height: 680px;
  margin: 0 auto;
  object-fit: contain;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-cta {
  margin-top: 2.5rem;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #f6f1e9;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
}

.footer-brand-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.footer-social span {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1rem 0;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 1.2rem;
  }

  .language-nav {
    padding-left: 0.8rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-art {
    min-height: 330px;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .hero,
  .content-width {
    width: min(100% - 2rem, 1160px);
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-art {
    min-height: 270px;
  }

  .home-note {
    padding: 3.5rem 0;
  }

  .home-about-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-about {
    padding: 3rem 0;
  }

  .page-intro {
    padding-top: 3.5rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .empty-state {
    min-height: 270px;
    margin-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
