/* ==========================================================================
   NARUGE — shared design system (index.html + shop.html)
   ========================================================================== */
:root{
  --bg:#0a0a0b;
  --bg-alt:#131211;
  --surface:#1a1817;
  --surface-2:#211f1d;
  --line:rgba(245,240,232,0.12);
  --line-strong:rgba(245,240,232,0.22);
  --text:#f3ede2;
  --text-muted:#b3a89a;
  --text-faint:#7d7468;
  --gold:#c6a15b;
  --gold-light:#e6cd93;
  --gold-dim:#8a7038;
  --shadow:0 20px 60px rgba(0,0,0,0.5);
  --radius:2px;
  --radius-lg:6px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.9;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:"Shippori Mincho","Noto Serif JP","Hiragino Mincho ProN",serif;
  color:var(--text);line-height:1.5;margin:0;font-weight:600;
  text-wrap:balance;
}
p{margin:0;text-wrap:pretty;}
li{text-wrap:pretty;}
a{color:inherit;text-decoration:none;}
img,video{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}
.nobr{white-space:nowrap;}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px;}
.wrap-narrow{max-width:860px;margin:0 auto;padding:0 28px;}
section{padding:110px 0;position:relative;}
.logotype{
  font-family:"Cormorant Garamond","Shippori Mincho",serif;
  letter-spacing:.24em;font-weight:600;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-size:12px;letter-spacing:.32em;font-weight:500;color:var(--gold-light);
  text-transform:uppercase;margin-bottom:20px;
}
.eyebrow::before,.eyebrow::after{content:"";width:26px;height:1px;background:var(--gold-dim);display:inline-block;}
.eyebrow.center{justify-content:center;}
.section-head{max-width:640px;margin:0 auto 60px;text-align:center;}
.section-head h2{font-size:clamp(26px,3.6vw,40px);margin-bottom:20px;}
.section-head p{color:var(--text-muted);font-size:15px;}

/* ---------- Header ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:26px 0;transition:background .4s ease,padding .4s ease,border-color .4s ease;
  border-bottom:1px solid transparent;
}
header.scrolled{background:rgba(10,10,11,0.88);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);padding:16px 0;border-color:var(--line);}
.nav{max-width:1180px;margin:0 auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;}
.brand{font-size:22px;color:var(--text);display:flex;flex-direction:column;line-height:1.1;}
.brand small{font-family:"Noto Sans JP",sans-serif;letter-spacing:.28em;font-size:10px;color:var(--gold-light);font-weight:500;margin-top:4px;}
.nav-links{display:flex;align-items:center;gap:40px;}
.nav-links a{font-size:13.5px;letter-spacing:.06em;color:var(--text-muted);position:relative;padding:4px 0;transition:color .25s ease;}
.nav-links a:hover{color:var(--text);}
.nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .3s ease;}
.nav-links a:hover::after{transform:scaleX(1);transform-origin:left;}
.nav-right{display:flex;align-items:center;gap:22px;}
.nav-cart{position:relative;display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px;letter-spacing:.04em;}
.nav-cart svg{width:19px;height:19px;stroke:var(--text);}
.cart-count{
  position:absolute;top:-9px;right:-11px;background:var(--gold);color:#1a1200;
  font-size:10.5px;font-weight:700;width:17px;height:17px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 28px;font-size:13px;letter-spacing:.14em;font-weight:600;
  border:1px solid var(--gold-dim);border-radius:var(--radius);
  transition:all .3s ease;white-space:nowrap;
}
.btn-gold{background:var(--gold);border-color:var(--gold);color:#1a1200;}
.btn-gold:hover{background:var(--gold-light);border-color:var(--gold-light);transform:translateY(-1px);}
.btn-line{color:var(--text);border-color:var(--line-strong);}
.btn-line:hover{border-color:var(--gold);color:var(--gold-light);}
.menu-btn{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.menu-btn span{display:block;width:22px;height:1px;background:var(--text);margin:6px 0;}
#mobileMenu{position:fixed;inset:0;background:var(--bg);z-index:1100;display:none;flex-direction:column;padding:100px 32px 40px;}
#mobileMenu a{font-family:"Shippori Mincho",serif;font-size:24px;padding:16px 0;border-bottom:1px solid var(--line);color:var(--text);}
#mobileMenu .close-btn{position:absolute;top:26px;right:28px;background:none;border:none;color:var(--text);font-size:28px;cursor:pointer;}

/* ---------- Hero ---------- */
.hero{min-height:100vh;position:relative;display:flex;align-items:flex-end;overflow:hidden;padding:0 0 90px;}
.hero-media{position:absolute;inset:0;z-index:0;}
.hero-media video,.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.hero-scrim{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(180deg,rgba(8,8,9,.55) 0%,rgba(8,8,9,.15) 32%,rgba(8,8,9,.55) 72%,rgba(8,8,9,.94) 100%),
    linear-gradient(90deg,rgba(8,8,9,.55) 0%,rgba(8,8,9,0) 35%,rgba(8,8,9,0) 65%,rgba(8,8,9,.55) 100%);
}
.hero-play-btn{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;
  width:74px;height:74px;border-radius:50%;background:rgba(10,10,11,0.55);
  border:1px solid rgba(245,240,232,0.5);color:#f3ede2;
  display:none;align-items:center;justify-content:center;cursor:pointer;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .25s ease,transform .25s ease;
}
.hero-play-btn.show{display:flex;}
.hero-play-btn:hover{background:rgba(10,10,11,0.75);transform:translate(-50%,-50%) scale(1.06);}
.hero-play-btn svg{width:26px;height:26px;margin-left:4px;}
.hero-inner{position:relative;z-index:2;width:100%;text-align:center;}
.hero-inner .eyebrow{color:var(--gold-light);}
.hero-logo{font-size:clamp(52px,10vw,110px);color:#fff;line-height:1;margin-bottom:18px;}
.hero-logo em{display:block;font-style:normal;font-family:"Shippori Mincho",serif;font-size:.22em;letter-spacing:.5em;color:var(--gold-light);margin-top:18px;}
.hero-copy{max-width:560px;margin:0 auto 40px;color:rgba(243,237,226,0.88);font-size:15.5px;}
.hero-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.hero-note{position:absolute;left:0;right:0;bottom:24px;z-index:2;text-align:center;color:rgba(243,237,226,0.45);font-size:11px;letter-spacing:.1em;}
.scroll-cue{
  position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:8px;color:rgba(243,237,226,0.55);
  font-size:10px;letter-spacing:.2em;
}
.scroll-cue .line{width:1px;height:34px;background:linear-gradient(var(--gold-light),transparent);animation:cueFlow 2s ease-in-out infinite;}
@keyframes cueFlow{0%{opacity:.2;transform:scaleY(.4);transform-origin:top;}50%{opacity:1;transform:scaleY(1);transform-origin:top;}100%{opacity:.2;transform:scaleY(.4);transform-origin:top;}}

/* hero entrance */
.hero-inner .eyebrow,.hero-logo,.hero-copy,.hero-actions{opacity:0;animation:riseIn 1.1s cubic-bezier(.19,1,.22,1) forwards;}
.hero-inner .eyebrow{animation-delay:.3s;}
.hero-logo{animation-delay:.5s;}
.hero-copy{animation-delay:.85s;}
.hero-actions{animation-delay:1.1s;}
@keyframes riseIn{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);}}

/* ---------- Concept / editorial rows ---------- */
.concept-row{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:70px 0;border-bottom:1px solid var(--line);}
.concept-row:last-child{border-bottom:none;}
.concept-row.reverse .concept-media{order:2;}
.concept-media{overflow:hidden;border-radius:var(--radius-lg);}
.concept-media img{width:100%;height:440px;object-fit:cover;transition:transform 1.2s cubic-bezier(.19,1,.22,1);}
.concept-media:hover img{transform:scale(1.05);}
.concept-num{font-family:"Cormorant Garamond",serif;font-size:15px;color:var(--gold);letter-spacing:.2em;margin-bottom:18px;display:block;}
.concept-text h3{font-size:clamp(22px,2.6vw,30px);margin-bottom:22px;}
.concept-text p{color:var(--text-muted);font-size:15px;}

/* ---------- Courses / menu ---------- */
.menu-section{background:var(--bg-alt);}
.course-list{display:flex;flex-direction:column;}
.course{
  display:grid;grid-template-columns:1fr auto;gap:24px;align-items:baseline;
  padding:32px 0;border-bottom:1px solid var(--line);
}
.course:first-child{padding-top:0;}
.course-name{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.course-name h3{font-size:19px;font-weight:600;}
.course-badge{
  font-size:10.5px;letter-spacing:.1em;color:#1a1200;background:var(--gold);
  padding:4px 10px;border-radius:999px;font-weight:700;
}
.course-desc{color:var(--text-muted);font-size:13.5px;margin-top:8px;max-width:560px;}
.course-price{font-family:"Cormorant Garamond",serif;font-size:26px;color:var(--gold-light);white-space:nowrap;}
.course-price span{font-size:12px;color:var(--text-faint);font-family:"Noto Sans JP",sans-serif;letter-spacing:.05em;}
.dish-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:50px;}
.dish-tag{
  font-size:12.5px;color:var(--text-muted);border:1px solid var(--line-strong);
  padding:8px 16px;border-radius:999px;letter-spacing:.03em;
}

/* ---------- Gallery ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.gallery-item{position:relative;overflow:hidden;border-radius:var(--radius-lg);aspect-ratio:3/4;background:var(--surface);}
.gallery-item video,.gallery-item img{width:100%;height:100%;object-fit:cover;}
.gallery-item.wide{grid-column:span 2;}

/* ---------- Store info ---------- */
.info-section{}
.info-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:80px;}
.info-block+.info-block{margin-top:36px;padding-top:36px;border-top:1px solid var(--line);}
.info-label{font-size:11px;letter-spacing:.2em;color:var(--gold-light);margin-bottom:10px;text-transform:uppercase;}
.info-value{font-size:15px;color:var(--text);}
.info-value.muted{color:var(--text-muted);font-size:14px;}
.access-list li{
  font-size:13.5px;color:var(--text-muted);padding:10px 0 10px 22px;position:relative;
  border-bottom:1px solid var(--line);
}
.access-list li::before{content:"—";position:absolute;left:0;color:var(--gold);}
.hours-table{width:100%;border-collapse:collapse;font-size:14px;}
.hours-table td{padding:11px 0;border-bottom:1px solid var(--line);color:var(--text-muted);}
.hours-table td:first-child{color:var(--text);width:110px;}
.map-frame{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);margin-top:28px;}
.map-frame iframe{width:100%;height:280px;border:0;filter:grayscale(.4) invert(.92) contrast(.9);}

/* ---------- Shop CTA banner ---------- */
.shop-cta{
  background:linear-gradient(120deg,var(--surface) 0%,var(--bg-alt) 100%);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  text-align:center;
}
.shop-cta h2{font-size:clamp(24px,3.4vw,36px);margin-bottom:22px;}
.shop-cta p{color:var(--text-muted);max-width:520px;margin:0 auto 34px;font-size:15px;}

/* ---------- Reserve CTA ---------- */
.reserve-cta{text-align:center;}
.reserve-cta .tel{font-family:"Cormorant Garamond",serif;font-size:clamp(30px,4.5vw,44px);color:var(--text);margin:30px 0 10px;}
.reserve-cta .tel a{color:var(--text);}
.reserve-note{color:var(--text-faint);font-size:12.5px;}

/* ---------- Footer ---------- */
footer{padding:60px 0 30px;border-top:1px solid var(--line);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px;margin-bottom:50px;}
.footer-brand .logotype{font-size:26px;}
.footer-brand p{color:var(--text-faint);font-size:13px;margin-top:16px;max-width:280px;}
.footer-col h4{font-size:12px;letter-spacing:.14em;color:var(--gold-light);margin-bottom:18px;text-transform:uppercase;}
.footer-col li{margin-bottom:11px;}
.footer-col a,.footer-col span{font-size:13.5px;color:var(--text-muted);}
.footer-col a:hover{color:var(--gold-light);}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  padding-top:26px;border-top:1px solid var(--line);color:var(--text-faint);font-size:12px;
}

/* ---------- Reveal (JS-enhanced, safe no-JS fallback) ---------- */
.reveal-init{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease;}
.reveal-init.in{opacity:1;transform:none;}

@media (prefers-reduced-motion:reduce){
  .hero-inner .eyebrow,.hero-logo,.hero-copy,.hero-actions,.scroll-cue .line{
    animation:none!important;opacity:1!important;transform:none!important;
  }
  .reveal-init{opacity:1!important;transform:none!important;transition:none!important;}
}

/* ---------- Sample banner (shop only) ---------- */
.sample-banner{
  position:relative;z-index:1200;background:var(--gold);color:#1a1200;
  text-align:center;font-size:13px;font-weight:700;letter-spacing:.04em;
  padding:11px 20px;
}

/* ---------- Shop page ---------- */
.shop-hero{
  position:relative;min-height:56vh;display:flex;align-items:center;justify-content:center;
  text-align:center;overflow:hidden;padding-top:60px;
}
.shop-hero-bg{position:absolute;inset:0;z-index:0;}
.shop-hero-bg img{width:100%;height:100%;object-fit:cover;}
.shop-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,8,9,.75),rgba(8,8,9,.55) 50%,var(--bg) 100%);}
.shop-hero-inner{position:relative;z-index:1;max-width:640px;padding:0 24px;}
.shop-hero-inner p{color:var(--text-muted);margin-top:18px;font-size:15px;}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;}
.product-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;}
.product-photo{position:relative;aspect-ratio:4/3;overflow:hidden;}
.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.19,1,.22,1);}
.product-card:hover .product-photo img{transform:scale(1.06);}
.product-badge{
  position:absolute;top:14px;left:14px;background:var(--gold);color:#1a1200;
  font-size:10.5px;font-weight:700;letter-spacing:.06em;padding:5px 11px;border-radius:999px;
}
.product-body{padding:26px;display:flex;flex-direction:column;flex:1;}
.product-cat{font-size:11px;letter-spacing:.16em;color:var(--gold-light);text-transform:uppercase;margin-bottom:10px;}
.product-body h3{font-size:18.5px;margin-bottom:8px;}
.product-desc{color:var(--text-muted);font-size:13px;flex:1;margin-bottom:18px;}
.product-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;}
.product-weight{font-size:12px;color:var(--text-faint);}
.product-price{font-family:"Cormorant Garamond",serif;font-size:23px;color:var(--gold-light);}
.product-price span{font-size:11px;color:var(--text-faint);font-family:"Noto Sans JP",sans-serif;}
.qty-row{display:flex;align-items:center;gap:14px;}
.qty-control{display:flex;align-items:center;border:1px solid var(--line-strong);border-radius:999px;overflow:hidden;}
.qty-control button{width:32px;height:32px;background:none;border:none;color:var(--text);font-size:16px;cursor:pointer;}
.qty-control button:hover{color:var(--gold-light);}
.qty-control span{width:30px;text-align:center;font-size:13.5px;}
.add-cart-btn{flex:1;}

/* Cart drawer */
.cart-overlay{position:fixed;inset:0;background:rgba(8,8,9,.6);z-index:1300;opacity:0;pointer-events:none;transition:opacity .35s ease;}
.cart-overlay.open{opacity:1;pointer-events:auto;}
.cart-drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(420px,92vw);background:var(--bg-alt);
  z-index:1400;border-left:1px solid var(--line);display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .4s cubic-bezier(.19,1,.22,1);
}
.cart-drawer.open{transform:translateX(0);}
.cart-head{display:flex;justify-content:space-between;align-items:center;padding:26px 28px;border-bottom:1px solid var(--line);}
.cart-head h3{font-size:19px;}
.cart-head button{background:none;border:none;color:var(--text);font-size:24px;cursor:pointer;}
.cart-items{flex:1;overflow-y:auto;padding:10px 28px;}
.cart-empty{color:var(--text-faint);font-size:13.5px;padding:40px 0;text-align:center;}
.cart-line{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);}
.cart-line img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius);flex-shrink:0;}
.cart-line-body{flex:1;}
.cart-line-body h4{font-size:14px;font-weight:600;margin-bottom:4px;}
.cart-line-meta{display:flex;justify-content:space-between;align-items:center;margin-top:8px;}
.cart-line-price{font-family:"Cormorant Garamond",serif;color:var(--gold-light);font-size:15px;}
.cart-line-remove{font-size:11.5px;color:var(--text-faint);text-decoration:underline;cursor:pointer;background:none;border:none;font-family:inherit;}
.cart-foot{padding:24px 28px 30px;border-top:1px solid var(--line);}
.cart-subtotal{display:flex;justify-content:space-between;font-size:15px;margin-bottom:18px;}
.cart-subtotal strong{font-family:"Cormorant Garamond",serif;font-size:22px;color:var(--gold-light);}
.cart-foot .btn{width:100%;}
.cart-shipping-note{font-size:11.5px;color:var(--text-faint);margin-top:14px;text-align:center;}

/* Checkout placeholder modal */
.modal-overlay{position:fixed;inset:0;background:rgba(8,8,9,.75);z-index:1500;display:none;align-items:center;justify-content:center;padding:24px;}
.modal-overlay.open{display:flex;}
.modal-box{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-lg);max-width:440px;width:100%;padding:40px 34px;text-align:center;}
.modal-box .icon{font-size:34px;margin-bottom:18px;}
.modal-box h3{font-size:20px;margin-bottom:16px;}
.modal-box p{color:var(--text-muted);font-size:14px;margin-bottom:26px;}
.modal-actions{display:flex;flex-direction:column;gap:12px;}
.modal-box .close-link{margin-top:18px;font-size:12.5px;color:var(--text-faint);text-decoration:underline;cursor:pointer;display:inline-block;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .nav-links{display:none;}
  .menu-btn{display:block;}
  .concept-row{grid-template-columns:1fr;gap:32px;}
  .concept-row.reverse .concept-media{order:0;}
  .concept-media img{height:320px;}
  .info-grid{grid-template-columns:1fr;gap:50px;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-item.wide{grid-column:span 1;}
  .footer-grid{grid-template-columns:1fr;gap:34px;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  section{padding:76px 0;}
  .hero{padding-bottom:70px;}
  .course{grid-template-columns:1fr;gap:6px;}
  .course-price{font-size:22px;}
  .product-grid{grid-template-columns:1fr;}
  .cart-drawer{width:100vw;}
}
