:root {
  /* Refined, quiet palette rooted in traditional Japanese interiors */
  --beige: #F5EDE0;
  --matcha: #5C6B4E;
  --wood: #8B6F47;
  --red: #A65D4E;
  --dark: #3C2F2F;
  --sumi: #2C2522;
  --light: #F8F1E9;
  --paper: #F9F5EF;
  --gold: #C5A26F;
  --mist: #E8DFD3;

  /* Generous spacing (ma) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 2.75rem;
  --space-xl: 4.25rem;
  --space-section: 6rem;

  /* Typography */
  --font-serif: 'Zen Antique', 'Noto Serif JP', serif;
  --font-body: 'Noto Serif JP', 'Hiragino Sans', 'Yu Gothic', serif;
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--light);
  color: var(--sumi);
  line-height: 1.88;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: 2.85rem; letter-spacing: 0.01em; }
h2 { font-size: 1.95rem; margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
p { margin-bottom: 1.1em; }
a { color: var(--matcha); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red); }

/* Container with breathing room */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header - calm, sticky, generous */
header {
  background-color: var(--beige);
  border-bottom: 1px solid #e6d9c7;
  position: sticky;
  top: 0;
  z-index: 200;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 0.95rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--dark);
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--matcha);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  font-size: 1.65rem;
  color: var(--matcha);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--beige);
  padding: 18px 22px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 190;
  border-bottom: 1px solid #e6d9c7;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { margin-bottom: 12px; }
.mobile-menu a {
  display: block;
  padding: 10px 0;
  color: var(--dark);
  font-size: 1.05rem;
}

/* Hero - quiet, image-first, generous ma */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(44,37,34,0.42), rgba(60,47,47,0.38)), url('../images/interior1.webp') center/cover no-repeat;
  color: white;
}
.hero-inner {
  max-width: 620px;
}
.hero h1 {
  font-size: 3.25rem;
  line-height: 1.08;
  margin-bottom: 18px;
  color: white;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 38px;
  opacity: 0.96;
  max-width: 520px;
}

/* Buttons - restrained, warm */
.btn {
  display: inline-block;
  padding: 13px 34px;
  background: var(--matcha);
  color: white;
  font-size: 0.96rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn:hover {
  background: var(--red);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid white;
  color: white;
  padding: 12px 32px;
}
.btn-outline:hover {
  background: white;
  color: var(--dark);
  border-color: white;
}
.btn-small {
  padding: 9px 22px;
  font-size: 0.9rem;
}

/* Sections with true ma */
.section {
  padding: var(--space-section) 0;
}
.section.alt {
  background: var(--paper);
}
.section-title {
  text-align: left;
  font-size: 1.82rem;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--matcha);
  font-size: 1.02rem;
  margin-bottom: var(--space-lg);
  max-width: 620px;
}

/* Refined cards with wabi-sabi feel */
.card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e6d9c7;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.card img {
  width: 100%;
  height: 228px;
  object-fit: cover;
  display: block;
}
.card-content {
  padding: 26px 24px;
}
.card-content h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

/* Menu structures */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: var(--space-lg);
}
.menu-category {
  background: white;
  border: 1px solid #e6d9c7;
  border-radius: 6px;
  padding: 28px 26px;
}
.menu-category h3 {
  color: var(--matcha);
  font-size: 1.22rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d3;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #f0e8dc;
  gap: 16px;
}
.menu-item:last-child { border: none; }
.menu-item .name { font-size: 1.01rem; }
.menu-item .price {
  font-weight: 500;
  color: var(--wood);
  white-space: nowrap;
  font-size: 0.97rem;
}
.menu-note {
  font-size: 0.88rem;
  color: #74685e;
  margin-top: 28px;
}

/* Kaiseki journey - specific layout */
.kaiseki-flow {
  display: grid;
  gap: 2px;
  background: #e6d9c7;
  border-radius: 6px;
  overflow: hidden;
}
.kaiseki-step {
  background: white;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  align-items: start;
}
.kaiseki-step .num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--matcha);
  line-height: 1;
  padding-top: 3px;
}
.kaiseki-step .content h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}
.kaiseki-step .content p {
  margin: 0;
  font-size: 0.96rem;
  color: #564c43;
}

/* Seasonal produce section */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.season-item {
  background: white;
  padding: 22px 22px 24px;
  border: 1px solid #e6d9c7;
  border-radius: 5px;
}
.season-item .season {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--matcha);
  text-transform: uppercase;
}
.season-item h4 {
  margin: 6px 0 10px;
}

/* Gallery - varied aspect, storytelling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.gallery-grid img:hover { transform: scale(1.012); }
.gallery-caption {
  font-size: 0.82rem;
  color: #74685e;
  margin-top: 6px;
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 23, 20, 0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-content { max-width: 92%; max-height: 88vh; }
.lightbox-content img { max-width: 100%; max-height: 82vh; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: 28px;
  right: 34px;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
}

/* Forms - calm, spacious, touch-friendly */
.form-container {
  max-width: 620px;
  background: white;
  padding: 38px 34px;
  border-radius: 6px;
  border: 1px solid #e6d9c7;
}
.form-group { margin-bottom: 18px; }
label {
  display: block;
  font-size: 0.9rem;
  color: var(--matcha);
  margin-bottom: 7px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d9d0c3;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  line-height: 1.4;
}
textarea { min-height: 128px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note {
  font-size: 0.86rem;
  color: #74685e;
  margin-top: 18px;
}

/* Access & info */
.info-box {
  background: white;
  padding: 34px 32px;
  border-radius: 6px;
  border: 1px solid #e6d9c7;
}
.info-box h3 { color: var(--matcha); margin-bottom: 14px; }
.info-box ul { list-style: none; padding: 0; margin: 0; }
.info-box li { padding: 5px 0; }

/* Values / philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.philosophy-item {
  padding: 26px 24px;
  background: white;
  border: 1px solid #e6d9c7;
  border-radius: 5px;
}
.philosophy-item h3 {
  color: var(--matcha);
  font-size: 1.12rem;
}

/* Footer */
footer {
  background: var(--sumi);
  color: #d9d0c3;
  padding: 56px 0 32px;
  font-size: 0.91rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 42px;
}
.footer-col h4 {
  color: #f5ede0;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #d9d0c3; }
.footer-col a:hover { color: white; }
.copyright {
  text-align: center;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #554b46;
  font-size: 0.8rem;
  color: #a89b8f;
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: 2.6rem; }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .kaiseki-step { grid-template-columns: 48px 1fr; padding: 18px 18px; }
  .gallery-grid img { height: 210px; }
}

/* Subtle scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s cubic-bezier(0.23, 1.0, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.75rem; }
.mb-2 { margin-bottom: 1.75rem; }
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #d9d0c3, transparent);
  margin: 48px 0;
}