/* ---------- Base ---------- */
:root{
  --white:#ffffff;
  --off-white:#faf8f4;
  --sand:#ece5d8;
  --sand-deep:#ddd2bd;
  --stone:#a99d8a;
  --warm-grey:#7c7568;
  --charcoal:#2b2822;
  --charcoal-soft:#3d382f;
  --wood:#8a6b4a;
  --line:#e2dbcc;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
p{ margin:0; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
input,textarea{ font-family: inherit; }

.grain{
  position:fixed; inset:0; pointer-events:none; z-index:2000;
  opacity:0.025; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 14px;
  font-weight:500;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  padding: 14px 30px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .35s ease;
}
.btn-solid-light{ background: var(--white); color: var(--charcoal); }
.btn-solid-light:hover{ background: var(--sand); }
.btn-ghost-light{ border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost-light:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-solid-dark{ background: var(--charcoal); color: var(--off-white); }
.btn-solid-dark:hover{ background: var(--charcoal-soft); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:1000;
  padding: 22px var(--gutter);
  display:flex; justify-content:center;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header.scrolled{
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(10px);
  padding: 14px var(--gutter);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner{
  width:100%; max-width: var(--container);
  display:flex; align-items:center; justify-content:space-between;
}
.wordmark{
  display:flex; align-items:center;
  color: var(--white);
  transition: color .4s ease;
}
.logo-mark{
  height: 40px; width:auto; display:block;
  transition: height .4s ease;
}
.site-header.scrolled .wordmark{ color: var(--charcoal); }
.site-header.scrolled .logo-mark{ height: 34px; }
.wordmark.small{ color: var(--off-white); }
.wordmark.small .logo-mark{ height: 34px; }

.main-nav{ display:flex; gap:38px; }
.main-nav a{
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--white);
  opacity: 0.88;
  transition: opacity .3s ease, color .4s ease;
  position:relative;
}
.site-header.scrolled .main-nav a{ color: var(--charcoal); }
.main-nav a:hover{ opacity:1; }

.header-actions{ display:flex; align-items:center; gap:22px; }
.lang-toggle{
  background:none; border:none; display:flex; align-items:center; gap:6px;
  font-size: 0.78rem; letter-spacing:0.05em; color: var(--white);
  transition: color .4s ease;
}
.site-header.scrolled .lang-toggle{ color: var(--charcoal); }
.lang-toggle span{ opacity:0.5; transition: opacity .25s ease; }
.lang-toggle span.active{ opacity:1; font-weight:600; }
.lang-sep{ opacity:0.35 !important; }

.nav-burger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:4px;
}
.nav-burger span{
  width:22px; height:1px; background: var(--white); transition: background .4s ease;
}
.site-header.scrolled .nav-burger span{ background: var(--charcoal); }

/* ---------- Hero ---------- */
.hero{
  position: relative; height: 100vh; min-height:560px;
  display:flex; align-items:flex-end;
  color: var(--white);
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover; object-position: 55% 40%;
  transform: scale(1.04);
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(20,17,12,0.72) 0%, rgba(20,17,12,0.18) 46%, rgba(20,17,12,0.08) 100%);
}
.hero-content{
  position:relative; z-index:2;
  padding: 0 var(--gutter) 96px;
  max-width: 820px;
}
.hero .eyebrow{ color: rgba(255,255,255,0.78); }
.hero h1{
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.16;
  font-weight: 350;
  margin-bottom: 34px;
}
.hero-links{ display:flex; gap:16px; flex-wrap:wrap; }

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:2;
}
.scroll-cue span{
  display:block; width:1px; height:44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform: scaleY(0.3); transform-origin: top; opacity:0.4; }
  50%{ transform: scaleY(1); transform-origin: top; opacity:1; }
  100%{ transform: scaleY(0.3); transform-origin: bottom; opacity:0.4; }
}

/* ---------- Intro strip ---------- */
.intro-strip{
  max-width: var(--container); margin: 0 auto;
  padding: 110px var(--gutter);
  display:grid; grid-template-columns: 1.4fr 0.6fr; gap:60px;
  align-items:end;
  border-bottom: 1px solid var(--line);
}
.intro-strip p{
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  font-weight:300;
  color: var(--charcoal-soft);
}
.intro-links{ display:flex; flex-direction:column; gap:12px; text-align:right; }
.intro-links a{
  font-size:0.85rem; letter-spacing:0.03em; color: var(--wood);
  transition: opacity .3s ease;
}
.intro-links a:hover{ opacity:0.6; }

/* ---------- Section shared ---------- */
.section-head{
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 64px;
}
.section-head h2{
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 350;
  max-width: 640px;
}
.section-sub{
  margin-top:18px;
  font-size: 1rem;
  line-height:1.6;
  color: var(--warm-grey);
  max-width: 520px;
}

/* ---------- About ---------- */
.about{ padding: 140px 0 0; }
.about-grid{
  max-width: var(--container); margin:0 auto;
  padding: 0 var(--gutter);
  display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px;
  align-items:start;
}
.about-media img{
  width:100%; height: 640px; object-fit:cover; border-radius:2px;
}
.about-copy h2{ font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 30px; }
.about-bio p{
  font-size: 1.02rem; line-height:1.75; color: var(--charcoal-soft);
  margin-bottom: 18px;
}
.credentials{ margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.credentials-label{
  font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color: var(--warm-grey); margin-bottom:20px; display:block;
}
.credentials-list{ display:flex; flex-wrap:wrap; gap: 14px 40px; }
.credentials-list li{ display:flex; flex-direction:column; gap:4px; }
.credentials-list span{ font-family: var(--serif); font-size:1.15rem; color: var(--charcoal); }
.credentials-list small{ font-size:0.78rem; color: var(--warm-grey); letter-spacing:0.02em; }

.about-media-secondary{
  margin-top: 80px;
  height: 60vh; min-height:420px;
  overflow:hidden;
}
.about-media-secondary img{
  width:100%; height:100%; object-fit:cover; object-position: center 35%;
}

/* ---------- Group size note ---------- */
.group-note{
  max-width: var(--container); margin: 70px auto 0;
  padding: 0 var(--gutter);
}
.group-note p{
  font-size:0.9rem; line-height:1.7; color: var(--warm-grey); max-width:760px;
}
.group-note p + p{ margin-top: 14px; }
.footnote-mark{
  color: var(--charcoal); font-weight:600; margin-right:10px;
  text-transform:uppercase; font-size:0.75rem; letter-spacing:0.08em;
}

/* ---------- Menu callout ---------- */
.menu-callout{
  padding: 90px var(--gutter);
  text-align:center;
  background: var(--sand);
}
.menu-callout p{
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight:300;
  font-style:italic;
  color: var(--charcoal-soft);
  max-width: 720px; margin:0 auto;
}

/* ---------- Cuisine ---------- */
.cuisine{
  max-width: var(--container); margin: 150px auto 0;
  padding: 0 var(--gutter);
  display:grid; grid-template-columns: 1fr 1fr; gap: 90px;
  align-items:center;
}
.cuisine-media img{
  width:100%; height: 560px; object-fit:cover; border-radius:2px;
}
.cuisine-copy h2{ font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom:24px; }
.cuisine-copy p{ font-size:1rem; line-height:1.75; color: var(--charcoal-soft); }
.cuisine-note{
  margin-top:22px; font-size:0.85rem; color: var(--warm-grey); font-style:italic;
}

/* ---------- Pricing ---------- */
.pricing{
  margin-top: 150px;
  padding: 130px var(--gutter);
  background: var(--charcoal);
  color: var(--off-white);
  text-align:center;
}
.pricing-inner{ max-width:640px; margin:0 auto; }
.pricing .eyebrow{ color: rgba(255,255,255,0.55); }
.pricing h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom:22px; }
.pricing p:not(.eyebrow){ font-size:1rem; line-height:1.7; color: rgba(255,255,255,0.7); margin-bottom:38px; }
.pricing .btn-solid-dark{ background: var(--off-white); color: var(--charcoal); }
.pricing .btn-solid-dark:hover{ background: var(--sand); }

/* ---------- Gallery ---------- */
.gallery{ padding: 150px 0; }
.gallery-grid{
  max-width: var(--container); margin:0 auto;
  padding: 0 var(--gutter);
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
  grid-auto-flow: row dense;
}
.gallery-grid img{
  width:100%; height:100%; object-fit:cover; border-radius:2px;
  transition: transform .6s ease;
}
.gallery-item{ overflow:hidden; border-radius:2px; cursor:zoom-in; }
.gallery-item:hover img{ transform: scale(1.05); }
.gallery-item.tall{ grid-row: span 2; }
.gallery-item.wide{ grid-column: span 2; }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:3000;
  background: rgba(20,17,12,0.94);
  display:none; align-items:center; justify-content:center;
  padding: 40px 72px;
  opacity:0; transition: opacity .3s ease;
}
.lightbox.open{ display:flex; }
.lightbox.visible{ opacity:1; }
.lb-figure{
  margin:0; max-width:100%; max-height:100%;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.lb-figure img{
  max-width:100%; max-height:82vh; width:auto; height:auto;
  object-fit:contain; border-radius:2px;
}
.lb-figure figcaption{
  color: rgba(255,255,255,0.66); font-size:0.85rem; text-align:center;
  max-width: 620px; line-height:1.5;
}
.lb-close, .lb-nav{
  position:absolute; background:none; border:none; color: rgba(255,255,255,0.7);
  transition: color .25s ease; line-height:1; padding:10px;
}
.lb-close:hover, .lb-nav:hover{ color: var(--white); }
.lb-close{ top:18px; right:24px; font-size:2.4rem; }
.lb-nav{ top:50%; transform:translateY(-50%); font-size:3.4rem; }
.lb-prev{ left:14px; }
.lb-next{ right:14px; }
body.lb-open{ overflow:hidden; }

@media (max-width: 620px){
  .lightbox{ padding: 20px 8px 40px; }
  .lb-nav{ font-size:2.6rem; top:auto; bottom:8px; transform:none; }
  .lb-prev{ left:24px; }
  .lb-next{ right:24px; }
  .lb-figure img{ max-height:72vh; }
}

/* ---------- Testimonials ---------- */
.testimonials{
  padding: 60px var(--gutter) 100px;
  max-width: var(--container); margin:0 auto;
  text-align:center;
}
.testimonials .eyebrow{
  font-size: 0.95rem; font-weight: 600; color: var(--charcoal);
  letter-spacing: 0.2em; margin-bottom: 18px;
}
.testimonials h2{ font-size: 1.45rem; margin-bottom:10px; }
.testimonials-sub{ color: var(--warm-grey); font-size:0.9rem; margin-bottom:34px; }
.testimonials-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:26px;
}
.reviews-empty{
  color: var(--stone); font-size: 0.92rem;
}
.review-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px 26px;
  text-align: left;
}
.review-card img{
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 2px; margin-bottom: 18px;
}
.review-stars{
  color: var(--wood); letter-spacing: 3px; font-size: 0.95rem;
  margin-bottom: 12px;
}
.review-text{
  font-size: 0.95rem; line-height: 1.65; color: var(--charcoal-soft);
}
.review-name{
  margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--warm-grey);
}
.review-form{
  max-width: 720px; margin: 30px auto 0; text-align: left;
  padding: 24px 28px; gap: 14px;
}
.review-form .btn{ padding: 11px 22px; font-size: 0.78rem; margin-top: 0; }
.review-submit-col{
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.star-picker{ display: flex; gap: 3px; }
.star-picker button{
  background: none; border: none; font-size: 1.4rem; line-height: 1;
  color: var(--sand-deep); padding: 2px 3px;
  transition: color .2s ease, transform .15s ease;
}
.star-picker button:hover{ transform: scale(1.15); }
.star-picker button.on{ color: var(--wood); }
.review-form input[type="file"]{
  border-bottom: none; font-size: 0.85rem; color: var(--warm-grey); padding: 6px 0;
}
.testimonial-placeholder{
  border: 1px dashed var(--line);
  border-radius:2px;
  padding: 46px 30px;
  min-height: 180px;
  display:flex; align-items:center; justify-content:center;
  color: var(--stone);
  font-size:0.82rem;
  letter-spacing:0.04em;
}

/* ---------- Contact ---------- */
.contact{
  padding: 0 0 150px;
  max-width: var(--container); margin:0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.contact-grid{
  display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px;
  padding-top: 20px;
}
.contact-info h2{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom:20px; }
.contact-intro{ font-size:1rem; line-height:1.7; color: var(--warm-grey); margin-bottom:44px; max-width:420px; }
.contact-methods{ display:flex; flex-direction:column; gap:22px; }
.contact-methods li{
  display:flex; flex-direction:column; gap:4px;
  padding-bottom:20px; border-bottom:1px solid var(--line);
}
.contact-label{ font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--stone); }
.contact-methods a{ font-family: var(--serif); font-size:1.2rem; transition: color .25s ease; }
.contact-methods a:hover{ color: var(--wood); }

.booking-form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 46px;
  display:flex; flex-direction:column; gap:22px;
}
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row-half{ display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
.form-row-half > div{ display:flex; flex-direction:column; gap:8px; }
.booking-form label{
  font-size:0.75rem; letter-spacing:0.06em; text-transform:uppercase; color: var(--warm-grey);
}
.booking-form input, .booking-form textarea{
  border: none; border-bottom: 1px solid var(--line);
  background:transparent;
  padding: 10px 2px;
  font-size:0.98rem; color: var(--charcoal);
  transition: border-color .25s ease;
  border-radius:0;
}
.booking-form input:focus, .booking-form textarea:focus{
  outline:none; border-color: var(--charcoal);
}
.booking-form textarea{ resize: vertical; }
.booking-form .btn{ margin-top:10px; align-self:flex-start; border:none; }
.form-note{ font-size:0.78rem; color: var(--stone); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 50px var(--gutter);
}
.footer-inner{
  max-width: var(--container); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
}
.footer-inner p{ font-size:0.82rem; }
.footer-review-link{
  font-size:0.78rem; color: rgba(255,255,255,0.45);
  transition: color .3s ease;
}
.footer-review-link:hover{ color: rgba(255,255,255,0.8); }
.footer-copyright{ opacity:0.6; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-burger{ display:flex; }
  .about-grid, .cuisine, .contact-grid{ grid-template-columns: 1fr; gap:50px; }
  .sozai-grid{ grid-template-columns: 1fr; gap:40px; }
  .sozai-kanji{ text-align:left; font-size: clamp(90px, 20vw, 140px); }
  .about-media img{ height: 420px; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows:200px; }
  .testimonials-grid{ grid-template-columns:1fr; }
  .intro-strip{ grid-template-columns:1fr; gap:26px; }
  .intro-links{ text-align:left; flex-direction:row; gap:24px; }
  .form-row-half{ grid-template-columns:1fr; }
}
@media (max-width: 620px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-item.wide{ grid-column: span 2; }
  .hero h1{ font-size: 2rem; }
  .logo-mark, .site-header.scrolled .logo-mark{ height: 30px; }
  .booking-form{ padding: 30px 24px; }
  .header-inner{ gap:12px; }
  .header-actions{ gap:14px; }
}

/* ---------- Sozai definition ---------- */
.sozai-definition{
  max-width: 940px; margin: 0 auto;
  padding: 110px var(--gutter) 0;
}
.sozai-grid{
  display:grid; grid-template-columns: 0.6fr 1.4fr; gap: 60px;
  align-items:center;
}
.sozai-kanji{
  font-family:"Noto Serif JP", var(--serif); font-weight:600;
  font-size: clamp(80px, 10vw, 140px); line-height:1;
  color: var(--sand-deep);
  text-align:center;
  user-select:none;
}
.sozai-copy h2{
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 8px;
}
.sozai-pron{
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--warm-grey);
  margin-bottom: 26px;
}
.sozai-senses{
  list-style:none; margin:0; padding:0; counter-reset:sense;
}
.sozai-senses > li{
  counter-increment:sense; position:relative;
  padding-left: 36px; margin-bottom: 14px;
  font-size: 0.95rem; line-height: 1.65; color: var(--charcoal-soft);
}
.sozai-senses > li::before{
  content:counter(sense);
  position:absolute; left:0; top:2px;
  font-family: var(--serif); font-size: 0.95rem; color: var(--wood);
}
.sozai-senses > li::after{
  content:""; position:absolute; left:22px; top:6px; bottom:6px; width:1px;
  background: var(--line);
}
.sz-field{
  font-size: 0.68rem; text-transform:uppercase; letter-spacing:0.14em;
  color: var(--wood); margin-right: 8px; font-weight:500;
}
.sz-ex{
  display:block; font-style:italic; color: var(--warm-grey);
  font-size: 0.92rem; margin-top: 4px;
}
.sozai-phrase{
  margin-top: 24px; padding: 14px 20px;
  background: var(--sand); border-radius: 2px;
}
.sozai-phrase-jp{
  font-family:"Noto Serif JP", var(--serif); font-weight:600;
  font-size: 0.98rem; color: var(--charcoal); margin-bottom: 6px;
}
.sozai-phrase-jp .rom{
  font-family: var(--sans); font-weight:400; font-style:italic;
  font-size: 0.78rem; color: var(--warm-grey); margin-left: 10px;
}
.sozai-phrase p:last-child{
  font-size: 0.9rem; line-height: 1.6; color: var(--charcoal-soft);
}
