:root {
  --ivory: #F5F0E6;
  --paper: #F8F4ED;
  --warm-beige: #E8DFD0;
  --soft-taupe: #D4C9B8;
  --dark-brown: #3C2F2F;
  --charcoal: #2C2522;
  --sumi: #1F1A18;
  --muted-red: #8B3A3A;
  --accent: #A36B4B;
  --gold: #C5A880;
  --text: #3A3431;
  --text-light: #5C524C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', 'EB Garamond', Georgia, serif;
  background-color: var(--ivory);
  color: var(--text);
  line-height: 1.78;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'EB Garamond', 'Noto Serif JP', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--dark-brown);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
}

/* Refined Header - Mobile First */
header {
  background-color: var(--ivory);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--warm-beige);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: 2px;
  font-family: 'EB Garamond', serif;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 1.2px;
  transition: color 0.2s ease;
  font-family: 'EB Garamond', serif;
}

nav a:hover,
nav a.active {
  color: var(--muted-red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--charcoal);
  padding: 4px 8px;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  background: var(--ivory);
  padding: 22px 24px 28px;
  border-bottom: 1px solid var(--warm-beige);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-mobile a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 0;
}

.nav-active {
  display: block !important;
}

/* Buttons - Theme appropriate */
.btn {
  display: inline-block;
  padding: 15px 36px;
  background: var(--muted-red);
  color: var(--ivory);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'EB Garamond', serif;
  border-radius: 1px;
}

.btn:hover {
  background: var(--dark-brown);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.btn-small {
  padding: 11px 24px;
  font-size: 13px;
  letter-spacing: 1.5px;
}

/* Sections */
section {
  padding: 92px 0;
}

@media (max-width: 768px) {
  section {
    padding: 68px 0;
  }
}

.section-title {
  font-size: 38px;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--muted-red);
  font-size: 13px;
  letter-spacing: 3.5px;
  margin-bottom: 52px;
  font-family: 'EB Garamond', serif;
  text-transform: uppercase;
}

.intro-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 17.5px;
  color: var(--text-light);
  line-height: 1.82;
}

/* Refined Cards - "Plate" aesthetic */
.card, .plate {
  background: #fff;
  border: 1px solid var(--warm-beige);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover, .plate:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(60,47,47,0.09);
}

.plate img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.plate-content {
  padding: 26px 26px 28px;
}

.plate h3 {
  font-size: 20px;
  margin-bottom: 9px;
  color: var(--dark-brown);
}

/* Typography enhancements */
p {
  margin-bottom: 18px;
}

.lead {
  font-size: 17px;
  color: var(--text-light);
}

/* Subtle dividers */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--warm-beige), transparent);
  margin: 52px 0;
}

/* Footer */
footer {
  background: var(--sumi);
  color: var(--warm-beige);
  padding: 64px 0 32px;
  font-size: 13.5px;
}

footer a {
  color: var(--warm-beige);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1.1fr;
  gap: 52px;
}

.footer-col h4 {
  color: var(--ivory);
  margin-bottom: 16px;
  font-size: 14.5px;
  letter-spacing: 1.2px;
}

.footer-col ul {
  list-style: none;
  line-height: 2.05;
}

.footer-col ul li a {
  font-size: 13.2px;
}

.footer-bottom {
  border-top: 1px solid #403933;
  margin-top: 54px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.65;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  background: #fff;
  padding: 42px 46px;
  border-radius: 3px;
  box-shadow: 0 22px 65px rgba(0,0,0,0.22);
  z-index: 2000;
  max-width: 420px;
  width: 92%;
  text-align: center;
  display: none;
  border: 1px solid var(--warm-beige);
}

.popup.show {
  display: block;
  animation: popIn 0.28s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes popIn {
  to { transform: translate(-50%, -50%) scale(1); }
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31, 26, 24, 0.78);
  z-index: 1999;
  display: none;
}

.popup-overlay.show { display: block; }

.close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

/* Responsive Typography & Spacing */
@media (max-width: 768px) {
  .section-title { font-size: 30px; }
  .intro-text { font-size: 16px; }
  nav ul { gap: 20px; }
  .header-inner { height: 74px; }
}

/* Mobile Nav Toggle */
@media (max-width: 880px) {
  nav ul { display: none; }
  .nav-toggle { display: block; }
}

/* Image handling */
img {
  max-width: 100%;
  height: auto;
}

/* Subtle theme motifs */
.season-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 3px 11px;
  background: var(--warm-beige);
  color: var(--dark-brown);
  border-radius: 1px;
  margin-bottom: 8px;
}

/* Table styles for menus */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--warm-beige);
}

th, td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--warm-beige);
}

th {
  background: #f9f5ee;
  font-weight: 500;
  font-size: 13px;
  color: var(--dark-brown);
  letter-spacing: 1px;
}

.price {
  text-align: right;
  white-space: nowrap;
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: var(--muted-red);
}

/* Form elements */
input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--warm-beige);
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  background: #fff;
  color: var(--charcoal);
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--muted-red);
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  color: var(--dark-brown);
  letter-spacing: 0.3px;
}

/* Accessibility and mobile touch targets */
a, button, .btn {
  min-height: 44px;
}

@media (max-width: 480px) {
  .btn {
    padding: 16px 32px;
    font-size: 14.5px;
  }
}