@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,600;1,300&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap');

:root {
  --bg:      #FEFAF4;
  --bg-2:    #F5EDE0;
  --bg-3:    #EDE0CD;
  --coffee:  #6B4226;
  --caramel: #A0693A;
  --cream:   #D4B896;
  --mint:    #7A9F8A;
  --dark:    #2A1A0E;
  --text:    #3D2810;
  --muted:   rgba(42,26,14,0.5);
  --border:  rgba(42,26,14,0.1);
  --ff-en:   'Josefin Sans', sans-serif;
  --ff-serif:'Lora', serif;
  --ff-jp:   'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-jp); overflow-x: hidden; padding-top: 36px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── DEMO BAR ─── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(42,26,14,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(160,105,58,0.3);
  padding: 7px 0;
}
.demo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .7rem; color: rgba(255,255,255,.4); }
.demo-badge { font-size: .54rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: rgba(160,105,58,0.2); color: var(--caramel); padding: 3px 10px; }
.demo-link { color: var(--caramel); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255,255,255,.18); font-size: .62rem; margin-left: 4px; }
@media(max-width:640px){ .demo-copy { display: none; } }

/* ─── HEADER ─── */
.site-header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 500;
  padding: 0 5vw; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(254,250,244,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .4s;
}
.site-header.scrolled { background: rgba(254,250,244,0.98); }
.logo { font-family: var(--ff-en); font-weight: 600; font-size: 1.5rem; letter-spacing: .12em; color: var(--coffee); text-transform: uppercase; }
.logo-sub { display: block; font-size: .52rem; font-weight: 300; letter-spacing: .38em; color: var(--caramel); margin-top: 1px; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a { font-family: var(--ff-en); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.header-nav a:hover { color: var(--coffee); }
.btn-reserve-header {
  font-family: var(--ff-en); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 20px; background: var(--coffee); color: #fff; border: none;
  transition: background .3s; cursor: pointer;
}
.btn-reserve-header:hover { background: var(--dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; justify-content: center; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { display: block; height: 1px; background: var(--coffee); transition: transform .4s, opacity .3s, width .3s; }
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 24px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); width: 24px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ─── HERO ─── */
.hero { position: relative; min-height: calc(100vh - 36px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(42,26,14,0.3) 0%, rgba(42,26,14,0.55) 100%); }
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 36px); padding: 80px 5vw 100px; text-align: center;
}
.hero-badge {
  display: inline-block; font-family: var(--ff-en); font-size: .6rem; font-weight: 600;
  letter-spacing: .4em; text-transform: uppercase; color: var(--cream);
  border: 1px solid rgba(212,184,150,.45); padding: 6px 20px; margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--ff-serif); font-style: italic; font-weight: 500;
  font-size: clamp(2.2rem,5vw,5rem); color: #fff; line-height: 1.2; margin-bottom: 1.5rem;
  letter-spacing: .03em;
  text-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.hero-title-jp {
  font-family: var(--ff-jp); font-weight: 300; font-size: clamp(.82rem,1vw,.92rem);
  letter-spacing: .25em; color: rgba(255,255,255,.75); margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  font-family: var(--ff-en); font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; padding: 13px 30px;
  background: #fff; color: var(--coffee); border: 1px solid #fff;
  transition: background .3s, color .3s;
}
.btn-white:hover { background: transparent; color: #fff; }
.btn-ghost {
  font-family: var(--ff-en); font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; padding: 13px 30px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6);
  transition: background .3s, border-color .3s;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3;
}
.hero-wave svg { display: block; width: 100%; }

/* ─── COMMON ─── */
section { padding: clamp(60px,7vw,100px) 5vw; }
.wrap { max-width: 1140px; margin: 0 auto; }
.section-tag {
  font-family: var(--ff-en); font-size: .62rem; font-weight: 600; letter-spacing: .38em;
  text-transform: uppercase; color: var(--caramel);
  display: flex; align-items: center; gap: 12px; margin-bottom: 1rem;
}
.section-tag::before, .section-tag::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--cream); }
.section-title { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.6rem,2.5vw,2.6rem); color: var(--dark); margin-bottom: .4rem; line-height: 1.2; }
.section-title-jp { font-family: var(--ff-jp); font-weight: 300; font-size: .8rem; letter-spacing: .18em; color: var(--muted); margin-bottom: 3rem; }
.centered { text-align: center; }
.centered .section-tag { justify-content: center; }

/* ─── NEWS ─── */
.news-bar {
  background: var(--bg-2); padding: 0 5vw;
}
.news-bar-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: stretch; gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.news-bar-label {
  font-family: var(--ff-en); font-size: .6rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: #fff; background: var(--coffee);
  padding: 16px 24px; display: flex; align-items: center; flex-shrink: 0;
}
.news-bar-list { flex: 1; display: flex; flex-direction: column; }
.news-bar-item {
  display: flex; align-items: center; gap: 1.5rem; padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
.news-bar-item:last-child { border-bottom: none; }
.news-bar-item:hover { background: rgba(42,26,14,.04); }
.news-bar-date { font-family: var(--ff-en); font-size: .75rem; color: var(--muted); flex-shrink: 0; min-width: 90px; }
.news-bar-cat { font-family: var(--ff-en); font-size: .58rem; letter-spacing: .14em; padding: 2px 10px; background: rgba(122,159,138,.15); color: var(--mint); flex-shrink: 0; }
.news-bar-title { font-size: .85rem; font-weight: 400; }

/* ─── CONCEPT ─── */
.concept-section { background: var(--bg); }
.concept-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; }
.concept-img-wrap { position: relative; }
.concept-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.concept-img-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 55%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--bg);
}
.concept-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.concept-text { padding: 3rem 0; }
.concept-text p { font-size: .9rem; font-weight: 300; line-height: 2.2; color: var(--muted); margin-bottom: 1.4rem; }
.concept-feature { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.concept-feature-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.concept-feature-num { font-family: var(--ff-serif); font-style: italic; font-size: 2rem; color: var(--caramel); line-height: 1; }
.concept-feature-label { font-family: var(--ff-en); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ─── MENU ─── */
.menu-section { background: var(--bg-2); }
.menu-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.menu-card {
  background: var(--bg); border-radius: 2px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--border);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(42,26,14,.1); }
.menu-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.menu-card-body { padding: 16px; }
.menu-card-name { font-family: var(--ff-serif); font-style: italic; font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.menu-card-jp { font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.menu-card-price { font-family: var(--ff-en); font-size: .78rem; font-weight: 600; color: var(--caramel); }

/* ─── GALLERY ─── */
.gallery-section { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.gallery-item { overflow: hidden; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s ease; }
.gallery-item.wide img { aspect-ratio: 8/3; }
.gallery-item:hover img { transform: scale(1.05); }

/* ─── STORY ─── */
.story-section { background: var(--bg-2); }
.story-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6vw; align-items: center; }
.story-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-text h3 { font-family: var(--ff-serif); font-style: italic; font-size: 1.4rem; color: var(--dark); margin-bottom: 1.4rem; }
.story-text p { font-size: .88rem; font-weight: 300; line-height: 2.2; color: var(--muted); margin-bottom: 1rem; }
.story-sig { font-family: var(--ff-serif); font-style: italic; font-size: 1.1rem; color: var(--caramel); margin-top: 1.5rem; }

/* ─── BTN ─── */
.btn-main {
  display: inline-block; font-family: var(--ff-en); font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 13px 32px; background: var(--coffee); color: #fff;
  transition: background .3s;
}
.btn-main:hover { background: var(--dark); }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); padding: 60px 5vw 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; margin-bottom: 48px; }
.footer-logo { font-family: var(--ff-en); font-weight: 600; font-size: 1.6rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer-logo-sub { font-size: .55rem; font-weight: 300; letter-spacing: .38em; color: var(--cream); margin-bottom: 1rem; }
.footer-desc { font-size: .78rem; font-weight: 300; line-height: 2; color: rgba(255,255,255,.4); }
.footer-nav-title { font-family: var(--ff-en); font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.45); transition: color .25s; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.3); }
.footer-link { font-size: .72rem; color: rgba(255,255,255,.35); transition: color .25s; }
.footer-link:hover { color: var(--cream); }

/* ─── MOBILE ─── */
@media(max-width:860px){
  .header-nav, .btn-reserve-header { display: none; }
  .hamburger { display: flex; z-index: 1100; position: relative; }
  .mobile-nav {
    position: fixed; inset: 0; background: var(--bg);
    z-index: 1000; pointer-events: none;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0;
    opacity: 0; transform: translateY(20px);
    transition: opacity .45s ease, transform .45s ease;
  }
  .mobile-nav.nav-open { pointer-events: all; opacity: 1; transform: translateY(0); }
  .mobile-nav::before {
    content: ''; position: absolute; left: 5vw; right: 5vw; top: 20%; height: 1px;
    background: linear-gradient(to right, transparent, var(--cream), transparent);
  }
  .mobile-nav::after {
    content: ''; position: absolute; left: 5vw; right: 5vw; bottom: 20%; height: 1px;
    background: linear-gradient(to right, transparent, var(--cream), transparent);
  }
  .mobile-nav a {
    font-family: var(--ff-en); font-weight: 600; font-size: 1.1rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--dark); padding: 16px 0;
    width: 220px; text-align: center; border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(12px);
    transition: color .25s, opacity .4s ease, transform .4s ease;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--coffee); }
  .mobile-nav.nav-open a { opacity: 1; transform: translateY(0); }
  .mobile-nav.nav-open a:nth-child(1) { transition-delay: .15s; }
  .mobile-nav.nav-open a:nth-child(2) { transition-delay: .22s; }
  .mobile-nav.nav-open a:nth-child(3) { transition-delay: .29s; }
  .mobile-nav.nav-open a:nth-child(4) { transition-delay: .36s; }
  .mobile-nav.nav-open a:nth-child(5) { transition-delay: .43s; }
  .mobile-nav.nav-open a:nth-child(6) { transition-delay: .50s; }
  .site-header.menu-active { background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .concept-inner, .story-inner { grid-template-columns: 1fr; }
  .concept-img-accent { display: none; }
  .menu-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.wide img { aspect-ratio: 4/3; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .news-bar-inner { flex-direction: column; }
  .news-bar-label { padding: 10px 16px; }
  .news-bar-item { padding: 12px 16px; }
}
@media(max-width:560px){
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide img { aspect-ratio: 4/3; }
}
