/* NEMSTORY 1.7 — mobile-first header, full-screen navigation and responsive hero. */
:root{--ns-mobile-header:74px}
html{scroll-padding-top:90px}
body.nav-open{overflow:hidden!important;height:100%;overscroll-behavior:none}
.site-header{z-index:100}
.nav-order-mobile{display:none}
.nav-toggle{cursor:pointer;touch-action:manipulation}
.nav-toggle span{transition:transform .24s ease,opacity .2s ease}

@media (max-width:780px){
  .site-header{position:absolute;top:0;left:0;right:0;width:100%;background:rgba(13,13,12,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.09)}
  .header-inner{width:calc(100% - 32px);height:var(--ns-mobile-header);gap:12px;justify-content:space-between}
  .brand{min-width:0;max-width:180px;flex:0 1 auto}
  .brand-name{font-size:clamp(21px,6vw,26px);line-height:1;white-space:nowrap}
  .brand-subtitle{font-size:7px;letter-spacing:.22em;margin-top:6px;white-space:nowrap}
  .brand .custom-logo{max-width:174px;max-height:42px;height:auto;width:auto}
  .header-cart{order:2;margin-left:auto;display:flex;gap:5px;min-width:34px;justify-content:center}
  .header-cart .cart-label{display:none}
  .header-cart .cart-bag{font-size:21px}
  .header-cart .cart-count{min-width:18px;height:18px;font-size:10px}
  .header-order{display:none!important}
  .nav-toggle{position:relative;z-index:103;order:3;display:flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin:0;padding:10px;border:1px solid rgba(239,189,121,.42);border-radius:50%;background:rgba(255,255,255,.035);box-shadow:0 4px 18px rgba(0,0,0,.18)}
  .nav-toggle span{display:block;width:17px;height:1.5px;background:#f6eee2;border-radius:4px;transform-origin:center}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(.3)}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  .primary-navigation{position:fixed!important;z-index:102;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw;height:100vh;height:100dvh;max-height:none;display:none;overflow-y:auto;overscroll-behavior:contain;margin:0!important;padding:calc(100px + env(safe-area-inset-top)) 28px calc(36px + env(safe-area-inset-bottom))!important;background:radial-gradient(ellipse at 50% 0%,rgba(217,164,95,.13),transparent 43%),rgba(12,12,11,.985)!important;border:0!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);flex-direction:column;align-items:center;justify-content:flex-start}
  .primary-navigation.is-open{display:flex!important;animation:nemstoryMenuIn .22s ease both}
  .primary-navigation:before{content:"NEMSTORY";display:block;margin:0 auto 34px;font-family:var(--display);font-size:30px;line-height:1;color:#fff;letter-spacing:.01em;text-align:center}
  .primary-navigation .nav-menu{display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:0;width:min(100%,430px);margin:0 auto!important;padding:0!important;list-style:none}
  .primary-navigation .nav-menu li{width:100%;margin:0!important;padding:0!important;border-bottom:1px solid rgba(255,255,255,.09)}
  .primary-navigation .nav-menu li:first-child{border-top:1px solid rgba(255,255,255,.09)}
  .primary-navigation .nav-menu a{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:15px 4px!important;color:#f8f2e9!important;font-family:var(--display);font-size:clamp(20px,5.5vw,25px)!important;letter-spacing:.015em!important;text-transform:none!important;text-decoration:none!important}
  .primary-navigation .nav-menu a:after{content:"↗";color:var(--ns-gold-light);font-family:var(--body);font-size:15px;transition:transform .2s ease}
  .primary-navigation .nav-menu a:hover{color:var(--ns-gold-light)!important}
  .primary-navigation .nav-menu a:hover:after{transform:translate(3px,-3px)}
  .primary-navigation .nav-order-mobile{display:inline-flex!important;width:min(100%,430px);min-height:54px;margin:30px auto 0;padding:17px 22px!important;justify-content:center;gap:16px;font-size:11px!important;letter-spacing:.09em!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,var(--gold-light),var(--gold))!important;color:#17130e!important;box-shadow:0 12px 30px rgba(217,164,95,.16)}
  .primary-navigation .nav-order-mobile:hover{transform:translateY(-2px);background:#f5ca91!important}
  @keyframes nemstoryMenuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

  /* Hero: uncropped full-truck photo first, floating dish second, readable copy below. */
  .hero-section{display:block;position:relative;isolation:isolate;width:100%;height:auto;min-height:0;margin:0;padding:var(--ns-mobile-header) 0 48px;overflow:hidden;background:radial-gradient(ellipse at 75% 20%,#302317 0%,#171614 36%,#111110 74%)}
  .hero-image-wrap{position:absolute;inset:var(--ns-mobile-header) 0 auto 0!important;width:100%;height:clamp(198px,58vw,242px);overflow:hidden;background:linear-gradient(180deg,#191714 0%,#24201b 100%)}
  .hero-image{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;filter:brightness(.72) saturate(.82)!important;transform:none!important}
  .hero-image-shade{position:absolute;inset:0;background:linear-gradient(0deg,#111110 0%,rgba(17,17,16,.03) 48%,rgba(17,17,16,.08) 100%)!important}
  .hero-content{position:relative;z-index:3;width:calc(100% - 40px);max-width:560px;margin:0 auto;padding:340px 0 0!important}
  .hero-copy{width:100%!important;max-width:none}
  .hero-copy>.eyebrow{margin:0 0 12px;font-size:9px;line-height:1.5;letter-spacing:.22em}
  .hero-title{font-size:clamp(47px,13.7vw,64px)!important;line-height:.98!important;letter-spacing:-.04em!important;white-space:nowrap;text-shadow:0 5px 24px rgba(0,0,0,.28)}
  .hero-kicker{margin:13px 0 15px!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:1.55;letter-spacing:.24em!important}
  .hero-description{max-width:520px;margin:0 0 23px!important;color:#d0cbc3;font-size:14px!important;line-height:1.75!important}
  .hero-actions{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap}
  .hero-actions .button{min-height:49px;padding:15px 20px!important;gap:12px;font-size:10px;letter-spacing:.06em}
  .hero-actions .text-link{font-size:10px;letter-spacing:.055em}
  .hero-points{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin-top:30px!important;max-width:100%}
  .hero-point{display:flex;align-items:center;gap:8px;padding:0!important;border:0!important;min-width:0}
  .hero-point:last-child{grid-column:1/-1}
  .point-icon{width:28px;height:28px;flex:0 0 28px;font-size:22px}
  .hero-point strong{font-size:9px;letter-spacing:.07em}
  .hero-point small{font-size:9px;line-height:1.4}
  .hero-dish-wrap{position:absolute!important;z-index:4;top:clamp(250px,66vw,272px)!important;right:-3%!important;bottom:auto!important;width:min(55vw,235px)!important;max-width:235px;filter:drop-shadow(0 12px 20px rgba(0,0,0,.48))!important}
  .hero-dish{display:block;width:100%;height:auto;object-fit:contain}
  .hero-bottom-note{display:none!important}
  .section-pad{padding-top:62px!important;padding-bottom:62px!important}
  .intro-section{grid-template-columns:1fr!important;gap:18px!important}
  .section-heading h2,.section-head-row h2,.closing-card h2{font-size:clamp(32px,9vw,46px)!important;line-height:1.08}
  .intro-copy p{font-size:14px;line-height:1.75}
  .section-head-row{align-items:flex-start;flex-direction:column;gap:18px}
  .section-head-row .button{min-height:45px}
  .nemstory-product-rail>.nemstory-product-card{flex-basis:min(82vw,330px)!important;width:min(82vw,330px)!important}
  .closing-section{padding-top:48px;padding-bottom:58px}
  .closing-card{padding:27px 22px!important;gap:20px;align-items:flex-start;flex-direction:column}
  .closing-card .button{width:100%;min-height:50px;font-size:10px;padding:14px 17px}
  .footer-top{grid-template-columns:1fr!important;gap:24px;padding-top:40px;padding-bottom:32px}
  .footer-brand{grid-column:auto!important}
  .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .footer-bottom{align-items:flex-start;gap:7px;flex-direction:column;padding-top:16px;padding-bottom:20px}
  .page-shell{padding-top:112px}
  .brand-page{padding:120px 0 64px!important}
  .brand-page h1{font-size:clamp(38px,10vw,54px)!important;line-height:1.08}
  .brand-page-lead{font-size:14px;line-height:1.75}
  .brand-page-stat-grid,.event-feature-grid,.contact-card-grid{grid-template-columns:1fr!important;gap:13px!important;margin-top:34px!important}
  .brand-page-stat-grid article,.event-feature-grid article,.contact-card{padding:21px!important;border-radius:17px!important}
  .brand-page-cta{align-items:stretch!important;flex-direction:column!important;padding:24px!important;margin-top:36px!important}
  .brand-page-cta .button{width:100%;min-height:50px}
  .brand-menu-page{padding-top:115px!important}
  body.single-product .woocommerce-shell{padding-top:110px!important}
  .woocommerce-shell{padding-bottom:55px!important}
}

@media(max-width:420px){
  .header-inner{width:calc(100% - 26px);gap:8px}
  .brand-name{font-size:21px}
  .brand-subtitle{font-size:6.5px;letter-spacing:.19em}
  .nav-toggle{width:40px;height:40px;flex-basis:40px}
  .header-cart .cart-bag{font-size:19px}
  .hero-image-wrap{height:clamp(190px,58vw,226px)}
  .hero-content{width:calc(100% - 36px);padding-top:340px!important}
  .hero-title{font-size:clamp(45px,13.1vw,55px)!important}
  .hero-dish-wrap{width:min(55vw,205px)!important;top:clamp(250px,66vw,272px)!important;right:-4%!important}
  .hero-points{gap:14px 8px}
  .hero-point{gap:6px}
}

@media(min-width:781px) and (max-width:1080px){
  .header-inner{width:calc(100% - 44px);gap:18px}
  .brand{min-width:175px}
  .brand-name{font-size:28px}
  .nav-menu{gap:16px}
  .nav-menu a{font-size:9px}
  .header-order{padding:12px 16px;font-size:10px}
}

@media(prefers-reduced-motion:reduce){
  .primary-navigation.is-open{animation:none!important}
  .nav-toggle span{transition:none!important}
}
