:root {
  --ink: #1c1a17;
  --ink-soft: #3a3530;
  --muted: #6b645c;
  --snow: #f3f1ec;
  --paper: #e8e4db;
  --forest: #1f3d2f;
  --forest-deep: #14261d;
  --moss: #3d5c45;
  --timber: #6e4f35;
  --timber-light: #c4a574;
  --ember: #8a4a2b;
  --line: rgba(28, 26, 23, 0.12);
  --white: #fbfaf7;
  --hero-overlay: linear-gradient(
    105deg,
    rgba(20, 38, 29, 0.82) 0%,
    rgba(20, 38, 29, 0.45) 48%,
    rgba(20, 38, 29, 0.25) 100%
  );
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Figtree', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(61, 92, 69, 0.12), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(110, 79, 53, 0.08), transparent 50%),
    linear-gradient(180deg, var(--snow) 0%, var(--paper) 100%);
  background-attachment: fixed;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(243, 241, 236, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}

.brand__sub {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--forest);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:hover {
  background: var(--forest-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(251, 250, 247, 0.65);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(251, 250, 247, 0.12);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--white);
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    linear-gradient(160deg, #1a3326 0%, #2c4a38 40%, #5a4634 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: hero-breathe 18s var(--ease) infinite alternate;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 35%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.015) 18px,
      rgba(255, 255, 255, 0.015) 19px
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.hero__brand {
  width: min(220px, 55vw);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
  animation: rise 1s var(--ease) both;
}

.hero__title {
  margin: 0 0 1rem;
  max-width: 16em;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  animation: rise 1s var(--ease) 0.12s both;
}

.hero__support {
  max-width: 32rem;
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(251, 250, 247, 0.88);
  animation: rise 1s var(--ease) 0.22s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 1s var(--ease) 0.32s both;
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section__lead {
  max-width: 40rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.prose-block + .prose-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.prose-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.prose-block p {
  color: var(--ink-soft);
}

.workshop-list {
  display: grid;
  gap: 0;
}

.workshop-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.workshop-item:last-child {
  border-bottom: 1px solid var(--line);
}

.workshop-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.workshop-item p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.workshop-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.workshop-meta li + li {
  margin-top: 0.35rem;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.flow-list li {
  position: relative;
  padding-left: 2.5rem;
  color: var(--ink-soft);
  counter-increment: step;
}

.flow-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--timber);
}

.section--photos {
  padding-top: 0;
}

.plates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem 1.6rem;
  align-items: start;
}

.plate {
  margin: 0;
}

.plate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.05s var(--ease),
    transform 1.15s var(--ease);
}

.plate.is-in {
  opacity: 1;
  transform: none;
}

.plate__view {
  overflow: hidden;
}

.plate img {
  width: 100%;
  height: auto;
  transform: scale(1.08);
  will-change: transform;
}

.plate figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.plate--wide {
  grid-column: 1 / -1;
}

.plate--drop {
  margin-top: 3.5rem;
}

.plate--feature {
  margin: 0 0 4.5rem;
}

.plate--feature .plate__view {
  height: min(78vh, 820px);
}

.plate--feature img {
  width: 100%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  animation: plate-drift 26s ease-in-out infinite alternate;
}

@keyframes plate-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -3%, 0);
  }
}

.plate--feature figcaption {
  width: min(100% - 2.5rem, var(--max));
  margin: 0.75rem auto 0;
}

.plates__more {
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.gallery-card--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-card__visual,
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gallery-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(20, 16, 12, 0.55));
  pointer-events: none;
}

.gallery-card__visual[data-tone='forest'] {
  background: linear-gradient(145deg, #14261d, #3d5c45 55%, #6e4f35);
}

.gallery-card__visual[data-tone='ember'] {
  background: linear-gradient(160deg, #2a1810, #8a4a2b 50%, #c4a574);
}

.gallery-card__visual[data-tone='timber'] {
  background: linear-gradient(135deg, #3a2a1c, #6e4f35 45%, #c4a574);
}

.gallery-card__visual[data-tone='snow'] {
  background: linear-gradient(160deg, #3d4a52, #8a9aa3 40%, #e8eef2);
}

.gallery-card__visual[data-tone='moss'] {
  background: linear-gradient(150deg, #1f3d2f, #5f7d58 50%, #c5c7a5);
}

.gallery-card__visual[data-tone='ink'] {
  background: linear-gradient(145deg, #1c1a17, #3a3530 50%, #6b645c);
}

.gallery-card__label {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.gallery-card__hint {
  opacity: 0.7;
  font-size: 0.72rem;
}

.visit-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--paper);
  filter: grayscale(0.2) contrast(0.95);
}

.note-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.note-list li + li {
  margin-top: 0.6rem;
}

.cta-band {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(120deg, var(--forest-deep), var(--forest));
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band p {
  margin: 0;
  max-width: 28rem;
  color: rgba(251, 250, 247, 0.88);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  background: rgba(255, 255, 255, 0.35);
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.site-footer__name {
  font-family: var(--font-serif);
  letter-spacing: 0.16em;
  font-size: 1.15rem;
}

.site-footer__note {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  animation: rise 0.9s var(--ease) both;
}

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

@keyframes hero-breathe {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .split,
  .visit-panel {
    grid-template-columns: 1fr;
  }

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

  .gallery-card--wide {
    grid-column: span 2;
  }

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

  .workshop-meta {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .workshop-meta li + li {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: rgba(243, 241, 236, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav__tools {
    justify-content: space-between;
  }

  .hero {
    min-height: 85vh;
  }

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

  .plate--drop {
    margin-top: 0;
  }

  .plate--feature .plate__view {
    height: 68vh;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: auto;
  }

  .gallery-card--wide {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media,
  .hero__brand,
  .hero__title,
  .hero__support,
  .hero__actions,
  .reveal,
  .plate--feature img {
    animation: none;
  }

  .plate {
    opacity: 1;
    transform: none;
  }
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.photo-band img {
  width: 100%;
  height: min(42vw, 420px);
  object-fit: cover;
}

@media (max-width: 760px) {
  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 68vw;
  }
}

html:not(.lang-en) [data-lang="en"] { display: none; }
html.lang-en [data-lang="ja"] { display: none; }

button.lang-switch {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}
